Re: Should we drop XP?

2015-04-01 Thread LRN
ugh) >>> https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-glib2/0027-no_sys_if_nametoindex.patch >>> >>> >>> and afaik fan or lrn had some ideas to improve some parts of the code >>> once xp is dropped >> >> Sounds like its time to

Re: GDK_KP_Decimal (on Windows)

2015-05-04 Thread LRN
On 01.05.2015 14:35, Matthias Clasen wrote: > On Thu, Apr 30, 2015 at 2:37 AM, John Emmas wrote: >> Thanks. Here's a patch produced by one of my colleagues:- >> >> --- a/gdk/win32/gdkkeys-win32.c 2015-04-29 16:33:41.545406159 +0200 >> +++ b/gdk/win32/gdkkeys-win32.c 2015-04-29 16:35:16.821576820 +

Re: Problem with 'gio/gwin32appinfo.c'

2015-06-15 Thread LRN
On 15.06.2015 19:57, John Emmas wrote: > Just querying a new MSVC build problem after updating today from git > master. This is a different issue from the one I reported earlier with > 'read_resource_string()' > > 'gio/gwin32appinfo.c' used to contain the following 4 x functions:- > >g

Re: Problem with 'gio/gwin32appinfo.c'

2015-06-24 Thread LRN
On 24.06.2015 13:02, Emmanuele Bassi wrote: > Hi; > > On 24 June 2015 at 10:46, John Emmas wrote: > >> So what needs to happen here? Do the placeholder functions need to get put >> back? Or does somebody need to flag this up to the glibmm team so they can >> accommodate the change at their end

Re: Problem with 'gio/gwin32appinfo.c'

2015-06-24 Thread LRN
On 24.06.2015 16:16, John Emmas wrote: > On 24/06/2015 11:09, LRN wrote: >> >> Try this, please. >> >> > > Hi LRN and thanks for the patch. Just going back to my original email:- > > On 22/06/2015 16:29, John Emmas wrote: >> >> some of those f

Re: Problem with 'gio/gwin32appinfo.c'

2015-07-01 Thread LRN
On 01.07.2015 17:53, John Emmas wrote: > On 24/06/2015 14:52, John Emmas wrote: >> >> one way or another, 'g_app_info_reset_type_associations()' needs to >> get back into glib. >> > > Did that ever happen just out of interest? I'll be updating glib and > glibmm in the next day or two so it'd be

Re: Problem with 'gio/gwin32appinfo.c'

2015-07-02 Thread LRN
On 02.07.2015 12:17, John Emmas wrote: > On 01/07/2015 16:41, LRN wrote: >> On 01.07.2015 17:53, John Emmas wrote: >>> On 24/06/2015 14:52, John Emmas wrote: >>>> one way or another, 'g_app_info_reset_type_associations()' needs to >>>> get back

Re: Problem with 'gio/gwin32appinfo.c'

2015-07-02 Thread LRN
On 02.07.2015 14:02, John Emmas wrote: > On 02/07/2015 11:02, LRN wrote: > On 02/07/2015 11:02, LRN wrote: >> Alternatively, have one of the glib core maintainers to label this a >> release-critical regression that should be fixed by any means necessary >> > > On 02

Re: g_strdup_printf fails with VS2015 - snprintf doesn't support %n?

2015-10-10 Thread LRN
On 11.10.2015 7:00, Arnavion wrote: > Hi Fan, > > In your commit 53d487e31bc41cca9bca147e02e81b69e404fe07 to glib you > enabled glib to use VS2015's snprintf. Did you confirm it works? > > I'm updating our gtk-win32 repo to use glib 2.46.0 (from 2.44.1) and > ATK fails to build - it runs glib-gen

Window surface referencing

2016-03-09 Thread LRN
GDK does > window->current_paint.surface = gdk_window_ref_impl_surface (window); before every paint for windows that don't need offscreen surfaces, and then does > cairo_surface_destroy (window->current_paint.surface); > window->current_paint.surface = NULL; after the paint, which leads to surface

Re: Unknown symbol in 'gio/gresource.c'

2016-05-02 Thread LRN
On 02.05.2016 14:36, John Emmas wrote: > I just hit a problem when building from git master with MSVC (32-bit > build). > > 'S_ISDIR' is coming up as an unknown symbol. fanc, care to comment? -- O< ascii ribbon - stop html email! - www.asciiribbon.org signature.asc Description: OpenPGP d

