1. 30 Sep, 1998 1 commit
    • Tim Janik's avatar
      added ghook.c. · 48adba28
      Tim Janik authored
      Wed Sep 30 10:53:03 1998  Tim Janik  <timj@gtk.org>
      
              * Makefile.am: added ghook.c.
      
              * glib.h:
              * ghook.c: generic callback maintenance functions.
      
              * glib.h: define G_GNUC_UNUSED.
      48adba28
  2. 15 Sep, 1998 1 commit
  3. 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
  4. 10 Aug, 1998 1 commit
    • Tim Janik's avatar
      minor hack to cause SUBDIRS (gmodule) to be build last. we do this by · 52f1266e
      Tim Janik authored
      Mon Aug 10 02:17:19 1998  Tim Janik  <timj@gtk.org>
      
              * Makefile.am: minor hack to cause SUBDIRS (gmodule) to be build
              last. we do this by making all-recursive-am depend on all-am.
      
      Mon Aug 10 02:18:31 1998  Tim Janik  <timj@gtk.org>
      
              * Makefile.am (lib_LTLIBRARIES): for now, skip the dependency on
              -lglib for libgmodule-1.1.la, libgplugin_a.la and libgplugin_b.la
              since this clashes with inter-library-dependencies for not installed
              libraries. glib-config takes care of this for the usuall case, but
              there needs to be a better way...
      52f1266e
  5. 09 Aug, 1998 1 commit
  6. 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
  7. 27 Jul, 1998 1 commit
  8. 10 Jul, 1998 1 commit
    • Tim Janik's avatar
      added a bunch of utility/wrapper functions: g_basename(), g_getcwd(), · 49ae057a
      Tim Janik authored
      Fri Jul 10 06:33:43 1998  Tim Janik  <timj@gtk.org>
      
              * glib.h:
              * gutils.h: added a bunch of utility/wrapper functions:
              g_basename(), g_getcwd(), g_get_user_name(), g_get_real_name(),
              g_get_home_dir(), g_get_tmp_dir(), g_get_prgname() and g_set_prgname().
      
              * gutils.c: removed all g_str* functions.
              * gstrfuncs.c: moved the bunch g_str* functions from gutils.c in this
              place. this file shall never include <stdlib.h> to avoid clashes for
              some of the g_str* functions on some OSes.
      49ae057a
  9. 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
  10. 10 Jun, 1998 1 commit