Re: [Gtk2hs-devel] Cairo group operations

2011-03-16 Thread Andy Stewart
Hi Daniel, Thanks for your patch, good work! :) I have apply your patch at gtk2hs-mirror (andystew...@patch-tag.com:/r/AndyStewart/gtk2hs-mirror), I try to apply your patch to code.haskell.org/gtk2hs, but don't know why code.haskell.org don't allowed me push patches. Axel, can you help me push

Re: [Gtk2hs-devel] Hidden modules?

2011-01-12 Thread Andy Stewart
Matt Arsenault writes: > If I try to build Clutterhs with recent versions of Gtk2hs, I get build > errors such as: > Could not find module `Graphics.UI.Gtk.Types': > it is a hidden module in the package `gtk-0.12.0' > Use -v to see a list of the files searched for. > > This didn'

Re: [Gtk2hs-devel] [PATCH] Provide a missing new-style signal handler for Widget

2010-11-25 Thread Andy Stewart
Maxime Henrion writes: > Hi there! > > Sorry for the very late reply; I got caught up in that thing called > "real life"... :-) > > On Tue, 2010-10-26 at 10:07 +0800, Andy Stewart wrote: >> Hi Maxime, >> Maxime Henrion writes: >> >> &

Re: [Gtk2hs-devel] move Gtk2HsSetup.hs to gtk2hs-buildtools

2010-11-25 Thread Andy Stewart
Jens Petersen writes: > [sigh forget to click reply-all earlier...] > Jens Petersen writes: > I suggest moving Gtk2HsSetup.hs into a library, it could be part > of gtk2hs-buildtools perhaps.  How about it? It can't work. Because we need Gtk2HsSetup.hs generate Si

Re: [Gtk2hs-devel] How to generate bindings for new lib

2010-11-15 Thread Andy Stewart
Hi Andreas, Andreas Baldeau writes: > Hi, > > I would like to bind some of libsoup's functionality. > So I had a look > at apiGen (this is the tool to use, right?), but couldn't find any > useful documentation. So I looked into the Makefile and tried to do > the same for libsoup. The problem is

Re: [Gtk2hs-devel] Added *GetData functions for WebKits WebResource and WebDataSource

2010-11-15 Thread Andy Stewart
Hi, Andreas Baldeau writes: > Hi, > > I've added webResourceGetData and webDataSourceGetData. My hope was that I > could > get the downloaded favicon using them, but the icon is the only resource I > always got Nothing for. It also seems using webResourceGetData you only get > the > headers of

Re: [Gtk2hs-devel] [PATCH] Basic GString support for glib

2010-11-15 Thread Andy Stewart
Hi Andreas, Thanks for patch! Can you attach webkit-gstring patch let me test? I will apply those patches if test ok. Thanks, -- Andy Andreas Baldeau writes: > Hi there, > > I added basic support for converting GStrings to Haskell Strings. The function > readGString works really well so f

Re: [Gtk2hs-devel] CacheModel sources missing in WebKit repository

2010-11-14 Thread Andy Stewart
Hi Andreas, Andreas Baldeau writes: > Hi, > > I was putting my hands on some basic functions for handling GStrings > as I noticed that there is no source file for CacheModel in the darcs > repository at http://code.haskell.org/webkit/. Oops, i forgot "darcs add" before release webkit-0.12.0 I h

Re: [Gtk2hs-devel] compiling gtk demos

2010-10-29 Thread Andy Stewart
Hi John, John Obbele writes: > Hi everyone ! > > I played with the various demo programs, they are great. > > Except gtk/demo/embedded/MPlayer.hs and > gtk/demo/treelist/TreeSort.hs which have one or two glitches > preventing their compilation. > > Attached is an extra tiny patch for them. Thank

Re: [Gtk2hs-devel] [Patch] Added Maybe to function types in WebKit's WebResource

2010-10-29 Thread Andy Stewart
Hi Andreas, Andreas Baldeau writes: > Doh! Of course I forgott to attach the patch... > So here it is. Done, thanks for patch! -- Andy > > Andreas > > -- > Nokia and AT&T present the 2010 Calling All Innovators-North

Re: [Gtk2hs-devel] [Patch] Added Maybe to function types in WebKit's WebResource

2010-10-29 Thread Andy Stewart
Hi Andreas, I guess we seen in #haskell before, about webkit_web_resource_get_* function? Thanks for your patch, but where the patch? Forgot add, auh? :) -- Andy Andreas Baldeau writes: > Hi there, > > I had somes patches lying around for some time. Since I couldn't get darcs > send > to

Re: [Gtk2hs-devel] [#1202] GIO and wrapNewGObject

2010-10-26 Thread Andy Stewart
John Obbele writes: > Perhaps giving a patch for what I proposed would be better. Thanks, i have apply your patches. :) -- Andy -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create n

Re: [Gtk2hs-devel] [PATCH] Provide a missing new-style signal handler for Widget

