1. 26 Mar, 2001 2 commits
  2. 25 Mar, 2001 1 commit
  3. 22 Mar, 2001 1 commit
  4. 21 Mar, 2001 1 commit
  5. 20 Mar, 2001 2 commits
  6. 18 Mar, 2001 5 commits
    • Tor Lillqvist's avatar
      Don't need this after all. · 3b2f870f
      Tor Lillqvist authored
      3b2f870f
    • Tor Lillqvist's avatar
    • Tor Lillqvist's avatar
      Add braces to silence gcc -Wall. · 3bae8165
      Tor Lillqvist authored
      2001-03-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gspawn-win32.c (SETUP_DEBUG): Add braces to silence gcc -Wall.
      
      	* gspawn-win32-helper.c (write_no_error): Remove unused function.
      
      	* tests/makefile.mingw.in (module-test.exe): Add rules for
      	building module-test.
      
      2001-03-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gobject.def: Correct some renamed functions.
      3bae8165
    • Tim Janik's avatar
      removed archaic gpointer derived_data; relict and added a GData member · 45fb7194
      Tim Janik authored
      Wed Mar 14 18:46:54 2001  Tim Janik  <timj@gtk.org>
      
              * gscanner.[hc]: removed archaic gpointer derived_data; relict and
              added a GData member instead.
      
              * glist.[hc]: added g_list_remove_all().
      
              * gslist.[hc]: added g_slist_remove_all().
      
      Sat Mar 17 23:18:36 2001  Tim Janik  <timj@gtk.org>
      
              * gobject.c (g_object_get_property): minor bug-fix.
      
              * gbsearcharray.[hc]: provide a macro for static initialization and
              functions g_bsearch_array_new() and g_bsearch_array_destroy() for
              dynamic allocations.
      
              * gboxed.c: introduce G_TYPE_GSTRING, boxed type for GString.
      
              * gclosure.[hc]: naming corrections.
      
      Fri Mar  9 16:42:08 2001  Tim Janik  <timj@gtk.org>
      
              * gvaluetypes.[hc]: moved g_strdup_value_contents() into this file as
              a public function (was static in gobject.c before). it's a bit odd
              to have that function here, especially since it requires extra includes,
              but then it doesn't very well fit somewhere else either.
      
              * gparamspecs.c: added default/max/min checks to param spec creation
              functions.
      45fb7194
    • Owen Taylor's avatar
      Reorder headers to make FreeBSD happy. · 1d5b01bb
      Owen Taylor authored
      Sat Mar 17 19:54:51 2001  Owen Taylor  <otaylor@redhat.com>
      
              * timeloop.c: Reorder headers to make FreeBSD happy.
      1d5b01bb
  7. 17 Mar, 2001 1 commit
    • Owen Taylor's avatar
      A couple of small fixes. · 1207d757
      Owen Taylor authored
      Sat Mar 17 17:51:17 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gobject/Makefile.am glib/Makefile.am: A couple
              of small fixes.
      1207d757
  8. 16 Mar, 2001 1 commit
  9. 14 Mar, 2001 2 commits
    • Tor Lillqvist's avatar
      From Edward M. Lee <tailbert@yahoo.com>: · f6e325b2
      Tor Lillqvist authored
      2001-03-13  Tor Lillqvist  <tml@iki.fi>
      
      	From Edward M. Lee  <tailbert@yahoo.com>:
      
      	* gdate.c (g_date_set_parse): add support for dates that in the
      	form "Wed Mar 14 2001". Running testgdate on cygwin requires this.
      
      2001-03-13  Tor Lillqvist  <tml@iki.fi>
      
      	From Edward M. Lee  <tailbert@yahoo.com>:
      
      	* gmodule-win32.c (_g_module_build_path): use (cygwin friendly) dir
      	separator.
      f6e325b2
    • Tim Janik's avatar
      made config arg to g_scanner_new() const. · 009942e1
      Tim Janik authored
      Fri Mar  9 18:01:43 2001  Tim Janik  <timj@gtk.org>
      
              * gscanner.[hc]: made config arg to g_scanner_new() const.
      
      Fri Mar  9 16:42:08 2001  Tim Janik  <timj@gtk.org>
      
              * gvaluetypes.[hc]: moved g_strdup_value_contents() into this file as
              a public function (was static in gobject.c before). it's a bit odd
              to have that function here, especially since it requires extra includes,
              but then it doesn't very well fit somewhere else either.
      
              * gparamspecs.c: added default/max/min checks to param spec creation
              functions.
      009942e1
  10. 12 Mar, 2001 1 commit
    • Tor Lillqvist's avatar
      Link with the libgmodule la only on Win32. · 096ba91b
      Tor Lillqvist authored
      2001-03-12  Tor Lillqvist  <tml@iki.fi>
      
      	* tests/Makefile.am (libmoduletestplugin_b_la_LIBADD,
      	libmoduletestplugin_b_la_LIBADD): Link with the libgmodule la only
      	on Win32.
      
      2001-03-12  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am (libgplugin_a_la_LIBADD, libgplugin_b_la_LIBADD):
      	Link with the libgmodule la only on Win32.
      096ba91b
  11. 11 Mar, 2001 2 commits
  12. 10 Mar, 2001 2 commits
  13. 09 Mar, 2001 12 commits
    • Tor Lillqvist's avatar
      Update with some information about using configure and libtool. · c54732d0
      Tor Lillqvist authored
      2001-03-09  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Update with some information about using configure
      	and libtool.
      c54732d0
    • Tor Lillqvist's avatar
      Link with libglib, libgthread and libgmodule as appropriate. Use · 2f928d64
      Tor Lillqvist authored
      2001-02-21  Tor Lillqvist  <tml@iki.fi>
      
      	* tests/Makefile.am: Link with libglib, libgthread
      	and libgmodule as appropriate. Use -no-undefined.
      2f928d64
    • Tor Lillqvist's avatar
      Use libglib-1.3.la from top_builddir. Invoke libtool with -no-undefined · 9c5f5a01
      Tor Lillqvist authored
      2001-02-21  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am: Use libglib-1.3.la from top_builddir. Invoke
      	libtool with -no-undefined for Win32 and Cygwin.
      
      	* gthread-impl.c (g_thread_init): Win32 code snippet used also on
      	Cygwin.
      9c5f5a01
    • Tor Lillqvist's avatar
      Use G_BEGIN_DECLS and G_END_DECLS. · 137d3248
      Tor Lillqvist authored
      2001-02-21  Tor Lillqvist  <tml@iki.fi>
      
      	* *.h: Use G_BEGIN_DECLS and G_END_DECLS.
      
      	* Makefile.am: Use libglib-1.3.la from top_builddir. Invoke
      	libtool with -no-undefined for Win32 and Cygwin.
      137d3248
    • Tor Lillqvist's avatar
      Use G_BEGIN_DECLS and G_END_DECLS. Define G_MODULE_EXPORT correctly on · 8dd86098
      Tor Lillqvist authored
      2001-02-21  Tor Lillqvist  <tml@iki.fi>
      
      	* gmodule.h: Use G_BEGIN_DECLS and G_END_DECLS. Define
      	G_MODULE_EXPORT correctly on Cygwin, too.
      
      	* gmodule-win32.c (_g_module_open): Convert path to Windows format
      	on Cygwin.
      
      	* Makefile.am (libglib): Use libglib-1.3.la from
      	top_builddir. Invoke libtool with -no-undefined for Win32 and
      	Cygwin.
      8dd86098
    • Tor Lillqvist's avatar
      Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. · 754d8dda
      Tor Lillqvist authored
      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.
      
      	* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
      
      	* 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.
      
      	* testglib.c: Make some vars static. Add Cygwin path tests.
      754d8dda
    • Tor Lillqvist's avatar
      Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. · 31c5b189
      Tor Lillqvist authored
      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.
      
      	* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.
      
      	* 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.
      31c5b189
    • Tor Lillqvist's avatar
      Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. · 5c00c349
      Tor Lillqvist authored
      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.
      5c00c349
    • Hans Breuer's avatar
      (oops, forgot the file ...) · 608608fc
      Hans Breuer authored
      2001-03-09  Hans Breuer  <hans@breuer.org>
      
      	* gobject/gobject.def : updated
      608608fc
    • Hans Breuer's avatar
      updated · 106aafaa
      Hans Breuer authored
      2001-03-09  Hans Breuer  <hans@breuer.org>
      
      	* gobject/gobject.def : updated
      106aafaa
    • Tim Janik's avatar
      test program. covers run first/last/cleanup signal handlers, return value · 43b692c8
      Tim Janik authored
      Fri Mar  9 14:57:17 2001  Tim Janik  <timj@gtk.org>
      
              * testgruntime.c: test program. covers run first/last/cleanup signal
              handlers, return value accumulator, signal string returns, and
              interface types in signal arguments.
      
              * gtype.c (g_type_value_table_peek): for interface types without
              value table, try looking up a value table from an instantiatable
              prerequisite type (this is safe as an interface may only have
              one instantiatable prerequisiste).
              (type_check_is_value_type_U): same here.
      
              * gsignal.c (g_signal_newv): assert that return types never have
              G_SIGNAL_TYPE_STATIC_SCOPE set.
              (g_signal_newc): only create class closure if the class_offset is not
              0.
      43b692c8
    • Tim Janik's avatar
      use g_type_is_a() to check for object_type being a G_TYPE_OBJECT, not · ae5764c5
      Tim Janik authored
      Fri Mar  9 10:14:00 2001  Tim Janik  <timj@gtk.org>
      
              * gparamspecs.c (g_param_spec_object): use g_type_is_a() to check
              for object_type being a G_TYPE_OBJECT, not G_TYPE_IS_OBJECT(), since
              that wouldn't allow interface types.
      
              * gtype.c (g_type_interface_add_prerequisite): arg, fixed small cnp bug
              with bad implications and an off-by-one error.
      ae5764c5
  14. 08 Mar, 2001 7 commits
    • Owen Taylor's avatar
      Include <string.h> for memcpy. · 64fd11df
      Owen Taylor authored
      Thu Mar  8 16:34:22 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gvaluetransform.c: Include <string.h> for memcpy.
      
      	* gvaluetransform.c (DEFINE_SPRINTF): Remove unnecessary
      	and ANSI-illegal ## token pasting.
      64fd11df
    • Tor Lillqvist's avatar
      glib.def gobject/gobject.def Update. · b27a17a4
      Tor Lillqvist authored
      2001-03-08  Tor Lillqvist  <tml@iki.fi>
      
      	* glib.def
      	* gobject/gobject.def
      	* gobject/makefile.mingw.in: Update.
      b27a17a4
    • Sven Neumann's avatar
      I'm stupid and managed to screw up my own patch. Now the new function · 8e936594
      Sven Neumann authored
      works as advertised.
      
      
      --Sven
      8e936594
    • Sven Neumann's avatar
      added new function g_tree_lookup_extended(). · e71a64bc
      Sven Neumann authored
      2001-03-08  Sven Neumann  <sven@gimp.org>
      
      	* gtree.[ch]:
      	* docs/reference/glib/tmpl/trees-binary.sgml: added new function
      	g_tree_lookup_extended().
      e71a64bc
    • Tim Janik's avatar
      eek, fixed old hook detail storage code. · 9490f8d7
      Tim Janik authored
      Thu Mar  8 18:11:52 2001  Tim Janik  <timj@gtk.org>
      
              * gsignal.c: eek, fixed old hook detail storage code.
      9490f8d7
    • Tim Janik's avatar
      destruction cleanup. there's one ->finalize_hook member in the hooklist · 61733223
      Tim Janik authored
      Thu Mar  8 16:23:34 2001  Tim Janik  <timj@gtk.org>
      
              * ghook.[hc]: destruction cleanup. there's one
              ->finalize_hook member in the hooklist now that gets
              called when a hook should be destroyed, that's it.
              that function is guarranteed to be called only when
              all ref_counts to the hook vanished, thus also when
              the hook is not in call.
      
      Thu Mar  8 16:35:48 2001  Tim Janik  <timj@gtk.org>
      
              * gparamspecs.[hc]: s/g_param_spec_string_c/g_param_spec_stringc/.
      
              * gsignal.[hc]: fixed accumulator invocation, implemented emission
              hooks. and no, neither of these callbacks are called via a closure,
              language bindings can wrap the accumulator and emission hook
              interface, they already get parameters marshalled into a GValue array.
              (g_signal_connect): removed this function as its C specific, doesn't
              cover the swapped argument, is too close to its broken original
              gtk_signal_connect() and creates demand for _swapped, _after and
              _swapped_after variants <brrr>.
              (g_signal_connectc): convenience macro to connect a C handler
              func with data, like the old g_signal_connect() plus swapped
              argument.
      
              * gtype.h:
              * gboxed.c: added G_TYPE_VALUE boxed type.
      61733223
    • Sebastian Wilhelmi's avatar
      Spelling corrections. · c811ed93
      Sebastian Wilhelmi authored
      
      2001-03-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib/tmpl/threads.sgml: Spelling corrections.
      c811ed93