i need wxHaskell compiled for ghc 6.6.1 on Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

i need wxHaskell compiled for ghc 6.6.1 on Windows

Bulat Ziganshin-2
Hello haskell-cafe,

can anyone provide wxHaskell already compiled/compilable with ghc 6.6.1 on
Windows?

--
Best regards,
 Bulat                          mailto:[hidden email]

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: i need wxHaskell compiled for ghc 6.6.1 on Windows

Eric Kow
Hi Bulat,

> can anyone provide wxHaskell already compiled/compilable with ghc 6.6.1 on
> Windows?

Please try the darcs version
  darcs get http://darcs.haskell.org/wxhaskell

It's probably simplest to get it working with wxWidgets 2.6.4
  http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.6.4-Setup.exe

Best,

--
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon fran├žais.

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe

attachment0 (193 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: i need wxHaskell compiled for ghc 6.6.1 on Windows

Neil Mitchell
In reply to this post by Bulat Ziganshin-2
Hi Bulat,

> can anyone provide wxHaskell already compiled/compilable with ghc 6.6.1 on
> Windows?

This is precisely the reason I switched to Gtk2Hs - Duncan provides
Windows installers as each new GHC release comes out. If wxHaskell
wants to stand any chance as an alternative GUI framework there really
_must_ be Windows binaries released concurrently with GHC versions...

Thanks

Neil
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re[2]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Bulat Ziganshin-2
Hello Neil,

Saturday, July 21, 2007, 11:46:59 PM, you wrote:
>> can anyone provide wxHaskell already compiled/compilable with ghc 6.6.1 on
>> Windows?

> This is precisely the reason I switched to Gtk2Hs - Duncan provides
> Windows installers as each new GHC release comes out. If wxHaskell
> wants to stand any chance as an alternative GUI framework there really
> _must_ be Windows binaries released concurrently with GHC versions...

i've taken a look at gtk2hs, but 2 reasons forced me to give wxHaskell
a try:

- native appearance
- current lack of high-level properties machinery in gtk2hs


--
Best regards,
 Bulat                            mailto:[hidden email]

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re[2]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Bulat Ziganshin-2
In reply to this post by Eric Kow
Hello Eric,

Saturday, July 21, 2007, 9:29:30 AM, you wrote:
>> can anyone provide wxHaskell already compiled/compilable with ghc 6.6.1 on
>> Windows?

> Please try the darcs version
>   darcs get http://darcs.haskell.org/wxhaskell

thanks. should i follow building instructions from homepage/ directory
or there are another one?

--
Best regards,
 Bulat                            mailto:[hidden email]

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Eric Kow
> > Please try the darcs version
> >   darcs get http://darcs.haskell.org/wxhaskell
>
> thanks. should i follow building instructions from homepage/ directory
> or there are another one?

I don't remember if this is documented anywhere, sadly:

It's

./configure
make
make install
make wx
make wx-install

--
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon fran├žais.

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Duncan Coutts
In reply to this post by Bulat Ziganshin-2
On Sun, 2007-07-22 at 18:02 +0400, Bulat Ziganshin wrote:

> Hello Neil,
>
> Saturday, July 21, 2007, 11:46:59 PM, you wrote:
> >> can anyone provide wxHaskell already compiled/compilable with ghc 6.6.1 on
> >> Windows?
>
> > This is precisely the reason I switched to Gtk2Hs - Duncan provides
> > Windows installers as each new GHC release comes out. If wxHaskell
> > wants to stand any chance as an alternative GUI framework there really
> > _must_ be Windows binaries released concurrently with GHC versions...
>
> i've taken a look at gtk2hs, but 2 reasons forced me to give wxHaskell
> a try:
>
> - native appearance

I think that's pretty good these days, the native theme on Windows has
been getting better and better from Gtk+ 2.6 to the current 2.10

> - current lack of high-level properties machinery in gtk2hs

Actually Gtk2Hs and wxHaskell have a very similar properties api (they
both stole it off of an older Haskell GUI lib) and we're planning to
make further improvements to that in the current development cycle.

Duncan

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Neil Mitchell
Hi

> > - native appearance
>
> I think that's pretty good these days, the native theme on Windows has
> been getting better and better from Gtk+ 2.6 to the current 2.10

wxHaskell used to be 10 times better than Gtk, now its about twice as
good. The Gtk developers are seriously addressing some of the
mistakes, and the work is going in the direction, so my hope is that
it will hit nearly perfect one day.

Duncan even volunteered to file the bug report etc. on any bugs I spot
and screenshot.

Thanks

Neil
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: i need wxHaskell compiled for ghc 6.6.1 on Windows

shelarcy
In reply to this post by Eric Kow
Hello Eric,

I found that wxc Visual Studio Project File for
wxWidgets-2.4.2 is broken now.
And I think that I forgot to notice some awkward point for Windows....


So I put newer Windows binary on my project's file space.

http://sourceforge.net/project/showfiles.php?group_id=168626


On Sun, 22 Jul 2007 23:20:44 +0900, Eric Kow <[hidden email]> wrote:
>> > Please try the darcs version
>> >   darcs get http://darcs.haskell.org/wxhaskell
>>
>> thanks. should i follow building instructions from homepage/ directory
>> or there are another one?

--
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe

fix_broken-2.4.dpatch (15K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: i need wxHaskell compiled for ghc 6.6.1 on Windows

shelarcy
In reply to this post by Eric Kow
Hellow Bulat,

On Sun, 22 Jul 2007 23:20:44 +0900, Eric Kow <[hidden email]> wrote:

>> > Please try the darcs version
>> >   darcs get http://darcs.haskell.org/wxhaskell
>>
>> thanks. should i follow building instructions from homepage/ directory
>> or there are another one?
>
> I don't remember if this is documented anywhere, sadly:
>
> It's
>
> ./configure
> make
> make install
> make wx
> make wx-install

This instruction isn't perfect when you want to build on Windows
with Visual Studio.


You must add --with-msc option to ./configure command,
if you want to use Visual Studio's dll.

http://wxhaskell.sourceforge.net/building-msc.html


If you want to use GLCanvas or ODBC support, you must modify
wxWidgets' include\wx\msw\setup.h file to enable Option.
To use GLCanvas, we must set "#define wxUSE_GLCANVAS       1"
ODBC support is simillar,

And ODBC support isn't work with Unicode support.
wxWidgets 2.4.2 doesn't support ODBC with Unicode. I think 2.6.4 or
greater can use ODBC support with Unicode. But I can't where is
bug now.


wxWidgets 2.4.2's project file is broken. I point out and attched patch
for this problem in previous mail, so you can build that with patch.

http://www.haskell.org/pipermail/haskell-cafe/2007-July/029438.html


I think wxc-2.6.3 project file depends on wxSTC.
So you must build wxSTC before building wxc on Windows,
if you want to build wxc with wxWidgets 2.6.3, or modifying
wxc-2.6.3 to support greater version (e.g. wxWidgets 2.6.4).

This problem comes from merging wxStyledTextCntrl support.
If we want to avoid it, we must add building option with STC support
or not in project file, or add wxc-withSTC-* project file.

http://sourceforge.net/mailarchive/forum.php?thread_name=d80c8a540701110913h3e28284aua137ef299f259ff6%40mail.gmail.com&forum_name=wxhaskell-users


Best Regards,

--
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re[4]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Bulat Ziganshin-2
In reply to this post by Duncan Coutts
Hello Duncan,

Monday, July 23, 2007, 4:02:42 AM, you wrote:
>> i've taken a look at gtk2hs, but 2 reasons forced me to give wxHaskell
>> a try:
>>
>> - native appearance

> I think that's pretty good these days, the native theme on Windows has
> been getting better and better from Gtk+ 2.6 to the current 2.10

it's good and i don't complain about its quality. what i mean here is
just what it looks like Unix apps, not like native windows ones.
afaiu, GTK paints all controls itself without using native controls
and therefore controls look at Windows just the same as in Unix

>> - current lack of high-level properties machinery in gtk2hs

> Actually Gtk2Hs and wxHaskell have a very similar properties api (they
> both stole it off of an older Haskell GUI lib) and we're planning to
> make further improvements to that in the current development cycle.

yes, there is API but as far as i see, it's not yet fully implemented
for each type of control. for example, in TreeDemo.hs and DirList.hs
examples there are lots of handmade calls - compare them to
FileBrowse.hs wxHaskell example (although i may be unfair here, but it
seems that wxHaskell example uses properties more extensively)


--
Best regards,
 Bulat                            mailto:[hidden email]

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re[4]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Bulat Ziganshin-2
In reply to this post by shelarcy
Hello shelarcy,

Tuesday, July 24, 2007, 2:32:01 AM, you wrote:

> So I put newer Windows binary on my project's file space.

> http://sourceforge.net/project/showfiles.php?group_id=168626

thank you very much!!! now i'm really happy - it works without any
problems. the only question that remains - does this version supports
unicode?


--
Best regards,
 Bulat                            mailto:[hidden email]

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Duncan Coutts
In reply to this post by Bulat Ziganshin-2
On Wed, 2007-07-25 at 16:57 +0400, Bulat Ziganshin wrote:

> Hello Duncan,
>
> Monday, July 23, 2007, 4:02:42 AM, you wrote:
> >> i've taken a look at gtk2hs, but 2 reasons forced me to give wxHaskell
> >> a try:
> >>
> >> - native appearance
>
> > I think that's pretty good these days, the native theme on Windows has
> > been getting better and better from Gtk+ 2.6 to the current 2.10
>
> it's good and i don't complain about its quality. what i mean here is
> just what it looks like Unix apps, not like native windows ones.
> afaiu, GTK paints all controls itself without using native controls
> and therefore controls look at Windows just the same as in Unix

There's really no such thing as Windows native controls any more, at
least not ones that any apps actually use. You'll note that Internet
Explorer, MS Office and VisualStudio all paint their own custom control
set that are similar but not exactly the same as the native controls (eg
those used by NotePad/WordPad).

Gtk+ uses themes too, and on Windows it uses a Windows theme. This uses
the native WinXP themeing dll. It's possible to use any of the Unix
themes on windows, but nobody would ever want to do that. As noted
before, the differences between the Gtk+ Windows theme and the common
'native' windows control sets have been getting less and less with each
recent release of Gtk+.

> >> - current lack of high-level properties machinery in gtk2hs
>
> > Actually Gtk2Hs and wxHaskell have a very similar properties api (they
> > both stole it off of an older Haskell GUI lib) and we're planning to
> > make further improvements to that in the current development cycle.
>
> yes, there is API but as far as i see, it's not yet fully implemented
> for each type of control. for example, in TreeDemo.hs and DirList.hs
> examples there are lots of handmade calls - compare them to
> FileBrowse.hs wxHaskell example (although i may be unfair here, but it
> seems that wxHaskell example uses properties more extensively)

Yes, that's what we're addressing in the current dev cycle, making more
extensive use of properties and removing the duplication between the
properties and the direct set/get calls.

Duncan

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Neil Mitchell
Hi

> There's really no such thing as Windows native controls any more, at
> least not ones that any apps actually use. You'll note that Internet
> Explorer, MS Office and VisualStudio all paint their own custom control
> set that are similar but not exactly the same as the native controls (eg
> those used by NotePad/WordPad).

But the native controls are a lot nicer. The fact that MS Office, IE
and VS are all annoying doesn't meant that Haskell developers should
be excluded from writing non-annoying user interfaces.

> Gtk+ uses themes too, and on Windows it uses a Windows theme. This uses
> the native WinXP themeing dll.

Either 1) it does, but very very badly, or 2) it doesn't. Even the
ones that look similar are not quite right. It is getting better
though, but I'm not sure they are using the theme DLL (purely from the
results, I have no idea what the code says)

