1. 19 Jan, 1999 3 commits
  2. 17 Jan, 1999 13 commits
    • CST 1999 Shawn T. Amundson's avatar
      Released GLib 1.1.13 · a478fc7a
      CST 1999 Shawn T. Amundson authored
      Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GLib 1.1.13
      
              * README:
                INSTALL:
                docs/glib-config: ver=1.1.13
      a478fc7a
    • Tim Janik's avatar
      updates for 1.1.13. · 616c485d
      Tim Janik authored
      Mon Jan 18 00:02:46 1999  Tim Janik  <timj@gtk.org>
      
              * NEWS: updates for 1.1.13.
      616c485d
    • Tim Janik's avatar
      fixed assertment vs. assertion · 82801232
      Tim Janik authored
      82801232
    • Tim Janik's avatar
      removed assertment about rtree->root being NULL, so this function can be · 6db5c264
      Tim Janik authored
      Sun Jan 17 17:15:59 1999  Tim Janik  <timj@gtk.org>
      
              * gtree.c (g_tree_traverse): removed assertment about rtree->root being
              NULL, so this function can be applied to unpopulated trees as well, fix
              provided by Simon Kagedal <sika8225@csd.uu.se>.
      6db5c264
    • Christopher Blizzard's avatar
      add packager address · 48763aea
      Christopher Blizzard authored
      Sun Jan 17 11:17:19 1999 Christopher Blizzard  <blizzard@appliedtheory.com>
      
              * glib.spec: add packager address
      48763aea
    • Christopher Blizzard's avatar
      increment version number to 1.1.13 · 2c119cca
      Christopher Blizzard authored
      1999-01-17  Christopher Blizzard  <blizzard@appliedtheory.com>
      
              * glib.spec: increment version number to 1.1.13
      2c119cca
    • Tim Janik's avatar
      if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as ((gchar*) 0) instead of · 8ad2623d
      Tim Janik authored
      Sun Jan 17 16:14:03 1999  Tim Janik  <timj@gtk.org>
      
              * glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
              ((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
              by Seth Alves <alves@hungry.com>.
      8ad2623d
    • Tim Janik's avatar
      added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop · 5c2fb376
      Tim Janik authored
      Sun Jan 17 14:13:52 1999  Tim Janik  <timj@gtk.org>
      
              * glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
              GHookList.hook_destroy function.
      
              * ghook.c (g_hook_destroy_link): don't really call hook_destroy if it
              is G_HOOK_DEFERRED_DESTROY. for the case where we invoke hook->destroy()
              we now clean up the hook completely afterwards, i.e. data, func and
              destroy are immediately set to NULL and hook_free can't play with that
              values anymore.
      
              * gmain.c (g_source_add): set hook_destroy to G_HOOK_DEFERRED_DESTROY,
              instead of using an ugly _noop() hack, this is to avoid an uneccessary
              function invokation. set hook_free to g_source_destroy_func, this way
              we always invoke the destroy notifiers for user_data and source_data
              after execution of dispatch(). thus, g_source_destroy_func() will always
              be called within the main_loop lock (this wasn't really assured
              before), and can release and reaquire the look around destroy notifier
              invokation.
      5c2fb376
    • Tor Lillqvist's avatar
      Oops, ChangeLog entries too, of course. · 04d3d1b2
      Tor Lillqvist authored
      04d3d1b2
    • Tor Lillqvist's avatar
      Added missing gthread/gthread.def file. Incremented version numbers · 3e9ad980
      Tor Lillqvist authored
      in the *.h.win32 files.
      3e9ad980
    • Tim Janik's avatar
      fix yet another small glitch · 5f52b321
      Tim Janik authored
      5f52b321
    • Tim Janik's avatar
      reentrancy fixups · 37f659ec
      Tim Janik authored
      37f659ec
    • Tim Janik's avatar
      incremented version number to 1.1.13, bin age 0, interface age 0. · 08425ac4
      Tim Janik authored
      Sun Jan 17 05:12:17 1999  Tim Janik  <timj@gtk.org>
      
              * configure.in: incremented version number to 1.1.13, bin age 0,
              interface age 0.
      
              * glib.h: added hook_destroy member to struct _GHookList.
      
              * ghook.c (g_hook_destroy_link): if the hook_list defines a hook_destroy
              function, use that to marshal hook destruction notifiers.
      
              * gmain.c: removed g_source_free_func and added g_source_destroy_func,
              which marshalls the user_data and source_data destructors of sources
              outside of the main_loop lock.
              removed GIdleData struct since its single member callback can be passed
              as source_data directly.
              added a gboolean return value to all g_source_remove* functions,
              indicating whether the source could be removed, because these functions
              don't issue warnings upon unseccessful removals themselves. this way at
              least the caller gets a chance to warn upon failing removals.
              (g_main_iterate): set in_check_or_prepare around calls to check() or
              prepare().
              (g_main_pending): simply return FALSE if called from within check() or
              prepare().
              (g_main_iteration): issue a warning if called from within check() or
              prepare() and bail out with FALSE.
              (g_main_run): likewise.
              (g_source_remove_by_funcs_user_data): new function to remove sources by
              user data and function table.
              (g_idle_remove_by_data): new function to really remove idles only, since
              g_source_remove_by_user_data would remove timeouts or other sources as
              well.
      08425ac4
  3. 16 Jan, 1999 2 commits
    • Tor Lillqvist's avatar
      Merge in current Win32 version. Almost no Unix code touched. · f477518c
      Tor Lillqvist authored
      	* README.win32: More text.
      
      	* config.h.win32 glibconfig.h.win32: Update to match the
      	corresponding generated files on Unix.
      
      	* makefile.msc: Update with new source files, and gthread
       	library. Use the compiler flag -MD instead of using -D_DLL and
      	"/nodefaultlib:libc msvcrt.lib" in the link phase.
      
      	* glib.def: Include new functions, drop removed ones.
      
      	* glib.h: Add comments about main loop and polling on Win32. (In
      	general, it's only for the GIMP's use.) Add Win32 IO Channel
      	functions. Remove the obsoleted old IO Channel stuff (which was
      	in #if 0 already).
      
      	* giowin32.c: New file.
      
      	* gmain.c: Include config.h, conditionalize <sys/time.h>
       	inclusion.  Add g_poll implementation for Win32 (only for the
       	GIMP's needs for now, it's hard or even impossible to be as clean
       	and generic as on Unix). Implement g_get_current_time on Win32. If
       	threads aren't supported, don't try to wake up main thread's
       	loop. On Win32, use a semaphore and not a pipe to wake up the main
       	loop.
      
      	* gmessages.c: On Win32, allocate a console window if the standard
      	output handle is invalid before writing to stdout, and reopen stdout
      	to that console window.
      
      	* giochannel.c: Conditionalize unistd.h inclusion. Some indentation
      	cleanup.
      
      	* gstrfuncs.c: Include <signal.h>.
      
      	* gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH
      	environment variables.
      
      	* gmodule-dl.c gmodule-dld.c: In
       	_g_module_build_path, don't add the "lib" prefix and
       	".so" or ".sl" suffix if already there.
      
      	* gmodule-win32.c: Likewise for the ".dll" suffix.
      
      	* gthread-posix.c: Conditionalize <sys/time.h> inclusion.
      f477518c
    • Timur I. Bakeyev's avatar
      Add support for pthreads under FreeBSD 2.2.[7|8] · 883776f0
      Timur I. Bakeyev authored
      
      Add support for pthreads under FreeBSD 2.2.[7|8]
      883776f0
  4. 13 Jan, 1999 4 commits
  5. 12 Jan, 1999 3 commits
  6. 11 Jan, 1999 4 commits
  7. 09 Jan, 1999 2 commits
    • Jeff Garzik's avatar
      Make all aux functions static. · 5eeca0d6
      Jeff Garzik authored
              * testglib.c:
              Make all aux functions static.
      
              * tests/Makefile.am, tests/dirname-test.c, tests/type-test.c:
              New tests dirname-test and type-test, from testglib.
      5eeca0d6
    • Jeff Garzik's avatar
      Add checks for vasprintf, localtime_r. · 2a6789be
      Jeff Garzik authored
              * configure.in:
              Add checks for vasprintf, localtime_r.
      
              * gdate.c (g_date_set_time):
              Use localtime if localtime_r is not available.
      
              * gstrfuncs.c (g_strdup_vprintf):
              Use glibc vasprintf if possible; it's a bit faster than using
              GLib routines, and makes output code a bit smaller.
      
              * acconfig.h:
              Remove HAVE_VSNPRINTF and HAVE_VPRINTF.  autoheader picks these
              up automatically and puts them in config.h.in.
      2a6789be
  8. 07 Jan, 1999 2 commits
    • Owen Taylor's avatar
      Call the source-specific free function when the hook is freed not when it · dc602866
      Owen Taylor authored
      Thu Jan  7 15:14:08 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gmain.c (g_source_free_func): Call the source-specific
      	free function when the hook is freed not when it
      	is destroyed; this fixes a bug where a timeout destroyed
      	from itself would access already freed data.
      dc602866
    • Sebastian Wilhelmi's avatar
      Here we must replace getpwuid by getpwuid_r, but as I do not know how for · 81f8d0bb
      Sebastian Wilhelmi authored
      1999-01-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gutils.c (g_get_any_init): Here we must replace getpwuid by
      	getpwuid_r, but as I do not know how for now, I just made a FIXME
      	note ;-)
      
      	* gdate.c (g_date_set_time): localtime --> localtime_r to make it
      	thread safe.
      
      	* configure.in: We do not need to check for broken solaris mutex
      	intitializer any longer. Provide a macro to show the used thread
      	implementation. Not nice, but this is needed until thread support
      	is completed here inside glib.
      
      	* gthread/testgthread.c: conditionally compile according to the
      	G_THREADS_IMPL_??? macros.
      	(test_private_func): use rand_r instead of rand to make it
      	thread safe.
      81f8d0bb
  9. 06 Jan, 1999 1 commit
  10. 05 Jan, 1999 3 commits
  11. 04 Jan, 1999 3 commits
    • Manish Singh's avatar
      some echos interpret \n's and some don't. Deal with accordingly. · 6927b5b4
      Manish Singh authored
      * acglib.m4: some echos interpret \n's and some don't. Deal with
      accordingly.
      
      -Yosh
      6927b5b4
    • Tim Janik's avatar
      eliminated extraneous "register" qualifiers in variable declarations. · 250d1a07
      Tim Janik authored
      Mon Jan  4 20:58:50 1999  Tim Janik  <timj@gtk.org>
      
              * gscanner.c: eliminated extraneous "register" qualifiers in variable
              declarations.
      
              * gmain.c: #undef events and revents which may have been defined in
              sys/poll.h for SVR3,4 compatibility on some AIX systems. fix been
              provided by Philippe Defert <Philippe.Defert@cern.ch>.
      250d1a07
    • Tim Janik's avatar
      adjusted the g_strdup_a, g_strndup_a and g_strconcat3_a macros so their · 72b139a7
      Tim Janik authored
      Mon Jan  4 14:38:11 1999  Tim Janik  <timj@gtk.org>
      
              * glib.h: adjusted the g_strdup_a, g_strndup_a and g_strconcat3_a macros
              so their arguments get only evaluated once. changed g_strconcat3_a to
              have the same semantics as g_strconcat, i.e. if a certain argument is
              NULL, the rest of the parameter list is skipped.
      
              * tests/alloca-test.c: removed #if/#endif G_HAVE_ALLOCA, we need to be
              able to compile on all systems. added test for g_strconcat() semantics.
      
              * we need a alloca() replacement for !G_HAVE_ALLOCA rsn!
      72b139a7