summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2004-07-21Fix #132858, Sven Neumann, patch by James Henstridge:Matthias Clasen1-0/+4
2004-07-21 Matthias Clasen <mclasen@redhat.com> Fix #132858, Sven Neumann, patch by James Henstridge: * glib-gettextize.in: modify so that mkinstalldirs will get installed into auxdir. * Makefile.am (gettext_SCRIPTS): install mkinstalldirs.
2004-07-18=== Released 2.5.0 ===GLIB_2_5_0Soeren Sandmann1-4/+3
Sun Jul 18 19:40:30 2004 Soeren Sandmann <sandmann@daimi.au.dk> * === Released 2.5.0 === * Makefile.am (BUILT_EXTRA_DIST): move gtk-doc.make here.
2004-03-06Update.Tor Lillqvist1-1/+0
2004-03-06 Tor Lillqvist <tml@iki.fi> * README.win32: Update. * configure.in * Makefile.am * */Makefile.am: Drop the hand-written makefile.mingw(.in) files. They haven't been maintained in a long time. As several people have managed to build GLib for Win32 using the autoconfiscation mechanism, there is no real reason to even try to maintain the hand-written mingw makefiles.
2003-03-04require automake 1.7. Add calls to libtoolize and gtkdocize. Clean up someJames Henstridge1-35/+17
2003-03-01 James Henstridge <james@daa.com.au> * autogen.sh: require automake 1.7. Add calls to libtoolize and gtkdocize. Clean up some of the error messages. * configure.in: move version declaration to the top of the file (before AC_INIT), using M4 macros. GLIB_AC_DIVERT_BEFORE_HELP() calls no longer necessary, due to use of M4 macro expansion in help messages instead. Convert AC_ARG_WITH/AC_ARG_ENABLE calls to use AC_HELP_STRING to format help strings. Use quadrigraphs to get square brackets to show correctly. Replace gtk-doc checks with a call to GTK_DOC_CHECK() macro. Use AC_CONFIG_COMMANDS([glibconfig.h], ...) to output glibconfig.h, so that "./config.status glibconfig.h" works. Add an extra AC_CONFIG_FILES call listing other files we want generated by config.status protected by an "if false" block. This way automake generates the rules needed to rebuild the files for us. Add quotes in various places. * docs/reference/*/Makefile.am: convert to use the common gtk-doc.make file. This localises the complexity to a single makefile fragment maintained with gtk-doc itself. * */Makefile.am: remove unneeded rules to build win32 files with config.status. Automake now does this for us. Replace instances of @FOO@ with $(FOO) where appropriate -- this allows automake to do a better job checking the makefile. Add some files to DISTCLEANFILES where appropriate * Makefile.am: use the DISTCHECK_CONFIGURE_FLAGS variable to ensure that --enable-gtk-doc is passed to configure during a distcheck. Remove the custom distcheck, since the standard one will now do. * gobject/Makefile.am: switch to BUILT_SOURCES, since that now works.
2003-02-11Include ChangeLog.pre-2-2.Tor Lillqvist1-0/+1
2003-02-11 Tor Lillqvist <tml@iki.fi> * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
2003-01-30Remove references to glib.spec. (#102231)Owen Taylor1-3/+2
Thu Jan 30 16:45:13 2003 Owen Taylor <otaylor@redhat.com> * Makefile.am: Remove references to glib.spec. (#102231) * configure.in: Don't generate glib.spec.
2003-01-04Don't distribute glib-zip.Tor Lillqvist1-2/+1
2003-01-04 Tor Lillqvist <tml@iki.fi> * Makefile.am (BUILT_EXTRA_DIST): Don't distribute glib-zip.
2002-05-06[ merged from stable ]Owen Taylor1-0/+1
Mon May 6 11:48:08 2002 Owen Taylor <otaylor@redhat.com> [ merged from stable ] * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641) * m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when compiling "what went wrong" test case. (#79330) * m4macros/glib-2.0.m4: Remove reference to editing pkg-config script. (From Jim Gettys) * configure.in: (Look for dyld interfaces before dlopen() since OS X can have both. Patch from Jacob Berkman, #80438)
2002-03-08Updates.Owen Taylor1-1/+0
Fri Mar 8 00:15:29 2002 Owen Taylor <otaylor@redhat.com> * README.in: Updates. * README.in: Add warnings about current encoding problems with .po files and error logging functions. * configure.in: Check for bind_textdomain_codeset(). * glib/gutils.c (_glib_gettext): Call bind_textdomain_codeset, if present. * INSTALL.in: Some updates. * AUTHORS: Updates. * Makefile.am (EXTRA_DIST): Remove TODO.xml from EXTRA_DIST. * docs/Makefile.am (EXTRA_DIST): Remove Changes-2.0.txt from EXTRA_DIST.
2002-03-05Default to --disable-gtk-doc, to avoid Jade setup hassles.Owen Taylor1-0/+24
Sun Mar 3 21:09:24 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Default to --disable-gtk-doc, to avoid Jade setup hassles. * autogen.sh: Add --enable-gtk-doc. * configure.in: Default to --disable-static to go along with Pango, GTK+ where we need to do that for bin-compat reasons. * Makefile.am: Add a slightly modified distcheck rule that passes --enable-gtk-doc to the configure inside. (So that 'make dist' succeeds inside.) * configure.in *.pc.in **/Makefile.am m4macros/glib-2.0.m4 tests/makefile.mingw.in: Switch everything over to glib-2.0.
2002-01-05moved warning to error pragmas to their own file to not force 'goodHans Breuer1-0/+1
2002-01-05 Hans Breuer <hans@breuer.org> * glibconfig.h.win32.in msvc_recommended_pragmas.h (new file) : moved warning to error pragmas to their own file to not force 'good practice' programming in downstream libs and apps. Instead the new header will be used by -FImsvc_recommended_pragmas.h in gnome/cvs makefile.msc * */makefile.msc.in : use -FImsvc_recommended_pragmas.h * makefile.am : add msvc_recommended_pragmas.h to EXTRA_DIST
2001-11-22Version 11, interface, binary age 0.Owen Taylor1-0/+2
Thu Nov 22 13:14:18 2001 Owen Taylor <otaylor@redhat.com> * configure.in (GLIB_MICRO_VERSION): Version 11, interface, binary age 0. * NEWS: Updated. * tests/Makefile.am (libmoduletestplugin_[ab]_la_LDFLAGS): Add dummy -rpath argument. On some (but not all) platforms, libtool will only build a convenience library without this. (#63486, Dan Winship) * Makefile.am (EXTRA_DIST): Add README.in, INSTALL.in - autoconf-2.5x checks for 'make dist' in the tarball when you make distcheck. * glib/Makefile.am (EXTRA_DIST): Distribute makefile.msc/mingw.in, glib.rc.in. * tests/patterntest.c: Include string.h. * glib/gpattern.c (g_utf8_reverse): doc parsing fix.
2001-11-14provide g_newa(ctype, count) on top of g_alloca() like we provide g_new()Tim Janik1-1/+1
Wed Nov 14 07:34:24 2001 Tim Janik <timj@gtk.org> * glib/galloca.h (g_newa): provide g_newa(ctype, count) on top of g_alloca() like we provide g_new() on top of g_malloc().
2001-10-29New file, used to build distribution packages for Windows.Tor Lillqvist1-1/+3
2001-10-30 Tor Lillqvist <tml@iki.fi> * glib-zip.in: New file, used to build distribution packages for Windows. * configure.in: Expand it. * Makefile.am: Distribute it. * config.h.win32.in: Update to match currently produced config.h
2001-10-28version of gettextize which uses glib's po/Makefile.in.in andjacob berkman1-0/+2
2001-10-28 jacob berkman <jacob@ximian.com> * glib-gettextize.in: version of gettextize which uses glib's po/Makefile.in.in and po2tbl.sed.in, and no longer copies in intl/ or installs ChangeLog entries in po/ChangeLog * configure.in (AC_OUTPUT): generate glib-gettextize * Makefile.am (bin_SCRIPTS): install glib-gettextize 2001-10-28 jacob berkman <jacob@ximian.com> * Makefile.in.in: install Makefile.in.in and po2tbl.sed.in for use with glib-gettextize by other packages
2001-09-26Fix distclean to remove some extra files. #60993, Ben GertzfieldOwen Taylor1-0/+2
Wed Sep 26 15:33:37 2001 Owen Taylor <otaylor@redhat.com> * Makefile.am po/Makefile.in.in: Fix distclean to remove some extra files. #60993, Ben Gertzfield
2001-09-04Version 1.3.7GLIB_1_3_7Owen Taylor1-5/+1
Mon Sep 3 23:29:51 2001 Owen Taylor <otaylor@redhat.com> * Version 1.3.7 * Makefile.am (EXTRA_DIST): Distribute po/po2tbl.sed.in * Makefile.am: Remove references to glib.rc[.in] * NEWS: Various additions.
2001-08-30After being away for about five months, I'm back working on this... ForTor Lillqvist1-11/+2
2001-08-30 Tor Lillqvist <tml@iki.fi> After being away for about five months, I'm back working on this... For now, still using same build setup for Win32. Probably will change to not including version numbers in the import library names, though. (But the DLL names would still include them, possibly even also the micro version number.) That would be more Unix-like. Also, will have to check out newest mingw tool versions to see if the build-dll script now can be retired. * makefile.mingw * makefile.msc: New files, no need to generate from .in as they don't contain references to automake variables. * makefile.mingw.in * makefile.msc.in: Removed. * glib.rc.in: Remove * glib/glib.rc.in: Moved here. * Makefile.am * glib/Makefile.am: Corresponding changes. * glib/glib.def: Fix typo, add new entries. * glib/gspawn-win32-helper.c: More debugging. Doesn't work currently (or then it never has on Win2k, which I now use?) * glib/gstrfuncs.c * glib/gstrfuncs.h: Mark g_ascii_table for export/import on Win32. * */makefile.mingw.in: Reflect new location of glib library.
2001-08-20added po to SUBDIRSSven Neumann1-1/+1
2001-08-20 Sven Neumann <sven@gimp.org> * Makefile.am: added po to SUBDIRS
2001-08-15let the generated .pc files depend on config.status, so they get correctlyTim Janik1-0/+2
Wed Aug 15 11:09:56 2001 Tim Janik <timj@gtk.org> * Makefile.am: let the generated .pc files depend on config.status, so they get correctly remade.
2001-07-23removed glib.def from EXTRA_DIST ... ... and added it here.Sven Neumann1-1/+0
2001-07-23 Sven Neumann <sven@gimp.org> * Makefile.am: removed glib.def from EXTRA_DIST ... * glib/Makefile.am: ... and added it here.
2001-06-27Removed glib-config-2.0, as we have pkg-config now.Sebastian Wilhelmi1-6/+1
2001-06-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * Makefile.am, configure.in: Removed glib-config-2.0, as we have pkg-config now. * glib/Makefile.am: Added -I$(top_srcdir) for builddir != srcdir. * Makefile.am: Removed gen-unicode-tables.pl from EXTRA_DIST.
2001-06-26Move glib library into a subdirectory, make all GLib include files includeOwen Taylor1-132/+1
Tue Jun 26 11:43:46 2001 Owen Taylor <otaylor@redhat.com> * configure.in Makefile.am *.[ch] glib/*.[ch] glib/Makefile.am: Move glib library into a subdirectory, make all GLib include files include as <glib/glist.h> * tests/testglib.c tests/testgdate.c tests/testgdateparser.c tests/timeloop.c tests/timeloop-basic.c: Move all tests into the tests/ subdirectory.
2001-06-07subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variablesHavoc Pennington1-0/+4
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.
2001-05-17Add gpattern.o to objects.Sebastian Wilhelmi1-1/+1
2001-05-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * makefile.mingw.in: Add gpattern.o to objects. * glib.def: Export g_thread_exit as well. * Makefile.am: Fix BUILT_EXTRA_DIST exporting.
2001-05-15m4macros/MakefileHavoc Pennington1-4/+1
2001-05-15 Havoc Pennington <hp@redhat.com> * configure.in (AC_OUTPUT): m4macros/Makefile * m4macros/Makefile.am, m4macros/glib-2.0.m4, m4macros/glib-gettext.m4: m4 files moved here on server, Makefile.am added This is so you can aclocal -I m4macros while avoiding acinclude.m4 * Makefile.am: add m4macros subdir, remove references to glib-2.0.m4
2001-04-17Remove warnings about conflicts with the stable version.GLIB_1_3_3Owen Taylor1-3/+4
Mon Apr 16 12:04:52 2001 Owen Taylor <otaylor@redhat.com> * configure.in: Remove warnings about conflicts with the stable version. * glib-2.0.m4: Fix some of the error text to be halfway up to date. * README.in INSTALL.in: Add these to generate README, INSTAL (as in the stable branch). Update. * HACKING: Update.
2001-04-03updates.Tim Janik1-0/+1
Tue Apr 3 20:22:59 2001 Tim Janik <timj@gtk.org> * NEWS: updates. * NEWS.pre-1-3: take over old news. Tue Apr 3 20:23:24 2001 Tim Janik <timj@gtk.org> * NEWS: updates.
2001-04-03added g_list_nth_prev() which walks ->prev instead of ->next.Tim Janik1-0/+2
Tue Apr 3 13:46:22 2001 Tim Janik <timj@gtk.org> * glist.[hc]: added g_list_nth_prev() which walks ->prev instead of ->next. * gpattern.[hc]: added shell-style pattern matching code from beast, derived from the gtk_pattern_*() code, but with a couple of bug fixes and a number of optimizations. Tue Apr 3 14:06:00 2001 Tim Janik <timj@gtk.org> * gparam.[hc]: added g_param_spec_pool_list() to list pspecs per owner_type. the pspecs are not referenced, so the caller is supposed to have some idea about owner_type not randomly nuking his pspec's. if this is going to provide problems in the future, we can either auto-ref the pspecs, or add a _foreach variant, though the latter would have to invoke the callback while pspec's mutex is acquired, so i just went for the _list variant for now. * gclosure.h (G_CALLBACK): made GCallback a void (*) (void) fucntion.
2001-03-26-DG_DISABLE_DEPRECATEDOwen Taylor1-2/+1
Mon Mar 26 14:14:53 2001 Owen Taylor <otaylor@redhat.com> * Makefile.am (INCLUDES): -DG_DISABLE_DEPRECATED * gmain.h timeloop.c: Surround the cruftiest stuff with #ifndef G_DISABLE_DEPRECATED. * gcompat.h gdate.h: Move compat defines back to gdate.h, surround with #ifndef G_DISABLE_DEPRECATED. Remove gcompat.h.
2001-03-09Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>.Tor Lillqvist1-13/+29
2001-02-21 Tor Lillqvist <tml@iki.fi> Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. Hopefully I got it all in while simultaneously adding support for auto*/libtool for mingw. * Makefile.am: Changes for auto* support on Cygwin and Win32. Do still distribute the hand-written makefiles and *.win32.in files, though. Use GIO, GSPAWN and PLATFORMDEP macros set by configure. Use -no-undefined. Pass -export-symbols glib.def to libtool. * configure.in: Define G_PLATFORM_WIN32 on both pure Win32 (mingw) and Cygwin. Add AC_CYGWIN, AC_EXEEXT and AC_LIBTOOL_WIN32_DLL calls for Cygwin and mingw support. Check for %I64u guint64 format (in MS C library). Set G_MODULE_IMPL on mingw and Cygwin. Use ac_object and ac_exeext. Set GIO, GSPAWN, PLATFORMDEP and G_LIBS_EXTRA. Compile timeloop only on Unix. Define OS_WIN32 automake conditional on Win32. * glib.h: Include gwin32.h also on Cygwin. * gfileutils.c (get_contents_posix): Use O_BINARY (defined as 0 on Unix) for Cygwin's sake. * gtimer.c (GETTIME): Reduce #ifdefs, use a macro GETTIME(). * gconvert.c * gthread.c * gutf8.c * gutils.c: For code needed both on Cygwin and native Win32, test for G_PLATFORM_WIN32. * gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT in case compiling a static library on Win32 or Cygwin. * gwin32.c: No <direct.h> on Cygwin. No need for ftruncate() or dirent emulation on Cygwin. (get_package_directory_from_module) Convert return value from GetModuleFileName() to POSIX path on Cygwin. * tests/Makefile.am (progs_LDADD): Link with libglib, libgthread and libgmodule as appropriate. Use -no-undefined. * gbacktrace.c: Move #ifdefs around a bit on Win32. * gshell.c (unquote_string_inplace): Make static.
2001-02-21Match also UNC paths on Win32.Tor Lillqvist1-1/+1
2001-02-21 Tor Lillqvist <tml@iki.fi> * gutils.c (g_path_is_absolute): Match also UNC paths on Win32. * gthread.h: Include gtypes.h to be sure to get GLIB_VAR definition, remove definition from here. * gunicode.h: Remove duplicate GLIB_VAR definition from here, too. * gutils.c: (Win32) Use USERPROFILE as home dir if present. On Win2k, HOMEDRIVE and HOMEPATH aren't reliable. * Makefile.am (INCLUDES): Add -DGLIB_COMPILATION. * makefile.mingw.in: Remove install target, Windows isn't Unix. * testgdate.c * testgdateparser.c * testglib.c: Undefine GLIB_COMPILATION. * glib.def: Updates. * .cvsignore * */.cvsignore: Ignore also .obj, .dll, .lib and .exe files.
2001-02-19my name is glib-config-2.0! don't exit with errorcode!=0 for --help or -h.Tim Janik1-0/+4
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org> * glib-config-2.0.in (lib_glib): my name is glib-config-2.0! don't exit with errorcode!=0 for --help or -h. * Makefile.am: * configure.in: build glib-config-2.0.
2001-01-17Optimize for size rather than speed by making _() always callOwen Taylor1-0/+1
Tue Jan 16 23:20:38 2001 Owen Taylor <otaylor@redhat.com> * gutils.c glibintl.h: Optimize for size rather than speed by making _() always call _glib_gettext() instead of conditionally calling gettext() or _glib_gettext_init. glib only uses translated strings in slow error handling code anyways. * glibintl.h: g'ify types. * Makefile.am: include glibintl.h in _SOURCES
2001-01-04remove glib-config-2.0Havoc Pennington1-4/+0
2001-01-02 Havoc Pennington <hp@redhat.com> * configure.in: remove glib-config-2.0 * Makefile.am: remove glib-config-2.0
2001-01-04-I$(top_srcdir)/gmodule, fix from Michael MeeksHavoc Pennington1-1/+1
2001-01-03 Havoc Pennington <hp@pobox.com> * tests/Makefile.am (INCLUDES): -I$(top_srcdir)/gmodule, fix from Michael Meeks * Makefile.am (INCLUDES): DISABLE was spelled wrong
2000-12-24New gcompat.h header file as recommended by Havoc.Ali Abdin1-1/+3
2000-12-24 Ali Abdin <aliabdin@aucegypt.edu> * Makefile.am, gcompat.h, glib.h: New gcompat.h header file as recommended by Havoc. * gdate.c, gdate.h, testgdate.c, docs/reference/glib/glib-sections.txt, docs/reference/glib/tmpl/date.sgml, tests/date-test.c: Rename some of the gdate functions to use the '_get' in their name. Patch reviewed by Havoc.
2000-12-05Major change in API for creating sources to handle multiple main loopsOwen Taylor1-1/+2
Tue Dec 5 12:23:04 2000 Owen Taylor <otaylor@redhat.com> * gmain.[hc]: Major change in API for creating sources to handle multiple main loops (GMainContext *). GSources are now exposed as GSource * and implemented with structure derivation. * giochannel.[ch]: Changed vtable for GIOChannel to correspond to the new mainloop API, add g_io_channel_create_watch(). * gtypes.h: Move GTimeVal here. * gthread.h: Remove gmain.h include to avoid circularity. * giounix.c: Update for new GMain API. * giowin32.c: Update for new GMain API. (No check for proper compilation or working.) * timeloop.c timeloop-basic.c: A benchmarking program for the main loop comparing the main loop against a hand-written (timeloop-basic.c) variant. * tests/mainloop-test.c: New torture test of mainloop. * docs/Changes-2.0.txt: Started. Added text about changes to GMain. * gmain.c (g_main_add_poll_unlocked): Initial fd->revents to zero. (#8482, Benjamin Kahn)
2000-11-29s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/Havoc Pennington1-1/+4
2000-11-29 Havoc Pennington <hp@redhat.com> * gunidecomp.c (COMBINING_CLASS): s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ * gunichartables.h: Update for data in Unicode 3.0.1, and include tables for line break properties * gunidecomp.h: Ditto * gunicode.h (GUnicodeBreakType): Enum for line break properties (g_unichar_break_type): Get the break property for a char * gunibreak.h: Autogenerated line break property tables * gunibreak.c (g_unichar_break_type): added * Makefile.am (EXTRA_DIST): dist gen-unicode-tables.pl * Makefile.am (libglib_1_3_la_SOURCES): Add gunibreak.h, gunibreak.c * gen-unicode-tables.pl: Include the script to update the unicode char tables
2000-11-28Patches by Hans Breuer:Tor Lillqvist1-0/+1
2000-11-28 Tor Lillqvist <tml@iki.fi> Patches by Hans Breuer: * gspawn-win32.c: Move the code for gspawn-win32-helper to its own file. * makefile.{mingw,msc}.in: Change accordingly. * gspawn-win32-helper.c: New file. * Makefile.am (EXTRA_DIST): Add it. * gmarkup.c (find_current_text_end): Fix assertion not to check an uninitialised variable. * gboxed.c: Include <string.h> for memset ().
2000-11-20Patch from David Benson <daveb@idealab.com> to add user_data support toJonathan Blandford1-0/+2
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-12Create wrapper functions for iconv() so that we can transparently use theOwen Taylor1-0/+2
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-10-27New module to parse a simple markup languageHavoc Pennington1-0/+2
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-19Pass -DGSPAWN_HELPER when building it. Link with user32.lib.Tor Lillqvist1-1/+2
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-16Add gspawn-win32.c to EXTRA_DIST.Tor Lillqvist1-0/+1
2000-10-16gmodule: New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).Raja R Harinath1-9/+18
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-12Added the new headers to glibinclude_HEADERS.Sebastian Wilhelmi1-1/+34
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-09Use this to specify that 'configure' depends on acglib.m4.Raja R Harinath1-1/+1
* Makefile.am (CONFIGURE_DEPENDENCIES): Use this to specify that 'configure' depends on acglib.m4.
2000-10-09Add new files.Havoc Pennington1-0/+6
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
2000-10-04Reverted my last commit:Martin Baulig1-7/+1
2000-09-30 Martin Baulig <baulig@suse.de> * configure.in (HAVE_THREADS): New automake conditional. * Makefile.am (SUBDIRS): Only compile the gthread subdirectory if we actually have threads.