Owen Taylor [Wed, 16 Dec 1998 05:09:17 +0000 (05:09 +0000)]
Overview of Changes in GLib 1.1.8:
* Added threading support
- The ability to specify a set of functions to be used for
locking at runtime.
- Default implementations of locking functions for pthreads,
Solaris threads, and (experimentally) NSPR.
- All static variables should now properly locked.
- Enhancements to the generic main-loop mechanism to be thread-safe.
(It is used for the main-loop in GTK+ as of GTK+-1.1.8)
* Portability fixes.
Joel Becker [Wed, 16 Dec 1998 03:32:14 +0000 (03:32 +0000)]
fixed error for AIX thread detection
Tim Janik [Wed, 16 Dec 1998 01:29:18 +0000 (01:29 +0000)]
fixed library and flag ordering for --libs
Wed Dec 16 02:02:48 1998 Tim Janik <timj@gtk.org>
* glib-config.in (lib_glib): fixed library and flag ordering for
--libs
Owen Taylor [Tue, 15 Dec 1998 22:30:15 +0000 (22:30 +0000)]
Use an "inheritance" scheme for IO channel memory allocation.h
Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
* glib.h giounix.c giochannel.c: Use an "inheritance"
scheme for IO channel memory allocation.h
Elliot Lee [Tue, 15 Dec 1998 21:16:24 +0000 (21:16 +0000)]
-fstack-check generates non-working code for at least a few compilers
-fstack-check generates non-working code for at least a few compilers
(egcs 1.1 included) and the benefits are dubious (your program is going to
crash anyways if you run out of stack) so comment that out for now.
Havoc Pennington [Tue, 15 Dec 1998 18:50:53 +0000 (18:50 +0000)]
Solaris has a broken strftime that produced garbage output for the test
1998-12-15 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
that produced garbage output for the test date I was using to
set up the parser. So use a different date that Solaris seems
to like.
Martin Baulig [Tue, 15 Dec 1998 18:23:20 +0000 (18:23 +0000)]
This is no valid shell syntax:
for module in ; do
So we add a `.' in front of the $4 to make it look like this:
for module in . $4 ; do
This works even if $4 is empty ...
Sebastian Wilhelmi [Tue, 15 Dec 1998 17:50:47 +0000 (17:50 +0000)]
Dont complain, if --without-threads or --with-threads=none is supplied;
1998-12-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Dont complain, if --without-threads or
--with-threads=none is supplied; Test for pthread_attr_init
instead of pthread_cond_init, if threads seems to be supported by
standard glib. (CFLAGS): Use G_THREAD_CFLAGS for compiling of glib
as well.
* glib.h, gmutex.c: Changed private to private_key to avoid
problems when compiling with under C++.
Sebastian Wilhelmi [Tue, 15 Dec 1998 17:49:30 +0000 (17:49 +0000)]
updated.
1998-12-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* Makefile.am (EXTRA_DIST): updated.
* testgthread.c, gthread-*.c: Changed private to private_key to
avoid problems when compiling with under C++.
Jeff Garzik [Tue, 15 Dec 1998 17:18:39 +0000 (17:18 +0000)]
Bugfixes to autoconf thread lib detection
Sebastian Wilhelmi [Tue, 15 Dec 1998 16:47:31 +0000 (16:47 +0000)]
s/g_mutex_functions_for_glib_use/g_thread_functions_for_glib_use/
1998-12-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gthread-none.c:
s/g_mutex_functions_for_glib_use/g_thread_functions_for_glib_use/
* ChangeLog: from now on there is an extra ChangeLog for gthread
Jeff Garzik [Tue, 15 Dec 1998 15:47:13 +0000 (15:47 +0000)]
Fixed --with-threads, small 64-bit prob
Owen Taylor [Tue, 15 Dec 1998 15:40:01 +0000 (15:40 +0000)]
Make sure all calls to g_node_validate_allocator are within
Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gnode.c glist.c gslist.c: Make sure all
calls to g_node_validate_allocator are within
current_allocator lock, so we have consistency
on that point. (Should not really matter,
but this way we match the comments)
* glist.c (g_list_free_1): Removed some lines
that should never have been committed. (For
debugging)
Owen Taylor [Tue, 15 Dec 1998 05:28:02 +0000 (05:28 +0000)]
This commit merges the glib-threads branch into the main
branch. See the ChangeLog for details of the changes.
In brief overview:
- The set of threading functions can be set
- A default implementation is provided in -lgthread
- All static data structures are locked using these
functions if g_thread_init() is called.
Tim Janik [Sun, 13 Dec 1998 00:09:27 +0000 (00:09 +0000)]
always define G_HAVE_INLINE if __cplusplus is defined, reported by Wan-Teh
Sat Dec 12 19:08:59 1998 Tim Janik <timj@gtk.org>
* configure.in: always define G_HAVE_INLINE if __cplusplus is
defined, reported by Wan-Teh Chang <wtc@netscape.com>.
CST 1998 Shawn T. Amundson [Fri, 11 Dec 1998 06:10:08 +0000 (06:10 +0000)]
Released GLib 1.1.7
Thu Dec 10 21:49:39 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.7
* INSTALL:
NEWS:
README:
configure.in:
glib.spec:
docs/glib-config.1: Increased version to 1.1.7
Joel Becker [Thu, 10 Dec 1998 03:54:27 +0000 (03:54 +0000)]
removed redefinition of G_COMPILED_WITH_DEBUGGING from glibconfig.h
CST 1998 Shawn T. Amundson [Wed, 9 Dec 1998 00:59:14 +0000 (00:59 +0000)]
Released GLib 1.1.6
Tue Dec 8 12:18:38 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.6
* NEWS: updated
Manish Singh [Tue, 8 Dec 1998 07:11:54 +0000 (07:11 +0000)]
fixes to #undef HAVE_POLL case
-Yosh
Martin Baulig [Sat, 5 Dec 1998 14:43:27 +0000 (14:43 +0000)]
When creating glibconfig.h, we need to include <sys/types.h> before
<sys/poll.h> for NetBSD.
Manish Singh [Thu, 3 Dec 1998 03:37:42 +0000 (03:37 +0000)]
shut up CVS
-Yosh
Havoc Pennington [Wed, 2 Dec 1998 23:47:02 +0000 (23:47 +0000)]
If Julian is valid, we have to update the dmy representation before
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_set_month): If Julian is valid, we have to
update the dmy representation before setting the components
of it.
(g_date_set_day): Same.
(g_date_set_year): Same.
Havoc Pennington [Wed, 2 Dec 1998 23:45:17 +0000 (23:45 +0000)]
Forgot this, last ChangeLog covers it (added testgdate, testgdateparser)
Havoc Pennington [Wed, 2 Dec 1998 20:20:35 +0000 (20:20 +0000)]
Two new files. This is kind of ugly code, but I want to go ahead and make
1998-12-02 Havoc Pennington <hp@pobox.com>
* testgdate.c, testgdateparser.c: Two new files. This is kind of
ugly code, but I want to go ahead and make the tests available.
It isn't contaminating any other code. :-) Since one of these
is interactive and the other takes a while to run, I've kept
them separate from testglib for now.
* Makefile.am: Build gdate test programs.
Havoc Pennington [Wed, 2 Dec 1998 19:54:48 +0000 (19:54 +0000)]
Oops, I copied this into the log message but didn't commit the file.
Havoc Pennington [Wed, 2 Dec 1998 18:47:10 +0000 (18:47 +0000)]
Rely on GDate::dmy and GDate::Julian flags, rather than re-checking the
1998-12-02 Havoc Pennington <hp@pobox.com>
* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
flags, rather than re-checking the validity of the actual
values. This should be the correct behavior, the old way was
leftover cruft.
* glib.h, gdate.c: Changed MDY to DMY throughout.
Owen Taylor [Wed, 2 Dec 1998 14:55:27 +0000 (14:55 +0000)]
Merge main loop into head. This probably breaks Win32, until
someone does the necessary updates.
Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
* Makefile.am configure.in acconfig.h giochannel.c
glib.h glist.c gmain.c gutils.c:
- Revised GIOChannel to provide a generic virtual-function
based interface.
- Added unix fd-based GIOChannel's
- Added generic main-loop abstraction
- Added timeouts and idle functions using main-loop abstraction.
Sebastian Wilhelmi [Wed, 2 Dec 1998 09:07:18 +0000 (09:07 +0000)]
changed `gpointer struct_tm_p' parameter of g_date_to_struct_tm back to
1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h:
* gdate.c: changed `gpointer struct_tm_p' parameter of
g_date_to_struct_tm back to `struct tm *tm' and forward declared
`struct tm' in glib.h; yes, this is nice, we still need not
include time.h.
CST 1998 Shawn T. Amundson [Wed, 2 Dec 1998 05:30:22 +0000 (05:30 +0000)]
NEWS: README: glib.spec: docs/glib-config.1: Incremented versions to
Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
README:
glib.spec:
docs/glib-config.1: Incremented versions to 1.1.6.
Tim Janik [Wed, 2 Dec 1998 02:24:14 +0000 (02:24 +0000)]
s/time_t/GTime/ and s/g_print/g_message/ include time.h.
Wed Dec 2 02:10:59 1998 Tim Janik <timj@gtk.org>
* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
include time.h.
* glib.h: removed #include <time.h>, changed time_t paramter of
g_date_set_time() to time_t, changed struct tm parameter of
g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
nice, but including time.h actually breaks a bunch of code.
Havoc Pennington [Tue, 1 Dec 1998 20:24:32 +0000 (20:24 +0000)]
There are outstanding issues, but they should be resolvable in-place. If
this breaks something let me know and I will fix it.
1998-11-30 Havoc Pennington <hp@pobox.com>
* gdate.c: New file, implements calendrical calculations.
* glib.h: Added declarations for GDate module.
Tim Janik [Mon, 30 Nov 1998 07:08:54 +0000 (07:08 +0000)]
added g_hook_list_marshal_check() to eventually destroy hooks after they
Mon Nov 30 07:12:10 1998 Tim Janik <timj@gtk.org>
* glib.h:
* ghook.c: added g_hook_list_marshal_check() to eventually destroy
hooks after they got marshalled.
Jeff Garzik [Sun, 29 Nov 1998 22:47:07 +0000 (22:47 +0000)]
Put -DFOO stuff into Makefile.am INCLUDES.
Manish Singh [Sun, 29 Nov 1998 22:21:13 +0000 (22:21 +0000)]
put debug -DFOO stuff into CPPFLAGS, not CFLAGS, so CFLAGS can be
* configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
so CFLAGS can be overridden at make time properly
-Yosh
Tim Janik [Sat, 28 Nov 1998 01:54:54 +0000 (01:54 +0000)]
implemented incremental freezing facility.
Sat Nov 28 01:23:25 1998 Tim Janik <timj@gtk.org>
* ghash.c: implemented incremental freezing facility.
Tim Janik [Thu, 26 Nov 1998 00:42:14 +0000 (00:42 +0000)]
reverted the g_hash_table_set_key_freefunc() addition, since it's to
Thu Nov 26 01:36:20 1998 Tim Janik <timj@gtk.org>
* glib.h:
* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
since it's to specialized and needs to be resolved in a generic
fashion.
Jeff Garzik [Wed, 25 Nov 1998 17:32:21 +0000 (17:32 +0000)]
Replaced pushd and popd with equivalent shell code.
pushd and popd are not supported outside of bash (and csh?).
Elliot Lee [Wed, 25 Nov 1998 16:33:18 +0000 (16:33 +0000)]
Use the proper $srcdir method instead of the $OBJ_DIR hack for allowing
Use the proper $srcdir method instead of the $OBJ_DIR hack for allowing
separate build dirs.
PST 1998 Manish Singh [Wed, 25 Nov 1998 03:02:56 +0000 (03:02 +0000)]
applied glib-tml-981120-0, change log appended below.
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
* applied glib-tml-981120-0, change log appended below.
* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
infers them
Fri Nov 20 22:26:43 1998 Tor Lillqvist <tml@iki.fi>
* glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
added. Added "extern" to __declspec(dllimport).
* gutils.c: Initialise need_wakeups.
* glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
* gmodule/gmodule.def: Added g_module_build_path.
* gscanner.c: (g_scanner_cur_value) Move initailisation of v
to before its use.
* glib.def: Added g_(s)list_sort.
* makefile.msc: A few more comments.
-Yosh
EST 1998 Michael K. Johnson [Tue, 24 Nov 1998 19:38:17 +0000 (19:38 +0000)]
added GFreeFunc and g_hash_table_set_key_freefunc() prototype. added
Tue Nov 24 14:05:47 EST 1998 Michael K. Johnson <johnsonm@redhat.com>
* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
prototype.
* ghash.c: added g_hash_table_set_key_freefunc() implementation.
Modified the prototypes of the functions g_hash_node_destroy() and
g_hash_nodes_destroy(), and changed the functions that call them
to match the new definitions.
This changes no external interfaces, and should create no binary
or source incompatibilities. It does add a member to the
GHashTable structure.
Tim Janik [Tue, 24 Nov 1998 12:18:22 +0000 (12:18 +0000)]
removed the GListAllocator type and its g_*_allocator_*() function
Tue Nov 24 09:40:00 1998 Tim Janik <timj@gtk.org>
* glib.h: removed the GListAllocator type and its g_*_allocator_*()
function variants (which weren't working anyways) in favour of a
generic GAllocator type. new functions:
g_allocator_new, g_allocator_free, g_slist_push_allocator,
g_slist_pop_allocator, g_list_push_allocator, g_list_pop_allocator,
g_node_push_allocator and g_node_pop_allocator.
* gstring.c: removed bogus slist allocator code.
* gtree.c: maintain own list of free tree nodes and don't waste
GSLists for that, removed bogus slist allocator code.
* glist.c: use GAllocators for node allocation.
* gslist.c: use GAllocators for node allocation.
* gnode.c: use GAllocators for node allocation.
* gdataset.c: cleanups wrt automatic initialization.
Owen Taylor [Mon, 23 Nov 1998 15:02:44 +0000 (15:02 +0000)]
added g_array_insert_vals() to insert elements at an arbitrary index, and
Mon Nov 23 10:03:58 1998 Owen Taylor <otaylor@gtk.org>
* glib.h garray.[ch]: added g_array_insert_vals() to
insert elements at an arbitrary index, and
g_array_insert_val() macro.
Tim Janik [Mon, 23 Nov 1998 01:52:07 +0000 (01:52 +0000)]
new function g_slist_copy() to duplicate a list with all its data
Sun Nov 22 17:07:03 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gslist.c: new function g_slist_copy() to duplicate a list with all its
data pointers.
* glist.c: new function g_list_copy.
CST 1998 Shawn T. Amundson [Mon, 23 Nov 1998 01:37:32 +0000 (01:37 +0000)]
NEWS: README: configure.in: glib.spec: Updated to version 1.1.5
Sat Nov 21 14:57:39 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
NEWS:
README:
configure.in:
glib.spec: Updated to version 1.1.5
* Released GLib 1.1.5
Tim Janik [Fri, 20 Nov 1998 13:49:35 +0000 (13:49 +0000)]
added empty default imlementation so gmodule.so compiles on systems that
Fri Nov 20 14:43:44 1998 Tim Janik <timj@gtk.org>
* gmodule.c (_g_module_build_path): added empty default imlementation
so gmodule.so compiles on systems that are not yet supported, fix from
Erik Bagfors <bagfors@hpc2n.umu.se>.
Elliot Lee [Fri, 20 Nov 1998 04:21:44 +0000 (04:21 +0000)]
allow setting $OBJ_DIR to specify building in a subdir
Gregory McLean [Thu, 19 Nov 1998 20:29:20 +0000 (20:29 +0000)]
Removed per request.
-- Greg
Elliot Lee [Thu, 19 Nov 1998 04:52:26 +0000 (04:52 +0000)]
Fix for g_datalist_id_set_full() use (error is deeper down, some internal
Fix for g_datalist_id_set_full() use (error is deeper down, some internal
funcs weren't checking that things were initialized.)
Ben Gertzfield [Wed, 18 Nov 1998 05:32:06 +0000 (05:32 +0000)]
add -b (binary-only; no source packages) flag to dpkg-buildpackage
Ben Gertzfield [Wed, 18 Nov 1998 04:38:45 +0000 (04:38 +0000)]
libglib-cvs-dev now Provides: and Replaces libglib-dev. Changed
Conflicts: fron libglib1.1-dev to libglib-dev (no such thing as
libglib1.1-dev)
Ben Gertzfield [Wed, 18 Nov 1998 04:22:53 +0000 (04:22 +0000)]
Forgot a newline in a print statement in build
Ben Gertzfield [Tue, 17 Nov 1998 09:24:21 +0000 (09:24 +0000)]
Added Debian CVS build scripts. To build a snapshot Debian release,
simply run, from within the top level of the glib directory:
[ben@gilgamesh:~/src/gtk-snap/glib]% debian/build 1:16AM
This will build a Debian snapshot release, updating debian/changelog, and
place the resultant .debs in .. (~/src/gtk-snap/ in this example).
The version numbers are automatically updated, and look like:
YYYYMMDD.XX
where YYYY is the four-digit year (Y10K problem!) and MM is the
month (01-12) and DD is the day (01-31). XX is the build number;
it starts at 01 and debian/build increments it if you build from
CVS more than once in a day. If you're doing more than 99 CVS
builds in one day you need your head checked.
*NOTE*! The debian/build script I've written does not check in the
changes it has made to debian/changelog; that'd be scary and probably
generate too many log files all the time.
This really doesn't matter *too* much, since debian/changelog is
kind of irrelevant with CVS builds. Just know that the scant
information that is in there will not be updated via CVS.
Also, for obvious reasons, the debian/build script I've written
disables PGP signing of the resultant .changes and .dsc file.
Since these packages are not going into any archives, this will
not be a problem.
Of course, all this doesn't mean much to you if you don't have the
Debian dpkg-dev tools and debhelper installed, so don't worry if
you have no idea what I'm talking about. :)
Tim Janik [Mon, 16 Nov 1998 07:45:10 +0000 (07:45 +0000)]
fixed off-by-one error, so we don't waste a loop iteration if (-1) was
Mon Nov 16 07:48:06 1998 Tim Janik <timj@gtk.org>
* glib.h (g_bit_nth_msf): fixed off-by-one error, so we don't waste
a loop iteration if (-1) was passed, reported by Andreas Bombe
<andreas.bombe@munich.netsurf.de>.
Nuno Ferreira [Fri, 13 Nov 1998 21:57:55 +0000 (21:57 +0000)]
Put -I$(top_srcdir) back into INCLUDES.
* Put -I$(top_srcdir) back into INCLUDES.
Owen Taylor [Fri, 13 Nov 1998 20:50:41 +0000 (20:50 +0000)]
Added g_list_sort() and g_slist_sort() to merge sort GLists and GSLists.
Fri Nov 13 15:17:34 1998 Owen Taylor <otaylor@redhat.com>
* glist.c gslist.c glib.h: Added g_list_sort() and
g_slist_sort() to merge sort GLists and GSLists.
Submitted by Sven Over <sven.over@ob.kamp.net>
over a year ago!
* testglib.c: Test the new sort functions.
Jeff Garzik [Thu, 12 Nov 1998 04:28:52 +0000 (04:28 +0000)]
INCLUDES is the right way to add to CFLAGS, not DEFS. Also there are bugs
INCLUDES is the right way to add to CFLAGS, not DEFS.
Also there are bugs with '+=' in makefiles.
Got rid of DEFS line by moving G_LOG_DOMAIN setting into INCLUDES.
Removed redundant -I from INCLUDES.
This fixes an annoying bug where autoconf's DEFS, which includes
the important -DHAVE_CONFIG_H, was lost. (due to += weirdness)
EST 1998 Gregory McLean [Wed, 11 Nov 1998 23:19:57 +0000 (23:19 +0000)]
Batch of new documentation that should be easier to maintain and extend.
Wed Nov 11 18:11:24 EST 1998 Gregory McLean <gregm@comstar.net>
* docs/*.sgml : Batch of new documentation that should be easier
to maintain and extend. Plus generate whatever sort of doc file
you would like. I didn't change the Makefile stuff as I'm not sure
what default doc type people want. Oh and this is all DocBook format.
Enjoy!
Manish Singh [Wed, 11 Nov 1998 01:26:10 +0000 (01:26 +0000)]
use __extension__ for long long on gcc >= 2.8 and egcs, and provide a
* 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
Phil Schwan [Thu, 5 Nov 1998 01:36:36 +0000 (01:36 +0000)]
Added 'strncasecmp' to the list of functions to be searched for. Added a
1998-11-04 Phil Schwan <pschwan@cmu.edu>
* configure.in: Added 'strncasecmp' to the list of functions to be
searched for.
* glib.h: Added a prototype for 'g_strncasecmp'
* strfuncs.c: (g_strncasecmp) new function modeled closely after
'g_strcasecmp'
Manish Singh [Wed, 4 Nov 1998 23:07:23 +0000 (23:07 +0000)]
config.h.win32 (new file) glibconfig.h.win32 glib.def applied
* config.h.win32 (new file)
* glibconfig.h.win32
* glib.def
* makefile.msc: applied glib-tml-981104, win32 sync
-Yosh
Sebastian Wilhelmi [Tue, 3 Nov 1998 14:52:25 +0000 (14:52 +0000)]
new function for removing an entry from an array while preserving the
1998-11-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h:
* garray.h:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
(g_array_remove_index_fast): new function for removing an entry
from an array. the order might be distorted
(g_ptr_array_remove_index_fast, g_ptr_array_remove_fast): new
functions; working similiar to the above. (they have the semantic
of the old g_ptr_array_remove[_index] functions)
(g_ptr_array_remove_index, g_ptr_array_remove): new semantic. now
the order of the elements in the array is not changed
(g_byte_array_remove_index, g_byte_array_remove_index_fast): new
functions; byte_array wrapper for g_array_remove_index[_fast]
Manish Singh [Mon, 2 Nov 1998 07:04:38 +0000 (07:04 +0000)]
glib.h endian macros defined using the glibconfig.h mechanism now
* glib.h
* configure.in: endian macros defined using the glibconfig.h mechanism now
* ghook.c: casts for GHookFunc and GHookCheckFunc to avoid warnings
-Yosh
Manish Singh [Sun, 1 Nov 1998 04:19:54 +0000 (04:19 +0000)]
applied glib-tml-981101-1 patch from Tor Lillqvist (ChangeLog entry
* applied glib-tml-981101-1 patch from Tor Lillqvist (ChangeLog
entry appended below)
* testglib.c
* gstrfuncs.c
* glib.h: use G_HAVE_GINT64, since HAVE_GINT64 is gone
* gmessages.c
* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
-Yosh
Raja R Harinath [Sun, 1 Nov 1998 01:32:59 +0000 (01:32 +0000)]
Land glib-rrh-
19981025-0.patch.
* Makefile.am (glibconfig.h): New rule.
(stamp-gc-h): New rule. Generate `glibconfig.h'.
* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
concluding "broken wctype".
(glibconfig.h): Use AC_OUTPUT_COMMANDS to put generation code into
config.status.
* glib.h: Remove a lot of tests and defines. All these have been
moved to `configure.in (glibconfig.h)'.
* gerror.c: Include <config.h>.
* gmem.c: Likewise.
* gstrfuncs.c: Likewise.
* gutils.c: Likewise.
This could cause some short term instability.
Tim Janik [Sat, 31 Oct 1998 18:57:36 +0000 (18:57 +0000)]
removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros. added macros
Sat Oct 31 05:08:26 1998 Tim Janik <timj@gtk.org>
* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
added macros G_STRUCT_OFFSET(), G_STRUCT_MEMBER_P() and
G_STRUCT_MEMBER() for handling structure fields through their offsets.
(struct _GHookList): added a hook_free function member, that can be used
to free additional fields in derived hook structures.
g_hook_free(): if hook_list->hook_free != NULL, call this function prior
to freeing the hook. (this functionality should have been there in the
first place, it just got forgotten as an implementation detail).
Manish Singh [Wed, 28 Oct 1998 08:51:18 +0000 (08:51 +0000)]
G_BREAKPOINT for alpha from Robert Wilhelm <robert@physiol.med.tu-muenchen.de>
-Yosh
Tim Janik [Wed, 28 Oct 1998 01:32:54 +0000 (01:32 +0000)]
new function for file input. rewind the filedescriptor to the current
Tue Oct 27 07:25:53 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gscanner.c:
(g_scanner_sync_file_offset): new function for file input.
rewind the filedescriptor to the current buffer position and blow
the file read ahead buffer. usefull for third party uses of our
filedescriptor, which hooks onto the current scanning position.
(this became neccessary with the implementation of buffered
reads).
(g_scanner_input_file):
(g_scanner_input_text): automatically blow the read ahead buffer.
(g_scanner_get_char): blow the read ahead buffer when the end of
input is reached, i.e. a '\000' char is read.
Manish Singh [Tue, 27 Oct 1998 08:33:27 +0000 (08:33 +0000)]
get rid of duplicate #g_htonl and friends in the NATIVE_WIN32 part
-Yosh
Manish Singh [Tue, 27 Oct 1998 06:58:33 +0000 (06:58 +0000)]
win32 patch from Tor Lillqvist (glib-tml-981027-0), fixes some minor
win32 buglets
-Yosh
Manish Singh [Tue, 27 Oct 1998 06:19:42 +0000 (06:19 +0000)]
reimplemented the endian stuff, using inline asm for x86. #define g_htonl
* 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
Tim Janik [Tue, 27 Oct 1998 04:24:44 +0000 (04:24 +0000)]
oops, this one was private ;)
Tor Lillqvist [Tue, 27 Oct 1998 04:11:34 +0000 (04:11 +0000)]
removed dummy structure definitions for struct _GCache, _GTree, _GTimer,
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.
Tor Lillqvist [Tue, 27 Oct 1998 04:11:32 +0000 (04:11 +0000)]
New function that returns the message string for a Win32 error code.
2000-03-04 Tor Lillqvist <tml@iki.fi>
* gwin32.c (g_win32_error_message): New function that returns the
message string for a Win32 error code.
* glib.h: Declare it.
* glib.def: Export it, plus g_node_copy.
* gmodule-win32.c: Call g_win32_error_message() to get the error
message strings.
* libgplugin_a.c
* libgplugin_b.c
* gmodule.c: Remove LibMain functions that were needed by LCC,
which is not a supported compiler.
* testgmodule.c (main): Test for G_MODULE_IMPL ==
G_MODULE_IMPL_WIN32, not G_OS_WIN32.
* gmoduleconf.h.win32: Remove LCC stuff from here, too.
Tor Lillqvist [Tue, 27 Oct 1998 04:11:32 +0000 (04:11 +0000)]
removed dummy structure definitions for struct _GCache, _GTree, _GTimer,
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.
Joel Becker [Sun, 25 Oct 1998 22:53:05 +0000 (22:53 +0000)]
added/updated xlc stuff
Raja R Harinath [Sun, 25 Oct 1998 22:39:20 +0000 (22:39 +0000)]
Remove `#pragma }'. Likewise.
* gmodule.h: Remove `#pragma }'.
* gmoduleconf.h.in: Likewise.
CST 1998 Shawn T. Amundson [Sun, 25 Oct 1998 08:20:31 +0000 (08:20 +0000)]
Released GLib 1.1.4
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.4
* docs/Makefile.am:
* docs/.cvsignore
* docs/glib-config.1:
* docs/glib.texi: Moved docs from gtk and created glib-config.1
from gtk-config.1 in gtk
* configure.in:
* Makefile.am:
* sanity_check: added in docs directory, change rule 'release'
to 'snapshot' and created a new 'release' rule for doing the
distribution. Added in a 'sanity' rule.
* NEWS:
* README:
* INSTALL: Updated for the release
Tim Janik [Sun, 25 Oct 1998 06:44:49 +0000 (06:44 +0000)]
no more characters are available if read() returns anything less than 1,
Sun Oct 25 07:30:10 1998 Tim Janik <timj@gtk.org>
* gscanner.c:
(g_scanner_peek_next_char):
(g_scanner_get_char): no more characters are available if read() returns
anything less than 1, not only on 0 return.
* glib.h:
* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
argument order requirements.
(g_strsplit): renamed from g_str_array_split().
(g_strjoinv): renamed from g_str_array_joinv(), string array is
now passed as last parameter. removed `const' qualifier from string
array pointer (again).
(g_strjoin): new function from sopwith to concatenate strings with
an additional seperator.
(g_strfreev): renamed from g_str_array_free.
Manish Singh [Sun, 25 Oct 1998 05:24:49 +0000 (05:24 +0000)]
small fix to g_node_children_foreach to make it work right. From Paco Moya
<paco@cadnotebk17.eecs.berkeley.edu>
-Yosh
Elliot Lee [Wed, 21 Oct 1998 20:14:16 +0000 (20:14 +0000)]
Fix new strfuncs back up (again) - No, incrementing pointers in a loop is
Fix new strfuncs back up (again)
- No, incrementing pointers in a loop is not any faster than
indexing an array in a loop with a good compiler, but it is
harder to read.
- strconcat doesn't allow a separator - added g_str_array_join,
renamed g_str_array_join to g_str_array_joinv
- join routines take separator as first argument, as is customary.
Tim Janik [Wed, 21 Oct 1998 18:04:47 +0000 (18:04 +0000)]
reverted part of the changes from Sebastian Wilhelmi (1998-10-20). don't
Wed Oct 21 19:22:58 1998 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes
from Sebastian Wilhelmi (1998-10-20). don't specify a specific loading
behaviour (i.e. RTLD_NOW) when we are not sure whether it is supplied.
changed the return value from (!f2 && f1) to (!f2 || f1) so we default
to not needing an underscore. reverted the extra plugin.c building,
because .lo files are not ELF libraries, this can't work. This needs
further investigation on Solaris...
Wed Oct 21 19:58:27 1998 Tim Janik <timj@gtk.org>
* gmodule.c (g_module_symbol): fixed a string pointer bug that could
cause garbage error messages from g_module_symbol() for systems that
NEED_USCORE.
Tim Janik [Wed, 21 Oct 1998 17:18:22 +0000 (17:18 +0000)]
API cleanups of the new g_str* functions for consistency with the existing
Wed Oct 21 17:03:05 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
with the existing naming scheme for g_str* functions. grouped the g_str*
functions that will return a newly allocated string seperatedly. all of
the in_place arguments were skipped, the caller is supposed to pass a
g_strdup()ed string if he wants to retrive a new copy. indentation and
coding style fixups. added some g_return_if_fail() statements.
string array functions are prefixed with g_str_array_.
(g_strdelimit): return the modified string like all other g_str*
functions, that operate in place.
(g_strchug): renamed from g_str_chug(), removed in_place argument.
(g_strchomp): renamed from g_str_chomp(), removed in_place argument.
(g_strstrip): renamed from g_str_strip(), removed in_place argument.
(g_str_array_join): renamed from g_strconcatv(), since it actually
operates on a string array and has totaly different semantics from
g_strconcat(). check for separator != NULL, don't segfault if the first
string is NULL. removed the `const' from the string array that's passed,
so users can operate on gchar** string arrays.
(g_str_array_split): renamed from g_str_split() because we actually
produce a string array. reimplemented this function for efficiency.
removed macro aliases g_str_joinv and g_str_join.
Elliot Lee [Tue, 20 Oct 1998 22:28:17 +0000 (22:28 +0000)]
I swear I'll get it right someday.
I swear I'll get it right someday.
Elliot Lee [Tue, 20 Oct 1998 22:23:38 +0000 (22:23 +0000)]
s/str_concatv/strconcatv/
s/str_concatv/strconcatv/
Elliot Lee [Tue, 20 Oct 1998 21:41:55 +0000 (21:41 +0000)]
Move string join/split/free routines from libgnome/gnome-string, rename,
* glib.h, gstrfuncs.c: Move string join/split/free routines from
libgnome/gnome-string, rename, and add g_str_chug.
Sebastian Wilhelmi [Tue, 20 Oct 1998 14:39:55 +0000 (14:39 +0000)]
made the check for needed underscore in module's func-names work on
1998-10-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: made the check for needed underscore in module's
func-names work on solaris. (G_MODULE_NEED_USCORE must be set
outside AC_CACHE_VAL, dlopen(0,0) refused to work on solaris).
Manish Singh [Tue, 20 Oct 1998 10:43:39 +0000 (10:43 +0000)]
configure.in added test for endianness
* configure.in
* acconfig.h: added test for endianness
* glib.h: #define endian macros for system and some conversions
between byte order
-Yosh
Arturo Espinosa [Sun, 18 Oct 1998 06:40:49 +0000 (06:40 +0000)]
Updated the spec file from Greg Hayes
Seth Alves [Sat, 17 Oct 1998 23:38:42 +0000 (23:38 +0000)]
logic was reversed on need_underscore test
Manish Singh [Sat, 10 Oct 1998 07:56:53 +0000 (07:56 +0000)]
yah yah libtool 1.2b
-Yosh
Tim Janik [Thu, 8 Oct 1998 06:32:49 +0000 (06:32 +0000)]
removed functions g_dataset_id_set_destroy and g_datalist_id_set_destroy
Thu Oct 8 06:47:27 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gdataset.c: removed functions g_dataset_id_set_destroy and
g_datalist_id_set_destroy and macros g_dataset_set_destroy and
g_datalist_set_destroy.
added new functions g_dataset_id_remove_no_notify and
g_datalist_id_remove_no_notify plus associated macros
g_dataset_remove_no_notify and g_datalist_remove_no_notify, which
will remove a certain data portion without invokation of its destroy
notifier, this should only be used in very controled circumstances.
Tim Janik [Wed, 7 Oct 1998 04:19:14 +0000 (04:19 +0000)]
removed the #pragma } statement after extern "C" {. use (c-set-offset
Wed Oct 7 05:31:24 1998 Tim Janik <timj@gtk.org>
* glib.h:
removed the #pragma } statement after extern "C" {. use
(c-set-offset 'inextern-lang 0) to fixup emacs cc-mode indentation.
* glib.h:
* ghook.c: API and code cleanups. changed the G_HOOK_ACTIVE and
G_HOOK_IN_CALL enum vals to G_HOOK_FLAG_ACTIVE and G_HOOK_FLAG_IN_CALL.
changed the G_HOOK_IS_ACTIVE() and G_HOOK_IS_IN_CALL() macros to
G_HOOK_ACTIVE() and G_HOOK_IN_CALL().
fixed the g_hook_find* functions, so they iterate over non-active
hooks as well.
(g_hook_first_valid):
(g_hook_next_valid): added an extra argument gboolean may_be_in_call,
which indicates whether G_HOOK_IN_CALL() hooks are considered valid
or not. these two functions are meant as iterators for the hook list
invocation, so they need to a) provide functionality to implement
may_recurse bahaviour and b) only walk active hooks.
Tim Janik [Tue, 6 Oct 1998 12:35:30 +0000 (12:35 +0000)]
fixed memory offsett when ENABLE_MEM_CHECK is defined and
Tue Oct 6 14:29:47 1998 Tim Janik <timj@gtk.org>
* gmem.c (g_malloc0): fixed memory offsett when ENABLE_MEM_CHECK is
defined and ENABLE_MEM_PROFILE is not (patch from Martin Pool
<mbp@wistful.humbug.org.au>).
Joel Becker [Mon, 5 Oct 1998 03:48:35 +0000 (03:48 +0000)]
Added xlc to the compilers that call automake with --include-deps
Dick Porter [Sun, 4 Oct 1998 17:21:24 +0000 (17:21 +0000)]
Took my name out of the spec file. I was being blamed for duff builds :-)
Tim Janik [Fri, 2 Oct 1998 23:21:58 +0000 (23:21 +0000)]
properly handle the first valid hook to call, it maybe IN_CALL already.
Sat Oct 3 01:18:10 1998 Tim Janik <timj@gtk.org>
* glib.h:
* ghook.c:
(g_hook_list_invoke):
(g_hook_list_invoke):
(g_hook_list_marshal): properly handle the first valid hook to call,
it maybe IN_CALL already.
(g_hook_list_marshal): minor name change.
Fri Oct 2 23:21:21 1998 Tim Janik <timj@gtk.org>
* glib.h:
* ghook.c: renamed GHook.id to GHook.hook_id so we don't get troubles
with ObjC which reserves "id" as a keyword (Raja R Harinath
<harinath@cs.umn.edu>).
Tim Janik [Wed, 30 Sep 1998 08:56:00 +0000 (08:56 +0000)]
added ghook.c.
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.
Tim Janik [Fri, 25 Sep 1998 00:44:38 +0000 (00:44 +0000)]
version bump to 1.1.4, binary age 0, interface age 0.
Fri Sep 25 00:04:37 1998 Tim Janik <timj@gtk.org>
* configure.in: version bump to 1.1.4, binary age 0, interface age 0.
* glib.h (struct _GScanner): dumped peeked_char and text_len in favour
of *text_end and *buffer for buffered read()s.
* gscanner.c: changed peeking and retrival of next character so we
have buffered reads. fixed minor bug with number parsing error
reporting. made some static!!! variables local ones (why did we use
static temporary variables in the lowlevel tokenization code anyways?).
CDT 1998 Shawn T. Amundson [Tue, 22 Sep 1998 04:41:02 +0000 (04:41 +0000)]
Released GLib 1.1.3
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GLib 1.1.3
Tim Janik [Mon, 21 Sep 1998 06:13:06 +0000 (06:13 +0000)]
added g_renew() which works as g_new() for g_realloc().
Mon Sep 21 07:43:13 1998 Tim Janik <timj@gtk.org>
* glib.h: added g_renew() which works as g_new() for g_realloc().