2010-10-25 Thread Andy Stewart
Hi Maxime, Maxime Henrion writes: > Hello all, > > > Yet another not really interesting patch :-). It provides a new-style > signal handler for the "destroy" signal of the Widget object (not the > same as the "destroy-event" one). I guess you want patch for module Gtk/Abstract/Object.chs

Re: [Gtk2hs-devel] [#1202] GIO and wrapNewGObject

2010-10-25 Thread Andy Stewart
Hi John, John Obbele writes: > Hi Andy ! > > I've retested my preceding attached file (Segfault.hs) and it > still segfaults on my system :( > > Are you sure it works on yours ? Even with 'ghc -threaded --make' ? Yes, i got segfault after i add flag "-threaded". After i test, i found segfault

Re: [Gtk2hs-devel] [PATCH] Update signal handlers for MenuItem and Item objects, and fix a suspected bug

2010-10-25 Thread Andy Stewart
Hi Maxime, Maxime Henrion writes: >>> Finally, another question comes to mind: why is the "activate" signal >>> bound by the "activateLeaf" signal handler?  Should I take advantage of >>> this patch to rename it to just "activate", or "menuItemActivate" if >>> there are namespace conflicts? >> Ye

Re: [Gtk2hs-devel] [PATCH] Update signal handlers for MenuItem and Item objects, and fix a suspected bug

2010-10-24 Thread Andy Stewart
Hi Maxime, Maxime Henrion writes: > Hello all, > > > Yet another boring patch to update signal handlers to the new way of > doing things, this time for the MenuItem and Item objects :-). There > is, however, something of interest in this patch. I have apply your patches, thanks! :) > > I

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-23 Thread Andy Stewart
Hi John, John Obbele writes: > Back on checking pango and gtk libraries ! > > I've finished rescanning them. I've got two patches for GTK, one > should be totally harmless and slightly useful: it replaces > "constructNewGObject" by "makeNewGObject" in declarations dealing > with non-floating obj

Re: [Gtk2hs-devel] [#1202] GIO and wrapNewGObject

2010-10-23 Thread Andy Stewart
John Obbele writes: > On Sat, Oct 23, 2010 at 07:09:48PM +0800, Andy Stewart wrote: >> > So for now come new modifications to gio attached to this mail. >> > Let me know if you prefer one whole patch or something else. >> Thanks for patches, i have apply those

Re: [Gtk2hs-devel] [#1202] GIO and wrapNewGObject

2010-10-23 Thread Andy Stewart
Hi John, John Obbele writes: > On Sat, Oct 23, 2010 at 07:09:48PM +0800, Andy Stewart wrote: >> > So for now come new modifications to gio attached to this mail. >> > Let me know if you prefer one whole patch or something else. >> Thanks for patches, i have apply th

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-23 Thread Andy Stewart
Hi John, John Obbele writes: > Hi Andy, > > thanks for your help. > > I've fix the code who scan the gtk2hs source and I can properly > list declarations with parenthesis. I should really have thought > of this before :( No worried, everyone will makes mistakes, which is why we need a team to he

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-21 Thread Andy Stewart
Hi John, John Obbele writes: > Hi, > > On Fri, Oct 22, 2010 at 01:41:11AM +0800, Andy Stewart wrote: >> BTW, i search regexp "\(make\|construct\)NewGObject\s-mk[a-zA-Z]+" in >> Emacs, and found many results (146) should use wrapNewGObject too, >> somethin

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-21 Thread Andy Stewart
John Obbele writes: > On Thu, Oct 21, 2010 at 04:59:53PM +0200, Axel Simon wrote: >> Hi John, >> >> thanks a lot for this. BTW, how did you wind up replacing anything >> under .TreeList as Andy said? That's indeed deprecated and I thought >> it's removed from darcs. > > I don't know. I filtered

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-21 Thread Andy Stewart
Hi John, John Obbele writes: > Good day everyone ! > > On Sun, Oct 10, 2010 at 12:50:43AM +0800, Andy Stewart wrote: >> >From GObject hierarchy, there are many GObject not derive from >> GInitiallyUnowned. >> >> Please keep patch small and just for one GObj

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-21 Thread Andy Stewart
John Obbele writes: > On Thu, Oct 21, 2010 at 09:53:57PM +0800, Andy Stewart wrote: >> Hi John, >> >> Just quick seen patch summary. >> >> All modules under Gtk/TreeList is departed, use Gtk/ModelView instead. >> >> So we won't apply any patch

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-21 Thread Andy Stewart
at 12:50:43AM +0800, Andy Stewart wrote: >> >From GObject hierarchy, there are many GObject not derive from >> GInitiallyUnowned. >> >> Please keep patch small and just for one GObject per patch, then we can fix >> if something wrong. > > At least, I'

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-21 Thread Andy Stewart
Hi John, John Obbele writes: > Good day everyone ! > > On Sun, Oct 10, 2010 at 12:50:43AM +0800, Andy Stewart wrote: >> >From GObject hierarchy, there are many GObject not derive from >> GInitiallyUnowned. >> >> Please keep patch small and just for one GObj

Re: [Gtk2hs-devel] [Gtk2hs-commit] (main branch): Add new signals : entryIconPress/entryIconRelease and version macro

2010-10-19 Thread Andy Stewart
Hi John, John Obbele writes: > On Tue, Oct 19, 2010 at 03:59:13PM +0800, Andy Stewart wrote: >> About Pixbuf problem, infact, I haven't push John's wrapNewGObject patch to >> main repository, i > just >> use wrapNewGObject did a local patch and test works

Re: [Gtk2hs-devel] [Gtk2hs-commit] (main branch): Add new signals : entryIconPress/entryIconRelease and version macro

2010-10-19 Thread Andy Stewart
Hi Axel, Axel Simon writes: > Hi Andy, > > thanks for taking care of these! If this resource leak question is solved (at > least for Pixbuf), I > can convert the darcs repository to version 2 and we can release. Yes, it's time to upgrade Darcs-2 now. About Pixbuf problem, infact, I haven't p

Re: [Gtk2hs-devel] [PATCH] Add handlers for the "icon-press" and "icon-release" signals of GtkEntry

2010-10-18 Thread Andy Stewart
Maxime Henrion writes: > On Tue, 2010-10-19 at 05:42 +0800, Andy Stewart wrote: >> Hi Maxime, >> >> Thanks for your patch, i have apply it. :) > > Great, thanks! > >> BTW, please add documentation and version macro in new patch. >> Example, signals ent

Re: [Gtk2hs-devel] [PATCH] Add handlers for the "icon-press" and "icon-release" signals of GtkEntry

2010-10-18 Thread Andy Stewart
Hi Maxime, Thanks for your patch, i have apply it. :) BTW, please add documentation and version macro in new patch. Example, signals entryIconPress/entryIconRelease add after GTK+2.16, so we need add #if GTK_CHECK_VERSION(2,16,0) entryIconPress, entryIconRelease, #endif #if GTK_CHECK_VERSI