> Yes, that's what we're addressing in the current dev cycle, making more
> extensive use of properties and removing the duplication between the
> properties and the direct set/get calls.

:( - please let the set/get calls remain, since the properties are
likely to only be available with non-H98 types. My PropLang wrapper
also has to use set/get directly.

Thanks

Neil
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Duncan Coutts
On Wed, 2007-07-25 at 14:58 +0100, Neil Mitchell wrote:

> Hi
>
> > There's really no such thing as Windows native controls any more, at
> > least not ones that any apps actually use. You'll note that Internet
> > Explorer, MS Office and VisualStudio all paint their own custom control
> > set that are similar but not exactly the same as the native controls (eg
> > those used by NotePad/WordPad).
>
> But the native controls are a lot nicer. The fact that MS Office, IE
> and VS are all annoying doesn't meant that Haskell developers should
> be excluded from writing non-annoying user interfaces.

Sure :-)

> > Gtk+ uses themes too, and on Windows it uses a Windows theme. This uses
> > the native WinXP themeing dll.
>
> Either 1) it does, but very very badly, or 2) it doesn't. Even the
> ones that look similar are not quite right. It is getting better
> though, but I'm not sure they are using the theme DLL (purely from the
> results, I have no idea what the code says)

I think it uses it mainly when you're using the TellyTubbies WinXP
themes. It also uses it for colours etc.

