1. 07 Jun, 2000 1 commit
  2. 06 Jun, 2000 2 commits
  3. 30 May, 2000 2 commits
    • Tor Lillqvist's avatar
      Implement on Win32. · 88fd181e
      Tor Lillqvist authored
      2000-05-30  Tor Lillqvist  <tml@iki.fi>
      
      * gutils.c (g_locale_get_codeset): Implement on Win32.
      
      * glib.def: Add g_get_codeset.
      
      * tests/Makefile.am (EXTRA_DIST): makefile.cygwin* has been
      renamed to makefile.mingw*.
      88fd181e
    • Owen Taylor's avatar
      Move the g_locale_get_codeset() up in the header file to correspond to to · e0b56360
      Owen Taylor authored
      Tue May 30 16:01:32 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* glib.h gutils.c: Move the g_locale_get_codeset() up in the
      	header file to correspond to to comments about memory
      	management. Rename to g_get_codeset() to avoid
      	polluting the g_locale_* namespace, which probably
      	would have g_locale_get_codeset (GLocale *locale).
      	Add a doc comment.
      e0b56360
  4. 29 May, 2000 1 commit
  5. 19 May, 2000 2 commits
    • Tim Janik's avatar
      added argument assertments. · 1fe02b28
      Tim Janik authored
      Fri May 19 11:39:29 2000  Tim Janik  <timj@gtk.org>
      
      
              * gutils.c (g_snprintf):
              (g_vsnprintf): added argument assertments.
      
              * gstring.c (g_string_assign): added argument assertments.
              (g_string_truncate): make len a guint.
      1fe02b28
    • Tim Janik's avatar
      fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas · 1e5d06d4
      Tim Janik authored
      Fri May 19 09:00:44 2000  Tim Janik  <timj@gtk.org>
      
              * gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
              ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
      
              * gslist.c (g_slist_reverse): shut up compiler.
      
              * gscanner.c (g_scanner_get_token_ll): removed inline assignment.
      
              * garray.c: remove index>=0 checks for unsigned indices.
      
              * gmain.c (g_idle_prepare): timeout assignment fix.
      
              * gtree.c (g_tree_node_rotate_right): shut up compiler.
      1e5d06d4
  6. 13 May, 2000 2 commits
    • Tor Lillqvist's avatar
      Small fixes to test progam build. · 4b9a9eb8
      Tor Lillqvist authored
      4b9a9eb8
    • Tor Lillqvist's avatar
      makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to · 77866eaf
      Tor Lillqvist authored
      2000-05-13  Tor Lillqvist  <tml@iki.fi>
      
      * makefile.mingw.in
      * tests/makefile.mingw.in
      * build-dll: Rename makefile.cygwin(.in) to
      makefile.mingw(.in), which better describes what it is. Move the
      build of gmodule, gthread and gobject DLLs to makefiles in those
      directories. Move resource file handling and build number bump to
      build-dll, where it sits much cleaner.
      
      * README.win32
      * Makefile.am (EXTRA_DIST): Update accordingly.
      
      * glib.h: Add G_PI, G_PI_2, G_PI_4, G_E, G_LN2, G_LN10 and
      G_SQRT2. M_PI etc aren't necessarily in <math.h> in strict ISO C
      implementations.
      
      * glib.def: Add g_strcanon.
      
      * gtree.c (g_tree_node_rotate_left): Remove unused variables.
      
      * gwin32.c (g_win32_opendir): Remove unneeded statement.
      
      gmodule:
      
      * makefile.mingw.in: New file, with gmodule stuff
      moved from ../makefile.mingw.in.
      
      * Makefile.am: Add to EXTRA_DIST, and add rule to make makefile.mingw.
      
      gobject:
      * makefile.mingw.in
      * gobject.def
      * gobject.rc.in: New files, for Win32 (mingw) build.
      
      * Makefile.am: Add to EXTRA_DIST. Add rules to produce the
      corresponding non-*.in files.
      
      * gtype.h: (Win32:) Mark _g_type_fundamental_last for
      export/import from DLL.
      
      gthread:
      * makefile.mingw.in: New file, with gthread stuff moved from
      ../makefile.mingw.in.
      
      * Makefile.am: Add to EXTRA_DIST, add rule to build makefile.mingw.
      77866eaf
  7. 12 May, 2000 4 commits
    • Tim Janik's avatar
      shutup · c74c6c91
      Tim Janik authored
      c74c6c91
    • Tim Janik's avatar
      added gobject · 153f8c64
      Tim Janik authored
      Fri Apr 28 23:54:35 2000  Tim Janik  <timj@gtk.org>
      
              * setup things for a new sub-library libgobject:
      
              * Makefile.am (SUBDIRS): added gobject
      
              * glib-config.in: feature -lgobject.
      
              * configure.in (AC_OUTPUT): generate gobject/Makefile.
      
              * glib.m4 (AM_PATH_GLIB): feature gobject module.
      
              * glib.spec.in: added %{prefix}/lib/libgobject-1.3.so.*
      153f8c64
    • Tim Janik's avatar
      added gobject · 1df2ec98
      Tim Janik authored
      Fri Apr 28 23:54:35 2000  Tim Janik  <timj@gtk.org>
      
              * setup things for a new sub-library libgobject:
      
              * Makefile.am (SUBDIRS): added gobject
      
              * glib-config.in: feature -lgobject.
      
              * configure.in (AC_OUTPUT): generate gobject/Makefile.
      
              * glib.m4 (AM_PATH_GLIB): feature gobject module.
      
              * glib.spec.in: added %{prefix}/lib/libgobject-1.3.so.*
      
      Fri Apr 28 21:41:49 2000  Tim Janik  <timj@gtk.org>
      
              * glib.h: added G_STRLOC macro.
              G_STRUCT_OFFSET(): signedness corrections.
              (G_CSET_DIGITS): list 0-9.
              * gscanner.c (g_scanner_config_template): use G_CSET_DIGITS.
      
              * glib.h:
              * gstrfuncs.c:
              (g_strdown):
              (g_strup):
              (g_strreverse): return the modified string instead of void, so
              calls to these functions can be nested.
              (g_strcanon): new function, canonicalizes string according to
              a given character set.
      
      Fri Apr 28 19:45:16 2000  Tim Janik  <timj@gtk.org>
      
              * gasyncqueue.c (g_async_queue_unref): get rid of an unused variable.
      1df2ec98
    • Tim Janik's avatar
      add reserved fundamental ids for gtk types (for transition time). added · 397ad588
      Tim Janik authored
      Fri May  5 01:15:48 2000  Tim Janik  <timj@gtk.org>
      
      	* gtype.h: add reserved fundamental ids for gtk types (for transition
      	time). added G_TYPE_FUNDAMENTAL_MAX for gtk.
      
      Mon Apr 17 20:45:50 2000  Tim Janik  <timj@gtk.org>
      
      	* glib-gobject.c (g_object_base_class_finalize): oops, don't unset
      	n_params prior to destructing them.
      
      Tue Apr 11 04:28:10 2000  Tim Janik  <timj@gtk.org>
      
      	* fixed a couple of bugs in the initial parameter/object
      	implementations, after getting beast running on GObject and GValue.
      
      Fri Apr  7 04:27:49 2000  Tim Janik  <timj@gtk.org>
      
      	* glib-gobject.[hc]: completed parameter set/get implementations,
      	along with asyncronous parameter changed notification queue.
      
      Sun Apr  2 04:54:36 2000  Tim Janik  <timj@gtk.org>
      
      	* glib-gobject.[hc]: GObject implementation, that is facilities
      	for setting/getting quarked data and reference counting.
      
      	* glib-gparamspecs.[hc]: first actuall parameter implementations
      	for GLib, so far we have: char, uchar, bool, int, uint, long,
      	ulong, enum, flags, float, double, string and object. each of these
      	GParamSpecs is a new instantiatable type in its own respect,
      	so the .c file derives 13 new types from G_TYPE_PARAM and
      	defines over 50 (*2) conversion facilities.
      
      	* glib-gvaluecollector.h: generic varargs handling stubs for
      	GParamSpecs, private header file (does get installed for
      	inclusion into user code though).
      
      	* glib-gvalue.[hc]: GValue functionality implementation.
      
      	* glib-gparam.[hc]: basis GParamSpec implementation for
      	the virtual base type G_TYPE_PARAM.
      
              * glib-genums.[hc]: enum/flags type implementation, based on
      	bseenum.[hc].
      
      	* glib-extra.[hc]: GLib additions, including 1.3 compatibility
      	routines and various other functions, from string manipulation
      	over list manipulation up to a unix signal GSource.
      
      	* glib-gtype.[hc]: GLib Type System implementation, heavily
      	based on BSE's dynamic type system.
      397ad588
  8. 11 May, 2000 2 commits
  9. 04 May, 2000 1 commit
    • Tor Lillqvist's avatar
      makefile.cygwin.in Include the common makefile snippet from · 586d5b11
      Tor Lillqvist authored
      2000-05-04  Tor Lillqvist  <tml@iki.fi>
      
      * makefile.cygwin.in
      * tests/makefile.cygwin.in: Include the common makefile snippet
      from ../build/win32.
      
      Maybe CVSROOT/modules should be changed so that the 'build' module
      is included within the glib module (and gtk+, and gimp, and maybe
      others later), in the same way as the 'macros' module is included
      in lots of GNOME CVS modules?
      586d5b11
  10. 01 May, 2000 1 commit
  11. 28 Apr, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      New File implementing an asynchronous queue to be used for asynchronous · 1418fe3a
      Sebastian Wilhelmi authored
      
      2000-04-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gasyncqueue.c: New File implementing an asynchronous queue to be
      	used for asynchronous inter-thread communication.
      
      	* gthreadpool.c: New File implementing a thread pool to be used
      	for distributing work among several threads.
      
      	* glib.h: Added the type and function declarations for these two
      	types.
      
      	* tests/threadpool-test.c: New File implementing a test for the
      	thread pool. This also checks the asynchronous queue underlying
      	the thread pool.
      
      	* tests/Makefile.am: Changed accordingly.
      1418fe3a
  12. 26 Apr, 2000 3 commits
  13. 25 Apr, 2000 1 commit
  14. 19 Apr, 2000 4 commits
  15. 18 Apr, 2000 2 commits
  16. 17 Apr, 2000 3 commits
    • Sebastian Wilhelmi's avatar
      Add configure test for garbage collector friendliness for GLib. If · 8c90d776
      Sebastian Wilhelmi authored
      
      2000-04-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* configure.in, acconfig.h: Add configure test for garbage
      	collector friendliness for GLib. If enabled, ENABLE_GC_FRIENDLY
      	will be defined.
      
      	* garray.c, ghash.c, glist.c, gmain.c, gmem.c, gnode.c, gqueue.c,
      	gslist.c, gtree.c: If ENABLE_GC_FRIENDLY is defined, NULLify all
      	memory released by the user, but cached by GLib. This lets a
      	garbage collector have a more correct view of the actually used
      	memory.
      8c90d776
    • Sebastian Wilhelmi's avatar
      Added g_(array|ptr_array|byte_array)_sized_new functions, that reserve a · 03f9d485
      Sebastian Wilhelmi authored
      
      2000-04-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* garray.c, glib.h: Added g_(array|ptr_array|byte_array)_sized_new
      	functions, that reserve a certain amount of memeory for the array
      	at creation time to avoid reallocation. Fixes bug #6707 from
      	Charles Kerr <ckerr@osserver1.nssl.noaa.gov>.
      03f9d485
    • Sebastian Wilhelmi's avatar
      Renamed g_queue_create to g_queue_new in conformance to all other GLib · 8f02fac4
      Sebastian Wilhelmi authored
      
      2000-04-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib.h, gqueue.c, tests/queue-test.c (main): Renamed
      	g_queue_create to g_queue_new in conformance to all other GLib
      	data types.
      8f02fac4
  17. 15 Apr, 2000 1 commit
    • Damon Chaplin's avatar
      updated. · 186010f7
      Damon Chaplin authored
      2000-04-16  Damon Chaplin  <damon@helixcode.com>
      
              * tmpl/linked_lists_single.sgml:
              * tmpl/linked_lists_double.sgml:
              * tmpl/trees-nary.sgml: updated.
      
              * tmpl/modules.sgml: described g_module_build_path().
      
              * tmpl/date.sgml: made short description lower case and end in a '.'.
      
              * glib-sections.txt: rearranged GDate section.
      
              * tmpl/arrays.sgml:
              * tmpl/arrays_byte.sgml:
              * tmpl/arrays_pointer.sgml: updated.
      186010f7
  18. 07 Apr, 2000 1 commit
  19. 27 Mar, 2000 2 commits
  20. 26 Mar, 2000 1 commit
  21. 24 Mar, 2000 3 commits
    • Sebastian Wilhelmi's avatar
      typo alarm · 9698f728
      Sebastian Wilhelmi authored
      
      typo alarm
      9698f728
    • Sebastian Wilhelmi's avatar
      Made GArray behave correct. Now zero_terminated really means, that the · fe2e948e
      Sebastian Wilhelmi authored
      
      2000-03-24  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* garray.c: Made GArray behave correct. Now zero_terminated really
      	means, that the element array->data[array->len] exists and is
      	zeroed, and clear means that any unassigned elements obtained
      	through g_array_set_size (the only way to get unassigned elements
      	AFAICT) are zeroed. Added some macors to mak the code more
      	obvoius. Also made GPtrArray zero elements after
      	g_ptr_array_set_size. This is done in a portbale way (assignment
      	of NULL instead of just memsetting it to zero), though that might
      	be more portability than we actually want.
      fe2e948e
    • Sebastian Wilhelmi's avatar
      .cvsignore adaptation · d3cdac0c
      Sebastian Wilhelmi authored
      
      .cvsignore adaptation
      d3cdac0c