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