glib/gobject
Michael Natterer 325bd373d4 don't free or modify static strings, dup them when needed and clear the
2007-04-24  Michael Natterer  <mitch@imendio.com>

	* gobject/gparamspecs.c (param_string_validate): don't free or
	modify static strings, dup them when needed and clear the
	G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.

	* tests/gobject/paramspec-test.c: test all GParamSpecString
	validations with static and allocated strings.


svn path=/trunk/; revision=5454
2007-04-24 13:36:58 +00:00
..
abicheck.sh Fix abi checks for ia64. 2005-08-15 05:00:57 +00:00
ChangeLog invoke GObjectClass.constructed() only for newly constructed objects, and 2007-04-03 10:44:30 +00:00
gboxed.c minor cleanups, implemented G_TYPE_HASH_TABLE. 2005-11-23 12:37:01 +00:00
gboxed.h Document GObject API additions 2005-11-27 20:09:13 +00:00
gclosure.c Remove C++ comment 2006-01-30 04:19:07 +00:00
gclosure.h turned all modifications to the first 32 integer bits in a closure into 2005-08-01 21:17:50 +00:00
genums.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 14:38:18 +00:00
genums.h Make value_name and value_nick const in structs _GEnumValue and 2006-06-02 21:42:48 +00:00
glib-genmarshal.1 added new command-line option "--internal" that can be used to let 2006-08-23 06:45:55 +00:00
glib-genmarshal.c Add comment about dup(0) and lack of /dev/stdin on Win32. (#407431) 2007-02-13 20:19:09 +00:00
glib-mkenums.1 applied patch from David Necas which introduces an underscore_name option 2006-10-10 10:10:43 +00:00
glib-mkenums.in applied patch from David Necas which introduces an underscore_name option 2006-10-10 10:10:43 +00:00
gmarshal.list Add g_signal_accumulator_true_handled(), to do TRUE-stops-emit signals. 2003-09-12 20:33:31 +00:00
gobject-query.c Silence compiler warnings. 2005-11-28 20:33:53 +00:00
gobject.c invoke GObjectClass.constructed() only for newly constructed objects, and 2007-04-03 10:44:30 +00:00
gobject.h invoke GObjectClass.constructed() only for newly constructed objects, and 2007-04-03 10:44:30 +00:00
gobject.rc.in Don't use autoconf variables for the resource object files on Win32 any 2005-07-08 23:04:06 +00:00
gobject.symbols Fix some problems with my last commit 2006-04-23 04:21:08 +00:00
gobjectnotifyqueue.c applied patch from Behdad with slight optimization, fixes #356175. 2006-09-22 12:06:28 +00:00
gparam.c reimplemented floating flag handling by atomically accessing a reserved 2006-09-11 10:14:05 +00:00
gparam.h Add G_PARAM_STATIC_STRINGS define (fixes #418021). 2007-03-14 19:09:33 +00:00
gparamspecs.c don't free or modify static strings, dup them when needed and clear the 2007-04-24 13:36:58 +00:00
gparamspecs.h implemented G_TYPE_GTPYE. applied patch from matthias which implements 2005-12-22 15:07:03 +00:00
gsignal.c Fix some issues with PLT entries. 2006-09-30 13:59:01 +00:00
gsignal.h fix pspec->name assignment which needs to be strdup()ed for non 2005-09-22 10:48:04 +00:00
gsourceclosure.c Make work again. 2005-03-14 06:47:51 +00:00
gsourceclosure.h Actually define the guard after checking for it. (#108038, Morten 2004-06-19 02:57:15 +00:00
gtype.c Fri Dec 15 2006 Matthias Clasen <mclasen@redhat.com> 2006-12-16 04:28:43 +00:00
gtype.h marked purely functional g_type accessors as PURE or CONST, closes 2007-03-12 12:28:56 +00:00
gtypemodule.c Copy the complete value table, not just the first 4 bytes. (#348136, 2006-07-21 13:57:25 +00:00
gtypemodule.h Define G_DEFINE_DYNAMIC_TYPE and and _EXTENDED variant. (#334437) 2006-12-29 06:12:11 +00:00
gtypeplugin.c Intern type names before registering the type to avoid unnecessary copies. 2005-08-31 14:38:18 +00:00
gtypeplugin.h Add /*< public >*/ and /*< private >*/ markers for documentation purposes. 2003-10-17 23:33:03 +00:00
gvalue.c reverted a change to have an assert instead of a g_return_val_if_fail() 2006-10-02 13:52:13 +00:00
gvalue.h provide marshaller specific value_set_*_take_ownership() variants. 2002-02-19 17:38:45 +00:00
gvaluearray.c Use g_slice. (#404430, Chris Wilson) 2007-03-15 05:01:20 +00:00
gvaluearray.h Small cleanup (use G_BEGIN/END_DECLS). (#168474, Fabricio Barros Cabral) 2005-03-08 05:15:57 +00:00
gvaluecollector.h Include gtypes.h not gobject/gtype.h 2001-11-18 00:38:48 +00:00
gvaluetransform.c Access enum and flags values as v_long/v_ulong, not v_int/v_uint, to make 2005-08-09 14:04:37 +00:00
gvaluetypes.c Fix some issues with PLT entries. 2006-09-30 13:59:01 +00:00
gvaluetypes.h implemented G_TYPE_GTPYE. applied patch from matthias which implements 2005-12-22 15:07:03 +00:00
Makefile.am Some file list updates (#398069, Owen Taylor) 2007-01-19 15:50:30 +00:00
makefile.msc.in better filtering of G_GNUC_* stuff when generating .def files. Now also 2006-09-17 16:17:44 +00:00
makegobjectalias.pl Make work again. 2005-03-14 06:47:51 +00:00
marshal-genstrings.pl Hacky script to fix up your .msc.in files on windows. Dunno if this is a 2001-08-04 15:49:55 +00:00
pltcheck.sh Fix some issues with PLT entries. 2006-09-30 13:59:01 +00:00
testgobject.c Remove some unused code. Same here And here Mark some functions static. 2005-09-08 06:35:44 +00:00