Re: Unknown symbol in 'gio/gresource.c'

2016-05-04 Thread LRN
On 04.05.2016 13:25, Fan, Chun-wei wrote: > On 2016年5月2日 下午08:22, LRN wrote: >> On 02.05.2016 14:36, John Emmas wrote: >>> I just hit a problem when building from git master with MSVC (32-bit >>> build). >>> >>> 'S_ISDIR' is coming up as a

Re: Developing a new text editor widget?

2016-06-05 Thread LRN
On 05.06.2016 22:33, Christian Hergert wrote: > On 06/05/2016 10:35 AM, Sébastien Wilmet wrote: >> For source code, GtkTextView is really not that bad IMHO. Normally >> source code doesn't trigger the very long line problem (and even, this >> problem in GtkTextView is fixable by internal refactorin

Re: It is not possible to successfully compile glib2.48.1 on windows

2016-10-10 Thread LRN
On 22.08.2016 3:26, narcisse doudieu siewe wrote: > > I everybody, > > I try to compile glib.2.48.1 on windows using Msys2 > but the "make" step failed with some error on "libcherset" > as follows. > I would advise you to run it like this: $ LANG=en_US make &>somefile.log and then attach part

Re: Removal of embedded widgets in 4.x

2016-11-17 Thread LRN
On 17.11.2016 13:06, Alexander Larsson wrote: > On fre, 2016-11-11 at 11:41 +0800, fanc...@yahoo.com.tw wrote: >> In GTK+ git master embedded widgets were removed, along with the win32 >> and x variants. The thing is, gtkprintoperation-win32.c makes use of >> these items, which will then prevent

Re: gnulib license confirmation in glib2.0

2016-12-26 Thread LRN
On 26.12.2016 16:30, Leo Mar wrote: > I found GPLv3 header file in glib 2.48 > https://github.com/GNOME/glib/blob/master/glib/gnulib/verify.h This is a mistake made by the person who was the last to update vasnprintf module in glib. gnulib-tool has --lgpl=2 flag, which will substitute the license

Re: gdkwin32.h / gdk_win32_drawable_get_handle()

2017-01-22 Thread LRN
On 22.01.2017 13:29, John Emmas via gtk-devel-list wrote: > Is it permissiable to #include in client code? Here's the > scenario (I discovered this in gtk-2-24 so apologies if it's been fixed in a > more recent version...) > > 'gdk/gdkwin32.h' declares some functions, including > gdk_win32_drawa

Re: g_io_channel_win32_poll() Problem on Windows

