ChangeLog 125 KB
Newer Older
1 2 3 4 5 6
=== ChangeLog discontinued ===

	With the move to git, GLib is switching from a ChangeLog file
	to relying on commit messages to provide change history. Please
	see README.commits for guidance on the expected message format.

7 8 9 10 11 12
2009-03-13  Kristian Rietveld  <kris@imendio.com>

	* gsignal.c (signal_lookup_closure): when defaulting to the only
	item in the array, check if this is indeed the default closure.
	(patch by Tim Janik).

Matthias Clasen's avatar
Matthias Clasen committed
13 14 15 16
2009-03-13  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.20.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
17 18 19 20
2009-03-02  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.10 ===

Matthias Clasen's avatar
Matthias Clasen committed
21 22 23 24
2009-03-02  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.9 ===

25 26 27 28
2009-03-01  Matthias Clasen  <mclasen@redhat.com>

	Bug 556706 – Inconsistent help arguments -h, -?

Matthias Clasen's avatar
Matthias Clasen committed
29
	* glib-genmarshal.c:
30 31 32
	* glib-mkenums.in: Adjust help output, accept -?, capitalize.
	Patch by Christian Dywan

Matthias Clasen's avatar
Matthias Clasen committed
33 34 35 36
2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.8 ===

37 38 39 40 41
2009-02-17  Matthias Clasen  <mclasen@redhat.com>

	* gobject.c: Remove (now) unnecessary cases from g_atomic_int_get 
	calls.

Matthias Clasen's avatar
Matthias Clasen committed
42 43 44 45
2009-02-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.7 ===

Matthias Clasen's avatar
Matthias Clasen committed
46 47 48 49
2009-02-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.6 ===

Matthias Clasen's avatar
Matthias Clasen committed
50 51 52 53
2009-01-19  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.5 ===

Matthias Clasen's avatar
Matthias Clasen committed
54 55 56 57
2009-01-05  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.4 ===

58 59 60 61 62 63 64
2009-01-02  Behdad Esfahbod  <behdad@gnome.org>

	Bug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc
	Patch from  Andrzej Zaborowski

	* gobject.c (g_object_do_class_init): Fix param order in docs.

Matthias Clasen's avatar
Matthias Clasen committed
65 66 67 68
2008-12-15  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
69 70 71 72
2008-12-12  Dan Winship  <danw@gnome.org>

	* pltcheck.sh: make this work on x86_64

73 74 75 76 77 78 79 80 81
2008-12-02  Matthias Clasen  <mclasen@redhat.com>

	Bug 473150 – g_type_module_use inconsistently increases the use
	counter in case of error

	* gtypemodule.c (g_type_module_use): Always reset the use count
	to its previous value before returning FALSE. Pointed out by
	Johan Billien.

Matthias Clasen's avatar
Matthias Clasen committed
82 83 84 85
2008-12-01  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.2 ===

Matthias Clasen's avatar
Matthias Clasen committed
86 87 88 89
2008-12-01  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.19.1 ===

90 91 92 93 94 95 96
2008-11-28  Matthias Clasen  <mclasen@redhat.com>

	Bug 559456 – GObject Reference Manual (typo)

	* gsignal.c (g_signal_newv): Fix a typo in the docs, pointed out
	by Andrew Feren

97 98 99 100 101 102 103
2008-11-03  Matthias Clasen <mclasen@redhat.com>

	Bug 555935 – Clear the mechanism of overwriting properties

	* gobject.c: Expand the docs of g_object_class_install_property.
	Proposed by Maciej Piechotka

Matthias Clasen's avatar
Matthias Clasen committed
104 105 106 107
2008-10-16  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.19.0 ===

108 109 110 111 112 113 114 115
2008-09-26  Dan Winship  <danw@gnome.org>

	* gobject.c (g_object_ref, g_object_unref)
	(g_object_freeze_notify, g_object_notify, g_object_thaw_notify):
	* gparam.c (g_param_spec_ref, g_param_spec_unref):
	* gsignal.c (handler_ref, handler_unref_R): add uint* -> int*
	casts in g_atomic_int calls to avoid gcc warnings

Matthias Clasen's avatar
Matthias Clasen committed
116 117 118 119
2008-09-17  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.18.1 ===

Matthias Clasen's avatar
Matthias Clasen committed
120 121 122 123
2008-09-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.18.0 ===

124 125 126 127 128 129 130
2008-08-21  Johan Dahlin  <johan@gnome.org>

	* gobject.h:
	Mark g_object_get_type function as const, it's
	a fundamental type and can safely marked as const,
	as opposed to traditionally *_get_type functions.

131 132 133 134 135 136 137 138 139
2008-08-21  Johan Dahlin  <johan@gnome.org>

	Bug 548800 – Missing a g_object_get_type function

	* gobject.c (g_object_get_type):
	* gobject.h:
	* gobject.symbols:
	Add g_object_get_type

Matthias Clasen's avatar
Matthias Clasen committed
140 141 142 143
2008-08-18  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.7 ===

Matthias Clasen's avatar
Matthias Clasen committed
144 145 146 147
2008-08-04  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.6 ===

Matthias Clasen's avatar
Matthias Clasen committed
148 149 150 151
2008-08-04  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.5 ===

Matthias Clasen's avatar
Matthias Clasen committed
152 153
2008-08-01  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
154 155
	Bug 545395 – Language tweak for g_value_set_string* docs

Matthias Clasen's avatar
Matthias Clasen committed
156
	* gvaluetypes.c: Clarify the docs of some GValue setters.
Matthias Clasen's avatar
Matthias Clasen committed
157
	Proposed by Erik Walthinsen
Matthias Clasen's avatar
Matthias Clasen committed
158

159 160 161 162 163 164
2008-07-27  Tor Lillqvist  <tml@novell.com>

	* gtype.h
	* gtype.c: Revert my change from 2008-07-24. No G_TYPE_FORMAT is
	needed. Just use G_GSIZE_FORMAT always when printing GType values.

165 166 167 168
2008-07-27  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (gobject-2.0.lib): Pass appropriate -machine flag to lib.exe.

169 170 171 172 173 174 175
2008-07-24  Tor Lillqvist  <tml@novell.com>

	* gtype.h: Define G_TYPE_FORMAT as the printf format for a GType
	value. Either G_GSIZE_FORMAT or "lu".

	* gtype.c: Use it instead of the C99 zu.

Matthias Clasen's avatar
Matthias Clasen committed
176 177 178 179 180 181
2008-07-23  Matthias Clasen  <mclasen2redhat.com>

	544177 - Fix trivial cut and paste error in documentation

	* gtype.h: Fix a typo. Pointed out by Paul Bolle.

Matthias Clasen's avatar
Matthias Clasen committed
182 183 184 185
2008-07-21  Matthias Clasen  <mclasen2redhat.com>

	* === Released 2.17.4 ===

Michael Natterer's avatar
Michael Natterer committed
186 187
2008-07-21  Michael Natterer  <mitch@imendio.com>

188 189
	Reviewed by Tim Janik:

Michael Natterer's avatar
Michael Natterer committed
190 191 192 193 194 195
	* gsignal.c (g_signal_chain_from_overridden_handler): allocate
	the temp GValue array with GSLice.

	(g_signal_emit_valist): dito. Remove optimization/obfuscation of
	allocating up to 16 GValues on the stack and always use GSLice.

196 197 198 199 200 201 202
2008-07-05  Matthias Clasen  <mclasen@redhat.com>

	Bug 539229 – gobject-query calls itself query

	* gobject-query.c: Use the right binary name in help output.
	Patch by Hiroyuki Ikezoe.

203 204 205 206
2008-07-04  Michael Natterer  <mitch@imendio.com>

	* gobject.c: remove unused #define PREALLOC_CPARAMS.

207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
2008-07-04  Michael Natterer  <mitch@imendio.com>

	Bug 541208 – Functions to easily install and use signals without
	class struct slot

	* gobject.symbols
	* gsignal.[ch] (g_signal_new_class_handler): the same as
	_gtk_binding_signal_new(), to install signals with a callback
	instead of a class struct slot as class closure.

	The next two functions are C convenience and much easier to use
	than the generic overriding and chaining APIs which are intended
	primarily for language bindings:

	(g_signal_override_class_handler): to override a signal with a
	callback instead of a class struct slot.

	(g_signal_chain_from_overridden_handler): to chain up from a
	signal without class struct slot. The API is similar to
	g_signal_emit().

Matthias Clasen's avatar
Matthias Clasen committed
228 229 230 231
2008-07-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
232 233 234 235
2008-07-01  Matthias Clasen  <mclasen@redhat.com>

	* *.c: Fix up section comments far enough to avoid regressions.

