1. 18 Sep, 2001 2 commits
    • Owen Taylor's avatar
      Fixes for compilation on Solaris (#59026, Frank Belew) · a9b48f33
      Owen Taylor authored
      Tue Sep 18 18:23:02 2001  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for compilation on Solaris (#59026, Frank Belew)
      
              * glib/gqsort.c (g_qsort_with_data): Use g_alloca().
      
              * glib/giochannel.c (g_io_channel_read_to_end): Fix use
              of ternary on left-hand-side.
      
              * configure.in: Handle the ac_cv_working_alloca_h variable
              set by autoconf-2.5x.
      
      Tue Sep 11 18:50:44 2001  Owen Taylor  <otaylor@redhat.com>
      
              * m4macros/glib-gettext.m4 acinclude.m4: Remove commented
              out sections for clarity.
      a9b48f33
    • Tim Janik's avatar
      add simple test for g_path_get_basename(). · 71075ee0
      Tim Janik authored
      Tue Sep 18 18:19:33 2001  Tim Janik  <timj@gtk.org>
      
              * tests/testglib.c: add simple test for g_path_get_basename().
      
              * glib/gfileutils.c (g_file_open_tmp):
              * glib/gstrfuncs.c (g_strerror): scratch erroneous usages
              of "illegal".
      71075ee0
  2. 17 Sep, 2001 4 commits
    • Tor Lillqvist's avatar
      glib/gmain.c Mark the _funcs tables for export. · 812b4b00
      Tor Lillqvist authored
      2001-09-18  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gmain.c
      	* glib/giowin32.c: Mark the _funcs tables for export.
      
      	* glib/glib.def: Add here, too.
      
      	* glib/gwin32.c (get_package_directory_from_module): No reason to
      	check for the module being in a bin or lib directory only when
      	module_name is non-NULL.
      
      	* glib/gwin32.c (g_win32_get_package_installation_directory):
      	Check first in HKEY_CURRENT_USER, then in HKEY_LOCAL_MACHINE.
      
      	* gmodule/Makefile.am: On Win32, pass a dummy -rpath flag to
      	libtool when building libgplugin_[ab].la, otherwise libtool
      	doesn't create a DLL, but a static archive.
      812b4b00
    • Darin Adler's avatar
      Change so that it works on platforms where isalpha is a macro only, · 44b8df43
      Darin Adler authored
      	* tests/strfunc-test.c: (main): Change so that it works
      	on platforms where isalpha is a macro only, without the
      	corresponding function that the C standard requires.
      	Also eliminate the multiple lists of ctype functions.
      
      	* tests/.cvsignore: Ignore the new test.
      44b8df43
    • Darin Adler's avatar
      Fix a typo and change documentation for g_ascii_isdigit and · a96d96a9
      Darin Adler authored
      	* glib/tmpl/string_utils.sgml: Fix a typo and change
      	documentation for g_ascii_isdigit and g_ascii_isxdigit
      	to reflect the fact that the standard isdigit and
      	isxdigit are already locale-independent.
      a96d96a9
    • Tor Lillqvist's avatar
      Add variable for LT_CURRENT minus LT_AGE (the suffix used by libtool on · 020b44f5
      Tor Lillqvist authored
      2001-09-17  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Add variable for LT_CURRENT minus LT_AGE (the
      	suffix used by libtool on Win32 for DLLs). Set variables for the
      	compiled resource files on Windows. Handle the native Win32
      	gthread stuff.
      
      	* glib/Makefile.am
      	* gmodule/Makefile.am
      	* gobject/Makefile.am: (Win32) Add minor hacks to link in the object
      	file produced from the resource file. Use the lt-compile-resource
      	script from the build module. The non-hack way would be to teach
      	libtool, autoconf and automake about .rc files (which are a kind
      	of source code, after all, that gets compiled to object
      	files). But then there would be problems for those who wouldn't have
      	bleeding edge auto* and libtool.
      
      	* glib/glib.def
      	* gobject/gobject.def: Updates.
      
      	* glib/glib.rc.in
      	* gmodule/gmodule.rc.in
      	* gobject/gobject.rc.in
      	* gthread/gthread.rc.in: Update InternalName and OriginalFilename to
      	match libtool's naming convention for DLLs.
      
      	* glib/gutils.c: Ditto when constructing the DLL name in the
      	definition for GLIB_LOCALE_DIR.
      
      	* glib/makefile.mingw.in
      	* gmodule/makefile.mingw.in
      	* gobject/makefile.mingw.in
      	* gthread/makefile.mingw.in: Update import library names.
      020b44f5
  3. 14 Sep, 2001 1 commit
  4. 11 Sep, 2001 1 commit
  5. 10 Sep, 2001 7 commits
    • Ron Steinke's avatar
      Modified Files: glib/ChangeLog glib/glib/giochannel.h · d5485ef3
      Ron Steinke authored
      Modified Files:
      	glib/ChangeLog glib/glib/giochannel.h glib/glib/giochannel.c
      
      	* glib/giochannel.h glib/giochannel.c: Added a length argument
      	to g_io_channel_[set,get]_line_term(), allowing embeded nulls
      	and binary safe line termination strings
      
      	* glib/giochannel.c: Got rid of a compile warning in
      	g_io_channel_write_chars()
      d5485ef3
    • Tim Janik's avatar
      removed extraneous GObject* returns from a couple functions that are very · 7ca6b00d
      Tim Janik authored
      Mon Sep 10 20:31:37 2001  Tim Janik  <timj@gtk.org>
      
              * gobject.[hc]: removed extraneous GObject* returns from a
              couple functions that are very unlikely to be used in nested.
              changed gpointer->GObject* for a couple return values/arguments.
              this fixes #50206.
      7ca6b00d
    • Tim Janik's avatar
      got rid of g_set_error_handler(), g_set_warning_handler(), · dc0b74d4
      Tim Janik authored
      Mon Sep 10 17:13:36 2001  Tim Janik  <timj@gtk.org>
      
              * glib/gmessages.h: got rid of g_set_error_handler(),
              g_set_warning_handler(), g_set_message_handler().
      
      Wed Sep  5 05:24:07 2001  Tim Janik  <timj@gtk.org>
      
              * gobject/tmpl/gboxed.sgml: documented some functions.
      
              * gobject/tmpl/objects.sgml: some fixups.
      
      Mon Sep 10 19:27:47 2001  Tim Janik  <timj@gtk.org>
      
              * gtype.[hc]:
              g_type_add_interface*(): implement the ability to add an interface to
              a type whose parents already conform to this interface.
              such "overriding" interfaces, when initialized, are not just initialized
              with 0, but with a copy of the interface they override.
              g_type_interface_peek_parent(): new function, return the interface
              that this interface "overrides", if any.
      
              * testgruntime.c: test new interface stuff.
      dc0b74d4
    • Alexander Larsson's avatar
      Removed is_refcounted and GBoxedInitFunc from · ae2c2ca6
      Alexander Larsson authored
      2001-09-10  Alex Larsson  <alexl@redhat.com>
      
      	* gobject/gboxed.[ch]:
      	* gobject/gsourceclosure.c:
      	Removed is_refcounted and GBoxedInitFunc from
      	g_boxed_type_register_static().
      ae2c2ca6
    • Owen Taylor's avatar
      Doc fixes. · 16fc3b22
      Owen Taylor authored
      Mon Sep 10 11:42:58 2001  Owen Taylor  <otaylor@redhat.com>
      
              * glib/gutf8.c glib/gstring.c glib/gfileutils.c glib/gmain.c:
              Doc fixes.
      16fc3b22
    • Owen Taylor's avatar
      Update. · a5c41a99
      Owen Taylor authored
      Mon Sep 10 11:37:02 2001  Owen Taylor  <otaylor@redhat.com>
      
              * glib/glib-sections.txt: Update.
      a5c41a99
    • Owen Taylor's avatar
      Add g_build_path(), g_build_filename(), to create separated paths, · 9393fc89
      Owen Taylor authored
      Sat Sep  8 17:14:51 2001  Owen Taylor  <otaylor@redhat.com>
      
              * glib/gfileutils.[ch]: Add g_build_path(),
              g_build_filename(), to create separated paths,
              suppressing duplicate separators, from varargs
              lists.
      
              * tests/strfunc-test.c: Add tests for g_build_path(),
              g_build_filename().
      9393fc89
  6. 08 Sep, 2001 2 commits
    • Owen Taylor's avatar
      Move gbsearcharray.[ch] to glib as a private ininstalled header. · be843463
      Owen Taylor authored
      Sat Sep  8 14:13:57 2001  Owen Taylor  <otaylor@redhat.com>
      
             * gobject/Makefile.am: Move gbsearcharray.[ch] to glib
             as a private ininstalled header.
      be843463
    • Owen Taylor's avatar
      Add gbsearcharray.[ch]. · 65c9b6e4
      Owen Taylor authored
      Sat Sep  8 14:11:53 2001  Owen Taylor  <otaylor@redhat.com>
      
             * glib/Makefile.am (libglib_1_3_la_SOURCES): Add
             gbsearcharray.[ch].
      
             * glib/glib-object.h: Remove include of gbsearcharray.
      
      Sat Sep  8 14:13:57 2001  Owen Taylor  <otaylor@redhat.com>
      
             * gobject/Makefile.am: Move gbsearcharray.[ch] to glib
             as a private ininstalled header.
      
      Sat Sep  8 14:13:44 2001  Owen Taylor  <otaylor@redhat.com>
      
             * glib/Makefile.am (IGNORE_HFILES): Add
             gbsearcharray.h.
      
             * gobject/Makefile.am (IGNORE_HFILES): Remove
             gbsearcharray.h.
      65c9b6e4
  7. 05 Sep, 2001 5 commits
  8. 04 Sep, 2001 3 commits
    • Matthias Clasen's avatar
      d008ff1e
    • Owen Taylor's avatar
      Version 1.3.7 · e40317b8
      Owen Taylor authored
      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.
      e40317b8
    • Tor Lillqvist's avatar
      Update. Don't mention pthreads. · 07741c07
      Tor Lillqvist authored
      
      2001-09-04  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Update. Don't mention pthreads.
      
      	* build-dll: Remove, moved to the build module.
      
      	* glibconfig.h.win32.in: Don't mention pthreds here, either.
      
      	* glib/gstrfuncs.c: Mark the correct variable for export from DLL.
      
      	* glib/giowin32.c (g_io_win32_msg_create_watch): Owen forgot to
      	rename the win32_watch_funcs variable here, too.
      
      	* */makefile.mingw.in: Don't use version number in import library
      	name. Use whole version number in DLL name. Use build-dll from the
      	build module.
      07741c07
  9. 03 Sep, 2001 3 commits
    • Tim Janik's avatar
      updates for 1.3.7 release. · 267ff610
      Tim Janik authored
      Tue Sep  4 01:50:24 2001  Tim Janik  <timj@gtk.org>
      
              * NEWS: updates for 1.3.7 release.
      
      Tue Sep  4 01:49:18 2001  Tim Janik  <timj@gtk.org>
      
              * gsourceclosure.c: make closure_callback_funcs static,
              added some g_return_if_fail() statements.
      267ff610
    • Owen Taylor's avatar
      Implement. · 0038581e
      Owen Taylor authored
      Mon Aug 27 14:55:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gsourceclosure.[ch] (g_source_set_closure): Implement.
      
      	* gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition.
      
      Mon Aug 27 14:56:12 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* glib/gmain.h: Add closure_marshal/closure_callback
      	fields to GSourceFuncs for use by g_source_set_closure().
      
      	* glib/gmain.c glib/giounix.c glib/giowin32.c
      	  glib/gmain.h: Export the SourceFuncs vtables so GObject
      	can use them to figure out closure callbacks/marshallers
      	for the default source types.
      0038581e
    • Owen Taylor's avatar
      Add closure_marshal/closure_callback fields to GSourceFuncs for use by · b4c3107c
      Owen Taylor authored
      Mon Aug 27 14:56:12 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* glib/gmain.h: Add closure_marshal/closure_callback
      	fields to GSourceFuncs for use by g_source_set_closure().
      
      	* glib/gmain.c glib/giounix.c glib/giowin32.c
      	  glib/gmain.h: Export the SourceFuncs vtables so GObject
      	can use them to figure out closure callbacks/marshallers
      	for the default source types.
      
      Mon Aug 27 14:55:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gsourceclosure.[ch] (g_source_set_closure): Implement.
      
      	* gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition.
      b4c3107c
  10. 02 Sep, 2001 3 commits
  11. 30 Aug, 2001 3 commits
    • Sebastian Wilhelmi's avatar
      Add 'want_to_read' to GStaticRWLock to avoid calling g_cond_broadcast, · bd2329ae
      Sebastian Wilhelmi authored
      
      2001-08-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib/gthread.h, glib/gthread.c: Add 'want_to_read' to
      	GStaticRWLock to avoid calling g_cond_broadcast, when no one is
      	waiting.
      bd2329ae
    • Sebastian Wilhelmi's avatar
      Don't free cached_poll_array, when adding new poll's. This is taken care · cf11b579
      Sebastian Wilhelmi authored
      
      2001-08-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
      	cached_poll_array, when adding new poll's. This is taken care for
      	in g_main_context_iterate.
      cf11b579
    • Tor Lillqvist's avatar
      After being away for about five months, I'm back working on this... For · 74b4d8c2
      Tor Lillqvist authored
      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.
      74b4d8c2
  12. 29 Aug, 2001 1 commit
  13. 27 Aug, 2001 2 commits
  14. 26 Aug, 2001 1 commit
  15. 25 Aug, 2001 2 commits
    • Alexander Larsson's avatar
      Implement and document g_ascii_isxxx. · a7a76cfa
      Alexander Larsson authored
      2001-08-25  Alexander Larsson  <alla@lysator.liu.se>
      
      	* glib/gstrfuncs.[ch]:
      	* docs/reference/glib/glib-overrides.txt:
      	* docs/reference/glib/glib-sections.txt:
      	* docs/reference/glib/tmpl/string_utils.sgml:
      	Implement and document g_ascii_isxxx.
      
      	* tests/strfunc-test.c:
      	Add tests for g_ascii_isxxx
      
      	* glib/guniprop.c (g_unichar_ispunct):
      	include symbols, not just punctuation.
      	(g_unichar_isspace): Vertical tab is not
      	considered whitespace.
      
      	* tests/shell-test.c:
      	Output errors on stderr
      a7a76cfa
    • Alexander Larsson's avatar
      Forgot changelog entry · 3ff815fd
      Alexander Larsson authored
      3ff815fd