Discussion:
[wxhaskell-devel] ANN: wxHaskell 0.92
Henk-Jan van Tuyl
2015-08-28 08:16:09 UTC
Permalink
L.S.,

I am happy to announce a new version of wxHaskell (0.92).

What is it?
-----------
wxHaskell[1] is a portable and native GUI library for Haskell. The goal of
the project is to provide an industrial strength GUI library for Haskell,
but without the burden of developing (and maintaining) one ourselves.

wxHaskell is therefore built on top of wxWidgets – a comprehensive C++
library that is portable across all major GUI platforms; including GTK,
Windows, X11, and MacOS X. Furthermore, it is a mature library (in
development since 1992) that supports a wide range of widgets with the
native look-and-feel.


What's new?
-----------
- wxc/setup.hs now stops searching for wxWidgets when a
compatible version is found (this solves bug ticket 96)
- Support for simple Wizards added
- Calendar support added
- GCC > 4.5 can now be used on Windows, which is a big
improvement, as wxWidgets and wxHaskell must use the
exact same GCC, to prevent compatibility problems
- wxAui is added to wxc, wxAuiNotebook events are added
to wxcore and wx
- Missing GLAttributes added
- Packet version limits adapted to the newest Haskell
Platform
- Bitness check on Windows no longer uses an external
executable
- wxHaskell can now be installed with MSYS2
- wxc/Setup.hs is modified to also link to the wx OpenGL
libraries for wxGLCanvas
- The "warning: Adding duplicate image handler for
'... file'" messages are removed
- Created a new class Updating with corresponding event
"update". Provided instances for TextCtrl and ComboBox:
update gets called when the text changes.
- Support for wxSplashScreen in wxc and wxcore is added
- Many warnings are solved

Links
-----
See the homepage of wxHaskell for more information:
https://wiki.haskell.org/WxHaskell

The packages are:
- wxc https://hackage.haskell.org/package/wxc
- wxdirect https://hackage.haskell.org/package/wxdirect
- wxcore https://hackage.haskell.org/package/wxcore
- wx https://hackage.haskell.org/package/wx

Regards,
Henk-Jan van Tuyl


[0] https://www.wxwidgets.org
[1] https://wiki.haskell.org/WxHaskell
--
***@home
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--

------------------------------------------------------------------------------
Conal Elliott
2015-08-31 18:55:30 UTC
Permalink
Thanks for the update. What's the status of the old problem of crashing the
host process if one opens more than one top-level window (as typical in
GHCi)? - Conal
Post by Henk-Jan van Tuyl
L.S.,
I am happy to announce a new version of wxHaskell (0.92).
What is it?
-----------
wxHaskell[1] is a portable and native GUI library for Haskell. The goal of
the project is to provide an industrial strength GUI library for Haskell,
but without the burden of developing (and maintaining) one ourselves.
wxHaskell is therefore built on top of wxWidgets – a comprehensive C++
library that is portable across all major GUI platforms; including GTK,
Windows, X11, and MacOS X. Furthermore, it is a mature library (in
development since 1992) that supports a wide range of widgets with the
native look-and-feel.
What's new?
-----------
- wxc/setup.hs now stops searching for wxWidgets when a
compatible version is found (this solves bug ticket 96)
- Support for simple Wizards added
- Calendar support added
- GCC > 4.5 can now be used on Windows, which is a big
improvement, as wxWidgets and wxHaskell must use the
exact same GCC, to prevent compatibility problems
- wxAui is added to wxc, wxAuiNotebook events are added
to wxcore and wx
- Missing GLAttributes added
- Packet version limits adapted to the newest Haskell
Platform
- Bitness check on Windows no longer uses an external
executable
- wxHaskell can now be installed with MSYS2
- wxc/Setup.hs is modified to also link to the wx OpenGL
libraries for wxGLCanvas
- The "warning: Adding duplicate image handler for
'... file'" messages are removed
- Created a new class Updating with corresponding event
update gets called when the text changes.
- Support for wxSplashScreen in wxc and wxcore is added
- Many warnings are solved
Links
-----
https://wiki.haskell.org/WxHaskell
- wxc https://hackage.haskell.org/package/wxc
- wxdirect https://hackage.haskell.org/package/wxdirect
- wxcore https://hackage.haskell.org/package/wxcore
- wx https://hackage.haskell.org/package/wx
Regards,
Henk-Jan van Tuyl
[0] https://www.wxwidgets.org
[1] https://wiki.haskell.org/WxHaskell
--
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
_______________________________________________
Haskell mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell
Henk-Jan van Tuyl
2015-09-03 14:57:13 UTC
Permalink
Can you provide a link to a bug ticket or discussion about this problem?
Currently, I am not able to run wxHaskell inside GHCi (on Windows).

