1998-12-02 06:30:22 +01:00
|
|
|
Overview of Changes in GLib 1.1.6:
|
|
|
|
|
|
|
|
* New GDate functionality for calendar date manipulations (g_date_*)
|
|
|
|
* New GAllocator type and assocated functions
|
|
|
|
* New functions g_slist_copy and g_list_copy to duplicate a list with all
|
|
|
|
its data pointers.
|
|
|
|
* New function g_array_insert_vals and new macro g_array_insert_val to
|
|
|
|
insert elements at an arbitrary index
|
|
|
|
* GAllocators used for glist, gslist, gnode node allocations
|
|
|
|
* Incremental freezing in ghash
|
|
|
|
* New function g_hook_list_marshal_check to eventually destroy hooks after
|
|
|
|
they got marshalled
|
1998-12-09 01:59:14 +01:00
|
|
|
* Revised GIOChannel to provide generic virtual-function based interface
|
|
|
|
* Added generic main-loop abstraction
|
1998-12-02 06:30:22 +01:00
|
|
|
* Removed GListAllocator type and its g_*_allocator_*() function variants
|
|
|
|
* Bug fixes
|
|
|
|
|
1998-11-23 02:37:32 +01:00
|
|
|
Overview of Changes in GLib 1.1.5:
|
|
|
|
|
|
|
|
* Win32 portability
|
|
|
|
* GIOChannel structure to encapsulate the IPC mechanism
|
|
|
|
* Reimplemented endian stuff, using inline asm for x86
|
|
|
|
* New functions:
|
|
|
|
- g_strescape: escapes backslashes
|
|
|
|
- g_path_is_absolute and g_path_skip_root
|
|
|
|
- g_getenv: expands environment variables that contain references
|
|
|
|
to other environment variables
|
|
|
|
- g_scanner_sync_file_offset: rewind the filedescriptor to the current
|
|
|
|
buffer position and blow the file read ahead buffer
|
|
|
|
- g_array_remove_index: remove an entry, preserving the order
|
|
|
|
- g_array_remove_index_fast: remove an entry, order might be distorted
|
|
|
|
- g_ptr_array_remove: remove an entry, preserving the order
|
|
|
|
- g_ptr_array_remove_fast: remove an entry, order might be distorted
|
|
|
|
- g_byte_array_remove_index: wrapper for g_array_remove_index
|
|
|
|
- g_byte_array_remove_index_fast: wrapper for g_array_remove_index_fast
|
|
|
|
- g_strncasecmp: modeled closely after g_strcasecmp
|
|
|
|
- g_list_sort, g_slist_sort: to merge sort GLists and GSLists
|
|
|
|
* New macros:
|
|
|
|
- G_DIR_SEPARATOR, G_DIR_SEPARATOR_S: platform-dependant file name
|
|
|
|
syntax elements
|
|
|
|
- G_SEARCHPATH_SEPARATOR, G_SEARCHPATH_SEPARATOR_S: platform-dependant
|
|
|
|
search path syntax conventions
|
|
|
|
- G_STRUCT_OFFSET, G_STRUCT_MEMBER_P, G_STRUCT_MEMBER: for handling
|
|
|
|
structure fields through their offsets
|
|
|
|
* Removed G_ENUM, G_FLAGS, G_NV, and G_SV macros
|
|
|
|
* Bug fixes
|
|
|
|
|
1998-10-25 09:20:31 +01:00
|
|
|
Overview of Changes in GLib 1.1.4:
|
|
|
|
|
|
|
|
* Added generic callback maintenance functions (ghook)
|
|
|
|
* New endian defines (G_*_ENDIAN)
|
|
|
|
* New string join/split/free routines
|
|
|
|
* Fixes
|
|
|
|
|
version bump to 1.1.3, binary age 0, interface age 0.
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.
1998-08-16 23:14:11 +02:00
|
|
|
Overview of Changes in GLib 1.1.3:
|
|
|
|
|
1998-09-21 04:32:30 +02:00
|
|
|
* New GModule mechanism (implemented in an extra library) which wraps dynamic
|
|
|
|
object code loading facilities in a portable manner.
|
|
|
|
* glib-config features extra "glib" (old behaviour remains) and "gmodule"
|
|
|
|
(add libgmodule.so to the --libs output) arguments now. this can also
|
|
|
|
be specified as fourth argument to the AM_PATH_GLIB() macro.
|
|
|
|
* Overhaul of the `inline' autoconfiguration stuff, so inlining should be
|
|
|
|
sufficiently supported on all systems that allow inlining now.
|
version bump to 1.1.3, binary age 0, interface age 0.
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.
1998-08-16 23:14:11 +02:00
|
|
|
* New g_log() mechanism for logging of messages at different log levels,
|
1998-09-21 04:32:30 +02:00
|
|
|
associated with certain log domains (define -DG_LOG_DOMAIN for your library).
|
removed this function which was not publically exported in glib.h. to
Mon Aug 24 02:08:56 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gstring.c:
* gstrfuncs.c:
(g_vsprintf): removed this function which was not publically
exported in glib.h. to export it, it should have been named
differently in the first place, since its semantics differ from
vsprintf(). apart from that, it was a possible cause for
problems since it worked on a previously allocated memory area and
was used in a lot places of glib. exporting it would have been a
guararant for problems with threaded programs.
(g_printf_string_upper_bound): exported this function to return
a string size, guarranteed to be big enough to hold the fully
expanded format+args string. added 'q', 'L' and 'll' flag handling.
in fact, the newly allocated area is in most cases much bigger than
required.
(g_strdup_vprintf()): new function returning a newly allocated string
containing the contents of *format and associated args (size is
calculated with g_printf_string_upper_bound()).
(g_strdup_printf): new function which wraps g_strdup_vprintf().
* configure.in: check for va_copy() or __va_copy() alternatively.
check whether va_lists can be copyied by value.
* glib.h: provide a definition for G_VA_COPY.
* glib.h:
* gmessages.c:
(g_logv):
(g_vsnprintf):
pass va_lists by value, not by reference, since this causes problems
on platforms that implement va_list as as arrays. internaly, use
G_VA_COPY (new_arg, org_arg); va_end (new_arg); to produce a second
va_list variable, if multiple passes are required. changed all
callers.
* glib.h:
* gerror.h:
renamed g_debug() to g_on_error_query(), cleaned up a bit.
renamed g_stack_trace() to g_on_error_stack_trace() since both
functions cluttered different namespaces.
there is an appropriate comment in glib.h now that explains the
unix and gdb specific dependencies of both functions.
removed g_attach_process().
g_on_error_stack_trace() should probably be handled with caution,
i've seem several different linux versions (2.0.x) become unstable
after invokation of this function.
1998-08-24 07:26:53 +02:00
|
|
|
* New inline functions for bit masks tests.
|
1998-09-21 04:32:30 +02:00
|
|
|
* GNode macros (and functions) now return the newly allocated node.
|
removed this function which was not publically exported in glib.h. to
Mon Aug 24 02:08:56 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gstring.c:
* gstrfuncs.c:
(g_vsprintf): removed this function which was not publically
exported in glib.h. to export it, it should have been named
differently in the first place, since its semantics differ from
vsprintf(). apart from that, it was a possible cause for
problems since it worked on a previously allocated memory area and
was used in a lot places of glib. exporting it would have been a
guararant for problems with threaded programs.
(g_printf_string_upper_bound): exported this function to return
a string size, guarranteed to be big enough to hold the fully
expanded format+args string. added 'q', 'L' and 'll' flag handling.
in fact, the newly allocated area is in most cases much bigger than
required.
(g_strdup_vprintf()): new function returning a newly allocated string
containing the contents of *format and associated args (size is
calculated with g_printf_string_upper_bound()).
(g_strdup_printf): new function which wraps g_strdup_vprintf().
* configure.in: check for va_copy() or __va_copy() alternatively.
check whether va_lists can be copyied by value.
* glib.h: provide a definition for G_VA_COPY.
* glib.h:
* gmessages.c:
(g_logv):
(g_vsnprintf):
pass va_lists by value, not by reference, since this causes problems
on platforms that implement va_list as as arrays. internaly, use
G_VA_COPY (new_arg, org_arg); va_end (new_arg); to produce a second
va_list variable, if multiple passes are required. changed all
callers.
* glib.h:
* gerror.h:
renamed g_debug() to g_on_error_query(), cleaned up a bit.
renamed g_stack_trace() to g_on_error_stack_trace() since both
functions cluttered different namespaces.
there is an appropriate comment in glib.h now that explains the
unix and gdb specific dependencies of both functions.
removed g_attach_process().
g_on_error_stack_trace() should probably be handled with caution,
i've seem several different linux versions (2.0.x) become unstable
after invokation of this function.
1998-08-24 07:26:53 +02:00
|
|
|
* New macro G_VA_COPY() to work around va_list copying oddities on some
|
|
|
|
platforms. the non-static g_vsprintf() function vanished in favour of
|
|
|
|
a publically exported g_strdup_vprintf().
|
1998-09-21 04:32:30 +02:00
|
|
|
People that used the former g_vsprintf() would definitely want to read the
|
|
|
|
associated ChangeLog entries (grep for printf).
|
|
|
|
* New utility functions:
|
|
|
|
g_strndup(), g_on_error_query(), g_on_error_stack_trace(), g_strdup_printf(),
|
|
|
|
g_strdup_vprintf(), g_printf_string_upper_bound(), g_spaced_primes_closest(),
|
|
|
|
g_strnfill(), g_memdup().
|
|
|
|
* Overhaul of the array implementations, this contains some source incompatible
|
|
|
|
changes. Again, the ChangeLog is much more informative (grep for garray.c).
|
|
|
|
* The internals of the g_dataset mechanism are now exported through the
|
|
|
|
new g_datalist_* API (this is also the underlying implementation for the
|
|
|
|
keyed data of GtkObjects).
|
|
|
|
* New function g_atexit(), use of the ATEXIT() macro is discouraged.
|
|
|
|
* Better configure checks for ansi compliance.
|
|
|
|
* Libtool update to version 1.2b.
|
removed this function which was not publically exported in glib.h. to
Mon Aug 24 02:08:56 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gstring.c:
* gstrfuncs.c:
(g_vsprintf): removed this function which was not publically
exported in glib.h. to export it, it should have been named
differently in the first place, since its semantics differ from
vsprintf(). apart from that, it was a possible cause for
problems since it worked on a previously allocated memory area and
was used in a lot places of glib. exporting it would have been a
guararant for problems with threaded programs.
(g_printf_string_upper_bound): exported this function to return
a string size, guarranteed to be big enough to hold the fully
expanded format+args string. added 'q', 'L' and 'll' flag handling.
in fact, the newly allocated area is in most cases much bigger than
required.
(g_strdup_vprintf()): new function returning a newly allocated string
containing the contents of *format and associated args (size is
calculated with g_printf_string_upper_bound()).
(g_strdup_printf): new function which wraps g_strdup_vprintf().
* configure.in: check for va_copy() or __va_copy() alternatively.
check whether va_lists can be copyied by value.
* glib.h: provide a definition for G_VA_COPY.
* glib.h:
* gmessages.c:
(g_logv):
(g_vsnprintf):
pass va_lists by value, not by reference, since this causes problems
on platforms that implement va_list as as arrays. internaly, use
G_VA_COPY (new_arg, org_arg); va_end (new_arg); to produce a second
va_list variable, if multiple passes are required. changed all
callers.
* glib.h:
* gerror.h:
renamed g_debug() to g_on_error_query(), cleaned up a bit.
renamed g_stack_trace() to g_on_error_stack_trace() since both
functions cluttered different namespaces.
there is an appropriate comment in glib.h now that explains the
unix and gdb specific dependencies of both functions.
removed g_attach_process().
g_on_error_stack_trace() should probably be handled with caution,
i've seem several different linux versions (2.0.x) become unstable
after invokation of this function.
1998-08-24 07:26:53 +02:00
|
|
|
* Lotsa bug fixes and cleanups as always ;)
|
version bump to 1.1.3, binary age 0, interface age 0.
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.
1998-08-16 23:14:11 +02:00
|
|
|
|
1998-08-05 19:05:38 +02:00
|
|
|
Overview of Changes in GLib 1.1.2:
|
|
|
|
|
|
|
|
* Fixed packaging mistake which occured in 1.1.1
|
|
|
|
* fix 64-bitness in g_prints in glibtest
|
|
|
|
|
version bump to 1.1.1, binary age 1, interface age 0. updates. updates.
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.
1998-08-04 16:26:27 +02:00
|
|
|
What is new in GLib 1.1.1:
|
|
|
|
|
|
|
|
* An n-way tree implementation is provided now, based on the GNode structure.
|
|
|
|
* Bugfix for pointer arrays.
|
|
|
|
|
1998-07-27 03:56:45 +02:00
|
|
|
What is new in GLib 1.1.0:
|
|
|
|
|
|
|
|
* GLib is distributed seperatedly from Gtk+ now and uses a sophisticated
|
|
|
|
shared library versioning scheme to deal with interface and binary
|
|
|
|
incompatibilities.
|
|
|
|
* There is a glib-config helper script installed now.
|
|
|
|
* Fixups all over the place.
|
|
|
|
* gboolean is now a gint, not a gchar anymore.
|
|
|
|
* API extensions for GList and GSList.
|
|
|
|
* New g_str*() functions for simple string handling.
|
|
|
|
* GScanner extensions for scope, warning and error handling.
|
|
|
|
* Minor performance improvements for GMemChunks.
|
|
|
|
* Implementations of GQuarks and datasets (similar to GtkObjects data
|
|
|
|
mechansim, but works for generic memory locations).
|
|
|
|
* More convenience macros for GNU C function arguments.
|
|
|
|
* Const correction all over the place, including a new pointer type
|
|
|
|
gconstpointer.
|
|
|
|
* Generic functions for TAB completions.
|
|
|
|
* GRelations for n-way mapping of certain data.
|