Re: [wxhaskell-devel] Build
btw, we are already at the solution stage, what is the problem in fact ? what are the typical difficulties that a raise when installing wx ? is it on the C side or on the haskell side ? is it because they have to be fetched separately ? do we have a shared view on where lies the problems ? -- Luc Taesch Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig) Le vendredi 31 mai 2013 à 15:24, Eric Kow a écrit : > On 31 May 2013 06:34, harry (mailto:volderm...@hotmail.com)> wrote: > > The first problem is that wxdirect installs both executables and a library - > > why is that necessary, and is there another way to do it? > > > > > Could you elaborate on this? I'm not 100% sure I follow. > > Is the issue something related to the wxdirect executable not being > available in the sandbox environment? > > One issue is that wxdirect is used in the build process of the wxcore Setup.hs > > One thing which I think might help matters is if we had a way for the > custom Setup.hs in wxcore to depend on wxdirect. Now one option would > be for us to just swallow wxdirect directly into wxcore, making it > part of the setup script. There's no particular reason it has to be > run as an executable. > > If not feasible, then we may need something like > https://github.com/haskell/cabal/issues/948 > > -- > Eric Kow <http://erickow.com> > > -- > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > ___ > wxhaskell-devel mailing list > wxhaskell-devel@lists.sourceforge.net > (mailto:wxhaskell-devel@lists.sourceforge.net) > https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel > > -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2___ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
Re: [wxhaskell-devel] Maintenance
for the status , I could say , from a not so old mail (16/4) "Atze Dijkstra and I (Henk-Jan van Tuyl ) are currently doing maintenance on wxHaskell, using the GitHub repository you mentioned …" https://github.com/atzedijkstra/wxHaskell -- Luc Taesch Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig) Le lundi 27 mai 2013 à 16:56, Eric Kow a écrit : > Maybe you could review the current pull requests? > https://github.com/jodonoghue/wxHaskell/pulls > > It might not feel very entry level, but it could be a way to get > sucked into the infrastructure. > > As for maintenance, I think the current maintainer is Jeremy > O'Donoghue, who we haven't heard from in a while (but I see he's > merged a pull request). Apologies if I'm mistaken; have been out of > the loop for some years. There are jobs that folks might usually leave > to a dev team or maintainer, but I think the community may want to > pick up and try to do. Anybody available to step in a sort of interim > maintainer? > > wxHaskell did see a nice uptick of activity in 2012 with a good > cleanup of the infrastructure and layering of the packages. It'd be > great to see this progress built upon. > > > On 27 May 2013 09:07, Blair Archibald (mailto:mrblairarchib...@gmail.com)> wrote: > > Hi, > > > > It was mentioned on the Haskell beginners mailing list that wxHaskell was > > looking for volunteers. > > > > I was wondering if anyone knew of any "entry" level tasks which need > > performed so I can get a feel for the codebase etc. > > > > I have an intermediate knowledge of Haskell (less than a year but still > > learning). I also don't mind working in C/C++ which makes this project good > > fit in my mind. > > > > I realise there was a mailing list post a while ago debating the maintenance > > of wxHaskell but I couldn't figure out who the lead maintainer currently is? > > > > Many thanks, > > Blair > > > > -- > > Try New Relic Now & We'll Send You this Cool Shirt > > New Relic is the only SaaS-based application performance monitoring service > > that delivers powerful full stack analytics. Optimize and monitor your > > browser, app, & servers with just a few lines of code. Try New Relic > > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may > > ___ > > wxhaskell-devel mailing list > > wxhaskell-devel@lists.sourceforge.net > > (mailto:wxhaskell-devel@lists.sourceforge.net) > > https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel > > > > > > > -- > Eric Kow <http://erickow.com> > > -- > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may > ___ > wxhaskell-devel mailing list > wxhaskell-devel@lists.sourceforge.net > (mailto:wxhaskell-devel@lists.sourceforge.net) > https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel > > > -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
Re: [wxhaskell-devel] Maintenance
well, I have a personal need, which is to get drag and drop working. and you definitively got a feel of the code base , as I did when investigating. however, this is not the most generic useful task, so lets wait until any other say something. otherwise Ill start transferring what I learned Luc -- Luc Taesch Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig) Le lundi 27 mai 2013 à 10:07, Blair Archibald a écrit : > Hi, > > It was mentioned on the Haskell beginners mailing list that wxHaskell was > looking for volunteers. > > I was wondering if anyone knew of any "entry" level tasks which need > performed so I can get a feel for the codebase etc. > > I have an intermediate knowledge of Haskell (less than a year but still > learning). I also don't mind working in C/C++ which makes this project good > fit in my mind. > > I realise there was a mailing list post a while ago debating the maintenance > of wxHaskell but I couldn't figure out who the lead maintainer currently is? > > Many thanks, > Blair > -- > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may > > ___ > wxhaskell-devel mailing list > wxhaskell-devel@lists.sourceforge.net > (mailto:wxhaskell-devel@lists.sourceforge.net) > https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel > > -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
Re: [wxhaskell-devel] wxGraphicsRenderer
-many thanks for your help, this made my day ! … but just for 10 mn as I cannot find these on the current 0.90.3. ;-< ?? I see you are pointing to an old lib, 0.12.7. Currently I cannot find the Graphics-UI-WXCore-WxcClassesAL (http://hackage.haskell.org/packages/archive/wxcore/0.12.1.7/doc/html/Graphics-UI-WXCore-WxcClassesAL.html#g:81) file, nor any containing GraphicsRenderer I guess there have been some refactoring since 0.12.7. could you help pointing at the files ? or am i getting the wrong source ? I got the source from [https://github.com/atzedijkstra/wxHaskell/tree/master/wxcore/src/haskell/Graphics/UI/WXCore] -- Luc be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/) Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig) Le dimanche 24 mars 2013 à 23:26, Henk-Jan van Tuyl a écrit : > On Sun, 24 Mar 2013 15:08:20 +0100, luc taesch (mailto:luc.tae...@gmail.com)> > wrote: > > : > > A very superficial browse, but haven't found any support of these in WX > > , except the inclusion of the graphicscontext.cpp/ h in wxc > > > > 1/ is it correct ? > > 2/ any plans to use them ? > > 3/ is there dependencies on the eiffel bindings to fix first ? > > 4/ or any other alternative you would advise ? > > > > [wxGraphicsRenderer]:http://docs.wxwidgets.org/trunk/page_class_cat.html#page_class_cat_gc > > > Have a look at [0], I think that is what you are looking for. > Regarding question 3: wxHaskell does not depend on Eiffel anymore. > > Regards, > Henk-Jan van Tuyl > > > [0] > http://hackage.haskell.org/packages/archive/wxcore/0.12.1.7/doc/html/Graphics-UI-WXCore-WxcClassesAL.html#g:81 > > > -- > http://Van.Tuyl.eu/ > http://members.chello.nl/hjgtuyl/tourdemonad.html > Haskell programming > -- > > -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2___ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
Re: [wxhaskell-devel] wxGraphicsRenderer
Many thanks ! so you solved it already in wxcore-0.12.1.6 ! but what happened ? it never made its way to the core trunk ? any clue if this is still valid ? To enable GraphicsContext, wxWidgets must be compiled with --enable-graphics_ctx option. or is it detected automatically ? was it related to 2.8 or even before ? Anyway, many thanks for your help , and I will try it tonight . luc -- Luc be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/) Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig) Le mardi 26 mars 2013 à 23:31, Dmitriy Nikitinskiy a écrit : > Hello, > > Mabe this will help: > > http://sourceforge.net/tracker/?func=detail&aid=3087609&group_id=73133&atid=536848 > > here patch and working example, tested on openSuse and windows xp. > > Regards, > Dmitriy > > 27.03.2013 01:27, luc taesch wrote: > > > > I am a bit clue less > > > > I have reduced to the bare minimum > > > > gr <- graphicsRendererCreateContextFromNativeWindow f > > > > graphicsContextDelete gr > > > > > > it compiles and segfault… > > > > > > any ideas ? > > > > > > mbp2-de-luc:wxcanvastest luc$ ghc --make Paint.hs > > > > [1 of 1] Compiling Main ( Paint.hs, Paint.o ) > > > > Linking Paint ... > > > > mbp2-de-luc:wxcanvastest luc$ ./Paint > > > > Segmentation fault: 11 > > > > mbp2-de-luc:wxcanvastest luc$ > > > -- > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > ___ > wxhaskell-devel mailing list > wxhaskell-devel@lists.sourceforge.net > (mailto:wxhaskell-devel@lists.sourceforge.net) > https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel > > -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
Re: [wxhaskell-devel] wxGraphicsRenderer
I am a bit clue less I have reduced to the bare minimum gr <- graphicsRendererCreateContextFromNativeWindow f graphicsContextDelete gr it compiles and segfault… any ideas ? mbp2-de-luc:wxcanvastest luc$ ghc --make Paint.hs [1 of 1] Compiling Main ( Paint.hs, Paint.o ) Linking Paint ... mbp2-de-luc:wxcanvastest luc$ ./Paint Segmentation fault: 11 mbp2-de-luc:wxcanvastest luc$ module Main where import Graphics.UI.WXCore import Graphics.UI.WX main :: IO () main = start gui gui :: IO () gui = do f <- frame [text := "Paint demo", fullRepaintOnResize := False] -- sw <- scrolledWindow f [ on paint := onpaint --, virtualSize := sz 500 500, scrollRate := sz 10 10 --, fullRepaintOnResize := False] -- dcc <- paintDCCreate sw gr <- graphicsRendererCreateContextFromNativeWindow f -- pa <-graphicsPathCreate -- graphicsPathAddCircle pa (pt 30 30) 20 -- graphicsPathCloseSubpath pa graphicsContextDelete gr set f [clientSize := sz 150 150] --, layout := fill $ widget sw] return () On 2013-03-25 22:03:55 +, Luc TAESCH said: I tried this so far which is copied from the basic Paint.hs from the sample. - it compiles , run and break at run time if I omit Line [1] gr <- graphicsContextCreate dc -- 1. this break for now and it does not compile when I leave it on. My sources are [1] and [2] [1]: http://docs.wxwidgets.org/trunk/classwx_graphics_context.html [2]: http://chandlerproject.org/Projects/WxPythonGraphicsContext Ill keep you posted -- module Main where import Graphics.UI.WXCore import Graphics.UI.WX main :: IO () main = start gui gui :: IO () gui = do f <- frame [text := "Paint demo", fullRepaintOnResize := False] sw <- scrolledWindow f [ on paint := onpaint , virtualSize := sz 500 500, scrollRate := sz 10 10 , fullRepaintOnResize := False] set f [clientSize := sz 150 150, layout := fill $ widget sw] return () where onpaint dc viewArea = do gr <- graphicsContextCreate dc -- 1. this break for now pa <-graphicsPathCreate graphicsPathAddCircle pa (pt 30 30) 20 graphicsPathCloseSubpath pa --circle dc (pt 30 30) 20 [penKind := PenSolid] Paint.hs:13:45: Couldn't match expected type `()' with actual type `CWindowDC a0' Expected type: DC () -> Rect -> IO () Actual type: WindowDC a0 -> t0 -> IO () In the second argument of `(:=)', namely `onpaint' In the expression: on paint := on paint void MyCanvas::OnPaint(wxPaintEvent &event) { // Create paint DC wxPaintDC dc(this); // Create graphics context from it wxGraphicsContext *gc = wxGraphicsContext::Create( dc ); if (gc) { // make a path that contains a circle and some lines gc->SetPen( *wxRED_PEN ); wxGraphicsPath path = gc->CreatePath(); path.AddCircle( 50.0, 50.0, 50.0 ); path.MoveToPoint(0.0, 50.0); path.AddLineToPoint(100.0, 50.0); path.MoveToPoint(50.0, 0.0); path.AddLineToPoint(50.0, 100.0 ); path.CloseSubpath(); path.AddRectangle(25.0, 25.0, 50.0, 50.0); gc->StrokePath(path); delete gc; } } -- Luc be.linkedin.com/in/luctaesch/ Envoyé avec Sparrow Le lundi 25 mars 2013 à 22:52, Henk-Jan van Tuyl a écrit : On Mon, 25 Mar 2013 19:00:58 +0100, Luc TAESCH wrote: ah many thanks ! I understand better now ( change quite a bit since 2003 :-) I indeed can see the classes . are these new renderers already mapped into wx, or should we use them as such , directly ? any sample / test available , out of chance ? Many thanks for your patience, anyway :-) Luc I can't find any renderer functions in wx, or any samples/tests; I suppose the best thing to do is to try to translate C++ sample programs to Haskell. Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming -- -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo
Re: [wxhaskell-devel] wxGraphicsRenderer
I tried this so far which is copied from the basic Paint.hs from the sample. - it compiles , run and break at run time if I omit Line [1] gr <- graphicsContextCreate dc -- 1. this break for now and it does not compile when I leave it on. My sources are [1] and [2] [1]: http://docs.wxwidgets.org/trunk/classwx_graphics_context.html [2]: http://chandlerproject.org/Projects/WxPythonGraphicsContext Ill keep you posted -- module Main where import Graphics.UI.WXCore import Graphics.UI.WX main :: IO () main = start gui gui :: IO () gui = do f <- frame [text := "Paint demo", fullRepaintOnResize := False] sw <- scrolledWindow f [ on paint := onpaint , virtualSize := sz 500 500, scrollRate := sz 10 10 , fullRepaintOnResize := False] set f [clientSize := sz 150 150, layout := fill $ widget sw] return () where onpaint dc viewArea = do gr <- graphicsContextCreate dc -- 1. this break for now pa <-graphicsPathCreate graphicsPathAddCircle pa (pt 30 30) 20 graphicsPathCloseSubpath pa --circle dc (pt 30 30) 20 [penKind := PenSolid] Paint.hs:13:45: Couldn't match expected type `()' with actual type `CWindowDC a0' Expected type: DC () -> Rect -> IO () Actual type: WindowDC a0 -> t0 -> IO () In the second argument of `(:=)', namely `onpaint' In the expression: on paint := on paint void MyCanvas::OnPaint(wxPaintEvent (http://docs.wxwidgets.org/trunk/classwx_paint_event.html) &event) { // Create paint DC wxPaintDC (http://docs.wxwidgets.org/trunk/classwx_paint_d_c.html) dc(this); // Create graphics context from it wxGraphicsContext (http://docs.wxwidgets.org/trunk/classwx_graphics_context.html) *gc = wxGraphicsContext::Create (http://docs.wxwidgets.org/trunk/classwx_graphics_context.html#adbc3ec3262f53e209276293ff1c0944e)( dc ); if (gc) { // make a path that contains a circle and some lines gc->SetPen (http://docs.wxwidgets.org/trunk/classwx_graphics_context.html#ac34d6320c2777fe2afcf8777868e37d3)( *wxRED_PEN (http://docs.wxwidgets.org/trunk/pen_8h.html#a62930a76d6d75371553b90661f8d9d30) ); wxGraphicsPath (http://docs.wxwidgets.org/trunk/classwx_graphics_path.html) path = gc->CreatePath (http://docs.wxwidgets.org/trunk/classwx_graphics_context.html#a55c95ed392ed17f6fbd6e83b2a442a80)(); path.AddCircle (http://docs.wxwidgets.org/trunk/classwx_graphics_path.html#a1dedee16234c079524b51db8e0395f68)( 50.0, 50.0, 50.0 ); path.MoveToPoint (http://docs.wxwidgets.org/trunk/classwx_graphics_path.html#a62c899479b6bd2105507317a1246978e)(0.0, 50.0); path.AddLineToPoint (http://docs.wxwidgets.org/trunk/classwx_graphics_path.html#abd69d09ad6fe10af99a675ac79d2717a)(100.0, 50.0); path.MoveToPoint (http://docs.wxwidgets.org/trunk/classwx_graphics_path.html#a62c899479b6bd2105507317a1246978e)(50.0, 0.0); path.AddLineToPoint (http://docs.wxwidgets.org/trunk/classwx_graphics_path.html#abd69d09ad6fe10af99a675ac79d2717a)(50.0, 100.0 ); path.CloseSubpath (http://docs.wxwidgets.org/trunk/classwx_graphics_path.html#a93ee08b5acd2a2aa82dceb4bbd9cc819)(); path.AddRectangle (http://docs.wxwidgets.org/trunk/classwx_graphics_path.html#ac257fef3393f29b2705438fdc08b28a0)(25.0, 25.0, 50.0, 50.0); gc->StrokePath (http://docs.wxwidgets.org/trunk/classwx_graphics_context.html#a4f7f8f768e84dcdf50493f0e7ef0c00a)(path); delete gc; } } -- Luc be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/) Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig) Le lundi 25 mars 2013 à 22:52, Henk-Jan van Tuyl a écrit : > On Mon, 25 Mar 2013 19:00:58 +0100, Luc TAESCH (mailto:luc.tae...@gmail.com)> > wrote: > > > ah many thanks ! I understand better now ( change quite a bit since > > 2003 :-) > > I indeed can see the classes . > > > > are these new renderers already mapped into wx, or should we use them as > > such , directly ? > > any sample / test available , out of chance ? > > > > Many thanks for your patience, anyway :-) > > > > Luc > > I can't find any renderer functions in wx, or any samples/tests; I suppose > the best thing to do is to try to translate C++ sample programs to Haskell. > > Regards, > Henk-Jan van Tuyl > > > -- > http://Van.Tuyl.eu/ > http://members.chello.nl/hjgtuyl/tourdemonad.html > Haskell programming > -- > > -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/1
Re: [wxhaskell-devel] wxGraphicsRenderer
ah many thanks ! I understand better now ( change quite a bit since 2003 :-) I indeed can see the classes . are these new renderers already mapped into wx, or should we use them as such , directly ? any sample / test available , out of chance ? Many thanks for your patience, anyway :-) Luc -- Luc be.linkedin.com/in/luctaesch/ (http://be.linkedin.com/in/luctaesch/) Envoyé avec Sparrow (http://www.sparrowmailapp.com/?sig) Le lundi 25 mars 2013 à 17:07, Henk-Jan van Tuyl a écrit : > On Mon, 25 Mar 2013 10:16:00 +0100, Luc TAESCH (mailto:luc.tae...@gmail.com)> > wrote: > > > -many thanks for your help, this made my day ! > > > > … but just for 10 mn as I cannot find these on the current 0.90.3. ;-< ?? > > > > I see you are pointing to an old lib, 0.12.7. Currently I cannot find > > the Graphics-UI-WXCore-WxcClassesAL > > (http://hackage.haskell.org/packages/archive/wxcore/0.12.1.7/doc/html/Graphics-UI-WXCore-WxcClassesAL.html#g:81) > > > > file, nor any containing GraphicsRenderer > > > > I guess there have been some refactoring since 0.12.7. > > > > could you help pointing at the files ? > > > > or am i getting the wrong source ? > > I got the source from > > [https://github.com/atzedijkstra/wxHaskell/tree/master/wxcore/src/haskell/Graphics/UI/WXCore] > > > > > The functions you are looking for, are defined in file > wxcore\src\haskell\Graphics\UI\WXCore\WxcClassesAL.hs > . This file is automatically created when you run > cabal install > or > runhaskell Setup configure > runhaskell Setup build > inside the wxcore directory. Note, that you first have to install wxdirect > and wxc > > You only need to import Graphics.UI.WXCore to get the wanted functionality. > > Regards, > Henk-Jan van Tuyl > > > -- > http://Van.Tuyl.eu/ > http://members.chello.nl/hjgtuyl/tourdemonad.html > Haskell programming > -- > > -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
[wxhaskell-devel] wxGraphicsRenderer
I discovered there is now a much better graphical engine in wx [wxGraphicsRenderer], which uses native engines: These classes are related to drawing using a new vector based drawing API and are based on the modern drawing backend GDI+, CoreGraphics and Cairo. they poped up in 2.8 / 2011 and were not present in 2.6.4 / 2007 A very superficial browse, but haven't found any support of these in WX , except the inclusion of the graphicscontext.cpp/ h in wxc 1/ is it correct ? 2/ any plans to use them ? 3/ is there dependencies on the eiffel bindings to fix first ? 4/ or any other alternative you would advise ? [wxGraphicsRenderer]:http://docs.wxwidgets.org/trunk/page_class_cat.html#page_class_cat_gc -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
[wxhaskell-devel] help needed for wx install on OSX 10.8 wx 2.9.4 ghc 7.4.2
Are there any setup to do after install , what i did , following [0]( manual compile) [1]/ install wxwigets went fine (any post make setup on MacOs?)(the equivalent of LD_CONFIG ?) [2]/ but I cannot get a helllo world example running . - the cabal-macosx does not seems to be seen ( what is expected in fact ?). any setup ? - what are the funny message on architecture being wrong .. ? ..( was built for unsupported file format ( ... ) which is not the architecture being linked (i386) [3]/ trying and run the sample by hand raise an Error I wanted to play with reactive banana, on OSX 10.8 wx 2.9.4 ghc 7.4.2 which [0] says has been working ( besides, apfelmus is developing on Mac OS , isn it ?) Any help appreciated, gentlemen :-) - [0](http://www.haskell.org/haskellwiki/WxHaskell/Mac ) [1]: ./configure --enable-unicode --disable-debug --with-osx_cocoa --prefix=/usr/local --enable-stc --enable-aui --enable-propgrid --enable-xrc --enable-ribbon --enable-richtext --enable-webkit --with-opengl make && make install ….. htext/richtextsizepage.h wx/richtext/richtextstyledlg.h wx/richtext/richtextstylepage.h wx/richtext/richtextstyles.h wx/richtext/richtextsymboldlg.h wx/richtext/richtextuicustomization.h wx/richtext/richtextxml.h wx/stc/stc.h wx/osx/webviewhistoryitem_webkit.h wx/osx/webview_webkit.h wx/webview.h wx/webviewarchivehandler.h; do \ if test ! -d /usr/local/include/wx-2.9/`dirname $f` ; then \ mkdir -p /usr/local/include/wx-2.9/`dirname $f`; \ fi; \ cp -fp ./include/$f /usr/local/include/wx-2.9/$f; \ done -- The installation of wxWidgets is finished. On certain platforms (e.g. Linux) you'll now have to run ldconfig if you installed a shared library and also modify the LD_LIBRARY_PATH (or equivalent) environment variable. wxWidgets comes with no guarantees and doesn't claim to be suitable for any purpose. Read the wxWindows Licence on licencing conditions. -- mbp2-de-luc:wxWidgets-2.9.4 luc$ - [2:] ghc --make HelloWorlds.hs [1 of 1] Compiling Main ( HelloWorlds.hs, HelloWorlds.o ) Linking HelloWorlds … ld: warning: ld: warning: ignoring file /usr/local/lib/libwx_osx_cocoau_webview-2.9.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libwx_osx_cocoau_webview-2.9.dylibignoring file /usr/local/lib/libwx_osx_cocoau_xrc-2.9.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libwx_osx_cocoau_xrc-2.9.dylib ld: warning: ld: warning: ignoring file /usr/local/lib/libwx_osx_cocoau_stc-2.9.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libwx_osx_cocoau_stc-2.9.dylibignoring file /usr/local/lib/libwx_osx_cocoau_richtext-2.9.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libwx_osx_cocoau_richtext-2.9.dylib ld: warning: ignoring file /usr/local/lib/libwx_osx_cocoau_ribbon-2.9.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libwx_osx_cocoau_ribbon-2.9.dylib ld: warning: ignoring file /usr/local/lib/libwx_osx_cocoau_propgrid-2.9.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libwx_osx_cocoau_propgrid-2.9.dylib ld: warning: ignoring file /usr/local/lib/libwx_osx_cocoau_aui-2.9.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libwx_osx_cocoau_aui-2.9.dylib ld: warning: ignoring file /usr/local/lib/libwx_osx_cocoau_gl-2.9.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libwx_osx_cocoau_gl-2.9.dylib ld: warning: ld: warning: ignoring file /usr/local/lib/libwx_osx_cocoau_qa-2.9.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libwx