Regards,
Henk-Jan van Tuyl
Post by Conal Elliott
Thanks for the update. What's the status of the old problem of crashing the
host process if one opens more than one top-level window (as typical in
GHCi)? - Conal
Post by Henk-Jan van Tuyl
L.S.,
I am happy to announce a new version of wxHaskell (0.92).
:
:
--
***@home
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
Henk-Jan van Tuyl
2015-09-04 08:13:33 UTC
Permalink
Post by Henk-Jan van Tuyl
Currently, I am not able to run wxHaskell inside GHCi (on Windows).
:

I discovered that wxHaskell runs inside GHCi, when I install it locally,
i.o. in a sandbox.

Regards,
Henk-Jan van Tuyl
--
***@home
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--

------------------------------------------------------------------------------
Conal Elliott
2015-09-04 21:56:47 UTC
Permalink
The original bug report (perhaps 7 years ago) was at
http://sourceforge.net/p/wxhaskell/bugs/84/ . Seems to be gone now. The
symptom was a reliable crash whenever a second top-level window was
displayed from a given process, whether in ghci or standalone compiled.
Especially inconvenient with ghci, as I typically wanted to open more than
one top-level window in that context (exploratory programming).

-- Conal
Post by Henk-Jan van Tuyl
Post by Henk-Jan van Tuyl
Currently, I am not able to run wxHaskell inside GHCi (on Windows).
I discovered that wxHaskell runs inside GHCi, when I install it locally,
i.o. in a sandbox.
Regards,
Henk-Jan van Tuyl
--
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
------------------------------------------------------------------------------
_______________________________________________
wxhaskell-devel mailing list
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
Henk-Jan van Tuyl
2015-09-05 13:07:13 UTC
Permalink
I tried running BouncingBalls.hs in the samples\wxcore directory; inside
GHCi, it runs the second time only for a short while, then crashes. The
Windows application log shows exception code 0xc0000005, which means
"Access violation". The standalone BouncingBalls.exe can be run multiple
times without a problem.

Henk-Jan
Post by Conal Elliott
The original bug report (perhaps 7 years ago) was at
http://sourceforge.net/p/wxhaskell/bugs/84/ . Seems to be gone now. The
symptom was a reliable crash whenever a second top-level window was
displayed from a given process, whether in ghci or standalone compiled.
Especially inconvenient with ghci, as I typically wanted to open more than
one top-level window in that context (exploratory programming).
-- Conal
On Thu, 03 Sep 2015 16:57:13 +0200, Henk-Jan van Tuyl
Post by Henk-Jan van Tuyl
Currently, I am not able to run wxHaskell inside GHCi (on Windows).
I discovered that wxHaskell runs inside GHCi, when I install it locally,
i.o. in a sandbox.
Regards,
Henk-Jan van Tuyl
--
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
------------------------------------------------------------------------------
_______________________________________________
wxhaskell-devel mailing list
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
--
***@home
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--

------------------------------------------------------------------------------
Conal Elliott
2015-09-05 20:55:58 UTC
Permalink
Sounds consistent. I'd expect that the compiled BouncingBalls.exe can be
run twice because you get two separate processes, each opening a top-level
window only once. Sadly, this limitation stops wxHaskell from being useful
for exploratory programming, which is why I stopped using it several years
ago.
Post by Henk-Jan van Tuyl
I tried running BouncingBalls.hs in the samples\wxcore directory; inside
GHCi, it runs the second time only for a short while, then crashes. The
Windows application log shows exception code 0xc0000005, which means
"Access violation". The standalone BouncingBalls.exe can be run multiple
times without a problem.
Henk-Jan
The original bug report (perhaps 7 years ago) was at
Post by Conal Elliott
http://sourceforge.net/p/wxhaskell/bugs/84/ . Seems to be gone now. The
symptom was a reliable crash whenever a second top-level window was
displayed from a given process, whether in ghci or standalone compiled.
Especially inconvenient with ghci, as I typically wanted to open more than
one top-level window in that context (exploratory programming).
-- Conal
Post by Henk-Jan van Tuyl
Post by Henk-Jan van Tuyl
Currently, I am not able to run wxHaskell inside GHCi (on Windows).
I discovered that wxHaskell runs inside GHCi, when I install it locally,
i.o. in a sandbox.
Regards,
Henk-Jan van Tuyl
--
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
------------------------------------------------------------------------------
_______________________________________________
wxhaskell-devel mailing list
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
--
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
Loading...