1 | 2005-02-11 James Henstridge <james@jamesh.id.au> |
---|
2 | |
---|
3 | * glade/glade-gtk.c (toolbar_build_children): revert the handling |
---|
4 | of old toolbars to the pre-2.4.1 behaviour, with the exception of |
---|
5 | the "active" handling for radio buttons. |
---|
6 | (_glade_init_gtk_widgets): use the GtkDialog buil_children |
---|
7 | implementation for GtkFileChooserDialog. Fixes bug #160264. |
---|
8 | |
---|
9 | 2004-11-29 James Henstridge <james@jamesh.id.au> |
---|
10 | |
---|
11 | * NEWS: add news items. |
---|
12 | |
---|
13 | * glade/glade-xml.c (add_relation): apply Padraig O'brian's patch |
---|
14 | to fix up AtkRelation creation. Fixes bug #158708. |
---|
15 | |
---|
16 | 2004-11-22 James Henstridge <james@jamesh.id.au> |
---|
17 | |
---|
18 | * glade/Makefile.am: update libtool version number. |
---|
19 | |
---|
20 | * NEWS: update news file. |
---|
21 | |
---|
22 | 2004-05-19 Daniel Elstner <daniel.elstner@gmx.net> |
---|
23 | |
---|
24 | * glade/glade-gtk.c (combo_box_entry_find_internal_child): New |
---|
25 | function that exposes GtkComboBoxEntry's child GtkEntry widget as |
---|
26 | internal-child "entry". |
---|
27 | (_glade_init_gtk_widgets): Add glade_standard_build_children and |
---|
28 | combo_box_entry_find_internal_child to the glade_register_widget() |
---|
29 | call for GTK_TYPE_COMBO_BOX_ENTRY. |
---|
30 | |
---|
31 | 2004-11-11 James Henstridge <james@jamesh.id.au> |
---|
32 | |
---|
33 | * glade/glade-parser.c (glade_parser_start_element): Apply Damon's |
---|
34 | changes to ignore the comments attribute on various elements. |
---|
35 | This is also from bug #154806. |
---|
36 | |
---|
37 | * glade/glade-parser.c (handle_atk_action): translate the action |
---|
38 | description. Fixes bug #154804. |
---|
39 | |
---|
40 | * glade-2.0.dtd (property): add comments attribute. |
---|
41 | (atkproperty): add translatable, context and |
---|
42 | comments attributes. |
---|
43 | (atkaction): add note that description is translated. Patch from |
---|
44 | Damon Chaplin on bug #154806. |
---|
45 | |
---|
46 | 2004-11-09 James Henstridge <james@jamesh.id.au> |
---|
47 | |
---|
48 | * glade/glade-gtk.c (toolbar_build_children): fix a few errors in |
---|
49 | the conversion of old style toolbar items. |
---|
50 | |
---|
51 | * Makefile.am (install-data-local, uninstall-local): fix up rules |
---|
52 | so that they aren't run if the XML catalog isn't found. They |
---|
53 | still ignore errors though. |
---|
54 | |
---|
55 | * acconfig.h, acinclude.m4: remove, since they aren't needed |
---|
56 | anymore. |
---|
57 | |
---|
58 | * configure.in: update to use AM_PATH_PYTHON, and use |
---|
59 | JH_PATH_XML_CATALOG to check for location on XML catalog (this |
---|
60 | adds a --with-xml-catalog argument, which solves a few bugs). |
---|
61 | |
---|
62 | * m4/jh_xml_catalog.m4: new file containing macro to check for XML |
---|
63 | catalog. |
---|
64 | |
---|
65 | * autogen.sh (have_autoconf): require Automake 1.9 or 1.8, include |
---|
66 | m4/ subdirectory. |
---|
67 | |
---|
68 | * glade/glade-xml.c (glade_xml_set_value_from_string): handle |
---|
69 | GtkWidget type values, but don't throw an error if the named |
---|
70 | widget doesn't exist yet. |
---|
71 | (glade_standard_build_widget): only defer the widget prop if |
---|
72 | glade_xml_set_value_from_string() didn't succeed. Should fix bug |
---|
73 | #123618 and #152063. |
---|
74 | |
---|
75 | * glade/glade-parser.c: change some occurrences of "0" to "NULL". |
---|
76 | Based on patch from Kjartan (bug #150039). |
---|
77 | |
---|
78 | * test-libglade.c (main): remove deprecated gtk_signal_connect() |
---|
79 | call. |
---|
80 | |
---|
81 | * glade/glade-xml.c (glade_xml_set_value_from_string): handle |
---|
82 | G_TYPE_STRV boxed types, using newline separators. |
---|
83 | |
---|
84 | 2004-11-08 James Henstridge <james@jamesh.id.au> |
---|
85 | |
---|
86 | * glade/glade-gtk.c (_glade_init_gtk_widgets): add |
---|
87 | GtkFileChooserDialog. Fixes bug #137592. |
---|
88 | |
---|
89 | * libglade-convert.in (WidgetDef.ChildDef.dump): encode property |
---|
90 | value in UTF-8. |
---|
91 | (WidgetDef.dump): same here. |
---|
92 | |
---|
93 | * glade/glade-parser.c (widget_info_free): free the atk actions |
---|
94 | and relations. Should fix bug #125042. |
---|
95 | |
---|
96 | * libglade-convert.in (fixup_as_type): add code to convert x/y |
---|
97 | properties of GtkFixed children to child properties. Fixes bug |
---|
98 | #155708 and #82986. |
---|
99 | |
---|
100 | * glade/glade-gtk.c (toolbar_build_children): update to use newer |
---|
101 | toolbar APIs even for older glade files. |
---|
102 | (set_tooltip): use gtk_tool_item_set_tooltip() to set the tooltip |
---|
103 | on GtkToolItems instead of gtk_tooltips_set_tip(). |
---|
104 | (toolbar_build_children): call gtk_tool_item_set_tooltip() to set |
---|
105 | the tip on tool items in the compatibility code. |
---|
106 | |
---|
107 | 2004-09-23 Matthias Clasen <mclasen@redhat.com> |
---|
108 | |
---|
109 | * glade/glade-gtk.c (menu_item_set_use_stock): Make accelerators |
---|
110 | work in stock menu items. (#140328) |
---|
111 | |
---|
112 | 2004-07-09 Daniel Elstner <daniel.elstner@gmx.net> |
---|
113 | |
---|
114 | * glade/glade-gtk.c (toolbar_build_children): Use the new |
---|
115 | gtk_toolbar_insert() instead of gtk_toolbar_append_widget() |
---|
116 | to append GtkToolItem objects. (bug #142761) |
---|
117 | |
---|
118 | 2004-05-17 James Henstridge <james@daa.com.au> |
---|
119 | |
---|
120 | * NEWS: add small news message. |
---|
121 | |
---|
122 | * autogen.sh: make autogen script a little more robust, and call |
---|
123 | auto-tools in the right order. |
---|
124 | |
---|
125 | * glade/Makefile.am: update libtool version. |
---|
126 | |
---|
127 | * configure.in: increment version number to 2.4.0. Also perform a |
---|
128 | few small cleanups. |
---|
129 | |
---|
130 | 2004-03-17 Glynn Foster <glynn.foster@sun.com> |
---|
131 | |
---|
132 | * Makefile.am, configure.in, libglade-2.0-uninstalled.pc.in: |
---|
133 | Add uninstalled pkg-config file to allow library to be linked |
---|
134 | without installation. Fixes #136094. |
---|
135 | |
---|
136 | 2004-03-10 Mark McLoughlin <mark@skynet.ie> |
---|
137 | |
---|
138 | * configure.in: Version 2.3.6. |
---|
139 | |
---|
140 | 2004-03-08 Damon Chaplin <damon@gnome.org> |
---|
141 | |
---|
142 | * glade/glade-gtk.c (toggle_tool_button_set_active) |
---|
143 | (tool_button_set_icon, combo_box_set_items): implement custom |
---|
144 | properties. |
---|
145 | |
---|
146 | (_glade_init_gtk_widgets): register above custom properties, and |
---|
147 | register GtkComboBoxEntry, GtkToolItem, GtkToolButton, |
---|
148 | GtkToggleToolButton, GtkRadioToolButton & GtkSeparatorToolItem. |
---|
149 | Bugs #127805 and #134835. |
---|
150 | |
---|
151 | 2004-02-07 Steve Chaplin <stevech1097@yahoo.com.au> |
---|
152 | |
---|
153 | * tests/Makefile.am (AM_LDFLAGS): Fix a warning with automake. |
---|
154 | (#119071, Steve Chaplin) |
---|
155 | |
---|
156 | Fri Jan 23 01:56:03 2004 Matthias Clasen <maclas@gmx.de> |
---|
157 | |
---|
158 | * glade/glade-xml.c (glade_flags_from_string): Handle spaces |
---|
159 | and UTF-8. (#128013, Pedro Abelleira Seco and Damon Chaplin) |
---|
160 | |
---|
161 | Fri Jan 23 01:46:59 2004 Matthias Clasen <maclas@gmx.de> |
---|
162 | |
---|
163 | Fix #126181, reported by Steve Chaplin: |
---|
164 | |
---|
165 | * configure.in: Generate doc/version.xml. |
---|
166 | |
---|
167 | * doc/Makefile.am (content_files): Include version.xml |
---|
168 | |
---|
169 | * doc/Makefile.am (EXTRA_DIST): Distribute version.xml.in |
---|
170 | |
---|
171 | * doc/libglade-docs.xml: Include version.xml |
---|
172 | |
---|
173 | * doc/version.xml.in: New file in which the version number will |
---|
174 | be inserted by the configure script. |
---|
175 | |
---|
176 | Fri Jan 23 01:18:33 2004 Matthias Clasen <maclas@gmx.de> |
---|
177 | |
---|
178 | * glade/glade-build.h: |
---|
179 | * glade/glade-xml.c (glade_register_widget): Don't use the |
---|
180 | C++ keyword 'new' as argument name. (#96050, Bas Driessen) |
---|
181 | |
---|
182 | Fri Jan 23 01:07:10 2004 Matthias Clasen <maclas@gmx.de> |
---|
183 | |
---|
184 | * glade-2.0.dtd: Allow <property> in <signal> for the benefit |
---|
185 | of glademm. (#88968, Christof Petig) |
---|
186 | |
---|
187 | Fri Jan 23 01:01:44 2004 Matthias Clasen <maclas@gmx.de> |
---|
188 | |
---|
189 | * glade/glade-gtk.c (toolbar_build_children): Support tooltips |
---|
190 | in toolbars. (#101459, Michael Voigt) |
---|
191 | |
---|
192 | Tue Jan 13 21:41:12 2004 Matthias Clasen <maclas@gmx.de> |
---|
193 | |
---|
194 | * configure.in: Version 2.3.2 |
---|
195 | |
---|
196 | * glade/Makefile.am: LTVERSION 0:2:0. |
---|
197 | |
---|
198 | Mon Jan 12 21:52:07 2004 Matthias Clasen <maclas@gmx.de> |
---|
199 | |
---|
200 | Support disambiguating msgids by adding a context prefix. |
---|
201 | To learn more about this technique, read the chapter "How to |
---|
202 | use gettext in GUI programs" in the gettext manual, and see |
---|
203 | the GLib API documentation for g_strip_context(). |
---|
204 | |
---|
205 | * glade-2.0.dtd: Add a context attribute to the property |
---|
206 | element. |
---|
207 | |
---|
208 | * doc/libglade-docs.xml: Document the context attribute. |
---|
209 | |
---|
210 | * glade/glade-parser.c: Call g_strip_context() on |
---|
211 | translated properties whose context attribute says "yes". |
---|
212 | |
---|
213 | 2003-11-14 Mark McLoughlin <mark@skynet.ie> |
---|
214 | |
---|
215 | * configure.in: Version 2.3.1. |
---|
216 | |
---|
217 | Sat Nov 1 20:43:05 2003 Jonathan Blandford <jrb@gnome.org> |
---|
218 | |
---|
219 | * glade/glade-gtk.c (_glade_init_gtk_widgets): add GtkColorButton, |
---|
220 | GtkComboBox, GtkFileChooser and GtkFontButton. GtkComboBox will |
---|
221 | need better support in the future. |
---|
222 | |
---|
223 | 2003-10-24 Mark McLoughlin <mark@skynet.ie> |
---|
224 | |
---|
225 | * configure.in: bump version to 2.3.0 (in sync with |
---|
226 | gtk+), require gtk+ 2.3.0 and kill the crufty |
---|
227 | development branch warning. |
---|
228 | |
---|
229 | * glade/glade-gtk.c: (expander_build_children), |
---|
230 | (_glade_init_gtk_widgets): implement support |
---|
231 | for GtkExpander. |
---|
232 | |
---|
233 | 2003-07-23 Morten Welinder <terra@gnome.org> |
---|
234 | |
---|
235 | * glade/glade-xml.c (glade_standard_build_widget): Plug leak. |
---|
236 | |
---|
237 | * glade/glade-gtk.c (pixmap_set_filename): Use the right colormap. |
---|
238 | |
---|
239 | 2003-06-13 Michael Meeks <michael@ximian.com> |
---|
240 | |
---|
241 | * doc/Makefile.am: define content_files and HTML_IMAGES |
---|
242 | to please gtk-doc.make. |
---|
243 | |
---|
244 | 2003-04-29 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp> |
---|
245 | |
---|
246 | * glade/Makefile.am (libglade_2_0_la_LDFLAGS) use -no-undefined |
---|
247 | unconditionaly. |
---|
248 | |
---|
249 | 2003-01-06 Tor Lillqvist <tml@iki.fi> |
---|
250 | |
---|
251 | Use same style auto* build for Win32 as GLib etc: |
---|
252 | |
---|
253 | * configure.in: Call AC_LIBTOOL_WIN32_DLL. Check for Win32, set |
---|
254 | automake conditionals OS_WIN32 and PLATFORM_WIN32. |
---|
255 | |
---|
256 | * glade/Makefile.am: Pass -no-undefined to libtool. Use the |
---|
257 | glade.def file instead of -export-symbols. Install import |
---|
258 | libraries. |
---|
259 | |
---|
260 | * config.h.win32 |
---|
261 | * makefile.mingw |
---|
262 | * glade/makefile.mingw: Remove, obsolete and unmaintained. If |
---|
263 | somebody actually was using these, please scream... |
---|
264 | |
---|
265 | * Makefile.am |
---|
266 | * glade/Makefile.am (EXTRA_DIST): Remove the above from here, too. |
---|
267 | |
---|
268 | * tests/test-libglade-gtk.c (test_create): Mark function to be |
---|
269 | called from libglade with G_MODULE_EXPORT. |
---|
270 | |
---|
271 | * tests/Makefile.am: [Win32] Must create separate .exp file to get |
---|
272 | the entry points properly exported, gcc doesn't believe just the |
---|
273 | G_MODULE_EXPORT. (MSVC does, this is a gcc bug or misfeature?) |
---|
274 | |
---|
275 | 2002-12-14 James Henstridge <james@daa.com.au> |
---|
276 | |
---|
277 | * doc/Makefile.am: update for XML documentation. |
---|
278 | |
---|
279 | * autogen.sh (have_autoconf): update so that it will build with |
---|
280 | automake-1.7 if available. |
---|
281 | |
---|
282 | 2002-08-29 James Henstridge <james@daa.com.au> |
---|
283 | |
---|
284 | * NEWS: add news items. |
---|
285 | |
---|
286 | * configure.in: update version number. |
---|
287 | |
---|
288 | 2002-08-19 James Henstridge <james@daa.com.au> |
---|
289 | |
---|
290 | * glade/glade.def: update to the list of exported symbols for |
---|
291 | libglade-2.0. |
---|
292 | |
---|
293 | * glade/Makefile.am (libglade_2_0_la_LDFLAGS): don't export |
---|
294 | underscore prefixed symbols. |
---|
295 | |
---|
296 | * glade/glade-init.c (get_module_path): make default dir |
---|
297 | $(libdir)/libglade/2.0. We don't want to be searching $(libdir), |
---|
298 | as there are other libgnome.so's there (eg. gnome-libs-1.x). |
---|
299 | (find_module): get rid of the subdir stuff. It isn't necessary |
---|
300 | for libglade. |
---|
301 | (glade_require): don't pass an argument to find_module(). |
---|
302 | |
---|
303 | 2002-08-18 Havoc Pennington <hp@pobox.com> |
---|
304 | |
---|
305 | * autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with |
---|
306 | both automake 1.6 and 1.4 installed get the right automake. Means |
---|
307 | compilation from CVS will now require the latest automake 1.4 |
---|
308 | release, or manually creating symlinks called "automake-1.4" and |
---|
309 | "aclocal-1.4" |
---|
310 | |
---|
311 | Fri Jul 19 03:11:57 2002 Kristian Rietveld <kris@gtk.org> |
---|
312 | |
---|
313 | * glade/glade-gtk.c (toolbar_build_children): free icon when we don't |
---|
314 | need it anymore. |
---|
315 | |
---|
316 | * glade/glade-xml.c (glade_register_widget): free old qdata before |
---|
317 | setting the new qdata if applicable. |
---|
318 | |
---|
319 | 2002-06-06 James Henstridge <james@daa.com.au> |
---|
320 | |
---|
321 | * configure.in: increment version number. |
---|
322 | |
---|
323 | * libglade.spec.in (Requires): set versions right. |
---|
324 | |
---|
325 | * NEWS: add news items. |
---|
326 | |
---|
327 | 2002-06-01 James Henstridge <james@daa.com.au> |
---|
328 | |
---|
329 | * doc/tmpl/glade-init.sgml: copy info from tmpl/glade.sgml. |
---|
330 | |
---|
331 | * doc/Makefile.am (tmpl_sources): s/glade.sgml/glade-init.sgml/ |
---|
332 | |
---|
333 | * doc/libglade-docs.sgml: fix up docs a bit to make them closer to |
---|
334 | XML compatible. |
---|
335 | |
---|
336 | 2002-05-12 Jacob Berkman <jacob@ximian.com> |
---|
337 | |
---|
338 | * autogen.sh: enable gtk-doc from CVS, like gtk does |
---|
339 | |
---|
340 | 2002-05-12 James Henstridge <james@daa.com.au> |
---|
341 | |
---|
342 | * glade/glade-parser.c (glade_parser_parse_file): put in a check |
---|
343 | to see if the file exists, and give a better error if so. |
---|
344 | |
---|
345 | 2002-05-12 Jacob Berkman <jacob@ximian.com> |
---|
346 | |
---|
347 | * doc/Makefile.am (EXTRA_DIST): remove libglade-decl.txt. |
---|
348 | hopefully this will fix the build and not break anything else |
---|
349 | |
---|
350 | 2002-05-12 James Henstridge <james@daa.com.au> |
---|
351 | |
---|
352 | * glade/glade-xml.c (add_relation): get reference counting right |
---|
353 | for the case where we are adding a target to an existing relation. |
---|
354 | |
---|
355 | * doc/Makefile.am: use CFLAGS and LDFLAGS when building docs, to |
---|
356 | fix 64-bit build issues brought up in bug #81347 by Shivram U. |
---|
357 | |
---|
358 | * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): make sure documentation |
---|
359 | gets built during distcheck. |
---|
360 | |
---|
361 | * configure.in (HAVE_GTK_PLUG): add check for GtkPlug impl, for |
---|
362 | those gtk targets that don't implement it yet. |
---|
363 | (ENABLE_GTK_DOC): add configure magic to not build gtk-doc stuff |
---|
364 | by default. |
---|
365 | |
---|
366 | * glade/glade-gtk.c (_glade_init_gtk_widgets): only register |
---|
367 | handler for GtkPlug/GtkSocket if HAVE_GTK_PLUG is defined. |
---|
368 | |
---|
369 | 2002-05-06 James Henstridge <james@daa.com.au> |
---|
370 | |
---|
371 | * configure.in: push version number back up to 12. This is |
---|
372 | to help Jacob's snapshots. |
---|
373 | |
---|
374 | 2002-04-28 Murray Cumming <murrayc@usa.net> |
---|
375 | |
---|
376 | * glade/glade-xml.c (get_build_data): |
---|
377 | Look at the parent type in get_build_data() rather than in |
---|
378 | glade_xml_build_widget(). |
---|
379 | |
---|
380 | 2002-04-28 James Henstridge <james@daa.com.au> |
---|
381 | |
---|
382 | * configure.in: decrement version number. |
---|
383 | |
---|
384 | 2002-04-26 Murray Cumming <murrayc@usa.net> |
---|
385 | |
---|
386 | * glade/glade-xml.c: gtkmm's derived gtypes don't use |
---|
387 | glade_register_widget(), so check the base type for a |
---|
388 | find_internal_child() function. |
---|
389 | |
---|
390 | 2002-04-25 Murray Cumming <murrayc@usa.net> |
---|
391 | |
---|
392 | * glade/glade-xml.[h|c]: Added lookup_type() virtual |
---|
393 | function to GladeXMLClass, so that libglademm language bindings |
---|
394 | can instantiate their own derived gtypes. |
---|
395 | |
---|
396 | 2002-04-22 Murray Cumming <murrayc@usa.net> |
---|
397 | |
---|
398 | * glade/glade-parser.[h|c}: Renamed GladeWidgetInfo::class field |
---|
399 | to classname, because "class" is a C++ keyword. It's not really a |
---|
400 | public header, but this has had gnome-2-release-team approval |
---|
401 | anyway. |
---|
402 | * Incremented version number so that it's obvious that libbonoboui |
---|
403 | and libgnomeui need to get this newer libglade version. |
---|
404 | |
---|
405 | 2002-04-23 James Henstridge <james@daa.com.au> |
---|
406 | |
---|
407 | * configure.in: increment version number. |
---|
408 | |
---|
409 | 2002-04-22 James Henstridge <james@daa.com.au> |
---|
410 | |
---|
411 | * glade/glade-xml.c (glade_xml_add_atk_relations): small |
---|
412 | optimisation for the case where there are no relations specified |
---|
413 | for the widget in the glade file. |
---|
414 | (glade_xml_add_atk_actions): small changes to match style of other |
---|
415 | functions in the file. |
---|
416 | (glade_xml_add_accessibility_info): use G_OBJECT_GET_CLASS() to |
---|
417 | get the type of the atk object rather than g_type_class_ref(), |
---|
418 | which fixes a reference leak. |
---|
419 | |
---|
420 | 2002-04-19 Mark McLoughlin <mark@skynet.ie> |
---|
421 | |
---|
422 | * glade/glade-gtk.c: (entry_set_invisible_char), |
---|
423 | (_glade_init_gtk_widgets): impl support for the |
---|
424 | 'invisible_char' property. |
---|
425 | |
---|
426 | Tue Apr 9 22:20:01 2002 Jonathan Blandford <jrb@gnome.org> |
---|
427 | |
---|
428 | * glade/glade-gtk.c (frame_build_children): Add a "label_item" |
---|
429 | child type to Frames so they can put child widgets in their |
---|
430 | header. |
---|
431 | |
---|
432 | 2002-03-30 James Henstridge <james@daa.com.au> |
---|
433 | |
---|
434 | * configure.in (AC_INIT): increment version number. |
---|
435 | |
---|
436 | * glade/glade-gtk.c (_glade_init_gtk_widgets): register |
---|
437 | GtkSeparatorMenuItem so that it can be used in glade files. (fixes |
---|
438 | bug 76682). |
---|
439 | (option_menu_build_children): don't require that the option menu's |
---|
440 | GtkMenu be an "internal child" (fixes bug 75590). |
---|
441 | |
---|
442 | 2002-03-23 James Henstridge <james@daa.com.au> |
---|
443 | |
---|
444 | * glade/glade-xml.c (add_relation): unref the AtkRelation after |
---|
445 | adding it to the AtkRelationSet (from bug 75782) |
---|
446 | |
---|
447 | * glade/glade-gtk.c (button_set_response_id): new function to |
---|
448 | handle response_id as a custom property. |
---|
449 | (_glade_init_gtk_widgets): use standard_build_widget to build |
---|
450 | buttons, and register custom prop. |
---|
451 | (gtk_dialog_build_children): small cleanups. |
---|
452 | |
---|
453 | 2002-03-21 jacob berkman <jacob@ximian.com> |
---|
454 | |
---|
455 | * glade/glade-gtk.c (list_item_set_label): new custom property |
---|
456 | function (for GtkCombo) (bug #75471) |
---|
457 | |
---|
458 | 2002-03-11 James Henstridge <james@daa.com.au> |
---|
459 | |
---|
460 | * acinclude.m4: add some extra messages to the config.log file. |
---|
461 | |
---|
462 | * configure.in: update version number. |
---|
463 | |
---|
464 | * NEWS: news updates. |
---|
465 | |
---|
466 | * glade/glade-xml.c (glade_xml_handle_internal_child): get rid of |
---|
467 | a warning. |
---|
468 | |
---|
469 | * configure.in (have_python): use the macro I split out. |
---|
470 | |
---|
471 | * acinclude.m4: move the python check into a macro in acinclude, |
---|
472 | as it was a bit complicated. Also, inline implementation of |
---|
473 | AC_SHELL_PATH_WALK, as it isn't part of autoconf-2.53. |
---|
474 | |
---|
475 | * acconfig.h: remove last two lines, as the glib macro was updated |
---|
476 | with third argument to AC_DEFINE. |
---|
477 | |
---|
478 | 2002-03-10 James Henstridge <james@daa.com.au> |
---|
479 | |
---|
480 | * examples/simple.glade: add a wmclass_name property to the |
---|
481 | window, as a test. |
---|
482 | |
---|
483 | * glade/glade-gtk.c (window_set_wmclass_name): function to set |
---|
484 | wmclass_name property. |
---|
485 | (window_set_wmclass_class): setter for wmclass_class. |
---|
486 | (_glade_init_gtk_widgets): register setters. |
---|
487 | |
---|
488 | * glade/glade-parser.c (alloc_propname): new function for |
---|
489 | allocating a normalised property name string. |
---|
490 | (glade_parser_start_element): use alloc_propname() for storing |
---|
491 | normalised property names. |
---|
492 | |
---|
493 | * glade/glade-gtk.c (layout_build_children): new function to pack |
---|
494 | children of GtkLayout. |
---|
495 | (_glade_init_gtk_widgets): register build_children routine. |
---|
496 | |
---|
497 | 2002-02-26 James Henstridge <james@daa.com.au> |
---|
498 | |
---|
499 | * NEWS: retrospectively update the NEWS file for the devel branch. |
---|
500 | |
---|
501 | * glade/glade-xml.c (glade_xml_set_value_from_string): change |
---|
502 | error message to say "could not convert string" rather than |
---|
503 | "unsupported type", to clear up some confusion. |
---|
504 | |
---|
505 | * configure.in: update version number, and make --enable-debug the |
---|
506 | default. Also increment version numbers of required libs. |
---|
507 | |
---|
508 | 2002-02-25 James Henstridge <james@daa.com.au> |
---|
509 | |
---|
510 | * glade/glade-xml.c (glade_xml_handle_internal_child): add code to |
---|
511 | hanlde widget properties on internal children (this was missing |
---|
512 | before). |
---|
513 | |
---|
514 | * libglade-convert.in (ChildDef.dump): add agent="cxx" for |
---|
515 | properties beginning with cxx. |
---|
516 | (WidgetDef.dump): same here. |
---|
517 | |
---|
518 | * glade/glade-parser.c (glade_parser_start_element): ignore |
---|
519 | <property> elements with the agent attribute set to something |
---|
520 | other than "libglade". |
---|
521 | (glade_parser_start_element): same for child packing properties. |
---|
522 | |
---|
523 | * glade/glade-gtk.c (fontseldlg_find_internal_child): add |
---|
524 | "font_selection" internal child. |
---|
525 | (colorseldlg_find_internal_child): add "color_selection" internal |
---|
526 | child. |
---|
527 | |
---|
528 | 2002-02-21 James Henstridge <james@daa.com.au> |
---|
529 | |
---|
530 | * tests/Makefile.am: update tests. |
---|
531 | |
---|
532 | * tests/test-libglade-gtk.c (main): update so that it takes a |
---|
533 | filename as an argument (so it can be used for multiple tests), |
---|
534 | and make it exit with return value 77 when it can't connect to the |
---|
535 | X server. |
---|
536 | |
---|
537 | * tests/test-convert (RETVAL): new file to run the tests for |
---|
538 | conversion script. |
---|
539 | |
---|
540 | * tests/test-libglade-gtk.glade: make the toplevel widgets non |
---|
541 | visible. |
---|
542 | |
---|
543 | * examples/example.glade: same. |
---|
544 | |
---|
545 | * examples/bonobo.glade: same. |
---|
546 | |
---|
547 | * examples/first.glade: same. |
---|
548 | |
---|
549 | * examples/simple.glade: fix up doctype. |
---|
550 | |
---|
551 | * glade-2.0.dtd: fix up syntax error in DTD. |
---|
552 | (property): add agent attribute for <property>, as agreed with |
---|
553 | damon. |
---|
554 | |
---|
555 | * libglade-convert.in (handle_file): use a full URL for the |
---|
556 | doctype. |
---|
557 | |
---|
558 | * libglade.spec.in (CATALOG): install and remove the catalog in |
---|
559 | scripts. |
---|
560 | |
---|
561 | * Makefile.am: prepend xmlcatalog rules with a dash, so that they |
---|
562 | don't break the build if we can't write to /etc/xml/catalog. |
---|
563 | |
---|
564 | 2002-02-21 James Henstridge <james@daa.com.au> |
---|
565 | |
---|
566 | * Makefile.am (xml_DATA): install the DTD in $(datadir)/xml/libglade. |
---|
567 | (install-data-local,uninstall-local): add or remove the dtd from |
---|
568 | the catalog. |
---|
569 | |
---|
570 | * test-libglade.c (main): remove regression test stuff. |
---|
571 | |
---|
572 | * tests/test-value-parse.c (main): move the regression testing |
---|
573 | stuff from test-libglade.c to here. |
---|
574 | |
---|
575 | 2002-02-17 James Henstridge <james@daa.com.au> |
---|
576 | |
---|
577 | * libglade-convert.in (usage): update usage message to fix bug |
---|
578 | #66371 |
---|
579 | |
---|
580 | * glade/glade-gtk.c (set_has_default): function to handle |
---|
581 | "has_default" property. |
---|
582 | (set_has_focus): same for "has_focus". |
---|
583 | (_glade_init_gtk_widgets): register these custom prop handlers. |
---|
584 | |
---|
585 | * libglade-convert.in (parent_table): GtkRadioButton is a |
---|
586 | GtkButton. This should make sure it gets the use_underline |
---|
587 | property set correctly. |
---|
588 | |
---|
589 | 2002-02-10 Chema Celorio <chema@celorio.com> |
---|
590 | |
---|
591 | * libglade-convert.in (renamed_props): Add |
---|
592 | focus_target->mnemonic_widget for GtkLabel |
---|
593 | |
---|
594 | Sat Feb 9 09:06:56 2002 Jonathan Blandford <jrb@redhat.com> |
---|
595 | |
---|
596 | * libglade-convert.in (new_label): turn on 'use-underline' if |
---|
597 | there's an '_' in the label. |
---|
598 | |
---|
599 | 2002-02-07 jacob berkman <jacob@ximian.com> |
---|
600 | |
---|
601 | * glade/glade-xml.c (glade_xml_relative_file): use |
---|
602 | g_path_get_dirname() |
---|
603 | |
---|
604 | * glade/glade-gtk.c: re-enable deprecated and broken widgets, |
---|
605 | since we need to provide them for porting purposes |
---|
606 | (pixmap_set_filename): use g_object_unref() rather than various |
---|
607 | deprecated calls |
---|
608 | |
---|
609 | * glade/Makefile.am (INCLUDES): add -DFOO_DISABLE_DEPRECATED |
---|
610 | |
---|
611 | 2002-02-07 James Henstridge <james@daa.com.au> |
---|
612 | |
---|
613 | * configure.in: increment version number. |
---|
614 | |
---|
615 | 2002-02-06 James Henstridge <james@daa.com.au> |
---|
616 | |
---|
617 | * doc/libglade-docs.sgml: some documentation updates (not quite |
---|
618 | finished, but the tutorial/notes section at the start should be |
---|
619 | more useful now). |
---|
620 | |
---|
621 | 2002-02-05 James Henstridge <james@daa.com.au> |
---|
622 | |
---|
623 | * glade/glade-xml.c (glade_xml_init): radio_groups doesn't exist |
---|
624 | anymore. |
---|
625 | (glade_xml_finalize): same here. |
---|
626 | |
---|
627 | * glade/glade-private.h: get rid of radio_groups hash table, as we |
---|
628 | don't maintain a separate namespace for radio groups anymore. |
---|
629 | |
---|
630 | * glade/glade-xml.c (glade_xml_init): s/accel_groups/accel_group/ |
---|
631 | (glade_xml_set_toplevel): just unref priv->accel_group. |
---|
632 | (glade_xml_push_accel, glade_xml_pop_accel): remove. |
---|
633 | (glade_xml_ensure_accel): changes to get rid of accel group stack. |
---|
634 | (glade_xml_finalize): same here. |
---|
635 | |
---|
636 | * glade/glade-build.h (glade_xml_push_accel, glade_xml_pop_accel): |
---|
637 | remove these obsolete unused semi-public functions (not really |
---|
638 | part of the API). |
---|
639 | |
---|
640 | * glade/glade-private.h: only store a single accel group (the |
---|
641 | multi level accel group stuff is no longer needed due to the |
---|
642 | mnemonic code in gtk). |
---|
643 | |
---|
644 | * glade/glade-xml.c (glade_create_custom): make this function |
---|
645 | static. |
---|
646 | |
---|
647 | * examples/simple.glade: make the cancel button in the dialog a |
---|
648 | stock button, for testing purposes. |
---|
649 | |
---|
650 | * glade/glade-parser.c (glade_parser_start_element): add a debug |
---|
651 | message for start of element. |
---|
652 | (glade_parser_end_element): same for end of element |
---|
653 | |
---|
654 | * autogen.sh (have_automake): always pass --enable-debug in the |
---|
655 | autogen script, as this won't cause massive debugging spew by |
---|
656 | default anymore. |
---|
657 | |
---|
658 | * glade/glade-xml.c: convert uses of debug() macro with |
---|
659 | GLADE_NOTE(BUILD, ...). |
---|
660 | |
---|
661 | * configure.in (AH_BOTTOM): don't bother defining debug() macro |
---|
662 | here -- now handled by GLADE_NOTE environment variable. |
---|
663 | |
---|
664 | * glade/glade-private.h: add code to define GLADE_NOTE() macro for |
---|
665 | conditional debugging spew (like GTK_NOTE). |
---|
666 | |
---|
667 | * glade/glade-init.c (glade_init): add code to parse a |
---|
668 | LIBGLADE_DEBUG environment variable, similar to the GTK_DEBUG env |
---|
669 | var. |
---|
670 | |
---|
671 | 2002-01-31 James Henstridge <james@daa.com.au> |
---|
672 | |
---|
673 | * configure.in (CFLAGS): change to set -std=c9x rather than -ansi. |
---|
674 | (AC_INIT): increment version number. |
---|
675 | (PKG_CHECK_MODULES): and of its dependencies. |
---|
676 | |
---|
677 | * glade/glade-gtk.c (menu_item_set_label): use set_text() instead |
---|
678 | (menu_item_set_use_stock): only set the stock icon if the value is |
---|
679 | true, and use gtk_label_set_text() to set the stock label text. |
---|
680 | |
---|
681 | * libglade-convert.in (stock_menu_translate): new function for |
---|
682 | translating stock menu item names to new names. |
---|
683 | (fixup_as_type): translate menu items correctly. |
---|
684 | (WidgetDef.dump): don't mark labels as translatable if use_stock |
---|
685 | is set. |
---|
686 | |
---|
687 | 2002-01-30 James Henstridge <james@daa.com.au> |
---|
688 | |
---|
689 | * libglade-convert.in (fixup_as_type): make menu items use the |
---|
690 | label, use_underline and use_stock custom props, rather than |
---|
691 | putting a label widget inside. This reduces glade file complexity |
---|
692 | a bit. |
---|
693 | |
---|
694 | * glade/glade-gtk.c (menu_item_set_label): create an accel label |
---|
695 | in the menu item, so that accels display correctly. |
---|
696 | (menu_item_set_use_underline): same here. |
---|
697 | (menu_item_set_use_stock): new routine for turning a menu item |
---|
698 | into a stock item. |
---|
699 | (build_image_menu_item): remove this one in favour of the |
---|
700 | "use_stock" property. |
---|
701 | |
---|
702 | 2002-01-30 Zbigniew Chyla <cyba@gnome.pl> |
---|
703 | |
---|
704 | * glade/glade-parser.c (glade_parser_end_element): Try to translate |
---|
705 | only non-empty strings. For empty strings gettext returns .po file |
---|
706 | properties (huge multiline string). |
---|
707 | |
---|
708 | 2002-01-29 Damon Chaplin <damon@ximian.com> |
---|
709 | |
---|
710 | * glade/glade-gtk.c (menu_item_set_label): |
---|
711 | (menu_item_set_use_underline): new custom property handlers. |
---|
712 | (build_image_menu_item): new custom build function. |
---|
713 | (toolbar_build_children): updated to handle "use_stock" and |
---|
714 | "use_underline". I'm not entirely sure what you are supposed to do/not |
---|
715 | do in custom build functions, so this needs checking. |
---|
716 | (image_menu_find_internal_child): create a GtkImage child rather than |
---|
717 | a placeholder. The "image" child is a bit of a hack since it isn't |
---|
718 | really created by the GtkImageMenuItem. |
---|
719 | |
---|
720 | NOTE: the properties of the "image" child are not being set at present, |
---|
721 | so that needs fixing, and I'm not sure where that is supposed to |
---|
722 | happen. |
---|
723 | |
---|
724 | 2002-01-29 James Henstridge <james@daa.com.au> |
---|
725 | |
---|
726 | * glade/glade-parser.c (glade_parser_parse_file): if the parser |
---|
727 | didn't finish in the correct state, the XML file was invalid, so |
---|
728 | return NULL. |
---|
729 | (glade_parser_parse_buffer): same here. |
---|
730 | |
---|
731 | * configure.in: add long prominant warning message if |
---|
732 | libglade-convert wasn't built. |
---|
733 | |
---|
734 | * glade-2.0.dtd: change the child element list for <child> |
---|
735 | elements to allow <placeholder> in place of <widget>. |
---|
736 | |
---|
737 | * glade/glade-xml.c (glade_xml_build_widget): get rid of the code |
---|
738 | checking for a class name of Placeholder. libglade-convert will |
---|
739 | no longer pass them through. |
---|
740 | |
---|
741 | * libglade-convert.in (WidgetDef.ChildDef.dump): if the widget has |
---|
742 | class <Placeholder>, then write out a <placeholder/> element |
---|
743 | rather than a <widget> element. |
---|
744 | |
---|
745 | * examples/first.glade: add a placeholder to example file. |
---|
746 | |
---|
747 | * glade/glade-parser.c: add two new states to do with |
---|
748 | <placeholder/> elements. |
---|
749 | (glade_parser_start_element): handle <placeholder> elements in the |
---|
750 | PARSER_WIDGET_CHILD state. |
---|
751 | (glade_parser_start_element): ignore elements after the |
---|
752 | <placeholder> element (PARSER_WIDGET_CHILD_AFTER_PLACEHOLDER |
---|
753 | state). |
---|
754 | (glade_parser_end_element): add logic for handling the new |
---|
755 | placeholder related states. |
---|
756 | |
---|
757 | * glade/glade-xml.c (glade_xml_get_toplevel_names): remove |
---|
758 | function from API. It isn't used anywhere according to LXR (I |
---|
759 | just removed the only bit of code that was using it) |
---|
760 | (connect_data_connect_func): remove use of deprecated signal |
---|
761 | connection functions. |
---|
762 | (glade_xml_signal_connect_data): change argument from |
---|
763 | GtkSignalFunc to GCallback (the two are defined identically). |
---|
764 | (glade_xml_signal_connect): use non deprecated signal functions. |
---|
765 | (autoconnect_foreach): use non deprecated signal functions. |
---|
766 | (glade_xml_init): ref the tooltips with g_object_ref. |
---|
767 | (glade_xml_set_toplevel): ref tooltips with g_object_ref, and use |
---|
768 | g_object_unref as a destroy notify. |
---|
769 | (glade_xml_finalize): release the tooltips with g_object_unref. |
---|
770 | |
---|
771 | * libglade-convert.in (hide_toplevel): remove function that sets |
---|
772 | all toplevels to invisible. |
---|
773 | (handle_file): don't hide toplevels. |
---|
774 | |
---|
775 | * test-libglade.c (main): get rid of the broken code that |
---|
776 | unconditionally shows the toplevels. The glade file should |
---|
777 | already contain the required information. |
---|
778 | |
---|
779 | * glade/glade-gtk.c (set_visible): handle the "visible" property |
---|
780 | as a custom prop, setting object data if the widget is to be shown |
---|
781 | (it gets shown after all its children are processed in |
---|
782 | set_common_params). |
---|
783 | |
---|
784 | * glade/glade-xml.c (glade_xml_set_common_params): if the |
---|
785 | "Libglade::visible" object data has been set non NULL on a widget, |
---|
786 | call gtk_widget_show() on it. |
---|
787 | |
---|
788 | 2002-01-28 James Henstridge <james@daa.com.au> |
---|
789 | |
---|
790 | * glade/glade-xml.c (glade_xml_set_common_params): delete the |
---|
791 | tooltip stuff, as it is handled as a custom property now. |
---|
792 | |
---|
793 | 2002-01-16 jacob berkman <jacob@ximian.com> |
---|
794 | |
---|
795 | * libglade-convert.in (upgrade_widget): make GtkTextView wrap |
---|
796 | words by default |
---|
797 | (renamed_props): add some more properties for gnome-font-picker to |
---|
798 | convert |
---|
799 | |
---|
800 | 2002-01-14 Damon Chaplin <damon@ximian.com> |
---|
801 | |
---|
802 | * glade/glade-parser.c (handle_signal): ignore last_modification_time. |
---|
803 | |
---|
804 | * glade-2.0.dtd: added last_modification_time attribute for signals, |
---|
805 | which Glade uses but libglade ignores. |
---|
806 | |
---|
807 | 2002-01-14 Damon Chaplin <damon@ximian.com> |
---|
808 | |
---|
809 | * glade/glade-gtk.c (statusbar_set_has_resize_grip): |
---|
810 | (ruler_set_metric): added 2 custom property handlers. |
---|
811 | |
---|
812 | 2001-12-24 James Henstridge <james@daa.com.au> |
---|
813 | |
---|
814 | * configure.in: don't call GNOME_COMMON_INIT. This gets rid of |
---|
815 | the dependency on the gnome-common package. |
---|
816 | |
---|
817 | * autogen.sh: use gtk+'s autogen script rather than the |
---|
818 | gnome-common based one. |
---|
819 | |
---|
820 | 2001-12-12 jacob berkman <jacob@ximian.com> |
---|
821 | |
---|
822 | * glade/glade-gtk.c (option_menu_build_children): set the history |
---|
823 | property here, since it only works after setting the menu on the |
---|
824 | option menu |
---|
825 | |
---|
826 | 2001-12-12 James Henstridge <james@daa.com.au> |
---|
827 | |
---|
828 | * configure.in: increment libtool version number. |
---|
829 | |
---|
830 | * libglade-2.0.pc.in (moduledir): uncomment this again, as |
---|
831 | commenting it out breaks some packages. |
---|
832 | |
---|
833 | * glade/glade-xml.c (glade_xml_get_toplevel): remove function. |
---|
834 | |
---|
835 | * glade/glade-build.h (glade_xml_get_toplevel): remove |
---|
836 | get_toplevel API. |
---|
837 | |
---|
838 | * libglade-convert.in (fixup_as_type): small fix for GtkLayout -- |
---|
839 | it crashes if you set the width/height before the adjustments :( |
---|
840 | |
---|
841 | * tests/Makefile.am: only run the checks if we have python support. |
---|
842 | |
---|
843 | * Makefile.am (bin_SCRIPTS): surround by HAVE_PYTHON conditional. |
---|
844 | |
---|
845 | * configure.in (try): add a HAVE_PYTHON conditional. |
---|
846 | |
---|
847 | 2001-12-10 jacob berkman <jacob@ximian.com> |
---|
848 | |
---|
849 | * libglade-convert.in (fixup_as_type): always add a menu to |
---|
850 | GtkOptionMenu, even if there are no items to add. |
---|
851 | |
---|
852 | * glade/glade-gtk.c: use some macros for getting the value from a |
---|
853 | string. allow more values for boolean true |
---|
854 | |
---|
855 | * glade/glade-xml.c (glade_xml_set_value_from_string): allow true, |
---|
856 | yes, or nonzero int to represent 'TRUE' |
---|
857 | |
---|
858 | 2001-12-07 Kristian Rietveld <kris@gtk.org> |
---|
859 | |
---|
860 | * libglade-convert.in (stock_icon_translate): fixed a small typo, |
---|
861 | s/lowere/lower/ |
---|
862 | |
---|
863 | 2001-12-07 jacob berkman <jacob@ximian.com> |
---|
864 | |
---|
865 | * libglade-convert.in (renamed_props): added some for Gnome*Entry |
---|
866 | |
---|
867 | 2001-12-06 jacob berkman <jacob@ximian.com> |
---|
868 | |
---|
869 | * glade/glade-xml.c (glade_xml_set_common_params): fix tyop |
---|
870 | |
---|
871 | * libglade-convert.in: support GnomeFontPicker |
---|
872 | |
---|
873 | * glade/glade-xml.c (glade_xml_set_common_params): print a warning |
---|
874 | if a widget has children but is not a container |
---|
875 | (glade_xml_set_toplevel): don't set the tooltips if the window is |
---|
876 | NULL |
---|
877 | (glade_xml_get_toplevel): return the current toplevel window |
---|
878 | (glade_xml_build_interface): don't do the grab focus stuff here... |
---|
879 | (glade_xml_build_widget): ...move it to here. if we just created |
---|
880 | a GtkWindow, set ourselves as the toplevel, build our child |
---|
881 | widgets, then unset the toplevel |
---|
882 | (glade_xml_set_packing_property): make public |
---|
883 | |
---|
884 | * glade/glade-gtk.c (build_window): removed, as |
---|
885 | glade_xml_build_widget() handles this for us |
---|
886 | (image_menu_find_internal_child): if there is already an image, |
---|
887 | return that rather than creating a blank one |
---|
888 | (_glade_init_gtk_widgets): s/build_window/NULL/ |
---|
889 | |
---|
890 | * libglade-convert.in: intense libgnomeui support fixage |
---|
891 | |
---|
892 | 2001-11-28 Peter Williams <peterw@ximian.com> |
---|
893 | |
---|
894 | * tests/Makefile.am (test-libglade-gtk-noupgrade.glade2): libglade-convert |
---|
895 | lives in top_builddir, not top_srcdir. |
---|
896 | (test-libglade-gtk.glade2): Same. |
---|
897 | |
---|
898 | 2001-11-28 jacob berkman <jacob@ximian.com> |
---|
899 | |
---|
900 | * libglade-convert.in: add a --verbose flag which can print out |
---|
901 | what it's doing, making debugging easier |
---|
902 | |
---|
903 | 2001-11-28 James Henstridge <james@daa.com.au> |
---|
904 | |
---|
905 | * configure.in (try): fix up xml.parsers.expat check. |
---|
906 | |
---|
907 | 2001-11-27 jacob berkman <jacob@ximian.com> |
---|
908 | |
---|
909 | * tests/test-libglade-gtk-noupgrade.c: |
---|
910 | * tests/test-libglade-gtk.c (test_create): test custom widgets |
---|
911 | (main): make warnings fatal, and add an env var to show the |
---|
912 | toplevel window too |
---|
913 | |
---|
914 | * glade/glade-gtk.c (pixmap_set_build_insensitive): |
---|
915 | (pixmap_set_filename): |
---|
916 | (progress_set_format): |
---|
917 | (option_menu_set_history): |
---|
918 | (text_view_set_text): |
---|
919 | (calendar_set_display_options): |
---|
920 | (clist_set_column_widths): |
---|
921 | (clist_set_selection_mode): |
---|
922 | (clist_set_shadow_type): |
---|
923 | (clist_set_show_titles): |
---|
924 | (tree_set_selection_mode): |
---|
925 | (tree_set_view_mode): |
---|
926 | (tree_set_view_line): |
---|
927 | (list_set_selection_mode): |
---|
928 | (check_menu_item_set_always_show_toggle): |
---|
929 | (text_set_text): |
---|
930 | (radio_menu_item_set_group): |
---|
931 | (toolbar_set_tooltips): add support for missing properties |
---|
932 | (build_progress): |
---|
933 | (build_option_menu): |
---|
934 | (build_text_view): |
---|
935 | (build_clist): remove unnecessary functions |
---|
936 | (build_preview): this widget is really broken |
---|
937 | (toolbar_build_children): make toolbars work |
---|
938 | (paned_build_children): ported from glade 1 |
---|
939 | (_glade_init_gtk_widgets): reflect changes above |
---|
940 | |
---|
941 | * glade/glade-xml.c (glade_flags_from_string): don't increment i |
---|
942 | twice some times (this is a nasty bug) |
---|
943 | (custom_new): port from glade 1 |
---|
944 | (glade_xml_build_widget): enable custom widget support |
---|
945 | |
---|
946 | * libglade-convert.in: fix up tons of deprecated / renamed / |
---|
947 | removed properties; fix toolbar, calendar, dialog support |
---|
948 | |
---|
949 | 2001-11-27 James Henstridge <james@daa.com.au> |
---|
950 | |
---|
951 | * glade/glade-parser.c (glade_parser_parse_file): revert |
---|
952 | Gediminas's unaproved patch. It is not libglade's place to make |
---|
953 | these sort of gettext calls -- the app is responsible for setting |
---|
954 | up the gettext text domain. |
---|
955 | (glade_parser_parse_buffer): same here. |
---|
956 | |
---|
957 | 2001-11-27 Gediminas Paulauskas <menesis@delfi.lt> |
---|
958 | |
---|
959 | * glade/glade-parser.c: retrieve translated messages with UTF-8 |
---|
960 | codeset. |
---|
961 | |
---|
962 | 2001-11-26 James Henstridge <james@daa.com.au> |
---|
963 | |
---|
964 | * tests/Makefile.am (test-libglade-gtk.glade2): libglade-convert |
---|
965 | is now in $(top_builddir), as it is a generated file. |
---|
966 | (test-libglade-gtk-noupgrade.glade2): same here. |
---|
967 | (distclean-local): add rule to remove files created by tests. |
---|
968 | |
---|
969 | * configure.in: update version number and version requirements. |
---|
970 | |
---|
971 | 2001-11-23 James Henstridge <james@daa.com.au> |
---|
972 | |
---|
973 | * glade/glade-xml.c (get_custom_prop_info): don't dereference |
---|
974 | prop_info if it is NULL. |
---|
975 | (glade_xml_init): ref/sink the tooltips object, so we don't get |
---|
976 | the "unrefing floating object message". |
---|
977 | |
---|
978 | * glade/glade-gtk.c (set_tooltip): function to set a tooltip on a |
---|
979 | widget. |
---|
980 | (_glade_init_gtk_widgets): register set_tooltip as a custom |
---|
981 | property handler for "tooltip" on GtkWidgets. |
---|
982 | |
---|
983 | * glade/glade-xml.c (glade_xml_add_atk_relations): change to match |
---|
984 | ATK API change. |
---|
985 | (glade_xml_add_atk_actions): don't warn when the action name can't |
---|
986 | be found, as it may only get registered when libgail is loaded. |
---|
987 | |
---|
988 | 2001-11-22 James Henstridge <james@daa.com.au> |
---|
989 | |
---|
990 | * glade/glade-xml.c (glade_register_custom_prop): new function to |
---|
991 | register a custom handler for a particular property. |
---|
992 | (get_custom_prop_info): function to all the custom property |
---|
993 | handlers for a particular type (it checks parents for properties |
---|
994 | and caches the results). |
---|
995 | |
---|
996 | 2001-11-21 James Henstridge <james@daa.com.au> |
---|
997 | |
---|
998 | * Makefile.am (EXTRA_DIST): dist libglade-convert.in rather than |
---|
999 | libglade-convert. |
---|
1000 | |
---|
1001 | * tests/Makefile.am (test-libglade-gtk.glade2): use $(PYTHON) |
---|
1002 | rather than a hard coded executable name. |
---|
1003 | |
---|
1004 | * libglade-convert.in: rename from libglade-convert, and use |
---|
1005 | @PYTHON@ substitution. |
---|
1006 | |
---|
1007 | * configure.in: add check to find a python executable that |
---|
1008 | satisfies "version >= 2.0" and "xml.parsers.expat is importable" |
---|
1009 | |
---|
1010 | 2001-11-18 Miles Lane <miles@megapathdsl.net> |
---|
1011 | |
---|
1012 | * tests/test-libglade-gtk-noupgrade.c: |
---|
1013 | tests/test-libglade-gtk.c: replace include of gobject/gobject.h |
---|
1014 | with glib-object.h, due to a change in gobject/gobject.h |
---|
1015 | that forces an #error for all direct includes. |
---|
1016 | This checkin was approved by Havoc. |
---|
1017 | |
---|
1018 | 2001-11-12 jacob berkman <jacob@ximian.com> |
---|
1019 | |
---|
1020 | * glade/glade-parser.c (glade_parser_parse_file): |
---|
1021 | (glade_parser_parse_buffer): destroy the interface if it is in |
---|
1022 | fact NULL |
---|
1023 | |
---|
1024 | * glade/glade-xml.c (glade_xml_build_widget): also print out the |
---|
1025 | name of the widget when debugging is on |
---|
1026 | |
---|
1027 | * glade/glade-parser.c (glade_parser_parse_file): |
---|
1028 | (glade_parser_parse_buffer): do not destroy the interface if the |
---|
1029 | parsing didn't work, as it would have been NULL |
---|
1030 | |
---|
1031 | * tests/test-libglade-gtk-noupgrade.c: |
---|
1032 | * tests/test-libglade-gtk.c: simple regression tests for |
---|
1033 | libglade-convert and libglade in general |
---|
1034 | |
---|
1035 | * acconfig.h: undef DEBUG since it doesn't work without this (even |
---|
1036 | though i read that it should) |
---|
1037 | |
---|
1038 | * configure.in: don't add a comment do the non-DEBUG case of debug |
---|
1039 | |
---|
1040 | * Makefile.am (SUBDIRS): add tests |
---|
1041 | |
---|
1042 | * libglade-convert: fix --no-upgrade; handle GtkCTree in the same |
---|
1043 | manner as GtkCList; handle GtkList in the same manner as GtkTree |
---|
1044 | |
---|
1045 | 2001-11-07 jacob berkman <jacob@ximian.com> |
---|
1046 | |
---|
1047 | * libglade-convert: convert GtkCTree, GtkCList to GtkTreeView and |
---|
1048 | GtkText to GtkTextView. also fix some deprecated things and set |
---|
1049 | up the GtkProgress adjustment correctly |
---|
1050 | |
---|
1051 | * glade/glade-gtk.c (build_progress): handle the format property |
---|
1052 | (build_option_menu): handle the history property |
---|
1053 | (build_text_view): handle the text property |
---|
1054 | (build_clist): simplify by using glade_standard_build_widget |
---|
1055 | |
---|
1056 | * glade/Makefile.am: define GLADE_LIBDIR |
---|
1057 | |
---|
1058 | * libglade-2.0.pc.in (includedir): remove moduledir as it is |
---|
1059 | broken |
---|
1060 | |
---|
1061 | * glade/glade-init.c (get_module_path): |
---|
1062 | (find_module): stolen from gtk |
---|
1063 | (glade_require): search a path for modules, rather than requiring |
---|
1064 | them to be in our prefix |
---|
1065 | |
---|
1066 | 2001-11-05 jacob berkman <jacob@ximian.com> |
---|
1067 | |
---|
1068 | * glade/glade-gtk.c (clist_new): free the correct list |
---|
1069 | |
---|
1070 | 2001-10-31 James Henstridge <james@daa.com.au> |
---|
1071 | |
---|
1072 | * doc/Makefile.am: remove update-libglade crack, as it breaks the |
---|
1073 | distcheck. |
---|
1074 | |
---|
1075 | * test-libglade.c (main): don't call glade_init(). |
---|
1076 | |
---|
1077 | * glade/glade-xml.c (glade_xml_class_init): call glade_init() here |
---|
1078 | as well. |
---|
1079 | |
---|
1080 | * glade/glade-init.c (glade_require): call glade_init() here, to |
---|
1081 | make sure libglade is initialised. |
---|
1082 | |
---|
1083 | 2001-10-29 jacob berkman <jacob@ximian.com> |
---|
1084 | |
---|
1085 | * configure.in: set GETTEXT_PACKAGE |
---|
1086 | |
---|
1087 | * acconfig.h: add GETTEXT_PACKAGE |
---|
1088 | |
---|
1089 | 2001-10-27 jacob berkman <jacob@ximian.com> |
---|
1090 | |
---|
1091 | * configure.in: |
---|
1092 | * glade/Makefile.am: |
---|
1093 | * doc/Makefile.am: |
---|
1094 | * Makefile.am: replace GTK_LIBS/CFLAGS and XML_LIBS/CFLAGS with |
---|
1095 | LIBGLADE_LIBS/CFLAGS, and make the libglade check include gtk |
---|
1096 | |
---|
1097 | 2001-10-26 Havoc Pennington <hp@redhat.com> |
---|
1098 | |
---|
1099 | * Makefile.am: remove undefined variables |
---|
1100 | (bin_SCRIPTS): |
---|
1101 | |
---|
1102 | * glade/Makefile.am (INCLUDES): remove undefined variables |
---|
1103 | |
---|
1104 | 2001-10-26 Michael Meeks <michael@ximian.com> |
---|
1105 | |
---|
1106 | * glade/glade-gtk.c (clist_new): fix warning. |
---|
1107 | (_glade_init_gtk_widgets): glade_standard_build_widget |
---|
1108 | for GTK_TYPE_TEXT, not build_children, use build_button |
---|
1109 | for GTK_TYPE_BUTTON, use scrolled_window_find_internal_child |
---|
1110 | for GTK_TYPE_SCROLLED_WINDOW - kills all the warnings. |
---|
1111 | |
---|
1112 | 2001-10-24 jacob berkman <jacob@ximian.com> |
---|
1113 | |
---|
1114 | * glade/glade-gnome.c: |
---|
1115 | * glade/glade-bonobo.c: |
---|
1116 | * glade/glade-canvas.c: moved to libgnomeui, libbonoboui, |
---|
1117 | libgnomecanvas |
---|
1118 | |
---|
1119 | 2001-10-24 James Henstridge <james@daa.com.au> |
---|
1120 | |
---|
1121 | * glade/glade-gtk.c (_glade_init_gtk_widgets): same here. |
---|
1122 | |
---|
1123 | * glade/glade-gnome.c (glade_module_register_widgets): same here. |
---|
1124 | |
---|
1125 | * glade/glade-bonobo.c (glade_module_register_widgets): use |
---|
1126 | glade_register_widget. |
---|
1127 | |
---|
1128 | * glade/glade-xml.c (glade_register_widget): change from |
---|
1129 | glade_register_widgets to a function for handling a single type. |
---|
1130 | Instead of storing build data in a hash table keyed on the name, |
---|
1131 | store as data on the GType (g_type_from_name can be used to do the |
---|
1132 | name lookup). |
---|
1133 | (get_build_data): function for getting the build data for a type. |
---|
1134 | If no build data has been registered, return a standard handler. |
---|
1135 | This will allow libglade to handle arbitrary types. |
---|
1136 | (glade_xml_build_widget): use get_build_data to lookup the new() |
---|
1137 | function. |
---|
1138 | (glade_xml_handle_internal_child): use get_build_data(). |
---|
1139 | (glade_xml_set_common_params): use get_build_data(). |
---|
1140 | |
---|
1141 | 2001-10-24 jacob berkman <jacob@ximian.com> |
---|
1142 | |
---|
1143 | * glade/glade-init.c (glade_require): use g_module_build_path() |
---|
1144 | |
---|
1145 | * glade/Makefile.am: remove bonobo, gnome, canvas modules as they |
---|
1146 | are moving to their respective modules |
---|
1147 | |
---|
1148 | * configure.in: remove bonobo, gnome, canvas checks, bump version |
---|
1149 | to 1.99.3 |
---|
1150 | |
---|
1151 | * glade/Makefile.am: build canvas module |
---|
1152 | |
---|
1153 | * glade/glade-gtk.c (clist_new): create a clist |
---|
1154 | (clist_build_children): build title widgets |
---|
1155 | (widget_data): add GtkText, and fix CList and CTree to use new |
---|
1156 | functions |
---|
1157 | |
---|
1158 | * glade/glade-gnome.c (entry_find_internal_child): |
---|
1159 | (file_entry_find_internal_chid): accessors for the GtkEntry child |
---|
1160 | |
---|
1161 | * glade/glade-canvas.c: canvas support (probably will be moved to |
---|
1162 | libgnomecanvas shortly) |
---|
1163 | |
---|
1164 | * libglade-convert: better stock pixmap migration migration; |
---|
1165 | canvas, clist, file entry, gtktext support |
---|
1166 | |
---|
1167 | * doc/Makefile.am: fix for disting from clean checkout |
---|
1168 | |
---|
1169 | * acconfig.h: |
---|
1170 | * configure.in: fix a typo in the gnome section, and detect the |
---|
1171 | canvas |
---|
1172 | |
---|
1173 | 2001-10-23 Michael Meeks <michael@ximian.com> |
---|
1174 | |
---|
1175 | * libglade-convert (fixup_as_type): fixup radio button |
---|
1176 | groups so they point to the root id, and not a global |
---|
1177 | pseudo group name. |
---|
1178 | |
---|
1179 | 2001-10-20 jacob berkman <jacob@ximian.com> |
---|
1180 | |
---|
1181 | * libglade-convert (fixup_as_type): fix some typos |
---|
1182 | |
---|
1183 | Fri Oct 19 15:14:03 2001 Jonathan Blandford <jrb@redhat.com> |
---|
1184 | |
---|
1185 | * glade-2.0.dtd: Make valid xml. |
---|
1186 | |
---|
1187 | 2001-10-20 Michael Meeks <michael@ximian.com> |
---|
1188 | |
---|
1189 | * glade/glade-bonobo.c: add BonoboWindow. |
---|
1190 | |
---|
1191 | * libglade-convert (fixup_as_type): set use_underline on |
---|
1192 | label's containing '_'s. on GtkLabel & GtkButtons |
---|
1193 | (parent_table): update inheritance table. |
---|
1194 | (renamed_props): default_focus_target -> mnemnonic_widget. |
---|
1195 | |
---|
1196 | 2001-10-20 Michael Meeks <michael@ximian.com> |
---|
1197 | |
---|
1198 | * libglade-convert (stock_button_translate): impl. |
---|
1199 | |
---|
1200 | * glade/glade-xml.c (glade_xml_build_widget): calm |
---|
1201 | placeholder warnings. |
---|
1202 | |
---|
1203 | * libglade-convert (fixup_as_type): map stock_icon on |
---|
1204 | GtkImageMenuItems, deal with GtkButtons with stock stuff |
---|
1205 | properly. Map GnomeDialog's to GtkDialogs - makes most |
---|
1206 | sense it seems. |
---|
1207 | |
---|
1208 | * glade/glade-gnome.c: add GnomeDialog |
---|
1209 | |
---|
1210 | * glade/glade-gtk.c (placeholder_create): impl. |
---|
1211 | (image_menu_find_internal_child): impl. |
---|
1212 | (menuitem_build_children): deal with internal children. |
---|
1213 | |
---|
1214 | 2001-10-18 Michael Meeks <michael@ximian.com> |
---|
1215 | |
---|
1216 | * libglade-convert (fixup_as_type): deal with a scrolled |
---|
1217 | window's policies. (handle_file): upgrade widgets, then |
---|
1218 | fix them up. |
---|
1219 | (fixup_as_type): start to make the image menu item work, |
---|
1220 | called away home. |
---|
1221 | |
---|
1222 | * glade/glade-gtk.c (scrolled_window_find_internal_child): |
---|
1223 | pass out the scrollbars. |
---|
1224 | |
---|
1225 | * libglade-convert (fixup_as_type): don't allow empty |
---|
1226 | labels. |
---|
1227 | |
---|
1228 | 2001-10-18 Michael Meeks <michael@ximian.com> |
---|
1229 | |
---|
1230 | * glade/glade-gtk.c (option_menu_build_children): kill. |
---|
1231 | (option_menu_find_internal_child): impl. |
---|
1232 | (build_button): fix strtol bug, add strol prototype in |
---|
1233 | stdlib.h & simplify. |
---|
1234 | |
---|
1235 | * libglade-convert (WidgetDef.__init__): use the |
---|
1236 | internal_child flag. |
---|
1237 | |
---|
1238 | 2001-10-12 Michael Meeks <michael@ximian.com> |
---|
1239 | |
---|
1240 | * libglade-convert: allow_empty instead of enable_empty |
---|
1241 | |
---|
1242 | 2001-10-10 Michael Meeks <michael@ximian.com> |
---|
1243 | |
---|
1244 | * glade/glade-gtk.c (widget_data): use |
---|
1245 | menuitem_build_children for GtkOptionMenu |
---|
1246 | |
---|
1247 | * libglade-convert (new_label): split out creation |
---|
1248 | (fixup_as_type): deal to some extent with |
---|
1249 | GtkOptionMenus & their sub-labels. |
---|
1250 | |
---|
1251 | Thu Oct 18 01:21:27 2001 Jonathan Blandford <jrb@redhat.com> |
---|
1252 | |
---|
1253 | * glade/glade-gtk.c (option_menu_build_children): Handle |
---|
1254 | GtkOptionMenu. |
---|
1255 | |
---|
1256 | Wed Oct 17 02:15:10 2001 Jonathan Blandford <jrb@redhat.com> |
---|
1257 | |
---|
1258 | * glade/glade-gtk.c (gtk_dialog_build_children): Handle dialog |
---|
1259 | buttons better. |
---|
1260 | (build_button): ditto |
---|
1261 | |
---|
1262 | 2001-10-11 James Henstridge <james@daa.com.au> |
---|
1263 | |
---|
1264 | * glade/glade-xml.c (glade_xml_handle_widget_prop): use new |
---|
1265 | naming. |
---|
1266 | (glade_xml_set_common_params): handle changes to struct. |
---|
1267 | (glade_xml_add_atk_relations): add an entry to |
---|
1268 | self->priv->deferred_props for forward reference relations. |
---|
1269 | (glade_xml_set_common_params): handle deferred relations here. |
---|
1270 | |
---|
1271 | * glade/glade-private.h: expand struct to handle more than just |
---|
1272 | object properties (also do deferred relations). |
---|
1273 | |
---|
1274 | 2001-10-10 Michael Meeks <michael@ximian.com> |
---|
1275 | |
---|
1276 | * libglade-convert (handle_file): hide toplevel |
---|
1277 | windows. (hide_toplevel): impl. |
---|
1278 | (fixup_as_type): ensure that x/y_options are always |
---|
1279 | set to clobber obscure gtk+ defaults. |
---|
1280 | |
---|
1281 | * test-libglade.c (main): show all the top levels. |
---|
1282 | |
---|
1283 | * glade/glade-xml.c (glade_xml_init, glade_xml_finalize), |
---|
1284 | (glade_xml_set_toplevel): track the toplevel's names |
---|
1285 | (glade_xml_get_toplevel_names): impl. |
---|
1286 | |
---|
1287 | * glade/glade-gtk.c (window_new): pass info to |
---|
1288 | set_toplevel. |
---|
1289 | |
---|
1290 | 2001-10-10 Michael Meeks <michael@ximian.com> |
---|
1291 | |
---|
1292 | * glade/glade-gtk.c (notebook_build_children): remove |
---|
1293 | packing property assignments. |
---|
1294 | |
---|
1295 | * glade/glade-xml.c (glade_xml_set_packing_property): |
---|
1296 | privatize. |
---|
1297 | |
---|
1298 | * libglade-convert (fixup_as_type): re-write. |
---|
1299 | (WidgetDef.append_prop): kill. |
---|
1300 | |
---|
1301 | 2001-10-10 Michael Meeks <michael@ximian.com> |
---|
1302 | |
---|
1303 | * test-libglade.c (main): re-do the init so we |
---|
1304 | don't get gnome-program moanings. |
---|
1305 | |
---|
1306 | * Makefile.am: upd. |
---|
1307 | |
---|
1308 | * configure.in: define WITH_GNOME, WITH_BONOBO |
---|
1309 | |
---|
1310 | * acconfig.h: cover them. |
---|
1311 | |
---|
1312 | * test-libglade.c: use the new defines. |
---|
1313 | |
---|
1314 | * libglade-convert: GtkSpinButton, GtkCombo, |
---|
1315 | GnomeFileEntry updates, |
---|
1316 | (fixup_as_type): recurse for GnomePropertyBox |
---|
1317 | missing GtkDialog. |
---|
1318 | |
---|
1319 | * glade/glade-gtk.c (notebook_build_children): |
---|
1320 | don't set 'type' properties on things. |
---|
1321 | |
---|
1322 | * glade/glade-gtk.c (notebook_build_children): |
---|
1323 | prune warning. |
---|
1324 | |
---|
1325 | 2001-10-10 Michael Meeks <michael@ximian.com> |
---|
1326 | |
---|
1327 | * glade/glade-xml.c (glade_flags_from_string): |
---|
1328 | re-write, bug fix. |
---|
1329 | |
---|
1330 | * test-libglade.c (run_tests): expand. |
---|
1331 | |
---|
1332 | 2001-10-10 Michael Meeks <michael@ximian.com> |
---|
1333 | |
---|
1334 | * Makefile.am: hook up tests, set dodgy env. var |
---|
1335 | to trigger them. |
---|
1336 | |
---|
1337 | * test-libglade.c: run tests on env. or --run-tests |
---|
1338 | |
---|
1339 | 2001-10-09 Michael Meeks <michael@ximian.com> |
---|
1340 | |
---|
1341 | * test-libglade.c (run_tests): impl. |
---|
1342 | |
---|
1343 | * libglade-convert (WidgetDef.append_prop): impl. |
---|
1344 | (fixup_as_type): deal with tab widgets. |
---|
1345 | |
---|
1346 | * glade/glade-gtk.c (notebook_build_children): impl. nasty |
---|
1347 | hacks around curious gtk_notebook API. |
---|
1348 | (widget_data): update to point at notebook. |
---|
1349 | |
---|
1350 | * glade/glade-xml.c: prune scads of warnings. |
---|
1351 | (glade_xml_set_packing_property): split out of |
---|
1352 | (glade_standard_build_children): here. |
---|
1353 | |
---|
1354 | 2001-10-09 Michael Meeks <michael@ximian.com> |
---|
1355 | |
---|
1356 | * libglade-convert (fixup_widget): split out recursion into |
---|
1357 | (fixup_as_type): here. Traverse up a widget hierarchy mapping |
---|
1358 | properties as appropriate, use passed 'type' not |
---|
1359 | widget['class'] |
---|
1360 | (upgrade_widget): move GtkPixmapMenuItem handling here, |
---|
1361 | GnomeFontPicker -> GtkFontSelection |
---|
1362 | (WidgetDef.dump): ignore widgets marked 'obsolete', don't |
---|
1363 | output them. |
---|
1364 | (check_widget): mark removed widgets instead of dying. |
---|
1365 | |
---|
1366 | 2001-10-09 Michael Meeks <michael@ximian.com> |
---|
1367 | |
---|
1368 | * glade/glade-xml.c (glade_standard_build_children): |
---|
1369 | ref counting fix. |
---|
1370 | |
---|
1371 | 2001-09-29 Bill Haneman <bill.haneman@sun.com> |
---|
1372 | |
---|
1373 | * glade-2.0.dtd: fixed a goof in attribute names, |
---|
1374 | atkaction -> target should have been action_name. |
---|
1375 | |
---|
1376 | * configure.in: added check for atk >= 0.6. |
---|
1377 | |
---|
1378 | * examples/simple.glade: |
---|
1379 | Added numerous bits to <accessibility> elements, to |
---|
1380 | demonstrate the use of basic accessibilty properties, |
---|
1381 | atkactions, and atkrelations. |
---|
1382 | |
---|
1383 | * glade/glade-parser.c: |
---|
1384 | Added two new states, PARSER_WIDGET_ATK_ACTION and |
---|
1385 | PARSER_WIDGET_ATK_RELATION. Fixed parser to comform |
---|
1386 | to changes/additions to new DTD. Also now parse |
---|
1387 | atkactions and atkrelations. |
---|
1388 | |
---|
1389 | * glade/glade-xml.c: |
---|
1390 | Added new code and functions to handle accessibility |
---|
1391 | needs: glade_xml_add_atk_relations(), |
---|
1392 | glade_xml_add_atk_actions(), glade_xml_add_accessibility_info(). |
---|
1393 | Only known problem is failure of forward references in |
---|
1394 | atkrelation - a new warning is printed when this occurs. |
---|
1395 | |
---|
1396 | 2001-09-26 Bill Haneman <bill.haneman@sun.com> |
---|
1397 | |
---|
1398 | * glade-2.0.dtd: additions to <accessibility> element |
---|
1399 | definition, to support accessible properties that are themselves |
---|
1400 | accessibles, and to support AtkAction and AtkRelation on |
---|
1401 | UI components. |
---|
1402 | |
---|
1403 | 2001-09-26 James Henstridge <james@daa.com.au> |
---|
1404 | |
---|
1405 | * Makefile.am (SUBDIRS): don't build po directory, as there are no |
---|
1406 | translations to do. |
---|
1407 | |
---|
1408 | * libglade-convert (upgrade_widget): new function to handle |
---|
1409 | upgrading widgets. |
---|
1410 | (main): use the getopt module to parse arguments |
---|
1411 | (check_widget): new function to check for deprecated, broken or |
---|
1412 | removed widgets in the interface. It also finds what libraries |
---|
1413 | are used in the interface. |
---|
1414 | (handle_file): write out requires lines. |
---|
1415 | |
---|
1416 | * Makefile.am (bin_SCRIPTS): remove the libglade-xgettext script. |
---|
1417 | It doesn't work anymore, and its job should be handled by |
---|
1418 | xml-i18n-tools. Incidentally, this should get rid of the last |
---|
1419 | parallel install issue. |
---|
1420 | |
---|
1421 | * glade/glade-xml.c (glade_xml_set_value_from_string): handle |
---|
1422 | GdkPixbuf type properties. String represents filename. |
---|
1423 | |
---|
1424 | * glade/glade-bonobo.c (glade_bonobo_widget_new): same here. |
---|
1425 | |
---|
1426 | * glade/glade-xml.c: remove glade_xml_new_with_domain. |
---|
1427 | (glade_xml_set_value_from_string): add GladeXML argument. |
---|
1428 | (glade_standard_build_widget): add argument to |
---|
1429 | set_value_from_string call. |
---|
1430 | (glade_standard_build_children): same here. |
---|
1431 | |
---|
1432 | * glade/glade-xml.h: more compatibility defines. |
---|
1433 | |
---|
1434 | * glade/glade-init.h (glade_bonobo_init): surround these |
---|
1435 | compatibility defines with LIBGLADE_DISABLE_DEPRECATED. |
---|
1436 | |
---|
1437 | 2001-09-11 Michael Meeks <michael@ximian.com> |
---|
1438 | |
---|
1439 | * glade/glade-init.h: add glade_gnome_init, glade_bonobo_init |
---|
1440 | as compat defines for glade_init. |
---|
1441 | |
---|
1442 | * configure.in: use the glib gettext setup, use AC_OUTPUT so |
---|
1443 | we work nicely with older automakes. |
---|
1444 | |
---|
1445 | * Makefile.am: ditto. |
---|
1446 | |
---|
1447 | 2001-09-06 James Henstridge <james@daa.com.au> |
---|
1448 | |
---|
1449 | * libglade-convert (fixup_widget): fix small bug in combo fixup. |
---|
1450 | |
---|
1451 | 2001-09-05 James Henstridge <james@daa.com.au> |
---|
1452 | |
---|
1453 | * libglade-convert (fixup_widget): convert combo boxes correctly. |
---|
1454 | |
---|
1455 | * glade/glade-gtk.c (combo_find_internal_child): handle internal |
---|
1456 | children of a GtkCombo widget. |
---|
1457 | |
---|
1458 | 2001-09-04 James Henstridge <james@daa.com.au> |
---|
1459 | |
---|
1460 | * glade/Makefile.am: build the gnome.la libglade module with |
---|
1461 | support for libgnomeui. |
---|
1462 | |
---|
1463 | * glade/glade-gnome.c: update to new libglade APIs. Mostly a |
---|
1464 | skeleton at the moment -- not much testing done. |
---|
1465 | |
---|
1466 | * configure.in (build_gnome): add rules to detect libgnomeui-2.0. |
---|
1467 | |
---|
1468 | 2001-09-01 James Henstridge <james@daa.com.au> |
---|
1469 | |
---|
1470 | * libglade-2.0.pc.in (Cflags): make change to match. |
---|
1471 | |
---|
1472 | * glade/Makefile.am (gladeincludedir): change the header directory |
---|
1473 | from glade-2.0/glade to libglade-2.0/glade to match the stable |
---|
1474 | branch. |
---|
1475 | |
---|
1476 | 2001-08-28 James Henstridge <james@daa.com.au> |
---|
1477 | |
---|
1478 | * glade/glade-xml.c (glade_xml_init): initialise deferred_props to |
---|
1479 | NULL. |
---|
1480 | (glade_xml_init): use g_new0 to allocate the private struct so I |
---|
1481 | don't get problems with invalid pointers when I miss something |
---|
1482 | like forgetting to initialise deferred_props. |
---|
1483 | |
---|
1484 | 2001-08-26 James Henstridge <james@daa.com.au> |
---|
1485 | |
---|
1486 | * libglade-2.0.pc.in (moduledir): add variable to .pc file so that |
---|
1487 | other packages can find out where to put libglade modules. |
---|
1488 | |
---|
1489 | * configure.in: increment version number. |
---|
1490 | |
---|
1491 | 2001-08-25 James Henstridge <james@daa.com.au> |
---|
1492 | |
---|
1493 | * glade/glade-xml.c (glade_xml_handle_widget_prop): add function |
---|
1494 | to handle GtkWidget type properties. |
---|
1495 | (glade_xml_set_common_params): apply any deferred properties. |
---|
1496 | (glade_standard_build_widget): pass deferred properties off to |
---|
1497 | glade_xml_handle_widget_prop. |
---|
1498 | |
---|
1499 | * glade/glade-gtk.c: add GtkViewport support (missed it for some |
---|
1500 | reason). |
---|
1501 | |
---|
1502 | * configure.in (build_bonobo): add a --enable-bonobo=yes/no/auto |
---|
1503 | switch |
---|
1504 | |
---|
1505 | 2001-08-24 Xavier Ordoquy <mcarkan@users.sourceforge.net> |
---|
1506 | |
---|
1507 | * glade/Makefile.am: added the glib domain log |
---|
1508 | |
---|
1509 | 2001-08-24 James Henstridge <james@daa.com.au> |
---|
1510 | |
---|
1511 | * libglade-convert (WidgetDef.dump, ChildDef.dump): look at |
---|
1512 | translatable_properties list to see if the property should be |
---|
1513 | translatable. This list is taken from the libglade-xgettext |
---|
1514 | utility. |
---|
1515 | |
---|
1516 | * glade/glade-parser.c: fix things so that things really get |
---|
1517 | translated. |
---|
1518 | |
---|
1519 | * glade/glade-build.h: remove reference to gettext. |
---|
1520 | |
---|
1521 | * glade/glade-xml.c (glade_xml_construct): pass domain argument on |
---|
1522 | to glade_parser_parse_file. |
---|
1523 | (glade_xml_new_from_buffer): pass domain argument on to |
---|
1524 | glade_parser_parse_buffer. |
---|
1525 | (glade_xml_gettext): remove function. |
---|
1526 | Remove references to the GladeXML.txtdomain member. |
---|
1527 | |
---|
1528 | * glade/glade-bonobo.c (glade_bonobo_widget_new): cast to GObject. |
---|
1529 | Remove reference to glade_xml_gettext. |
---|
1530 | |
---|
1531 | * glade/glade-parser.c (GladeParseState): add domain member to |
---|
1532 | hold the translation domain being used for the XML file. Also add |
---|
1533 | a translate_prop member to say whether the member should be |
---|
1534 | translated. |
---|
1535 | (glade_parser_start_element): check for translatable attribute on |
---|
1536 | property elements. |
---|
1537 | (glade_parser_end_element): if property is to be translated, pass |
---|
1538 | it through dgettext. |
---|
1539 | |
---|
1540 | * glade/glade-parser.h: add domain argument to the GladeInterface |
---|
1541 | constructors. |
---|
1542 | |
---|
1543 | 2001-08-23 James Henstridge <james@daa.com.au> |
---|
1544 | |
---|
1545 | * glade/glade-parser.c (glade_parser_characters): use |
---|
1546 | g_string_append_len rather than multiple calls to |
---|
1547 | g_string_append_c, from patch by Michael. |
---|
1548 | |
---|
1549 | * configure.in: update program version number. |
---|
1550 | (build_bonobo): make sure PKG_CHECK_MODULES doesn't cause |
---|
1551 | configure to fail if libbonoboui is not found. Bonobo support is |
---|
1552 | a soft dependency, and we can get along fine without it. |
---|
1553 | |
---|
1554 | * glade/glade-xml.c (glade_xml_widget_destroy): set up a destroy |
---|
1555 | handler on widgets that removes them from the GladeXML object's |
---|
1556 | name hash. Also nullifies libglade's object data on the object. |
---|
1557 | (glade_xml_set_common_params): connect the destruction function to |
---|
1558 | the destroy signal using g_signal_connect_object so that the |
---|
1559 | handler will be removed if the GladeXML object is finalized. |
---|
1560 | (glade_xml_finalize): on finalization, remove the object data on |
---|
1561 | the widgets that remain in the name hash. |
---|
1562 | |
---|
1563 | 2001-08-22 James Henstridge <james@daa.com.au> |
---|
1564 | |
---|
1565 | * glade/glade-xml.c (glade_xml_finalize): remove object data and |
---|
1566 | disconnect signal on finalisation of GladeXML structure. |
---|
1567 | |
---|
1568 | * examples/bonobo.glade: test case for bonobo control embedding. |
---|
1569 | It creates a BonoboWidget representing an |
---|
1570 | OAFIID:Bonobo_Sample_Entry. |
---|
1571 | |
---|
1572 | * test-libglade.c (main): get rid of gnome arg parsing code. |
---|
1573 | Reindent to match the rest of libglade. |
---|
1574 | |
---|
1575 | * glade/glade-bonobo.c (glade_bonobo_widget_new): handle both |
---|
1576 | GObject properties and properties in the control's property bag. |
---|
1577 | |
---|
1578 | * glade/glade-init.c (glade_require): add a missing '&' symbol so |
---|
1579 | that the g_module_symbol call doesn't clobber memory. Loading a |
---|
1580 | glade file which uses bonobo controls should work now (provided |
---|
1581 | bonobo_ui_init() is called). |
---|
1582 | |
---|
1583 | 2001-08-20 James Henstridge <james@daa.com.au> |
---|
1584 | |
---|
1585 | * glade/glade-xml.c (glade_xml_build_widget): remove extended |
---|
1586 | build function stuff from here as well. |
---|
1587 | |
---|
1588 | * glade/glade-private.h: remove extended build function stuff, as |
---|
1589 | it isn't used anymore. |
---|
1590 | |
---|
1591 | * glade/glade-bonobo.c (glade_bonobo_widget_new): update to match |
---|
1592 | new APIs. Also, rather than passing all unknown widgets to the |
---|
1593 | bonobo module, handle only BonoboWidget type widgets (look for the |
---|
1594 | moniker property to decide what type of control to instantiate). |
---|
1595 | |
---|
1596 | * glade/Makefile.am (bonobo_la): add rules to build the bonobo |
---|
1597 | module. |
---|
1598 | |
---|
1599 | * configure.in (build_bonobo): add rules to detect bonobo support. |
---|
1600 | |
---|
1601 | 2001-08-19 James Henstridge <james@daa.com.au> |
---|
1602 | |
---|
1603 | * glade/glade-xml.c (glade_get_adjustment): remove function. |
---|
1604 | (glade_xml_set_window_props): remove function. |
---|
1605 | |
---|
1606 | * glade/glade-gtk.c (menuitem_build_children): same here. |
---|
1607 | |
---|
1608 | * glade/glade-xml.c: change many functions to get rid of long name |
---|
1609 | crud. |
---|
1610 | |
---|
1611 | * glade/glade-private.h: remove longname_hash from the private |
---|
1612 | structure. |
---|
1613 | |
---|
1614 | 2001-08-16 James Henstridge <james@daa.com.au> |
---|
1615 | |
---|
1616 | * Makefile.am (SUBDIRS): renable building of documentation. |
---|
1617 | |
---|
1618 | * doc/Makefile.am: fix up makefile to work correctly with the |
---|
1619 | GObjectized GladeXML. |
---|
1620 | |
---|
1621 | * configure.in: update to use some autoconf-2.52 features, such as |
---|
1622 | getting rid of the need for acconfig.h. |
---|
1623 | |
---|
1624 | * glade/glade-xml.c (glade_xml_build_interface): call |
---|
1625 | glade_require() for each extra module required by the glade file, |
---|
1626 | in order to handle autoloading. |
---|
1627 | |
---|
1628 | * Makefile.am (SUBDIRS): fix up makefile a bit. |
---|
1629 | |
---|
1630 | * glade/glade-xml.c (glade_xml_set_value_from_string): add support |
---|
1631 | for GdkColor and GtkAdjustment type values. |
---|
1632 | (glade_xml_set_value_from_string): make the unsupported property |
---|
1633 | type message include the ParamSpec name in the error. |
---|
1634 | |
---|
1635 | * libglade-convert (collect_adjustment): collect properties that |
---|
1636 | define an adjustment into a single property. |
---|
1637 | (fixup_widget): collect adjustments for range widgets, spin |
---|
1638 | buttons, viewports, scrolled windows and layouts. |
---|
1639 | |
---|
1640 | 2001-08-15 James Henstridge <james@daa.com.au> |
---|
1641 | |
---|
1642 | * libglade-convert: rewrite large portions of the script to make |
---|
1643 | it easier to extend. It now parses the old file into a tree of |
---|
1644 | WidgetDef instances. It then runs a fixup routine on the tree, |
---|
1645 | and finally dumps the modified tree in the new format. |
---|
1646 | (fixup_widget): add missing GtkAccelLabel child to menu items with |
---|
1647 | a label property but no children. |
---|
1648 | (fixup_widget): add internal_child settings for GtkDialog special |
---|
1649 | children. |
---|
1650 | |
---|
1651 | * examples/first.glade: add another example, based on one Chema |
---|
1652 | sent me. |
---|
1653 | |
---|
1654 | * examples/simple.glade: update example file. |
---|
1655 | |
---|
1656 | * glade-2.0.dtd: update DTD to match. |
---|
1657 | |
---|
1658 | * glade/glade-parser.c (glade_parser_start_element): handle child |
---|
1659 | packing properties in a <packing> element rather than directly in |
---|
1660 | <child>. |
---|
1661 | (glade_parser_end_element): same here. |
---|
1662 | (glade_parser_characters): same here. |
---|
1663 | |
---|
1664 | 2001-08-14 James Henstridge <james@daa.com.au> |
---|
1665 | |
---|
1666 | * glade/glade-gtk.c (dialog_find_internal_child): handle vbox and |
---|
1667 | action_area internal children for GtkDialogs. |
---|
1668 | |
---|
1669 | * examples/simple.glade: add a GtkDialog to the interface to test |
---|
1670 | internal child handling. |
---|
1671 | |
---|
1672 | * glade/glade-xml.c (glade_xml_handle_internal_child): |
---|
1673 | implemenentation. |
---|
1674 | (glade_standard_build_children): call |
---|
1675 | glade_xml_handle_internal_child to handle any internal children. |
---|
1676 | (glade_xml_set_window_props): comment out this function. |
---|
1677 | |
---|
1678 | 2001-08-13 James Henstridge <james@daa.com.au> |
---|
1679 | |
---|
1680 | * glade/glade-build.h: add a function pointer to the |
---|
1681 | GladeWidgetBuildData to handle internal children (such as the vbox |
---|
1682 | in a GtkDialog that gets created for you). |
---|
1683 | (glade_xml_handle_internal_child): prototype for internal child |
---|
1684 | handler. |
---|
1685 | |
---|
1686 | 2001-07-29 James Henstridge <james@daa.com.au> |
---|
1687 | |
---|
1688 | * glade/glade-parser.c (handle_child): handle internal-child |
---|
1689 | attribute. |
---|
1690 | |
---|
1691 | * glade-2.0.dtd: add translatable attribute to <property> |
---|
1692 | elements, and change composite-child=yes|no attribute of <child> |
---|
1693 | element to internal-child="...". |
---|
1694 | |
---|
1695 | * glade/glade-gtk.c (menuitem_build_children): add a special |
---|
1696 | build_children handler for menu items that does |
---|
1697 | gtk_menu_item_set_submenu for GtkMenu `children'. |
---|
1698 | |
---|
1699 | 2001-06-25 James Henstridge <james@daa.com.au> |
---|
1700 | |
---|
1701 | * libglade-convert: new program that takes a stab at converting |
---|
1702 | old glade files to the new format. |
---|
1703 | |
---|
1704 | * glade/glade-parser.c (flush_accels): fix bug here where the |
---|
1705 | wrong member of the GladeParseState structure was freed. |
---|
1706 | |
---|
1707 | * examples/simple.glade: update to use a container child property. |
---|
1708 | |
---|
1709 | * glade/glade-xml.c (glade_standard_build_children): add support |
---|
1710 | for container child properties. |
---|
1711 | |
---|
1712 | 2001-06-17 James Henstridge <james@daa.com.au> |
---|
1713 | |
---|
1714 | * glade/glade-gtk.c (widget_data): add entries to the widget_data |
---|
1715 | array so that it will recognise all the GTK+ widgets. It won't |
---|
1716 | handle them all correctly though :) |
---|
1717 | |
---|
1718 | 2001-06-16 James Henstridge <james@daa.com.au> |
---|
1719 | |
---|
1720 | * examples/simple.glade: update so that we have a window with a |
---|
1721 | button in it, and make the app quit when the button is pressed. |
---|
1722 | |
---|
1723 | * glade/glade-xml.c (glade_xml_set_value_from_prop): fix buf in |
---|
1724 | the G_TYPE_UINT case. |
---|
1725 | |
---|
1726 | * glade/glade-gtk.c (window_new): constructor for a GtkWindow. |
---|
1727 | |
---|
1728 | * test-libglade.c (main): more fixups to account for GladeXML |
---|
1729 | being a GObject rather than GtkObject (fix unref call). |
---|
1730 | |
---|
1731 | 2001-06-15 James Henstridge <james@daa.com.au> |
---|
1732 | |
---|
1733 | * Makefile.am (SUBDIRS): don't recurse into doc dir until docs |
---|
1734 | build is fixed. |
---|
1735 | |
---|
1736 | * test-libglade.c (main): fix for new API. |
---|
1737 | |
---|
1738 | * glade/glade-gtk.c (_glade_init_gtk_widgets): empty out this file |
---|
1739 | a bit. |
---|
1740 | (widget_data): add GtkButton to list. |
---|
1741 | |
---|
1742 | * glade/glade-xml.c (glade_xml_set_value_from_prop): fix up GValue |
---|
1743 | code here. |
---|
1744 | (glade_enum_from_string): update to use GEnum APIs. |
---|
1745 | (glade_flags_from_string): new function to parse flags. Can parse |
---|
1746 | symbols or'd together with '|'. |
---|
1747 | |
---|
1748 | * glade/glade-init.c (glade_require): fix return statement. |
---|
1749 | |
---|
1750 | * glade/glade-xml.h: don't include nonexistant <gtk/gtkdata.h>. |
---|
1751 | We don't even need it anymore. |
---|
1752 | |
---|
1753 | * glade/glade-xml.c (glade_standard_build_widget): generic |
---|
1754 | function to build a new widget using properties. Requires my |
---|
1755 | g_object_newv patch (until it gets applied to glib). |
---|
1756 | |
---|
1757 | 2001-05-19 James Henstridge <james@daa.com.au> |
---|
1758 | |
---|
1759 | * Makefile.am (bin_SCRIPTS): don't install libglade-config script. |
---|
1760 | |
---|
1761 | * glade/Makefile.am (INCLUDES): set GLADE_MODULE_DIR cpp define. |
---|
1762 | |
---|
1763 | * glade/glade-init.h: header file containing gnome-init.c |
---|
1764 | prototypes (rather than having them in glade.h). |
---|
1765 | |
---|
1766 | * glade/glade-init.c (glade_require, glade_provide): new functions |
---|
1767 | to handle dynamic loading of modules. |
---|
1768 | |
---|
1769 | 2001-05-18 James Henstridge <james@daa.com.au> |
---|
1770 | |
---|
1771 | * glade/glade-xml.c: other changes just to get it to compile |
---|
1772 | correctly. It is still broken. |
---|
1773 | |
---|
1774 | 2001-05-17 James Henstridge <james@daa.com.au> |
---|
1775 | |
---|
1776 | * glade/Makefile.am: update makefiles to compile in new parser |
---|
1777 | rather than old. |
---|
1778 | |
---|
1779 | * glade/glade-xml.c: remove uline accel stuff, and comment out the |
---|
1780 | label accel stuff until I rewrite it to use mnemonics. |
---|
1781 | |
---|
1782 | * glade/glade-private.h: remove uline accel related members. |
---|
1783 | |
---|
1784 | * glade/glade-build.h: remove uline accel interfaces. |
---|
1785 | |
---|
1786 | * glade/glade-parser.h (glade_interface_dump): add extra prototype. |
---|
1787 | |
---|
1788 | * glade/glade-parser.c: bug fixes to parser. |
---|
1789 | (glade_interface_dump): new function to dump the contents of the |
---|
1790 | interface. Used for debugging purposes. |
---|
1791 | |
---|
1792 | 2001-05-16 James Henstridge <james@daa.com.au> |
---|
1793 | |
---|
1794 | * glade/glade-parser.[ch]: first checkin of parser for new glade |
---|
1795 | format. It has a fair amount of code to warn about many |
---|
1796 | violations of the DTD. It runs silently on some of my test files, |
---|
1797 | so that is a good sign :) |
---|
1798 | |
---|
1799 | 2001-05-13 James Henstridge <james@daa.com.au> |
---|
1800 | |
---|
1801 | * doc/glade-2.0.dia: a diagram of the SAX parser flow for the new |
---|
1802 | format. |
---|
1803 | |
---|
1804 | 2001-05-06 James Henstridge <james@daa.com.au> |
---|
1805 | |
---|
1806 | * glade/glade-xml.c: change to a GObject. |
---|
1807 | |
---|
1808 | * glade/glade-xml.h: change to a GObject. |
---|
1809 | |
---|
1810 | 2001-05-05 James Henstridge <james@daa.com.au> |
---|
1811 | |
---|
1812 | * glade-2.0.dtd: update DTD |
---|
1813 | |
---|
1814 | * glade/glade-sax.c: change include path. It would seem that this |
---|
1815 | parser compiles without problem with libxml2. It may even work |
---|
1816 | correctly :) |
---|
1817 | |
---|
1818 | 2001-05-03 James Henstridge <james@daa.com.au> |
---|
1819 | |
---|
1820 | * glade-2.0.dtd: check in initial work on a new DTD for glade. |
---|
1821 | |
---|
1822 | * *: start to change build stuff for gtk+ 2.0 and libxml2. Stable |
---|
1823 | branch is libglade-1-0. |
---|
1824 | |
---|
1825 | 2001-04-04 John Gotts <jgotts@linuxsavvy.com> |
---|
1826 | |
---|
1827 | * libglade.spec.in: Fixed the Group:'s. Also cleaned up the build |
---|
1828 | process a bit. |
---|
1829 | |
---|
1830 | 2001-03-26 Darin Adler <darin@eazel.com> |
---|
1831 | |
---|
1832 | * doc/.cvsignore: Ignore some more generated files. |
---|
1833 | |
---|
1834 | 2001-02-13 James Henstridge <james@daa.com.au> |
---|
1835 | |
---|
1836 | * glade/glade.h: add prototype for glade_gnome_db_init. |
---|
1837 | |
---|
1838 | * glade/glade-gnomedb.c (glade_gnome_db_init): accidentally forgot |
---|
1839 | to initialise the gnome-db widgets :( -- cut and paste error. |
---|
1840 | |
---|
1841 | 2001-02-12 James Henstridge <james@daa.com.au> |
---|
1842 | |
---|
1843 | * NEWS: added news items. |
---|
1844 | |
---|
1845 | * glade/glade-gnomedb.c: changed copyright notice for this file at |
---|
1846 | author's request. |
---|
1847 | |
---|
1848 | * glade/glade-gtk.c (toolbar_build_children): interpret active |
---|
1849 | attribute. |
---|
1850 | |
---|
1851 | * glade/glade-gnome.c (gnomedialog_build_children): translate the |
---|
1852 | label if it is not a stock button. |
---|
1853 | (toolbar_build_children): interpret the "active" attribute of |
---|
1854 | toolbar toggle button children. Based on patch from Byron |
---|
1855 | Ellacott. |
---|
1856 | |
---|
1857 | 2001-02-10 James Henstridge <james@daa.com.au> |
---|
1858 | |
---|
1859 | * libglade.m4 (module_args): recognise "gnomedb" addon library. |
---|
1860 | |
---|
1861 | * libglade-config.in (lib_gnomedb): add in rules to show gnomedb |
---|
1862 | flags. |
---|
1863 | |
---|
1864 | * libglade-gnome.pc.in (Requires): libglade-gnome requires gnomeui |
---|
1865 | -- this should correct the problem with this file. |
---|
1866 | |
---|
1867 | * libglade-gnomedb.pc.in: the pkg-config script for libglade-gnomedb. |
---|
1868 | |
---|
1869 | * Makefile.am (pkgconfig_DATA): install a gnomedb pkg-config data |
---|
1870 | file if building gnome-db support. |
---|
1871 | |
---|
1872 | * glade/Makefile.am: add rules for gnomedb library and increment |
---|
1873 | libtool version number. |
---|
1874 | |
---|
1875 | * configure.in: add gnome-db tests and update version number. |
---|
1876 | |
---|
1877 | * glade/glade-gnomedb.c: new file based on the gnomedb support |
---|
1878 | contributed by David Marín Carreño <davefx@bigfoot.com>. |
---|
1879 | |
---|
1880 | 2000-11-29 James Henstridge <james@daa.com.au> |
---|
1881 | |
---|
1882 | A couple of memory leaks found by Morten: |
---|
1883 | * glade/glade-bonobo.c (gnome_control_new): unref the control |
---|
1884 | frame on error rather than destroying it. Destroy doesn't unref, |
---|
1885 | so we get a leak. |
---|
1886 | |
---|
1887 | * glade/glade-gnome.c (pixmapmenuitem_new): free the filename of |
---|
1888 | the icon file here. |
---|
1889 | |
---|
1890 | 2000-11-28 Jody Goldberg <jgoldberg@home.com> |
---|
1891 | |
---|
1892 | * configure.in : Use AM_PROG_LIBTOOL rather than AC_PROG_LIBTOOL |
---|
1893 | |
---|
1894 | 2000-11-22 James Henstridge <james@daa.com.au> |
---|
1895 | |
---|
1896 | * NEWS: new news items. |
---|
1897 | |
---|
1898 | * configure.in: increment version number. |
---|
1899 | |
---|
1900 | * doc/Makefile.am (clean-local): small makefile fix. |
---|
1901 | |
---|
1902 | * configure.in: build .pc files from .pc.in files. |
---|
1903 | |
---|
1904 | * libglade-*.pc.in: pkg-config input files for various libglade |
---|
1905 | components. These ones cause a segfault in pkgconfig-0.4, due to |
---|
1906 | a small bug. |
---|
1907 | |
---|
1908 | * configure.in (have_bonobo): modify check so that you must pass |
---|
1909 | --enable-bonobo flag to get bonobo support. |
---|
1910 | |
---|
1911 | * glade/glade-xml.c (glade_xml_set_toplevel, glade_xml_destroy): |
---|
1912 | pick up a GtkAccelGroup reference leak highlighted by Morten's |
---|
1913 | last patch. |
---|
1914 | |
---|
1915 | 2000-11-21 Morten Welinder <terra@diku.dk> |
---|
1916 | |
---|
1917 | * glade/glade-xml.c (glade_xml_destroy): Plug leak. |
---|
1918 | |
---|
1919 | 2000-11-08 James Henstridge <james@daa.com.au> |
---|
1920 | |
---|
1921 | * doc/Makefile.am (scan): small fix to the docs directory makefile |
---|
1922 | so that it will build with more recent gtkdoc's. |
---|
1923 | |
---|
1924 | 2000-11-05 James Henstridge <james@daa.com.au> |
---|
1925 | |
---|
1926 | * glade/glade-gnome.c (druid_build_children): setup accel groups |
---|
1927 | for the individual pages of the druid, similar to the property box |
---|
1928 | and notebook widgets. |
---|
1929 | |
---|
1930 | * test-libglade.c (main): unref the GladeXML object before calling |
---|
1931 | gtk_main. This shouldn't cause any problems. |
---|
1932 | |
---|
1933 | * glade/glade-gnome.c (messagebox_build_children): glade seems to |
---|
1934 | use the stock_pixmap tag rather than stock_button now. |
---|
1935 | (get_stock_name): check for a NULL pointer here. |
---|
1936 | |
---|
1937 | 2000-11-04 James Henstridge <james@daa.com.au> |
---|
1938 | |
---|
1939 | * glade/glade-xml.c (glade_xml_init): always create the tooltips |
---|
1940 | object. |
---|
1941 | (glade_xml_set_toplevel): add a reference to the GtkTooltips |
---|
1942 | object for each toplevel window. We use gtk_object_set_data_full |
---|
1943 | so we can remove this reference when the window is destroyed. |
---|
1944 | (glade_xml_destroy): unref the tooltips object here. This will |
---|
1945 | not destroy the tooltips, as the GtkWindows now hold a reference. |
---|
1946 | |
---|
1947 | 2000-11-02 Michael Meeks <michael@helixcode.com> |
---|
1948 | |
---|
1949 | * configure.in (have_bonobo): require Bonobo 0.27 |
---|
1950 | |
---|
1951 | 2000-10-08 James Henstridge <james@daa.com.au> |
---|
1952 | |
---|
1953 | * glade/glade-xml.h: remove "#pragma }", which was stuffing up a |
---|
1954 | C++ compiler |
---|
1955 | |
---|
1956 | 2000-10-07 James Henstridge <james@daa.com.au> |
---|
1957 | |
---|
1958 | * glade/glade-gnome.c (pbox_page_setup_signals): ditto. |
---|
1959 | |
---|
1960 | * glade/glade-gtk.c (note_page_setup_signals): make the map and |
---|
1961 | unmap signals hold a reference to the accel group. Get rid of the |
---|
1962 | destroy handler which unref'd the accel group. |
---|
1963 | |
---|
1964 | 2000-09-18 James Henstridge <james@daa.com.au> |
---|
1965 | |
---|
1966 | * glade/glade-xml.c (glade_xml_pop_accel): unref the accel group |
---|
1967 | when popping it off the stack. These things don't have a floating |
---|
1968 | reference. |
---|
1969 | |
---|
1970 | 2000-09-03 Federico Mena Quintero <federico@helixcode.com> |
---|
1971 | |
---|
1972 | * glade/glade-xml.c (glade_xml_init): Initialize priv->tree to |
---|
1973 | NULL, otherwise we will pick up uninitialized memory when unrefing |
---|
1974 | a GladeXML that failed to load. |
---|
1975 | |
---|
1976 | 2000-08-13 Michael Meeks <michael@helixcode.com> |
---|
1977 | |
---|
1978 | * configure.in (have_bonobo): require Bonobo 0.17 |
---|
1979 | |
---|
1980 | * glade/glade-bonobo.c (gnome_control_new): fix for latest Bonobo. |
---|
1981 | |
---|
1982 | 2000-08-01 James Henstridge <james@daa.com.au> |
---|
1983 | |
---|
1984 | * configure.in: revert Martin's patch. The GNOME_INIT_HOOK macro |
---|
1985 | already handles a --with-gnome switch, and it was preventing the |
---|
1986 | configure script from auto detecting gnome. |
---|
1987 | |
---|
1988 | 2000-07-30 James Henstridge <james@daa.com.au> |
---|
1989 | |
---|
1990 | * glade/glade-sax.c: fixed small memory leak in glade_widget_tree_unref |
---|
1991 | found by SigWait <sigwait@yahoo.com>. |
---|
1992 | |
---|
1993 | 2000-07-28 Martin Baulig <baulig@suse.de> |
---|
1994 | |
---|
1995 | * configure.in (--without-gnome): New configure parameter to |
---|
1996 | disable GNOME support. |
---|
1997 | |
---|
1998 | 2000-07-10 James Henstridge <james@daa.com.au> |
---|
1999 | |
---|
2000 | * NEWS: add news items. |
---|
2001 | |
---|
2002 | * glade/Makefile.am (LTVERSION): updated libtool version number. |
---|
2003 | |
---|
2004 | * configure.in: updated version number. |
---|
2005 | |
---|
2006 | 2000-06-26 James Henstridge <james@daa.com.au> |
---|
2007 | |
---|
2008 | * glade/glade-gnome.c (menushell_build_children): add tearoffs to |
---|
2009 | menus if gnome_preferences_get_menus_have_tearoff() is true. |
---|
2010 | |
---|
2011 | * glade/glade-gtk.c (custom_new): use glade_create_custom. |
---|
2012 | |
---|
2013 | * glade/glade-build.h: prototype for glade_create_custom. |
---|
2014 | |
---|
2015 | * glade/glade-xml.c (glade_set_custom_handler): implementation. |
---|
2016 | Default custom handler use GModule like before. |
---|
2017 | (glade_create_custom): function for use in glade-gtk.c |
---|
2018 | |
---|
2019 | * glade/glade-xml.h: add prototype for setting a function used to |
---|
2020 | create custom widgets. |
---|
2021 | |
---|
2022 | 2000-06-25 James Henstridge <james@daa.com.au> |
---|
2023 | |
---|
2024 | * glade/glade-gnome.c (pixmapmenuitem_new): revert visible accels. |
---|
2025 | (pixmapmenuitem_new): fix problem correctly by adding an accel |
---|
2026 | label to the GtkPixmapMenuItem and attaching it to the menu item. |
---|
2027 | |
---|
2028 | * glade/glade-gtk.c (menuitem_new): |
---|
2029 | (checkmenuitem_new): |
---|
2030 | (radiomenuitem_new): revert visible accel patch here. |
---|
2031 | |
---|
2032 | * glade/glade-gnome.c (toolbar_build_children): same here. |
---|
2033 | |
---|
2034 | * glade/glade-gtk.c (toolbar_build_children): set group on radio |
---|
2035 | buttons in a toolbar. |
---|
2036 | |
---|
2037 | * glade/glade-gnome.c (href_new): default url to "" rather than |
---|
2038 | NULL, so we don't crash if url is not specified in glade file. |
---|
2039 | Fixes #9206 |
---|
2040 | |
---|
2041 | * glade/glade-gtk.c (radiomenuitem_new): applied Mitch Chapman's patch |
---|
2042 | to add group support to radiomenuitems. |
---|
2043 | |
---|
2044 | * glade/glade-gnome.c (pixmapmenuitem_new): make accel visible. |
---|
2045 | |
---|
2046 | * glade/glade-gtk.c (menuitem_new): make accelerator visible. |
---|
2047 | (checkmenuitem_new): make accel visible. |
---|
2048 | (radiomenuitem_new): make accel visible. |
---|
2049 | |
---|
2050 | 2000-05-20 James Henstridge <james@daa.com.au> |
---|
2051 | |
---|
2052 | * NEWS: news updates. |
---|
2053 | |
---|
2054 | * doc/Makefile.am (scan): change so you don't need an X connection |
---|
2055 | during build of documentation. |
---|
2056 | (uninstall-local): add uninstall hook to uninstall libglade docs, to |
---|
2057 | make distcheck work. |
---|
2058 | (distclean-local): yet another rule to make distcheck work. |
---|
2059 | |
---|
2060 | * configure.in: incremented package version number. |
---|
2061 | |
---|
2062 | * glade/Makefile.am (LTVERSION): updated libtool version number. |
---|
2063 | |
---|
2064 | The reason for the following change is that it makes the |
---|
2065 | functionality of the libglade-gnome library different depending on |
---|
2066 | where it was built. A better solution to this is a form of |
---|
2067 | dynamic loading, which I am going to look at. |
---|
2068 | |
---|
2069 | * glade/glade-bonobo.c: resurect this file. |
---|
2070 | |
---|
2071 | * glade/glade-gnome.c: remove bonobo code. |
---|
2072 | |
---|
2073 | * glade/Makefile.am (libglade_bonobo_la_LIBADD): split bonobo back |
---|
2074 | out into a separate library. |
---|
2075 | |
---|
2076 | 2000-05-06 Ramiro Estrugo <ramiro@eazel.com> |
---|
2077 | |
---|
2078 | * configure.in: AM_CONDITIONAL needs to be called on the bonobo |
---|
2079 | flag, so restore that. Also add AC_SUBST(BONOBO_SUPPORT_FALSE) to |
---|
2080 | make sure it gets substituted in libglade-config, otherwise bad |
---|
2081 | things happen. |
---|
2082 | |
---|
2083 | 2000-05-05 Maciej Stachowiak <mjs@eazel.com> |
---|
2084 | |
---|
2085 | * configure.in: actually substitute the BONOBO_SUPPORT_FALSE flag |
---|
2086 | required by libglade-config.in. Probably someone forgot to commit |
---|
2087 | something. |
---|
2088 | |
---|
2089 | 2000-05-04 Michael Meeks <michael@helixcode.com> |
---|
2090 | |
---|
2091 | * glade/Makefile.am: update. |
---|
2092 | |
---|
2093 | * glade/glade-gnome.c (gnome_control_new): move here. |
---|
2094 | (glade_gnome_init): update for bonobo case. |
---|
2095 | |
---|
2096 | * glade/glade-bonobo.c: from here; kill this file. |
---|
2097 | |
---|
2098 | * configure.in (have_bonobo): add define for bonobo. |
---|
2099 | |
---|
2100 | * acconfig.h: and here. |
---|
2101 | |
---|
2102 | 2000-04-15 James Henstridge <james@daa.com.au> |
---|
2103 | |
---|
2104 | Notebook patch from Jon K Hellan: |
---|
2105 | |
---|
2106 | * glade/glade-gtk.c (notebook_build_children): push accelerators for |
---|
2107 | each notebook page, so only accels on the visible page are enabled. |
---|
2108 | |
---|
2109 | * glade/glade-gnome.c (propbox_build_children): push accelerators for |
---|
2110 | each notebook page, so only accels on the visible page are enabled. |
---|
2111 | |
---|
2112 | * glade/glade-xml.c (glade_xml_{push,pop}_accel): change over to |
---|
2113 | these for accelerator handling. |
---|
2114 | |
---|
2115 | * glade/glade-build.h: add prototypes for glade_xml_{push,pop}_accel. |
---|
2116 | |
---|
2117 | Memory leak fixes from Morten: |
---|
2118 | |
---|
2119 | * glade/glade-xml.c (glade_xml_destroy): free the radio group hash |
---|
2120 | table after building the widgets. Leak also found by Morten. |
---|
2121 | |
---|
2122 | * glade/glade-gtk.c (combo_new): free combo item list. Bug reported |
---|
2123 | by Morten |
---|
2124 | |
---|
2125 | 2000-04-01 Michael Meeks <michael@helixcode.com> |
---|
2126 | |
---|
2127 | * glade/glade-bonobo.c (gnome_control_new): update to new Bonobo API. |
---|
2128 | |
---|
2129 | * configure.in (have_bonobo): bump required version to 0.10 |
---|
2130 | |
---|
2131 | 2000-03-25 Peter Teichman <peter@helixcode.com> |
---|
2132 | |
---|
2133 | * glade/glade-xml.c (glade_xml_build_widget): add set_common_params |
---|
2134 | logic for bonobo control + clean flow. (glade_xml_set_common_params): |
---|
2135 | update for bonobo controls. |
---|
2136 | |
---|
2137 | 2000-03-13 James Henstridge <james@daa.com.au> |
---|
2138 | |
---|
2139 | * glade/glade-xml.h: added prototypes for new functions. |
---|
2140 | |
---|
2141 | * libglade.m4 (module_args): add support for bonobo library to macro. |
---|
2142 | |
---|
2143 | * libglade-config.in: added support for the bonobo library to this |
---|
2144 | script. |
---|
2145 | |
---|
2146 | * NEWS: added news items. |
---|
2147 | |
---|
2148 | * glade/Makefile.am (LTVERSION): updated libtool version number. |
---|
2149 | |
---|
2150 | * doc/libglade-sections.txt: add extra functions to documentation. |
---|
2151 | |
---|
2152 | * glade/glade-xml.c (glade_xml_get_widget_prefix): new function |
---|
2153 | for finding all widgets starting with a particular prefix. This |
---|
2154 | is based on the glade_xml_get_widgets function suggested by |
---|
2155 | Martijn van Beers. |
---|
2156 | (glade_xml_signal_connect_data): new function to connect a named |
---|
2157 | signal and allow the user to set the signal data. |
---|
2158 | |
---|
2159 | 2000-03-10 Tor Lillqvist <tml@iki.fi> |
---|
2160 | |
---|
2161 | * configure.in: Check for unistd.h. |
---|
2162 | |
---|
2163 | * acconfig.h: Add HAVE_UNISTD_H. |
---|
2164 | |
---|
2165 | * glade/glade-sax.c: Guard inclusion of unistd.h. |
---|
2166 | |
---|
2167 | * glade/glade-xml.h |
---|
2168 | * glade/glade-xml.c: Rename the textdomain field to txtdomain as |
---|
2169 | textdomain() is a libintl function, and can in certain cases be |
---|
2170 | #defined as textdomain__ by libintl.h. This causes trouble if |
---|
2171 | libintl.h is included after glade-xml.h. |
---|
2172 | |
---|
2173 | * config.h.win32 |
---|
2174 | * makefile.mingw |
---|
2175 | * glade/makefile.mingw |
---|
2176 | * glade/glade.def: New files for Win32 port. As in the GLib, GTk+, |
---|
2177 | and GIMP ports, we use hand-written makefiles and config.h files, |
---|
2178 | at least for now. |
---|
2179 | |
---|
2180 | * Makefile.am |
---|
2181 | * glade/Makefile.am: Add above new files to EXTRA_DIST. |
---|
2182 | |
---|
2183 | 2000-03-10 Michael Meeks <michael@helixcode.com> |
---|
2184 | |
---|
2185 | * glade/glade-bonobo.c: Add. |
---|
2186 | |
---|
2187 | * glade/glade.h: add glade_bonobo_init. |
---|
2188 | |
---|
2189 | * glade/glade-xml.c (glade_xml_build_widget): Add extended widget |
---|
2190 | support. |
---|
2191 | |
---|
2192 | * glade/glade-private.h: Add extended_widget prototype. |
---|
2193 | |
---|
2194 | * glade/Makefile.am (THE_FLAGS): add Bonobo support. |
---|
2195 | |
---|
2196 | * configure.in: add bonobo checks. |
---|
2197 | |
---|
2198 | * autogen.sh (PKG_NAME): change to libGlade. |
---|
2199 | |
---|
2200 | 2000-03-12 James Henstridge <james@daa.com.au> |
---|
2201 | |
---|
2202 | * glade/Makefile.am (INCLUDES): don't bother with the THE_FLAGS |
---|
2203 | stuff. If gnome support is not enabled, then the GNOME_INCLUDEDIR |
---|
2204 | macro will expand to nothing. |
---|
2205 | |
---|
2206 | * glade/glade-gnome.c (pixmapmenuitem_new): check for a user icon |
---|
2207 | as well as stock icons. This change is based on a patch from |
---|
2208 | David Santiago <mrcooger@cyberverse.com>. |
---|
2209 | |
---|
2210 | 2000-03-10 James Henstridge <james@daa.com.au> |
---|
2211 | |
---|
2212 | * glade/glade-gnome.c (gnome_uiinfo_mapping): added an entry for |
---|
2213 | GNOMEUIINFO_MENU_NEW_SUBTREE. |
---|
2214 | (dock_build_children): use gnome_app_add_dock_item if this dock |
---|
2215 | is a child of a GnomeApp. This doesn't seem to help with getting |
---|
2216 | it to use the saved dock layout though :( |
---|
2217 | |
---|
2218 | * glade/glade-private.h: removed some prototypes that also apear in |
---|
2219 | glade-xml.h. |
---|
2220 | |
---|
2221 | 2000-03-09 James Henstridge <james@daa.com.au> |
---|
2222 | |
---|
2223 | * libglade-xgettext (TranslatableStringParser.add_string): don't |
---|
2224 | add the string "" to the catalog. |
---|
2225 | |
---|
2226 | * glade/*.c: updated copyright to include 2000. |
---|
2227 | |
---|
2228 | * glade/glade-xml.c (glade_xml_set_common_params): handle the case |
---|
2229 | where the events parameter is returned as a string rather than a |
---|
2230 | simple integer, as it is in current versions of glade. |
---|
2231 | |
---|
2232 | 2000-03-08 James Henstridge <james@daa.com.au> |
---|
2233 | |
---|
2234 | * glade/glade-gtk.c (progressbar_new): added support for progress |
---|
2235 | bar attributes. |
---|
2236 | |
---|
2237 | 2000-01-22 James Henstridge <james@daa.com.au> |
---|
2238 | |
---|
2239 | * glade/glade-gtk.c (paned_build_children): recognise the resize |
---|
2240 | and shrink child packing attributes. |
---|
2241 | |
---|
2242 | 1999-12-16 Eric Gillespie Jr. <epg@pobox.com> |
---|
2243 | |
---|
2244 | * glade/glade-gtk.c (hpaned_new): Now handles the 'position' attribute. |
---|
2245 | (vpaned_new): Same here. |
---|
2246 | |
---|
2247 | 1999-12-05 James Henstridge <james@daa.com.au> |
---|
2248 | |
---|
2249 | * NEWS: added news items. |
---|
2250 | |
---|
2251 | * configure.in: incremented package version to 0.11. |
---|
2252 | |
---|
2253 | * glade/Makefile.am (LTVERSION): incremented libtool version. |
---|
2254 | |
---|
2255 | * glade/glade-gtk.c (calendar_new): added GtkCalendar support. |
---|
2256 | (inputdialog_new): added support for GtkInputDialog. |
---|
2257 | |
---|
2258 | 1999-12-04 James Henstridge <james@daa.com.au> |
---|
2259 | |
---|
2260 | * glade/glade-gtk.c, glade/glade-gnome.c: other fixes. |
---|
2261 | |
---|
2262 | * glade/glade-gnome.c (toolbar_build_children): same here. |
---|
2263 | |
---|
2264 | * glade/glade-gtk.c (toolbar_build_children): do not die if pixmap |
---|
2265 | couldn't be found. |
---|
2266 | |
---|
2267 | * glade/glade-xml.c: added more assertions. |
---|
2268 | |
---|
2269 | 1999-12-03 James Henstridge <james@daa.com.au> |
---|
2270 | |
---|
2271 | * glade/glade-sax.c: added some assertions to the tree ref/unref |
---|
2272 | code. |
---|
2273 | |
---|
2274 | * glade/glade-xml.c (glade_xml_destroy): patch to prevent segfaults |
---|
2275 | on bad .glade files from Michael Meeks. |
---|
2276 | |
---|
2277 | 1999-11-20 James Henstridge <james@daa.com.au> |
---|
2278 | |
---|
2279 | * README: updated readme file. It was really out of date. |
---|
2280 | |
---|
2281 | * configure.in: incremented package version number. |
---|
2282 | |
---|
2283 | * glade/Makefile.am (LTVERSION): incremented libtool version number. |
---|
2284 | |
---|
2285 | * glade/glade-gtk.c (pixmap_new): make sure we don't crash when the |
---|
2286 | pixmap can't be found. |
---|
2287 | |
---|
2288 | * glade/glade-xml.c (glade_xml_set_window_props): fixed bug in |
---|
2289 | call to gtk_window_set_policy. |
---|
2290 | |
---|
2291 | 1999-11-16 James Henstridge <james@daa.com.au> |
---|
2292 | |
---|
2293 | * glade/Makefile.am (LTVERSION): updated libtool version number. |
---|
2294 | |
---|
2295 | * NEWS: added news items. |
---|
2296 | |
---|
2297 | * configure.in: incremented version number. |
---|
2298 | |
---|
2299 | * glade/glade-gnome.c (about_new): |
---|
2300 | (gnomedialog_new): |
---|
2301 | (messagebox_new): |
---|
2302 | (app_new): |
---|
2303 | (propbox_new): use glade_xml_set_window_props to set common window |
---|
2304 | properties. |
---|
2305 | |
---|
2306 | * glade/glade-gtk.c (window_new): |
---|
2307 | (dialog_new): |
---|
2308 | (fileselection_new): |
---|
2309 | (colorselectiondialog_new): |
---|
2310 | (fontselectiondialog_new): use glade_xml_set_window_props to set |
---|
2311 | common window properties. |
---|
2312 | |
---|
2313 | * glade/glade-xml.c (glade_xml_set_window_props): new helper function |
---|
2314 | to set properties common to GtkWindow derived widgets. |
---|
2315 | |
---|
2316 | * test-libglade.c: added licence to test-libglade example. It is |
---|
2317 | dual licenced under GPL and X style licence, so it should be safe |
---|
2318 | for people to use as a base for programs that use libglade but have |
---|
2319 | different licencing to libglade. |
---|
2320 | |
---|
2321 | 1999-11-13 James Henstridge <james@daa.com.au> |
---|
2322 | |
---|
2323 | * glade/glade-xml.c (glade_xml_set_common_params): added patch to |
---|
2324 | correctly unset the CAN_FOCUS flag on widgets. The patch came from |
---|
2325 | Andreas Degert <ad@papyrus-gmbh.de> |
---|
2326 | |
---|
2327 | * glade/glade-gnome.c (toolbar_new): use the toolbar style as set in |
---|
2328 | the control center, rather than that in the XML file. |
---|
2329 | (dockitem_new): fixed bug with setting name of dock items. Patch |
---|
2330 | came from Eric Gillepsi Jr. <epg@pobox.com>. |
---|
2331 | |
---|
2332 | 1999-11-12 James Henstridge <james@daa.com.au> |
---|
2333 | |
---|
2334 | * glade/glade-gtk.c (toolbar_build_children): same here. |
---|
2335 | |
---|
2336 | * glade/glade-gnome.c (toolbar_build_children): check if we are adding |
---|
2337 | a toggle button or radio button, and handle those cases correctly. |
---|
2338 | |
---|
2339 | * configure.in (libxml check): this is libglade, not gnorpm. Fixed |
---|
2340 | simple cut and paste error from messages in the libxml check. |
---|
2341 | |
---|
2342 | * glade/glade-gnome.c (pixmapmenuitem_new): make sure labels are |
---|
2343 | left justified in GtkPixmapMenuItems. |
---|
2344 | |
---|
2345 | 1999-11-01 James Henstridge <james@daa.com.au> |
---|
2346 | |
---|
2347 | * glade/glade-gtk.c (label_new, accellabel_new): understand the wrap |
---|
2348 | property of label widgets. |
---|
2349 | |
---|
2350 | * glade/glade-gnome.c: understand GNOME_STOCK_PIXMAP_EXIT and |
---|
2351 | GNOME_STOCK_MENU_EXIT as well as the QUIT variants. |
---|
2352 | |
---|
2353 | * configure.in: make sure a new enough version of libxml is installed |
---|
2354 | on the system. AFAIK, 1.7.2 was the first version to contain the |
---|
2355 | required functions. |
---|
2356 | |
---|
2357 | * glade/glade-sax.c (glade_widget_tree_parse_file): use the |
---|
2358 | xmlSAXUserParseFile function instead of my_xmlSAXParseFile. |
---|
2359 | (glade_widget_tree_parse_memory): similar with xmlSAXUserParseMemory. |
---|
2360 | |
---|
2361 | Now we don't need to include parserInternals.h, so libglade will be |
---|
2362 | less likely to break when libxml internals change. |
---|
2363 | |
---|
2364 | 1999-10-28 James Henstridge <james@daa.com.au> |
---|
2365 | |
---|
2366 | * gnome-widgets.glade: added GnomeDruid example to file. |
---|
2367 | |
---|
2368 | * glade/glade-gnome.c (druidpage_build_children): use |
---|
2369 | glade_xml_set_common_params to handle the GnomeDruidPageStandard's |
---|
2370 | internal vbox. This causes border width, etc to be handled |
---|
2371 | correctly. |
---|
2372 | |
---|
2373 | * glade/glade-xml.c (glade_xml_gettext): always return the empty |
---|
2374 | string for empty message ids. Most catalogs have a translation |
---|
2375 | from the empty message id to some info about the catalog. We don't |
---|
2376 | want to display this. |
---|
2377 | |
---|
2378 | * glade/glade-sax.c: fixed test to remove placeholders from internal |
---|
2379 | representation of the XML file. |
---|
2380 | |
---|
2381 | * glade/glade-gtk.c (label_new, accellabel_new): fixed mem leak found |
---|
2382 | by Morten. This fixes bug #3127. |
---|
2383 | |
---|
2384 | 1999-09-28 James Henstridge <james@daa.com.au> |
---|
2385 | |
---|
2386 | * NEWS: added news items. |
---|
2387 | |
---|
2388 | * configure.in: incremented package version number. |
---|
2389 | |
---|
2390 | * glade/Makefile.am (LTVERSION): incremented libtool version number. |
---|
2391 | |
---|
2392 | * gnome-widgets.glade: extended it by adding a proprety box to the |
---|
2393 | example. |
---|
2394 | |
---|
2395 | * glade/glade-gnome.c (gnomedialog_build_children): fix seg fault when |
---|
2396 | inserting normal buttons into a GnomeDialog's action area. This |
---|
2397 | fixes bug #2323. |
---|
2398 | |
---|
2399 | * glade/glade-tree.c (glade_tree_get): fixed up a seg fault when the |
---|
2400 | XML file could not be parsed or does not exist. |
---|
2401 | |
---|
2402 | 1999-09-20 James Henstridge <james@daa.com.au> |
---|
2403 | |
---|
2404 | * glade/glade-gnome.c (stock_button_new): carried Miguel's button |
---|
2405 | patch over to the gnome code. |
---|
2406 | |
---|
2407 | * glade/glade-gtk.c (button_new, togglebutton_new, checkbutton_new): |
---|
2408 | (radiobutton_new): do not translate the strings twice. It could |
---|
2409 | cause weird problems. |
---|
2410 | |
---|
2411 | * NEWS: added extra news items. |
---|
2412 | |
---|
2413 | * configure.in: incremented package version. |
---|
2414 | |
---|
2415 | * glade/Makefile.am (LTVERSION): incremented libtool library version. |
---|
2416 | |
---|
2417 | 1999-09-19 James Henstridge <james@daa.com.au> |
---|
2418 | |
---|
2419 | * glade/glade-xml.c (glade_xml_set_common_params): check if the widget |
---|
2420 | is the default or focus widget for the window. |
---|
2421 | (glade_xml_set_toplevel): call gtk_widget_grab_default or grab_focus |
---|
2422 | on the appropriate widgets when we are ready to build the next window. |
---|
2423 | (glade_xml_build_interface): set the default/focus widgets for the |
---|
2424 | last window to be built as well. |
---|
2425 | (glade_xml_init): set default_widget and focus_widget to NULL at |
---|
2426 | startup. |
---|
2427 | |
---|
2428 | * glade/glade-private.h (GladeXMLPrivate): add members to hold default |
---|
2429 | and focus widgets for a window. |
---|
2430 | |
---|
2431 | 1999-09-18 Miguel de Icaza <miguel@gnu.org> |
---|
2432 | |
---|
2433 | * glade/glade-sax.c: Set can_focus to zero initially. If the |
---|
2434 | widget can focus, Glade will explicitly list it. |
---|
2435 | |
---|
2436 | 1999-09-14 James Henstridge <james@daa.com.au> |
---|
2437 | |
---|
2438 | * glade/glade-sax.c (gladeEndElement): extract has_default, has_focus |
---|
2439 | into appropriate elements. |
---|
2440 | (gladeEndElement): remove placeholders from the interface description. |
---|
2441 | To get old behaviour, don't define REMOVE_PLACEHOLDERS at top of |
---|
2442 | |
---|
2443 | * glade/glade-widget-tree.h: added has_default and has_focus flags. |
---|
2444 | |
---|
2445 | 1999-09-13 Miguel de Icaza <miguel@nuclecu.unam.mx> |
---|
2446 | |
---|
2447 | * glade/glade-gtk.c (label_new): Do not translate a string if it |
---|
2448 | is empty. |
---|
2449 | (button_new): ditto. |
---|
2450 | (checkbutton_new): ditto. |
---|
2451 | (menuitem_new): ditto. |
---|
2452 | (checkmenuitem_new): ditto. |
---|
2453 | (radiomenuitem_new): ditto |
---|
2454 | |
---|
2455 | 1999-09-12 James Henstridge <james@daa.com.au> |
---|
2456 | |
---|
2457 | * glade/glade-sax.c: got rid of an infinite loop in the accelerator |
---|
2458 | modifier parsing code. This fixes bug #2098 |
---|
2459 | |
---|
2460 | 1999-09-06 James Henstridge <james@daa.com.au> |
---|
2461 | |
---|
2462 | * NEWS: added news items for stuff I have added for this release. |
---|
2463 | |
---|
2464 | * configure.in: incremented package version. |
---|
2465 | |
---|
2466 | * glade/Makefile.am (LTVERSION): incremented libtool version. |
---|
2467 | |
---|
2468 | * glade/glade-gnome.c (propbox_build_children): added similar |
---|
2469 | behaviour here. |
---|
2470 | |
---|
2471 | * glade/glade-gtk.c (notebook_build_children): added underline |
---|
2472 | accelerator support for notebook tabs. You can switch between |
---|
2473 | pages of the notebook by using the underline accelerator on the |
---|
2474 | page's tab. |
---|
2475 | |
---|
2476 | * glade/glade-gnome.c (button_build_children): same function here |
---|
2477 | for gnome support. |
---|
2478 | |
---|
2479 | * glade/glade-gtk.c (button_build_children): new function for |
---|
2480 | building button children. It also adds an accelerator for the |
---|
2481 | clicked signal if appropriate. |
---|
2482 | |
---|
2483 | * glade/glade-xml.c (glade_xml_set_common_params): check to see if |
---|
2484 | any label underline accelerators have to be attached. |
---|
2485 | |
---|
2486 | * glade/glade-private.h (GladeXMLPrivate): added new fields for |
---|
2487 | label underline accelerators. |
---|
2488 | |
---|
2489 | * glade/glade-build.h: added prototypes for the new functions. |
---|
2490 | |
---|
2491 | * glade/glade-xml.c (glade_xml_handle_label_accel): handle label |
---|
2492 | underline accelerators. |
---|
2493 | (glade_xml_get_parent_accel): routine for getting underline |
---|
2494 | accelerators directed at the parent widget. |
---|
2495 | |
---|
2496 | * glade/glade-gtk.c (label_new): extract the underline accelerator |
---|
2497 | from the label. |
---|
2498 | |
---|
2499 | * glade/glade-gnome.c (propbox_new): set up the property box to use |
---|
2500 | a new accel group. |
---|
2501 | |
---|
2502 | * glade/glade-xml.c (glade_get_adjustment): accept the adjustment |
---|
2503 | element names from glade 0.5.2 and pre 0.5.2. |
---|
2504 | |
---|
2505 | 1999-09-05 James Henstridge <james@daa.com.au> |
---|
2506 | |
---|
2507 | * glade/glade-xml.c (glade_xml_new_from_memory): added new function |
---|
2508 | to create a GladeXML object from a in memory buffer. |
---|
2509 | |
---|
2510 | * po/POTFILES.in: removed all the entries someone added here to |
---|
2511 | discourage people from translating this module. None of the installed |
---|
2512 | components need translation. |
---|
2513 | |
---|
2514 | * glade/glade-sax.c (my_xmlSAXParseMemory): |
---|
2515 | * glade/glade-sax.c (glade_widget_tree_parse_memory): added an function |
---|
2516 | to create a GladeWidgetTree from a string. |
---|
2517 | |
---|
2518 | * glade/glade-gtk.c (layout_new): added support for GtkLayout. |
---|
2519 | |
---|
2520 | * glade/glade-gnome.c (iconlist_new): added support for GnomeIconList. |
---|
2521 | (iconsel_new): support for GnomeIconSelection. |
---|
2522 | (druid*): added support for GnomeDruid, GnomeDruidPageStart, |
---|
2523 | GnomeDruidPageFinish, GnomeDruidPageStandard. |
---|
2524 | (pixmap_new): added support for GnomePixmap. |
---|
2525 | (propbox_new): added support for GnomePropertyBox. |
---|
2526 | |
---|
2527 | * glade/glade-build.h: changed declaration of GladeWidgetBuildData |
---|
2528 | structure so it does not cause problems for newer gtk-doc's. |
---|
2529 | |
---|
2530 | 1999-09-04 James Henstridge <james@daa.com.au> |
---|
2531 | |
---|
2532 | * doc/Makefile.am (scan): fixed up target so that libtool works |
---|
2533 | correctly even if it does not recognise the C compiler name (there |
---|
2534 | were problems with CC=egcs). |
---|
2535 | |
---|
2536 | * glade/glade-xml.c: save a reference to the GladeWidgetTree |
---|
2537 | structure, and unref it when the GladeXML structure is destroyed. |
---|
2538 | This is so it does not get destroyed if it gets purged from the |
---|
2539 | cache. |
---|
2540 | |
---|
2541 | * glade/glade-private.h: added the GladeWidgetTree to the private |
---|
2542 | structure. |
---|
2543 | |
---|
2544 | * glade/glade-tree.c (glade_tree_get): check mtime on file to see |
---|
2545 | if tree needs to be read in again. |
---|
2546 | |
---|
2547 | * glade/glade-sax.c: added implementations of reference counting |
---|
2548 | routines, and save modification time of the file in the structure. |
---|
2549 | |
---|
2550 | * glade/glade-widget-tree.h: added an mtime field to GladeWidgetTree |
---|
2551 | and added reference counting. |
---|
2552 | |
---|
2553 | * configure.in (ALL_LINGUAS): removed languages from the ALL_LINGUAS |
---|
2554 | variable. Obviously no one read the message above it stating that |
---|
2555 | libglade doesn't install anything that needs translation. |
---|
2556 | |
---|
2557 | * glade/Makefile.am (EXTRA_DIST): removed last reference to |
---|
2558 | glade-keys.c which was breaking the build on some systems. |
---|
2559 | |
---|
2560 | 1999-09-01 Pablo Saratxaga <pablo@mandrakesoft.com> |
---|
2561 | |
---|
2562 | * po/da.po: added danish file |
---|
2563 | |
---|
2564 | 1999-08-24 James Henstridge <james@daa.com.au> |
---|
2565 | |
---|
2566 | * test-libglade.c (main): when building only part of the widget tree, |
---|
2567 | if the toplevel is not a GtkWindow descendant, pack it inside a |
---|
2568 | container window. For example, "./test-libglade gnome-widgets.glade |
---|
2569 | menubar1" will show just the menu bar in a window. |
---|
2570 | |
---|
2571 | * NEWS: updated news file. |
---|
2572 | |
---|
2573 | * configure.in: incremented package version number. |
---|
2574 | |
---|
2575 | * glade/Makefile.am (LTVERSION): incremented libtool version number. |
---|
2576 | |
---|
2577 | * glade/glade-gtk.c (packer_new, packer_build_children): added |
---|
2578 | support for the GtkPacker widget. |
---|
2579 | |
---|
2580 | * glade/Makefile.am: removed references to glade-keys.c. It is no |
---|
2581 | longer needed. |
---|
2582 | |
---|
2583 | * glade/glade-private.h (glade_key_get): removed prototype. |
---|
2584 | |
---|
2585 | * glade/glade-sax.c (gladeEndElement): switched over to using |
---|
2586 | gdk_keyval_from_name rather than using glade_key_get. This saves |
---|
2587 | a bit of memory. |
---|
2588 | |
---|
2589 | * glade/glade-gtk.c (radiobutton_new): fixed radio button group |
---|
2590 | handling. |
---|
2591 | (table_new): fixed up recognition of the column_spacing attribute. |
---|
2592 | |
---|
2593 | 1999-08-09 James Henstridge <james@daa.com.au> |
---|
2594 | |
---|
2595 | * Makefile.am: removed dist-hook for the generated libglade.spec. |
---|
2596 | This is handled by automake when you add it to EXTRA_DIST. |
---|
2597 | |
---|
2598 | * libglade.spec.in (Requires): specifically require libxml >= 1.3. |
---|
2599 | Older versions have an incompatible SAX interface. |
---|
2600 | |
---|
2601 | * glade/Makefile.am (LTVERSION): incrementented libtool version number. |
---|
2602 | |
---|
2603 | * configure.in: incremented version number to 0.3 |
---|
2604 | |
---|
2605 | 1999-08-07 James Henstridge <james@daa.com.au> |
---|
2606 | |
---|
2607 | * glade/glade-xml.c (glade_xml_new): fixed a small memory leak when |
---|
2608 | the interface could not be constructed correctly. This bug was found |
---|
2609 | by Morten. |
---|
2610 | |
---|
2611 | * glade/glade-gnome.c: added support for GtkEntry child widgets on the |
---|
2612 | Gnome*Entry widgets. Added support for GnomeCanvas, GnomeIconEntry, |
---|
2613 | GnomeNumberEntry. |
---|
2614 | |
---|
2615 | * glade/glade-gtk.c (combo_build_children): setup signals on the |
---|
2616 | GtkEntry. |
---|
2617 | |
---|
2618 | * configure.in, Makefile.am, glade/Makefile.am: removed the |
---|
2619 | LIBGLADE_FULLDIST conditional, since it is no longer being used. |
---|
2620 | This also cleans up the makefiles a bit. |
---|
2621 | |
---|
2622 | 1999-08-05 James Henstridge <james@daa.com.au> |
---|
2623 | |
---|
2624 | * glade/glade-gnome.c (stock_button_new): uline accelerator support |
---|
2625 | here as well. |
---|
2626 | |
---|
2627 | * glade/glade-gtk.c: added uline accelerator support for buttons, |
---|
2628 | check buttons, toggle buttons and radio buttons. |
---|
2629 | |
---|
2630 | 1999-08-04 James Henstridge <james@daa.com.au> |
---|
2631 | |
---|
2632 | * doc/libglade-sections.txt: added new functions to documentation |
---|
2633 | list. |
---|
2634 | |
---|
2635 | * gnome-widgets.glade: updated xml of the message box widget. |
---|
2636 | |
---|
2637 | * glade/glade-gnome.c (messagebox_new): the `type' attribute has been |
---|
2638 | renamed `message_box_type'. |
---|
2639 | |
---|
2640 | * glade/glade-gtk.c, glade/glade-gnome.c: added calls to |
---|
2641 | glade_xml_set_toplevel to the routines for all the toplevel window |
---|
2642 | widget types. Added code to parse uline accelerators for menu items. |
---|
2643 | |
---|
2644 | * glade/glade-build.h: added prototypes for the new functions. |
---|
2645 | |
---|
2646 | * glade/glade-xml.c (glade_xml_push_uline_accel, |
---|
2647 | glade_xml_pop_uline_accel, glade_xml_get_uline_accel): helper |
---|
2648 | functions for setting up uline accelerators. |
---|
2649 | (glade_xml_set_toplevel): new function. |
---|
2650 | (glade_xml_ensure_accel): new function to get current (non uline) |
---|
2651 | accel group. |
---|
2652 | |
---|
2653 | * glade/glade-private.h (GladeXMLPrivate): added some extra fields |
---|
2654 | to the structure to hold information about the current accel group. |
---|
2655 | |
---|
2656 | 1999-08-02 James Henstridge <james@daa.com.au> |
---|
2657 | |
---|
2658 | * doc/Makefile.am (scan): yet another fix. Now it runs gtkdoc-scanobj |
---|
2659 | in the build directory rather than srcdir. This one actually works |
---|
2660 | correctly with builddir != srcdir and libglade not installed when I |
---|
2661 | do a distcheck. |
---|
2662 | |
---|
2663 | * doc/Makefile.am (scan): set CC to "$(LIBTOOL) $(CC)" for |
---|
2664 | gtkdoc-scanobj, and make it link the test program with the libtool |
---|
2665 | libraries rather than the installed libraries. |
---|
2666 | |
---|
2667 | * Makefile.am: changed to build the glade subdir before doc. |
---|
2668 | Include libglade.spec in tarballs (it was probably removed when |
---|
2669 | libglade.spec.in was added). |
---|
2670 | |
---|
2671 | 1999-07-30 James Henstridge <james@daa.com.au> |
---|
2672 | |
---|
2673 | * test-libglade.c (main): give an error if glade_xml_new returns an |
---|
2674 | error. |
---|
2675 | |
---|
2676 | * glade/glade-sax.c: make the parser more graceful for bad documents. |
---|
2677 | |
---|
2678 | 1999-07-29 James Henstridge <james@daa.com.au> |
---|
2679 | |
---|
2680 | * doc/tmpl/glade-sax.sgml: added a small description of these |
---|
2681 | functions. |
---|
2682 | |
---|
2683 | * doc/libglade-sections.txt: added documentation section on the SAX |
---|
2684 | parser. |
---|
2685 | |
---|
2686 | * glade/glade-sax.c: added API doc comments. |
---|
2687 | |
---|
2688 | * glade/glade-xml.c: updated the inline documentation to reflect |
---|
2689 | that xmlNode structures are no longer used. |
---|
2690 | |
---|
2691 | * glade/glade-xml.c, glade/glade-gtk.c, glade/glade-gnome.c: removed |
---|
2692 | some unused variables. |
---|
2693 | |
---|
2694 | * glade/glade-styles.c: removed file. Most of its functionality was |
---|
2695 | moved to the glade-sax parser, so there was not much reason for |
---|
2696 | keeping glade_style_attach in a single file. |
---|
2697 | |
---|
2698 | * glade/glade-xml.c (glade_style_attach): moved this function in |
---|
2699 | from glade-styles.c. |
---|
2700 | |
---|
2701 | * configure.in: added a check to make sure you are using a new |
---|
2702 | enough libxml. This is required because the SAX API underwent a |
---|
2703 | number of changes, so old versions of libxml are not good enough. |
---|
2704 | |
---|
2705 | * Makefile.am (THE_FLAGS, THE_LIBS): these variables had the wrong |
---|
2706 | values when gnome support was disabled. |
---|
2707 | |
---|
2708 | * glade/*.c, glade/*.h: updated copyright messages to include 1999. |
---|
2709 | |
---|
2710 | 1999-07-28 James Henstridge <james@daa.com.au> |
---|
2711 | |
---|
2712 | * glade/glade-sax.c: the parser was saving the border_width attribute |
---|
2713 | to width, which caused a few problems. |
---|
2714 | (gladeEndDocument): removed a debugging message. |
---|
2715 | |
---|
2716 | * glade/glade-gnome.c (*_new): converted the rest of this library. |
---|
2717 | |
---|
2718 | * glade/glade-gnome.c (*_build_children): converted over all the |
---|
2719 | child building routines. Now I just need to do all the *_new |
---|
2720 | functions. |
---|
2721 | |
---|
2722 | * glade/glade-gtk.c (*): converted over to using glade-sax parser. |
---|
2723 | Now libglade.la builds again. Whether it works or not is another |
---|
2724 | matter :) |
---|
2725 | |
---|
2726 | 1999-07-27 James Henstridge <james@daa.com.au> |
---|
2727 | |
---|
2728 | * glade/Makefile.am (the_sources): added glade-sax.c. |
---|
2729 | (the_headers): added glade-widget-tree.h. |
---|
2730 | |
---|
2731 | * glade/glade-xml.c: updated to use the glade-sax parser. It no |
---|
2732 | longer includes the libxml headers. |
---|
2733 | |
---|
2734 | 1999-07-26 James Henstridge <james@daa.com.au> |
---|
2735 | |
---|
2736 | * glade/glade-styles.c (glade_style_parse): stripped out all the |
---|
2737 | style parsing code -- this is handled by glade-sax now. |
---|
2738 | |
---|
2739 | * glade/glade-tree.c: converted to cache the output of the glade-sax |
---|
2740 | parser instead of the libxml one. |
---|
2741 | |
---|
2742 | * glade/glade-widget-info.h: the structures that the new SAX parser. |
---|
2743 | This is the public interface to the parser. |
---|
2744 | |
---|
2745 | * glade/glade-sax.c: the new SAX based parser for libglade. |
---|
2746 | |
---|
2747 | 1999-07-09 James Henstridge <james@daa.com.au> |
---|
2748 | |
---|
2749 | * glade/glade-xml.c (glade_xml_gettext): return "" for a NULL msgid. |
---|
2750 | This fixes segfaults in some situations (eg. a label with no text in |
---|
2751 | it). This bug was found by Jon Travis <jtravis@cse.unl.edu>. |
---|
2752 | |
---|
2753 | 1999-06-20 James Henstridge <james@daa.com.au> |
---|
2754 | |
---|
2755 | * dialogs.glade: example of using the standard dialogs with libglade. |
---|
2756 | |
---|
2757 | * configure.in: upped version number to 0.2. |
---|
2758 | |
---|
2759 | * glade/glade-gnome.c: small clean up. |
---|
2760 | |
---|
2761 | * doc/libglade-docs.sgml: a few more changes to the documentation. |
---|
2762 | |
---|
2763 | 1999-06-19 James Henstridge <james@daa.com.au> |
---|
2764 | |
---|
2765 | * glade/glade-gnome.c (gnomedialog_build_children): connect signals |
---|
2766 | to the individual button widgets. |
---|
2767 | (messagebox_build_children): similar for the message box widget. |
---|
2768 | |
---|
2769 | * doc/libglade-docs.sgml: heaps of extra docs. This should reduce |
---|
2770 | the number of libglade questions people ask me (assuming they |
---|
2771 | read the docs of course :). |
---|
2772 | |
---|
2773 | * doc/libglade-sections.txt: added entries for the extra functions. |
---|
2774 | |
---|
2775 | * glade/glade-xml.h, glade/glade-xml.c |
---|
2776 | (glade_xml_signal_connect_full, glade_xml_signal_autoconnect_full): |
---|
2777 | Added two functions that should be useful for people wanting to write |
---|
2778 | language bindings for libglade. They allow the user to specify an |
---|
2779 | arbitrary function to use for connecting signals. |
---|
2780 | |
---|
2781 | 1999-06-17 James Henstridge <james@daa.com.au> |
---|
2782 | |
---|
2783 | * gnome-widgets.glade: made the test glade file for GNOME a bit |
---|
2784 | nicer. |
---|
2785 | |
---|
2786 | * glade/glade-gnome.c (toolbar_new): make toolbar button relief |
---|
2787 | match user preferences. |
---|
2788 | |
---|
2789 | * glade/glade-gtk.c (text_new): small bug fix to text widget creation. |
---|
2790 | |
---|
2791 | 1999-06-14 James Henstridge <james@daa.com.au> |
---|
2792 | |
---|
2793 | * glade/glade.h: moved the include of glade/glade-xml.h outside of |
---|
2794 | the extern "C" { ... } block, since it has its own extern "C" { ... } |
---|
2795 | stuff (and the extern "C" notation is not valid in C). |
---|
2796 | |
---|
2797 | * glade/glade-gtk.c (optionmenu_new, combo_new): made adjustments to |
---|
2798 | match change in libglade-xgettext. |
---|
2799 | |
---|
2800 | * libglade-xgettext (TranslatableStringParser.end_items): add list |
---|
2801 | items to translation list individually instead of as one large string. |
---|
2802 | |
---|
2803 | * glade/glade-gnome.c (gnomedialog_new, app_new): added support for |
---|
2804 | setting wmname/wmclass on these windows as well. |
---|
2805 | |
---|
2806 | * glade/glade-gtk.c: added support for GtkFileSelection, |
---|
2807 | GtkColorSelectionDialog and GtkFontSelectionDialog, including |
---|
2808 | the support for connecting signals to their buttons. |
---|
2809 | Also added support for setting the wmname/wmclass on windows. |
---|
2810 | |
---|
2811 | 1999-06-13 James Henstridge <james@daa.com.au> |
---|
2812 | |
---|
2813 | * glade/glade-gnome.c: put #ifdef's round references to |
---|
2814 | GNOME_STOCK_PIXMAP_MIDI, so it will compile with gnome-libs-1.0.1 |
---|
2815 | (Damon is keeping compatibility with that release for glade, so |
---|
2816 | I may as well do so as well). |
---|
2817 | |
---|
2818 | 1999-06-13 Richard Hestilow <hestgray@ionet.net> |
---|
2819 | |
---|
2820 | * glade/glade-xml.h, glade-build.h, glade.h: added |
---|
2821 | "#ifdef __cplusplus" wrappers, otherwise was giving linktime |
---|
2822 | errors with g++. |
---|
2823 | |
---|
2824 | 1999-06-12 James Henstridge <james@daa.com.au> |
---|
2825 | |
---|
2826 | * glade/glade-xml.c: fixed up gettext call. |
---|
2827 | |
---|
2828 | * configure.in: added a call to AM_GNOME_GETTEXT so that the i18n |
---|
2829 | stuff should get included correctly. Note that there is no libglade |
---|
2830 | translation domain -- libglade should not give any of its own output. |
---|
2831 | |
---|
2832 | 1999-06-11 James Henstridge <james@daa.com.au> |
---|
2833 | |
---|
2834 | * glade/glade-xml.[ch] (glade_xml_construct): added a third argument - |
---|
2835 | the translation domain. |
---|
2836 | (glade_xml_new_with_domain): a new constructor that allows you to |
---|
2837 | specify that this GladeXML object use a different translation |
---|
2838 | domain than the default. |
---|
2839 | |
---|
2840 | * glade/glade-xml.c (glade_xml_set_common_params): translate the |
---|
2841 | tooltips. |
---|
2842 | |
---|
2843 | * glade/glade-gnome.c: added calls to glade_xml_gettext at appropriate |
---|
2844 | places. |
---|
2845 | |
---|
2846 | * glade/glade-gtk.c: added calls to glade_xml_gettext at appropriate |
---|
2847 | places. |
---|
2848 | |
---|
2849 | * glade/glade-xml.c (glade_xml_gettext): new function to handle |
---|
2850 | translations of text in widget building routines. |
---|
2851 | |
---|
2852 | * glade/glade-xml.h: added textdomain attribute to GladeXML structure |
---|
2853 | that will hold the gettext text domain used for translations. This |
---|
2854 | is just in preparation -- I haven't added i18n to libglade yet. |
---|
2855 | |
---|
2856 | * glade/glade-xml.c (glade_xml_relative_file): small fix in call |
---|
2857 | to g_strconcat(). This one was picked up by Gary Ross. |
---|
2858 | |
---|
2859 | * glade/glade-gnome.c (get_stock_name): now reads GNOME_STOCK_PIXMAP_ |
---|
2860 | and GNOME_STOCK_MENU_ style stock names correctly. |
---|
2861 | (toolbar_new, toolbar_build_children): functions for building toolbars |
---|
2862 | that is aware of stock icons. Now the toolbars look correct. |
---|
2863 | (menu_new, menubar_new, menushell_build_children): Handle stock |
---|
2864 | menu items correctly. It even handles gnome-libs' internal |
---|
2865 | translation of stock menu item labels. |
---|
2866 | (pixmapmenuitem_new): This function does not worry about stock menu |
---|
2867 | items now. It does handle pixmaps next to the menu items though |
---|
2868 | like it should. |
---|
2869 | |
---|
2870 | * Makefile.am (bin_SCRIPTS): added libglade-xgettext. |
---|
2871 | |
---|
2872 | * libglade-xgettext: a small program that can extract translation |
---|
2873 | strings from glade XML files. Libglade itself has no i18n support |
---|
2874 | yet, but this is a start. The program can output both standard pot |
---|
2875 | files or a C file that can then be parsed by xgettext. |
---|
2876 | |
---|
2877 | 1999-06-10 James Henstridge <james@daa.com.au> |
---|
2878 | |
---|
2879 | * test-libglade.c (main): updated to call glade_gnome_init() instead |
---|
2880 | of glade_init() if GNOME support is enabled. |
---|
2881 | |
---|
2882 | * libglade.m4 (module_args): modified macro so that you can pass |
---|
2883 | `gnome' as the third argument to get GNOME support. |
---|
2884 | |
---|
2885 | * libglade-config.in: you can now pass it the arguments gtk and gnome |
---|
2886 | to indicate which widget sets you wish to use. If you specify |
---|
2887 | GNOME, the --libs output will include -lglade-gnome. |
---|
2888 | |
---|
2889 | * glade/Makefile.am: create a separate libglade-gnome library if |
---|
2890 | GNOME support is enabled. |
---|
2891 | |
---|
2892 | * glade/glade-gnome.c: implemented the GnomeApp, GnomeAppBar, |
---|
2893 | GnomeDock, GnomeDockItem and GtkPixmapItem (sort of). Just about |
---|
2894 | everything displays, except that the GNOMEUIINFO stuff, which is |
---|
2895 | not properly implemented at this point in time. |
---|
2896 | |
---|
2897 | * glade/glade-gnome.c (about_new): make the about dialog creation |
---|
2898 | routine use the values of gnome_app_id and gnome_app_version. |
---|
2899 | |
---|
2900 | * glade/glade-tree.c (recurse_tree, destroy_func): the hash table of |
---|
2901 | widget name -> xmlNode was broken. It was freeing the keys before |
---|
2902 | they were used. This bug is from when I was converting libglade |
---|
2903 | over to using xmlNodeGetContent(). It should now be possible to |
---|
2904 | use the glade_xml_new("filename", "rootnode") style of initialisation, |
---|
2905 | and signal handlers that should be connected with |
---|
2906 | gtk_signal_connect_object should now work correctly as well. |
---|
2907 | |
---|
2908 | * glade/glade-gtk.c (pixmap_new): the filename of the pixmap should |
---|
2909 | be relative to the xml file. |
---|
2910 | (toolbar_new, toolbar_build_children): fixed up toolbar support. I |
---|
2911 | used code from the examples by Craig M. Buchek and Gary Ross. The |
---|
2912 | actual implementation is different than both, but the sample code |
---|
2913 | was very helpful. |
---|
2914 | |
---|
2915 | * doc/libglade-sections.txt: added extra entries to documentation. |
---|
2916 | |
---|
2917 | * glade/glade-xml.c (glade_xml_set_common_params): new function that |
---|
2918 | exposes some of the work that glade_xml_build_widget performs. |
---|
2919 | |
---|
2920 | * glade/glade-xml.h, glade/glade-xml.c (glade_xml_relative_file): |
---|
2921 | new function that resolves a filename that is relative to the XML |
---|
2922 | file for an interface. This is useful for resolving image file |
---|
2923 | names and other external files. |
---|
2924 | |
---|
2925 | * glade/glade-xml.c (glade_xml_build_widget): make the height and |
---|
2926 | width setting code work correctly (before, setting width would unset |
---|
2927 | the height and vice versa). |
---|
2928 | |
---|
2929 | 1999-06-09 James Henstridge <james@daa.com.au> |
---|
2930 | |
---|
2931 | * Makefile.am (EXTRA_DIST): added the custom.glade and |
---|
2932 | gnome-widgets.glade examples to the distribution. |
---|
2933 | |
---|
2934 | * glade/glade-xml.h, glade/glade-xml.c: changed the second argument |
---|
2935 | name in glade_xml_signal_connect to handlername, so that people who |
---|
2936 | don't want to read the docs do not get confused as easily :) |
---|
2937 | |
---|
2938 | 1999-06-09 Michael Meeks <michael@edenproject.org> |
---|
2939 | |
---|
2940 | * glade/glade-xml.c (glade_xml_new): Added return NULL on error |
---|
2941 | (glade_xml_construct): Added boolean - success return value. |
---|
2942 | |
---|
2943 | 1999-06-08 James Henstridge <james@daa.com.au> |
---|
2944 | |
---|
2945 | * Makefile.am (confexec_DATA): install the libgladeConf.sh script. |
---|
2946 | |
---|
2947 | * libgladeConf.sh.in: A file for use with the gnome-config shell |
---|
2948 | script. |
---|
2949 | |
---|
2950 | * glade/glade-gnome.c: added support for GnomeDialog and |
---|
2951 | GnomeMessageBox. This still leaves support for GnomeApp to be done. |
---|
2952 | Before this can be finished though, I need to work out the stock |
---|
2953 | menu (GnomeUIInfo) stuff. I don't know how difficult this will be. |
---|
2954 | |
---|
2955 | 1999-06-06 Erik Walthinsen <omega@cse.ogi.edu> |
---|
2956 | |
---|
2957 | * converted libglade.spec to libglade.spec.in, made appropiate |
---|
2958 | changes in .cvsignore, Makefile.am, and configure.in. |
---|
2959 | |
---|
2960 | * added libglade.m4 to the spec file |
---|
2961 | |
---|
2962 | 1999-06-07 James Henstridge <james@daa.com.au> |
---|
2963 | |
---|
2964 | * custom.glade: an example of using custom widgets. In this example, |
---|
2965 | it creates a color selection widget, but the code could be used for |
---|
2966 | creating any widget. The custom widget code also requires that |
---|
2967 | gmodule functions correctly on the system. |
---|
2968 | |
---|
2969 | * glade/glade-xml.c, glade/glade-gtk.c: don't close the module |
---|
2970 | opened by g_module_open(NULL, 0). Reference counting does not |
---|
2971 | apear to be done on this GModule structure. |
---|
2972 | |
---|
2973 | 1999-06-06 Miguel de Icaza <miguel@gnu.org> |
---|
2974 | |
---|
2975 | * glade/glade-xml.c (glade_xml_destroy): Ok, another fix to my |
---|
2976 | previous fix: there was no actual memory leak. |
---|
2977 | |
---|
2978 | * glade/glade-gtk.c (radiobutton_new): Small bug fix to my |
---|
2979 | previous change: Glade might output radio buttons without groups. |
---|
2980 | |
---|
2981 | * glade/glade-xml.c (glade_xml_destroy): Memory leak fix: free all |
---|
2982 | the keys (they were strduped strings) when destroying hash tables. |
---|
2983 | |
---|
2984 | * glade/glade-gtk.c (radiobutton_new): Add support for |
---|
2985 | radio-button-groups. |
---|
2986 | |
---|
2987 | * glade/glade-private.h: Add new hash-table for radio-button |
---|
2988 | groups. |
---|
2989 | |
---|
2990 | * glade/glade-xml.c (glade_xml_init): Allocate private structure. |
---|
2991 | (glade_xml_destroy): free private structure. |
---|
2992 | (glade_xml_build_widget): Use data from private structure. |
---|
2993 | (glade_xml_construct): ditto. |
---|
2994 | (autoconnect_foreach): ditto. |
---|
2995 | (glade_xml_signal_autoconnect): ditto. |
---|
2996 | (glade_xml_get_widget): ditto. |
---|
2997 | (glade_xml_get_widget_by_long_name): ditto. |
---|
2998 | (glade_xml_build_widget): ditto. |
---|
2999 | (glade_xml_signal_connect): ditto |
---|
3000 | (glade_xml_add_signal): ditto. |
---|
3001 | (glade_xml_build_widget): De-ambiguate else clause here. |
---|
3002 | |
---|
3003 | * glade/glade-private.h: Moved private GladeXML members to the |
---|
3004 | GladeXMLPrivate structure. |
---|
3005 | |
---|
3006 | 1999-06-04 Miguel de Icaza <miguel@nuclecu.unam.mx> |
---|
3007 | |
---|
3008 | * glade/glade-gtk.c (optionmenu_new): Only add items if there are |
---|
3009 | any actual items. |
---|
3010 | (combo_new): ditto. |
---|
3011 | |
---|
3012 | 1999-06-03 James Henstridge <james@daa.com.au> |
---|
3013 | |
---|
3014 | * Makefile.am (m4data_DATA): install the libglade.m4 macro. |
---|
3015 | |
---|
3016 | * libglade.m4: added an autoconf macro to detect libglade. |
---|
3017 | |
---|
3018 | 1999-06-06 James Henstridge <james@daa.com.au> |
---|
3019 | |
---|
3020 | * glade/glade-gtk.c: added support for the Custom widget (the widget |
---|
3021 | is created with a user defined function). This should make it easier |
---|
3022 | to produce a complete UI from a program, using custom widgets for the |
---|
3023 | complicated parts of the UI. |
---|
3024 | |
---|
3025 | * glade/glade-gnome.c: added build routines for a few of the |
---|
3026 | widgets that are in the current CVS version of GLADE. I haven't |
---|
3027 | done wrappers for GnomeApp, GnomeDialog, GnomeMessageBox and GLADE's |
---|
3028 | GnomeUIInfo stuff. |
---|
3029 | |
---|
3030 | * glade/glade-gtk.c: removed all the GNOME specific code from this |
---|
3031 | file. Now all GNOME specific stuff is inside glade-gnome.c (except |
---|
3032 | for the initialiser in glade-init.c). |
---|
3033 | |
---|
3034 | * glade/Makefile.am: add glade-gnome.c to the library if GNOME |
---|
3035 | support is enabled. |
---|
3036 | |
---|
3037 | * glade/glade-init.c (glade_init): initialise the gnome widgets if |
---|
3038 | gnome support has been built in. |
---|
3039 | |
---|
3040 | * glade/glade-gnome.c: new file that holds all the GNOME specific |
---|
3041 | widget routines. |
---|
3042 | |
---|
3043 | * glade/glade-gtk.c: removed container_build_children function, and |
---|
3044 | changed all references to it to glade_standard_build_children. |
---|
3045 | |
---|
3046 | * glade/glade-build.h: added prototype for the function. |
---|
3047 | |
---|
3048 | * glade/glade-xml.c (glade_standard_build_children): added the |
---|
3049 | standard child building routine here, as it will be useful to |
---|
3050 | both gtk and gnome code. |
---|
3051 | (glade_get_adjustment): similar to above. |
---|
3052 | |
---|
3053 | 1999-06-06 James Henstridge <james@daa.com.au> |
---|
3054 | |
---|
3055 | * glade/glade-gtk.c: added support for the Custom widget (the widget |
---|
3056 | is created with a user defined function). This should make it easier |
---|
3057 | to produce a complete UI from a program, using custom widgets for the |
---|
3058 | complicated parts of the UI. |
---|
3059 | |
---|
3060 | * glade/glade-gnome.c: added build routines for a few of the |
---|
3061 | widgets that are in the current CVS version of GLADE. I haven't |
---|
3062 | done wrappers for GnomeApp, GnomeDialog, GnomeMessageBox and GLADE's |
---|
3063 | GnomeUIInfo stuff. |
---|
3064 | |
---|
3065 | * glade/glade-gtk.c: removed all the GNOME specific code from this |
---|
3066 | file. Now all GNOME specific stuff is inside glade-gnome.c (except |
---|
3067 | for the initialiser in glade-init.c). |
---|
3068 | |
---|
3069 | * glade/Makefile.am: add glade-gnome.c to the library if GNOME |
---|
3070 | support is enabled. |
---|
3071 | |
---|
3072 | * glade/glade-init.c (glade_init): initialise the gnome widgets if |
---|
3073 | gnome support has been built in. |
---|
3074 | |
---|
3075 | * glade/glade-gnome.c: new file that holds all the GNOME specific |
---|
3076 | widget routines. |
---|
3077 | |
---|
3078 | * glade/glade-gtk.c: removed container_build_children function, and |
---|
3079 | changed all references to it to glade_standard_build_children. |
---|
3080 | |
---|
3081 | * glade/glade-build.h: added prototype for the function. |
---|
3082 | |
---|
3083 | * glade/glade-xml.c (glade_standard_build_children): added the |
---|
3084 | standard child building routine here, as it will be useful to |
---|
3085 | both gtk and gnome code. |
---|
3086 | (glade_get_adjustment): similar to above. |
---|
3087 | |
---|
3088 | 1999-06-04 Miguel de Icaza <miguel@nuclecu.unam.mx> |
---|
3089 | |
---|
3090 | * glade/glade-gtk.c (optionmenu_new): Only add items if there are |
---|
3091 | any actual items. |
---|
3092 | (combo_new): ditto. |
---|
3093 | |
---|
3094 | 1999-06-03 James Henstridge <james@daa.com.au> |
---|
3095 | |
---|
3096 | * Makefile.am (m4data_DATA): install the libglade.m4 macro. |
---|
3097 | |
---|
3098 | * libglade.m4: added an autoconf macro to detect libglade. |
---|
3099 | |
---|
3100 | 1999-05-27 James Henstridge <james@daa.com.au> |
---|
3101 | |
---|
3102 | * libglade-config.in (libs): add gnome libraries to the link line. |
---|
3103 | (the gnome macros evaluate to nothing if gnome is not found). |
---|
3104 | |
---|
3105 | * test-libglade.c: small fix so that it will build without gnome. |
---|
3106 | |
---|
3107 | * NEWS: updated news. |
---|
3108 | |
---|
3109 | * libglade.spec: same here. Also include documentation in devel |
---|
3110 | tarball. |
---|
3111 | |
---|
3112 | * configure.in: bumped version number up to 0.1. |
---|
3113 | |
---|
3114 | 1999-05-23 Jacob Berkman <jberk+@cmu.edu> |
---|
3115 | |
---|
3116 | * doc/Makefile.am: added an if GNOME_SUPPORT |
---|
3117 | PROBLEM: make dies in doc if libglade has not been installed |
---|
3118 | yet. I tried tinkering a bit but couldn't make it work |
---|
3119 | |
---|
3120 | 1999-05-16 Raja R Harinath <harinath@cs.umn.edu> |
---|
3121 | |
---|
3122 | * glade/Makefile.am (glade-keys.c): Mention explicitly that |
---|
3123 | glade-keys.c is built in $(srcdir). |
---|
3124 | * glade/glade-gtk.c (button_stock_new): Declare type for `len'. |
---|
3125 | |
---|
3126 | 1999-05-11 James Henstridge <james@daa.com.au> |
---|
3127 | |
---|
3128 | * doc/*: use gtkdoc to generate documentation for libglade. |
---|
3129 | |
---|
3130 | * glade/glade-xml.c (glade_xml_build_widget): cleaned up some of |
---|
3131 | Damon's changes -- I had already added support for the new lowercase |
---|
3132 | signal and accelerator tags. Also added some missing documentation. |
---|
3133 | |
---|
3134 | * glade/glade-xml.h, glade/glade-build.h: a few small changes so that |
---|
3135 | the documentation builds correctly. |
---|
3136 | |
---|
3137 | * libglade-config.in: a few small changes to this script. Include |
---|
3138 | the libxml cflags in the output of --cflags. |
---|
3139 | |
---|
3140 | 1999-04-27 Miguel de Icaza <miguel@nuclecu.unam.mx> |
---|
3141 | |
---|
3142 | * glade/Makefile.am (EXTRA_DIST): for included-compilation of |
---|
3143 | libglade, include the header files manually. |
---|
3144 | |
---|
3145 | 1999-04-26 Miguel de Icaza <miguel@nuclecu.unam.mx> |
---|
3146 | |
---|
3147 | * glade/Makefile.am (INCLUDES): Include -I$(srcdir)/.. to get our |
---|
3148 | headers to have more precedence over installed headers for an |
---|
3149 | existing libglade installation. |
---|
3150 | |
---|
3151 | 1999-04-25 bertrand <Bertrand.Guiheneuf@inria.fr> |
---|
3152 | |
---|
3153 | * glade/glade-init.c (glade_load_module): typo fix. |
---|
3154 | |
---|
3155 | 1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx> |
---|
3156 | |
---|
3157 | * glade/glade-styles.c (glade_style_attach): Use g_strconcat |
---|
3158 | instead of a static buffer; |
---|
3159 | (fill_style): Use g_strdup_printf instead of static buffer. |
---|
3160 | |
---|
3161 | * glade/glade-gtk.c (label_new): Add missing call to free (content). |
---|
3162 | |
---|
3163 | |
---|
3164 | * glade/glade-gtk.c: Use <glade/glade-build.h> to fetch headers. |
---|
3165 | * glade/glade-styles.c: ditto. |
---|
3166 | * glade/glade-private.h: ditto. |
---|
3167 | |
---|
3168 | 1999-04-25 Damon Chaplin <damon@karuna.freeserve.co.uk> |
---|
3169 | |
---|
3170 | * glade/glade-xml.c (glade_xml_build_widget): The 'Signal' and |
---|
3171 | 'Accelerator' tags were changed to lower case in Glade, to be |
---|
3172 | consistent with all other widget tags, so I added support for that. |
---|
3173 | |
---|
3174 | 1999-04-24 James Henstridge <james@daa.com.au> |
---|
3175 | |
---|
3176 | * glade/Makefile.am (INCLUDES): fixed up yet anothe mistake in the |
---|
3177 | makefiles. This should allow libglade to build correctly whether |
---|
3178 | it is included as part of a larger package or not. |
---|
3179 | |
---|
3180 | * Makefile.am: removed reference to the macros directory, as they |
---|
3181 | break the gnumeric build. The problem with this is that a |
---|
3182 | distributed libglade package would not contain all the files |
---|
3183 | needed to build the configure script if you modify the Makefile.am's. |
---|
3184 | |
---|
3185 | 1999-04-24 James Henstridge <james@daa.com.au> |
---|
3186 | |
---|
3187 | * libglade-config.in: don't output -I/usr/include if that is where |
---|
3188 | the headers are, as this location is already in the search path. |
---|
3189 | |
---|
3190 | * configure.in: removed some unused substitutions. |
---|
3191 | |
---|
3192 | * Makefile.am (SUBDIRS): added macros subdirectory. |
---|
3193 | |
---|
3194 | * configure.in: set the automake conditional LIBGLADE_FULLDIST to |
---|
3195 | true. When libglade is built as part of the gnumeric build, this |
---|
3196 | configure script is not used, so the makefiles use the value of |
---|
3197 | LIBGLADE_FULLDIST from the toplevel gnumeric makefile. Also added |
---|
3198 | a call to AM_ACLOCAL_INCLUDE to find the correct macros. |
---|
3199 | |
---|
3200 | * glade/glade-init.c, glade/glade-xml.c: added gnome-libs style |
---|
3201 | documentation comments to these files, so libglade API docs can be |
---|
3202 | generated easily. |
---|
3203 | |
---|
3204 | 1999-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx> |
---|
3205 | |
---|
3206 | * glade/glade-gtk.c: Fix. If we encounter a placeholder, the code |
---|
3207 | was dereferencing a null pointer. |
---|
3208 | |
---|
3209 | (misc_set): pad is an integer, align is a float. |
---|
3210 | |
---|
3211 | 1999-04-22 Miguel de Icaza <miguel@nuclecu.unam.mx> |
---|
3212 | |
---|
3213 | * test-libglade.c (main): Add GNOME support. Use |
---|
3214 | gnome_init_with_popt_table here. Use argument parsing the popt |
---|
3215 | way. |
---|
3216 | |
---|
3217 | * Makefile.am, glade/Makefile.am: Setup for dual GTK+/GNOME |
---|
3218 | compilation. |
---|
3219 | |
---|
3220 | * glade/glade-gtk.c (button_stock_new): Add support for GNOME |
---|
3221 | stock labels. |
---|
3222 | |
---|
3223 | * configure.in (have_gnome): Add autodetection for GNOME |
---|
3224 | components. |
---|
3225 | |
---|
3226 | 1999-04-22 James Henstridge <james@daa.com.au> |
---|
3227 | |
---|
3228 | * test-libglade.c (main): argument parsing code wasn't recognising |
---|
3229 | the rootnode argument. This batch of fixes was sent in by Philippe |
---|
3230 | Giacinti (I am still reviewing the local style part of the patch). |
---|
3231 | |
---|
3232 | * glade/glade-xml.c (glade_xml_get_type): wasn't saving the object |
---|
3233 | type correctly. Caused problems if more than one GladeXML object |
---|
3234 | was created. |
---|
3235 | (glade_xml_build_widget): in newer versions of GLADE, it uses the |
---|
3236 | signal tag instead of Signal, and accelerator instead of Accelerator. |
---|
3237 | Now libglade recognises the new tags as having the same meaning. |
---|
3238 | |
---|
3239 | * glade/glade-gtk.c: some small changes for the box and dialog child |
---|
3240 | adding routines (I had GTK_PACK_START where it should have been |
---|
3241 | "GTK_PACK_START"). |
---|
3242 | |
---|
3243 | 1999-04-20 James Henstridge <james@daa.com.au> |
---|
3244 | |
---|
3245 | * configure.in: bumped required version of GTK up to 1.2.0. |
---|
3246 | |
---|
3247 | * glade/glade-xml.c, glade/glade-private.h: changed some occurences |
---|
3248 | of "char *" to "const char *" to remove warnings made by Miguel's |
---|
3249 | change. |
---|
3250 | |
---|
3251 | 1999-04-20 Erik Walthinsen <omega@cse.ogi.edu> |
---|
3252 | |
---|
3253 | * added libglade-config.in, changed Makefile.am and configure.in |
---|
3254 | to match and create libglade-config, added to spec file. |
---|
3255 | |
---|
3256 | 1999-04-10 Miguel de Icaza <miguel@nuclecu.unam.mx> |
---|
3257 | |
---|
3258 | * glade/glade-xml.h: Tag return values as "const char *" to warn |
---|
3259 | the user not to free the results of these. |
---|
3260 | |
---|
3261 | 1999-04-06 James Henstridge <james@daa.com.au> |
---|
3262 | |
---|
3263 | * glade/glade-gtk.c: a few small fixes to make libglade compile |
---|
3264 | correctly with newer versions of GTK. |
---|
3265 | |
---|
3266 | 1999-01-13 James Henstridge <james@daa.com.au> |
---|
3267 | |
---|
3268 | * autogen.sh: it wasn't calling autoheader, which caused some trouble. |
---|
3269 | |
---|
3270 | * glade/glade-gtk.c: some small changes to make it compile with newer |
---|
3271 | versions of gtk. Also made the function call changes found in |
---|
3272 | gtkcompat.h |
---|
3273 | |
---|
3274 | * glade/glade-xml.c: gtk_container_border_width -> set_border_width. |
---|
3275 | |
---|
3276 | 1998-11-17 James Henstridge <james@daa.com.au> |
---|
3277 | * glade/glade-styles.c: changed to recognise new style tags. Basically |
---|
3278 | occurences of "fg:" have been changed to "fg-", and similar for other |
---|
3279 | parts of the style code. |
---|
3280 | |
---|
3281 | 1998-11-05 James Henstridge <james@daa.com.au> |
---|
3282 | * autogen.sh: added a simple autogen shell script to help with CVS |
---|
3283 | builds. |
---|
3284 | |
---|
3285 | 1998-11-05 James Henstridge <james@daa.com.au> |
---|
3286 | * everything: added copyright messages to the code. |
---|
3287 | |
---|
3288 | 1998-11-02 James Henstridge <james@daa.com.au> |
---|
3289 | * glade/Makefile.am, configure.in: I forgot to include the makekeys.awk |
---|
3290 | file in the distribution. This may have caused problems for some |
---|
3291 | people. |
---|
3292 | |
---|
3293 | 1998-11-01 James Henstridge <james@daa.com.au> |
---|
3294 | * configure.in: added option --enable-debug. This will turn on |
---|
3295 | debugging output, which is what has been the default in the previous |
---|
3296 | version. Without this flag, the library is quiet, except for errors. |
---|
3297 | * glade/glade-xml.c, glade/makekeys.awk: added support for keyboard |
---|
3298 | accelerators. Makekeys.awk creates glade-keys.c, which handles |
---|
3299 | keysym to int conversion. If no accelerators are used in the UI |
---|
3300 | description, this adds no overhead. If there are accelerators, there |
---|
3301 | will be a hash table initialisation, and a hash table lookup for each |
---|
3302 | accelerator. |
---|
3303 | |
---|
3304 | 1998-10-31 James Henstridge <james@daa.com.au> |
---|
3305 | * glade/glade-xml.c, glade/glade-gtk.c: made changes so that libglade |
---|
3306 | works correctly with the changes Daniel made to libxml. Note that |
---|
3307 | since xmlNodeGetContent doesn't use g_malloc, free is used instead |
---|
3308 | of g_free. |
---|
3309 | Also, no strings inside the xmlDoc structure are referenced in the |
---|
3310 | GladeXML widget, so it should be possible to free the xmlDoc |
---|
3311 | structure without problems. |
---|
3312 | |
---|
3313 | 1998-10-25 James Henstridge <james@daa.com.au> |
---|
3314 | * glade/glade-gtk.c: updated for glade-0.3.5 widgets. It now supports |
---|
3315 | menus. I also fixed up the dialog child packing function. |
---|
3316 | * test.glade, simple.glade, example.glade: added some examples. |
---|
3317 | * glade/glade-init.c: added interface to extend libglade's list of |
---|
3318 | widgets dynamically. Maybe this could be used so that interfaces |
---|
3319 | are listed in the XML, and loaded on call. |
---|
3320 | * libglade.spec: a spec file for this package. |
---|
3321 | |
---|
3322 | 1998-10-23 James Henstridge <james@daa.com.au> |
---|
3323 | * glade/glade-gtk.c: new file -- this holds all the widget specific |
---|
3324 | code for all the widgets in glade-0.3.3. |
---|
3325 | * test-libglade.c: new file -- a tester program that can load |
---|
3326 | arbitrary interface files. I can actually get most interfaces to |
---|
3327 | load without problem now. |
---|
3328 | * glade/glade-xml.c: added support for automatic connection of signals |
---|
3329 | with gmodule (you can get access to the global namespace with |
---|
3330 | g_module_open(NULL, 0)). |
---|
3331 | |
---|
3332 | 1998-10-20 James Henstridge <james@daa.com.au> |
---|
3333 | * glade/glade-init.c: new file -- initialisation of libglade. |
---|
3334 | * glade/glade-tree.c: new file -- handles reading in and caching of |
---|
3335 | XML descriptions. It also extracts the widget tree, and gets the |
---|
3336 | styles parsed. |
---|
3337 | * glade/glade-styles.c: new file -- Parses styles from an XML tree |
---|
3338 | by translating them to the same format as gtkrc files and passing |
---|
3339 | them to gtk_rc_parse_string. |
---|
3340 | * glade/glade-xml.c: new file -- This file is the exposed interface |
---|
3341 | to libglade, and has code used to glue in widget sets to libglade. |
---|
3342 | |
---|