> > Yes, that's what we're addressing in the current dev cycle, making more
> > extensive use of properties and removing the duplication between the
> > properties and the direct set/get calls.
>
> :( - please let the set/get calls remain, since the properties are
> likely to only be available with non-H98 types. My PropLang wrapper
> also has to use set/get directly.

The current plan is to mark them as deprecated and remove them from the
haddock documentation but not to remove them completely yet.

The properties themselves do not have non-H98 types, but the current set
function uses existential types. We could provide a simpler version of
set that doesn't have the nice syntax and uses H98 types.

Duncan

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re[6]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Bulat Ziganshin-2
In reply to this post by Duncan Coutts
Hello Duncan,

Wednesday, July 25, 2007, 5:54:13 PM, you wrote:

>> afaiu, GTK paints all controls itself without using native controls
>> and therefore controls look at Windows just the same as in Unix

> Gtk+ uses themes too, and on Windows it uses a Windows theme.

can you please give screenshots? in particular, i see unix-like
style in TreeCtrl and scrollbars in examples i've built from gtk2hs.
what i should do to use more windows-native looking controls?

> Yes, that's what we're addressing in the current dev cycle, making more
> extensive use of properties and removing the duplication between the
> properties and the direct set/get calls.

as Neil said, we should still have functions comfortable for particular
application etc



--
Best regards,
 Bulat                            mailto:[hidden email]

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Re[6]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Neil Mitchell
Hi Bulat,

> can you please give screenshots? in particular, i see unix-like
> style in TreeCtrl and scrollbars in examples i've built from gtk2hs.

The scroll bars are OK:

http://www-users.cs.york.ac.uk/~ndm/temp/proof.png

The appearance is native, but the arrow on the left shouldn't be
disabled when scrolled to the full left. They are close, but have got
things wrong all over the place.

Thanks

Neil
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Fwd: Re: Re[4]: i need wxHaskell compiled for ghc 6.6.1 on Windows

shelarcy
In reply to this post by Bulat Ziganshin-2
Oops, I made mistake to send this mail only for Bulat.

------- Forwarded message -------
From: shelarcy <[hidden email]>
To: "Bulat Ziganshin" <[hidden email]>
Subject: Re: Re[4]: [Haskell-cafe] i need wxHaskell compiled for ghc 6.6.1 on Windows
Date: Wed, 01 Aug 2007 09:03:52 +0900

Hello Bulat,

On Wed, 25 Jul 2007 22:18:58 +0900, Bulat Ziganshin <[hidden email]> wrote:
> Tuesday, July 24, 2007, 2:32:01 AM, you wrote:
>
>> So I put newer Windows binary on my project's file space.
>
>> http://sourceforge.net/project/showfiles.php?group_id=168626
>
> thank you very much!!! now i'm really happy - it works without any
> problems. the only question that remains - does this version supports
> unicode?

Yes. Current darcs repository version support only unicode
enabled version.

http://article.gmane.org/gmane.comp.lang.haskell.wxhaskell.general/198

So you can use UTF-8 string in your program.


Best Regards,

--
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re[6]: i need wxHaskell compiled for ghc 6.6.1 on Windows

Bulat Ziganshin-2
In reply to this post by Bulat Ziganshin-2
Hello shelarcy,

Wednesday, August 1, 2007, 4:03:52 AM, you wrote:

>> problems. the only question that remains - does this version supports
>> unicode?

> Yes. Current darcs repository version support only unicode
> enabled version.

great, it's all what i need. but i'm still curious about other
features enabled when building this package. can i see
config.gcc or build.cfg or setup.h or any other file that shows
feature list? also it will be useful to include such file with the next
builds of wxHaskell

--
Best regards,
 Bulat                            mailto:[hidden email]

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe