summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-10
AgeCommit message (Collapse)Author
2000-11-20Patch from David Benson <daveb@idealab.com> to add user_data support toJonathan Blandford
Mon Nov 20 18:55:17 2000 Jonathan Blandford <jrb@redhat.com> * gtree.[hc]: Patch from David Benson <daveb@idealab.com> to add user_data support to gtree functions. Mon Nov 13 18:35:52 2000 Jonathan Blandford <jrb@redhat.com> * gtypes.h (GCompareFuncData): new func type to let you use user data when comparing nodes. * gslist.c (g_list_sort_with_data): new function to sort with user_data. * glist.c (g_list_sort_with_data): new function to sort with user_data. * garray.[ch]: Added convenience functions to sort arrays.
2000-11-20Use a switch here, maybe helps the compiler optimize things. Also, ' ' isHavoc Pennington
2000-11-16 Havoc Pennington <hp@redhat.com> * guniprop.c (g_unichar_isspace): Use a switch here, maybe helps the compiler optimize things. Also, ' ' is a SPACE_SEPARATOR, so don't special case it.
2000-11-19Add g_trash_stack entry points.Tor Lillqvist
2000-11-17 Tor Lillqvist <tml@iki.fi> * glib.def: Add g_trash_stack entry points.
2000-11-17Released 1.3.2upstream/GLIB_1_3_2Owen Taylor
Fri Nov 17 15:43:00 2000 Owen Taylor <otaylor@redhat.com> * Released 1.3.2 * NEWS: Update. * tests/Makefile.am (dist-hook): Add code to distribute markup test files.
2000-11-15Check for the sched.h header and include it on gthread/gthread-posix.c ifSebastian Wilhelmi
2000-11-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Check for the sched.h header and include it on gthread/gthread-posix.c if available. * gthread-posix.c: Include <sched.h> if available. * configure.in: Add -D_POSIX4_DRAFT_SOURCE to GTHREAD_COMPILE_IMPL_DEFINES. Also add -D_POSIX4A_DRAFT10_SOURCE to G_THREAD_CFLAGS. Really deploy GTHREAD_COMPILE_IMPL_DEFINES, when searching for thread libs. Look for sched_* functions in -lrte as well. All of that is necessary on DG/UX. * configure.in: Use AC_TRY_COMPILE instead of AC_EGREP_HEADERS in various places to make it work more reliable, to make it accept macros instead of functions etc. * configure.in: Replace some NULL's for checks with 0 to make it work without stdio.h everywhere. * configure.in, gutils.c: changed the test for getpwuid_r to first test for a posix version and then for a non-posix version. No code change in gutils.c. Again this change deals better with getpwuid_r being a macro and not a function. Most of the above with kind help from Tethys <tet@isengard.europe.dg.com>. This fixes Bug #13403.
2000-11-14Make #endif comment match #ifdef.Tor Lillqvist
2000-11-14 Tor Lillqvist <tml@iki.fi> * gwin32.h: Make #endif comment match #ifdef.
2000-11-13Up version to 1.3.2Owen Taylor
Mon Nov 13 14:00:20 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Up version to 1.3.2 * gconvert.h (enum GConvertError): Remove trailing , * gfileutils.c (g_file_open_tmp): Fix comment to properly describe return value.
2000-11-13Add USE_LIBICONV.Tor Lillqvist
2000-11-13 Tor Lillqvist <tml@iki.fi> * config.h.win32.in: Add USE_LIBICONV. * gconvert.c: Check G_OS_WIN32 only after including glib.h. * glib.def: Update.
2000-11-13Made recursive mutexes also work when the thread system is not (yet)Sebastian Wilhelmi
2000-11-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gthread.c (g_static_rec_mutex_*): Made recursive mutexes also work when the thread system is not (yet) initialized.
2000-11-12Create wrapper functions for iconv() so that we can transparently use theOwen Taylor
Sun Nov 12 18:34:32 2000 Owen Taylor <otaylor@redhat.com> * gconvert.[ch]: Create wrapper functions for iconv() so that we can transparently use the native iconv, libiconv, or (in the future) a mini-iconv included with glib. * glib-config-2.0.in glib-2.0.pc.in: Include @ICONV_LIBS@ * INSTALL: Added note about libiconv. * configure.in: Add checks for libiconv from pango. If EILSEQ is not defined in errno.h add define for it into glibconfig.h so g_iconv can use it. (Note, recompiling from a system without EILSEQ to a system with EILSEQ will break binary compatibility)
2000-11-12Remove g_filename_{to,from}_utf8Robert Brady
2000-11-12 Robert Brady <robert@suse.co.uk> * gstrfuncs.c, gstrfuncs.h: Remove g_filename_{to,from}_utf8 * gconvert.c, gconvert.h: Add g_filename_{to,from}_utf8 and g_locale_{to.from}_utf8. The locale_ variant honours nl_langinfo(CODESET), the filename_ variant uses UTF-8 unless asked otherwise. (g_convert): Add G_CONVERT_ERROR_PARTIAL_INPUT error, if bytesread != length and no bytesread pointer passed.
2000-11-12template is a reserved word in C++ s/template/tmpl/.Owen Taylor
Sun Nov 12 15:29:53 2000 Owen Taylor <otaylor@redhat.com> * gfileutils.[ch]: template is a reserved word in C++ s/template/tmpl/.
2000-11-11Handle a long stream of bytes containing no UTF-8 character startsHavoc Pennington
2000-11-11 Havoc Pennington <hp@pobox.com> * gmarkup.c (g_markup_parse_context_parse): Handle a long stream of bytes containing no UTF-8 character starts
2000-11-11Add missing entry points.Tor Lillqvist
2000-11-11 Tor Lillqvist <tml@iki.fi> * glib.def: Add missing entry points. * gobject.def: Add missing functions.
2000-11-11Improve chance to generate unique names with less effort a bit.Tor Lillqvist
2000-11-11 Tor Lillqvist <tml@iki.fi> * gfileutils.c (g_mkstemp): Improve chance to generate unique names with less effort a bit. * gfileutils.h: Add g_file_open_tmp() declaration. * testglib.c: Include <io.h> on Win32. * makefile.mingw.in: Correct the way to invoke sub-makes. 2000-11-11 Tor Lillqvist <tml@iki.fi> * gtypemodule.c: Include stdlib.h for exit(). * makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypemodule. * gobject.def: Add new functions.
2000-11-11Add gtypemodule.hOwen Taylor
Sun Nov 5 13:20:54 2000 Owen Taylor <otaylor@redhat.com> * glib-object.h: Add gtypemodule.h
2000-11-10New function, suggested by Havoc earlier this month. (g_mkstemp): Use onlyTor Lillqvist
2000-11-11 Tor Lillqvist <tml@iki.fi> * gfileutils.c (g_file_open_tmp): New function, suggested by Havoc earlier this month. (g_mkstemp): Use only one case for letters in temp file name, as this will be used on systems with case-insensitive file systems. * testglib.c (main): Test g_mkstemp() and g_file_open_tmp().
2000-11-09Don't take threads with other priorities into account as changing theSebastian Wilhelmi
2000-11-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gthreadpool.c: Don't take threads with other priorities into account as changing the priority is highly unportable. (Actually using it at all already is unportable, but even sometimes where that works, changing priority is not possible).
2000-11-05rename G_MARKUP_FOO to G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAGHavoc Pennington
2000-11-05 Havoc Pennington <hp@pobox.com> * gmarkup.h: rename G_MARKUP_FOO to G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG * gmarkup.c: don't start doc comments with "Returns" 2000-11-05 Havoc Pennington <hp@pobox.com> * glib/tmpl/markup.sgml: Write docs
2000-11-05inline docs (unescape_text): properly check strtoul for failure.Havoc Pennington
2000-11-05 Havoc Pennington <hp@pobox.com> * gmarkup.c: inline docs (unescape_text): properly check strtoul for failure. * gerror.c (g_propagate_error): Free the src error if the dest location is NULL - I'm pretty sure that's what this function was supposed to do.
2000-11-05Free the src error if the dest location is NULL - I'm pretty sure that'sHavoc Pennington
2000-11-05 Havoc Pennington <hp@pobox.com> * gerror.c (g_propagate_error): Free the src error if the dest location is NULL - I'm pretty sure that's what this function was supposed to do. 2000-11-05 Havoc Pennington <hp@pobox.com> * glib/tmpl/error_reporting.sgml: fixes
2000-11-05AddedHavoc Pennington
2000-11-05 Havoc Pennington <hp@pobox.com> * glib/tmpl/spawn.sgml, glib/tmpl/markup.sgml, glib/tmpl/fileutils.sgml: Added * glib/Makefile.am: Add new files * glib/glib-sections.txt: Add stuff from -unused 2000-11-05 Havoc Pennington <hp@pobox.com> * gutils.c (g_find_program_in_path): cleanup docs, sync param names to those in the header * gfileutils.c (g_mkstemp): clean up docs * gshell.h: sync param names with param names in .c file * gfileutils.h (enum GFileTest): remove trailing comma from last member, confuses gtk-doc * gmarkup.h: s/GMarkupErrorType/GMarkupError/g; to follow convention
2000-11-02Added documentation for asynchronous queues.Sebastian Wilhelmi
2000-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/tmpl/async_queues.sgml, glib/glib-sections.txt: Added documentation for asynchronous queues. * gasyncqueue.c: Added inline documentation for asyncronous queues.
2000-11-02Changed unportable __FUNCTION__ to the verbatim function name.Sebastian Wilhelmi
2000-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gspawn.c: Changed unportable __FUNCTION__ to the verbatim function name.
2000-11-02Include sys/select.h (some platforms need it for select).Sebastian Wilhelmi
2000-11-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gspawn.c: Include sys/select.h (some platforms need it for select).
2000-10-30gutils.c gutils.h gfileutils.c Actually, g_mkstemp() is better suited inTor Lillqvist
2000-10-31 Tor Lillqvist <tml@iki.fi> * gutils.c * gutils.h * gfileutils.c * gfileutils.h: Actually, g_mkstemp() is better suited in gfileutils.
2000-10-30Check for mkstemp.Tor Lillqvist
2000-10-30 Tor Lillqvist <tml@iki.fi> * configure.in: Check for mkstemp. * gutils.c (g_mkstemp): New function. If HAVE_MKSTEMP, just call it, otherwise use code lifted from glibc. * gutils.h: Declare it. * glib.def: Here, too.
2000-10-30Introduced new function type GEqualFunc to return TRUE for equal params.Sebastian Wilhelmi
2000-10-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gcache.h, gcache.c, ghash.h, ghash.c, grel.c, grel.h, gtypes.h: Introduced new function type GEqualFunc to return TRUE for equal params. This is now used instead of GCompareFunc (which should work akin to strcmp) here. This kind of fixes Bug #14412. Note that technically GCompareFunc and GEqualFunc are still the same types, as gint == gboolean. * ghash.h, gutils.c: g_int_equal and g_direct_equal now return gboolean to be really become GEqualFunc. * gscanner.c, testglib.c, tests/hash-test.c: Some tiny changes to follow the above change.
2000-10-27Add gmarkup.Tor Lillqvist
2000-10-27 Tor Lillqvist <tml@iki.fi> * makefile.{mingw,msc}.in (glib_OBJECTS): Add gmarkup. * glib.def: Add missing functions. * tests/makefile.{mingw,msc}.in (TESTS): Add markup-test.
2000-10-27New module to parse a simple markup languageHavoc Pennington
2000-10-24 Havoc Pennington <hp@pobox.com> * gmarkup.h, gmarkup.c: New module to parse a simple markup language * Makefile.am: add gmarkup.h, gmarkup.c * tests/Makefile.am: add markup-test * gstring.h (g_string_new_len): new function to create a string with a length (g_string_new): avoid a gratuitous realloc
2000-10-26Cosmetics.Tor Lillqvist
2000-10-26 Tor Lillqvist <tml@iki.fi> * makefile.{mingw,msc}.in: Cosmetics.
2000-10-26When the string is ended by a delimiter, return an extra empty string justSebastian Wilhelmi
2000-10-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gstrfuncs.c (g_strsplit): When the string is ended by a delimiter, return an extra empty string just like for a delimiter at the start of the string. This makes the function behave more consitent and also fixes Bug #15026.
2000-10-25added newly added gobject/ headers.Tim Janik
Tue Oct 24 22:09:14 2000 Tim Janik <timj@gtk.org> * glib-object.h: added newly added gobject/ headers. * gmesage.c: print g_message() output to stderr instead of stdout. Wed Oct 25 20:27:02 2000 Tim Janik <timj@gtk.org> * gtype.c (g_type_free_instance): for the moment, freeing object structures will fill their memory portion with 0xAA. there's a FIXME there, remove this line at a later point. Tue Oct 24 23:10:26 2000 Tim Janik <timj@gtk.org> * glib-genmarshal.1: * glib-genmarshal.c: added publically installed marshaller generator. * gtype.h: added G_TYPE_INSTANCE_GET_INTERFACE() to retrive a certain interface VTable from instances. Mon Oct 23 08:28:15 2000 Tim Janik <timj@gtk.org> * gobject.[hc]: new functions for closure maintenance: (g_object_watch_closure): maintain validity of the object and the closure for objects that are used as data part of a closure. (g_cclosure_new_object): convenience function to create C closures that have an object as data argument. (g_closure_new_object): convenience function to create closures that have an object as data argument. * gclosure.[hc]: implementation of GClosure mechanism. a closure is basically an encapsulation of a callback function and its environment. ideally, most places supporting callback functions will simply take a GClosure* pointer and thus unify callback environments wrg destroy notification etc. GClosure provides destroy notifiers for arbitrary data pointers, reference counting, invalidation notification (it can be invalidated which is merely a deactivate state) and a marshallinbg abstraction. GCClosure is also provided in these files, they present a specialized GClosure implementation for C language callbacks. * genum.c: macro cleanups. * gboxed.[hc]: new files, for boxed type abstraction. (g_boxed_copy): copy a boxed structure (g_boxed_free): free a boxed structure (g_value_set_boxed): (g_value_get_boxed): standard GValue functions for boxed types (g_boxed_type_register_static): convenience function for easy introduction of new G_TYPE_BOXED derivatives. * gparam.[hc]: introduced g_param_type_register_static(), a short hand for creation of new GParamSpec derived types. * gtype.[hc]: many fixes, introduced ability to flag individual type nodes as ABSTRACT upon registration, added value_peek_pointer() to the value table to peek at GValue contents as a pointer for types that support this. fixed up GValue checks. * gvalue.[hc]: added g_value_fits_pointer() and g_value_get_as_pointer() to peek at the value contents as pointer. * *.[hc]: adaptions to type macro fixes and changes in the type registration API. * many const corrections over the place. Sat Oct 21 02:49:56 2000 Tim Janik <timj@gtk.org> * gtype.c (g_type_conforms_to): this function basically behaves like and is_a check, except that it _additionally_ features interfaces for instantiatable types. enforce this in the second branch as well (`type' conforms_to `type') even if `type' is not an interface type. Fri Oct 20 15:31:04 2000 Tim Janik <timj@gtk.org> * gvaluetypes.[hc]: added G_TYPE_POINTER implementation from jrb. * gtype.[hc]: * gobject.c: * gvaluetypes.c: added GTypeValueTable.value_peek_pointer and suitable implementations of this for G_TYPE_STRING, G_TYPE_OBJECT and G_TYPE_POINTER. Mon Aug 21 04:13:37 2000 Tim Janik <timj@gtk.org> * gbsearcharray.[hc]: long standing needed generic implementation of a binary searchable, sorted and dynamically sized array.
2000-10-23Use one = instead of two, which is plainly wrong.Sebastian Wilhelmi
2000-10-23 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Use one = instead of two, which is plainly wrong.
2000-10-19Pass -DGSPAWN_HELPER when building it. Link with user32.lib.Tor Lillqvist
2000-10-19 Tor Lillqvist <tml@iki.fi> * makefile.msc.in: Pass -DGSPAWN_HELPER when building it. Link with user32.lib. * gspawn-win32.c * gfileutils.c: Make them compile with picky MSVC. * gwin32.h: New file. Move Win32-only stuff that isn't related to GIOChannels here from giochannel.h. * Makefile.am: Add it here. * giochannel.h: Move stuff to gwin32.h. * glib.h: On Win32, include gwin32.h.
2000-10-19Change ERROR_OTHER to ERROR_FAILED, add some dummy marking with _().Owen Taylor
Mon Sep 11 10:03:24 2000 Owen Taylor <otaylor@redhat.com> * glib.h convert.c (g_convert_with_fallback): Change ERROR_OTHER to ERROR_FAILED, add some dummy marking with _(). * docs/reference/glib/glib-sections.txt docs/reference/glib/glib-docs.sgml Update for g_convert, g_unicode_validate.
2000-10-16Remove alloca stuff from here. galloca.h takes care of it, correctly.Tor Lillqvist
2000-10-16 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Remove alloca stuff from here. galloca.h takes care of it, correctly.
2000-10-16Add gspawn-win32.c to EXTRA_DIST.Tor Lillqvist
2000-10-16Some more debugging output. (g_io_channel_win32_poll): Remove unused vars.Tor Lillqvist
2000-10-16 Tor Lillqvist <tml@iki.fi> * giowin32.c (reader_thread): Some more debugging output. (g_io_channel_win32_poll): Remove unused vars. * gfileutils.c: Changes for Win32, with no unistd.h and no S_ISLNK(). * gspawn-win32.c: Implementation of the g_spwan_* functions for Win32. Due to the general non-Unixness of Win32, much of the functionality that is relatively clean to implement on Unix, is hard to do on Win32. We must use a separate helper program to change directory, close extra file descriptors, redirect the std ones, as needed, and only then start the child process. No child process pid can be returned, unfortunately. Or if we used CreateProcess directly, it probably could. (Now we use the spawnv* functions from msvcrt.) * glib.def: Add new entry points. * glib.def * giowin32.c: Remove g_io_channel_win32_wait_for_condition(), g_io_channel_win32_poll() subsumes it. * gbacktrace.h: G_BREAKPOINT for MSVC (on the ix86). * gwin32.c (g_win32_getlocale): Use "sp" for LANG_CROATIAN+SUBLANG_SERBIAN_LATIN. * makefile.{mingw,msc}.in (glib_OBJECTS): Add new files. Add gspawn-win32-helper.exe rule. * tests/makefile.{mingw,msc}.in (TESTS): Add shell-test and spawn-test. * tests/spawn-test.c: (run_tests): On Win32, don't try to run /bin/sh, but ipconfig (no special significance in choosing that, just a program that outputs something to stdout).
2000-10-16gmodule: New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).Raja R Harinath
gmodule: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). gobject: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). (*): Remove traces of @STRIP_{BEGIN,END}@. gthread: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). docs/reference: 'make distcheck' fixes. * glib/Makefile.am (EXTRA_DIST): Add $(DOC_MODULE)-decl.txt. (html): Run 'gtkdoc-fixxref' in $(srcdir). (dist-check-gtkdoc): Add missing quote. (dist-hook): Copy in dependency order, so that none of the makerules are fired in a tarball build. * gobject/Makefile.am: Likewise. toplevel: Remove need for acconfig.h, and misc. cleanups. * acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to AC_DEFINE_UNQUOTED. (GLIB_BYTE_CONTENTS): Likewise. * configure.in: Add 'autoheader' comments to all AC_DEFINE(...) and AC_DEFINE_UNQUOTED(...) lines. Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK. (AM_PROG_LIBTOOL): Move after AC_PROG_CC. * acconfig.h: Empty out. * Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able files that are created in the builddir. (dist-hook): Handle those files. (libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only be used in an _LDADD or _LIBADD, since it expands (if necessary) to 'alloca.o'. * tests/Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-13Added inline documentation.Sebastian Wilhelmi
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * grand.c: Added inline documentation. * docs/refernce/glib/glib-sections.txt: Added misc items. * docs/refernce/glib/tmpl/random_numbers.sgml: Documentation for the random number generator.
2000-10-13Readded GFreeFunc, g_node_insert_after and g_find_program_in_path resp.,Sebastian Wilhelmi
2000-10-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, g_node_insert_after and g_find_program_in_path resp., which mysteriously disappeared during the glib.h dissection.
2000-10-12Adapted accordingly to header separation and GLIB_HAVE_ALLOCA_H renaming.Sebastian Wilhelmi
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glibconfig.h.win32.in: Adapted accordingly to header separation and GLIB_HAVE_ALLOCA_H renaming.
2000-10-12Added the new headers to glibinclude_HEADERS.Sebastian Wilhelmi
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * Makefile.am: Added the new headers to glibinclude_HEADERS. * glib.h: Forgot to include gerror.h.
2000-10-12Split glib.h into many header files mostly according to the resp.Sebastian Wilhelmi
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h, gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h, ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h, gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h, grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h, gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h into many header files mostly according to the resp. *.c-files. * gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and __END_DECLS. * configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h, gunicode.h, : Changed guard-macro names to something more consistent. * configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
2000-10-12Removed cruft from old threading code.Sebastian Wilhelmi
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Removed cruft from old threading code.
2000-10-12define GLIB_HAVE_ALLOCA_H instead of including alloca.h in glibconfig.h,Sebastian Wilhelmi
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: define GLIB_HAVE_ALLOCA_H instead of including alloca.h in glibconfig.h, GLIB_HAVE_ALLOCA_H is used in glib.h.
2000-10-09Work with beta autoconf 2.50.Raja R Harinath
* configure.in (GLIB_MAJOR_VERSION): Use GLIB_DIVERT_BEFORE_HELP instead of AC_DIVERT_PUSH(),AC_DIVERT_POP. (AC_CHECK_HEADERS): Remove redundant AC_DEFINE(HAVE_...). (REALLOC_0_WORKS): Move AC_DEFINE outside AC_CACHE_VAL. (dlopen): Quote nested AC_CHECK_... calls. * acglib.m4 (GLIB_TR_SH, GLIB_TR_CPP): Utility macros copied from beta autoconf 2.50. (GLIB_DIVERT_BEFORE_HELP): New macro that works both with autoconf 2.13 and beta autoconf 2.50. (GLIB_SIZEOF, GLIB_BYTECONTENTS): Use GLIB_TR_*.
2000-10-09Use this to specify that 'configure' depends on acglib.m4.Raja R Harinath
* Makefile.am (CONFIGURE_DEPENDENCIES): Use this to specify that 'configure' depends on acglib.m4.
2000-10-09Add new files.Havoc Pennington
2000-10-09 Havoc Pennington <hp@redhat.com> * Makefile.am, tests/Makefile.am: Add new files. * tests/spawn-test.c, tests/shell-test.c: new tests for the shell/spawn stuff * gutils.c (g_find_program_in_path): convert a relative program name into an absolute pathname to an existing executable * gspawn.h, gspawn.c: New fork/exec API * gshell.h, gshell.c: Shell-related utilities, at the moment simply routines to parse argv and quote/unquote strings * guniprop.c (g_unichar_isspace): Return TRUE for the ASCII space characters isspace() returns TRUE for. * gfileutils.c (g_file_get_contents): Convenience function to slurp entire file into a string and return it. Partially written by Joel Becker. (g_file_test): file test function