Permalink
Commits on Jun 13, 2001
  1. link to ./libgobject-1.3.la since an installed libgobject was somehow

    Havoc Pennington committed with Havoc Pennington Jun 13, 2001
    2001-06-13  Havoc Pennington  <hp@redhat.com>
    
    	* Makefile.am (progs_LDADD): link to ./libgobject-1.3.la
    	since an installed libgobject was somehow being found; think
    	it's a libtool bug, but this workaround should do for now.
Commits on Jun 12, 2001
  1. don't ignore errors from missing index.sgml

    Havoc Pennington committed with Havoc Pennington Jun 12, 2001
    2001-06-12  Havoc Pennington  <hp@redhat.com>
    
    	* docs/Makefile.am (dist-hook): don't ignore errors from missing
    	index.sgml
  2. updated

    Havoc Pennington committed with Havoc Pennington Jun 12, 2001
    2001-06-11  Havoc Pennington  <hp@redhat.com>
    
    	* NEWS: updated
    
    	* configure.in (GLIB_MICRO_VERSION): increment version to 1.3.6
    
    2001-06-12  Havoc Pennington  <hp@redhat.com>
    
    	* Makefile.am (glib-mkenums): don't put $(srcdir)/glib-mkenums in
    	bin_SCRIPTS, that breaks make install. Instead put 'glib-mkenums'
    	in bin_SCRIPTS and cp it into builddir
Commits on Jun 11, 2001
  1. .cvsignore updates

    Sebastian Wilhelmi committed Jun 11, 2001
    .cvsignore updates
Commits on Jun 8, 2001
  1. Added new functions g_strstr_len, g_strrstr and g_strrstr_len

    alexlarsson committed with Alexander Larsson Jun 8, 2001
    2001-06-08  Alex Larsson  <alexl@redhat.com>
    
    	* gstrfuncs.[ch]:
    	Added new functions g_strstr_len, g_strrstr and g_strrstr_len
    
    	* tests/strfunc-test.c:
    	Add some tests for the new functions.
    
    	* gunicode.h:
    	* gutf8.c:
    	Add length argument to g_utf8_strchr and g_utf8_strrchr.
  2. support G_SPAWN_FILE_AND_ARGV_ZERO specifying that the vector passed …

    Havoc Pennington committed with Havoc Pennington Jun 8, 2001
    …in to
    
    2001-06-08  Havoc Pennington  <hp@redhat.com>
    
    	* gspawn.c: support G_SPAWN_FILE_AND_ARGV_ZERO specifying that
    	the vector passed in to g_spawn_* contains a filename to
    	execute in argv[0] then the actual argv begins at argv + 1.
    	Kind of a lame hack, but this isn't something you commonly want
    	to do, and avoids adding more function arguments.
  3. Added Azeri file

    Pablo Saratxaga committed Jun 8, 2001
  4. Remove docs/glib-config.1.in.

    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jun 8, 2001
    2001-06-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* docs/Makefile.am, configure.in: Remove docs/glib-config.1.in.
  5. Add @G_THREAD_CFLAGS@.

    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jun 8, 2001
    2001-06-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread-2.0-uninstalled.pc.in (Cflags): Add @G_THREAD_CFLAGS@.
