1. 03 Jan, 1999 1 commit
  2. 02 Jan, 1999 5 commits
    • Jeff Garzik's avatar
      Added g_strdup_printf check · ab114d33
      Jeff Garzik authored
      ab114d33
    • Jeff Garzik's avatar
      Handle NULL strings like g_strdup. s/g_strconcat_a/g_strconcat3_a/ to · bbbfe78d
      Jeff Garzik authored
              * glib.h:
              (g_strdup_a, g_strndup_a): Handle NULL strings like g_strdup.
              s/g_strconcat_a/g_strconcat3_a/ to reflect fixed number of args
      
              * testglib.c:
              Added g_strdup, g_strconcat checks.
              Added str==NULL checks for alloca string macros.
              s/g_strconcat_a/g_strconcat3_a/
      bbbfe78d
    • Manish Singh's avatar
      made the alloca tests follow the testglib style · 3de4d2b7
      Manish Singh authored
      * testglib.c: made the alloca tests follow the testglib style
      
      * Makefile.am: minor cleanups, mostly cosmetic
      
      -Yosh
      3de4d2b7
    • Jeff Garzik's avatar
      added g_strndup_a macro · 58aaa9d3
      Jeff Garzik authored
              * glib.h: added g_strndup_a macro
      
              * testglib.c:
              Added tests for new alloca-based string routines.
              Reformatted a couple strings.
      58aaa9d3
    • Tim Janik's avatar
      avoid unneccessary extra hook referencing (the explicit hook referencing · 00e064d2
      Tim Janik authored
      Sat Jan  2 02:20:59 1999  Tim Janik  <timj@gtk.org>
      
              * ghook.c:
              (g_hook_list_invoke):
              (g_hook_list_invoke_check):
              (g_hook_list_marshal_check):
              (g_hook_list_marshal): avoid unneccessary extra hook referencing (the
              explicit hook referencing became unneccessarry with my changes from
              Mon Dec 21 21:48:29 1998).
      
              * gmain.c (g_main_iterate): fixed reference counting leaks with
              premature loop aborts.
      
      Fri Jan  1 22:47:44 1999  Tim Janik  <timj@gtk.org>
      
              * gscanner.c (g_scanner_unexp_token): handle G_TOKEN_IDENTIFIER_NULL
              as G_TOKEN_IDENTIFIER.
      00e064d2
  3. 01 Jan, 1999 1 commit
  4. 31 Dec, 1998 2 commits
  5. 30 Dec, 1998 1 commit
  6. 26 Dec, 1998 1 commit
  7. 24 Dec, 1998 1 commit
    • CST 1998 Shawn T. Amundson's avatar
      Released GLib 1.1.10 · b13a3368
      CST 1998 Shawn T. Amundson authored
      Wed Dec 23 00:43:25 CST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GLib 1.1.10
      
              * INSTALL:
                NEWS:
                README:
                configure.in:
                docs/glib-config.1: version=1.1.10
      b13a3368
  8. 23 Dec, 1998 1 commit
  9. 22 Dec, 1998 3 commits
  10. 21 Dec, 1998 2 commits
    • Tim Janik's avatar
      there was a reference count race for hooks during invocation loops. since · 097c9b17
      Tim Janik authored
      Mon Dec 21 21:48:29 1998  Tim Janik  <timj@gtk.org>
      
              * glib.h:
              * gmain.c: there was a reference count race for hooks during invocation
              loops. since all (known) hook loop implementations, do currently start
              out with g_hook_first_valid() and iterate with g_hook_next_valid(),
              g_hook_first_valid() will now return a referenced hook, and
              g_hook_next_valid() will "eat" that, and eventually transfer it to
              the next hook. <sigh> unfortunately this requires g_hook_next_valid()
              to take the hook_list as additional argument.
      
              * gmain.c (g_main_iterate): adjusted callers of g_hook_next_valid().
      097c9b17
    • Tim Janik's avatar
      default initialize source_timeout with -1 so we have a sane timeout value · 85755f7e
      Tim Janik authored
      Mon Dec 21 03:48:04 1998  Tim Janik  <timj@gtk.org>
      
              * gmain.c (g_main_iterate): default initialize source_timeout with -1
              so we have a sane timeout value if (*prpare) doesn't set it.
      85755f7e
  11. 19 Dec, 1998 6 commits
  12. 18 Dec, 1998 3 commits
    • Owen Taylor's avatar
      Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com> · 2623d283
      Owen Taylor authored
      	* gmain.c: Fix errors in computation of timeout
      	expiration times > 1sec.
      2623d283
    • Sebastian Wilhelmi's avatar
      Changed the last pthread_cond_init to pthread_attr_init. · ab4b6454
      Sebastian Wilhelmi authored
      1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* configure.in (have_threads): Changed the last pthread_cond_init
      	to pthread_attr_init.
      
      1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* testgthread.c (new_thread): As a joinable thread seems to be the
      	default on posix, leave the explicit setting out, as it causes
      	problems on some older platforms.
      ab4b6454
    • Tim Janik's avatar
      new function to check whether a main loop has been quitted. (g_main_new): · 8be41eae
      Tim Janik authored
      Fri Dec 18 00:03:17 1998  Tim Janik  <timj@gtk.org>
      
              * glib.h:
              * gmain.c:
              (g_main_is_running): new function to check whether a main loop has been
              quitted.
              (g_main_new): added a gboolean argument to determine whether the loop
              should be considered initially running or not. however, g_main_run ()
              will still reset the main loops running state to TRUE upon initial
              entrance.
      
              * gmain.c:
              (g_main_iterate): documented this function's purpose in 5 steps.
              for step 2), flag sources as G_SOURCE_READY even if !dispatch and
              check G_SOURCE_READY prior to (*prepare), so we don't call (*prepare)
              on them multiple times.
      
      Thu Dec 17 23:43:47 1998  Tim Janik  <timj@gtk.org>
      
              * gmain.c (g_main_add_poll): reordered arguments, so GPollFD* comes
              first, <sigh> (sorry Snorfle, i should have let you know in the first
              place).
              (g_main_dispatch): stack G_HOOK_FLAG_IN_CALL flags. call source's
              destructor when destroying a source.
      8be41eae
  13. 17 Dec, 1998 6 commits
  14. 16 Dec, 1998 7 commits
    • PST 1998 Shawn T. Amundson's avatar
      Released GLib 1.1.8 (CVS tag is GLIB_1_1_8a) · 5f26d8d9
      PST 1998 Shawn T. Amundson authored
      Wed Dec 16 07:49:16 PST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GLib 1.1.8  (CVS tag is GLIB_1_1_8a)
      5f26d8d9
    • Sebastian Wilhelmi's avatar
      Fixed small bug. · 3e01bbaa
      Sebastian Wilhelmi authored
      1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
      3e01bbaa
    • Joel Becker's avatar
    • Sebastian Wilhelmi's avatar
      Fixed stupid bug, that made g_static_mutex_lock(*mutex) not work as · c9cc6c85
      Sebastian Wilhelmi authored
      1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* configure.in: Fixed stupid bug, that made
      	g_static_mutex_lock(*mutex) not work as expected.
      c9cc6c85
    • Sebastian Wilhelmi's avatar
      Updated to reflect the existence of gthread. · 2e57a364
      Sebastian Wilhelmi authored
      
      1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* docs/glib-config.1: Updated to reflect the existence of gthread.
      
      	* gmain.c (g_main_poll_add_unlocking): Changed
      	g_main_poll_add_unlocked to g_main_poll_add_unlocking to match
      	semantic, (indeed, main_loop must be locked, when calling this
      	function). Removed the unlocking from the end of that function, as
      	that is not right. Made a 'HOLDS' comment above the function.
      2e57a364
    • Tim Janik's avatar
      version bump to 1.1.8, binary age 0, interface age 0. · b2e318ff
      Tim Janik authored
      Wed Dec 16 03:16:58 1998  Tim Janik  <timj@gtk.org>
      
              * configure.in: version bump to 1.1.8, binary age 0, interface age 0.
      
              * glib.h: changed g_lock() to G_LOCK(), g_unlock() to G_UNLOCK() and
              g_trylock() to G_TRYLOCK(), since these are macros that expand to
              nothing with --disable-threads.
              changed G_LOCK_DEFINE() to G_LOCK_DECLARE() and introduced
              G_LOCK_DECLARE_STATIC() to achive the results of static G_LOCK_DECLARE().
              changed semantics of g_thread_supported to g_thread_supported() so it
              can be used as a function like g_module_supported(). the actuall
              definition is still a macro that expands into a variable for
              performance reasons though.
              various indentation and coding style cleanups.
      
              * configure.in: added --enable-threads that defaults to yes.
      
              * gmutex.c: changed tests g_thread_supported to g_thread_supported (),
              changed variable settings of g_thread_supported
              to g_threads_got_initialized.
      
              garray.c:
              gcache.c:
              gdataset.c:
              gdate.c:
              ghash.c:
              glist.c:
              gmain.c:
              gnode.c:
              gslist.c:
              gstring.c:
              gtree.c:
              gutils.c:
              changed s/g_lock/G_LOCK/, s/g_unlock/G_UNLOCK/,
              s/static G_LOCK_DEFINE/G_LOCK_DECLARE_STATIC/.
      b2e318ff
    • CST 1998 Shawn T. Amundson's avatar
      Released GLib 1.1.8 · 06600bd0
      CST 1998 Shawn T. Amundson authored
      Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GLib 1.1.8
      06600bd0