236 237 238 239 240
2008-06-27  Hans Breuer  <hans@breuer.org>

	* glib-genmarshal.c : move G_OS_WIN32 inclusion of <io.h> down to
	where G_OS_WIN32 will be defined (#540047, Kazuki IWAMOTO)

241 242 243 244 245 246
2008-06-22  Michael Natterer  <mitch@imendio.com>

	* *.c: remove trailing whitespace from newly added gtk-doc
	comments and reformatted some where they contained overly long or
	ill-formatted lines.

247 248 249 250 251 252 253 254
2008-06-22  Michael Natterer  <mitch@imendio.com>

	* *.c: moved includes back to the top of the files (before gtk-doc
	SECTION comments). Add "config.h" in all files and move system
	included before glib includes. Remove trailing whitespace from
	SECTION comments and did some reformatting where lines were overly
	long, no documentation content was changed.

255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440
2008-06-22  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/gobject-unused.sgml:
	* gobject/gobject.h:
	* gobject/gtype.c:
	* gobject/gtype.h:
	  Move some content for gobject-unused.sgml and cleared empty entries.
	  The remaining 4 ones should be checked by some else. If they are not
	  needed. The file can be removed.

2008-06-22  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/value_collection.sgml:
	* gobject/gvaluecollector.h:
	  Migrating docs.

2008-06-22  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/value_arrays.sgml:
	* gobject/gvaluearray.c:
	* gobject/gvaluearray.h:
	  Migrating docs.

2008-06-22  Stefan Kost  <ensonic@users.sf.net>

	* gobject/gsignal.c:
	  Fix compiler warning in format string check.

2008-06-22  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/signals.sgml:
	* gobject/gclosure.c:
	* gobject/gobject.c:
	* gobject/gsignal.c:
	* gobject/gsignal.h:
	  Migrating docs.

2008-06-22  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/Makefile.am:
	  Help poor little gtkdoc a bit and tell that it can ignore
	  G_GNUC_INTERNAL. Also disable including the unit-test header as this
	  causes warnings and we don't need it here.

2008-06-22  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/param_value_types.sgml:
	* gobject/gboxed.c:
	* gobject/gboxed.h:
	* gobject/genums.c:
	* gobject/genums.h:
	* gobject/gobject.c:
	* gobject/gobject.h:
	* gobject/gparam.c:
	* gobject/gparam.h:
	* gobject/gparamspecs.c:
	* gobject/gparamspecs.h:
	* gobject/gvaluetypes.c:
	* gobject/gvaluetypes.h:
	  Migrating docs.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/objects.sgml:
	* gobject/gobject.c:
	* gobject/gobject.h:
	* gobject/gparam.h:
	  Migrating docs.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/gtypeplugin.sgml:
	* gobject/gtypeplugin.c:
	* gobject/gtypeplugin.h:
	  Migrating docs.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/Makefile.am:
	  Add --sgml-mode to allow sgml in doc-fragments (which somehow works
	  before already).

	* gobject/gboxed.h:
	* gobject/gclosure.c:
	* gobject/gparam.c:
	* gobject/gparam.h:
	* gobject/gtype.h:
	  Convert character entities back. Fix some broken sgml.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/gtypemodule.sgml:
	* gobject/gtypemodule.c:
	* gobject/gtypemodule.h:
	  Migrating docs.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* gobject/gboxed.c:
	* gobject/gclosure.c:
	* gobject/genums.c:
	* gobject/gparam.c:
	* gobject/gvalue.c:
	  Add titles back from tmpl.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/gtype.sgml:
	* gobject/gtype.c:
	* gobject/gtype.h:
	* gobject/gvaluetypes.h:
	  Migrating docs.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* gobject/gclosure.h:
	* gobject/gparam.h:
	  Add one missing ':' and reformate GParamFlags docs.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/gparamspec.sgml:
	* gobject/gparam.c:
	* gobject/gparam.h:
	  Migrating docs.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* gobject/gboxed.c:
	* gobject/gclosure.c:
	* gobject/genums.c:
	* gobject/gvalue.c:
	  Use file-names from the section file for SECTION: comments.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/generic_values.sgml:
	* gobject/gboxed.h:
	* gobject/gtype.h:
	* gobject/gvalue.c:
	* gobject/gvalue.h:
	* gobject/gvaluetypes.c:
	  Migrating docs.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* gobject/genums.h:
	  Fix documentation for return values.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/gclosure.sgml:
	* gobject/gboxed.h:
	* gobject/gclosure.c:
	* gobject/gclosure.h:
	* gobject/gobject.c:
	* gobject/gsourceclosure.c:
	* gobject/gsourceclosure.h:
	  Migrating docs.

2008-06-21  Tor Lillqvist  <tml@novell.com>

	* glib/gstdio.c: Improve Windows-specific parts of
	documentation. Mention the different C library issue in more
	places.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/gobject-sections.txt:
	  Remove duplicated entries. They are documented and should be shown.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/enumerations_flags.sgml:
	* gobject/genums.c:
	* gobject/genums.h:
	  Migrating docs.

2008-06-21  Stefan Kost  <ensonic@users.sf.net>

	* docs/reference/gobject/tmpl/gboxed.sgml:
	* gobject/gboxed.c:
	* gobject/gboxed.h:
	* gobject/gvaluetypes.c:
	  Migrating docs.

Matthias Clasen's avatar
Matthias Clasen committed
441 442 443 444
2008-06-12  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.17.2 ===

Matthias Clasen's avatar
Matthias Clasen committed
445 446 447 448
2008-06-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.1 ===

449 450 451 452 453 454
2008-06-10 13:34:01  Tim Janik  <timj@imendio.com>

	* tests/threadtests.c: added race condition tester from Michael Meeks
	with a couple fixes so it's not triggering development warnings. From:
	Bug 537555 - GObject instantiation not thread safe ...

455 456 457 458 459
2008-06-10 13:15:29  Tim Janik  <timj@imendio.com>

	* gtype.c (g_type_class_ref): fixed race condition where references to
	partially initialized classes could be handed out.

460 461 462 463 464
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
	the global CPPFLAGS now.

Matthias Clasen's avatar
Matthias Clasen committed
465 466 467 468
2008-05-27  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.17.0 ===

469 470 471 472 473 474
2008-05-05  Michael Natterer  <mitch@imendio.com>

	* Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
	code from being checked in that breaks the build of applications
	which use G_DISABLE_SINGLE_INCLUDES.

475 476 477 478 479
2008-03-16  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Define gobject_def locally here instead of using an
	Autoconf variable.

Matthias Clasen's avatar
Matthias Clasen committed
480 481 482 483
2008-03-10  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.16.1 ===

Matthias Clasen's avatar
Matthias Clasen committed
484 485 486 487
2008-03-10  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.16.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
488 489 490 491
2008-02-25  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.6 ===

Matthias Clasen's avatar
Matthias Clasen committed
492 493 494 495
2008-02-11  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.15.5 ===

496 497 498 499 500 501 502
2008-02-06  Benjamin Otte  <otte@gnome.org>

	* gparamspecs.c: (param_gtype_set_default), (param_gtype_validate):
	make GParamGType require the set type during construction instead of
	using G_TYPE_NONE, which causes issues when setting.
	Bug 513073 - g_param_spec_gtype breaks with G_PARAM_CONSTRUCT

503 504 505 506 507 508 509 510 511 512
2008-02-05 18:52:07  Tim Janik  <timj@imendio.com>

	* gtype.c: added recursive mutex to protect class initialization,
	default interface initialization and per-class interface construction.
	a lock to this recursive mutex is held during user callback invocations
	such as initializers or finalizers, effectively allowing only one thread
	to run class/interface initializers/finalizers at a time.
	also made misc fixups. this fixes:
	Bug 64764 - Class initialization isn't thread safe.

18:41:22  Tim Janik's avatar
18:41:22 Tim Janik committed
513 514 515 516 517 518 519 520 521 522 523
2008-02-05 18:41:22  Tim Janik  <timj@imendio.com>

	* Makefile.am: integrate tests/.

	* tests/: new directory for libgobject tests.

	* tests/Makefile.am: build and run threadtests.

	* tests/threadtests.c: test multi-threaded initializers for
	object classes and interfaces.

Matthias Clasen's avatar
Matthias Clasen committed
524 525 526 527
2008-01-28  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.4 ===

Matthias Clasen's avatar
Matthias Clasen committed
528 529 530 531
2008-01-21  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
532 533 534 535
2008-01-14  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.2 ===

Matthias Clasen's avatar
Matthias Clasen committed
536 537 538 539
008-01-07  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.1 ===

540 541 542 543 544
2007-12-26  Behdad Esfahbod  <behdad@gnome.org>

	* gclosure.h (G_CCLOSURE_SWAP_DATA): Fix macro argument.
	(#505674, Areg Beketovski)

Matthias Clasen's avatar
Matthias Clasen committed
545 546 547 548
2007-12-20  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.15.0 ===

549 550 551 552 553 554 555 556
2007-11-11  Mathias Hasselmann  <mathias@openismus.com>

	Always exit with non-zero error code when printing warnings.

	* gobject/glib-genmarshal.c: Add global exit_status variable, and use
	it in pad() and process_signature() to return with non-zero error code
	when printing warnings. (#495294)

557 558 559 560 561
2007-11-08  Matthias Clasen <mclasen@redhat.com>

	* glib-mkenums.in: Don't shift ARGV[0] to undefined. 
	(#466557, Aidan Delaney)

Matthias Clasen's avatar
Matthias Clasen committed
562 563 564 565
2007-11-07  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.14.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
566 567 568 569
2007-10-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.14.2 ===

570 571 572 573 574 575
2007-09-20  Carlos Garnacho  <carlos@imendio.com>

	* gtypemodule.h: make sure we define GType g_define_type_id in
	G_G_DEFINE_DYNAMIC_TYPE_EXTENDED so it works together with
	G_IMPLEMENT_INTERFACE. (#478459)

Matthias Clasen's avatar
Matthias Clasen committed
576 577 578 579
2007-09-19  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.14.1 ===

Matthias Clasen's avatar
Matthias Clasen committed
580 581 582 583
2007-08-03  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.14.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
584 585 586 587
2007-07-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.13.7 ===

588 589 590 591 592 593
Tue Jul 10 12:31:50 2007  Tim Janik  <timj@imendio.com>

	* gtype.h: use g_once_init_enter/g_once_init_leave to guard critical
	initialization section of *_get_type implementations in G_DEFINE_TYPE,
	bug #65041.

Matthias Clasen's avatar
Matthias Clasen committed
594 595 596 597
Fri Jun 29 2007  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.13.6 ===

598 599 600 601 602
Fri Jun 22 11:31:27 2007  Tim Janik  <timj@gtk.org>

	* gtype.h: reintroduce typedef gulong GType; for C++, to avoid
	C++ specific ABI breakage.

Matthias Clasen's avatar
Matthias Clasen committed
603 604 605 606
2007-06-18  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.13.5 ===

607 608 609 610 611 612
Thu Jun 14 23:32:00 2007  Tim Janik  <timj@gtk.org>

	* gtype.h: always define GType unconditionally in terms of gsize,
	there's no need to jump through a glong hoop ever and this fixes
	the printf modifier to %zu.

613 614 615 616 617
Thu Jun 14 22:33:11 2007  Tim Janik  <timj@imendio.com>

	* gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
	fixes #363986.

Matthias Clasen's avatar
Matthias Clasen committed
618 619 620 621
2007-06-05  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.13.4 ===

Matthias Clasen's avatar
Matthias Clasen committed
622 623 624 625
2007-06-04  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.13.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
626 627 628 629
2007-05-22  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.13.2 ===

630 631 632 633 634 635
2007-05-17  Matthias Clasen <mclasen@redhat.com>

	* gtype.h: Move G_GNUC_INTERNAL before function
	declarations to fix compilation with sun studio.  (#438873,
	Damien Carbery)

Matthias Clasen's avatar
Matthias Clasen committed
636 637 638 639
2007-05-03  Matthias Clasen <mclasen@redhat.com>

	* === Released 2.13.1 ===

640 641 642 643 644 645 646 647 648 649 650
2007-04-25  Michael Natterer  <mitch@imendio.com>

	* gparamspecs.c (param_string_validate): also clear the
	NOCOPY_CONTENTS flag when replacing NULL with the empty string.

2007-04-24  Michael Natterer  <mitch@imendio.com>

        * 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.

651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666
Tue Apr  3 12:34:14 2007  Tim Janik  <timj@gtk.org>

	* gobject.[hc]: invoke GObjectClass.constructed() only for newly
	constructed objects, and invoke it while the notify queue is
	still being frozen, after all CONSTRUCT* properties have been
	set and before random other properties are being set.

	* applied modified patch from Ryan Lortie to implement
	GObjectClass.constructed() to fix #425324.

2007-04-02  Ryan Lortie  <desrt@desrt.ca>

	* gobject/gobject.h: Add 'constructed' vcall to GObjectClass.
	* gobject/gobject.c (g_object_newv): call ->constructed() as last
	step of object construction.

Matthias Clasen's avatar
Matthias Clasen committed
667 668 669 670
2007-03-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.13.0 ===

671 672 673 674
2007-03-15  Matthias Clasen  <mclasen@redhat.com>

	* gvaluearray.c: Use  g_slice.  (#404430, Chris Wilson)

675 676 677 678 679
2007-03-14  Stefan Kost  <ensonic@users.sf.net>

	* gparam.h:
	  Add G_PARAM_STATIC_STRINGS define (fixes #418021).

680 681 682 683 684
Mon Mar 12 13:30:20 2007  Tim Janik  <timj@gtk.org>

	* gtype.h: marked purely functional g_type accessors as PURE or CONST,
	closes #305100.

685 686 687
2007-01-02  Tor Lillqvist  <tml@novell.com>

	* glib-genmarshal.c (main): Handle "/dev/stdin" by dup()ing fd 0
688 689
	so that it works on Win32 and other systems without
	/dev/stdin. (#407431)
690

691 692 693 694 695
2006-12-29 Matthias Clasen  <mclasen@redhat.com>

	* gtypemodule.h: Define G_DEFINE_DYNAMIC_TYPE and
	and _EXTENDED variant.  (#334437)

696 697 698 699 700
Fri Dec 15 2006  Matthias Clasen  <mclasen@redhat.com>

	* gtype.c (instance_real_class_get): Dereference the pointer 
	before dropping the lock.  (#378078, Jonathan Matthew)

701 702 703 704 705 706
Tue Oct 10 12:06:08 2006  Tim Janik  <timj@gtk.org>

	* glib-mkenums.in: 
	* glib-mkenums.1: applied patch from David Necas which introduces
	an underscore_name option and fixes #358734.

707 708 709 710 711 712 713 714 715 716
Mon Oct  2 15:50:16 2006  Tim Janik  <timj@gtk.org>

	* gvalue.c (g_value_peek_pointer): reverted a change to have an
	assert instead of a g_return_val_if_fail() here. libraries (and
	programs) should only ever g_assert or g_error if there is no way
	to carry on with the current program state. that's clearly not 
	the case here.

	* ChangeLog: added missing changelog entry for 2003-12-30.

717 718 719 720 721 722 723 724 725 726 727 728
Sat Sep 30 2006  Matthias Clasen  <mclasen@redhat.com>

	* pltcheck.sh: Script to check PLT entries.

	* Makefile.am (TESTS): Run pltcheck.sh

	* gtype.c:
	* gsignal.c:
	* gobject.c:
	* gvaluetypes.c: Move all includes before gobjectalias.h.
	(#3545422, Behdad Esfahbod)

729 730 731 732 733 734 735
Fri Sep 22 13:41:02 2006  Tim Janik  <timj@imendio.com>

	* gtype.h: applied patch from Behdad with slight optimization, 
	fixes #356175.

	* gobjectnotifyqueue.c: fixed include-guard macro name.

736 737 738 739 740
Mon Sep 11 12:12:45 2006  Tim Janik  <timj@imendio.com>

	* gparam.c (g_param_spec_sink): reimplemented floating flag handling by
	atomically accessing a reserved GData bit, fixes #330556.

741 742 743 744 745 746 747
Tue Aug 29 13:27:33 2006  Tim Janik  <timj@gtk.org>

	* glib-mkenums.in: fixed to print usage and version info on STDOUT
	(#322502).

	* gobject.c (g_initially_unowned_init): restore ; after G_DEFINE_TYPE.

748 749 750 751
2006-08-26  Matthias Clasen  <mclasen@redhat.com>

	* gobject.c: Remove ; after G_DEFINE_TYPE.  (#351741, Kjartan Maraas)

752 753 754 755 756 757 758 759 760 761
Wed Aug 23 10:35:32 2006  Tim Janik  <timj@gtk.org>

	* gobject.[hc]: changed return value of g_value_dup_object(), fixes #343292.

2006-08-23  Sven Neumann  <sven@gimp.org>

	* gobject/glib-genmarshal.[c1]: added new command-line option
	"--internal" that can be used to let glib-genmarshal generate
	internal functions using the G_GNUC_INTERNAL attribute (bug #346647).

762 763 764 765 766
Wed Aug 16 13:55:08 2006  Tim Janik  <timj@imendio.com>

	* gobject.c: conditionally thaw the notify queue after construction,
	so we don't trigger warnings when trying to thaw an unfrozen singleton.

Matthias Clasen's avatar
Matthias Clasen committed
767 768 769 770
2006-08-15  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.12.2 ===

771 772 773 774 775
2006-08-05  Matthias Clasen  <mclasen@redhat.com>

	* gparamspecs.c (g_param_spec_types_init): Don't initialize
	struct members with function calls.  (#349952)

Matthias Clasen's avatar
Matthias Clasen committed
776 777 778 779
2006-07-22  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.12.1 ===

780 781 782 783 784
2006-07-21  Matthias Clasen  <mclasen@redhat.com>

	* gtypemodule.c (g_type_module_register_type): Copy the complete
	value table, not just the first 4 bytes.  (#348136, Coverity)

Matthias Clasen's avatar
Matthias Clasen committed
785 786 787 788
2006-07-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.12.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
789 790 791 792
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.11.4 ===

793 794 795 796 797 798 799
2006-06-15  Federico Mena Quintero  <federico@novell.com>

	* gtype.c (g_type_instance_get_private): Fix the error message so
	that it mentions the right functions:
	"g_type_instance_get_private() requires a prior call to
	g_type_class_add_private()".

Matthias Clasen's avatar
Matthias Clasen committed
800 801 802 803
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.11.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
804 805 806 807
2006-06-05  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.11.2 ===

808 809 810 811 812
2006-06-02  Behdad Esfahbod  <behdad@gnome.org>

	* gobject/genum.h: Make value_name and value_nick const in structs
	_GEnumValue and _GFlagValue.  (#317793)

813 814 815 816
Tue May 16 14:01:43 2006  Tim Janik  <timj@imendio.com>

	* gtype.h (G_IMPLEMENT_INTERFACE): turn off compiler warnings, #337129.

Matthias Clasen's avatar
Matthias Clasen committed
817 818 819 820
2006-05-15  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.11.1 ===

Matthias Clasen's avatar
Matthias Clasen committed
821 822 823 824
2006-05-02  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.11.0 ===

825 826 827 828 829 830
Tue May  2 14:51:03 2006  Tim Janik  <timj@gtk.org>

	* gtype.h: split up G_DEFINE_*TYPE macro definitions so C CODE arguments
	are not passed on to nested macro calls. patch mostly courtesy of Behdad
	Esfahbod, fixes #337128.

831 832 833 834 835 836 837 838 839
2006-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gobject.symbols: Fix a typo.

	* gtype.c: (g_type_register_static_simple): Add a 
	missing return.

	* gtype.h: Silence warnings from G_DEFINE_TYPE.
	
840 841 842 843 844 845 846 847
2006-04-21  Matthias Clasen  <mclasen@redhat.com>

	* gobject.symbols:
	* gtype.[hc]: Add a g_type_register_static_simple
	variant of g_type_register_static that does not take 
	a relocation-causing GTypeInfo struct, and use it 
	in G_DEFINE_TYPE.

Matthias Clasen's avatar
Matthias Clasen committed
848 849 850 851
2006-03-07  Matthias Clasen  <mclasen@redhat.com>

	* ===  Released 2.10.1 ===

852 853 854 855 856
Tue Mar  7 17:09:07 2006  Tim Janik  <timj@gtk.org>

	* gobject.c (g_object_compat_control): added case3 to hand out the
	original floating flag handler. required by gtk+ >= 2.10.

Matthias Clasen's avatar
Matthias Clasen committed
857 858 859 860
2006-02-24  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.10.0 ===

Matthias Clasen's avatar
2.9.6  
Matthias Clasen committed
861 862 863 864
2006-02-10  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.6 ===

Matthias Clasen's avatar
Matthias Clasen committed
865 866 867 868
2006-01-29  Matthias Clasen  <mclasen@redhat.com>

	* gclosure.c: Remove C++ comment.

Matthias Clasen's avatar
2.9.5  
Matthias Clasen committed
869 870 871 872
2006-01-27  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.5 ===

Matthias Clasen's avatar
2.9.4  
Matthias Clasen committed
873 874 875 876
2006-01-18  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.9.4 ===

877 878 879 880 881 882
2006-01-18  Matthias Clasen  <mclasen@redhat.com>

	* gobject.h: Make g_object_compat_control() visible
	for GTK+ compilation, to avoid segfaults on 64bit
	platforms.

Matthias Clasen's avatar
2.9.3  
Matthias Clasen committed
883 884 885 886
2006-01-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.3 ===

Matthias Clasen's avatar
2.9.2  
Matthias Clasen committed
887 888 889 890
2006-01-05  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.2 ===

Matthias Clasen's avatar
Matthias Clasen committed
891 892 893
2006-01-04  Matthias Clasen  <mclasen@redhat.com>

	* gobject.symbols: Add g_initially_unowned_get_type.
894

Matthias Clasen's avatar
Matthias Clasen committed
895 896
2005-12-30  Matthias Clasen  <mclasen@redhat.com>
	
897 898
	* gsignal.c: Remove the handler trash stack, which
	is now unused.
899 900 901
	(g_signal_init): Remove the restriction that HandlerMatch
	must be the same size as GList, and obsolete comments 
	referring to mem chunks.
902

Matthias Clasen's avatar
Matthias Clasen committed
903 904 905 906
2005-12-24  Matthias Clasen  <mclasen@redhat.com>

	* gobject.symbols: Add new functions.

907 908 909 910
Thu Dec 22 18:53:14 2005  Tim Janik  <timj@gtk.org>

	* gobject.[hc]: renamed GUnowned to GInitiallyUnowned.

911 912 913 914 915 916 917 918 919 920 921 922 923
Thu Dec 22 14:59:24 2005  Tim Janik  <timj@imendio.com>

	* gvaluetypes.[hc]: implemented G_TYPE_GTPYE. applied patch
	from matthias which implements GType accessors for GValue.

	* gparamspecs.[hc]: applied patch from matthias which 
	implements G_TYPE_PARAM_GTYPE.

	* gobject.[hc]:
	GUnowned: introduced a new object type that has an initially
	floating reference.
	g_object_compat_control(): allow setting of a floating flag handler.

Matthias Clasen's avatar
2.9.1  
Matthias Clasen committed
924 925 926 927
2005-12-09  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.1 ===

928 929 930 931 932
2005-12-05  Matthias Clasen  <mclasen@redhat.com>

	* genums.h (G_FLAGS_CLASS_TYPE_NAME): Use G_FLAGS_CLASS_TYPE.
	(#323273, Kalle Vahlman)
	
933 934 935 936
Thu Dec  1 12:53:26 2005  Tim Janik  <timj@imendio.com>

	* gtype.c: use g_slic_* for all object allocations.

Matthias Clasen's avatar
Matthias Clasen committed
937 938 939 940 941 942 943
2005-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gobjectnotifyqueue.c (g_object_notify_queue_thaw): 
	* gobject-query.c (main): Silence compiler warnings.

	* glib-genmarshal.c (main): Use G_N_ELEMENTS.

944 945 946 947
2005-11-27  Matthias Clasen  <mclasen@redhat.com>

	* gboxed.h: Declare g_hash_table_get_type.

948 949 950 951 952 953 954 955 956 957 958 959 960 961
Wed Nov 23 18:01:46 2005  Tim Janik  <timj@imendio.com>

	* gobject.[hc]: added floating reference count.
	g_object_is_floating():
	g_object_ref_sink(): new functions to deal with floating references.
	g_object_force_floating(): new funciton for object implementations
	to set the floating flag.

	* gobject.c (g_object_init): make objects initially floating.

Wed Nov 23 17:58:13 2005  Tim Janik  <timj@gtk.org>

	* gparam.[hc]: added g_param_spec_ref_sink().

962 963 964 965
Wed Nov 23 13:36:02 2005  Tim Janik  <timj@gtk.org>

	* gboxed.[hc]: minor cleanups, implemented G_TYPE_HASH_TABLE.

Matthias Clasen's avatar
2.9.0  
Matthias Clasen committed
966 967 968 969
2005-11-17  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.0 ===

970 971 972 973 974
2005-11-17  Matthias Clasen  <mclasen@redhat.com>

	* glib-genmarshal.c: const correctness fixes, found
	by Arjan van de Ven and gcc.
	
975 976 977 978 979 980 981 982
Tue Nov  1 17:07:43 2005  Tim Janik  <timj@imendio.com>

	* gsignal.c: allocate signal handlers and handler match structures
	via the new g_slice_*() API (get's rid of GList allocation hack).

	* gtype.c: got rid of per-type memchunks. if GTypeInfo.n_preallocs
	is > 0, objects are allocated via g_slice_*() instead of g_malloc().

Matthias Clasen's avatar
Matthias Clasen committed
983 984 985 986
2005-10-03  Matthias Clasen  <mclasen@redhat.com>

	* glib-mkenums.in: Really fix #314890.

987 988 989 990 991 992 993
2005-09-28  Michael Natterer  <mitch@gimp.org>

	* gtype.h (G_IMPLEMENT_INTERFACE): revert last change, it breaks
	all users of G_IMPLEMENT_INTERFACE() inside
	G_DEFINE_TYPE_WITH_CODE(), since apparently GCC doesn't like
	commas enclosed in {}, not (), in nested macro calls.

994 995 996 997 998
2005-09-26  DindinX  <dindinx@gimp.org>

	* gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
	G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W

999 1000 1001 1002 1003
2005-09-26  Matthias Clasen  <mclasen@redhat.com>

	* glib-mkenums.in: Don't hang on '{' following a trigraph comment
	in the same line.  (#314890, Mathias Hasselmann)

1004 1005 1006 1007 1008 1009 1010 1011 1012 1013
Thu Sep 22 12:42:12 2005  Tim Janik  <timj@gtk.org>

	* gparam.c (g_param_spec_internal): fix pspec->name assignment which
	needs to be strdup()ed for non G_PARAM_STATIC_NAME pspecs. this fixes
	recently introduced crashes during plugin unloading.
	also, ensure that static pspec names are canonicalized.

	* gsignal.h: reverted last change from matthias, we don't guarantee
	that type ids aren't mangled with G_SIGNAL_TYPE_STATIC_SCOPE anywhere.

1014 1015 1016 1017 1018 1019
2005-09-20  Matthias Clasen  <mclasen@redhat.com>

	* gsignal.h (struct _GSignalQuery): Remove the misleading comment
	about G_SIGNAL_TYPE_STATIC_SCOPE, since we don't allow that 
	on return types.

1020 1021 1022 1023 1024 1025 1026 1027
2005-09-08  Kjartan Maraas  <kmaraas@gnome.org>

	* gclosure.c: (g_closure_set_meta_marshal): Remove some unused
	code.
	* gsignal.c: (g_signal_emitv): Same here
	* gtype.c: (g_type_register_fundamental): And here
	* testgobject.c: Mark some functions static.

1028 1029 1030 1031 1032 1033 1034
2005-09-05  Matthias Clasen  <mclasen@redhat.com>

	* gsignal.c (struct _SignalNode): Make the name field const.
	(g_signal_newv): Don't keep an unnecessary extra copy of the 
	signal name around, and don't forget to free the name if
	an existing node is reused.	

1035 1036
2005-08-31  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1037 1038 1039 1040 1041
	* gobject.c (g_object_do_class_init): Intern the signal name.

	* gparam.c (g_param_spec_internal): Intern the name here,
	since we need the quark anyway when sending change notification.

Matthias Clasen's avatar
Matthias Clasen committed
1042 1043 1044 1045 1046
	* gboxed.c: 
	* gparamspecs.c: 
	* gtype.c (g_type_init_with_debug_flags): Intern type name
	before registering the types.

1047 1048 1049
	* gtype.h (G_DEFINE_TYPE_EXTENDED): Intern type name
	before registering the type.

1050 1051 1052 1053 1054 1055 1056 1057 1058 1059
	* gvaluetypes.c (g_value_types_init): 
	* gtypeplugin.c (g_type_plugin_get_type): 
	* gtypemodule.c (g_type_module_get_type): 
	* gparam.c (g_param_type_init): 
	* gobject.c (g_object_type_init): 
	* genums.c (g_enum_types_init): 
	* gboxed.c (g_boxed_type_init): Intern type names
	before registering the type to avoid unnecessary
	copies.

Matthias Clasen's avatar
2.8.1  
Matthias Clasen committed
1060 1061 1062 1063
2005-08-23  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.8.1 ===

Matthias Clasen's avatar
2.8.0  
Matthias Clasen committed
1064 1065 1066 1067
2005-08-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.8.0 ===

1068 1069 1070 1071 1072 1073 1074 1075
2005-08-09  Matthias Clasen  <mclasen@redhat.com>

	* gvaluetransform.c: Access enum and flags
	values as v_long/v_ulong, not v_int/v_uint,
	to make value transformation of such types
	work on bigendian 64bit machines.  (#312485,
	Michael Lorenz)

Matthias Clasen's avatar
2.7.7  
Matthias Clasen committed
1076
2005-08-05  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1077 1078
	
	* abicheck.sh: Also check exported variables
Matthias Clasen's avatar
2.7.7  
Matthias Clasen committed
1079 1080 1081

	* === Released 2.7.7 ===

Matthias Clasen's avatar
2.7.6  
Matthias Clasen committed
1082 1083 1084 1085
2005-08-03  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.7.6 ===

Matthias Clasen's avatar
2.7.5  
Matthias Clasen committed
1086 1087
2005-08-02  Matthias Clasen  <mclasen@redhat.com>

1088 1089 1090 1091
	* gclosure.c (union ClosureInt): Mark the vint member as
	volatile, which seems to be necessary to make atomic operations
	work on s390.

Matthias Clasen's avatar
2.7.5  
Matthias Clasen committed
1092 1093
	* === Released 2.7.5 ===

1094 1095 1096 1097 1098 1099 1100 1101 1102 1103
Mon Aug  1 23:00:42 2005  Tim Janik  <timj@imendio.com>

	* gclosure.c: turned all modifications to the first 32 integer bits in a 
	closure into atomic accesses. wrapped write accesses into special macros
	to keep the atomic modification logic in a single place. comment cleanups.

	* gclosure.h: made all atomicly accessed closure fields volatile.

	* gobject.h: made ref_count field volatile.

1104 1105 1106 1107 1108
Sun Jul 31 02:04:23 2005  Tim Janik  <timj@gtk.org>

	* gobject.c: use g_datalist_set_flags() and g_datalist_unset_flags() to
	allow proper locking around &qdata modifications.

1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127
Sat Jul 30 21:10:26 2005  Tim Janik  <timj@gtk.org>

	* gobject.c: reverted notify_mutex introduction, since this prevents
	parallelized setting of object properties on different objects, and
	serves no apparent purpose (to me at least).
	g_object_real_dispose(): removed non-atomic reference count 
	modifications.
	g_object_unref(): make sure the closures array is destroyed when
	destroying signal handlers.

	* gparam.c: cosmetic changes.

	* gsignal.c: comment fixup. allow 16bit blocking count.

	* gsignal.c: reverted GClosure related changes.

	* gclosure.c: reverted premature commit of atomic reference
	counting attempt.

Matthias Clasen's avatar
2.7.4  
Matthias Clasen committed
1128 1129 1130 1131
2005-07-21  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.7.4 ===

Matthias Clasen's avatar
2.7.3  
Matthias Clasen committed
1132 1133 1134 1135
2005-07-15  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.7.3 ===
	
1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162
2005-07-15  Matthias Clasen  <mclasen@redhat.com>

	Make refcounting threadsafe by using atomic 
	operations.  (#166020, Wim Taymans)
	
	* gobject.c: Use a recursive lock to protect the 
	notify queue.
	(g_object_unref): Get rid of g_object_last_unref and
	do the last unref handling in g_object_unref.
	(g_object_ref, g_object_unref): Use atomic operations.

	* gsignal.c (struct _HandlerMatch): Use a full integer
	for the ref_count field.
	(handler_ref, handler_unref_R): Use atomic operations.

	* gparam.c (g_param_spec_ref, g_param_spec_unref): 
	Use atomic operations instead of a lock to make the
	refcounting threadsafe.

	* gclosure.c (g_closure_ref, g_closure_unref): Use atomic
	operations. This is more complicated here, since the
	refcount is stored in a bitfield, so we also have
	to access all other bitfield members atomically.

	* gsignal.c (handlers_find): Read the meta_marshal flag
	of the closure atomically.

1163 1164 1165 1166 1167 1168 1169
2005-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gobject.h: 
	* gobject.symbols: Remove G_GNUC_NULL_TERMINATED from
	g_object_new again, since that makes gcc warn on calls of 
	the form g_object_new (some_type, NULL)

1170 1171 1172
2005-07-09  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Don't use the scripts in build/win32 to compile
Tor Lillqvist's avatar
Typo.  
Tor Lillqvist committed
1173
	gobject.rc into a resource object file. (This means we lose the
1174 1175 1176 1177 1178 1179 1180
	build number increment magic, but I doubt it was that useful
	anyway.) Instead use windres directly. To pass the normal .o file
	produced by windres through libtool, which wants .lo files, pass
	it directly to the linker using a -Wl option.

	* gobject.rc.in: Thus replace BUILDNUMBER with 0.

Matthias Clasen's avatar
2.7.2  
Matthias Clasen committed
1181 1182 1183 1184
2005-07-08  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.7.2 ===

Matthias Clasen's avatar
2.7.1  
Matthias Clasen committed
1185 1186 1187 1188
2005-06-30  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.7.1 ===

1189 1190 1191 1192 1193 1194
2005-06-26  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: libtool installs/uninstalls the import library, no
	need to do it ourselves. Do still install/uninstall the .def file,
	though.

1195 1196 1197 1198 1199
2005-06-24  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (install-libtool-import-lib): Current GNU tools do
	understand the PRIVATE keyword.

1200 1201 1202 1203 1204
2005-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gparam.h (GParamFlags): Avoid a warning.  (#308295,
	Murray Cumming).

1205 1206 1207 1208 1209 1210
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gparam.h (GParamFlags): Re-add G_PARAM_PRIVATE as a 
	deprecated name for bit 5, since some language bindings
	have it bound.

Matthias Clasen's avatar
2.7.0  
Matthias Clasen committed
1211 1212 1213 1214
2005-06-10  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.7.0 ===

1215 1216 1217 1218 1219 1220
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* gvaluetypes.c (g_value_set_string): dup the new value
	before freeing the old, just in case.  (#172142, Morten
	Welinder)

1221 1222 1223 1224
2005-05-13  Matthias Clasen  <mclasen@redhat.com>

	* glib-genmarshal.1: Mention 64bit integer types.

1225 1226 1227 1228 1229 1230 1231 1232
2005-05-05  Owen Taylor  <otaylor@redhat.com>

	* gobject.[ch] gobject.symbols: Add
	g_object_add/remove_toggle_ref() functions to get notification
	when a reference count is the last remaining reference; this
	enables better memory management for language bindings.
	(http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html)

1233 1234 1235 1236 1237 1238 1239
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gobject.symbols: 
	* gboxed.h (G_TYPE_DATE): 
	* gboxed.c: Add a boxed type for GDate. (#301787, Tim-Philipp 
	Müller)

1240 1241 1242 1243 1244 1245
2005-03-25  Matthias Clasen  <mclasen@redhat.com>

	* gparam.c (param_spec_ht_lookup): Don't do the second
	lookup if the name was already canonical.  (#171502, Morten
	Welinder)

1246 1247 1248 1249 1250
Tue Mar 22 14:15:23 2005  Manish Singh <yosh@gimp.org>

	* gparam.c (g_param_spec_internal): cast away any constness on
	assignment.

Matthias Clasen's avatar
Matthias Clasen committed
1251 1252 1253 1254 1255
2005-03-21  Matthias Clasen  <mclasen@redhat.com>

	* glib-mkenums.in: Avoid forcing extra newlines when using
	template files.  (#171005)

1256 1257 1258 1259 1260 1261 1262 1263 1264
2005-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gparam.c (g_param_spec_internal): Don't copy strings
	which are marked as static. Don't allow non-canonical static 
	names.

	* gparam.h (GParamFlags): Add G_PARAM_STATIC_{NAME,NICK,BLURB}
	flags.  (#160655, Ben Maurer)
	
1265 1266 1267 1268
2005-03-18  Hans Breuer  <hans@breuer.org>

	* makefile.msc.in : handle gobjectaliasdef.c

Matthias Clasen's avatar
Matthias Clasen committed
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284
2005-03-14  Matthias Clasen  <mclasen@redhat.com>

	Make PLT-reduction work with gcc4, and don't include
	everything in gobjectalias.h:
	
	* gobject.symbols: Group symbols by header and source 
	file.
	* makegobjectalias.pl: Protect definitions by the same 
	preprocessor symbols used to guard the headers. Move
	the alias declarations to a separate file which is 
	produced when calling makegalias.pl -def
	* Makefile.am (gobjectaliasdef.c): Add a rule to 
	build this file.
	* *.c: Include gobjectalias.h after the other i
	GLib headers, include gobjectaliasdef.c at the bottom.

1285 1286
2005-03-08  Matthias Clasen  <mclasen@redhat.com>

1287 1288
	* gobject.symbols: Add the new attributes here, too.

1289 1290 1291
	* gobject.h: Use G_GNUC_NULL_TERMINATED where
	appropriate.  (#164706, Marc Meissner)

1292 1293 1294
	* gvaluearray.h: Small cleanup (use G_BEGIN/END_DECLS).
	(#168474, Fabricio Barros Cabral)

1295 1296 1297 1298 1299
2005-02-24  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (EXTRA_DIST): Don't distribute
	gobject.def. (#167496, J. Ali Harlow)

1300 1301 1302 1303 1304 1305
Sun Feb  6 22:00:46 2005  Manish Singh  <yosh@gimp.org>

	* abicheck.sh: feed the contents of config.h and glibconfig.h
	into the preprocessor, since glib.symbols could need #defines
	from them.

1306 1307 1308 1309 1310 1311 1312 1313 1314
2005-01-12  Matthias Clasen  <mclasen@redhat.com>

	Cosmetic fixes (#163792, Benoît Carpentier):
	
	* gobject-query.c (main): Remove duplicate lines.

	* gvaluetransform.c: Remove duplicate definitions of
	value_transform_[u]int64_[u]int64.

Matthias Clasen's avatar
2.6.1  
Matthias Clasen committed
1315 1316 1317 1318
2005-01-07  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.6.1 ===

1319 1320 1321 1322 1323
2004-12-27  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am: Only check the ABI on linux, since
	the shell script is not portable.  (#161734, Adrian Bunk)

Matthias Clasen's avatar
2.6.0  
Matthias Clasen committed
1324 1325 1326 1327
2004-12-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.6.0 ===
	
Matthias Clasen's avatar
2.5.7  
Matthias Clasen committed
1328 1329 1330 1331
2004-12-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.7 ===
	
1332 1333 1334 1335 1336 1337 1338
2004-11-30  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am (gobject.def): gcc -E complains "linker input file
	unused because linking not done" if told to preprocess the
	gobject.symbols file. Use '-' and redirection to pass it as
	standard input instead.

1339 1340 1341 1342
Sun Nov 28 13:21:12 2004  Manish Singh  <yosh@gimp.org>

	* abicheck.sh: filter G_GNUC before PRIVATE so $ is still true.

1343 1344 1345 1346 1347
Sun Nov 28 01:37:54 2004    <timj@birnet.org>

	* gsignal.c: applied patch by sven@gimp.org (#153727) to reduce
	signal connection complexity from O(n_handlers) to O(1).

1348 1349 1350 1351
Thu Nov 25 14:09:41 2004  Manish Singh  <yosh@gimp.org>

	* abicheck.sh: filter out G_GNUC stuff when doing the compare.

1352 1353
2004-11-23  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1354 1355
	* gobject.symbols: Typo fix.

1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366
	Fix a problem with the PLT reduction changes which caused the
	internal aliases to lose all attributes.
	
	* gobject.symbols: Add attribute annotations.
	* makegobjectalias.pl: Keep attribute annotations, but strip PRIVATE.
	* Makefile.am (gobject.def): Strip attribute annotations, but keep 
	PRIVATE.

	* gtypemodule.h (g_type_module_get_type): Mark as const,
	like all other get_type() functions.

Matthias Clasen's avatar
2.5.6  
Matthias Clasen committed
1367 1368 1369 1370
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.6 ===
	
1371 1372 1373 1374 1375
Mon Nov  8 10:47:41 2004  Manish Singh  <yosh@gimp.org>

	* gobject/gsourceclosure.c: removed wrap_g_io_channel_ref() hack,
	since g_io_channel_ref() has a compatible API now.

Matthias Clasen's avatar
Matthias Clasen committed
1376 1377 1378 1379
2004-11-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.5 ===

Matthias Clasen's avatar
2.5.4  
Matthias Clasen committed
1380 1381 1382 1383
2004-10-27 Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.4 ===

1384 1385
2004-10-27  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1386 1387
	* abicheck.sh: Strip Win32 specific defs file syntax.

1388 1389 1390
	* Makefile.am (gobjectalias.h): Fix srcdir != builddir 
	builds.  (#156447, Thomas Fitzsimmons)

Matthias Clasen's avatar
Matthias Clasen committed
1391 1392 1393 1394 1395
2004-10-26  Matthias Clasen  <mclasen@redhat.com>

	* abicheck.sh: Don't include symbols which are just in the 
	symbols list for .defs file compatibility.

1396 1397 1398 1399 1400 1401
2004-10-23  Matthias Clasen  <mclasen@redhat.com>

	* gtype.h (GTypeInterfaceCheckFunc): Rename first parameter to 
	check_data, since apparently the system headers on AIX leak a
	macro named func_data.  (#155178, Andrea Campi)

1402 1403 1404 1405 1406 1407
Wed Oct  6 02:12:44 2004    <timj@birnet.org>

	* gtype.c (g_type_instance_get_private): applied patch from Jean-Yves 
	Lefort <jylefort@brutele.be> to not access the instance_real_class_bsa
	pointer without holding the instance_real_class lock.

1408 1409 1410 1411 1412
2004-10-04  Matthias Clasen  <mclasen@redhat.com>

	* gsignal.c (g_signal_add_emission_hook): Improve the warning 
	if G_SIGNAL_NO_HOOKS is set.  (#154299, Nickolay V. Shmyrev)

1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429
2004-09-22  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am (install-libtool-import-lib): [Win32] Add code to
	remove the bug-compatibility entries (see #134813, and related
	comments below) from the import library. The PRIVATE keyword in
	the .def file is supposed to mean that, but it isn't implemented
	yet by GNU ld.

	* makegobjectalias.pl: In case the symbol is followed by some
	stuff ("PRIVATE") that's intended for the .def file, use just the
	actual symbol.

	* gobject.symbols: For binary bug compatibility on Win32, add the
	g_slist_remove_all and g_unichar_validate symbols inside #ifdef
	INCLUDE_INTERNAL_SYMBOLS. (See #134813 and log entries from March
	below.)

Matthias Clasen's avatar
2.5.3  
Matthias Clasen committed
1430 1431 1432 1433
2004-09-18 Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.3 ===

1434 1435 1436 1437 1438
Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>

	* abicheck.sh: don't hardcode lengths for cut, instead split on
	the third field.

1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449
2004-09-16  Matthias Clasen  <mclasen@redhat.com>

	Implement the same PLT reduction technique used in GTK+:

	* Makefile.am: Generate gobjectalias.h from gobject.symbols.
	(BUILT_SOURCES): Add gobjectalias.h.

	* makegobjectalias.pl: Script to generate gobjectalias.h.

	* *.c: Include gobjectalias.h

1450 1451 1452 1453 1454 1455 1456 1457
2004-09-16  Matthias Clasen  <mclasen@redhat.com>

	Add ABI control using the same technique that is used in GTK+.
	
	* gobject.symbols: Master list of symbols.

	* gobject.def: Removed. It is now generated from gobject.symbols.

1458
	* Makefile.am: Generate gobject.def from gobject.symbols.
1459 1460 1461 1462 1463 1464 1465 1466
	(TESTS): Add abicheck.sh
	(EXTRA_DIST): Add abicheck.sh
	(export_symbols): Don't export _-prefixed symbols.

	* gtype.h: 
	* gtype.c: Move the declarations of the various _init() functions
	to the header, and mark them as G_GNUC_INTERNAL.

Matthias Clasen's avatar
2.5.2  
Matthias Clasen committed
1467 1468 1469 1470
2004-08-25 Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.2 ===

Matthias Clasen's avatar
2.5.1  
Matthias Clasen committed
1471 1472 1473 1474
2004-08-01 Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.1 ===

1475 1476 1477 1478 1479
2004-07-28  Matthias Clasen  <mclasen@redhat.com>

	* gtype.c (g_type_instance_get_private): Catch cases of 
	forgotten g_type_add_private().  (#148368, Tommi Komulainen) 

1480 1481 1482
2004-07-21  Matthias Clasen  <mclasen@redhat.com>

	* glib-genmarshal.c (put_marshal_value_getters): Use the 
1483
	correct fields for enums and flags.  (#145015, Tommi Komulainen) 
1484

Soeren Sandmann's avatar
Soeren Sandmann committed
1485 1486 1487 1488
Sun Jul 18 18:03:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* === Released 2.5.0 ===

1489 1490 1491 1492 1493
2004-07-12  Matthias Clasen  <mclasen@redhat.com>

	* gsignal.c (g_signal_handler_is_connected): Don't
	choke on a zero handler_id.

1494 1495 1496 1497 1498 1499 1500
Tue Jul  6 00:46:43 2004  Matthias Clasen  <maclas@gmx.de>

	* gtypemodule.h: 
	* gtypemodule.c: Fix the declarations of the new 
	functions to return GType, not void. 
	Also add missing includes.  (#145508, Morten Welinder)

1501 1502 1503 1504 1505 1506 1507 1508
Tue Jul  6 00:46:43 2004  Matthias Clasen  <maclas@gmx.de>

	* gtypemodule.h: 
	* gtypemodule.c (g_type_module_register_flags): 
	* gtypemodule.c (g_type_module_register_enum): New 
	functions to register enum and flags types from a 
	GTypeModule.  (#145396, Sven Neumann)

1509 1510 1511
Wed Jun 23 12:55:34 2004  Matthias Clasen  <maclas@gmx.de>

	* gtype.h (G_DEFINE_TYPE_EXTENDED): Add an initializer for
1512
	the g_define_type_info.value_table.  (#144678, Mariano 
1513 1514
	Suárez-Alvarez) 

Matthias Clasen's avatar
Matthias Clasen committed
1515 1516 1517 1518
Tue Jun 22 21:50:47 2004  Matthias Clasen  <maclas@gmx.de>

	* gsignal.c: Fix a couple of typos.

1519 1520 1521 1522 1523 1524
Fri Jun 18 22:53:13 2004  Matthias Clasen  <maclas@gmx.de>

	* gsourceclosure.h (__G_SOURCECLOSURE_H__): Actually 
	define the guard after checking for it.  (#108038, 
	Morten Welinder)

Matthias Clasen's avatar
Matthias Clasen committed
1525 1526 1527 1528
2004-04-30  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.4.1 ===

1529 1530 1531 1532 1533
2004-04-22  Matthias Clasen  <mclasen@redhat.com>

	* glib-mkenums.in: Actually convert escape chars in 
	--vprod.   (#139058, Christophe Saout)

1534 1535 1536 1537 1538 1539 1540 1541 1542
2004-04-15  Matthias Clasen  <mclasen@redhat.com>

	* gparamspecs.c (param_float_init): Correct the initial 
	minimal value to be -G_MAXFLOAT. The initial values were 
	inconsistant before, with the initial default being smaller 
	than the inital minimum.	
	(param_double_init): Correct the initial minimal value 
	to be -G_MAXDOUBLE.

Owen Taylor's avatar
Owen Taylor committed
1543 1544 1545 1546
Tue Mar  9 09:16:11 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.4.0 ===

1547 1548 1549 1550 1551
2004-03-10  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Mark the two entries that shouldn't be in the
	import library (see below) as PRIVATE.

Owen Taylor's avatar
Owen Taylor committed
1552 1553 1554 1555
Tue Mar  9 09:16:11 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.6 ===

1556 1557 1558 1559 1560 1561 1562 1563
2004-03-04  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Another of the glib DLL's functions was erronously
	present in the stable branch's gobject.def: g_unichar_validate,
	and nobody noticed until too late. Thus there are applications
	deployed that expect it to be found in the gobject DLL, and to
	keep ABI compatibility, we must keep it there forever. Argh.

Owen Taylor's avatar
Owen Taylor committed
1564 1565 1566 1567
Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.5 ===

1568 1569 1570 1571 1572 1573 1574 1575 1576
2004-03-01  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Add g_slist_remove_all back for ABI
	compatibility. That entry point actually is in the glib DLL, but
	it was at some time many years ago by mistake added to
	gobject.def. Thus there presumably are executables out there that
	expect it to be exported from the gobject DLL. We don't want to
	break those. (#134813, J. Ali Harlow)

Matthias Clasen's avatar
Matthias Clasen committed
1577 1578 1579 1580 1581
Fri Feb 27 01:49:22 2004  Matthias Clasen  <maclas@gmx.de>

	* glib-mkenums.in: Support parsing of intializers containing
	macros with arguments.  (#129717)

Hans Breuer's avatar
Hans Breuer committed
1582 1583 1584 1585
2003-02-28  Hans Breuer  <hans@breuer.org>

	* gobject.def : added g_strv_get_type

Owen Taylor's avatar
Owen Taylor committed
1586 1587 1588 1589
Tue Feb 24 14:09:21 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.3 ===

1590 1591 1592 1593
Fri Feb 20 02:44:54 2004  Tim Janik  <timj@gtk.org>

	* gtype.h (G_DEFINE_TYPE_EXTENDED): added (GTypeFlags) cast needed by C++.

1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604
Tue Feb  3 21:24:01 2004  Tim Janik  <timj@gtk.org>

	* gtype.h (_G_TYPE_CVH): provide a short-cut version for
	this macro in case value->g_type==checked_type for gcc, similar
	to instance and class check short-cuts. this speeds up code that
	makes frequent use of G_VALUE_HOLDS_*() (e.g. setters/getters).

	* gtype.c (type_data_last_unref_Wm): don't call class-cache functions
	for the uncached case, this rendered g_type_class_unref_uncached()
	useless. pointed out by Stefan Westerfeld.

1605 1606 1607 1608 1609 1610
Sat Jan 24 18:20:13 2004  Tim Janik  <timj@gtk.org>

	* gtype.h: prefixed the parent_class variable defined by G_DEFINE_TYPE()
	with type_name. removed type_parent_class argument
	from G_DEFINE_TYPE_EXTENDED().

Tor Lillqvist's avatar
Tor Lillqvist committed
1611 1612 1613 1614
2004-01-24  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Add a missing entry.

1615 1616 1617 1618 1619 1620
Sun Jan 11 15:34:35 2004  Manish Singh  <yosh@gimp.org>

	* gsourceclosure.c: wrap g_io_channel_ref in a function that returns
	the passed in GIOChannel, so we aren't abusing GBoxedCopyFunc
	semantics. Fixes bug #131076.

1621 1622 1623 1624
Sat Jan 10 23:55:42 2004  Matthias Clasen  <maclas@gmx.de>

	* glib-mkenums.1: Document the lowercase_name trigraph option.

1625 1626 1627 1628 1629
Sat Jan 10 02:43:20 2004  Tim Janik  <timj@gtk.org>

	* gtype.h: made G_DEFINE_TYPE_INTERNAL() public by renaming it to
	G_DEFINE_TYPE_EXTENDED() and moving it into the appropriate section.

1630 1631 1632 1633 1634 1635
Fri Jan  9 23:41:00 2004  Matthias Clasen  <maclas@gmx.de>

	* gboxed.h:
	* gboxed.c (g_strv_get_type): Add a boxed type for nul-terminated
	string arrays.  (#110528)

1636 1637 1638 1639 1640
Fri Jan  9 15:34:15 2004  Tim Janik  <timj@gtk.org>

	* gtype.h: added convenience macros G_IMPLEMENT_INTERFACE() and
	G_DEFINE_TYPE() plus variants.

1641 1642 1643 1644 1645 1646 1647
2003-12-30  Murray Cumming  <murrayc@usa.net>
  
        * gobject/glib-mkenums.in: Added a lowercase_name option, to be used
        next to the enum declaration, where the flag option is already used,
        when it is not possible to guess where to put the underscores in the
        _get_type() function name, for instance for GNOMEVFSURIHide.

1648 1649 1650 1651 1652
Fri Dec 26 01:34:01 2003  Matthias Clasen  <maclas@gmx.de>

	* gtype.c (g_type_class_peek_parent): Don't acquire a read lock 
	here.  (#106433, Owen Taylor)

1653 1654 1655 1656 1657
Wed Dec 17 23:29:17 2003  Matthias Clasen  <maclas@gmx.de>

	* gvalue.c (g_value_peek_pointer): Use g_assert() instead of
	g_return_val_if_fail(), suggested by Sheldon Simms.

Hans Breuer's avatar
Hans Breuer committed
1658 1659 1660 1661
2003-12-13  Hans Breuer  <hans@breuer.org>

	gobject.def : update externals

1662 1663
Sat Nov 29 14:57:20 2003  Tim Janik  <timj@gtk.org>

Owen Taylor's avatar
Owen Taylor committed
1664
	* gobject.c: fix g_object_set() within _init() implementations
1665 1666 1667 1668 1669 1670 1671
	not working for construct-only properties.
	(g_object_init): make the object enter a construct_objects list.
	(g_object_newv): remove object from construct_objects after creation.
	(g_object_set_valist):
	(g_object_set_property): allow construct-only properties for
	objects which are in construct_objects.

1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691
Thu Nov 27 17:53:52 2003  Tim Janik  <timj@gtk.org>

	* gtype.[hc]:
	(g_type_class_peek_static): variant of class_peek() which works for
	static types only.

	* gobject.c:
	(g_object_do_class_init): make ::notify a run-action signal.
	(g_object_newv): use g_type_class_peek_static() by default to
	speed up common code path (trades two write-locks for one read-lock).
	(g_object_disconnect):
	(g_object_connect): allow signal specification words to be
	seperated by '-'.
	(g_object_set_valist):
	(g_object_new_valist): don't leak values.
	(g_object_get_property): check property for readability.
	(g_object_set_property): check property for writability and to
	not be construct-only.
	(g_object_set_valist): check property to not be construct-only.

1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704
Sat Oct 25 01:09:17 2003  Matthias Clasen  <maclas@gmx.de>

	* gparam.h (struct _GParamSpecClass): Add /*< private >*/ 
	marker for documentation purposes.

Tue Oct 21 23:17:06 2003  Matthias Clasen  <maclas@gmx.de>

	* genums.h (struct _GEnumClass): 
	* genums.h (struct _GFlagsClass): 
	* gtypemodule.h (struct _GTypeModuleClass):
	* gtypemodule.h (struct _GTypeModule): Add /*< public >*/ 
	and /*< private >*/ markers for documentation purposes.

1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723
Tue Oct 14 17:40:19 2003  Owen Taylor  <otaylor@redhat.com>

	* gparamspecs.[ch]: Add a new GParamSpecOverride type
	that is a pointer to a different paramspec in a parent
	class or interface.

	* gparam.[ch]: Add g_paramspec_get_redirect_target()
	which follows GParamSpecOverride to the real property.
	Make g_param_spec_pool_list() hand redirections, 
	properties on interfaces.

	* gobject.[ch] gobjectnotifyqueue.c: Add
	g_object_interface_install_property,
	g_object_interface_find_property,
	g_object_interface_list_properties(). Redirect virtually all
	publically exposed GParamSpec's to the redirect target if
	any. (->constructor is the exception.)
	(#105894)

Matthias Clasen's avatar
Matthias Clasen committed
1724 1725 1726 1727 1728
Mon Oct 20 22:06:12 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject.h (struct  _GObjectClass): Add /*< public >*/
	and /*< private >*/ markers for documentation purposes.

1729 1730 1731 1732 1733
Sat Oct 18 01:24:14 2003  Matthias Clasen  <maclas@gmx.de>

	* gtypeplugin.h (struct _GTypePluginClass): Add /*< public >*/
	and /*< private >*/ markers for documentation purposes.

1734 1735 1736 1737 1738
Thu Oct  2 07:37:12 2003  Tim Janik  <timj@gtk.org>

	* gtype.c: fix post class_init interface initialization logic
	for child types.

1739 1740 1741 1742 1743 1744 1745 1746
Thu Oct  2 01:16:50 2003  Owen Taylor  <otaylor@redhat.com>

	* gtype.[ch]: Add g_type_add/remove_interface_check(),
	which allows inserting a post-interface-initialization
	check.

	* testgobject.c: Fix a deprecated usage.

1747 1748 1749 1750 1751
Mon Sep 29 10:51:01 2003  Owen Taylor  <otaylor@redhat.com>

	* gtype.[ch]: Add g_type_default_interface_ref/peek/unref
	for accessing the default vtable of an interface.

1752 1753 1754 1755 1756 1757
Fri Sep 26 17:24:53 2003  Owen Taylor  <otaylor@redhat.com>

	* gtype.c (g_type_instance_get_private): You can
	have instance_real_class_bsa be non-NULL, but still 
	the class not be in the bsa. (Found by Kris Rietveld)

1758 1759 1760 1761 1762
2003-09-15  Matthias Clasen  <maclas@gmx.de>

	* glib-genmarshal.c (complete_out_arg): Don't generate code 
	using deprecated APIs.  (#122292, Christian Persch)

1763 1764 1765
Fri Sep 12 16:31:40 2003  Owen Taylor  <otaylor@redhat.com>

	* gsignal.[ch]: Add g_signal_accumulator_true_handled(), to
Owen Taylor's avatar
Owen Taylor committed
1766
	do TRUE-stops-emit signals. (#80487, Ron Steinke)
1767 1768 1769 1770

	* Makefile.am: Move testoverride.c and testifaceinit.c to
	tests/gobject.

1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787
2003-09-12  Matthias Clasen  <maclas@gmx.de>

	Make the g_value_set_x_take_ownership() functions "official"
	part of the API (#100948):
	
	* gvaluetypes.[hc]: Add g_value_take_string() (synonym to the
	now deprecated g_value_set_string_take_ownership()).  

	* gparam.[hc]: Add g_value_take_param() (synonym to the
	now deprecated g_value_set_param_take_ownership()).  

	* gobject.[hc]: Add g_value_take_object() (synonym to the
	now deprecated g_value_set_object_take_ownership()).  

	* gboxed.[hc]: Add g_value_take_boxed() (synonym to the
	now deprecated g_value_set_boxed_take_ownership()).  

1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800
Tue Sep  2 19:37:21 2003  Tim Janik  <timj@gtk.org>

	* gtype.[hc]: added support for a "default vtable" per interface,
	that interface vtables are initialized from.
	the default vtable is initialized and finalized through class_init,
	class_finalize and class_data from the interfaces GTypeInfo struct.
	(type_data_last_unref_Wm): unload child plugin before unreffing
	parent type.

	testifaceinit.c: minor fixups. fixed up base_init() assertions, since
	with a default vtable, base_init() may be called multiple times.
	added default initializer to iface1.

1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814
Tue Sep  2 14:53:41 2003  Tim Janik  <timj@gtk.org>

	* gobject-query.c (main): fix iterating over fundamental types.

	* gtype.c: applied patch from owen which keeps internal
	class initialization state to maintain class and interface
	initialization happen in the order of:
	1. class' base_init
	2. interface' base_init
	=  interfaces added after here are immediately base_init-ialized
	3. class_init
	4. Interface_init
	=  interfaces added here are immediately Interface_init-ialized

1815 1816 1817 1818
Wed Aug 27 19:53:26 2003  Manish Singh  <yosh@gimp.org>

	* gobject.c: removed stray change from previous commit.

1819 1820 1821 1822 1823 1824 1825 1826
Wed Aug 27 01:25:40 2003  Owen Taylor  <otaylor@redhat.com>

	* Makefile.am testifaceinit.c: Add a detailed test case
	for interface initialization, testing the ability to
	add interfaces during class initialization and the ordering
	of interface base_init, class init, and interface_init.
	(Expected to fail at the moment.)

1827 1828 1829 1830 1831
Mon Aug 25 14:51:46 2003  Manish Singh  <yosh@gimp.org>

	* gtypemodule.c (g_type_module_register_type): fix typo in last
	commit, cast to GTypeValueTable * to get rid of const warning.

1832 1833 1834 1835
Mon Aug 25 14:16:48 2003  Owen Taylor  <otaylor@redhat.com>
 
 	* gtypemodule.c (g_type_module_register_type): Clarify
 	docs on the return. Fix a memory leak if a type with a
Owen Taylor's avatar
Owen Taylor committed
1836
 	value table is reloaded. (#112439, Daniel Yacob)
1837
 
1838 1839 1840 1841 1842 1843 1844 1845 1846 1847
Tue Aug 19 05:21:04 2003  Tim Janik  <timj@gtk.org>

	* testgobject.c (main): check private instance data after
	initialization.

	* gtype.c: for instances with private data, store the real class
	pointer in a bsearch array during class initialization.
	(g_type_instance_get_private): fetch the real class of
	an instance from the bsearch array if necessary.

1848 1849 1850 1851 1852 1853 1854 1855 1856 1857
Tue Aug 19 04:08:14 2003  Tim Janik  <timj@gtk.org>

	* gvalue.c: adapt to new gbsearcharray.h code.
	(g_value_register_transform_func): turn transform function
	replacement into a valid operation.

        * gsignal.c: adapt to new gbsearcharray.h code.
	
	* gboxed.c: adapt to new gbsearcharray.h code.

1858 1859 1860 1861
Tue Aug 19 01:31:28 2003  Tim Janik  <timj@gtk.org>

	* gsignal.c: added optimizations to skip NOP signal emissions.

1862 1863 1864 1865 1866
2003-08-08  Matthias Clasen  <maclas@gmx.de>

	* gobject.c (object_set_property): Improve the wording of the warning for invalid 
	values.  (#117246, Mariano Suarez-Alvarez)
	
1867 1868 1869 1870 1871 1872
Wed Aug  6 09:57:14 2003  Owen Taylor  <otaylor@redhat.com>

	* testgobject.c (test_signal_accumulator): Add check
	for instance private usage within in instance_init.
	(Currently will fail.)

Hans Breuer's avatar
Hans Breuer committed
1873 1874 1875 1876
2003-07-20  Hans Breuer  <hans@breuer.org>

	* gobject.def : updated externals

1877 1878 1879 1880 1881
Tue Jul  8 22:29:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtype.c (type_class_init_Wm): Only access node->data->instance
	when the node is instantiable.

1882 1883 1884 1885 1886 1887 1888 1889
Tue Jul  8 14:55:27 2003  Owen Taylor  <otaylor@redhat.com>

	* gtype.c (type_class_init_Wm): Initialize
	node->data->instance.private_size here rather than
	in type_data_make_W() since the class init for the parent
        class may have changed pnode->data->instance.private_size.
	(#116921, reported by Soeren Sandmann)

Matthias Clasen's avatar
Matthias Clasen committed
1890 1891 1892 1893 1894
2003-06-18  Matthias Clasen  <maclas@gmx.de>

	* Makefile.am (man_MANS): Removed, these are now installed from
	docs/reference/gobject.

1895 1896 1897 1898 1899 1900
Fri May 30 14:42:24 2003  Owen Taylor  <otaylor@redhat.com>
 
 	* gobject.c (g_value_set_object): Order refs/unrefs
 	so setting the same object back is safe. (#112861,
 	Morten Welinder)
 
1901 1902 1903 1904 1905
2003-03-24  Sven Neumann  <sven@gimp.org>

	* gtype.c (type_data_finalize_class_ifaces_Wm): removed leftover
	debugging message (bug #109093).

1906 1907 1908 1909 1910 1911 1912
Thu Feb 27 17:33:19 2003  Owen Taylor  <otaylor@redhat.com>

	* gtype.[ch] testgobject.c: Add support for instance-private data. 
	g_type_class_add_private(), g_type_instance_get_private(),
	G_TYPE_INSTANCE_GET_PRIVATE(). (#101959, patch partly by
	Mark McLoughlin, extensive feedback from Tim Janik.)

1913 1914 1915 1916 1917 1918 1919
2003-03-06  Matthias Clasen  <maclas@gmx.de>

	* gsignal.c (g_signal_handlers_block_matched): 
	(g_signal_handlers_unblock_matched): 
	(g_signal_handlers_disconnect_matched): Fix 0/FALSE confusion.
	(#107662, Morten Welinder)

1920 1921 1922 1923 1924 1925
Mon Feb 17 20:59:47 2003  Tim Janik  <timj@gtk.org>

	* gvalue.c (g_value_register_transform_func): don't assert the types
	passed in to have value tables. this prevents dynamic types from
	registering transform functions.

1926 1927 1928 1929 1930
Sun Feb  9 13:44:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gboxed.c (boxed_proxy_value_init): remove lookup of unused
	BoxedNode.

1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941
2003-02-07  Matthias Clasen  <maclas@gmx.de>

	* gtypemodule.c: 
	* gtype.c: 
	* gsourceclosure.c: 
	* gparamspecs.c: 
	* gparam.c: 
	* gobject.c: 
	* gsignal.c: Remove all docs from gobject at Tims
	request. Documentation is only for weenies anyway...	

1942 1943 1944 1945 1946
2003-01-12  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Add g_type_interface_prerequisites. Thanks to
	Kenichi SUTO.

Matthias Clasen's avatar
Matthias Clasen committed
1947 1948 1949 1950
2002-12-18  Matthias Clasen  <maclas@gmx.de>

	* gobject.c: Add docs.

1951 1952 1953 1954 1955 1956 1957
2002-12-18  Michael Natterer  <mitch@gimp.org>

	* gobject/gtype.c (type_data_finalize_class_ifaces_Wm): applied
	patch I got from Tim Janik for testing which fixes bug #101521.
	(restart iterating the interface enties each time we finalized one
	because they might have been modified).

1958 1959 1960 1961 1962
2002-12-17  Matthias Clasen  <maclas@gmx.de>

	* gparam.c (g_param_spec_internal): Remove markup from doc
	comment, as GObject doesn't use --sgml-mode yet.

Matthias Clasen's avatar
Matthias Clasen committed
1963 1964 1965 1966 1967 1968 1969 1970
2002-12-15  Matthias Clasen  <maclas@gmx.de>

	* gsignal.c (g_signal_new): Typo fix.

	* gparamspecs.c:  
	* gparam.c (g_param_spec_internal): 
	* gobject.c (g_object_class_install_property): Add docs.

1971 1972 1973 1974 1975
2002-12-13  Matthias Clasen  <maclas@gmx.de>

	* glib-genmarshal.c, gobject-query.c: Use g_printf() instead of 
	system printf.  (#99319)

1976 1977 1978 1979 1980
Thu Dec 12 15:00:10 2002  Manish Singh  <yosh@gimp.org>

	* gvaluetransform.c: use G_G[U]INT64_FORMAT unconditionally,
	since we'll always have it now.

1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
2002-12-07  Matthias Clasen  <maclas@gmx.de>

	* gparam.c (canonalize_key): Rename to canonicalize_key. Adjust
	all callers.

2002-12-05  Matthias Clasen  <maclas@gmx.de>

	* gsignal.c (g_signal_new): Explain allowed signal names in more
	detail.

1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001
2002-12-04  Matthias Clasen  <maclas@gmx.de>

	* gsignal.h (g_signal_add_emission_hook): 
	* gtype.h (g_type_interface_get_plugin): Sync parameter names with
	docs and implementation.

	* gtype.c (g_type_add_interface_dynamic): 
	(g_type_interface_get_plugin): 
	(g_type_interface_peek_parent): 
	(g_type_query): Add docs.

Matthias Clasen's avatar
Matthias Clasen committed
2002 2003 2004 2005 2006 2007
2002-12-03  Matthias Clasen  <maclas@gmx.de>

	* gtype.c (g_type_get_qdata): 
	(g_type_set_qdata): 
	(g_type_interface_add_prerequisite): Add docs.

Matthias Clasen's avatar
Matthias Clasen committed
2008 2009 2010 2011
2002-12-02  Matthias Clasen  <maclas@gmx.de>

	* gobject.c (g_signal_connect_object): Add docs.

Matthias Clasen's avatar
Matthias Clasen committed
2012 2013 2014 2015
2002-11-30  Matthias Clasen  <maclas@gmx.de>

	* gsignal.c: More docs.

Matthias Clasen's avatar
Matthias Clasen committed
2016 2017 2018 2019 2020
2002-11-28  Matthias Clasen  <maclas@gmx.de>

	* gtype.c (g_type_interface_prerequisites): Document as 2.2 
	API addition.

2021 2022 2023 2024 2025 2026
Thu Nov 21 16:05:50 2002  Owen Taylor  <otaylor@redhat.com>

	* gtype.c (g_type_check_instance_cast): Allow
	NULL to be cast to any type. (Frequently requested,
	most recently #99023, Lars Clausen.)

2027 2028 2029 2030 2031 2032 2033 2034 2035
Mon Nov  4 14:42:36 2002  Owen Taylor  <otaylor@redhat.com>
 
 	* gtype.c gsignal.c gvaluearray.c: Include config.h
 	so DISABLE_MEMPOOLS actually has an effect.
 	(#96437, Morten Welinder)
 
 	* gsignal.c: Conditionalize definition of g_handler_ts
 	on DISABLE_MEM_POOLS (#96437)
	
Matthias Clasen's avatar
Matthias Clasen committed
2036 2037 2038 2039 2040 2041 2042
2002-10-20  Matthias Clasen  <maclas@gmx.de>

	* gtype.c (g_type_interface_prerequisites): Report only the most
	specific instantiatable prerequisite, filter out all supertypes of
	this one (the supertypes are added to the prerequisites array for
	technical reasons).

2043 2044 2045 2046 2047 2048
2002-10-16  Matthias Clasen  <maclas@gmx.de>

	* glib-mkenums.in: Support for template files.
	
	* glib-mkenums.1: Document --template.

2049 2050 2051 2052 2053
2002-10-15  Matthias Clasen  <maclas@gmx.de>

	* gtype.c (g_type_interface_prerequisites): New function to obtain
	the prerequisites of an interface type.

2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064
Sat Oct 12 22:02:32 2002  Tim Janik  <timj@gtk.org>

	* merged up from 2.0:

        * testgobject.c: test creation of new fundamental types.

        * gtype.c (g_type_fundamental_next), (type_node_fundamental_new_W):
        account for static_fundamental_next storing non-shifted fundamental
        IDs. this fixes g_type_fundamental_next() not returning a new usable
        fundamental ID.

2065 2066 2067 2068
Wed Sep 11 16:50:20 2002  Dom Lachowicz <cinamod@hotmail.com>

	* gtype.h: Fix problems with excessive C++ warnings: "ISO C++ forbids nested groups within expressions"
	
2069 2070 2071 2072 2073 2074
Fri Jul 26 15:46:36 2002  Owen Taylor  <otaylor@redhat.com>

	* gvaluetransform.c: Fix problems with excess ';'
	by addition of strategic 'extern void glib_dummy_decl (void)'
	(#83272, David L. Cooper II)

2075 2076 2077 2078 2079 2080 2081
Thu Jul 25 20:34:39 2002  Owen Taylor  <otaylor@redhat.com>

	* gtype.c (g_type_interface_add_prerequisite): When
	adding ancestral prerequisites, add the grandparents,
	not the siblings. (Problem found by Jon Trowbridge, patch from 
	Dave Camp, #86879)

2082 2083 2084 2085 2086
2002-07-05  Anders Carlsson  <andersca@gnu.org>

	* gobject.c (g_object_base_class_finalize): Remove debugging
	message, approved by Tim Janik.

2087 2088 2089 2090 2091 2092
2002-06-11  Anders Carlsson  <andersca@gnu.org>

	* gtypemodule.c: (g_type_module_complete_interface_info):
	* gtypeplugin.h:
	Fix argument order. Fixes #82806.
	
2093 2094 2095 2096 2097 2098 2099 2100
Mon May 20 15:57:47 2002  Owen Taylor  <otaylor@redhat.com>

	* gsignal.c: When printing errors, handle NULL
	returns from g_type_debug(). (#73559, Laszlo Peter)

	* gtype.c (type_descriptive_name_I): De-inline,
	since it's only used for debugging.

2101 2102 2103 2104 2105
Tue May  7 15:03:02 2002  Owen Taylor  <otaylor@redhat.com>

        * glib-genmarshal.c: Fix include order for config.h (#71704,
        Morten Welinder)

2106 2107 2108 2109 2110 2111
2002-05-07  Michael Natterer  <mitch@gimp.org>

	* Makefile.am: use the glib-genmarshal found at configure time
	if CROSS_COMPILING is set, use the one which was just built
	otherwise.

Owen Taylor's avatar
Owen Taylor committed
2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122
Mon May  6 16:06:23 2002  Owen Taylor  <otaylor@redhat.com>

	[ merged from stable ]

	* gobject.c: Remove PROPERTIES_CHANGED enumeration
	value that wasn't used any more. (#78833, 
	Matthias Clasen)

	* gboxed.c (g_boxed_copy): Remove check on data[2]
	that no longer exists. (#80814, Daniel Elstner)

2123 2124 2125 2126 2127 2128 2129
Tue Mar 26 15:21:47 2002  Owen Taylor  <otaylor@redhat.com>

	* gsignal.h (g_signal_handlers_*_by_func): Add explicit
	cast of G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA to
	GSignalMatchType so that these macros work for C++.
	(#76454, Damien Sandras)

2130 2131 2132 2133 2134 2135
Mon Mar 25 17:51:05 2002  Owen Taylor  <otaylor@redhat.com>

	* glib-mkenums.in (parse_entries): Fix various bugs and
	excessive stack usage that crept in the conversion from
	gtk-mkenums. (#74431)

2136 2137 2138 2139 2140
Mon Mar 25 17:25:57 2002  Owen Taylor  <otaylor@redhat.com>

	* gtype.c (g_type_free_instance): Wrap setting freed instance
	memory to 0xaa in #ifdef G_ENABLE_DEBUG

Tim Janik's avatar
Tim Janik committed
2141 2142
Thu Mar 21 01:28:14 2002  Tim Janik  <timj@gtk.org>

Tim Janik's avatar
Tim Janik committed
2143 2144
	* gsignal.[hc]:
	* gobject.[hc]: fix extraneous include.
Tim Janik's avatar
Tim Janik committed
2145

Tim Janik's avatar