Re: [Gtk2hs-devel] Missing signals for CheckMenuItem (and possibly others)

2010-10-18 Thread Andy Stewart
Maxime Henrion writes: > Hello Andy, > > > On Mon, 2010-10-18 at 14:06 +0800, Andy Stewart wrote: >> Hi Maxime, >> >> Sorry for late, quite busy recently. :( > > No worries at all, you didn't even take two days to reply, that's > actually what I

Re: [Gtk2hs-devel] Missing signals for CheckMenuItem (and possibly others)

2010-10-18 Thread Andy Stewart
Hi Maxime, Sorry for late, quite busy recently. :( Maxime Henrion writes: > Hello all, > > > I recently had to use a CheckMenuItem object in some gtk2hs code. I was > surprised to see that the documentation doesn't contain anything on the > "toggled" signal for this object. > > I resorted to u

Re: [Gtk2hs-devel] [PATCH] Bug fixes for treeModelFilterSetVisibleFunc and treeSortableSetDefaultSortFunc

2010-10-17 Thread Andy Stewart
Hi Maxime, After i check some code, indeed, you're right. I have apply your patch, thanks! :) -- Andy Maxime Henrion writes: > Hello all, > > > The attached patch fixes a few minor problems in the gtk package. > > The treeModelFilterSetVisibleFunc function was accepting a "Maybe > (Tr

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-09 Thread Andy Stewart
Hi John, John Obbele writes: > Hi again ! > > On Sat, Oct 09, 2010 at 05:10:36PM +0200, Axel Simon wrote: >> Yes, that's the notion. mainGUI must be "__safe" because it will >> call back into Haskell land. Once a callback from the mainGUI thread >> is triggered and we're in Haskell land again, G

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-09 Thread Andy Stewart
John Obbele writes: > Hi Andy, > > On Sat, Oct 09, 2010 at 05:06:57PM +0800, Andy Stewart wrote: >> just need figure out why it can't work when disable "-thread" flag. > > Hum ... got some sleep and I've re-read the GHC documentation on > [0]. They say

Re: [Gtk2hs-devel] [#1202] GObject ref, sink and Pixbuf

2010-10-09 Thread Andy Stewart
Hi John, John Obbele writes: > Good evening ! > > Following my previous thread on xfconf and GObject management, > I've looked at the Pixbuf memory leak (bug #1202). > > (...some darcs, ghc-pkg unregister and cabal install later ...) > > Simply replacing constructNewGObject in the pixbuf functio

Re: [Gtk2hs-devel] move Gtk2HsSetup.hs to gtk2hs-buildtools

2010-10-02 Thread Andy Stewart
Hi Jens, Jens Petersen writes: > I suggest moving Gtk2HsSetup.hs into a library, it could be part > of gtk2hs-buildtools perhaps. How about it? It can't work. Because we need Gtk2HsSetup.hs generate Signals.chs and Types.chs *before* any cabal depend check. -- Andy ---

[Gtk2hs-devel] Upgrade to darcs-2 format.

2010-09-30 Thread Andy Stewart
Hi Axel, Since all patches have push to gtk2hs main repository, i suggest we upgrade gtk2hs main repo to darcs-2 format for better performance. Cheers, -- Andy -- Start uncovering the many advantages of virtual appli

Re: [Gtk2hs-devel] Print understandable information when user don't install gtk2hs-buildtools

2010-09-22 Thread Andy Stewart
Hi Axel, I have push new patches fix this problem. If it's okay, i will replace Setup.hs and Gtk2HsSteup.hs in all gtk-base packages. Cheers, -- Andy Axel Simon writes: > Hi Andy, > > On Sep 15, 2010, at 4:30, Andy Stewart wrote: > >> Hi Axel, >> >> Have

Re: [Gtk2hs-devel] Print understandable information when user don't install gtk2hs-buildtools

2010-09-15 Thread Andy Stewart
Hi Axel, Axel Simon writes: > Hi Andy, > > On Sep 15, 2010, at 4:30, Andy Stewart wrote: > >> Hi Axel, >> >> Have many people at #haskell ask me why 'gtk' package can't install >> successful. >> At last, i found they're not install

[Gtk2hs-devel] Print understandable information when user don't install gtk2hs-buildtools

2010-09-14 Thread Andy Stewart
Hi Axel, Have many people at #haskell ask me why 'gtk' package can't install successful. At last, i found they're not install gtk2hs-buildtools. Most people won't read gtk2hs manual, just do "cabal install gtk" and expect everything fine, and *many* people just think below error is fault of 'gtk'

Re: [Gtk2hs-devel] gtk-0.11.2 needs glib-0.11.2 to build

2010-09-13 Thread Andy Stewart
Hi Jens, Jens Petersen writes: > Hi > > Hardly worth using a patch but gtk-0.11.2 seems > to require glib-0.11.2 to build for maybePeekUTFString. I have apply this patch to avoid build failed. maybePeekUTFString is new add for support 'webkit' package. Though `gtk' haven't any function use may

Re: [Gtk2hs-devel] gtk and opengl

2010-08-19 Thread Andy Stewart
eros olmi writes: > hello > i have installed gtk for Haskell Platform 2010.2 on windows xp, it is working > okay, now i want to > use gtk with opengl , it > is said that i must install gtk2hs with --enable-opengl flag, but how to do > that for ms windows ? > "cabal install gtk > --enable-opengl

[Gtk2hs-devel] Merge gio-branch code to gtk2hs main repository.

2010-08-15 Thread Andy Stewart
Hi Axel, I request merge gio-branch code to gtk2hs main repository now. Below are changelogs: * New modules: System.GIO.File.AppInfo.chs System.GIO.File.ContentType.chs System.GIO.File.FileEnumerator.chs System.GIO.File.FileInfo.chs System.GIO.File.FileMonitor.chs System.GIO.File.IO

Re: [Gtk2hs-devel] Update gtksourceview to newest version (2.10.4) !

2010-08-08 Thread Andy Stewart
Andy Stewart writes: > Dear gtk2hs developers, > > I'm updating gtksourceview to newest version > (http://library.gnome.org/devel/gtksourceview/2.10/) > > Inlcude miss API and documentation. > > Now i have finish GtkSourceBuffer.hs, i'm updating rest modules

Re: [Gtk2hs-devel] Update gtksourceview to newest version (2.10.4) !

2010-08-07 Thread Andy Stewart
Andy Stewart writes: > Dear gtk2hs developers, > > I'm updating gtksourceview to newest version > (http://library.gnome.org/devel/gtksourceview/2.10/) > > Inlcude miss API and documentation. > > Now i have finish GtkSourceBuffer.hs, i'm updating rest modules.

[Gtk2hs-devel] Update gtksourceview to newest version (2.10.4) !

2010-08-07 Thread Andy Stewart
Dear gtk2hs developers, I'm updating gtksourceview to newest version (http://library.gnome.org/devel/gtksourceview/2.10/) Inlcude miss API and documentation. Now i have finish GtkSourceBuffer.hs, i'm updating rest modules Please let me know if have any error in patch. Thanks, -- Andy

Re: [Gtk2hs-devel] Darcs version drawableGetID is fine on Win32 (as far as I can see)

2010-07-31 Thread Andy Stewart
Hi Hamish, Thanks for your help! :) Cheers, -- Andy Hamish Mackenzie writes: > GDK supports two different types of native window ID, pointers and ints > (GDK_NATIVE_WINDOW_POINTER > indicates if pointers are used). On windows the closest thing to a X11 > window ID a HWND is a void > *, s

Re: [Gtk2hs-devel] Darcs version drawableGetID is fine on Win32 (as far as I can see)

2010-07-31 Thread Andy Stewart
Hi Hamish, Hamish Mackenzie writes: > GDK supports two different types of native window ID, pointers and ints > (GDK_NATIVE_WINDOW_POINTER > indicates if pointers are used). On windows the closest thing to a X11 > window ID a HWND is a void > *, so GDK used a pointer (yes windows have IDs too

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1124 should close

2010-07-16 Thread Andy Stewart
Hi Axel, http://hackage.haskell.org/trac/gtk2hs/ticket/1124 should close. Below is source code by reporter --> source code start <-- import Graphics.UI.Gtk main = do unsafeInitGUIForThreadedRTS -- runhaskell w <- windowNew w `onDelete`

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1181 should close

2010-07-16 Thread Andy Stewart
Hi Axel, I think http://hackage.haskell.org/trac/gtk2hs/ticket/1181 should close, It's looks not like the gtk2hs problem. Cheers, -- Andy -- This SF.net email is sponsored by Sprint What will you do first with EVO

[Gtk2hs-devel] darcs patch: Add gdk_get_default_root_window (Fixed ticket 1118)

2010-07-16 Thread Andy Stewart
1 patch for repository andystew...@code.haskell.org:/srv/code/gtk2hs: Sat Jul 17 00:07:50 CST 2010 Andy Stewart * Add gdk_get_default_root_window (Fixed ticket 1118) New patches: [Add gdk_get_default_root_window (Fixed ticket 1118) Andy Stewart **20100716160750 Ignore-this

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1113 should close

2010-07-16 Thread Andy Stewart
http://hackage.haskell.org/trac/gtk2hs/ticket/1113 should close I think gtk2hs-0.10.0 haven't this problem. Cheers, -- Andy -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G

Re: [Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1170 should close

2010-07-16 Thread Andy Stewart
Axel Simon writes: > Well, I suppose you simply removed the comment, right? We should probably > have an example there... Demo under gtkglext is not enough? -- Andy > > On 16.07.2010, at 17:15, Andy Stewart wrote: > >> Hi Axel, >> >> http://hackage.haskell.o

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1177 should close

2010-07-16 Thread Andy Stewart
http://hackage.haskell.org/trac/gtk2hs/ticket/1177 should close same as #1168 Cheers, -- Andy -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first --

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1168 should close

2010-07-16 Thread Andy Stewart
Hi Axel, http://hackage.haskell.org/trac/gtk2hs/ticket/1168 should close Mozilla package has departed, use WebKit instead. Cheers, -- Andy -- This SF.net email is sponsored by Sprint What will you do first with EVO,

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1170 should close

2010-07-16 Thread Andy Stewart
Hi Axel, http://hackage.haskell.org/trac/gtk2hs/ticket/1170 should close. I have fix docs. Cheers, -- Andy -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprin

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1172 strangle behaviour.

2010-07-16 Thread Andy Stewart
Hi Axel, I'm check http://hackage.haskell.org/trac/gtk2hs/ticket/1172 Report said --> report start <-- When I press the "Close" button in the opengl gtk2hs demo, the window stays up, and control returns to ghci. I fixed my own copy by changi

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1176 should close

2010-07-16 Thread Andy Stewart
Hi Axel, http://hackage.haskell.org/trac/gtk2hs/ticket/1176 should close There has gnome-keyring package that finish by "John Millikin" http://hackage.haskell.org/package/gnome-keyring Cheers, -- Andy -- This SF.net

Re: [Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1190 should close

2010-07-16 Thread Andy Stewart
Axel Simon writes: > On 16.07.2010, at 15:50, Andy Stewart wrote: > >> Hi Axel, >> >> http://hackage.haskell.org/trac/gtk2hs/ticket/1190 should close, it >> has >> fix. >> > > What was the problem here? How did we fix this? Ah, you forgot? :) W

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/1190 should close

2010-07-16 Thread Andy Stewart
Hi Axel, http://hackage.haskell.org/trac/gtk2hs/ticket/1190 should close, it has fix. Cheers, -- Andy -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/

[Gtk2hs-devel] http://hackage.haskell.org/trac/gtk2hs/ticket/801 should close.

2010-07-16 Thread Andy Stewart
Hi Axel, http://hackage.haskell.org/trac/gtk2hs/ticket/801 should close, This ticket will break API. It's easy to write alias function to swap argument of timeoutAdd. Cheers, -- Andy -- This SF.net email is sponsor

[Gtk2hs-devel] Use textBufferSetTextWithByteString read *huge* file.

2010-07-07 Thread Andy Stewart
name than textBufferSetTextWithByteString ? :) Cheers, -- Andy 1 patch for repository andystew...@patch-tag.com:/r/AndyStewart/gtk2hs-sync-mirror: Wed Jul 7 21:45:09 CST 2010 Andy Stewart * Add textBufferSetTextWithByteString to read content from huge file. When i use textBufferSetText

Re: [Gtk2hs-devel] Question about binding gtk_main_do_event

2010-07-05 Thread Andy Stewart
: > >[(findWindow, replaceWindow), > (findString, replaceString)] > > where findString always returns Just str where str is the pointed-to > string. The type of the replace functions would have to be similar to > the 'with' function to get th

Re: [Gtk2hs-devel] Question about binding gtk_main_do_event

2010-07-04 Thread Andy Stewart
Hi Axel, Axel Simon writes: > Hi Andy, > > On Jul 4, 2010, at 16:20, Andy Stewart wrote: >>> >>> pokeSerializedEventKey ptr (SerializedEvent >>> (SerializedEventKeyValue >>> { >>> [..] >>> ,sEventString = string_ >>> }) win

Re: [Gtk2hs-devel] Question about binding gtk_main_do_event

2010-07-04 Thread Andy Stewart
oot :: Double ,sEventYRoot :: Double} deriving (Show, Read, Eq, Ord) --> new version end <-- Thank you for correcting my mistake! You can find new version at https://patch-tag.com/r/AndyStewart/gtk-serialized-eve

[Gtk2hs-devel] darcs patch: Add mainDoEvent. (and 2 more)

2010-07-03 Thread Andy Stewart
3 patches for repository andystew...@patch-tag.com:/r/AndyStewart/gtk2hs-sync-mirror: Thu Jul 1 11:08:36 CST 2010 Andy Stewart * Add mainDoEvent. Fri Jul 2 22:30:22 CST 2010 Andy Stewart * Add widgetEvent. Fri Jul 2 23:12:08 CST 2010 Andy Stewart * Add propagateEvent New

[Gtk2hs-devel] New patch to add mainDoEvent, widgetEvent, propagateEvent

2010-07-03 Thread Andy Stewart
agateEvent, please review it. Cheers, -- Andy 3 patches for repository andystew...@patch-tag.com:/r/AndyStewart/gtk2hs-sync-mirror: Thu Jul 1 11:08:36 CST 2010 Andy Stewart * Add mainDoEvent. Fri Jul 2 22:30:22 CST 2010 Andy Stewart * Add widgetEvent. Fri Jul 2 23:12:08 CST 2010 An

Re: [Gtk2hs-devel] Question about binding gtk_main_do_event

2010-07-03 Thread Andy Stewart
Hi Axel, Axel Simon writes: > On 30.06.2010, at 17:34, Andy Stewart wrote: >>>> >>>> So my question is how to binding gtk_main_do_event ? >>>> Looks I should use Graphics.UI.Gtk.Gdk.Events.Event and not EventM. >>>> >>> >>>

Re: [Gtk2hs-devel] Question about binding gtk_main_do_event

2010-06-30 Thread Andy Stewart
Hi Axel, Axel Simon writes: > Hi Andy, > > On 30.06.2010, at 06:12, Andy Stewart wrote: > >> Hi Axel, >> >> I have multi-processese framework like Google Chrome, below is >> screenshot: >> >> http://farm5.static.flickr.com/4137/4747331678_

Re: [Gtk2hs-devel] Question about binding gtk_main_do_event

2010-06-30 Thread Andy Stewart
Axel Simon writes: > Hi Andy, > > On 30.06.2010, at 06:12, Andy Stewart wrote: > >> Hi Axel, >> >> I have multi-processese framework like Google Chrome, below is screenshot: >> >> http://farm5.static.flickr.com/4137/4747331678_441d6eb8ec_b.jpg >

[Gtk2hs-devel] Question about binding gtk_main_do_event

2010-06-29 Thread Andy Stewart
Hi Axel, I have multi-processese framework like Google Chrome, below is screenshot: http://farm5.static.flickr.com/4137/4747331678_441d6eb8ec_b.jpg UI is is render in parent processes with GtkSocket, so all keyPress event is handle by parent top-level window, i will send key DBus message to chil

Re: [Gtk2hs-devel] darcs patch: Use traceShow replace error provide safer fromUTF.

2010-06-29 Thread Andy Stewart
Axel Simon writes: > On 29.06.2010, at 10:14, Andy Stewart wrote: > >> Axel Simon writes: >> >>> Hi Andy, >>> >>> I don't think this behaviour is always desirable for all applications. >>> Some applications might prefer to catch a

Re: [Gtk2hs-devel] darcs patch: Use traceShow replace error provide safer fromUTF.

2010-06-29 Thread Andy Stewart
t; ++ str ++ " has illegal three byte sequence!") err str = error ("fromUTF: " ++ str ++ " has illegal UTF-8 character!") ----------> new fromUTF end <-- What do you think? -- Andy > > Cheers,

Re: [Gtk2hs-devel] darcs patch: Use traceShow replace error provide safer fromUTF.

2010-06-29 Thread Andy Stewart
g encoding. 2) Then use g_convert functoin convert input string to UTF8 (http://library.gnome.org/devel/glib/stable/glib-Character-Set-Conversion.html) Then we can convert all character-set to UTF8, it's very useful for gtk2hs editor/file-manager. Cheers, -- Andy > > Cheers

[Gtk2hs-devel] darcs patch: Use traceShow replace error provide safer fromUTF.

2010-06-29 Thread Andy Stewart
1 patch for repository andystew...@code.haskell.org:/srv/code/gtk2hs: Tue Jun 29 14:32:43 CST 2010 Andy Stewart * Use traceShow replace error provide safer fromUTF. New patches: [Use traceShow replace error provide safer fromUTF. Andy Stewart **20100629063243 Ignore-this

[Gtk2hs-devel] When time release gtk2hs-0.11.1 ?

2010-06-24 Thread Andy Stewart
Hi Axel, When time release gtk2hs-0.11.1 ? Christian's bug fix now? I want merge gio-branch APIs to gtk2hs main branch after release gtk2hs-0.11.1 (https://patch-tag.com/r/AndyStewart/gio-branch/home) Then gtk2hs user can use gio APIs in gtk2hs-0.11.2 Also, i have file-manager project, i want

Re: [Gtk2hs-devel] darcs patch: Fix conflict with gtk-- dlls on Windows

2010-06-12 Thread Andy Stewart
ot;.dll") . takeExtension) . concat <$> > mapM getDirectoryContents dirs > > +isSuitableDLL :: String -> String -> Bool > +isSuitableDLL name file = > +case stripPrefix ("lib"++name) file of > + Just (x:_) | not (isAlpha x) -> True

[Gtk2hs-devel] hierarchy.list update finish.

2010-06-04 Thread Andy Stewart
Hi Axel, I have add hierarchy.list in each individual package. Now user don't need reinstall gtk2hs-buildtools after we add new type hierarchy.list . Below is patch for http://www2.in.tum.de/~simona/gnomevfs/ please apply it. gnomevfs-patch.txt.tar.gz Description: Binary data Cheers, --

[Gtk2hs-devel] Move Gtk2HsSetup.hs to gtk2hs-buildtools.

2010-06-02 Thread Andy Stewart
Hi Axel, Currently, Gtk2HsSetup.hs is copy at every package, it's hard to maintain when Gtk2HsSetup.hs have bug. Can we move Gtk2HsSetup.hs to package gtk2hs-buildtools? Then we just need fix gtk2hs-buildtools when have bug in Gtk2HsSetup.hs Because gtk2hs-buildtools export library Gtk2HsSetup,

Re: [Gtk2hs-devel] darcs patch: Add IconView support functions for Tooltip.chs (need h...

2010-06-01 Thread Andy Stewart
Hi Axel, I don't know how to handle iconViewGetTooltipContext, can you take a look? Thanks, -- Andy Andy Stewart writes: > 1 patch for repository andystew...@code.haskell.org:/srv/code/gtk2hs: > > Wed Jun 2 00:52:55 CST 2010 Andy Stewart > * Add IconView supp

[Gtk2hs-devel] darcs patch: Add MenuToolButton support functions for Tooltip.chs

2010-06-01 Thread Andy Stewart
1 patch for repository andystew...@code.haskell.org:/srv/code/gtk2hs: Wed Jun 2 00:58:57 CST 2010 Andy Stewart * Add MenuToolButton support functions for Tooltip.chs New patches: [Add MenuToolButton support functions for Tooltip.chs Andy Stewart **20100601165857 Ignore-this

[Gtk2hs-devel] darcs patch: Add IconView support functions for Tooltip.chs (need h...

2010-06-01 Thread Andy Stewart
1 patch for repository andystew...@code.haskell.org:/srv/code/gtk2hs: Wed Jun 2 00:52:55 CST 2010 Andy Stewart * Add IconView support functions for Tooltip.chs (need help with `iconViewGetTooltipContext`) New patches: [Add IconView support functions for Tooltip.chs (need help with

[Gtk2hs-devel] darcs patch: Add Tooltip.chs (The new module to replace Tooltips.chs)

2010-06-01 Thread Andy Stewart
1 patch for repository http://code.haskell.org/gtk2hs/: Tue Jun 1 21:18:28 CST 2010 Andy Stewart * Add Tooltip.chs (The new module to replace Tooltips.chs) New patches: [Add Tooltip.chs (The new module to replace Tooltips.chs) Andy Stewart **20100601131828 Ignore-this

[Gtk2hs-devel] darcs patch: Add Widget support functions for Tooltip.chs

2010-06-01 Thread Andy Stewart
1 patch for repository http://code.haskell.org/gtk2hs/: Tue Jun 1 22:03:04 CST 2010 Andy Stewart * Add Widget support functions for Tooltip.chs New patches: [Add Widget support functions for Tooltip.chs Andy Stewart **20100601140304 Ignore-this: 6b10098119f7a416d763c834bd892cae ] { hunk

Re: [Gtk2hs-devel] darcs patch: svgcairo.cabal: Use verb in Description.

2010-05-31 Thread Andy Stewart
Svgcairo used to render SVG with cairo. > +Description:Svgcairo is used to render SVG with cairo. > > Category: Graphics > Tested-With: GHC == 6.12.1 > > Context: > > [Fix license > Andy Stewart **20100527133810 > Ignore-this: 7ae6445

Re: [Gtk2hs-devel] gio 0.11.0

2010-05-27 Thread Andy Stewart
Hi Marco, Fixed it! Thank you very much! -- Andy Marco Túlio Gontijo e Silva writes: > Hi Andy. > > Excerpts from Andy Stewart's message of Qui Mai 27 07:13:51 -0300 2010: > (...) >> Marco Túlio Gontijo e Silva writes: >> > Also, the description of svgcairo is not correct: it's the descrip

Re: [Gtk2hs-devel] Failed installing gio (using cabal)

2010-05-27 Thread Andy Stewart
Hi Axel, Magicloud, Axel Simon writes: > Hi Andy, Magicloud, > > On 27.05.2010, at 10:20, Andy Stewart wrote: > >> Magicloud Magiclouds writes: >> >>> The gtk2hs-buildtools problem is resolved. So I could install gio >>> now. Thanks. &

Re: [Gtk2hs-devel] gio 0.11.0

2010-05-27 Thread Andy Stewart
Hi Marco, Marco Túlio Gontijo e Silva writes: > Excerpts from Marco Túlio Gontijo e Silva's message of Qua Mai 26 12:29:16 > -0300 2010: >> Hi Axel. >> >> Excerpts from Axel Simon's message of Qua Mai 26 12:21:59 -0300 2010: >> > Fixed, thanks. >> >> Great! There's the same problem in gconf,

Re: [Gtk2hs-devel] Failed installing gio (using cabal)

2010-05-27 Thread Andy Stewart
\con -> do let findImports acc (('{':'#':xs):xxs) = case (dropWhile ((==) ' ') xs) of ('i':'m':'p':'o':'r':'t':' ':ys) -> case simpleParse (takeWhile ((/=) '#'

Re: [Gtk2hs-devel] Failed installing gio (using cabal)

2010-05-26 Thread Andy Stewart
rhaps other package broken in your system. Cheers, -- Andy > > On Thu, May 27, 2010 at 1:55 PM, Andy Stewart > wrote: >> Axel Simon writes: >> >>> On May 27, 2010, at 4:51, Magicloud Magiclouds wrote: >>> >>>> Hi, when installing gtk, I g

[Gtk2hs-devel] New patches to add demo in distribution package

2010-05-26 Thread Andy Stewart
Hi Axel, I have push new patches to fix demo problem in gtk2hs repo. I also fix below packages (include license, description, demo) gconf glade gstreamer gtkglext gtksourceview soegtk svgcairo vte webkit I will push those patches when hackage permission fix.

Re: [Gtk2hs-devel] Failed installing gio (using cabal)

2010-05-26 Thread Andy Stewart
Axel Simon writes: > On May 27, 2010, at 4:51, Magicloud Magiclouds wrote: > >> Hi, when installing gtk, I got this >> Configuring gio-0.11.0... >> setup: gtk2hsHookGenerator: shal.list: openFile: does not exist (No >> such file or directory) >> What should I do? Thanks. > > Have you moved your .

Re: [Gtk2hs-devel] gio 0.11.0

2010-05-26 Thread Andy Stewart
mbed" from gtk2hs repo. What do you think? Cheers, -- Andy > > Cheers, > Axel > > On May 27, 2010, at 5:52, Andy Stewart wrote: > >> Axel Simon writes: >> >> Hi Axel, >> >>> Hi Andy, >>> >>> I've converted the au

Re: [Gtk2hs-devel] gio 0.11.0

2010-05-26 Thread Andy Stewart
> push error start <-- a...@ubuntu:~/gtk2hs-cabal/gconf$ darcs push andystew...@code.haskell.org:/srv/code/gconf Thu May 27 11:45:44 CST 2010 Andy Stewart * Fix the license of gconf Shall I push this patch? (1/1) [ynWsfvplxdaqjk], or ? for help: y darcs: takeLock /srv/code/gc

Re: [Gtk2hs-devel] Failed installing gio (using cabal)

2010-05-26 Thread Andy Stewart
Hi Magicloud, Magicloud Magiclouds writes: > Hi, when installing gtk, I got this > Configuring gio-0.11.0... > setup: gtk2hsHookGenerator: shal.list: openFile: does not exist (No > such file or directory) > What should I do? Thanks. This is bug of old gtk2hs-buildtools. Please use "cabal instal

[Gtk2hs-devel] Convert all non-core repository to darcs-2 format?

2010-05-25 Thread Andy Stewart
Hi Axel, I try to build mirror repository for gtk2hs-dependent packages at patch-tag.com, patch-tag.com have "clone url" feature that will synchronous other repository automatically, and this feature just support darcs-2 repository. I found all non-core repository at code.haskell.org is darcs-has

Re: [Gtk2hs-devel] congrats on Hackage!

2010-05-25 Thread Andy Stewart
Axel Simon writes: > Hi Daniel, > > On May 25, 2010, at 18:10, wagne...@seas.upenn.edu wrote: > >> This is awesome, congratulations! >> >> Quick suggestion: maybe some of the packages should add >> gtk2hs-buildtools to the dependency list? >> http://www.reddit.com/r/haskell/comments/c7uh3/gtk2hs_

Re: [Gtk2hs-devel] Forgot demo directory in distribution package!

2010-05-25 Thread Andy Stewart
Jens Petersen writes: >> We forgot modified .cabal file to add demo directory in distribution >> package! > > I think it can wait for the next update release. :) > > Wow fantastic to see all the 0.11 uploads to hackage!! Yes! New demo, bug fix, docs fix, any improvement are welcome. Let us buil

[Gtk2hs-devel] Forgot demo directory in distribution package!

2010-05-25 Thread Andy Stewart
Hi Axel, We forgot modified .cabal file to add demo directory in distribution package! -- Andy -- ___ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://l

  1   2   3   4   >