1. 07 Sep, 2000 1 commit
    • Tim Janik's avatar
      for non-i386 and non-alpha, or non gcc, implement BREAKPOINT() as raise (5 · 94322654
      Tim Janik authored
      Mon Aug 21 03:57:46 2000  Tim Janik  <timj@gtk.org>
      
              * glib.h (G_BREAKPOINT): for non-i386 and non-alpha, or non gcc,
              implement BREAKPOINT() as raise (5 /* SIGTRAP */);
      
              * glib.h: provide user-definable switch G_IMPLEMENT_INLINES,
              to turn on compilation of inline function implementations provided
              in header files with extern linkage.
              wrap inline function implementations into ifdef __G_UTILS_C__, so we
              really only compile them for gutils.c and not also into arbitrary user
              code that wants to make use of G_IMPLEMENT_INLINES.
              adjusted comment apropriately.
      
              * gutils.c: to turn on compilation of inline functions, provide
              #define G_IMPLEMENT_INLINES 1 and #define __G_UTILS_C__.
      94322654
  2. 26 Jul, 2000 2 commits
  3. 20 Jul, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Mark the functions g_basename and g_dirname deprecated. They will issue an · fec9828a
      Sebastian Wilhelmi authored
      
      2000-07-20  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gutils.c, glib.h: Mark the functions g_basename and g_dirname
      	deprecated. They will issue an warning once, when compiled with
      	G_ENABLE_DEBUG, but continue to work as before. Instead the
      	functions g_path_get_basename and g_path_get_dirname should be
      	used, which BOTH return newly allocated memory, that has to freed
      	by g_free. The new g_path_get_basename now strips trailing slashes
      	from the path. This fixes #5097. For discussion see
      	http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
      
      	* gwin32.c, testglib.c, tests/dirname-test.c: Use the new
      	functions instead of the old ones.
      
      	* gmodule/libgplugin_a.c, gmodule/testgmodule.c: Use
      	g_path_get_basename instead of the deprecated g_basename.
      fec9828a
  4. 29 Jun, 2000 1 commit
    • Owen Taylor's avatar
      updated · 6e47268c
      Owen Taylor authored
      Thu Jun 29 15:57:28 2000  Owen Taylor  <otaylor@redhat.com>
      
              * NEWS: updated
      
      	* Makefile.am: added snapcheck target to go along with snapshot
      
      	* gstring.c glib.h (g_string_hash): Add g_string_hash to
      	go along with g_string_equal.
      
      Tue Jun 27 12:40:23 EDT 2000  David A. Wheeler <dwheeler@dwheeler.com>
      
      	* glib.h: Added g_string_equal for comparing GStrings;
      	changed g_str_equal so it returns gboolean (instead of gint).
      
      	* gstring.c: Modified GString implementation to support embedded
      	ASCII NUL ('\0') characters, and implemented g_string_equal.
      
      	* testglib.c tests/string-test.c: Added tests for g_string_equal
      	and tests for proper handling of embedded ASCII NUL characters.
      6e47268c
  5. 01 Mar, 2000 1 commit
    • Tim Janik's avatar
      minor optimization. · db8baf69
      Tim Janik authored
      Wed Mar  1 10:39:39 2000  Tim Janik  <timj@gtk.org>
      
              * gslist.c (g_slist_reverse): minor optimization.
      
              * testglib.c (g_node_test): added a couple of tests for
              g_node_copy().
      
              * glib.h:
              * gnode.c (g_node_copy): new function to copy subtrees,
              supplied by dbsears@ix.netcom.com.
              changed iterator to walk the children list backwards, so
              we get down from O(n^2) to O(n).
      
              * gnode.c (g_node_first_sibling): applied patch from
              dbsears@ix.netcom.com to optimize access if node->parent
              is present.
      
              * gutils.c (g_get_any_init): backed out HAVE_PW_GECOS check around
              assignment of g_real_name, sicne HAVE_PW_GECOS is never defined and
              thus breaks the original code.
      
              * merged changes from 1.2.7.
      
      Sat Feb 19 19:43:29 2000  Tim Janik  <timj@gtk.org>
      
              * testgmodule.c (main): added test to check that not yet bound symbols
              in shared libraries of the main module are retrievable, from David Gero.
      
      Fri Jan 28 11:37:41 2000  Owen Taylor  <otaylor@redhat.com>
      
              Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
      
              * gtimer.c (g_timer_elapsed): Never report negative times -
              clip times to 0.
      
              * gmain.c (g_timeout_prepare): Guard against unexpected
              clock shifts by never setting a timeout of more than
              data->interval msecs.
      db8baf69
  6. 17 Feb, 2000 1 commit
    • Havoc Pennington's avatar
      changed g_str_hash() to a 31 bit version based on a submission by Karl · cf24ff71
      Havoc Pennington authored
      Thu Feb 17 12:53:44 2000  Tim Janik  <timj@gtk.org>
      
              * gstring.c: changed g_str_hash() to a 31 bit version based on
              a submission by Karl Nelson and hand optimized ad absurdum by
              various people ;)
      
              * gstring.c: applied patch from havoc for new gstring functions,
              added some more sanity checks, coding style fixups.
      
      2000-02-13  Havoc Pennington  <hp@pobox.com>
      
              * tests/string-test.c (main): Add tests for the new GString
              features
      
              * testglib.c (main): Add tests for the new GString features
      
              * gstring.c (g_string_insert_len): New function; insert
              a given length of string at a given position.
              (g_string_append): reimplement in terms of g_string_insert_len
              (g_string_append_len): new function
              (g_string_insert_c): accept -1 for "pos" arg to mean "append"
              (g_string_append_c): reimplement in terms of g_string_insert_c
              (g_string_prepend): reimplement in terms of g_string_insert_len
              (g_string_prepend_len): new function
              (g_string_prepend_c): reimplement in terms of g_string_insert_c
              (g_string_insert): reimplement in terms of g_string_insert_len
      
              * glib.h: Declare g_string_insert_len, g_string_append_len,
              g_string_prepend_len
      cf24ff71
  7. 01 Nov, 1999 1 commit
  8. 31 Oct, 1999 1 commit
    • Tor Lillqvist's avatar
      Don't crash if removing a nonexistent value. · 30cc3ed1
      Tor Lillqvist authored
      1999-10-31  Tor Lillqvist  <tml@iki.fi>
      
      * gcache.c (g_cache_remove): Don't crash if removing a nonexistent
      value.
      
      * gutils.c (gwin_getlocale): New Win32-specific function, returns
      a Unixish current locale string (en, zh_TW etc).
      
      * glib.h: Declare it.
      
      * glib.def: Export it.
      
      * testglib.c: Test it.
      
      * gmessages.c (Win32: ensure_stdout_valid): Some improvements,
      make sure we don't call AllocConsole several times, which I think
      has happened.
      30cc3ed1
  9. 04 Oct, 1999 1 commit
  10. 24 Apr, 1999 1 commit
    • Tor Lillqvist's avatar
      Support added for building using a GNU toolchain on Win32, · 2aa1277d
      Tor Lillqvist authored
      	i.e. gcc -mno-cygwin on cygwin (a.k.a. mingw32, using egcs-1.1.2).
      
      	* README.win32: Updated.
      	* build-dll makefile.cygwin tests/makefile.cygwin: New files.
      	* glib.h glib.def glibconfig.h.win32 makefile.msc: Slight updates.
      	* gmain.c: No need to include <fcntl.h> and <io.h> on Win32.
      	* gmain.c gutils.c testglib.c tests/string-test.c: Test for
      	NATIVE_WIN32, not _MSC_VER.
      	* gmutex.c: Must declare g_thread_functions_for_glib_use as
      	exported (using the GUTILS_C_VAR macro).
      	* gutils.c gmodule/libgplugin_[ab].c: LibMain not needed.
      	* gmodule/gmoduleconf.h.win32: Need underscore with gcc.
      	* gthread/gthread.c: With gcc on Win32, must use memcpy to assign
      	value of g_thread_functions_for_glib_use (?).
      	* makefile.msc tests/makefile.msc: Cosmetics.
      2aa1277d
  11. 24 Feb, 1999 1 commit
  12. 24 Jan, 1999 1 commit
    • Jeff Garzik's avatar
      - Fixed bug that overwrote nodes in hash buckets instead of adding them to · 448e792b
      Jeff Garzik authored
      Sat Jan 23 22:45:59 1999  Jeff Garzik  <jgarzik@pobox.com>
      
              * ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
                         g_hash_table_insert, g_hash_table_remove,
                         g_hash_table_lookup_extended):
                - Fixed bug that overwrote nodes in hash buckets instead of
                  adding them to the hash bucket node list.
                  Hash tables now work as advertised.
      
              (g_hash_table_resize):
                - Use g_new0 instead of manual init.
                - Space out code a bit for readability.
      
              (g_hash_nodes_destroy):
                - Replaced "if (!hash_node) return;" with
                  "if (hash_node) {do stuff}".
                  Testing takes up less code space than explicit call to
                  'return' before end of function.  (look at gcc -S)
      
              Updated module header copyright to 1999.
              New module macro G_HASH_BUCKET for (table,key)->bucket lookups.
      
              * tests/hash-test.c:
              - Add two new tests, one with strings as the keys and values, and
                one with ints as the keys and values.  Tests indirect (strings)
                and direct (ints) hashing.
              - Cleanup unused junk left over from testglib.c.
              - Converted a g_print call to g_assert_not_reached.
              - Updated copyright to 1999.
      
              * testglib.c, tests/string-test.c:
              - Init 'tmp_string' var to NULL, silencing uninit-var warning.
      448e792b
  13. 23 Jan, 1999 1 commit
    • Tim Janik's avatar
      cleaned up the errno mess for GETPWUID. we especially don't want to · 63cc3f3c
      Tim Janik authored
      Sat Jan 23 02:14:28 1999  Tim Janik  <timj@gtk.org>
      
              * gutils.c (g_get_any_init): cleaned up the errno mess for
              GETPWUID. we especially don't want to g_error() out here!
              the warning for G_THREADS_ENABLED and !HAVE_GETPWUID_R isn't
              gcc related.
              if !HAVE_PWD_H and !NATIVE_WIN32, g_free the home dir before
              resetting it to NULL, why are we doing this anyways?
              reordered code a bit so we always provide defaults (except
              for g_home_dir).
      63cc3f3c
  14. 13 Jan, 1999 1 commit
  15. 11 Jan, 1999 1 commit
  16. 09 Jan, 1999 1 commit
    • Jeff Garzik's avatar
      Make all aux functions static. · 5eeca0d6
      Jeff Garzik authored
              * testglib.c:
              Make all aux functions static.
      
              * tests/Makefile.am, tests/dirname-test.c, tests/type-test.c:
              New tests dirname-test and type-test, from testglib.
      5eeca0d6
  17. 03 Jan, 1999 1 commit
  18. 02 Jan, 1999 4 commits
  19. 13 Nov, 1998 1 commit
  20. 11 Nov, 1998 1 commit
    • Manish Singh's avatar
      use __extension__ for long long on gcc >= 2.8 and egcs, and provide a · 11376df6
      Manish Singh authored
      * configure.in: use __extension__ for long long on gcc >= 2.8 and
      egcs, and provide a G_GINT64_CONSTANT wrapper so -ansi -pedantic
      compiles clean.
      
      * glib.h: make the endian x86 asm __const__ so the compiler can do
      better optimizations. Also remove the cc clobber, these shouldn't
      be changing condition codes. Ditch some redundant casts. Add an
      optimization for 64-bit endian conversions in x86. Use constant
      wrapper for the generic method.
      
      * testglib.c: use constant wrappers for 64-bit constants
      
      -Yosh
      11376df6
  21. 01 Nov, 1998 1 commit
  22. 27 Oct, 1998 2 commits
    • Manish Singh's avatar
      reimplemented the endian stuff, using inline asm for x86. #define g_htonl · 215251e9
      Manish Singh authored
      * glib.h: reimplemented the endian stuff, using inline asm for x86.
      #define g_htonl and friends.
      
      * testglib.c: new tests for the endian stuff
      
      * configure.in: care for AIX in gmodule linker flags test (from Joel Becker
      <jlbec@raleigh.ibm.com>). Check $host_os for linux instead of existance of
      /usr/include/linux
      
      * gutils.c: buh-bye evil warning. Thou hast been #ifdef'd out of thine
      existance!
      
      -Yosh
      215251e9
    • Tor Lillqvist's avatar
      removed dummy structure definitions for struct _GCache, _GTree, _GTimer, · a6149403
      Tor Lillqvist authored
      Tue Oct 27 03:00:50 1998  Tim Janik  <timj@gtk.org>
      
              * glib.h: removed dummy structure definitions for struct _GCache,
              _GTree, _GTimer, _GMemChunk, _GListAllocator and _GStringChunk.
      
              * gutils.c: implement glib's inline functions _after_ all include
              statements have been processed.
              removed Tor's MAXPATHLEN check since there already was one supplied
              further down in this file.
              (LibMain): special cased the #ifdef __LCC__ case for NATIVE_WIN32,
              since lcc maybe used on other platforms as well. why in hell is this
              stuff required?
              (g_get_any_init): for windows, if the user name is supplied, use it as
              realname also.
              in general, if there is no homedir specified, use the tmpdir that
              we already figured.
      
              * gtimer.c (g_timer_elapsed): changed a g_assert() statement to
              g_return_if_fail().
      
              * applied glib-tml-981020-0.patch for WIN32 portability, added some
              comments and g_return_if_fail() statements, minor indentation fixes.
              ChangeLog entry from Tor Lillqvist is appended.
      
              * glib.h (struct dirent): use lower case structure members.
      
              * glib.h:
              * makefile.lcc:
              * makefile.msc:
              s/COMPILING_GLIB/GLIB_COMPILATION/
      
      1998-10-20: Tor Lillqvist <tml@iki.fi>
      
              * README.win32 glib.def gmodule.def
              * glibconfig.h.win32 gmodule/gmoduleconf.h.win32:
              New files for the Windows port. The .def files list exported
              symbols for the Microsoft linker and compatibles.
      
              * configure.in:
              Added checks for some platform-dependent headers: pwd.h sys/param.h
              sys/select.h sys/time.h sys/times.h unistd.h, and the function lstat.
      
              * gerror.c:
              Conditionalized inclusion of system-dependent headers. Changes
              for Windows: no gdb to do a stack trace. Just call abort().
      
              * glib.h:
              Changes for Windows:
      
              Added macros G_DIR_SEPARATOR, G_DIR_SEPARATOR_S for
              platform-dependent file name syntax elements. Added macros
              G_SEARCHPATH_SEPARATOR, G_SEARCHPATH_SEPARATOR_S for
              platform-dependent search path syntax conventions.
      
              Added pragmas for Microsoft C to make it more pedantic.
      
              Marked GLib's global variables for export from DLL.
      
              Added the function g_strescape that escapes backslashes.
      
              Added functions g_path_is_absolute and g_path_skip_root to
              handle platform-dependent file name syntax.
      
              Added the function g_getenv that expands environment variables
              that contain references to other environment variables, as is
              typical on Windows NT.
      
              Added the GIOChannel structure which is used to encapsulate the
              IPC mechanism used by the GIMP's plug-ins, and possibly other
              things later. On Unix a GIOChannel encapsulates just a file
              descriptor. On Windows it contains a file handle from _pipe() and a
              few other things related to the implementation of gdk_input_add
              and GIMP plug-in communication. Subject to change.
      
              Removed duplicate declarations of the version variables.
      
              For the Microsoft compiler, declare own implementation of
              ftruncate and the <dirent.h> functions.
      
              * gmem.c:
              Define a symbolic name  for the profiling table size.
      
              * gmessages.c:
              Conditionalized inclusion of unistd.h. On Windows, output using
              stdio to stdout.
      
              * gscanner.c:
              Conditionalized inclusion of unistd.h. Added changes for
              Microsoft C. Added CR to the skipped character set. Added small
              workaround for MSC compiler bug in g_scanner_cur_value.
      
              * gstrfuncs.c:
              Added the function g_strescape, which escapes the backslash
              character. Needed especially when printing Windows filenames.
      
              * gtimer.c:
              Conditionalized inclusion of unistd.h and sys/time.h. Added
              implementations for Windows.
      
              * gutils.c:
              Conditionalized inclusion of platform-dependent headers. Use
              the platform-independent file name syntax macros.
              Conditionalize code on platform-dependent features. Added the
              functions g_path_is_absolute g_path_skip_root and g_getenv.
              Added the GIOChannel-related functions. Added
              compiler-dependent Unix compatibility functions for Windows.
      
              * makefile.lcc makefile.msc:
              New files. Compiler-specific makefiles for LCC-Win32 and
              Microsoft C. Only Microsoft C is actually supported currently.
      
              * testglib.c:
              Added pathname check cases for Windows. Added workaround for
              bug in the Microsoft runtime library. Improved some tests a bit.
      
      Tue Oct 27 04:00:11 1998  Tim Janik  <timj@gtk.org>
      
              * testgmodule.c (main): changed the #ifdef WIN32 test to NATIVE_WIN32,
              this needs to be more constistent throughout the code, do we go for
              NATIVE_WIN32 or WIN32?
      
              * gmodule.c (LibMain): special cased the #ifdef __LCC__ case for
              NATIVE_WIN32, since lcc maybe used on other platforms as well.
              * libgplugin_a.c (LibMain):
              * libgplugin_b.c (LibMain):
              likewise. not sure i like this special requirement for lcc in here.
      
              * gmodule-dl.c (_g_module_build_path):
              feature empty "" directories and prepend the module name with "lib".
      
              * gmodule-dld.c (_g_module_build_path):
              * gmodule-win32.c (_g_module_build_path):
              feature empty "" directories.
      
              * we need some more magic in the _g_module_build_path variants
              so we don't append/prepend lib and .so, .sl or .dll for those names
              that already contain it.
      
              * applied patch from Tor Lillqvist for g_module_build_path() and
              windows support.
      
      1998-10-20: Tor Lillqvist <tml@iki.fi>
      
              * gmodule/gmodule-win32.c:
              New file.
      
              * gmodule/gmodule.c gmodule/gmodule.h:
              Added the funcion g_module_build_path that builds the path to
              a module file, decorating the name according to the system's
              conventions.  Added the Windows implementation.
      
              * gmodule/libgplugin_a.c gmodule/libgplugin_b.c:
              Added LibMain for LCC-Win32.
      
              * gmodule/testgmodule.c:
              Handle Windows dll names.
      a6149403
  23. 20 Sep, 1998 1 commit
  24. 07 Sep, 1998 1 commit
    • Tim Janik's avatar
      check for all three inline keywords individually. · 0b42c37e
      Tim Janik authored
      Mon Sep  7 07:53:21 1998  Tim Janik  <timj@gtk.org>
      
              * configure.in: check for all three inline keywords individually.
      
              * glib.h: inlining hassle. for compilers that don't allow the `inline'
              keyword, mostly because of strict ANSI C compliance or dumbness, we try
              to fall back to either `__inline__' or `__inline'.
              we define G_CAN_INLINE, if the compiler seems to be actually *capable*
              to do function inlining, in which case inline function bodys do make
              sense. we also define G_INLINE_FUNC to properly export the function
              prototypes if no inlinig can be performed. we special case most of the
              stuff, so inline functions can have a normal implementation by defining
              G_INLINE_FUNC to extern and G_CAN_INLINE to 1.
      
              * ltconfig: (compiler PIC flag test): special case linux for non
              aout systems to honour lcc's position independant code (cases
              "linux*aout)" and "linux*)" got added). (this needs to go into
              libtool which does an advanced test, checking for __LCC__).
      
              * autogen.sh: take $CC=lcc into account by invoking automake with
              --include-deps so lcc isn't scared by gcc's auto-dependancy
              generation code. care about $ACLOCAL_FLAGS. optionally feature
              autoheader.
      
              * minor fixups in other places to cure some of lcc's warnings.
      0b42c37e
  25. 02 Sep, 1998 1 commit
  26. 16 Aug, 1998 1 commit
    • Tim Janik's avatar
      version bump to 1.1.3, binary age 0, interface age 0. · d5803865
      Tim Janik authored
      Sun Aug 16 20:28:27 1998  Tim Janik  <timj@gtk.org>
      
              * version bump to 1.1.3, binary age 0, interface age 0.
      
              * glib.h: be nice to platforms that don't have gint64 and don't
              issue #warning on every compilation. since glib doesn't require
              gint64 itself, packages that need gint64 should test for this
              themselves.
      
              * glib.h:
              * gutils.c: added a new function g_vsnprintf().
      
      Fri Aug 14 16:41:53 1998  Tim Janik  <timj@gtk.org>
      
              * glib.h: added static inline functions for bit mask tests:
              g_bit_nth_lsf, g_bit_nth_msf and g_bit_storage.
      
      Fri Aug 13 14:23:37 1998  Tim Janik  <timj@gtk.org>
      
              * glib.h:
              * gmessages.c:
              revised the message handling system, which is now based on a new
              mechanism g_log*. most of the assertment macros got adapted to
              feature the new g_log() call with an additional specification of
              the log level in a preprocessor macro G_LOG_DOMAIN. if G_LOG_DOMAIN
              is undefined upon the includion of glib.h, it'll be defined with a
              value of (NULL) and thus preserves the original bahaviour for
              warning and error messages. the message handler setting functions
              for g_warning, g_error and g_message are only provided for backwards
              compatibility and might get removed somewhen.
      
              * Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
              to "GLib" upon compilation. we currently have to add this definition
              to the DEFS variable.
              * testglib.c: we need an ugly #undef G_LOG_DOMAIN at the start
              of this file currently, since automake doesn't support per target
              _CFLAGS yet.
      
              * glib.h: changed some gints to gbooleans, made a few const corrections,
              removed some superfluous G_STMT_START{}G_STMT_END wrappers, added some
              in other required places.
      
              * gnode.c:
              (g_node_prepend):
              (g_node_insert_before):
              (g_node_insert):
              (g_node_append_data):
              (g_node_prepend_data):
              (g_node_insert_data_before):
              (g_node_insert_data):
              (g_node_append):
              return (node), so these macros/functions can be usefully chained with
              g_node_new().
      
      [GModule]
      Fri Aug 14 02:24:39 1998  Tim Janik  <timj@gtk.org>
      
              * Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
              to "GModule" upon compilation. we currently have to add this definition
              to the DEFS variable.
              * testgmodule.c: we need an ugly #undef G_LOG_DOMAIN at the start
              of this file currently, since automake doesn't support per target
              _CFLAGS yet.
      d5803865
  27. 05 Aug, 1998 1 commit
  28. 04 Aug, 1998 1 commit
    • Tim Janik's avatar
      version bump to 1.1.1, binary age 1, interface age 0. updates. updates. · 16b83a9a
      Tim Janik authored
      Tue Aug  4 15:17:54 1998  Tim Janik  <timj@gtk.org>
      
              * configure.in: version bump to 1.1.1, binary age 1, interface age 0.
              * NEWS: updates.
              * README: updates.
              * INSTALL: updates and fixes.
              * COPYING: include the GNU LGPL, rather than shipping an empty file.
              * AUTHORS: listed original authors here, and added people who made
              significant improvements to glib.
      
              * glib.h:
              * gutils.c: implement g_get_current_dir() which returns a newly
              allocated string, instead of a g_getcwd() variant that operates
              on a static buffer.
              export glib_interface_age and glib_binary_age.
              as a convenience, macro definitions have been added for
              g_node_insert_data, g_node_insert_data_before, g_node_append_data and
              g_node_prepend_data.
      
              * testglib.c: minor cleanups, print current dir.
      16b83a9a
  29. 31 Jul, 1998 1 commit
    • Tim Janik's avatar
      added a GNode test. · 5272119c
      Tim Janik authored
      Fri Jul 31 22:17:05 1998  Tim Janik  <timj@gtk.org>
      
              * testglib.c (g_node_test): added a GNode test.
      
      Fri Jul 31 09:08:16 1998  Tim Janik  <timj@gtk.org>
      
              * Makefile.am: compile gnode.c.
      
              * glib.h:
              * gnode.c: added implementation of n-way trees.
      
              * gtree.c (g_tree_traverse): added a warning to the switch() statement
              which says that G_LEVEL_ORDER is not implemented.
      5272119c
  30. 14 Jul, 1998 1 commit
  31. 18 Jun, 1998 1 commit
  32. 12 Jun, 1998 1 commit
    • Josh MacDonald's avatar
      [Changes from josh to sync with his glib stuff -Yosh] · df9a49ec
      Josh MacDonald authored
      Fri Jun 12 00:39:28 1998  Josh MacDonald  <jmacd@icw.EECS.Berkeley.EDU>
      
              * glib.h: add new hash and equal functions g_int_*.  complement
              g_direct_hash with g_direct_equal.
      
              * grel.c: new file, GRelations implement tuples of N-N mappings.
              A comment in glib.h briefly describes the interface.
      
              * ghash.c: new function, g_hash_table_size
      
              * glib.h: new typedefs, gsize, gssize, gtime.
      
              * garray.c: new functions implementing a simplified GArray.  This
              GPtrArray is an array of gpointers and has functions to add and
              remove elements, much like java.lang.Vector.
      
              * garray.c: new functions for the single-byte special case of
              GArray.  The functions g_byte_array* operate on arrays of bytes.
              Internally, a GArray is used.
      
              * testglib.c: tests for g_ptr_array, g_byte_array, and g_relation...
      df9a49ec
  33. 10 Jun, 1998 1 commit