Commits on Jun 7, 2001
  1. subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables

    Havoc Pennington committed with Havoc Pennington Jun 7, 2001
    2001-06-07  Havoc Pennington  <hp@redhat.com>
    
    	* m4macros/glib-2.0.m4: subst GLIB_GENMARSHAL, GOBJECT_QUERY,
    	GLIB_MKENUMS variables
    
    	* gmodule-2.0.pc.in: add gmodule_supported variable
    
    	* glib-2.0.pc.in: add glib_genmarshal, gobject_query,
    	glib_mkenums variables
    
    	* configure.in: put G_MODULE_SUPPORTED value into
    	.pc files
    
    	* autogen.sh: support AUTOGEN_SUBDIR_MODE
    
    	* Makefile.am: add -uninstalled.pc.in to EXTRA_DIST
    
    2001-06-07  Havoc Pennington  <hp@redhat.com>
    
    	* pango/Makefile.am: add libpango.la to _DEPENDENCIES for the
    	other libs
    
    	* configure.in: use AM_PATH_GLIB_2_0
    
    	* autogen.sh: support AUTOGEN_SUBDIR_MODE
    
    	* Makefile.am: dist the .pc.in files
    
    2001-06-07  Havoc Pennington  <hp@redhat.com>
    
    	* atk/Makefile.am: use @GLIB_GENMARSHAL@ so we can use uninstalled
    	glib-genmarshal
    
    	* configure.in: rearrange the library checks to support
    	uninstalled linking
    
    	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE
    
    	* atk-uninstalled.pc.in: new file, allows linking to uninstalled
    	ATK in giant GTK tarball
    
    2001-06-07  Havoc Pennington  <hp@redhat.com>
    
    	* tests/Makefile.am: add missing -I flag
    
    	* gtk/Makefile.am: use @GLIB_MKENUMS@, @GLIB_GENMARSHAL@, etc.
    
    	* configure.in: use pkg-config to see if GModule is
    	supported; fix to properly turn on included loaders
    	when GModule isn't supported; don't use AC_CHECK_LIB
    	when libs are not installed yet
    
    	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE
    
    	* Makefile.am (SUBDIRS): add m4macros subdir
    
    	* gtk/Makefile.am: $(srcdir)/foo targets must be $(srcdir)/foo in
    	dependencies also.
  2. Look for nanosleep function.

    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jun 7, 2001
    2001-06-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* configure.in: Look for nanosleep function.
    
    	* gtimer.c: Use nanosleep for g_usleep, when found.
    
    	* gtimer.c, gtimer.h: Add g_time_val_add function. Closes #54271.
    
    	* gasyncqueue.c: Documentation updates.
    
    	* gthreadpool.c: Use g_time_val_add now that we have it.
    
    	* glib/glib-sections.txt, glib/tmpl/date.sgml: Add g_time_val_add.
    
    	* glib/tmpl/threads.sgml: Updated.
  3. Use g_win32_error_message to beautify error messages.

    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jun 7, 2001
    2001-06-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread-win32.c: Use g_win32_error_message to beautify error
    	messages.
Commits on Jun 5, 2001
  1. Changed to take a const argument, and then to cast out const.

    Jon Trowbridge committed with Havoc Pennington Jun 5, 2001
    2001-06-01  Jon Trowbridge  <trow@gnu.org>
    
           * gdate.c (g_date_update_julian): Changed to take a const
           argument, and then to cast out const.
           (g_date_update_dmy): Changed to take a const argument, and then
           cast out const.
           (g_date_get_weekday): Changed argument to be const.
           (g_date_get_month): Changed argument to be const.
           (g_date_get_year): Changed argument to be const.
           (g_date_get_day): Changed argument to be const.
           (g_date_get_julian): Changed argument to be const.
           (g_date_get_day_of_year): Changed argument to be const.
           (g_date_get_monday_week_of_year): Changed argument to be const.
           (g_date_get_sunday_week_of_year): Changed argument to be const.
           (g_date_compare): Changed arguments to be const.
           (g_date_to_struct_tm): Changed GDate argument to be const.
           (g_date_strftime): Changed GDate argument to be const.
           (g_date_clamp): Added.  The equivalent of the CLAMP macro for
           GDates.
           (g_date_order): Added.  Ensure that the first GDate argument
           preceeds the second, swapping them if necessary.
           (g_date_days_between): Added.  Computes the (signed) number of days
           between two dates.
