------------------------------------------------------------------- Wed Mar 18 16:24:55 CET 2009 - anicka@suse.cz - update to 1.220 * GType.xs (gperl_fundamental_type_from_obj): Check the SV for definedness before passing it to SvRV. * GClosure.xs (gperl_closure_marshal): Synchronize the way signals with no return value are handled with how it's done in gperl_signal_class_closure_marshal. This means that Perl handlers for these kinds of signals are now always called in void context, as they should be. * gperl.h: Provide gperl_register_boxed_alias, gperl_register_fundamental_alias, and gperl_register_object_alias to register aliases for other registered types. An alias is a package name that will resolve to the specified type, while the type will still resolve to its originally registered package when going the other way. * Glib.pm: Add constants Glib::SOURCE_CONTINUE and SOURCE_REMOVE for use in source-type callbacks. * test fixes, docs fixes ------------------------------------------------------------------- Mon Oct 6 14:32:31 CEST 2008 - anicka@suse.cz - update to 1.200 * GClosure.xs (gperl_callback_invoke): Instead of putting a mortal copy of the user data on the stack, increment its ref count and mortalize it. This ensure that modifications to $_[-1] in the callback actually change the user data. Patch by Kevin Ryde. * GValue.xs: Handle NULL GParamSpecs in newSVGParamSpec by returning undef. Consequently, remove the NULL handling in _gperl_sv_from_value_internal. * GType.xs (gperl_convert_flag_one, gperl_convert_flags): Improve the wording of the error messages for invalid flags a bit. * GValue.xs (_gperl_sv_from_value_internal): Handle NULL GParamSpecs gracefully by returning undef. * GParamSpec.xs (newSVGParamSpec): Croak on NULL GParamSpecs. * GParamSpec.xs: Add hierarchy POD sections to the various Glib::ParamSpec subclasses. * GenPod.pm: Document how to hide arguments with "=for arg". Cope with _noinc_ornull type variants. * GObject.xs (g_object_new): Check that we got a correct number of arguments. * test fixes ------------------------------------------------------------------- Thu Jun 19 16:25:11 CEST 2008 - anicka@suse.cz - update to 1.183 * GSignal.xs: In the xsub for g_signal_add_emission_hook, make sure that the type class exists before we try to fetch information about one of its signals. * t/c.t: Overload '!=' and 'ne' for flags values for consistency. * GClosure.xs (gperl_callback_invoke): Put a mortal copy of the user data on the stack to avoid prematurely destroying it in certain cases. Patch by Kevin Ryde. * t/c.t: Test that empty flags values ([], undef) work. * GType.xs (gperl_convert_flag_one): Don't call gperl_type_flags_get_values needlessly. * GType.xs: Use const char* to store the return value of sv_reftype. * Subclass.pm: Improve the documentation of GET_PROPERTY and SET_PROPERTY. (Patch by Kevin Ryde) * t/c.t: Register Glib::Enum and Glib::Flags. Remove special case logic for these from Glib::Type::register(). ------------------------------------------------------------------- Wed Apr 9 13:45:33 CEST 2008 - anicka@suse.cz - update to 1.182 * GType.xs: For the 64 bit integer converters: use g_ascii_strtoll, g_ascii_strtoull, and _atoi64 when available. Only use _strtoi64 and _strtoui64 if _MSC_VER >= 1300. * GenPod.pm: Add setters set_copyright, set_year, set_authors, and set_main_mod for the corresponding package variables. ------------------------------------------------------------------- Mon Mar 24 15:51:37 CET 2008 - anicka@suse.cz - update to 1.181 * Makefile.PL: Remove the no_index specification from EXTRA_META because the YAML implementations currently in use don't seem to support this syntax yet. * Makefile.PL (MY::postamble): Handle the EU::Depends object $glib being undefined gracefully. * Makefile.PL: Don't warn about this release being unstable because it isn't. * copyright.pod: Update for 2008. ------------------------------------------------------------------- Thu Mar 13 10:22:31 CET 2008 - anicka@suse.cz - update to 1.180 * Makefile.PL: Tell the compiler to always look for headers in '.' first so that ours are preferred in case of name clashes. * ParseXSDoc.pm (parse_file): When parsing an #else pre-processor directive, make sure we have actually seen and parsed a corresponding #if before trying to negate its entry. This can happen when our parsing heurestics fail. The result was an exception: "Modification of non-creatable array value attempted." * GType.xs: Defer the instantiation of a newly-registered object class's class until after we've parsed the list of signals, properties, and interfaces to add to it. This allows perl-derived GObjects to override GInterfaces that are implemented by parent classes. * GObject.xs: Load GInterface types immediately, instead of leaving them for lazy loading. Otherwise, it is possible to get into situations in which a GInterface has not triggered its lazy loading by the time it is needed. * GObject.xs (class_info_finish_loading): When handling a class' @ISA, instead of simple av_fetch calls and a final av_clear, use repeated av_shift calls. Invoking av_clear on an @ISA array seems to break the caching magic associated with it when running under perl 5.10.0. This in turn breaks our lazy-loading scheme. * Glib.xs: Use gperl_sv_defined instead of SvOK to check SVs for definedness. This keeps Glib from erroneously thinking your scalars are undefined, for example when using tied hashes. * GType.xs: Define and use PORTABLE_LL_FORMAT and PORTABLE_ULL_FORMAT. ------------------------------------------------------------------- Mon Jan 14 10:41:22 CET 2008 - anicka@suse.cz - update to 1.164 * GType.xs: Defer the instantiation of a newly-registered object class's class until after we've parsed the list of signals, properties, and interfaces to add to it. * GObject.xs: Load GInterface types immediately, instead of leaving them for lazy loading. * ParseXSDoc.pm (parse_file): When parsing an #else pre-processor directive, make sure we have actually seen and parsed a corresponding #if before trying to negate its entry. * GObject.xs (class_info_finish_loading): When handling a class' @ISA, instead of simple av_fetch calls and a final av_clear, use repeated av_shift calls. * GBookmarkFile.xs: Hush compiler warning. * GError.xs (gperl_gerror_from_sv): Fix the check for undefined domain keys in GError hashes. * GType.xs (add_interfaces): Fix the check for undefined interface names. ------------------------------------------------------------------- Wed Nov 21 10:47:57 CET 2007 - anicka@suse.cz - update to 1.162 * MakeHelper.pm (postamble_docs_full): When constructing the add_types call, make sure to properly quote the paths. ------------------------------------------------------------------- Thu Nov 1 15:35:14 CET 2007 - anicka@suse.cz - update to 1.161 * Makefile.PL: Use BEGIN { require 5.008; } instead of use 5.008; so automatic CPAN testers know which perl version we need. Also get rid of the MY package by prefixing the relevant subs with `MY::ยด. * GObject.xs (Glib::Object::CLONE): Check that perl_gobjects != NULL before working with it, to avoid an assertion. ------------------------------------------------------------------- Fri Oct 5 13:19:55 CEST 2007 - anicka@suse.cz - update to 1.160 * GenPod.pm: Output a warning if a type name isn't recognized by the doc parser. Add 'package' and 'list' to the basic types and fix the remaining type name issues the new warning uncovered. * ParseXSDoc.pm: Parse preprocessor conditionals in the XS code to add Since: tags to methods' POD. * ParseXSDoc.pm: Make it possible to document specific packages in different POD files by providing a new =for object variant. * GObject.xs: Register G_TYPE_INTERFACES as Glib::Interfaces to avoid having it appear under Glib::Object::_Unregistered in hierarchies in the generated POD. * test fixes - do not ignore test results anymore (package builds fine on all supported archs) ------------------------------------------------------------------- Mon Feb 26 11:07:48 CET 2007 - anicka@suse.cz - update to 1.144 * MakeHelper.pm: Use BSD make syntax for the BLIB_DONE stuff on BSD systems, unless the environment variable FORCE_GMAKE is set. ------------------------------------------------------------------- Wed Feb 14 15:08:25 CET 2007 - anicka@suse.cz - update to 1.143 * Makefile.PL: Check that glib >= 2.12.0, not 2.11.0, before including GBookmarkFile.xs. * Glib.xs: Call g_threads_init before g_type_init. Required (and probably enforced in the near future) by recent glib versions. ------------------------------------------------------------------- Tue Dec 12 13:10:09 CET 2006 - anicka@suse.cz - update to 1.142 * bugfixes, test fixes * GType.xs: Add macros, PORTABLE_STRTOLL and PORTABLE_STRTOULL, to centralize the preprocessor madness for 64bit integer support. ------------------------------------------------------------------- Thu Sep 7 23:05:41 CEST 2006 - anicka@suse.cz - update to 1.140 * bugfixes and fixes in tests ------------------------------------------------------------------- Fri Jul 21 13:38:12 CEST 2006 - anicka@suse.cz - update to 1.120 * add a new header file for private functions that are used in more than one xs file * bugfixes - remove last patch (fixed in upstream) ------------------------------------------------------------------- Tue Mar 21 15:31:49 CET 2006 - schwab@suse.de - Fix broken casts. ------------------------------------------------------------------- Tue Jan 31 00:45:00 CET 2006 - ro@suse.de - fixed missing ";" in GType.xs - ignore failed test for the moment ------------------------------------------------------------------- Wed Jan 25 21:39:43 CET 2006 - mls@suse.de - converted neededforbuild to BuildRequires ------------------------------------------------------------------- Tue Jan 3 14:57:20 CET 2006 - anicka@suse.cz - update to 1.102 ------------------------------------------------------------------- Thu Nov 10 17:20:38 CET 2005 - anicka@suse.cz - update to 1.101 ------------------------------------------------------------------- Fri Jul 29 20:13:46 CEST 2005 - mjancar@suse.cz - update to 1.082 ------------------------------------------------------------------- Thu Jun 23 01:56:01 CEST 2005 - ro@suse.de - update to 1.081 - removed G_PARAM_PRIVATE (removed from glib2) ------------------------------------------------------------------- Fri Jan 21 02:52:43 CET 2005 - ro@suse.de - update to 1.072 ------------------------------------------------------------------- Tue Nov 02 14:13:10 CET 2004 - mcihar@suse.cz - initial packaging