2017-07-27 Thread LRN
On 7/27/2017 2:06 PM, Faik wrote: > arv_gv_discover_socket_list_send_discover_packet(socket_list); > > do{ > > #ifdef_WIN32 > > // g_io_channel_win32_make _pollfd() documentation says call this > > if(g_io_channel_win32_poll(socket_list->poll_fds,socket_list->n_sockets,ARV_GV_INTERFACE_DISCOVER

Re: g_io_channel_win32_poll() Problem on Windows

2017-07-28 Thread LRN
On 7/27/2017 2:56 PM, LRN wrote: > On 7/27/2017 2:06 PM, Faik wrote: > >> As you might guess, in  arv_gv_discover_socket_list_new() function,  GPollFDs >> are created and in _discover() function, a broadcast message is sent and then >>  polled for reply. but no luck, still

Re: g_io_channel_win32_poll() Problem on Windows

2017-07-28 Thread LRN
On 7/28/2017 3:08 PM, Paul Davis wrote: > > > On Fri, Jul 28, 2017 at 4:37 AM, LRN wrote: >> After trying this myself (for unrelated reasons), i found that *only* >> giochannel GSource does WSAEventSelect() on a socket event (in >> g_io_win32_prepare()) to bind it to

Re: g_io_channel_win32_poll() Problem on Windows

2017-08-02 Thread LRN
On 7/27/2017 1:51 PM, mualloc . wrote: > arv_gv_discover_socket_list_send_discover_packet(socket_list); > > > do{ > > #ifdef_WIN32 > > // g_io_channel_win32_make _pollfd() documentation says call this > > if(g_io_channel_win32_poll(socket_list->poll_fds,socket_list->n_sockets,ARV_GV_INTERFACE_

Re: g_io_channel_win32_poll() Problem on Windows

2017-08-02 Thread LRN
On 8/2/2017 7:37 PM, LRN wrote: > On 7/27/2017 1:51 PM, mualloc . wrote: >> arv_gv_discover_socket_list_send_discover_packet(socket_list); >> >> >> do{ >> >> #ifdef_WIN32 >> >> // g_io_channel_win32_make _pollfd() documentation says call this >

Re: Catalog of GObject-specific design patterns?

2017-08-10 Thread LRN
On 8/11/2017 5:16 AM, Arnaud wrote: > Hi Sébastien, > > thx for this post ! I'm a newby with GObject, and I'm always happy to > learn bits here and there. > > As for using the `g_object_set_data()` like you do, it's something I > always tried to stay away from, because it seems to me that everyth

DnD and the drag window

2017-08-14 Thread LRN
I'm working on W32 OLE2 DnD code, and i encountered some weird behaviour. There's a DnD going on, and it creates a popup window that moves along with the mouse cursor, that's how it usually goes with DnD. Problem is, that window is, technically, a toplevel, and thus it gets registered as a DnD ta

Re: DnD and the drag window

2017-08-14 Thread LRN
On 8/14/2017 11:38 AM, LRN wrote: > I'm working on W32 OLE2 DnD code, and i encountered some weird behaviour. > > There's a DnD going on, and it creates a popup window that moves along with > the > mouse cursor, that's how it usually goes with DnD. > > Proble

Re: FILE_NAME_INFO struct in 'glib/gmessages.c'

2017-09-15 Thread LRN
On 9/15/2017 3:44 PM, John Emmas wrote: > I just tried building Glib from git master (non-meson build at the moment). > > In 'config.h.win32.in' it looks like the value of _WIN32_WINNT got > increased to 0x601. This means that when building 'glib/gmessages.c' > the struct _FILE_NAME_INFO is no

Re: Problem accessing gtk-2-24

2018-03-23 Thread LRN
On 23.03.2018 11:08, John Emmas wrote: > Hi guys - has the gtk repo moved recently (or has the gtk-2-24 branch > been deleted somehow?) > > I still need gtk-2-24 for a project but all of a sudden if I try to > 'pull' (using TortoiseGit, on Windows) I see this error:- > >Connecting to gi

Re: g_stat() In src/glade3-3.8.5/gladeui/glade-utils.c At Line 1865 Causes SIGSEGV in strlen () from C:\Windows\System32\msvcrt.dll When Saving File

2018-05-22 Thread LRN
On 22.05.2018 15:02, gtk-devel-l...@talkvideo.net wrote: > When running: /mingw64/bin/glade-3.exe > > And I try to save a file, after selecting or entering a filename, and > clicking Save in the File Chooser Dialog, the program crashes, (segfaults), > and the file size is zero. I can reproduce

Re: g_stat() In src/glade3-3.8.5/gladeui/glade-utils.c At Line 1865 Causes SIGSEGV in strlen () from C:\Windows\System32\msvcrt.dll When Saving File

2018-05-22 Thread LRN
On 22.05.2018 19:03, John Ralls wrote: > > >> On May 22, 2018, at 7:27 AM, LRN wrote: >> >> On 22.05.2018 15:02, gtk-devel-l...@talkvideo.net wrote: >>> When running: /mingw64/bin/glade-3.exe >>> >>> And I try to save a file, after selecting or

Re: g_stat() In src/glade3-3.8.5/gladeui/glade-utils.c At Line 1865 Causes SIGSEGV in strlen () from C:\Windows\System32\msvcrt.dll When Saving File

2018-05-22 Thread LRN
On 22.05.2018 17:27, LRN wrote: > On 22.05.2018 15:02, gtk-devel-l...@talkvideo.net wrote: >> When running: /mingw64/bin/glade-3.exe >> >> And I try to save a file, after selecting or entering a filename, and >> clicking Save in the File Chooser Dialog, the program cr

Re: Discourse instance

2019-03-01 Thread LRN via gtk-devel-list
On 01.03.2019 18:41, Emmanuele Bassi via gtk-devel-list wrote: > Feedback is very much appreciated. > Need moar tags! signature.asc Description: OpenPGP digital signature ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org

Re: Discourse instance

2019-03-01 Thread LRN via gtk-devel-list
On 01.03.2019 20:17, Neil McGovern wrote: > On Fri, 2019-03-01 at 19:52 +0300, LRN via gtk-devel-list wrote: >> On 01.03.2019 18:41, Emmanuele Bassi via gtk-devel-list wrote: >>> Feedback is very much appreciated. >>> >> >> Need moar tags! >> > &g