Commits on Jun 4, 2001
  1. to match g_strcasecmp, check if it is lower/upper before converting to

    Owen Taylor committed with Owen Taylor Jun 4, 2001
    Mon Jun  4 16:02:57 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
    	check if it is lower/upper before converting to upper/lower
    	[ not required by ISO... ] (#55682, Jon Trowbridge)
  2. Make a bit more standalone by adding include of gerror.h. #54543.

    Owen Taylor committed with Owen Taylor Jun 4, 2001
    Mon Jun  4 15:59:15 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* gunicode.h: Make a bit more standalone by adding include
    	of gerror.h. #54543.
    
    	* gunicode.h: Change size_t to g_size. (Ugh)
Commits on May 31, 2001
  1. Fix mispelling in help output. (#53952, Skip Montanaro)

    Owen Taylor committed with Owen Taylor May 31, 2001
    Thu May 31 17:56:47 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* gobject-query.c: Fix mispelling in help output.
    	(#53952, Skip Montanaro)
  2. Fix to stupid bug in g_random_boolean, also both functions now return…

    Sebastian Wilhelmi committed with Sebastian Wilhelmi May 31, 2001
    … 1 or
    
    2001-05-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in
    	g_random_boolean, also both functions now return 1 or 0 instead of
    	1<<15 or 0.
  3. Remove G_HAVE_ISO_CXX_VARARGS and G_HAVE_ISO_C_VARARGS and define

    Sebastian Wilhelmi committed with Sebastian Wilhelmi May 31, 2001
    2001-05-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* configure.in: Remove G_HAVE_ISO_CXX_VARARGS and
    	G_HAVE_ISO_C_VARARGS and define G_HAVE_ISO_VARARGS directly
    	guarded by #if(n)def __cplusplus.
Commits on May 30, 2001
  1. Add @G_THREAD_CFLAGS@ to Cflags.

    Sebastian Wilhelmi committed with Sebastian Wilhelmi May 30, 2001
    2001-05-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread-2.0.pc.in: Add @G_THREAD_CFLAGS@ to Cflags.
Commits on May 29, 2001
  1. Fix GNU sedism (#55430)

    Owen Taylor committed with Owen Taylor May 29, 2001
    Tue May 29 18:17:11 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* autogen.sh (have_libtool): Fix GNU sedism (#55430)
  2. Add test case for the g_qsort_with_data func. It works. This fixes bug

    Sebastian Wilhelmi committed with Sebastian Wilhelmi May 29, 2001
    2001-05-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* tests/Makefile.am, tests/qsort-test.c: Add test case for the
    	g_qsort_with_data func. It works. This fixes bug #52605.
  3. Now that we check for a C++ compiler in configure.in anyway, I added a

    Sebastian Wilhelmi committed with Sebastian Wilhelmi May 29, 2001
    2001-05-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
    	compiler in configure.in anyway, I added a test, that the GLib
    	headers can be inclued into a C++ program. This fixes bug #52605.
  4. Do not g_strdup, as promised in the function name.

    Sebastian Wilhelmi committed with Sebastian Wilhelmi May 29, 2001
    2001-05-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gmodule.c (g_module_set_error_unduped): Do not g_strdup, as
    	promised in the function name.
  5. Don't bail out, if no C++ compiler is found. Define G_HAVE_ISO_VARARGS

    Sebastian Wilhelmi committed with Sebastian Wilhelmi May 29, 2001
    2001-05-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* configure.in: Don't bail out, if no C++ compiler is
    	found. Define G_HAVE_ISO_VARARGS only if appropriate.
    
    	* gmessages.h: Thus we can revert the previous patch.
  6. "#ifdef G_HAVE_ISO_VARARGS" will always succeed even when we don't have

    James Henstridge committed with James Henstridge May 29, 2001
    2001-05-29  James Henstridge  <james@daa.com.au>
    
            * gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
            even when we don't have ISO vararg support.  Changed to
            "#if G_HAVE_ISO_VARARGS".
  7. erk, strconcat needs NULL as last arg. make sure we pass module name …

    tim-janik committed with Tim Janik May 29, 2001
    …with
    
    Tue May 29 12:57:51 2001  Tim Janik  <timj@gtk.org>
    
            * gmodule.c (g_module_symbol): erk, strconcat needs NULL as last arg.
            make sure we pass module name with suffix into backend open.
Commits on May 28, 2001
  1. as a last resort, if we can't access() the module, leave it up to the

    tim-janik committed with Tim Janik May 28, 2001
    Mon May 28 20:19:25 2001  Tim Janik  <timj@gtk.org>
    
            * gmodule.c (g_module_open): as a last resort, if we can't access()
            the module, leave it up to the platform backends to find it.
            (fixes implicit search patch loading i broke with my last
            commit, spotted by Padraig O'Briain).
  2. Check for __VARARGS__ separately for C and C++.

    Owen Taylor committed with Owen Taylor May 28, 2001
    Mon May 28 11:40:34 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* configure.in: Check for __VARARGS__ separately for C and C++.
  3. Fix typo.

    Sebastian Wilhelmi committed with Sebastian Wilhelmi May 28, 2001
    2001-05-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* configure.in: Fix typo.
    
    	* gobject/Makefile.am (EXTRA_DIST): Really distribute
            glib-mkenums, now that bin_SCRIPTS doesn't seem to care about
            doing so anymore.
  4. fixed bad faux-pass, forgot to release signal lock when restarting

    tim-janik committed with Tim Janik May 28, 2001
    Mon May 28 06:51:24 2001  Tim Janik  <timj@gtk.org>
    
            * gsignal.c (signal_emit_unlocked_R): fixed bad faux-pass, forgot
            to release signal lock when restarting emissions.
Commits on May 27, 2001
  1. unlock context when bailing out with a warning. (g_main_context_check):

    tim-janik committed with Tim Janik May 27, 2001
    Sun May 27 05:09:18 2001  Tim Janik  <timj@gtk.org>
    
            * gmain.c (g_main_context_prepare): unlock context when bailing
            out with a warning.
            (g_main_context_check): same here.
    
            * gmain.c (g_main_context_check): before returning due to
            changed pollfds, unlock context.
    
    Sun May 27 04:52:28 2001  Tim Janik  <timj@gtk.org>
    
            * gsignal.[hc] (g_signal_stop_emission_by_name): added variant
            to stop signal emissions through a detailed_signal string.
    
            * gsignal.c (signal_emit_R) (g_signal_emit_valist): account for
            the fact that g_value_* functions may cause signal emissons by
            unlocking the global signal system lock around g_value_* functions.
            (signal_emit_unlocked_R): renamed this from signal_emit_R() to reflect
            that this functions acquires the lock on its own now.
Commits on May 24, 2001
  1. back out change by mitch@convergence.de and apply patch in bug id #52067

    CEST 2001 Paolo Molaro committed with Paolo Molaro May 24, 2001
    Thu May 24 21:24:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
    
    	* gmarkup.c: back out change by mitch@convergence.de and apply patch in
    	bug id #52067 that fixes the same problem in a more complete manner.
    	This fixes also a segfault for a malformed XML file and adds a new
    	test case.
  2. reflect renaming of g_string_sprintfa to g_string_printfa

    Hans Breuer committed with Hans Breuer May 24, 2001
    2001-05-24  Hans Breuer  <hans@breuer.org>
    
    	* grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
    
    	* makefile.msc.in : create an additional static lib to be used from
    	(at least) glib-genmarshal
  3. pthread isn't required anymore

    Hans Breuer committed with Hans Breuer May 24, 2001
    2001-05-24  Hans Breuer  <hans@breuer.org>
    
    	* makefile.msc.in : pthread isn't required anymore
  4. changed depndencies to build glib-genmarshal first and statically linked

    Hans Breuer committed with Hans Breuer May 24, 2001
    2001-05-24  Hans Breuer  <hans@breuer.org>
    
    	* makefile.msc.in : changed depndencies to build glib-genmarshal
    	first and statically linked with glib, which makes it independent
    	from the installed glib version. Added new object files to build.
    
    	* gobject.def : updated