ChangeLog 119 KB
Newer Older
1
2
3
4
2009-05-29  Tor Lillqvist  <tml@novell.com>

	* glade/glade-init.c (get_libdir): Drop Win9x codepath here, too.

Vincent Untz's avatar
Vincent Untz committed
5
6
7
8
9
10
2009-03-17  Vincent Untz  <vuntz@gnome.org>

	* configure.in: post-release bump to 2.6.5

==================== 2.6.4 ====================

Vincent Untz's avatar
Vincent Untz committed
11
12
13
14
2009-03-17  Vincent Untz  <vuntz@gnome.org>

	* NEWS: version 2.6.4

15
16
17
18
19
20
21
2009-02-23  Andre Klapper  <a9016009@gmx.de>

	* glade/makekeys.awk:
	* test/domp.c:
	* test/saxp.c:
	Remove deprecated GLib functions. Fixes bug #572846.

22
23
24
25
2009-02-23  Christian Persch  <chpe@gnome.org>

	* glade/glade-init.c: (glade_init): No need to make this data static.

26
27
28
29
30
31
32
33
2008-10-06  Felix Riemann  <friemann@svn.gnome.org>

	* glade/glade-xml.c: (glade_xml_class_init), (glade_xml_init),
	(glade_xml_finalize):
	Use G_DEFINE_TYPE instead of registering the type by hand.
	Also allocate the private data together with the "public" data.
	Fixes bug #555147.

34
35
36
37
38
39
40
2008-10-06  Felix Riemann  <friemann@svn.gnome.org>

	* glade/glade-build.h:
	* glade/glade-xml.c:
	* glade/glade-xml.h:
	Fix GTK+ single includes. Fixes bug #555149.

Murray Cumming's avatar
Murray Cumming committed
41
42
libglade-2.6.3:

43
44
45
46
47
48
49
2008-08-18  Murray Cumming  <murrayc@murrayc.com>

	* doc/libglade-sections.txt:
	* doc/tmpl/glade-xml.sgml: Mention glade_xml_construct_from_buffer() in 
	these files, to make it actually appear in the documention.
	* glade/glade-xml.c: Do not call gtkmm gtk--.

50
51
52
53
54
55
56
57
2008-06-11  Murray Cumming  <murrayc@murrayc.com>

	* doc/libglade-docs.xml: Mention the gmodule-export-2.0 pkg-config 
	check for autoconnecting signals. 
	* glade/glade-xml.c: (glade_xml_signal_autoconnect): Menton it in the 
	reference documentation too.
	Fixes bug #446175.

58
59
60
2008-06-11  Diego Gonzalez  <diego@pemas.net>

	* doc/libglade-docs.xml: Use a more descripve title for the book and
61
	improve the abstract by describing the purpose of this library.
62

63
64
65
66
67
68
2008-06-11  Murray Cumming  <murrayc@murrayc.com>

	* configure.in: Increase the required glib version from 2.5 to 2.10, 
	because we use g_object_ref_sink() since 2006-07-11.
	Fixes bug #349611 (Yang Hong).

69
70
71
72
73
2008-02-19  Matthias Clasen  <mclasen@redhat.com>

	* glade/glade-xml.c (glade_xml_new_from_buffer): Don't call 
	g_free on a GObject.  Pointed out by Peter Clifton.

74
75
76
77
78
2007-11-26  Armin Burgmeier  <armin@openismus.com>

	* glade/glade.def: Add glade_xml_construct_from_buffer to the list of
	exported symbols, otherwise it is not available on Windows.

Christian Persch's avatar
Christian Persch committed
79
80
81
82
83
84
85
libglade-2.6.2:

2007-07-31  Christian Persch  <chpe@gnome.org>

	* NEWS:
	* configure.in: Updated for 2.6.2.

86
87
88
89
90
2007-07-11  Christian Persch  <chpe@gnome.org>

	* glade/Makefile.am: Remove GTK_DISABLE_DEPRECATED. Fixes the build
	with gtk+ trunk; bug #455566.

91
92
93
94
95
96
2007-07-07  Christian Persch  <chpe@gnome.org>

	* autogen.sh: Use gnome-autogen. Bug #423573.
        * Makefile.am:
	* configure.in: Use automake 1.9.

Murray Cumming's avatar
Murray Cumming committed
97
98
libglade-2.6.1:

99
100
101
102
103
104
105
106
107
108
109
2007-04-16  Murray Cumming  <murrayc@murrayc.com>

	* glade/glade-xml.h:
	* glade/glade-xml.c: (glade_xml_construct_from_buffer),
	(glade_xml_new_from_buffer):
	Added and used glade_xml_construct_from_buffer(), for use by 
	language bindings.
	Patch from Doug in bug #326511.

libglade-2.6.0:

110
111
112
113
2006-12-14  Kjartan Maraas  <kmaraas@gnome.org>

	* autogen.sh: Add support for automake 1.10.

114
115
116
117
2006-11-14  Kjartan Maraas  <kmaraas@gnome.org>

	* autogen.sh: Allow to build with autoconf 2.6x too.

Kjartan Maraas's avatar
Kjartan Maraas committed
118
119
120
121
122
123
124
125
126
127
128
2006-10-19  Kjartan Maraas  <kmaraas@gnome.org>

	* NEWS: Update
	* configure.in: Bump to 2.6.0
	* doc/tmpl/glade-build.sgml:
	* doc/tmpl/glade-init.sgml:
	* doc/tmpl/glade-parser.sgml:
	* doc/tmpl/glade-xml.sgml:
	I forgot to commit this when making the 2.6.0 release a while ago.
	Sorry all :-)

