summaryrefslogtreecommitdiff
path: root/gobject
Commit message (Collapse)AuthorAgeFilesLines
* remove g_log_domain_gruntime usageHans Breuer2001-11-182-1/+5
| | | | | | 2001-11-18 Hans Breuer <hans@breuer.org> * makefile.msc.in : remove g_log_domain_gruntime usage
* Include gtypes.h not gobject/gtype.hOwen Taylor2001-11-1817-4/+51
| | | | | | | | | | | | | | | | | Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com> * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h * glib/glib-object.h gobject/*.h: Prevent headers from being included directly except when compiling GObject. * gobject/gvaluecollector.h: Include glib-object.h so that this file can be included directly, since we don't include it _from_ glib-object.h. * gobject/gtype.c: Remove struct _GValue hack since we now include glib/gvaluecollector.h which simply pulls in glib-object.h.
* Exit with non-zero exit status if any errors were encountered.Owen Taylor2001-11-172-5/+29
| | | | | | | | | | | | | | Sat Nov 17 18:14:40 2001 Owen Taylor <otaylor@redhat.com> * glib-genmarshal.c: Exit with non-zero exit status if any errors were encountered. * glib-genmarshal.c: Instead of generating gobject/gmarshal.h #include only for the header, generate glib-object.h #include for both the header and body. (#63834) * glib-genmarshal.c: Generate include guards around the content unless --nostdinc is specified.
* Add g_pointer_type_register_static.Tor Lillqvist2001-11-172-0/+5
| | | | | | 2001-11-17 Tor Lillqvist <tml@iki.fi> * gobject.def: Add g_pointer_type_register_static.
* Add back mainloop-test here, too.Tor Lillqvist2001-11-142-7/+11
| | | | | | | | | | | | | | 2001-11-15 Tor Lillqvist <tml@iki.fi> * tests/makefile.{mingw,msc}.in (TESTS): Add back mainloop-test here, too. * tests/Makefile.am: Remove leftover comment that claimed mainloop-test is removed. 2001-11-15 Tor Lillqvist <tml@iki.fi> * gobject.def: Reflect recent changes.
* add API for chaining: g_signal_chain_from_overridden() andTim Janik2001-11-1413-109/+52
| | | | | | | | | | | | | | | | | Tue Nov 13 23:18:10 2001 Tim Janik <timj@gtk.org> * gsignal.[hc]: add API for chaining: g_signal_chain_from_overridden() and g_signal_override_class_closure(), implementation yet to come. * gtype.[hc], Makefile.am: provide G_LOG_DOMAIN as compile flag. * gparam.[hc]: s/g_param_get/g_param_spec_get/ for get_nick, get_name and get_blurb, to be consistent with the rest of the g_param_spec_*() functions. * gparamspecs.[hc]: got rid of bogus GClosure paramspec. G_TYPE_CLOSURE is a boxed type already.
* API cleanups. remove g_type_check_flags(), provide g_type_test_flags() asTim Janik2001-11-134-22/+30
| | | | | | | | | | Tue Nov 13 22:16:41 2001 Tim Janik <timj@gtk.org> * gtype.[hc]: API cleanups. remove g_type_check_flags(), provide g_type_test_flags() as a *private* function. s/g_type_check_is_a/g_type_check_class_is_a/, private function. s/g_type_instance_is_a/g_type_check_instance_is_a/, also private.
* fix standard type macros.Tim Janik2001-11-132-3/+12
| | | | | | Tue Nov 13 20:02:47 2001 Tim Janik <timj@gtk.org> * gparam.h: fix standard type macros.
* G_TOKEN_ERROR is also an end of stream condition.Tim Janik2001-11-122-5/+2
| | | | | | | Mon Nov 12 03:01:28 2001 Tim Janik <timj@gtk.org> * glib/gscanner.c (g_scanner_eof): G_TOKEN_ERROR is also an end of stream condition.
* provide G_CLOSURE_N_NOTIFIERS() for people that need to walk the notifierTim Janik2001-11-073-1/+9
| | | | | | | Wed Nov 7 00:56:00 2001 Tim Janik <timj@gtk.org> * gclosure.h: provide G_CLOSURE_N_NOTIFIERS() for people that need to walk the notifier list (puhh, black magic, stay-away-warning ;).
* we need signal.h for G_BREAKPOINT().Tim Janik2001-11-053-0/+7
| | | | | | | Mon Nov 5 18:59:08 2001 Tim Janik <timj@gtk.org> * gobject.h: * gsignal.h: we need signal.h for G_BREAKPOINT().
* Add a function g_pointer_type_register_static() to register a type derivedOwen Taylor2001-11-043-0/+34
| | | | | | | Sun Nov 4 14:01:23 2001 Owen Taylor <otaylor@redhat.com> * gvaluetypes.[ch]: Add a function g_pointer_type_register_static() to register a type derived from G_TYPE_POINTER.
* gobject-query needs gmarshal.[hc,stings] so build it after them. AddHans Breuer2001-11-033-7/+23
| | | | | | | | | 2001-11-03 Hans Breuer <hans@breuer.org> * makefile.msc.in : gobject-query needs gmarshal.[hc,stings] so build it after them. Add gsourceclosure.obj. * gobject.def : removed duplicates, added mising
* Fix documentation. Document g_log_domain_glib, gunichar, gunichar2,Matthias Clasen2001-10-301-3/+3
| | | | | | | * gobject/gsourceclosure.c (g_source_set_closure): Fix documentation. * glib/tmpl/messages.sgml, glib/tmpl/unicode.sgml: Document g_log_domain_glib, gunichar, gunichar2, GUnicodeType, GUnicodeBreakType.
* shut up CVSSven Neumann2001-10-301-0/+1
|
* Fix non-Intel/-Alpha version of the G_BREAKPOINT macro to includeDaniel Egger2001-10-292-2/+6
| | | | | | | | | | | | | | 2001-10-29 Daniel Egger <degger@fhm.edu> * glib/gbacktrace.h: Fix non-Intel/-Alpha version of the G_BREAKPOINT macro to include <signal.h> and use SIGTRAP. * glib/gmessages.c: Conditionalise definition of args2 depending on the definition of HAVE_VSNPRINTF to avoid compiler warning. * gobject/testgruntime.c * tests/patterntest.c: Include <string.h> to avoid warnings.
* Generate glib-mkenums from glib-mkenums.in, substituting in path to perl.Owen Taylor2001-10-294-407/+10
| | | | | | | | | | | | | | Mon Oct 29 11:05:15 2001 Owen Taylor <otaylor@redhat.com> * glib-mkenums.in: Generate glib-mkenums from glib-mkenums.in, substituting in path to perl. (#63093, Dan Winship) * Makefile.am (bin_SCRIPTS): Remove hack to copy glib-mkenums from srcdir. Mon Oct 29 10:59:36 2001 Owen Taylor <otaylor@redhat.com> * configure.in: Check for path to Perl, add gobject/glib-mkenums
* Update.Tor Lillqvist2001-10-251-1/+1
| | | | | | | | | | | | 2001-10-26 Tor Lillqvist <tml@iki.fi> * glib/glib.def: Update. * tests/makefile.{mingw,msc}.in: Add ../* to PATH before running tests to find DLLs. Separate the interactive tests, don't run them in the check target. * */makefile.msc.in: Include make.msc from GLib's build directory.
* Updates.Tor Lillqvist2001-10-252-2/+7
| | | | | | | | | | | | | | 2001-10-26 Tor Lillqvist <tml@iki.fi> * README.win32: Updates. * tests/makefile.mingw.in * tests/makefile.msc.in: Remove mainloop-test here, too. gobject: * makefile.mingw.in: When running glib-genmarshal, set PATH to include ../glib.
* If we have built the MSVC import library, install it. Install the gccTor Lillqvist2001-10-222-0/+27
| | | | | | | | 2001-10-23 Tor Lillqvist <tml@iki.fi> * {glib,gmodule,gobject,gthread}/Makefile.am: (Win32): If we have built the MSVC import library, install it. Install the gcc import library. Also support uninstall.
* Typo fixes.Matthias Clasen2001-10-133-8/+13
| | | | * glib-genmarshal.1, glib-mkenums.1: Typo fixes.
* cosmetic fixups.Tim Janik2001-10-124-27/+31
| | | | | | Fri Oct 12 18:40:18 2001 Tim Janik <timj@gtk.org> * cosmetic fixups.
* Fill in missing support for gint64 & guint64 (#59254).Joshua N Pritikin2001-10-1110-167/+340
| | | | | | | | * glib-genmarshal.c gparamspecs.[ch] gtype.[ch] gvalue.h gvaluecollector.h gvaluetypes.[ch]: Fill in missing support for gint64 & guint64 (#59254). * Unconditionalize same (compile with or without G_HAVE_INT64).
* Fix order of *_PARAM_SPEC_ULONG defines.Joshua N Pritikin2001-10-102-1/+6
| | | | | * gparamspecs.h (G_IS_PARAM_SPEC_FLAGS): Fix order of *_PARAM_SPEC_ULONG defines.
* Add missing G_HAVE_GINT64 conditionalization.Owen Taylor2001-10-042-1/+7
| | | | | | Thu Oct 4 01:10:52 2001 Owen Taylor <otaylor@redhat.com> * gparamspecs.h: Add missing G_HAVE_GINT64 conditionalization.
* Add support for G_TYPE_INT64 and storing it in GValue (Patch from MathieuOwen Taylor2001-10-038-2/+162
| | | | | | | | Wed Oct 3 16:02:24 2001 Owen Taylor <otaylor@redhat.com> * glib-genmarshal.c gparamspecs.[ch] gvalue.h gobject/gvaluetypes.[ch]: Add support for G_TYPE_INT64 and storing it in GValue (Patch from Mathieu Lacage, #59254.)
* s/retrive/retrieve/jacob berkman2001-10-033-7/+16
| | | | | | | | | | | 2001-10-03 jacob berkman <jacob@ximian.com> * gtype.c (type_iface_retrieve_holder_info_Wm): (type_iface_vtable_init_Wm): (type_iface_vtable_finalize_Wm): (g_type_class_ref): * gobject.c (g_object_get_property): s/retrive/retrieve/
* More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF,Tor Lillqvist2001-09-253-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-25 Tor Lillqvist <tml@iki.fi> * configure.in: More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF, GOBJECT_DEF and GTHREAD_DEF. For .exp files: TESTGMODULE_EXP (for programs that need to export symbols, just testgmodule here). A new conditional, MS_LIB_AVAILABLE to test whether the Microsoft librarian ("ar") is available to build MS import libraries. * glib/Makefile.am * gmodule/Makefile.am: Use above. New rule to build MS import library. * glib/makefile.msc.in * tests/makefile.msc.in * tests/makefile.mingw.in: Use same DLL and import library names as libtool. gmodule: 2001-09-25 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in: Fix missing end @ in @LT_CURRENT@. * makefile.msc.in: Use same DLL and import library names as libtool. gobject: 2001-09-25 Tor Lillqvist <tml@iki.fi> * Makefile.am: Use new macros for .def file, and check for MS_LIB_AVAILABLE, new rule to build MS import library. * makefile.msc.in: Use same DLL and import library names as libtool. gthread: 2001-09-25 Tor Lillqvist <tml@iki.fi> * Makefile.am: Use new macros for .def file, and check for MS_LIB_AVAILABLE, new rule to build MS import library. * makefile.msc.in: Use same DLL and import library names as libtool.
* updated externalsHans Breuer2001-09-212-0/+8
| | | | | | 2001-09-21 Hans Breuer <hans@breuer.org> * gobject.def : updated externals
* Correct InternalName and OriginalFilename to match what we actuallyTor Lillqvist2001-09-192-3/+8
| | | | | | | 2001-09-19 Tor Lillqvist <tml@iki.fi> * {gmodule,gobject,gthread.rc.in}: Correct InternalName and OriginalFilename to match what we actually produce.
* up version number to 1.3.8, interface age 0, binary age 0.Tim Janik2001-09-183-8/+42
| | | | | | | | | | | | | | | | Tue Sep 18 22:57:33 2001 Tim Janik <timj@gtk.org> * configure.in (GLIB_MICRO_VERSION): up version number to 1.3.8, interface age 0, binary age 0. * NEWS: updates. Tue Sep 18 23:09:02 2001 Tim Janik <timj@gtk.org> * gparam.[hc]: rename *nick and *blurb fields to catch direct accesses in third party code. provide g_param_get_nick(), g_param_get_blurb() and g_param_get_name() accessors.
* Add variable for LT_CURRENT minus LT_AGE (the suffix used by libtool onTor Lillqvist2001-09-173-22/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-17 Tor Lillqvist <tml@iki.fi> * configure.in: Add variable for LT_CURRENT minus LT_AGE (the suffix used by libtool on Win32 for DLLs). Set variables for the compiled resource files on Windows. Handle the native Win32 gthread stuff. * glib/Makefile.am * gmodule/Makefile.am * gobject/Makefile.am: (Win32) Add minor hacks to link in the object file produced from the resource file. Use the lt-compile-resource script from the build module. The non-hack way would be to teach libtool, autoconf and automake about .rc files (which are a kind of source code, after all, that gets compiled to object files). But then there would be problems for those who wouldn't have bleeding edge auto* and libtool. * glib/glib.def * gobject/gobject.def: Updates. * glib/glib.rc.in * gmodule/gmodule.rc.in * gobject/gobject.rc.in * gthread/gthread.rc.in: Update InternalName and OriginalFilename to match libtool's naming convention for DLLs. * glib/gutils.c: Ditto when constructing the DLL name in the definition for GLIB_LOCALE_DIR. * glib/makefile.mingw.in * gmodule/makefile.mingw.in * gobject/makefile.mingw.in * gthread/makefile.mingw.in: Update import library names.
* removed extraneous GObject* returns from a couple functions that are veryTim Janik2001-09-103-19/+20
| | | | | | | | | Mon Sep 10 20:31:37 2001 Tim Janik <timj@gtk.org> * gobject.[hc]: removed extraneous GObject* returns from a couple functions that are very unlikely to be used in nested. changed gpointer->GObject* for a couple return values/arguments. this fixes #50206.
* got rid of g_set_error_handler(), g_set_warning_handler(),Tim Janik2001-09-105-163/+604
| | | | | | | | | | | | | | | | | | | | | | | | | Mon Sep 10 17:13:36 2001 Tim Janik <timj@gtk.org> * glib/gmessages.h: got rid of g_set_error_handler(), g_set_warning_handler(), g_set_message_handler(). Wed Sep 5 05:24:07 2001 Tim Janik <timj@gtk.org> * gobject/tmpl/gboxed.sgml: documented some functions. * gobject/tmpl/objects.sgml: some fixups. Mon Sep 10 19:27:47 2001 Tim Janik <timj@gtk.org> * gtype.[hc]: g_type_add_interface*(): implement the ability to add an interface to a type whose parents already conform to this interface. such "overriding" interfaces, when initialized, are not just initialized with 0, but with a copy of the interface they override. g_type_interface_peek_parent(): new function, return the interface that this interface "overrides", if any. * testgruntime.c: test new interface stuff.
* Removed is_refcounted and GBoxedInitFunc fromAlex Larsson2001-09-103-43/+10
| | | | | | | | | 2001-09-10 Alex Larsson <alexl@redhat.com> * gobject/gboxed.[ch]: * gobject/gsourceclosure.c: Removed is_refcounted and GBoxedInitFunc from g_boxed_type_register_static().
* Move gbsearcharray.[ch] to glib as a private ininstalled header.Owen Taylor2001-09-084-363/+5
| | | | | | | Sat Sep 8 14:13:57 2001 Owen Taylor <otaylor@redhat.com> * gobject/Makefile.am: Move gbsearcharray.[ch] to glib as a private ininstalled header.
* forgotten ChangeLog entry.Matthias Clasen2001-09-051-0/+4
|
* gobject.c (g_object_base_class_finalize): typo fix.Matthias Clasen2001-09-041-1/+1
|
* Update. Don't mention pthreads.Tor Lillqvist2001-09-041-9/+5
| | | | | | | | | | | | | | | | | | | 2001-09-04 Tor Lillqvist <tml@iki.fi> * README.win32: Update. Don't mention pthreads. * build-dll: Remove, moved to the build module. * glibconfig.h.win32.in: Don't mention pthreds here, either. * glib/gstrfuncs.c: Mark the correct variable for export from DLL. * glib/giowin32.c (g_io_win32_msg_create_watch): Owen forgot to rename the win32_watch_funcs variable here, too. * */makefile.mingw.in: Don't use version number in import library name. Use whole version number in DLL name. Use build-dll from the build module.
* updates for 1.3.7 release.Tim Janik2001-09-032-1/+9
| | | | | | | | | | | Tue Sep 4 01:50:24 2001 Tim Janik <timj@gtk.org> * NEWS: updates for 1.3.7 release. Tue Sep 4 01:49:18 2001 Tim Janik <timj@gtk.org> * gsourceclosure.c: make closure_callback_funcs static, added some g_return_if_fail() statements.
* Implement.Owen Taylor2001-09-035-0/+247
| | | | | | | | | | | | | | | | | | Mon Aug 27 14:55:27 2001 Owen Taylor <otaylor@redhat.com> * gsourceclosure.[ch] (g_source_set_closure): Implement. * gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition. Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com> * glib/gmain.h: Add closure_marshal/closure_callback fields to GSourceFuncs for use by g_source_set_closure(). * glib/gmain.c glib/giounix.c glib/giowin32.c glib/gmain.h: Export the SourceFuncs vtables so GObject can use them to figure out closure callbacks/marshallers for the default source types.
* After being away for about five months, I'm back working on this... ForTor Lillqvist2001-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-30 Tor Lillqvist <tml@iki.fi> After being away for about five months, I'm back working on this... For now, still using same build setup for Win32. Probably will change to not including version numbers in the import library names, though. (But the DLL names would still include them, possibly even also the micro version number.) That would be more Unix-like. Also, will have to check out newest mingw tool versions to see if the build-dll script now can be retired. * makefile.mingw * makefile.msc: New files, no need to generate from .in as they don't contain references to automake variables. * makefile.mingw.in * makefile.msc.in: Removed. * glib.rc.in: Remove * glib/glib.rc.in: Moved here. * Makefile.am * glib/Makefile.am: Corresponding changes. * glib/glib.def: Fix typo, add new entries. * glib/gspawn-win32-helper.c: More debugging. Doesn't work currently (or then it never has on Win2k, which I now use?) * glib/gstrfuncs.c * glib/gstrfuncs.h: Mark g_ascii_table for export/import on Win32. * */makefile.mingw.in: Reflect new location of glib library.
* add an object member to the structure. (weak_refs_notify): passJames Henstridge2001-08-183-2/+17
| | | | | | | | | | | | | | 2001-08-17 James Henstridge <james@daa.com.au> * gobject.c (WeakRefStack): add an object member to the structure. (weak_refs_notify): pass wstack->object as extra argument to notify functions. (g_object_weak_ref): set wstack->object when initialising WeakRefStack. * gobject.h (GWeakNotify): add second argument to prototype which gives the pointer to where the object that is being disposed of was.
* if __GNUC__ is defined, inline a test for an exact type match forTim Janik2001-08-153-9/+36
| | | | | | | | Wed Jul 18 19:42:31 2001 Tim Janik <timj@gtk.org> * gtype.h: if __GNUC__ is defined, inline a test for an exact type match for instances and classes in G_TYPE_CHECK_INSTANCE_TYPE() and G_TYPE_CHECK_CLASS_TYPE() before calling g_type_instance_is_a().
* fix preallocation logic, support DISABLE_MEM_POOLS properly, group valueTim Janik2001-08-123-11/+70
| | | | | | | | | Sun Aug 12 02:07:10 2001 Tim Janik <timj@gtk.org> * gvaluearray.[hc]: fix preallocation logic, support DISABLE_MEM_POOLS properly, group value allocations. (g_value_array_new): fix semantic of n_prealloced argument, so it's really just about preallocation space.
* Separate out log entry for gobject changes into the correct ChangeLog. Sorry.Sven Neumann2001-08-061-0/+5
|
* added new function g_nullify_pointer().Sven Neumann2001-08-062-0/+28
| | | | | | | | | 2001-08-06 Sven Neumann <sven@gimp.org> * glib/gutils.[ch]: added new function g_nullify_pointer(). * gobject/gobject.[ch]: added new functions g_object_[add|remove]_weak_pointer().
* Hacky script to fix up your .msc.in files on windows. Dunno if this is aAlexander Larsson2001-08-042-5/+24
| | | | | | | | | | | | | | | | | | | | 2001-08-04 Alexander Larsson <alexl@redhat.com> * win32-fixup.pl: Hacky script to fix up your .msc.in files on windows. Dunno if this is a good solution yet. * build/win32/module.defs: Back down libiconv version to 1.3, since that is what tor distributes. * glib/glib.def: Update * gobject/makefile.msc.in: build gobject-query.exe and gmarshal.strings, add libiconv dependency to linklines. * gobject/marshal-genstrings.pl: New file. perl script to generate gmarshal.strings.
* added convenience macro g_signal_connect_after().Sven Neumann2001-08-012-0/+6
| | | | | | 2001-08-01 Sven Neumann <sven@gimp.org> * gsignal.h: added convenience macro g_signal_connect_after().
* updated externalsHans Breuer2001-07-282-7/+51
| | | | | | 2001-07-29 Hans Breuer <hans@breuer.org> * gobject.def : updated externals