- 15 Dec, 2006 1 commit
-
-
Matthias Clasen authored
2006-12-14 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_child_watch_add_full): Improve the docs. (#345569, Tim-Philipp Müller)
-
- 12 Dec, 2006 1 commit
-
-
Matthias Clasen authored
2006-12-12 Matthias Clasen <mclasen@redhat.com> * configure.in: Add a check for broken poll on Mac OS X. * glib/gmain.c: Use poll emulation on OS X. (#302672, Toby Peterson, patch by Dave Vasilevsky)
-
- 01 Oct, 2006 1 commit
-
-
Matthias Clasen authored
2006-10-01 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c: Fix typos in doc comments. (#358421, Tom Tromey)
-
- 10 Sep, 2006 1 commit
-
-
Matthias Clasen authored
-
- 16 Aug, 2006 1 commit
-
-
Matthias Clasen authored
2006-08-15 Matthias Clasen <mclasen@redhat.com> * glib/gbookmarkfile.c (g_bookmark_file_get_groups): * glib/gmain.c (g_source_is_destroyed): Add Since tags. * glib/gkeyfile.c (g_key_file_get_double_list): Fix Since tag. (#351583, Brian Cameron)
-
- 05 Jun, 2006 2 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
2006-06-05 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (get_dispatch): Don't leak the dispatch struct. (#321886)
-
- 02 Jun, 2006 3 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
2006-06-01 Matthias Clasen <mclasen@redhat.com> * glib/glib.symbols: * glib/gmain.h: * glib/gmain.c: Add two new functions, g_source_set_funcs and g_source_is_destroyed, that will be necessary to solve thread-safety issues with idles in GTK+. (#321886, Chris Wilson)
-
- 10 May, 2006 1 commit
-
-
Sebastian Wilhelmi authored
2006-05-09 Sebastian Wilhelmi <wilhelmi@google.com> * glib/gthreadinit.h: Renamed to glib/gthreadprivate.h and moved system thread identifier comparision and assignment macros from glib/gthread.c to glib/gthreadprivate.h. * glib/Makefile.am, glib/gatomic.c, glib/gconvert.c, glib/gmain.c, glib/gmem.c, glib/gmessages.c, glib/grand.c, glib/gslice.c, glib/gthread.c, glib/gutils.c, gthread/gthread-impl.c: Use glib/gthreadprivate.h instead of glib/gthreadinit.h. * gthread/gthread-impl.c: Use GSystemThread instead of GThread for owner determination. This fixes #311043 and is mostly modeled after the patch from jylefort@FreeBSD.org.
-
- 20 Mar, 2006 1 commit
-
-
Matthias Clasen authored
2006-03-20 Matthias Clasen <mclasen@redhat.com> * glib/gmem.c (profiler_log): use standard_calloc to allocate the profile_data. (#335209, Chris Wilson) * glib/gmain.c (g_main_context_unref): Avoid a deadlock. (#335207, Chris Wilson) Minor optimizations (#335216, Chris Wilson): * glib/gasyncqueue.c (g_async_queue_pop_intern_unlocked): Use g_queue_peek_tail_link instead of g_queue_peek_tail. * glib/glist.c: * glib/gslist.c: Avoid some memset calls.
-
- 05 Jan, 2006 1 commit
-
-
Matthias Clasen authored
2006-01-05 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c: Clarify the documentation of source ids a bit. (#325874, Dan Williams)
-
- 03 Jan, 2006 2 commits
-
-
Matthias Clasen authored
-
Michael Meeks authored
2005-12-20 Michael Meeks <michael.meeks@novell.com> * glib/gmain.c (g_main_context_is_owner): new method to determine if the current thread is the owner of the context.
-
- 05 Dec, 2005 1 commit
-
-
Tim Janik authored
Mon Dec 5 15:53:20 2005 Tim Janik <timj@imendio.com> * glib/gslice.c: implement chain walking for arbitrary ->next pointer offsets in g_slice_free_chain_with_offset() based on a patch by behdad in bug 323178. moved time consuming logic from g_slice_free() out of the inner loop, so g_slice_free_chain_with_offset() provides a real performance benefit over g_slice_free1() now. * glib/gslice.h: renamed g_slice_free_chain() to g_slice_free_chain_with_offset(). implemented g_slice_free_chain() as a type-safe macro as suggested in bug 323178. simplified the macro implementation of g_slice_free() and implemented it in a type safe manner for all compliers as suggested by Morten Welinder <mortenw@gnome.org>. * glib/gmain.c: * glib/glist.c: * glib/gslist.c: * glib/glib.symbols: s/g_slice_free_chain/g_slice_free_chain_with_offset/
-
- 07 Nov, 2005 1 commit
-
-
Matthias Clasen authored
2005-11-07 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref while holding the context lock. (#320886, Andy Wingo)
-
- 04 Nov, 2005 1 commit
-
-
Matthias Clasen authored
2005-11-04 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_child_watch_source_new): Expand the docs. (#320466, Steffen Gutmann)
-
- 01 Nov, 2005 1 commit
-
-
Tim Janik authored
Tue Nov 1 16:24:20 2005 Tim Janik <timj@imendio.com> * glib/gmem.[hc]: prepared deprecation of GMemChunk and GAllocator. added g_slice_*() API to allocate and cache small bits of memory. an actuall allocator implementation for g_slice_*() is still pending. * glib/gthread.[hc]: changes from a patch by Matthias Clasen. changed GRealThread list to use in-structure *next; fields instead of GSList, in order for thread iteration to not depenend on g_slice_*() indirectly. _g_thread_mem_private_get(): _g_thread_mem_private_set(): added accessors for private memory, needed because the ordinary GPrivate implementation relies on GArray and GSList and therefore indirectly on working g_slice_*() allocations. * glib/gthread.[hc]: g_thread_foreach(): new public API function to loop over all existing threads. * glib/gdataset.c: * glib/gstring.c: * glib/gcache.c: * glib/garray.c: * glib/gqueue.c: * glib/gslist.c: * glib/glist.c: * glib/ghash.c: * glib/gtree.c: * glib/ghook.c: * glib/gmain.c: * glib/gnode.c: removed GAllocator and free list usages and accompanying locks. use g_slice_*() API to allocate and cache small bits of memory. * glib/ghook.h: removed GMemChunk field from public API. * glib/gslist.h: * glib/glist.h: deprecate allocator API, provide _free1() for consistency. * glib/gnode.h: deprecate allocator API. * glib/gmain.c: reordered GPollRec fields so g_slice_free_chain() can be used for poll rec lists. * glib/grel.c: removed mem chunk usage, and allocated tuples via g_slice_*(). g_relation_destroy(): free all tuples from the all_tuples hash table, this effectively maintains the life time track keeping of tuples. g_relation_delete_tuple(): free tuples which are removed from the all_tuples hash table. this fixes a temporary leak that was present in the memchunk code until the destruction of the relation.
-
- 11 Sep, 2005 1 commit
-
-
Kjartan Maraas authored
2005-09-11 Kjartan Maraas <kmaraas@gnome.org> * glib/gmain.c: (g_child_watch_prepare), (g_child_watch_check), (child_watch_helper_thread): Remove some dead code. Closes bug #315278.
-
- 30 Jun, 2005 1 commit
-
-
Matthias Clasen authored
2005-06-30 Matthias Clasen <mclasen@redhat.com> Apply a patch which may make GLib work on BeOS again. (#309157, Kian Duffy) * glib/gmain.c: Update the BeOS includes. * glib/gstdio.c: * glib/gutils.c (g_find_program_in_path): * glib/gbacktrace.c (g_on_error_stack_trace): Use the UNIX implementation on BeOS, as well. * configure.in: Don't put glib 1.0 into G_MODULE_LIBS, even on BeOS.
-
- 01 Apr, 2005 1 commit
-
-
Matthias Clasen authored
2005-04-01 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_child_watch_source_new): Add a note regarding waitpid(-1). (g_child_watch_source_init_multi_threaded): (g_child_watch_source_init_single): Don't use SA_RESTART, since it causes problems on at least one platform. (#168352)
-
- 29 Mar, 2005 2 commits
-
-
Tor Lillqvist authored
2005-03-29 Tor Lillqvist <tml@novell.com> * glib/gmain.c (g_get_current_time): [Win32] Use GetSystemTimeAsFileTime() instead of time() and GetTickCount(). Much simpler.
-
Tor Lillqvist authored
2005-03-29 Tor Lillqvist <tml@novell.com> * glib/gmain.c (g_poll): If the event fired, assign f->revents=f->events. We can't know whether the upper layer using the event actually is readable, writeable or what, so say that all the conditions hold. Remove the ResetEvent() call that has been ifdeffed out anyway for a long time. Remove an "#ifdef 1" and #endif pair of lines, that code is not optional.
-
- 14 Mar, 2005 1 commit
-
-
Matthias Clasen authored
2005-03-13 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in galias.h: * glib/glib.symbols: Group symbols by header and source file. * glib/makegalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegalias.pl -def * glib/Makefile.am (galiasdef.c): Add a rule to generate this file. * glib/*.c: Include galias.h after the other GLib headers, include galiasdef.c at the bottom.
-
- 08 Nov, 2004 3 commits
-
-
Manish Singh authored
Mon Nov 8 10:45:50 2004 Manish Singh <yosh@gimp.org> * glib/gasyncqueue.c * glib/ghook.c * glib/giochannel.c: g_return_if_fail -> g_return_val_if_fail * glib/gmain.c: Ditto, plus also make g_main_context_ref() actually return the passed in pointer.
-
Matthias Clasen authored
2004-11-08 Matthias Clasen <mclasen@redhat.com> * glib/gasyncqueue.[hc]: * glib/ghook.[hc]: * glib/gmain.[hc]: * glib/giochannel.[hc]: Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(), g_async_queue_ref() return the passed in pointer. (#151663, Manish Singh)
-
Matthias Clasen authored
2004-11-08 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c: Initialize child_watch_count to 1, so that we don't miss the very first child if it exits before we set up the child watch. In that case we had previously source->count == child_watch_count == 0, causing g_child_watch_check() to skip the waitpid() call. (#154827, Gustavo Carneiro) * glib/gmain.c (g_child_watch_source_init_single) (g_child_watch_source_init_multi_threaded): Use sigaction() instead of signal(). (#136867, Jonas Jonsson, patch by Archana Shah)
-
- 24 Oct, 2004 1 commit
-
-
Matthias Clasen authored
2004-10-23 Matthias Clasen <mclasen@redhat.com> * glib/gasyncqueue.c, glib/gatomic.c, glib/gdate.c, glib/giochannel.c, glib/gmain.c, glib/gspawn.c, glib/libcharset/localcharset.c: Apply a patch to fix sparse warnings. (#154696, Kjartan Maraas)
-
- 08 Oct, 2004 1 commit
-
-
Matthias Clasen authored
2004-10-08 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_child_watch_add_full): * glib/gmain.c (g_child_watch_add): Document that GLib supports only a single callback per pid. (#154828, Gustavo Carneiro)
-
- 16 Sep, 2004 1 commit
-
-
Matthias Clasen authored
Thu Sep 16 02:03:15 2004 Matthias Clasen <maclas@gmx.de> Implement the same PLT reduction technique used in GTK+:
-
- 10 May, 2004 1 commit
-
-
Matthias Clasen authored
2004-05-10 Matthias Clasen <mclasen@redhat.com> Merge from 2.4: * glib/gmain.c (block_source, unblock_source): Make these static. (#142230, Morten Welinder)
-
- 22 Apr, 2004 1 commit
-
-
Matthias Clasen authored
2004-04-22 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_main_context_query): Only set time_is_current to FALSE if context->timeout is not zero. (#137795, Christian Krause)
-
- 10 Apr, 2004 1 commit
-
-
Tor Lillqvist authored
2004-04-10 Tor Lillqvist <tml@iki.fi> * glib/giowin32.c * glib/gmain.c * glib/gstrfuncs.c * glib/gthread.c: Decorating variable definitions with __declspec(dllexport) causes problems on Cygwin build, and isn't really needed for a native Win32 build with mingw or MSVC, so remove. (#138402, Roger Leigh) * glib/libcharset/localcharset.c: Use Win32-specific code also on Cygwin. * tests/uri-test.c: Don't assume that local filenames are in UTF-8 on Cygwin, either. (#138412, Roger Leigh)
-
- 19 Mar, 2004 1 commit
-
-
Owen Taylor authored
Fri Mar 19 15:21:09 2004 Owen Taylor <otaylor@redhat.com> * glib/gmain.c: Fix the accidental revert of the fixes from #112222 that happened when the GChildWatch code was added.
-
- 14 Mar, 2004 1 commit
-
-
Owen Taylor authored
Sun Mar 14 12:58:30 2004 Owen Taylor <otaylor@redhat.com> * glib/gmain.c: if _POLL_EMUL_H is defined, undefine HAVE_POLL to prefer our own poll() emulation to the lame OS/X one. (#136956, Manish Singh)
-
- 11 Mar, 2004 1 commit
-
-
Matthias Clasen authored
Thu Mar 11 02:05:13 2004 Matthias Clasen <maclas@gmx.de> * glib/gmain.c (g_main_depth): Remove an extra semicolon. Spotted by Kjartan Maraas.
-
- 04 Mar, 2004 1 commit
-
-
Sebastian Wilhelmi authored
2004-03-04 Sebastian Wilhelmi <seppi@seppi.de> * glib/gmain.c: Use the atomic integer operations for GMainContext and GMainLoop reference counting. * glib/gmain.c: Hold the main_context_list lock, when iterating the list. Only call g_main_context_wakeup for positive reference count.
-
- 02 Mar, 2004 1 commit
-
-
Owen Taylor authored
Mon Mar 1 16:49:51 2004 Owen Taylor <otaylor@redhat.com> * === Released 2.3.5 === * configure.in: Version 2.3.5, interface ago 0. * NEWS: Some further updates.
-
- 01 Mar, 2004 1 commit
-
-
Owen Taylor authored
Mon Mar 1 15:49:09 2004 Owen Taylor <otaylor@redhat.com> * glib/gmain.c (check_for_child_exited): Don't call waitpid() on a source that has already exited. * glib/gmain.c (g_child_watch_check): Return TRUE only if the child actually exited.
-