129
130
131
132
133
134
135
136
2006-07-11  Kjartan Maraas  <kmaraas@gnome.org>

	* glade/glade-xml.c: (glade_xml_init),
	(glade_xml_set_value_from_string): Fix warnings from GCC:
	glade-xml.c: In function 'glade_xml_set_value_from_string':
	glade-xml.c:1519: warning: implicit declaration of function 'gtk_object_sink'
	by using non-deprecated API instead. Closes bug #341857.

137
138
139
140
141
2006-03-23  Matthias Clasen  <mclasen@redhat.com>

	* glade/glade-gtk.c (entry_set_invisible_char): Correctly handle
	non-ASCII characters.  (#321119, Tim Evans)

142
143
144
145
146
147
148
149
150
2006-01-04  Tor Lillqvist  <tml@novell.com>

	* glade/glade-init.c (DllMain, replace_prefix, get_libdir): Add
	the normal mechanism for run-time lookup of installation prefix
	and libdir on Win32.

	* glade/Makefile.am: Pass also $prefix as GLADE_PREFIX to the
	compilation for the benefit of the above.

151
152
153
154
155
156
157
158
159
160
2005-12-20  Tor Lillqvist  <tml@novell.com>

	* glade/glade-parser.c (glade_parser_parse_file): On Win32,
	convert the file name from the GLib file name encoding (UTF-8) to
	the system codepage encoding that libxml uses. (Alternatively, we
	could use GMappedFile and parse the xml from memory, but this
	brings up the (unlikely) possibility that two threads are reading
	the same glade file at the same time, and we would thus have to
	use locking, drats.)

161
162
163
164
165
2005-08-28  Tor Lillqvist  <tml@novell.com>

	* libglade-zip.in: Include also documentation in the developer
	zipfile.

166
167
168
169
170
171
172
173
2005-02-28  Tor Lillqvist  <tml@novell.com>

	* libglade-zip.in: New file, for building zipfile-based Win32
	distribution.

	* Makefile.am
	* configure.in: Distribute it, expand it.

174
175
2005-02-11  James Henstridge  <james@jamesh.id.au>

176
177
178
179
180
181
	* glade/Makefile.am (LTVERSION): bump libtool version number.

	* configure.in: bump version number.

	* NEWS: add 2.5.1 news items.

182
183
184
	* glade/glade-gtk.c (toolbar_build_children): revert the handling
	of old toolbars to the pre-2.4.1 behaviour, with the exception of
	the "active" handling for radio buttons.
185
186
	(_glade_init_gtk_widgets): use the GtkDialog buil_children
	implementation for GtkFileChooserDialog.  Fixes bug #160264.
187

James Henstridge's avatar
James Henstridge committed
188
189
2004-11-29  James Henstridge  <james@jamesh.id.au>

James Henstridge's avatar
James Henstridge committed
190
191
192
193
194
	* configure.in: require ATK 1.9.0

	* glade/glade-xml.c: remove the add_relation() helper function,
	and use atk_relation_set_add_relation_by_type() instead.

James Henstridge's avatar
James Henstridge committed
195
196
197
198
199
	* NEWS: add news items.

	* glade/glade-xml.c (add_relation): apply Padraig O'brian's patch
	to fix up AtkRelation creation.  Fixes bug #158708.

200
201
202
203
204
205
206
207
208
2004-05-19  Daniel Elstner  <daniel.elstner@gmx.net>

	* glade/glade-gtk.c (combo_box_entry_find_internal_child): New
	function that exposes GtkComboBoxEntry's child GtkEntry widget as
	internal-child "entry".
	(_glade_init_gtk_widgets): Add glade_standard_build_children and
	combo_box_entry_find_internal_child to the glade_register_widget()
	call for GTK_TYPE_COMBO_BOX_ENTRY.

209
210
2004-11-11  James Henstridge  <james@jamesh.id.au>

211
212
213
214
	* glade/glade-parser.c (glade_parser_start_element): Apply Damon's
	changes to ignore the comments attribute on various elements.
	This is also from bug #154806.

215
216
217
218
219
220
221
222
223
	* glade/glade-parser.c (handle_atk_action): translate the action
	description.  Fixes bug #154804.

	* glade-2.0.dtd (property): add comments attribute.
	(atkproperty): add translatable, context and
	comments attributes.
	(atkaction): add note that description is translated.  Patch from
	Damon Chaplin on bug #154806.

224
225
2004-11-09  James Henstridge  <james@jamesh.id.au>

226
227
228
	* glade/glade-gtk.c (toolbar_build_children): fix a few errors in
	the conversion of old style toolbar items.

229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
	* Makefile.am (install-data-local, uninstall-local): fix up rules
	so that they aren't run if the XML catalog isn't found.  They
	still ignore errors though.

	* acconfig.h, acinclude.m4: remove, since they aren't needed
	anymore.

	* configure.in: update to use AM_PATH_PYTHON, and use
	JH_PATH_XML_CATALOG to check for location on XML catalog (this
	adds a --with-xml-catalog argument, which solves a few bugs).

	* m4/jh_xml_catalog.m4: new file containing macro to check for XML
	catalog.

	* autogen.sh (have_autoconf): require Automake 1.9 or 1.8, include
	m4/ subdirectory.

246
247
248
249
250
251
252
	* glade/glade-xml.c (glade_xml_set_value_from_string): handle
	GtkWidget type values, but don't throw an error if the named
	widget doesn't exist yet.
	(glade_standard_build_widget): only defer the widget prop if
	glade_xml_set_value_from_string() didn't succeed.  Should fix bug
	#123618 and #152063.

253
254
255
256
257
258
259
260
261
	* glade/glade-parser.c: change some occurrences of "0" to "NULL".
	Based on patch from Kjartan (bug #150039).

	* test-libglade.c (main): remove deprecated gtk_signal_connect()
	call.

	* glade/glade-xml.c (glade_xml_set_value_from_string): handle
	G_TYPE_STRV boxed types, using newline separators.

262
263
2004-11-08  James Henstridge  <james@jamesh.id.au>

264
265
266
	* glade/glade-gtk.c (_glade_init_gtk_widgets): add
	GtkFileChooserDialog.  Fixes bug #137592.

267
268
269
270
	* libglade-convert.in (WidgetDef.ChildDef.dump): encode property
	value in UTF-8.
	(WidgetDef.dump): same here.

271
272
273
	* glade/glade-parser.c (widget_info_free): free the atk actions
	and relations.  Should fix bug #125042.

274
275
276
277
	* libglade-convert.in (fixup_as_type): add code to convert x/y
	properties of GtkFixed children to child properties.  Fixes bug
	#155708 and #82986.

278
279
	* glade/glade-gtk.c (toolbar_build_children): update to use newer
	toolbar APIs even for older glade files.
280
281
282
283
	(set_tooltip): use gtk_tool_item_set_tooltip() to set the tooltip
	on GtkToolItems instead of gtk_tooltips_set_tip().
	(toolbar_build_children): call gtk_tool_item_set_tooltip() to set
	the tip on tool items in the compatibility code.
284

285
286
287
288
289
290
291
292
Sat Oct 23 23:56:14 2004  Jonathan Blandford  <jrb@redhat.com>

	* glade/glade-gtk.c (_glade_init_gtk_widgets): add
	GtkFileChooserButton, GtkIconView, GtkAboutDialog, and
	GtkMenuToolButton

	* configure.in: Add dependency on GTK+-2.5

293
294
295
296
297
2004-09-23  Matthias Clasen  <mclasen@redhat.com>

	* glade/glade-gtk.c (menu_item_set_use_stock): Make accelerators
	work in stock menu items.  (#140328)

298
299
300
301
302
303
2004-07-09  Daniel Elstner  <daniel.elstner@gmx.net>

	* glade/glade-gtk.c (toolbar_build_children): Use the new
	gtk_toolbar_insert() instead of gtk_toolbar_append_widget()
	to append GtkToolItem objects. (bug #142761)

James Henstridge's avatar
James Henstridge committed
304
305
306
307
308
309
310
311
312
313
314
315
2004-05-17  James Henstridge  <james@daa.com.au>

	* NEWS: add small news message.

	* autogen.sh: make autogen script a little more robust, and call
	auto-tools in the right order.

	* glade/Makefile.am: update libtool version.

	* configure.in: increment version number to 2.4.0.  Also perform a
	few small cleanups.

316
317
318
319
320
321
2004-03-17  Glynn Foster  <glynn.foster@sun.com>

	* Makefile.am, configure.in, libglade-2.0-uninstalled.pc.in:
	Add uninstalled pkg-config file to allow library to be linked
	without installation. Fixes #136094.

Mark McLoughlin's avatar
Mark McLoughlin committed
322
323
324
325
2004-03-10  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: Version 2.3.6.

Damon Chaplin's avatar
Damon Chaplin committed
326
327
328
329
330
331
332
333
334
335
336
2004-03-08  Damon Chaplin  <damon@gnome.org>

	* glade/glade-gtk.c (toggle_tool_button_set_active)
	(tool_button_set_icon, combo_box_set_items): implement custom
	properties.

	(_glade_init_gtk_widgets): register above custom properties, and
	register GtkComboBoxEntry, GtkToolItem, GtkToolButton,
	GtkToggleToolButton, GtkRadioToolButton & GtkSeparatorToolItem.
	Bugs #127805 and #134835.

337
338
339
340
341
2004-02-07  Steve Chaplin <stevech1097@yahoo.com.au>

	* tests/Makefile.am (AM_LDFLAGS): Fix a warning with automake.
	(#119071, Steve Chaplin)

342
343
344
345
346
Fri Jan 23 01:56:03 2004  Matthias Clasen  <maclas@gmx.de>

	* glade/glade-xml.c (glade_flags_from_string): Handle spaces 
	and UTF-8.  (#128013, Pedro Abelleira Seco and Damon Chaplin)

347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
Fri Jan 23 01:46:59 2004  Matthias Clasen  <maclas@gmx.de>

	Fix #126181, reported by Steve Chaplin:	
	
	* configure.in: Generate doc/version.xml.

	* doc/Makefile.am (content_files): Include version.xml

	* doc/Makefile.am (EXTRA_DIST): Distribute version.xml.in

	* doc/libglade-docs.xml: Include version.xml

	* doc/version.xml.in: New file in which the version number will
	be inserted by the configure script.

362
363
364
365
366
367
Fri Jan 23 01:18:33 2004  Matthias Clasen  <maclas@gmx.de>

	* glade/glade-build.h: 
	* glade/glade-xml.c (glade_register_widget): Don't use the
	C++ keyword 'new' as argument name.  (#96050, Bas Driessen)

368
369
370
371
372
Fri Jan 23 01:07:10 2004  Matthias Clasen  <maclas@gmx.de>

	* glade-2.0.dtd: Allow <property> in <signal> for the benefit
	of glademm.  (#88968, Christof Petig)

373
374
375
376
377
Fri Jan 23 01:01:44 2004  Matthias Clasen  <maclas@gmx.de>

	* glade/glade-gtk.c (toolbar_build_children): Support tooltips
	in toolbars.  (#101459, Michael Voigt)

Matthias Clasen's avatar
Matthias Clasen committed
378
379
380
381
382
383
Tue Jan 13 21:41:12 2004  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Version 2.3.2

	* glade/Makefile.am: LTVERSION 0:2:0.

384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
Mon Jan 12 21:52:07 2004  Matthias Clasen  <maclas@gmx.de>

	Support disambiguating msgids by adding a context prefix.
	To learn more about this technique, read the chapter "How to 
	use gettext in GUI programs" in the gettext manual, and see 
	the GLib API documentation for g_strip_context(). 
	
	* glade-2.0.dtd: Add a context attribute to the property 
	element.
	
	* doc/libglade-docs.xml: Document the context attribute.
	
	* glade/glade-parser.c: Call g_strip_context() on  
	translated properties whose context attribute says "yes".

Mark McLoughlin's avatar
Mark McLoughlin committed
399
400
401
402
2003-11-14  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: Version 2.3.1.

403
404
405
406
407
408
Sat Nov  1 20:43:05 2003  Jonathan Blandford  <jrb@gnome.org>

	* glade/glade-gtk.c (_glade_init_gtk_widgets): add GtkColorButton,
	GtkComboBox, GtkFileChooser and GtkFontButton.  GtkComboBox will
	need better support in the future.

409
410
411
412
413
414
415
416
417
418
2003-10-24  Mark McLoughlin  <mark@skynet.ie>

	* configure.in: bump version to 2.3.0 (in sync with
	gtk+), require gtk+ 2.3.0 and kill the crufty
	development branch warning.
	
	* glade/glade-gtk.c: (expander_build_children),
	(_glade_init_gtk_widgets): implement support
	for GtkExpander.

Morten Welinder's avatar
Morten Welinder committed
419
420
421
422
423
424
2003-07-23  Morten Welinder  <terra@gnome.org>

	* glade/glade-xml.c (glade_standard_build_widget): Plug leak.

	* glade/glade-gtk.c (pixmap_set_filename): Use the right colormap.

425
426
427
428
429
2003-06-13  Michael Meeks  <michael@ximian.com>

	* doc/Makefile.am: define content_files and HTML_IMAGES
	to please gtk-doc.make.

430
431
432
433
434
2003-04-29  Masahiro Sakai  <sakai@tom.sfc.keio.ac.jp>

	* glade/Makefile.am (libglade_2_0_la_LDFLAGS) use -no-undefined
	unconditionaly.

435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
2003-01-06  Tor Lillqvist  <tml@iki.fi>

	Use same style auto* build for Win32 as GLib etc:

	* configure.in: Call AC_LIBTOOL_WIN32_DLL. Check for Win32, set
	automake conditionals OS_WIN32 and PLATFORM_WIN32.

	* glade/Makefile.am: Pass -no-undefined to libtool. Use the
	glade.def file instead of -export-symbols. Install import
	libraries.

	* config.h.win32
	* makefile.mingw
	* glade/makefile.mingw: Remove, obsolete and unmaintained. If
	somebody actually was using these, please scream...

	* Makefile.am
	* glade/Makefile.am (EXTRA_DIST): Remove the above from here, too.

	* tests/test-libglade-gtk.c (test_create): Mark function to be
	called from libglade with G_MODULE_EXPORT.
	
	* tests/Makefile.am: [Win32] Must create separate .exp file to get
	the entry points properly exported, gcc doesn't believe just the
	G_MODULE_EXPORT. (MSVC does, this is a gcc bug or misfeature?)

461
462
463
464
465
466
467
2002-12-14  James Henstridge  <james@daa.com.au>

	* doc/Makefile.am: update for XML documentation.

	* autogen.sh (have_autoconf): update so that it will build with
	automake-1.7 if available.

James Henstridge's avatar
James Henstridge committed
468
469
470
471
472
473
2002-08-29  James Henstridge  <james@daa.com.au>

	* NEWS: add news items.

	* configure.in: update version number.

474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
2002-08-19  James Henstridge  <james@daa.com.au>

	* glade/glade.def: update to the list of exported symbols for
	libglade-2.0.

	* glade/Makefile.am (libglade_2_0_la_LDFLAGS): don't export
	underscore prefixed symbols.

	* glade/glade-init.c (get_module_path): make default dir
	$(libdir)/libglade/2.0.  We don't want to be searching $(libdir),
	as there are other libgnome.so's there (eg. gnome-libs-1.x).
	(find_module): get rid of the subdir stuff.  It isn't necessary
	for libglade.
	(glade_require): don't pass an argument to find_module().

489
490
491
492
493
494
495
496
2002-08-18  Havoc Pennington  <hp@pobox.com>

	* autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with
	both automake 1.6 and 1.4 installed get the right automake. Means
	compilation from CVS will now require the latest automake 1.4
	release, or manually creating symlinks called "automake-1.4" and
	"aclocal-1.4"

497
498
499
500
501
502
503
504
Fri Jul 19 03:11:57 2002  Kristian Rietveld  <kris@gtk.org>

	* glade/glade-gtk.c (toolbar_build_children): free icon when we don't
	need it anymore.

	* glade/glade-xml.c (glade_register_widget): free old qdata before
	setting the new qdata if applicable.

James Henstridge's avatar
James Henstridge committed
505
506
507
508
509
510
511
512
2002-06-06  James Henstridge  <james@daa.com.au>

	* configure.in: increment version number.

	* libglade.spec.in (Requires): set versions right.

	* NEWS: add news items.

513
514
515
516
517
518
519
520
521
2002-06-01  James Henstridge  <james@daa.com.au>

	* doc/tmpl/glade-init.sgml: copy info from tmpl/glade.sgml.

	* doc/Makefile.am (tmpl_sources): s/glade.sgml/glade-init.sgml/

	* doc/libglade-docs.sgml: fix up docs a bit to make them closer to
	XML compatible.

522
523
524
525
2002-05-12  Jacob Berkman  <jacob@ximian.com>

	* autogen.sh: enable gtk-doc from CVS, like gtk does

526
527
528
529
530
2002-05-12  James Henstridge  <james@daa.com.au>

	* glade/glade-parser.c (glade_parser_parse_file): put in a check
	to see if the file exists, and give a better error if so.

531
532
533
534
535
2002-05-12  Jacob Berkman  <jacob@ximian.com>

	* doc/Makefile.am (EXTRA_DIST): remove libglade-decl.txt.
	hopefully this will fix the build and not break anything else

536
537
2002-05-12  James Henstridge  <james@daa.com.au>

538
539
540
	* glade/glade-xml.c (add_relation): get reference counting right
	for the case where we are adding a target to an existing relation.

541
542
543
544
545
546
547
548
549
550
551
552
553
554
	* doc/Makefile.am: use CFLAGS and LDFLAGS when building docs, to
	fix 64-bit build issues brought up in bug #81347 by Shivram U.

	* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): make sure documentation
	gets built during distcheck.

	* configure.in (HAVE_GTK_PLUG): add check for GtkPlug impl, for
	those gtk targets that don't implement it yet.
	(ENABLE_GTK_DOC): add configure magic to not build gtk-doc stuff
	by default.

	* glade/glade-gtk.c (_glade_init_gtk_widgets): only register
	handler for GtkPlug/GtkSocket if HAVE_GTK_PLUG is defined.

555
556
557
558
559
2002-05-06  James Henstridge  <james@daa.com.au>

	* configure.in: push version number back up to 12.  This is
	to help Jacob's snapshots.

560
561
562
563
564
565
2002-04-28  Murray Cumming  <murrayc@usa.net>

	* glade/glade-xml.c (get_build_data):
	Look at the parent type in get_build_data()  rather than in
	glade_xml_build_widget().

James Henstridge's avatar
James Henstridge committed
566
567
568
569
2002-04-28  James Henstridge  <james@daa.com.au>

	* configure.in: decrement version number.

570
571
572
573
574
575
2002-04-26  Murray Cumming  <murrayc@usa.net>

	* glade/glade-xml.c: gtkmm's derived gtypes don't use 
	glade_register_widget(), so check the base type for a
	find_internal_child() function. 

576
577
578
579
580
581
2002-04-25  Murray Cumming  <murrayc@usa.net>

	* glade/glade-xml.[h|c]: Added lookup_type() virtual
	function to GladeXMLClass, so that libglademm language bindings
	can instantiate their own derived gtypes.

582
583
584
585
586
587
588
589
590
2002-04-22  Murray Cumming  <murrayc@usa.net>
	
	* glade/glade-parser.[h|c}: Renamed GladeWidgetInfo::class field
	to classname, because "class" is a C++ keyword. It's not really a 
	public header, but this has had gnome-2-release-team approval
	anyway.
	* Incremented version number so that it's obvious that libbonoboui
	and libgnomeui need to get this newer libglade version.

James Henstridge's avatar
James Henstridge committed
591
592
593
594
2002-04-23  James Henstridge  <james@daa.com.au>

	* configure.in: increment version number.

595
596
597
598
599
600
601
2002-04-22  James Henstridge  <james@daa.com.au>

	* glade/glade-xml.c (glade_xml_add_atk_relations): small
	optimisation for the case where there are no relations specified
	for the widget in the glade file.
	(glade_xml_add_atk_actions): small changes to match style of other
	functions in the file.
James Henstridge's avatar
James Henstridge committed
602
603
604
	(glade_xml_add_accessibility_info): use G_OBJECT_GET_CLASS() to
	get the type of the atk object rather than g_type_class_ref(),
	which fixes a reference leak.
605

606
607
608
609
610
611
2002-04-19  Mark McLoughlin  <mark@skynet.ie>

	* glade/glade-gtk.c: (entry_set_invisible_char),
	(_glade_init_gtk_widgets): impl support for the
	'invisible_char' property.

612
613
614
615
616
617
Tue Apr  9 22:20:01 2002  Jonathan Blandford  <jrb@gnome.org>

	* glade/glade-gtk.c (frame_build_children): Add a "label_item"
	child type to Frames so they can put child widgets in their
	header.

618
619
2002-03-30  James Henstridge  <james@daa.com.au>

James Henstridge's avatar
James Henstridge committed
620
621
	* configure.in (AC_INIT): increment version number.

622
623
624
625
626
627
	* glade/glade-gtk.c (_glade_init_gtk_widgets): register
	GtkSeparatorMenuItem so that it can be used in glade files. (fixes
	bug 76682).
	(option_menu_build_children): don't require that the option menu's
	GtkMenu be an "internal child" (fixes bug 75590).

628
629
2002-03-23  James Henstridge  <james@daa.com.au>

630
631
632
	* glade/glade-xml.c (add_relation): unref the AtkRelation after
	adding it to the AtkRelationSet (from bug 75782)

633
634
635
636
637
638
	* glade/glade-gtk.c (button_set_response_id): new function to
	handle response_id as a custom property.
	(_glade_init_gtk_widgets): use standard_build_widget to build
	buttons, and register custom prop.
	(gtk_dialog_build_children): small cleanups.

639
640
641
642
643
2002-03-21  jacob berkman  <jacob@ximian.com>

	* glade/glade-gtk.c (list_item_set_label): new custom property
	function (for GtkCombo) (bug #75471)

James Henstridge's avatar
James Henstridge committed
644
645
2002-03-11  James Henstridge  <james@daa.com.au>

646
647
	* acinclude.m4: add some extra messages to the config.log file.

James Henstridge's avatar
James Henstridge committed
648
649
650
651
	* configure.in: update version number.

	* NEWS: news updates.

James Henstridge's avatar
James Henstridge committed
652
653
654
655
656
657
658
659
660
661
662
663
	* glade/glade-xml.c (glade_xml_handle_internal_child): get rid of
	a warning.

	* configure.in (have_python): use the macro I split out.

	* acinclude.m4: move the python check into a macro in acinclude,
	as it was a bit complicated.  Also, inline implementation of
	AC_SHELL_PATH_WALK, as it isn't part of autoconf-2.53.

	* acconfig.h: remove last two lines, as the glib macro was updated
	with third argument to AC_DEFINE.

664
665
2002-03-10  James Henstridge  <james@daa.com.au>

666
667
668
669
670
671
672
673
	* examples/simple.glade: add a wmclass_name property to the
	window, as a test.

	* glade/glade-gtk.c (window_set_wmclass_name): function to set
	wmclass_name property.
	(window_set_wmclass_class): setter for wmclass_class.
	(_glade_init_gtk_widgets): register setters.

674
675
676
677
678
	* glade/glade-parser.c (alloc_propname): new function for
	allocating a normalised property name string.
	(glade_parser_start_element): use alloc_propname() for storing
	normalised property names.

679
680
681
682
	* glade/glade-gtk.c (layout_build_children): new function to pack
	children of GtkLayout.
	(_glade_init_gtk_widgets): register build_children routine.

683
684
685
686
687
688
689
690
691
692
693
2002-02-26  James Henstridge  <james@daa.com.au>

	* NEWS: retrospectively update the NEWS file for the devel branch.

	* glade/glade-xml.c (glade_xml_set_value_from_string): change
	error message to say "could not convert string" rather than
	"unsupported type", to clear up some confusion.

	* configure.in: update version number, and make --enable-debug the
	default.  Also increment version numbers of required libs.

694
695
2002-02-25  James Henstridge  <james@daa.com.au>

696
697
698
699
	* glade/glade-xml.c (glade_xml_handle_internal_child): add code to
	hanlde widget properties on internal children (this was missing
	before).

700
701
702
703
704
705
706
707
708
	* libglade-convert.in (ChildDef.dump): add agent="cxx" for
	properties beginning with cxx.
	(WidgetDef.dump): same here.

	* glade/glade-parser.c (glade_parser_start_element): ignore
	<property> elements with the agent attribute set to something
	other than "libglade".
	(glade_parser_start_element): same for child packing properties.

709
710
711
712
713
	* glade/glade-gtk.c (fontseldlg_find_internal_child): add
	"font_selection" internal child.
	(colorseldlg_find_internal_child): add "color_selection" internal
	child.

714
715
2002-02-21  James Henstridge  <james@daa.com.au>

James Henstridge's avatar
James Henstridge committed
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
	* tests/Makefile.am: update tests.

	* tests/test-libglade-gtk.c (main): update so that it takes a
	filename as an argument (so it can be used for multiple tests),
	and make it exit with return value 77 when it can't connect to the
	X server.

	* tests/test-convert (RETVAL): new file to run the tests for
	conversion script.

	* tests/test-libglade-gtk.glade: make the toplevel widgets non
	visible.

	* examples/example.glade: same.

	* examples/bonobo.glade: same.

	* examples/first.glade: same.

	* examples/simple.glade: fix up doctype.

	* glade-2.0.dtd: fix up syntax error in DTD.
	(property): add agent attribute for <property>, as agreed with
	damon.

	* libglade-convert.in (handle_file): use a full URL for the
	doctype.

744
745
746
	* libglade.spec.in (CATALOG): install and remove the catalog in
	scripts.

747
748
749
	* Makefile.am: prepend xmlcatalog rules with a dash, so that they
	don't break the build if we can't write to /etc/xml/catalog.

750
751
752
753
754
755
756
757
758
759
760
2002-02-21  James Henstridge  <james@daa.com.au>

	* Makefile.am (xml_DATA): install the DTD in $(datadir)/xml/libglade.
	(install-data-local,uninstall-local): add or remove the dtd from
	the catalog.

	* test-libglade.c (main): remove regression test stuff.

	* tests/test-value-parse.c (main): move the regression testing
	stuff from test-libglade.c to here.

761
762
2002-02-17  James Henstridge  <james@daa.com.au>

763
764
765
	* libglade-convert.in (usage): update usage message to fix bug
	#66371

766
767
768
769
770
	* glade/glade-gtk.c (set_has_default): function to handle
	"has_default" property.
	(set_has_focus): same for "has_focus".
	(_glade_init_gtk_widgets): register these custom prop handlers.

771
772
773
774
	* libglade-convert.in (parent_table): GtkRadioButton is a
	GtkButton.  This should make sure it gets the use_underline
	property set correctly.

775
776
2002-02-10  Chema Celorio  <chema@celorio.com>

777
778
	* libglade-convert.in (renamed_props): Add
	focus_target->mnemonic_widget for GtkLabel
779

780
781
782
783
784
Sat Feb  9 09:06:56 2002  Jonathan Blandford  <jrb@redhat.com>

	* libglade-convert.in (new_label): turn on 'use-underline' if
	there's an '_' in the label.

jacob berkman's avatar
jacob berkman committed
785
786
787
788
789
790
791
792
793
794
795
796
2002-02-07  jacob berkman  <jacob@ximian.com>

	* glade/glade-xml.c (glade_xml_relative_file): use
	g_path_get_dirname()

	* glade/glade-gtk.c: re-enable deprecated and broken widgets,
	since we need to provide them for porting purposes
	(pixmap_set_filename): use g_object_unref() rather than various
	deprecated calls

	* glade/Makefile.am (INCLUDES): add -DFOO_DISABLE_DEPRECATED

James Henstridge's avatar
James Henstridge committed
797
798
799
800
2002-02-07  James Henstridge  <james@daa.com.au>

	* configure.in: increment version number.

801
802
803
804
805
806
2002-02-06  James Henstridge  <james@daa.com.au>

	* doc/libglade-docs.sgml: some documentation updates (not quite
	finished, but the tutorial/notes section at the start should be
	more useful now).

807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
2002-02-05  James Henstridge  <james@daa.com.au>

	* glade/glade-xml.c (glade_xml_init): radio_groups doesn't exist
	anymore.
	(glade_xml_finalize): same here.

	* glade/glade-private.h: get rid of radio_groups hash table, as we
	don't maintain a separate namespace for radio groups anymore.

	* glade/glade-xml.c (glade_xml_init): s/accel_groups/accel_group/
	(glade_xml_set_toplevel): just unref priv->accel_group.
	(glade_xml_push_accel, glade_xml_pop_accel): remove.
	(glade_xml_ensure_accel): changes to get rid of accel group stack.
	(glade_xml_finalize): same here.

	* glade/glade-build.h (glade_xml_push_accel, glade_xml_pop_accel):
	remove these obsolete unused semi-public functions (not really
	part of the API).

	* glade/glade-private.h: only store a single accel group (the
	multi level accel group stuff is no longer needed due to the
	mnemonic code in gtk).

	* glade/glade-xml.c (glade_create_custom): make this function
	static.

	* examples/simple.glade: make the cancel button in the dialog a
	stock button, for testing purposes.

	* glade/glade-parser.c (glade_parser_start_element): add a debug
	message for start of element.
	(glade_parser_end_element): same for end of element

	* autogen.sh (have_automake): always pass --enable-debug in the
	autogen script, as this won't cause massive debugging spew by
	default anymore.

	* glade/glade-xml.c: convert uses of debug() macro with
	GLADE_NOTE(BUILD, ...).

	* configure.in (AH_BOTTOM): don't bother defining debug() macro
	here -- now handled by GLADE_NOTE environment variable.

	* glade/glade-private.h: add code to define GLADE_NOTE() macro for
	conditional debugging spew (like GTK_NOTE).

	* glade/glade-init.c (glade_init): add code to parse a
	LIBGLADE_DEBUG environment variable, similar to the GTK_DEBUG env
	var.

857
858
2002-01-31  James Henstridge  <james@daa.com.au>

859
860
861
862
	* configure.in (CFLAGS): change to set -std=c9x rather than -ansi.
	(AC_INIT): increment version number.
	(PKG_CHECK_MODULES): and of its dependencies.

863
864
865
866
	* glade/glade-gtk.c (menu_item_set_label): use set_text() instead
	(menu_item_set_use_stock): only set the stock icon if the value is
	true, and use gtk_label_set_text() to set the stock label text.

867
868
869
870
871
872
	* libglade-convert.in (stock_menu_translate): new function for
	translating stock menu item names to new names.
	(fixup_as_type): translate menu items correctly.
	(WidgetDef.dump): don't mark labels as translatable if use_stock
	is set.

873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
2002-01-30  James Henstridge  <james@daa.com.au>

	* libglade-convert.in (fixup_as_type): make menu items use the
	label, use_underline and use_stock custom props, rather than
	putting a label widget inside.  This reduces glade file complexity
	a bit.

	* glade/glade-gtk.c (menu_item_set_label): create an accel label
	in the menu item, so that accels display correctly.
	(menu_item_set_use_underline): same here.
	(menu_item_set_use_stock): new routine for turning a menu item
	into a stock item.
	(build_image_menu_item): remove this one in favour of the
	"use_stock" property.

888
889
890
891
892
893
2002-01-30  Zbigniew Chyla  <cyba@gnome.pl>

	* glade/glade-parser.c (glade_parser_end_element): Try to translate
	only non-empty strings. For empty strings gettext returns .po file
	properties (huge multiline string).

894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
2002-01-29  Damon Chaplin  <damon@ximian.com>

	* glade/glade-gtk.c (menu_item_set_label): 
	(menu_item_set_use_underline): new custom property handlers.
	(build_image_menu_item): new custom build function.
	(toolbar_build_children): updated to handle "use_stock" and
	"use_underline". I'm not entirely sure what you are supposed to do/not
	do in custom build functions, so this needs checking.
	(image_menu_find_internal_child): create a GtkImage child rather than
	a placeholder. The "image" child is a bit of a hack since it isn't
	really created by the GtkImageMenuItem.

	NOTE: the properties of the "image" child are not being set at present,
	so that needs fixing, and I'm not sure where that is supposed to
	happen.

910
911
2002-01-29  James Henstridge  <james@daa.com.au>

912
913
914
915
916
	* glade/glade-parser.c (glade_parser_parse_file): if the parser
	didn't finish in the correct state, the XML file was invalid, so
	return NULL.
	(glade_parser_parse_buffer): same here.

917
918
919
	* configure.in: add long prominant warning message if
	libglade-convert wasn't built.

920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
	* glade-2.0.dtd: change the child element list for <child>
	elements to allow <placeholder> in place of <widget>.

	* glade/glade-xml.c (glade_xml_build_widget): get rid of the code
	checking for a class name of Placeholder.  libglade-convert will
	no longer pass them through.

	* libglade-convert.in (WidgetDef.ChildDef.dump): if the widget has
	class <Placeholder>, then write out a <placeholder/> element
	rather than a <widget> element.

	* examples/first.glade: add a placeholder to example file.

	* glade/glade-parser.c: add two new states to do with
	<placeholder/> elements.
	(glade_parser_start_element): handle <placeholder> elements in the
	PARSER_WIDGET_CHILD state.
	(glade_parser_start_element): ignore elements after the
	<placeholder> element (PARSER_WIDGET_CHILD_AFTER_PLACEHOLDER
	state).
	(glade_parser_end_element): add logic for handling the new
	placeholder related states.

943
944
945
946
947
948
949
950
951
952
953
954
955
956
	* glade/glade-xml.c (glade_xml_get_toplevel_names): remove
	function from API.  It isn't used anywhere according to LXR (I
	just removed the only bit of code that was using it)
	(connect_data_connect_func): remove use of deprecated signal
	connection functions.
	(glade_xml_signal_connect_data): change argument from
	GtkSignalFunc to GCallback (the two are defined identically).
	(glade_xml_signal_connect): use non deprecated signal functions.
	(autoconnect_foreach): use non deprecated signal functions.
	(glade_xml_init): ref the tooltips with g_object_ref.
	(glade_xml_set_toplevel): ref tooltips with g_object_ref, and use
	g_object_unref as a destroy notify.
	(glade_xml_finalize): release the tooltips with g_object_unref.

957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
	* libglade-convert.in (hide_toplevel): remove function that sets
	all toplevels to invisible.
	(handle_file): don't hide toplevels.

	* test-libglade.c (main): get rid of the broken code that
	unconditionally shows the toplevels.  The glade file should
	already contain the required information.

	* glade/glade-gtk.c (set_visible): handle the "visible" property
	as a custom prop, setting object data if the widget is to be shown
	(it gets shown after all its children are processed in
	set_common_params).

	* glade/glade-xml.c (glade_xml_set_common_params): if the
	"Libglade::visible" object data has been set non NULL on a widget,
	call gtk_widget_show() on it.

2002-01-28  James Henstridge  <james@daa.com.au>

	* glade/glade-xml.c (glade_xml_set_common_params): delete the
	tooltip stuff, as it is handled as a custom property now.

979
980
981
982
983
984
985
2002-01-16  jacob berkman  <jacob@ximian.com>

	* libglade-convert.in (upgrade_widget): make GtkTextView wrap
	words by default
	(renamed_props): add some more properties for gnome-font-picker to
	convert

Damon Chaplin's avatar
Damon Chaplin committed
986
987
988
989
990
991
992
2002-01-14  Damon Chaplin  <damon@ximian.com>

	* glade/glade-parser.c (handle_signal): ignore last_modification_time.

	* glade-2.0.dtd: added last_modification_time attribute for signals,
	which Glade uses but libglade ignores.

993
994
995
996
997
2002-01-14  Damon Chaplin  <damon@ximian.com>

	* glade/glade-gtk.c (statusbar_set_has_resize_grip): 
	(ruler_set_metric): added 2 custom property handlers.

998
999
1000
2001-12-24  James Henstridge  <james@daa.com.au>

	* configure.in: don't call GNOME_COMMON_INIT.  This gets rid of