1. 13 May, 2000 1 commit
    • 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
  2. 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
  3. 11 May, 2000 2 commits
  4. 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
  5. 01 May, 2000 1 commit
  6. 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
  7. 26 Apr, 2000 3 commits
  8. 25 Apr, 2000 1 commit
  9. 19 Apr, 2000 4 commits
  10. 18 Apr, 2000 2 commits
  11. 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
  12. 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
  13. 07 Apr, 2000 1 commit
  14. 27 Mar, 2000 2 commits
  15. 26 Mar, 2000 1 commit
  16. 24 Mar, 2000 4 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
    • Sebastian Wilhelmi's avatar
      Added various win32 related *.in files to EXTRA_DIST to let 'make · 7cd50026
      Sebastian Wilhelmi authored
      
      2000-03-24  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* Makefile.am, gthread/Makefile.am, gmodule/Makefile.am,
      	tests/Makefile.am: Added various win32 related *.in files to
      	EXTRA_DIST to let 'make distcheck' procude all the corresponding
      	files, which it silently fails to do currently.
      7cd50026
  17. 23 Mar, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      After finding the right thread library (containing e.g. pthread_create) we · ac4abbba
      Sebastian Wilhelmi authored
      
      2000-03-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* configure.in: After finding the right thread library (containing
      	e.g. pthread_create) we now search for the right realtime library
      	(containing e.g. sched_get_priority_max). Makes the output of the
      	thread related libraries correct.
      
      	* gtimer.c (g_usleep): The current implementation of g_usleep
      	(simply calling select) doesn't work reliable for multi-threaded
      	programs on some platforms (bad omen for the main loop....), so I
      	changed the implementation for thread-using programs to wait for a
      	GCond for the specified amount of time (NB: sleep and usleep are
      	not MT-safe in general, because they often use signals).
      ac4abbba
  18. 22 Mar, 2000 7 commits