1 2007-02-04 Jim Evins <evins@snaught.com>
3 * src/wdgt-mini-preview.c:
4 * src/wdgt-mini-preview.h:
5 Ported widget from GnomeCanvas to Cairo.
7 2007-02-03 Jim Evins <evins@snaught.com>
9 * data/glade/template-designer.glade:
10 * src/template-designer.c:
11 * src/template-designer.h:
12 Ported GnomeDruid to GtkAssistant. Since libglade does not
13 yet support the GtkAssistant and we derive directly from
14 the Assistant, the pages are layed out in a GtkNotebook in
15 the glade description -- we then append each page to the
18 2007-01-25 Jim Evins <evins@snaught.com>
20 * data/glade/object-editor.glade:
21 Added dummy page to notebook, to prevent shadow page from
22 becoming the default current page at creation.
23 * src/view-box.c: (construct_properties_editor):
24 * src/view-ellipse.c: (construct_properties_editor):
25 * src/view-line.c: (construct_properties_editor):
26 * src/view-text.c: (construct_properties_editor):
27 Reconciled order of params.
29 2007-01-19 Jim Evins <evins@snaught.com>
31 * src/label-barcode.h:
32 * src/label-object.c: (gl_label_object_set_font_weight),
33 (gl_label_object_set_text_alignment),
34 (gl_label_object_get_font_weight),
35 (gl_label_object_get_text_alignment):
37 * src/label-text.c: (gl_label_text_instance_init), (copy),
38 (get_size), (set_font_family), (set_font_weight),
39 (set_text_alignment), (get_font_weight), (get_text_alignment):
41 * src/object-editor-text-page.c:
42 (gl_object_editor_prepare_text_page),
43 (gl_object_editor_set_font_family),
44 (gl_object_editor_set_font_weight),
45 (gl_object_editor_get_font_weight),
46 (gl_object_editor_set_text_alignment),
47 (gl_object_editor_get_text_alignment),
48 (gl_object_editor_set_text_color):
49 * src/object-editor.h:
50 * src/prefs-dialog.c: (construct_object_page),
51 (update_object_page_from_prefs), (update_prefs_from_object_page):
52 * src/prefs-model.c: (gl_prefs_model_save_settings),
53 (gl_prefs_model_load_settings):
55 * src/print.c: (draw_text_object):
56 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
57 (reset_to_default_properties), (update_text_properties),
58 (font_bold_toggled_cb), (text_align_toggled_cb):
60 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
61 (gl_util_weight_to_string), (gl_util_string_to_weight),
62 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
64 * src/view-text.c: (update_object_from_editor_cb),
65 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
66 * src/view.c: (gl_view_set_selection_text_alignment),
67 (gl_view_set_default_text_alignment),
68 (gl_view_get_default_text_alignment):
70 * src/xml-label-04.c: (xml04_parse_text_props):
71 * src/xml-label-191.c: (xml191_parse_text_props):
72 * src/xml-label.c: (xml_parse_object_text),
73 (xml_parse_toplevel_span), (xml_create_object_text),
74 (xml_create_toplevel_span):
75 Converted all model internals to Pango. GnomeFont remains in
76 view until GnomeCanvas can be replaced with a cairo-based canvas.
78 2007-01-17 Jim Evins <evins@snaught.com>
84 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
85 (gl_wdgt_print_copies_construct):
86 * src/wdgt-print-copies.h:
87 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
88 (gl_wdgt_print_merge_construct):
89 * src/wdgt-print-merge.h:
90 Removed all remaining HIG wrapper widgets.
92 2007-01-16 Jim Evins <evins@snaught.com>
99 * src/template-designer.c: (print_test_cb):
100 * src/ui-commands.c: (gl_ui_cmd_file_print):
102 Renamed PrintDialog to PrintOp. Added constructor for batch
104 * src/glabels-batch.c: (main):
105 Converted to use new PrintOp object for printing.
107 2007-01-15 Jim Evins <evins@snaught.com>
109 * data/glade/Makefile.am:
110 * data/glade/print-custom-widget.glade:
111 * src/print-dialog.c:
112 * src/print-dialog.h:
115 * src/template-designer.c: (print_test_cb):
116 * src/ui-commands.c: (gl_ui_cmd_file_print):
117 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
118 * src/wdgt-print-merge.h:
119 * src/window.c: (gl_window_init):
121 Initial conversion to GtkPrintOperation.
123 - Remove font and other libgnomeprint[ui] from elsewhere
124 - Add batch initialization of print operation
126 2007-01-08 Jim Evins <evins@snaught.com>
128 Updated dependencies. Set version to 2.1.pre4cvs.
130 2007-01-03 Jim Evins <evins@snaught.com>
133 Removed EggRecent stuff.
142 Ported from EggRecent to GtkRecentManager.
145 2007-01-02 Jim Evins <evins@snaught.com>
148 * iec16022-0.2.1/BUGS:
149 * iec16022-0.2.1/CHANGELOG:
150 * iec16022-0.2.1/CREDITS:
151 * iec16022-0.2.1/INSTALL:
152 * iec16022-0.2.1/LICENSE:
153 * iec16022-0.2.1/Makefile.am:
154 * iec16022-0.2.1/Makefile.dist:
155 * iec16022-0.2.1/README:
156 * iec16022-0.2.1/README.glabels:
157 * iec16022-0.2.1/TODO:
158 * iec16022-0.2.1/iec16022.1:
159 * iec16022-0.2.1/iec16022.c:
160 * iec16022-0.2.1/iec16022ecc200.c:
161 * iec16022-0.2.1/iec16022ecc200.h:
162 * iec16022-0.2.1/image.c:
163 * iec16022-0.2.1/image.h:
164 * iec16022-0.2.1/reedsol.c:
165 * iec16022-0.2.1/reedsol.h:
166 * iec16022-0.2.1/test/testsuite-example.bin:
167 * iec16022-0.2.1/test/testsuite-example.eps:
168 * iec16022-0.2.1/test/testsuite-example.hex:
169 * iec16022-0.2.1/test/testsuite-example.png:
170 * iec16022-0.2.1/test/testsuite-example.text:
171 * iec16022-0.2.1/test/testsuite.sh:
172 Include modified copy of iec16022-0.2.1 to provide encoding
173 support for datamatrix 2D barcodes.
178 Added initial datamatrix 2D barcode backend to barcode code.
181 Automatic updates to later versions of these files.
183 2006-11-28 Jim Evins <evins@snaught.com>
185 * data/templates/avery-iso-templates.xml:
186 * data/templates/avery-us-templates.xml:
187 * data/templates/categories.xml:
188 * data/templates/misc-iso-templates.xml:
189 * data/templates/misc-us-templates.xml:
190 * data/templates/zweckform-iso-templates.xml:
193 2006-09-12 Jim Evins <evins@snaught.com>
195 * data/dtd/glabels-2.0.dtd:
196 * data/templates/Makefile.am:
197 * data/templates/avery-iso-templates.xml:
198 * data/templates/avery-other-templates.xml:
199 * data/templates/avery-us-templates.xml:
200 * data/templates/categories.xml:
201 * data/templates/misc-iso-templates.xml:
202 * data/templates/misc-other-templates.xml:
203 * data/templates/zweckform-iso-templates.xml:
204 * data/glade/Makefile.am:
205 * data/glade/new-label-dialog.glade:
206 * data/glade/wdgt-media-select.glade:
207 * data/glade/wdgt-rotate-label.glade:
208 * libglabels/Makefile.am:
209 * libglabels/category.c:
210 * libglabels/category.h:
211 * libglabels/libglabels.h:
212 * libglabels/paper.c:
213 * libglabels/template.c:
214 * libglabels/template.h:
215 * libglabels/xml-category.c:
216 * libglabels/xml-category.h:
217 * libglabels/xml-template.c:
218 Added support for category meta data.
221 * src/mini-preview-pixbuf.c:
222 * src/mini-preview-pixbuf.h:
223 * src/new-label-dialog.c:
224 * src/new-label-dialog.h:
225 * src/wdgt-media-select.c:
226 * src/wdgt-media-select.h:
227 * src/wdgt-rotate-label.c:
228 * src/wdgt-rotate-label.h:
229 New "new label" dialog.
231 2006-05-27 Jim Evins <evins@snaught.com>
236 Preparation for 2.1.3.
242 2006-05-22 Jim Evins <evins@snaught.com>
244 * src/print.c: (draw_barcode_object):
245 Don't print "Invalid barcode data" if data field is empty. Patch provided
246 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
248 Added acknowledgment for above patch.
249 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
250 * src/bc-postnet.c: (postnet_code):
251 Removed "Invalid barcode data" warnings from stderr.
252 * src/view-barcode.c: (draw_barcode):
253 Draw box around barcode extent if data empty or invalid. Center a
254 message whether the data is empty or invalid in box.
256 2006-05-22 Jim Evins <evins@snaught.com>
258 * src/print.c: (draw_text_object):
259 Check shadow state when printing text.
261 2006-05-20 Jim Evins <evins@snaught.com>
263 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
264 (gl_ui_cmd_view_markup_toggle):
265 Fixed crash when grid or markup have been toggled off during
266 a previous session. Bug #1434324.
268 2006-04-05 Jim Evins <evins@snaught.com>
270 * src/object-editor.c: (gl_object_editor_set_key_names):
271 Fixed potential crash when freeing empty key list.
273 2006-03-11 Jim Evins <evins@snaught.com>
275 * src/print.c: (draw_text_object):
276 * src/view-text.c: (gl_view_text_new),
277 (construct_properties_editor), (update_object_from_editor_cb),
278 (update_editor_from_object_cb), (update_editor_from_label_cb),
280 Added shadow support to text object.
282 2006-02-18 Jim Evins <evins@snaught.com>
284 * src/print.c: (draw_line_object):
285 * src/view-line.c: (gl_view_line_new),
286 (construct_properties_editor), (update_canvas_item_from_object_cb),
287 (update_object_from_editor_cb), (update_editor_from_object_cb),
288 (update_editor_from_label_cb):
289 Added shadow support to line object.
291 2006-02-16 Jim Evins <evins@snaught.com>
295 * src/print.c: (draw_ellipse_object):
296 * src/view-ellipse.c: (gl_view_ellipse_new),
297 (construct_properties_editor), (update_canvas_item_from_object_cb),
298 (update_object_from_editor_cb), (update_editor_from_object_cb),
299 (update_editor_from_label_cb):
300 Added shadow support to ellipse object.
302 2006-02-15 Jim Evins <evins@snaught.com>
304 * src/label-object.c:
305 Changed default shadow offsets.
306 * src/view-box.c: (gl_view_box_new):
307 Simplified gl_view_box_new() so that is does not duplicate code
308 in update_canvas_item_from_object_cb().
310 2006-02-07 Jim Evins <evins@snaught.com>
312 * data/glade/object-editor.glade:
313 Fixed color groups of color combos.
315 Added default shadow color.
316 * src/object-editor.c: (gl_object_editor_construct_color_combo):
317 Added shadow color group.
319 2006-02-06 Jim Evins <evins@snaught.com>
321 * src/object-editor-shadow-page.c:
322 Forgot to add this file.
323 * src/view-box.c: (gl_view_box_new),
324 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
325 Update limits on shadow offset spinbuttons.
327 2006-01-19 Jim Evins <evins@snaught.com>
329 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
330 Initialize key_list to NULL.
331 * data/glade/object-editor.glade:
335 * src/label-object.c:
336 * src/label-object.h:
337 * src/object-editor-fill-page.c:
338 * src/object-editor-private.h:
339 * src/object-editor.c:
340 * src/object-editor.h:
342 Created infrastructure for shadow support.
345 Initial shadow support in box object only.
347 2006-01-05 Jim Evins <evins@snaught.com>
349 * src/merge-properties-dialog.c: (src_changed_cb):
350 Be extra paranoid before calling strcmp().
351 * src/merge.c: (gl_merge_set_src):
352 Don't make (merge == NULL) a critical error.
354 2005-12-22 Jim Evins <evins@snaught.com>
356 * src/glabels-batch.c: (main):
357 Compile warning free with gcc 4.0.
359 2005-12-21 Jim Evins <evins@snaught.com>
362 Updated example RPM spec file.
364 2005-12-21 Jim Evins <evins@snaught.com>
368 Preparation for 2.1.2.
370 2005-12-20 Jim Evins <evins@snaught.com>
373 Define unique G_LOG_DOMAIN for glabels.
374 * src/critical-error-handler.c: (gl_critical_error_handler_init):
375 * src/warning-handler.c: (gl_warning_handler_init),
377 Register for G_LOG_DOMAIN instead of NULL.
379 2005-12-10 Jim Evins <evins@snaught.com>
381 * src/merge-evolution.c:
385 2005-12-08 Jim Evins <evins@snaught.com>
387 * libglabels/paper.c: (read_paper_files_from_dir):
388 * libglabels/template.c: (gl_template_register),
389 (read_template_files_from_dir):
390 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
391 (gl_xml_paper_parse_papers_doc):
392 * libglabels/xml-template.c:
393 (gl_xml_template_read_templates_from_file),
394 (gl_xml_template_parse_templates_doc),
395 (gl_xml_template_parse_template_node),
396 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
397 (xml_parse_label_cd_node), (xml_parse_layout_node),
398 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
399 (xml_parse_markup_circle_node),
400 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
401 * libglabels/xml.c: (gl_xml_get_prop_length):
402 Re-classified g_warnings to g_messages.
404 * src/glabels.c: (main):
405 * src/warning-handler.c: (gl_warning_handler_init),
407 * src/warning-handler.h:
408 Added warning message handler to make sure the user is
409 presented with appropriate non-fatal errors.
410 * src/critical-error-handler.c: (critical_error_handler):
411 Changed exit to abort.
412 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
413 * src/bc-postnet.c: (postnet_code):
414 * src/bc.c: (id_to_index), (name_to_index):
415 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
416 * src/object-editor.c: (gl_object_notebook_construct_valist):
417 * src/prefs-dialog.c: (update_locale_page_from_prefs):
418 * src/prefs.c: (gl_prefs_get_units_per_point),
419 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
420 (gl_prefs_get_units_string):
421 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
422 * src/splash.c: (gl_splash):
423 * src/ui-commands.c: (gl_ui_cmd_help_contents):
424 * src/view-highlight.c: (gl_view_highlight_new),
425 (highlight_resizable_box_construct), (object_changed_cb),
426 (view_scale_changed_cb):
427 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
428 (draw_markup_layer), (draw_markup_margin),
429 (gl_view_object_create_mode), (canvas_event),
430 (selection_received_cb):
431 * src/wdgt-mini-preview.c: (mini_outline_list_new):
432 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
433 * src/xml-label-04.c: (gl_xml_label_04_parse),
434 (xml04_parse_media_description), (xml04_parse_text_props),
435 (xml04_parse_barcode_props):
436 * src/xml-label-191.c: (gl_xml_label_191_parse),
437 (xml191_parse_objects), (xml191_parse_object),
438 (xml191_parse_text_props), (xml191_parse_image_props),
439 (xml191_parse_barcode_props), (xml191_parse_data),
440 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
441 (xml191_parse_markup):
442 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
443 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
444 (xml_parse_object_text), (xml_parse_object_image),
445 (xml_parse_object_barcode), (xml_parse_data),
446 (xml_parse_toplevel_span), (gl_xml_label_save),
447 (xml_create_objects):
448 Re-classified g_warnings to g_messages.
449 * src/merge-evolution.c: (gl_merge_evolution_open),
450 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
451 Use g_warning to output errors encountered while
452 communicating with the evolution data server
453 instead of embedding them in the data.
455 2005-12-08 Jim Evins <evins@snaught.com>
457 * libglabels/libglabels-private.h:
459 * libglabels/paper.c: (read_papers):
460 * libglabels/template.c: (read_templates):
461 Made appropriate warnings critical.
463 * src/critical-error-handler.h:
464 * src/critical-error-handler.c: (gl_critical_error_handler_init),
465 (critical_error_handler):
466 Created critical error handler.
467 * src/glabels.c: (main):
468 Register critical error handler.
469 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
470 * src/object-editor.c: (gl_object_editor_init):
471 * src/prefs-dialog.c: (gl_prefs_dialog_init):
472 * src/template-designer.c: (gl_template_designer_init):
473 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
474 Made appropriate warnings critical.
476 2005-11-27 Jim Evins <evins@snaught.com>
478 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
479 (gl_merge_evolution_get_primary_key),
480 (gl_merge_evolution_get_record):
481 Don't create "record_key" pseudo-key. Don't populate
482 fields with null data.
484 2005-11-25 Jim Evins <evins@snaught.com>
486 * src/merge-evolution.c: (gl_merge_evolution_finalize),
487 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
488 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
490 Query EDS for all supported fields. Patch provided by
491 Austin Henry <ahenry@users.sourceforge.net>.
493 2005-10-29 Jim Evins <evins@snaught.com>
495 * src/glabels.c: (main):
496 * src/label-barcode.c: (gl_label_barcode_finalize):
497 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
498 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
499 * src/object-editor.c: (gl_object_editor_finalize):
500 Another pass at valgrinding -- plugged several memory leaks.
501 * src/view-text.c: (gl_view_text_new),
502 (update_canvas_item_from_object_cb), (draw_hacktext):
503 Commented out artifacts of edit-in-place code.
505 2005-10-28 Jim Evins <evins@snaught.com>
507 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
508 Fixed use of uninitialized variable. Caught by
509 d binderman <dcb314@hotmail.com>.
511 2005-10-27 Jim Evins <evins@snaught.com>
513 * src/merge-evolution.c: (gl_merge_evolution_get_record):
514 * src/merge-vcard.c: (gl_merge_vcard_get_record),
516 Additional cleanup of EDS and vcard backends. Provided by
517 Austin Henry <ahenry@users.sourceforge.net>.
519 2005-10-24 Jim Evins <evins@snaught.com>
523 * src/merge-evolution.c:
524 * src/merge-evolution.h:
525 * src/merge-init.c: (gl_merge_init):
526 * src/merge-properties-dialog.c: (type_changed_cb):
529 * src/ui-commands.c: (gl_ui_cmd_help_about):
530 Added Evolution Data Server and VCard merge backends. Original patch
531 provided by Austin Henry <ahenry@users.sourceforge.net>.
533 Only support EDS and VCard backends if libebook is installed. Allow
534 user to disable support, even if installed.
536 2005-10-24 Jim Evins <evins@snaught.com>
539 * data/templates/avery-iso-templates.xml:
540 * data/templates/avery-us-templates.xml:
541 * data/templates/misc-iso-templates.xml:
542 * data/templates/zweckform-iso-templates.xml:
543 Collected all template changes and submissions since last
546 2005-10-23 Jim Evins <evins@snaught.com>
549 * data/mime/Makefile.am:
550 Added configure options to disable update-mime-database and
551 update-desktop-database as part of the install. Patch
552 provided by Leonardo Boshell (qhoracio@sourceforge.net).
554 2005-10-23 Jim Evins <evins@snaught.com>
557 * libglabels/xml.c: (gl_xml_get_prop_string),
558 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
559 (gl_xml_is_node), (gl_xml_get_node_content):
560 Added new XML utility functions.
561 * libglabels/xml-paper.c:
562 * libglabels/xml-template.c:
564 Cleanup by using new xml utilities created above.
565 * libglabels/paper.c: (gl_paper_free):
566 * src/file.c: (new_response):
567 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
568 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
569 (gl_pixbuf_cache_get_pixbuf):
570 * src/ui-property-bar.c:
571 (gl_ui_property_bar_construct_color_combo):
572 * src/view-highlight.c: (gl_view_highlight_finalize):
573 * src/view-image.c: (update_object_from_editor_cb):
574 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
575 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
576 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
577 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
578 (draw_markup_margin_round), (draw_markup_margin_cd),
579 (draw_markup_margin_cd_bc):
580 * src/wdgt-mini-preview.c: (mini_outline_list_new):
581 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
582 Plugged various memory leaks located with valgrind.
583 * src/view-image.c: (update_canvas_item_from_object_cb):
584 Don't allow a width or height of zero when drawing pixbuf.
586 2005-10-22 Jim Evins <evins@snaught.com>
588 * libglabels/xml-paper.c:
589 * libglabels/xml-template.c:
592 * src/bc-gnubarcode.c:
593 * src/canvas-hacktext.c:
595 * src/object-editor-data-page.c:
596 * src/print-dialog.c:
599 * src/template-designer.c:
601 * src/ui-property-bar.c:
603 * src/view-barcode.c:
605 * src/view-ellipse.c:
610 * src/wdgt-media-select.c:
611 * src/xml-label-04.c:
612 * src/xml-label-191.c:
614 Modified to compile warning free with gcc-4.0. Mostly
615 casting to change signedness of characters. Did not
616 attack gnu-barcode library yet.
618 2005-10-22 Jim Evins <evins@snaught.com>
620 * src/glabels.c: (main):
621 * src/splash.c: (gl_splash):
622 Removed some small memory leaks.
626 2005-09-19 Jim Evins <evins@snaught.com>
628 * data/glade/property-bar.glade:
629 Remove items from font_family_combo. This prevents the
630 double entry after adding text model and list of fonts.
631 * src/ui-property-bar.c: (reset_to_default_properties):
632 Free font_family_list.
634 2005-07-01 Jim Evins <evins@snaught.com>
637 Updated italian translation (Daniele Medri)
639 2005-06-26 Jim Evins <evins@snaught.com>
641 * docs/libglabels/libglabels-decl-list.txt:
642 Somehow never got checked in before.
643 * docs/libglabels/libglabels.types:
644 Removed -- don't need it afterall.
646 2005-06-20 Jim Evins <evins@snaught.com>
649 Final prep for 2.1.1 release.
651 2005-06-20 Jim Evins <evins@snaught.com>
654 Final preps for 2.1.1 release.
655 * docs/libglabels/libglabels.types:
656 Somehow never got checked in before.
658 Bring up-to-date with recent reorg of ui code.
661 2005-06-19 Jim Evins <evins@snaught.com>
663 * src/template-designer.c: (construct_layout_page):
664 Removed attempt to match background color of mini preview widget to
667 2005-06-17 Jim Evins <evins@snaught.com>
669 * help/C/figures/merge-ex2-4.png:
670 * help/C/glabels.xml:
671 Fixed spelling error.
673 2005-06-13 Jim Evins <evins@snaught.com>
675 * help/C/figures/merge-ex1-1.png:
676 * help/C/figures/merge-ex1-2.png:
677 * help/C/figures/merge-ex1-3.png:
678 * help/C/figures/merge-ex1-4.png:
679 * help/C/figures/merge-ex2-1.png:
680 * help/C/figures/merge-ex2-2.png:
681 * help/C/figures/merge-ex2-3.png:
682 * help/C/figures/merge-ex2-4.png:
683 Added figures for document merge tutorial.
684 * help/C/glabels.xml:
685 Added document merge tutorial.
687 2005-05-19 Jim Evins <evins@snaught.com>
689 * data/glade/merge-properties-dialog.glade:
690 Fixed irregular spacing.
691 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
692 (gl_merge_properties_dialog_construct):
693 Set outer padding and remove separator.
695 2005-05-18 Jim Evins <evins@snaught.com>
699 Removed glHigDialog class.
700 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
701 (gl_file_properties), (create_properties_dialog_widgets):
702 * src/prefs-dialog.h:
703 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
704 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
705 * src/print-dialog.h:
706 * src/prefs-dialog.h:
707 * src/print-dialog.c: (gl_print_dialog_get_type),
708 (gl_print_dialog_init), (gl_print_dialog_construct):
709 Replaced all instances of glHigDialog with GtkDialog.
711 2005-05-17 Jim Evins <evins@snaught.com>
715 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
716 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
717 (save_as_response), (gl_file_close):
718 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
720 2005-05-15 Jim Evins <evins@snaught.com>
730 A little code reformatting -- no functional changes.
732 2005-05-14 Jim Evins <evins@snaught.com>
735 Removed obsolete macros.
737 Added marshalling template to support new view signal: "context_menu_activate."
739 * src/view.c: (gl_view_class_init), (gl_view_construct),
740 (canvas_event_arrow_mode):
741 - Removed hardcoded context menus and added new signal "context_menu_activate"
742 to push this up to the uimanager.
743 - Removed merge properties and print dialogs so that they can be managed with
744 the window by the uimanager.
745 * src/merge-properties-dialog.h:
746 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
747 (gl_merge_properties_dialog_construct):
748 Changed calling convention of gl_merge_properties_dialog_new() to use
749 glLabel and GtkWindow instead of view to make more consistent with other
751 * src/print-dialog.h:
752 * src/print-dialog.c: (gl_print_dialog_new),
753 (gl_print_dialog_construct):
754 Removed last artifact of libbonoboui.
755 * src/ui-commands.c: (gl_ui_cmd_file_print),
756 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
757 Reconciled style for launching dialogs.
758 * src/ui.c: (gl_ui_new):
759 Added context menus to ui manager.
760 * src/view-object.c: (item_event_arrow_mode):
761 No longer try to select objects with right-click.
763 * src/window.c: (gl_window_init), (gl_window_set_label),
764 (context_menu_activate_cb):
765 Context menus and all dialogs are now managed in a consistent way in window
768 2005-05-11 Jim Evins <evins@snaught.com>
771 * src/window.c: (gl_window_init), (gl_window_destroy):
772 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
773 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
774 Moved management of recent_view back from window.c to ui.c -- it just feels
777 2005-05-10 Jim Evins <evins@snaught.com>
780 * src/window.c: (gl_window_init):
782 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
783 (menu_item_select_cb), (menu_item_deselect_cb):
784 Added GtkStatusbar which displays menu tooltips.
786 2005-05-09 Jim Evins <evins@snaught.com>
788 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
793 Removed dependencies on libbonoboui.
795 * data/ui/Makefile.am:
796 * data/ui/glabels-ui.xml:
797 Removed data/ui directory.
798 * data/glade/Makefile.am:
799 * data/property-bar.glade:
800 Added glade description of property-bar for new libglade implementation
809 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
810 since the distinction between "commands" and "tools" is no longer that clear.
813 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
814 no longer has knowledge of eggRecent*.
815 * src/glabels.c: (main):
816 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
818 * src/object-editor.c: (gl_object_editor_init):
819 Make sure notebook does not respond to a "show_all" on the parent.
820 * src/recent-files/Makefile.am:
821 * src/recent-files/*.[ch]
822 Updated from latest version of libegg which now has a view based on
823 GtkUIManager. Removed unused bonobo and gtk views.
824 * src/ui-property-bar.h:
825 * src/ui-property-bar.c:
826 New implementation based on libglade.
829 Sidebar is now simply a GtkWidget and does not expect to be a part of
830 a libbonoboui interface.
835 Converted for use with GtkUIManager.
838 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
839 to create menus and toolbars.
841 2005-04-25 Jim Evins <evins@snaught.com>
843 * data/templates/misc-iso-templates.xml:
844 Added Fellows 04715 template provided by Steve Saxon.
846 Updated acknowledgement for above.
848 2005-04-23 Jim Evins <evins@snaught.com>
850 * src/util.c: (gl_util_combo_box_set_strings):
851 Make sure to clear model before loading a new list of strings.
852 * src/wdgt-media-select.h:
853 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
854 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
855 (template_combo_changed_cb), (prefs_changed_cb),
856 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
857 (gl_wdgt_media_select_get_page_size),
858 (gl_wdgt_media_select_set_page_size):
859 Replaced the deprecated GtkCombo widget with the new
862 2005-04-21 Jim Evins <evins@snaught.com>
864 * data/glade/template-designer.glade:
865 * src/template-designer.c: (construct_pg_size_page),
866 (pg_size_page_changed_cb), (build_template):
867 Replaced the deprecated GtkCombo widget with the new
870 2005-04-20 Jim Evins <evins@snaught.com>
872 * data/glade/prefs-dialog.glade:
873 * src/prefs-dialog.c: (construct_object_page),
874 (update_object_page_from_prefs), (update_prefs_from_object_page):
875 Replaced the deprecated GtkCombo widget with the new
878 2005-04-19 Jim Evins <evins@snaught.com>
880 * data/glade/object-editor.glade:
881 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
882 (style_changed_cb), (gl_object_editor_set_bc_style),
883 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
884 (gl_object_editor_get_bc_color):
885 * src/object-editor-data-page.c:
886 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
887 (gl_object_editor_get_data):
888 * src/object-editor-edit-page.c:
889 (gl_object_editor_prepare_edit_page), (insert_button_cb):
890 * src/object-editor-fill-page.c:
891 (gl_object_editor_prepare_fill_page),
892 (gl_object_editor_set_fill_color),
893 (gl_object_editor_get_fill_color):
894 * src/object-editor-image-page.c:
895 (gl_object_editor_prepare_image_page),
896 (gl_object_editor_set_image), (gl_object_editor_get_image):
897 * src/object-editor-line-page.c:
898 (gl_object_editor_prepare_line_page),
899 (gl_object_editor_set_line_color),
900 (gl_object_editor_get_line_color):
901 * src/object-editor-private.h:
902 * src/object-editor-text-page.c:
903 (gl_object_editor_prepare_text_page),
904 (gl_object_editor_set_font_family),
905 (gl_object_editor_get_font_family),
906 (gl_object_editor_set_text_color),
907 (gl_object_editor_get_text_color):
908 * src/object-editor.c: (gl_object_editor_set_key_names):
910 In the object editor: replaced all instances of the deprecated
911 GtkCombo widget with the new GtkComboBox.
913 2005-04-18 Jim Evins <evins@snaught.com>
916 Neglected to save this one in previous checkin to support
919 2005-04-17 Jim Evins <evins@snaught.com>
921 * libglabels/libglabels-private.h:
922 * libglabels/paper.c:
923 * libglabels/paper.h:
924 * libglabels/template.c:
925 * libglabels/template.h:
926 * libglabels/xml-paper.c:
927 * libglabels/xml-paper.h:
928 * libglabels/xml-template.c:
933 * src/bc-gnubarcode.c:
944 * src/label-barcode.c:
946 * src/label-ellipse.c:
950 * src/label-object.c:
954 * src/merge-properties-dialog.c:
955 * src/object-editor-bc-page.c:
956 * src/object-editor-data-page.c:
957 * src/object-editor-edit-page.c:
958 * src/object-editor-fill-page.c:
959 * src/object-editor-image-page.c:
960 * src/object-editor-line-page.c:
961 * src/object-editor-lsize-page.c:
962 * src/object-editor-position-page.c:
963 * src/object-editor-private.h:
964 * src/object-editor-size-page.c:
965 * src/object-editor-text-page.c:
966 * src/object-editor.c:
967 * src/object-editor.h:
968 * src/pixbuf-cache.h:
969 * src/prefs-dialog.c:
970 * src/prefs-dialog.h:
974 * src/print-dialog.c:
975 * src/print-dialog.h:
983 * src/template-designer.c:
984 * src/template-designer.h:
987 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
993 * src/view-barcode.c:
995 * src/view-ellipse.c:
996 * src/view-highlight.c:
997 * src/view-highlight.h:
1000 * src/view-object.c:
1001 * src/view-object.h:
1005 * src/wdgt-chain-button.c:
1006 * src/wdgt-media-select.c:
1007 * src/wdgt-media-select.h:
1008 * src/wdgt-mini-preview.c:
1009 * src/wdgt-mini-preview.h:
1010 * src/wdgt-print-copies.c:
1011 * src/wdgt-print-copies.h:
1012 * src/wdgt-print-merge.c:
1013 * src/wdgt-print-merge.h:
1014 * src/wdgt-rotate-label.c:
1015 * src/wdgt-rotate-label.h:
1018 * src/xml-label-04.c:
1019 * src/xml-label-191.c:
1021 Cleanup of header files:
1022 - all header files are now stand-alone, verified by including
1023 first in corresponding "c" files
1024 - replaced blanket includes of gnome, gtk, and glib with
1027 2005-04-16 Jim Evins <evins@snaught.com>
1029 * data/glade/Makefile.am:
1030 * data/glade/merge-properties-dialog.glade:
1031 Added merge properties dialog glade description file.
1032 * src/merge-properties-dialog.h:
1033 * src/merge-properties-dialog.c:
1034 (gl_merge_properties_dialog_get_type),
1035 (gl_merge_properties_dialog_init),
1036 (gl_merge_properties_dialog_finalize),
1037 (gl_merge_properties_dialog_new),
1038 (gl_merge_properties_dialog_construct), (type_changed_cb),
1039 (src_changed_cb), (response_cb), (load_tree),
1040 (record_select_toggled_cb), (select_all_button_clicked_cb),
1041 (unselect_all_button_clicked_cb):
1042 Modified merge properties dialog to use libglade. Added
1043 "select all" and "unselect all" buttons.
1044 * src/merge-text.c: (parse_line):
1045 Handle empty lines better.
1046 * src/merge.c: (gl_merge_eval_key):
1047 Evaluate the key whether the record is selected or not.
1049 * src/util.c: (gl_util_combo_box_add_text_model):
1050 Since libglade does not use the gtk_combo_box_new_text()
1051 constructor for GtkComboBoxes, a utility function was created
1052 to add an appropriate text model to a GtkComboBox.
1053 * src/view.c: (gl_view_edit_merge_props):
1054 Removed unnecessary "show all's".
1056 2005-04-15 Jim Evins <evins@snaught.com>
1059 Updated russian translation (Vitaly Lipatov)
1060 * data/templates/misc-iso-templates.xml:
1061 Added templates for russian business cards provided by Vitaly Lipatov.
1063 Updated acknowledgements for above.
1065 2005-04-15 Jim Evins <evins@snaught.com>
1067 * data/templates/avery-us-templates.xml:
1068 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1069 * data/templates/misc-iso-templates.xml:
1070 Added Ryman standard CD/DVD template, provided by Dan Clark.
1072 Added acknowledgements for above.
1074 2005-04-10 Jim Evins <evins@snaught.com>
1076 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1077 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1078 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1079 (xml_parse_label_cd_node), (xml_parse_alias_node):
1080 * libglabels/xml.c: (gl_xml_get_prop_double),
1081 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1082 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1083 * src/xml-label-04.c: (xml04_parse_media_description),
1084 (xml04_parse_text_props), (xml04_parse_barcode_props),
1085 (xml04_parse_merge_properties):
1086 * src/xml-label-191.c: (xml191_parse_object),
1087 (xml191_parse_text_props), (xml191_parse_barcode_props),
1088 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1089 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1090 (xml191_parse_alias):
1091 * src/xml-label.c: (xml_parse_object_text),
1092 (xml_parse_object_barcode), (xml_parse_merge_fields),
1093 (xml_parse_pixdata), (xml_parse_toplevel_span):
1094 Make sure to use xmlFree for anything obtained from libxml
1095 in case libxml and glib use different memory management
1098 2005-04-08 Jim Evins <evins@snaught.com>
1101 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1102 (gl_util_combo_box_set_active_text):
1103 Added utility functions to simplify working with GtkComboBox
1105 * src/ui-property-bar.h:
1106 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1107 (reset_to_default_properties), (update_text_properties),
1108 (font_family_changed_cb):
1109 Replaced deprecated GtkCombo with GtkComboBox.
1112 2005-04-03 Jim Evins <evins@snaught.com>
1115 * src/wdgt-image-select.h:
1116 * src/wdgt-image-select.c:
1117 Removed obsolete wdgt-image-select.[ch] files.
1118 * libglabels/paper.c: (gl_paper_dup):
1119 Fixed rename of parameter introduced during documentation
1121 * data/glade/object-editor.glade:
1122 * src/object-editor-image-page.c:
1123 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1124 (gl_object_editor_set_image), (gl_object_editor_get_image),
1125 (update_preview_cb), (add_image_filters_to_chooser):
1126 * src/object-editor-private.h:
1127 Replaced deprecated GnomePixmapEntry with
1128 GtkFileChooserButton.
1130 2005-04-02 Jim Evins <evins@snaught.com>
1132 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1133 (mygal_combo_box_popup_hide_unconditional),
1134 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1135 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1136 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1137 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1138 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1139 Renamed all internal gtk_combo functions to mygal_combo
1140 to prevent namespace confusion.
1142 2005-04-02 Jim Evins <evins@snaught.com>
1144 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1145 (cust_color_set), (color_palette_setup):
1146 * src/mygal/color-palette.h:
1147 Replaced deprecated GnomeColorPicker with GtkColorButton.
1149 2005-04-02 Jim Evins <evins@snaught.com>
1151 * docs/libglabels/libglabels-sections.txt:
1152 * docs/libglabels/libglabels-undocumented.txt:
1153 * docs/libglabels/tmpl/enums.sgml:
1154 * docs/libglabels/tmpl/paper.sgml:
1155 * docs/libglabels/tmpl/xml-paper.sgml:
1156 * docs/libglabels/tmpl/xml-template.sgml:
1157 * libglabels/enums.h:
1158 * libglabels/paper.c: (gl_paper_dup):
1159 * libglabels/paper.h:
1160 * libglabels/xml-paper.c:
1161 * libglabels/xml-template.c:
1162 More documentation updates for libglabels.
1164 2005-03-23 Jim Evins <evins@snaught.com>
1167 Automatically updated.
1172 * docs/libglabels/Makefile.am:
1173 * docs/libglabels/libglabels-docs.sgml:
1174 * docs/libglabels/libglabels-sections.txt:
1175 * docs/libglabels/libglabels-undocumented.txt:
1176 * docs/libglabels/tmpl/enums.sgml:
1177 * docs/libglabels/tmpl/libglabels-unused.sgml:
1178 * docs/libglabels/tmpl/libglabels.sgml:
1179 * docs/libglabels/tmpl/paper.sgml:
1180 * docs/libglabels/tmpl/template.sgml:
1181 * docs/libglabels/tmpl/xml-paper.sgml:
1182 * docs/libglabels/tmpl/xml-template.sgml:
1183 * docs/libglabels/tmpl/xml.sgml:
1184 Added basic gtk-doc stuff to support documenting libglabels
1187 Updated function comments with gtk-doc markup.
1191 2005-03-22 Jim Evins <evins@snaught.com>
1193 Since the development version now requires gtk-2.6/gnome-2.10, I
1194 have made a first pass at removing deprecations.
1197 * libglabels/Makefile.am:
1199 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1200 Also removed all remnants of HAVE_FILECHOOSER.
1201 * src/file.c: (gl_file_open_real):
1202 Removed code for old GtkFileSelection.
1203 * libglabels/libglabels-private.h:
1204 * libglabels/paper.c:
1205 * libglabels/template.c:
1206 * libglabels/xml-paper.c:
1207 * libglabels/xml-template.c:
1211 * src/glabels-batch.c:
1215 * src/merge-properties-dialog.c:
1217 * src/object-editor.c:
1218 * src/prefs-dialog.c:
1220 * src/print-dialog.c:
1223 * src/template-designer.c:
1224 * src/ui-property-bar.c:
1226 * src/view-barcode.c:
1228 * src/view-ellipse.c:
1233 * src/wdgt-image-select.c:
1234 * src/wdgt-media-select.c:
1235 * src/wdgt-print-copies.c:
1236 * src/wdgt-print-merge.c:
1237 * src/wdgt-rotate-label.c:
1239 * src/xml-label-04.c:
1240 * src/xml-label-191.c:
1242 Added '#include <glib/gi18n.h>" where needed.
1243 Removed any unused '#include <gnome.h>"s.
1245 2005-03-22 Jim Evins <evins@snaught.com>
1247 * src/commands.c: (activate_url), (gl_cmd_help_about):
1248 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1249 development version of glabels now depends on GTK 2.6 and
1252 Updated library dependencies.
1254 2005-02-28 Jim Evins <evins@snaught.com>
1257 * data/templates/misc-iso-templates.xml:
1258 Added 'Ednet 45021' template provided by Ali Akcaagac
1261 2005-02-14 Jim Evins <evins@snaught.com>
1263 * data/templates/avery-us-templates.xml:
1264 Updated templates to use inches instead of points.
1265 * src/print-dialog.c: (printer_page_new):
1266 Changed packing style when adding printer selector widget. This fixes
1269 2005-02-13 Jim Evins <evins@snaught.com>
1273 Updated spanish translations. (sergio rivadero)
1275 2005-02-05 Jim Evins <evins@snaught.com>
1277 Some cleanup to libglabels.
1280 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1281 * libglabels/libglabels.pc.in
1283 * libglabels/enums.h
1284 Created. Currently only contains glUnitsType which provides enumerations
1285 for all possible units of distance.
1286 * libglabels/Makefile.am:
1287 Incorporated new files enums.h and libglabels.pc[.in].
1288 * libglabels/libglabels.h:
1290 * libglabels/template.h:
1291 * libglabels/template.c: (gl_template_layout_new):
1292 Changed parameters nx and ny to gint from gdouble.
1294 * libglabels/xml.c: (gl_xml_get_prop_length),
1295 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1296 Added support for different output units.
1297 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1298 (update_prefs_from_locale_page):
1299 * src/prefs-model.c: (string_to_units), (units_to_string):
1300 * src/prefs-model.h:
1301 * src/prefs.c: (gl_prefs_get_units_per_point),
1302 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1303 (gl_prefs_get_units_string):
1305 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1306 Reconciled all length enumerations with the new enumerations provided
1307 in libglabels/enums.h.
1309 2005-02-03 Jim Evins <evins@snaught.com>
1312 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1314 Updated Italian translations. (Daniele Medri)
1316 Updated credits to reflect above translations.
1319 2005-01-22 Jim Evins <evins@snaught.com>
1324 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1326 Final prep for 2.1.0.
1328 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1330 Added '--remove-original' flag to desktop-file-install, so that there is
1331 only one menu entry.
1333 2005-01-20 Jim Evins <evins@snaught.com>
1335 * data/glade/object-editor.glade:
1336 - Font family entry should not be editable.
1337 - img_key_entry should have sensitivity=YES, so that it follows the
1338 sensitivity of img_key_combo.
1340 2005-01-19 Jim Evins <evins@snaught.com>
1343 Give credit to Frederic Ruaudel for the color merge patches.
1345 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1347 Add support to merge color for all other color attribute (Feature
1348 Requests item #1008635. If the data is invalid, the color used is transparent
1349 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1350 by gdk_color_parse() these include name for a color from rgb.txt, such as
1351 DarkSlateGray, or a hex specification such as #305050. File format has been
1352 changed but backward compatibility is preserved for all format. For
1353 box/ellipse/line, keep attribute "line_color" for static color or replace by
1354 "line_color_field" for merge data. For text/barcode objects, keep attribute
1355 "color" for static color or replace by "color_field" for merge data. In the
1356 edit canvas window, merged color are represented by half-transparent black
1359 * data/dtd/glabels-2.0.dtd:
1360 Added line_color_field to line_attrs. Added color_field to
1361 Object-barcode and Span.
1362 * data/glade/object-editor.glade:
1363 Modify the layout of the editor to add merge possibility to color options
1365 Fix a copy/paste error in a comment
1367 Add default color for merge color representation in the editor canvas.
1368 * src/label-barcode.c:
1369 * src/object-editor-bc-page.c:
1370 * src/view-barcode.c:
1371 Add merge color support for barcode color.
1374 Add merge color support for box border color.
1375 * src/label-ellipse.c:
1376 * src/view-ellipse.c:
1377 Add merge color support for ellipse border color.
1380 Add merge color support for line color.
1381 * src/label-object.c:
1382 * src/label-object.h:
1383 * src/object-editor.c:
1384 * src/object-editor.h:
1385 * src/ui-property-bar.c:
1388 * src/xml-label-04.c:
1389 * src/xml-label-191.c:
1390 Add support for merging to other color attribute.
1392 * src/object-editor-text-page.c:
1394 Add merge color support for text color.
1395 * src/object-editor-fill-page.c:
1396 Change a blocked handler that didn't match the good widget. Fix the type
1397 of some debug message.
1398 * src/object-editor-line-page.c:
1399 Add merging support to line color option.
1400 * src/object-editor-private.h:
1401 Add variables for new widget.
1403 Modify the draw functions to get merge data if needed.
1405 Change the default size of the window in order to see all widget in the
1406 "text style tab" of the editor.
1408 Modify the parser to record/retreive the field value for objects that need
1409 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1410 static color or replace by "line_color_field" for merge data. For
1411 text/barcode objects, keep attribute "color" for static color or replace
1412 by "color_field" for merge data.
1414 2005-01-17 Jim Evins <evins@snaught.com>
1416 * src/view.c: (screen_changed_cb):
1417 Don't do anything if we don't have a screen.
1419 2005-01-06 Jim Evins <evins@snaught.com>
1421 * src/view.c: (get_home_scale):
1422 Fixed bad call to gtk_widget_has_screen() -- huh?.
1424 2005-01-06 Jim Evins <evins@snaught.com>
1426 * data/dtd/glabels-2.0.dtd:
1427 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1430 2005-01-06 Jim Evins <evins@snaught.com>
1432 * data/glade/object-editor.glade:
1433 Set entries for fill and data field key dropdowns to NOT editable.
1434 * src/view-box.c: (construct_properties_editor):
1435 * src/view-ellipse.c: (construct_properties_editor):
1436 Update object editor when label's merge property has changed.
1437 * src/xml-label.c: (xml_parse_object_ellipse):
1438 Completed the merge color support for the ellipse item.
1440 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1442 Add support to merge color for object that have a "Fill color" attribute (Feature
1443 Requests item #1008635. If the data is invalid, the color used is transparent
1444 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1445 by gdk_color_parse() these include name for a color from rgb.txt, such as
1446 DarkSlateGray, or a hex specification such as #305050. File format has been
1447 changed but backward compatibility is preserved for all format. For box/ellipse,
1448 keep attribute "fill_color" for static color or replace by "fill_color_field"
1451 * data/glade/object-editor.glade:
1452 Modify "Fill" tab to add the merge key combo and convert the labels into
1456 Add "glColorNode" structure and associated functions to manage it. This
1457 structure is equivalent for color than the "glTextNode". It holds the color
1459 * src/label-object.h:
1460 * src/label-object.c:
1462 * src/label-ellipse.c:
1463 * src/ui-property-bar.c:
1467 * src/view-ellipse.c:
1468 * src/xml-label-04.c:
1469 * src/xml-label-191.c:
1470 Change functions of objects that have a "fill color" attribute to use the
1471 new "glColorNode" structure. Use barcode code as example.
1473 Add the color.[ch] file to glabels_batch binary that now need support for
1475 * src/object-editor.h:
1476 * src/object-editor.c:
1477 * src/object-editor-fill-page.c:
1478 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1479 to choose between static color or merge key. Use barcode code as example.
1480 * src/object-editor-private.h:
1481 Add new widget in the "_glObjectEditorPrivate" structure.
1483 Modify the draw functions to get merge data if needed.
1485 Modify the parser to record/retreive the field value for objects that need
1486 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1487 color or "fill_color_field" for merge data.
1489 2005-01-04 Jim Evins <evins@snaught.com>
1492 * data/templates/avery-iso-templates.xml:
1493 * data/templates/misc-iso-templates.xml:
1494 * data/templates/misc-us-templates.xml:
1495 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1498 2004-11-26 Jim Evins <evins@snaught.com>
1502 Updated french translations provided by Florent Morel <florent@taket.org>.
1503 * src/view-barcode.c:
1505 * src/view-ellipse.c:
1509 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1510 thus _() strings were not being translated.
1512 2004-11-14 Jim Evins <evins@snaught.com>
1515 * src/debug.c: (gl_debug_init), (gl_debug):
1516 Borrowed from gedit: use environmental variables to select debug
1519 Removed unused include of debug.h.
1520 * src/glabels.c: (main):
1521 Added call to gl_debug_init(), and removed debug clutter from command line
1523 * src/glabels-batch.c: (main):
1524 Added call to gl_debug_init().
1526 2004-11-13 Jim Evins <evins@snaught.com>
1528 Drawing and property toolbars were being initialized with the "icons and text"
1529 look in Fedora Core 3. Even though none of the buttons had any text attached to
1530 them, the buttons were being sized as if they were. This led to less real estate
1531 for the property editor, leading to Bug #1064630. The
1533 * data/ui/glabels-ui.xml:
1534 Added explicit "look" property to both drawing and property toolbars.
1535 * src/prefs-model.c: (gl_prefs_model_save_settings),
1536 (gl_prefs_model_load_settings):
1537 * src/prefs-model.h:
1538 Removed drawing_toolbar_button_style configuration parameter.
1539 * src/ui.c: (view_menu_item_toggled_cb),
1540 (set_app_drawing_toolbar_style):
1541 Do not attempt to adjust look property of the drawing toolbar.
1543 2004-10-28 Jim Evins <evins@snaught.com>
1545 * data/pixmaps/glabels-about-logo.png:
1548 2004-10-28 Jim Evins <evins@snaught.com>
1550 * data/man/glabels.1:
1551 * src/glabels-batch.c: (main):
1553 * src/print.c: (gl_print_batch):
1555 Added option to glabels-batch to select the first label to begin
1558 2004-09-26 Jim Evins <evins@snaught.com>
1560 * data/desktop/glabels.desktop.in:
1561 Point to app icon, "glabels.png"
1562 * data/mime/glabels.keys.in:
1563 Point at mime icon, "glabels-application-x-glabels.png"
1564 * data/pixmaps/Makefile.am:
1565 Added glabels_app_icondir. Renamed icons.
1566 * data/pixmaps/glabels.png:
1567 New cleaned up app icon. Deleted glabels-icon.png.
1568 * data/pixmaps/glabels-application-x-glabels.png:
1570 * data/pixmaps/glabels-splash.png:
1571 Renamed glabels-logo to glabels-splash to be more correct about role.
1573 * src/template-designer.c:
1574 Point at app icon, "glabels.png"
1576 Point at renamed splash image, "glabels-splash.png"
1578 2004-08-22 Jim Evins <evins@snaught.com>
1581 * src/glabels-batch.c: (main):
1582 Applied patch with minor mods to allow selecting merge source and
1583 crop-marks on glabels-batch's command line. Original patch provided by
1584 José Dapena Paz <jdapena@igalia.com>.
1586 2004-08-15 Jim Evins <evins@snaught.com>
1588 * data/desktop/glabels.desktop.in:
1589 - Added encoding line
1590 - Removed period from comment
1591 - Fixed Terminal line, changed "0" to "false"
1592 - Added semicolen to Categories line
1594 - Made sure desktop.in comment string above still translated properly
1596 2004-08-14 Jim Evins <evins@snaught.com>
1598 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1599 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1600 * src/xml-label-191.c: (xml191_parse_sheet):
1601 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1603 Reconciled libglabels versioning with 2.0.1.
1606 2004-08-14 Jim Evins <evins@snaught.com>
1609 Updated version to 2.1cvs.
1611 2004-08-14 Jim Evins <evins@snaught.com>
1614 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1616 2004-08-14 Jim Evins <evins@snaught.com>
1618 Fixes for Bug #1008181.
1620 * src/bc.c: (gl_barcode_default_digits):
1621 Make a format of zero digits, harmless.
1622 * src/xml-label.c: (xml_parse_object_barcode):
1623 Set default value of the format property of barcode objects to 10, not
1624 zero. This will prevent crashes when reading pre 2.0.x files.
1626 2004-08-09 Jim Evins <evins@snaught.com>
1630 * help/C/glabels-C.omf:
1631 * help/C/glabels.xml:
1632 Brought documentation up-to-date for 2.0.0 release.
1634 2004-08-09 Jim Evins <evins@snaught.com>
1636 These are hopefully the final preparations for 2.0.0.
1638 * data/mime/Makefile.am:
1639 Include glabels.xml in EXTRA_DIST.
1641 - Updated comment style.
1642 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1643 - Added package and version info to configuration printout
1644 - Update version to 2.0.0
1645 * libglabels/Makefile.am:
1646 Use the new LIBGLABELS_VERSION_INFO macro.
1648 2004-08-09 Jim Evins <evins@snaught.com>
1652 Cleanup of required library macros.
1654 2004-08-08 Jim Evins <evins@snaught.com>
1658 - More specific of what to install in /usr/bin and /usr/lib
1659 - Remove built mime registration files from staging directory
1661 2004-08-08 Jim Evins <evins@snaught.com>
1663 * data/mime/Makefile.am:
1664 Fixed typo: key_files should have been keys_files.
1666 2004-08-08 Jim Evins <evins@snaught.com>
1668 Reorganization of runtime data files. Also added registration of mimetype with
1669 new freedesktop.org mime database if available.
1672 Moved files to appropriate subdirectories, creating local Makefile.am
1673 in each subdirectory.
1674 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1675 These are now installed at $datadir/glabels/templates.
1676 - Moved glabels.1 to man subdirectory.
1677 - Moved glabels-2.0.dtd to dtd subdirectory.
1678 - Moved glabels.desktop.in to desktop subdirectory.
1679 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1681 Moved "./pixmaps" to "./data/pixmaps"
1683 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1685 Moved libglade files from src to data/glade. Created Makefile.am.
1687 Removed pixmaps from SUBDIRS.
1689 - Removed pixmaps from makefiles.
1690 - Added makefiles for new subdirs of data.
1691 - Added tests for freedesktop.org mime database.
1693 - Added tests for freedesktop.org mime database for post install and
1694 post un-install actions.
1695 * libglabels/Makefile.am:
1696 Moved system template files to $(datadir)/glabels/templates.
1697 * libglabels/libglabels-private.h:
1698 Moved system template files to $(datadir)/glabels/templates.
1700 - Accounted for movement of ui and libglade files.
1701 - Added missing .in files.
1702 - Reorganized by directory.
1704 Accounted for movement of ui and libglade files.
1705 * data/mime/glabels.xml.in:
1706 New file for registering with freedesktop.org mime database.
1708 2004-08-07 Jim Evins <evins@snaught.com>
1710 * src/recent-files/*:
1711 Re-synced to latest libegg/recent-files.
1713 2004-08-07 Jim Evins <evins@snaught.com>
1718 Renamed "./doc" directory to "./help" which contains user documentation,
1719 to be more consistent with other GNOME applications.
1722 2004-07-26 Jim Evins <evins@snaught.com>
1724 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1725 Corrected button order of merge properties dialog.
1727 2004-07-18 Jim Evins <evins@snaught.com>
1729 * data/glabels-2.0.dtd:
1730 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1731 (gl_barcode_get_prefered_n):
1733 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1734 (gl_label_barcode_get_props), (get_size):
1735 * src/label-barcode.h:
1736 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1737 (style_changed_cb), (gl_object_editor_set_bc_style),
1738 (gl_object_editor_get_bc_style):
1739 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1740 (gl_object_editor_set_data), (gl_object_editor_get_data):
1741 * src/object-editor-private.h:
1742 * src/object-editor.c: (gl_object_editor_set_key_names):
1743 * src/object-editor.glade:
1744 * src/object-editor.h:
1745 * src/print.c: (draw_barcode_object):
1746 * src/view-barcode.c: (update_object_from_editor_cb),
1747 (update_editor_from_object_cb),
1748 (gl_view_barcode_create_event_handler), (draw_barcode):
1749 * src/xml-label-04.c: (xml04_parse_barcode_props):
1750 * src/xml-label-191.c: (xml191_parse_barcode_props):
1751 * src/xml-label.c: (xml_parse_object_barcode),
1752 (xml_create_object_barcode):
1753 Added "format" attribute to barcode objects. This attribute is used
1754 to properly format freeform barcodes barcodes prior to merge data is
1755 applied, so that barcodes can be accurately layed out. This addresses
1756 remaining issues of feature request #824787. Also added an example of
1757 the format in the object editor.
1759 2004-07-12 Jim Evins <evins@snaught.com>
1761 Various code cleanups.
1763 * src/label-barcode.c:
1764 Removed unneeded include of gnome-glyphlist.h.
1766 * src/label-text.c: (get_size):
1767 Fixed memory leak: unref glyphlists when done with them.
1769 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1770 * src/object-editor-data-page.c:
1771 (gl_object_editor_prepare_data_page):
1772 * src/object-editor-image-page.c:
1773 (gl_object_editor_prepare_image_page):
1774 * src/object-editor-line-page.c:
1775 (gl_object_editor_prepare_line_page):
1776 * src/object-editor-lsize-page.c:
1777 (gl_object_editor_prepare_lsize_page):
1778 * src/object-editor-position-page.c:
1779 (gl_object_editor_prepare_position_page):
1780 * src/object-editor-size-page.c:
1781 (gl_object_editor_prepare_size_page):
1782 * src/object-editor-text-page.c:
1783 (gl_object_editor_prepare_text_page):
1784 Removed unneeded size groups, originally intended to keep widgets aligned.
1785 Now use tables to lay these out in object-editor.glade.
1787 * src/print.c: (draw_text_object):
1788 Fixed memory leak: unref glyphlists when done with them.
1790 * src/view-barcode.c: (draw_barcode):
1791 Fixed memory leak: unref glyphlists when done with them.
1793 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1794 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1796 - Fixed memory leak: unref glyphlists when done with them.
1798 2004-07-11 Jim Evins <evins@snaught.com>
1800 * data/glabels-2.0.dtd:
1801 * src/label-text.c: (gl_label_text_instance_init), (copy),
1802 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1804 * src/object-editor-private.h:
1805 * src/object-editor-text-page.c:
1806 (gl_object_editor_prepare_text_page),
1807 (gl_object_editor_set_text_auto_shrink),
1808 (gl_object_editor_get_text_auto_shrink):
1809 * src/object-editor.c: (gl_object_editor_set_key_names):
1810 * src/object-editor.glade:
1811 * src/object-editor.h:
1812 * src/print.c: (draw_text_object):
1813 * src/view-text.c: (update_object_from_editor_cb),
1814 (update_editor_from_object_cb):
1815 * src/xml-label.c: (xml_parse_object_text),
1816 (xml_create_object_text):
1817 Added option to allow document merge to auto shrink text size to fit
1818 within the text box. The code in print.c that actually shrinks the
1819 text is loosely based on a patch submitted by Mark Harrison
1820 <mark.harrison@velocitynet.com.au>. This addresses feature request
1823 2004-07-11 Jim Evins <evins@snaught.com>
1825 * data/glabels-2.0.dtd:
1826 * libglabels/template.c: (gl_template_rect_label_type_new),
1827 (gl_template_round_label_type_new),
1828 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1829 (template_full_page):
1830 * libglabels/template.h:
1831 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1832 (xml_create_label_node):
1833 * pixmaps/ex-rect-size.png:
1834 * src/print.c: (clip_to_outline), (clip_punchouts):
1835 * src/template-designer.c: (construct_rect_size_page),
1836 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1838 * src/template-designer.glade:
1839 * src/xml-label-191.c: (xml191_parse_label):
1840 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1841 properties for rectangular labels. Templates remain backwards compatible,
1842 but this breaks the libglabels API (I don't know of anyone outside of
1843 glabels using libglabels at this time -- what can I say, the program is
1844 is still "unstable"). This addresses the suggestion in Feature Request
1847 2004-07-05 Jim Evins <evins@snaught.com>
1848 * src/print.c: (print_crop_marks), (draw_outline):
1849 Changed crop marks and label outlines to black, instead of 25% gray.
1850 This addresses debian Bug #257460.
1852 2004-07-05 Jim Evins <evins@snaught.com>
1854 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1855 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1856 Preserve "is_default" of fill and line color_combos when creating from
1859 2004-07-02 Jim Evins <evins@snaught.com>
1862 Created man page. Based on page submitted by Matthew J. Lockner, however
1863 it has been severely edited.
1865 * data/avery-other-templates.xml
1866 * data/misc-other-templates.xml:
1867 Started new files for predefined templates with non-standard sheet sizes.
1868 These have been initially populated with the Avery 06141 and
1869 OfficeMax #86112, both provided by Matthew J. Lockner.
1872 Install above manpage and template files.
1875 Make sure we install man pages.
1877 * src/glabels-batch.c:
1878 Changed short form of help option to '-?' to be consistent with glabels.
1881 Added acknowledgement for above labels.
1883 2004-07-02 Jim Evins <evins@snaught.com>
1885 * src/glabels.c: (main), (save_session_cb):
1886 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1888 - save_session_cb() now returns gboolean.
1889 - Minor formatting changes.
1893 - Now include file.h to provide missing prototype.
1894 - gl_window_get_type() now returns GType, not guint. I believe this may
1895 ultimately be cause of the segfault reported in Bug #982287, since
1896 GType is actually a gulong, which may not be compatible on other
1897 architectures (64bit) -- I cannot personally test this at this time.
1898 I was sloppy in several other xxx_get_type() functions which also
1899 returned guint -- see next group of files:
1901 * src/window.c: (gl_window_get_type):
1902 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1903 * src/canvas-hacktext.h:
1904 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1905 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1906 (gl_hig_hbox_get_type):
1908 * src/label-barcode.c: (gl_label_barcode_get_type):
1909 * src/label-barcode.h:
1910 * src/label-box.c: (gl_label_box_get_type):
1912 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1913 * src/label-ellipse.h:
1914 * src/label-image.c: (gl_label_image_get_type):
1915 * src/label-image.h:
1916 * src/label-line.c: (gl_label_line_get_type):
1918 * src/label-object.c: (gl_label_object_get_type):
1919 * src/label-object.h:
1920 * src/label-text.c: (gl_label_text_get_type):
1922 * src/label.c: (gl_label_get_type):
1924 * src/merge-properties-dialog.c:
1925 (gl_merge_properties_dialog_get_type):
1926 * src/merge-properties-dialog.h:
1927 * src/merge-text.c: (gl_merge_text_get_type):
1929 * src/merge.c: (gl_merge_get_type):
1931 * src/object-editor.c: (gl_object_editor_get_type):
1932 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1933 * src/prefs-dialog.h:
1934 * src/prefs-model.c: (gl_prefs_model_get_type):
1935 * src/prefs-model.h:
1936 * src/print-dialog.c: (gl_print_dialog_get_type):
1937 * src/print-dialog.h:
1938 * src/template-designer.c: (gl_template_designer_get_type):
1939 * src/template-designer.h:
1940 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1941 * src/ui-property-bar.h:
1942 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1944 * src/view-barcode.c: (gl_view_barcode_get_type):
1945 * src/view-barcode.h:
1946 * src/view-box.c: (gl_view_box_get_type):
1948 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1949 * src/view-ellipse.h:
1950 * src/view-highlight.c: (gl_view_highlight_get_type):
1951 * src/view-highlight.h:
1952 * src/view-image.c: (gl_view_image_get_type):
1954 * src/view-line.c: (gl_view_line_get_type):
1956 * src/view-object.c: (gl_view_object_get_type):
1957 * src/view-object.h:
1958 * src/view-text.c: (gl_view_text_get_type):
1960 * src/view.c: (gl_view_get_type):
1962 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1963 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1964 * src/wdgt-image-select.h:
1965 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1966 * src/wdgt-media-select.h:
1967 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1968 * src/wdgt-mini-preview.h:
1969 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1970 * src/wdgt-print-copies.h:
1971 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1972 * src/wdgt-print-merge.h:
1973 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1974 * src/wdgt-rotate-label.h:
1975 - Made sure all xxx_get_type functions returned GType, not guint. This
1976 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1977 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1978 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1979 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1980 window.[ch] details above for more info.
1981 - Reconciled various coding style differences in all xxx_get_type()
1983 * All prototypes include G_GNUC_CONST.
1984 * All prototypes specify the return value as GType, not GtkType
1986 * Info structures are all declared as "static const."
1987 * Generalized the names of type and info variables.
1988 * Miscelaneous formatting.
1990 2004-06-08 Jim Evins <evins@snaught.com>
1996 Don't touch compression of original file -- still defaults to 9 for
1997 new files. Original patch provided by Javier Donaire Segarra
1998 (#912252 in patch tracker).
2000 2004-05-05 Jim Evins <evins@snaught.com>
2002 * data/glabels-2.0.dtd:
2003 Broke DTD previously when adding new barcode types that contain a
2004 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2005 to avoid the problem.
2006 * data/avery-iso-templates.xml:
2007 * data/zweckform-iso-templates.xml:
2009 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2010 provided by Frank Altpeter.
2011 * libglabels/xml-template.c: (xml_create_label_node):
2012 Reordered markup and layout sub-nodes so that resulting templates will
2013 validate against DTD.
2015 2004-03-13 Jim Evins <evins@snaught.com>
2017 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2018 Changed spin callback signals from "value-changed" back to "changed."
2019 This was accidentally introduced in a previous revision, and can cause
2020 size changes just by selecting the size tab.
2022 2004-03-06 Jim Evins <evins@snaught.com>
2024 * src/view.c: (draw_grid_layer):
2025 For round labels (round and cd) adjust grid so that it lines up with
2026 center of label. Also, no longer draw box around label in the grid layer,
2027 it is hidden by he fg layer anyway. Feature suggested by
2028 nemolivier@free.fr. Although the grid is aligned with the center of the
2029 label, the coordinate system is still relative to the upper left corner
2030 of the rectangle containing the label.
2032 2004-02-25 Jim Evins <evins@snaught.com>
2035 Changed version to 2.0pre1cvs
2037 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2038 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2039 instead of doc->name fields when errors encountered.
2041 2004-02-21 Jim Evins <evins@snaught.com>
2043 * data/avery-iso-templates.xml:
2044 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2047 Added libglabels library and include file to installed files.
2050 Final prep for 1.93.3.
2052 2004-02-20 Jim Evins <evins@snaught.com>
2054 * src/glabels-batch.c: (main):
2055 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2056 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2058 2004-02-16 Jim Evins <evins@snaught.com>
2061 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2064 Added HAVE_FILE_CHOOSER to INCLUDES.
2066 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2067 (gl_file_save_as), (save_as_response):
2068 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2070 2004-02-16 Jim Evins <evins@snaught.com>
2072 * src/xml-label-04.c: (xml04_parse_image_props):
2073 * src/xml-label-191.c: (xml191_parse_image_props):
2074 * src/xml-label.c: (xml_parse_object_image):
2075 Delay setting image size until after image has been applied to new
2078 2004-02-15 Jim Evins <evins@snaught.com>
2080 * src/label-barcode.c: (gl_label_barcode_set_data),
2081 (gl_label_barcode_set_props):
2082 Don't emit "changed" signal, if no change actually made for these
2083 methods. Reduces number of unnecessary redraws of barcodes.
2085 * src/label-object.h:
2086 * src/label-object.c: (gl_label_object_set_position),
2087 (gl_label_object_set_position_relative), (set_size),
2088 (gl_label_object_set_size),
2089 (gl_label_object_set_size_honor_aspect):
2090 Don't emit "changed" signal, if no change actually made for these
2093 2004-02-15 Jim Evins <evins@snaught.com>
2095 * data/glabels-2.0.dtd:
2096 Added specific subtypes for various barcode types.
2099 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2100 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2101 (gl_barcode_can_text), (gl_barcode_text_optional),
2102 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2103 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2104 Changed API to use a string id, rather than a fixed enumeration. Id and
2105 name are separate strings. Added entries to backend table for specific
2106 subtypes for various barcode types.
2109 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2111 Modified to conform to above API. Now more stringent with data length
2112 for various subtypes.
2114 * src/bc-gnubarcode.h:
2115 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2116 (is_length_valid), (is_length1_valid), (is_length2_valid):
2117 Modified to conform to above API. Now more stringent with data length
2118 for various subtypes.
2120 * src/label-barcode.h:
2121 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2122 (gl_label_barcode_get_props), (get_size):
2123 Modified to use above API for storing barcode type.
2125 * src/object-editor.h:
2126 * src/object-editor-bc-page.c: (style_changed_cb),
2127 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2128 Modified to use above API for storing barcode type.
2130 * src/object-editor-size-page.c:
2131 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2132 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2133 Added debug markers.
2135 * src/object-editor.glade:
2136 Made barcode style combo's text entry non-editable.
2138 * src/print.c: (draw_barcode_object):
2139 Modified to use above API for barcode type.
2141 * src/view-barcode.c: (update_object_from_editor_cb),
2142 (update_editor_from_object_cb),
2143 (gl_view_barcode_create_event_handler), (draw_barcode):
2144 Modified to use above API for barcode type.
2146 * src/xml-label-04.c: (xml04_parse_barcode_props):
2147 * src/xml-label-191.c: (xml191_parse_barcode_props):
2148 * src/xml-label.c: (xml_parse_object_barcode),
2149 (xml_create_object_barcode):
2150 Modified to use above API for barcode type.
2152 2004-02-07 Jim Evins <evins@snaught.com>
2154 * src/stock-pixmaps/Makefile.am:
2155 * src/stock-pixmaps/stock_hchain_24.png:
2156 * src/stock-pixmaps/stock_hchain_broken_24.png:
2157 * src/stock-pixmaps/stock_vchain_24.png:
2158 * src/stock-pixmaps/stock_vchain_broken_24.png:
2159 Added chain pixmaps borrowed from the gimp's default theme.
2162 * src/stock.c: (gl_stock_init), (add_button_icon):
2163 Added above pixmaps to stock icon sets. Created add_button_icon() to
2164 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2166 * src/wdgt-chain-button.h
2167 * src/wdgt-chain-button.c
2170 Added this Modified version of gimpchainbutton widget, borrowed from
2174 Added acknowledgements of the above borrowing from the gimp.
2176 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2178 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2179 * src/object-editor.glade:
2180 Replaced the keep aspect ratio check box with the above chain-button
2183 * src/text-node.c: (gl_text_node_equal):
2185 Added function gl_text_node_equal() to compare text_nodes.
2187 * src/label-image.c: (gl_label_image_set_filename):
2188 Replaced incomplete text_node comparison code with invocation of
2189 gl_text_node_equal. This fixed the problem of not being able to
2190 resize an image using the object_editor if the aspect ratio is not
2193 2004-02-04 Jim Evins <evins@snaught.com>
2195 * src/object-editor-image-page.c:
2196 (gl_object_editor_prepare_image_page):
2197 Track "changed" signal of pixmap entry's GtkEntry rather than its
2198 "activate" signal -- this catches all changes to the entry rather than
2199 just changes resulting from a browse, so one can easily pull previous
2200 entries from the history. (This change is marked below on 2004-02-03,
2201 but somehow never got checked in.)
2203 * src/view-highlight.c: (sl_resize_event_handler),
2204 (sr_resize_event_handler), (st_resize_event_handler),
2205 (sb_resize_event_handler):
2206 Side resize handles will now confirm the actual resize that the object
2207 accepted before adjusting position parameters. Previously some interesting
2208 things happened when resizing a barcode to its minimum size.
2210 2004-02-03 Jim Evins <evins@snaught.com>
2212 * src/object-editor-image-page.c:
2213 (gl_object_editor_prepare_image_page):
2214 Track "changed" signal of pixmap entry's GtkEntry rather than its
2215 "activate" signal -- this catches all changes to the entry rather than
2216 just changes resulting from a browse, so one can easily pull previous
2217 entries from the history.
2219 * src/view-highlight.c: (tl_resize_event_handler),
2220 (tr_resize_event_handler), (bl_resize_event_handler),
2221 (br_resize_event_handler):
2222 Allow control key to be dropped while dragging a corner resize handle
2223 without losing the aspect ratio lock.
2225 2004-02-02 Jim Evins <evins@snaught.com>
2227 * src/label-image.c: (gl_label_image_set_filename):
2228 When setting a new filename adjust size such that the aspect ratio of
2229 the image is preserved using the current size as a bounding box.
2231 * src/view-image.c: (update_object_from_editor_cb):
2232 When updating object from editor, feed back possible size changes to
2233 editor as a result of a possible change in image.
2235 * src/object-editor-size-page.c: (size_reset_cb):
2236 Fixed typo when blocking spin handlers. If the base size is larger than
2237 the max size, treat max size as a bounding box while keeping aspect
2241 2004-02-02 Jim Evins <evins@snaught.com>
2243 * src/label-object.h:
2244 * src/label-object.c: (gl_label_object_set_size),
2245 (gl_label_object_set_size_honor_aspect):
2246 Added gl_label_object_set_size_honor_aspect() which will maintain the
2247 current aspect ratio by modifying the supplied w or h apropriately.
2249 * src/view-highlight.c: (tl_resize_event_handler),
2250 (tr_resize_event_handler), (bl_resize_event_handler),
2251 (br_resize_event_handler):
2252 Corner handles will now maintain the current aspect ratio if the
2253 control key is pressed while resizing. This addresses feature
2257 2004-01-31 Jim Evins <evins@snaught.com>
2260 * data/avery-us-templates.xml:
2261 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2263 * libglabels/template.c: (read_template_files_from_dir):
2264 Corrected problem with testing for extensions.
2266 * src/object-editor.glade:
2267 Corrected grouping of radio buttons in barcode data page.
2269 * src/print.c: (draw_barcode_object):
2270 * src/view-barcode.c: (draw_barcode):
2271 Corrected problem with calculation of y_offset for locating characters.
2273 2004-01-24 Jim Evins <evins@snaught.com>
2276 * data/avery-us-templates.xml:
2277 Added Avery 5824, submitted by Fred Bacon.
2279 2004-01-20 Jim Evins <evins@snaught.com>
2281 Catching up on a couple of backlogged user template submissions.
2283 * data/avery-iso-templates.xml:
2284 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2285 Suggested by Linas Jakucionis.
2287 * data/zweckform-iso-templates.xml:
2288 Added Zweckform 4760, submitted by Thomas Vill.
2291 Updated to reflect above submissions.
2293 2004-01-06 Jim Evins <evins@snaught.com>
2295 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2296 xml.[ch] into a separate library called libglabels, to facilitate third
2297 party use of glabels template files. This was suggested by Wayne Schuller.
2298 Once split-out, some modifications to the structures and functions to
2299 make a cleaner more useful API, hopefully. Rather extensive changes have
2300 propogated to other modules.
2308 * src/xml-template.h:
2309 * src/xml-template.c:
2312 These files have been moved to libglabels/. API cleanup performed.
2314 * libglabels/libglabels.h:
2315 * libglabels/libglabels-private.h:
2316 * libglabels/Makefile.am:
2317 These files have been added to finish out libglabels.
2324 Modified to reflect new sets of files in src/ and libglabels/.
2326 * COPYING.LIBGLABELS:
2328 Added copy of the LGPL for libglabels, and a copy the GFDL for
2331 * src/glabels-batch.c:
2333 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2334 (gl_label_get_size):
2336 * src/prefs-model.c: (gl_prefs_model_load_settings):
2337 * src/print-dialog.c:
2338 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2339 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2340 (print_crop_marks), (print_label), (draw_outline),
2341 (clip_to_outline), (clip_punchouts):
2342 * src/template-designer.c: (construct_pg_size_page),
2343 (pg_size_page_changed_cb), (layout_page_changed_cb),
2344 (print_test_cb), (build_template):
2345 * src/util.c: (gl_util_fraction):
2347 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2348 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2349 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2350 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2351 (draw_markup_margin_round), (draw_markup_margin_cd),
2352 (draw_markup_margin_cd_bc), (draw_markup_line),
2353 (draw_markup_circle), (gl_view_copy):
2354 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2355 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2356 (get_label_size_desc):
2357 * src/wdgt-mini-preview.c:
2358 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2360 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2361 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2362 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2363 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2364 * src/wdgt-rotate-label.h:
2365 * src/xml-label-04.c: (xml04_parse_media_description):
2366 * src/xml-label-191.c: (gl_xml_label_191_parse),
2367 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2368 (xml191_parse_markup), (xml191_parse_alias):
2369 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2371 Various changes to accomodate new libglabels API.
2373 2004-01-03 Jim Evins <evins@snaught.com>
2378 2004-01-03 Jim Evins <evins@snaught.com>
2381 Added acknowledgement of contributions by Wayne Schuller.
2383 * src/commands.c: (gl_cmd_file_print):
2384 Create extra reference to print dialog, so that it can be properly re-used.
2386 * src/mygal/mygal-combo-box.h:
2387 * src/mygal/mygal-combo-box.c:
2388 (mygal_combo_box_popup_hide_unconditional),
2389 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2390 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2391 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2392 (mygal_combo_box_set_tearable):
2393 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2394 complete the rename of this widget to prevent namespace collisions
2397 * src/prefs-dialog.glade:
2398 Fixed alignment of Fill/Color widgets.
2400 2004-01-03 Jim Evins <evins@snaught.com>
2402 * data/avery-iso-templates.xml:
2403 Added user submitted templates.
2404 Avery 8435A & 8435B, submitted by Ludger Solbach.
2406 * doc/C/glabels.xml:
2407 Added minimal documentation, noting the new template designer.
2409 2004-01-03 Jim Evins <evins@snaught.com>
2411 * pixmaps/ex-rect-size.png:
2412 * pixmaps/ex-round-size.png:
2413 * pixmaps/ex-cd-size.png:
2414 * pixmaps/Makefile.am:
2415 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2416 files to be used as illustrations/examples in the template-designer.
2418 * src/template-designer.c: (construct_rect_size_page),
2419 (construct_round_size_page), (construct_cd_size_page),
2420 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2421 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2422 (layout_page_prepare_cb), (build_template):
2423 * src/template-designer.glade:
2424 Added illustrations for rectangle, round, and cd label size pages.
2425 Added margin spinboxes to these pages, and now add a margin markup
2426 to the constructed template. Added realistic default values for
2427 some of the size spinboxes. Cleaned up the code for setting spinbox
2428 ranges on the layouts page.
2430 2004-01-02 Jim Evins <evins@snaught.com>
2432 * src/object-editor-size-page.c: (h_spin_cb):
2433 Fixed cut-n-paste error in h_spin_cb that loaded h from
2434 the wrong spinbutton.
2436 * src/object-editor.h:
2437 * src/object-editor.c: (gl_object_editor_class_init),
2438 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2439 * src/object-editor-private.h:
2440 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2442 Added "size_changed" signal.
2444 * src/view-text.c: (construct_properties_editor),
2445 (update_object_from_editor_cb),
2446 (update_object_from_editor_size_cb):
2447 Track size changes from object editor separately from other
2448 properties. This is so the default size (0,0) of a text
2449 object is not modified unintentionally.
2451 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2453 Added feature: line spacing - allows you to comfortably space a text box to
2454 fit a label perfectly.
2456 * data/glabels-2.0.dtd:
2457 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2458 (gl_label_object_get_text_alignment),
2459 (gl_label_object_get_text_line_spacing):
2460 * src/label-object.h:
2461 * src/label-text.c: (gl_label_text_class_init),
2462 (gl_label_text_instance_init), (copy), (get_size),
2463 (set_text_line_spacing), (get_text_alignment),
2464 (get_text_line_spacing):
2465 * src/object-editor-private.h:
2466 * src/object-editor-text-page.c:
2467 (gl_object_editor_prepare_text_page),
2468 (gl_object_editor_set_text_line_spacing),
2469 (gl_object_editor_get_text_line_spacing):
2470 * src/object-editor.glade:
2471 * src/object-editor.h:
2472 * src/prefs-dialog.c: (construct_object_page),
2473 (update_object_page_from_prefs), (update_prefs_from_object_page):
2474 * src/prefs-dialog.glade:
2475 * src/prefs-model.c: (gl_prefs_model_save_settings),
2476 (gl_prefs_model_load_settings), (get_float):
2477 * src/prefs-model.h:
2478 * src/print.c: (draw_text_object):
2480 * src/view-text.c: (update_object_from_editor_cb),
2481 (update_editor_from_object_cb),
2482 (gl_view_text_create_event_handler), (draw_hacktext):
2483 * src/view.c: (gl_view_construct),
2484 (gl_view_set_selection_text_line_spacing),
2485 (gl_view_set_default_text_line_spacing),
2486 (gl_view_get_default_text_line_spacing):
2488 * src/xml-label.c: (xml_parse_toplevel_span),
2489 (xml_create_toplevel_span):
2491 2003-12-30 Jim Evins <evins@snaught.com>
2493 * src/template-designer.c:
2494 * src/template-designer.h:
2495 * src/template-designer.glade:
2496 New template designer assistant.
2500 Added entries for src/template-designer.* files.
2502 * pixmaps/ex-1layout.png
2503 * pixmaps/ex-2layouts.png
2504 * pixmaps/Makefile.am:
2505 Added the new image files ex-*.png used as illustrations in the
2506 template designer assistant.
2508 * src/print-dialog.h:
2509 * src/print-dialog.c: (gl_print_dialog_finalize),
2510 (gl_print_dialog_new), (gl_print_dialog_construct),
2511 (gl_print_dialog_force_outline_flag):
2512 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2513 to support printing from the template designer assistant which does not
2514 have a full-fledged view. Nothing else from the view object was being
2515 used by the dialog anyway.
2517 Added the gl_print_dialog_force_outline_flag() method, for better
2518 integration with the template designer assistant.
2522 * src/commands.c: (gl_cmd_file_template_designer),
2523 (gl_cmd_file_print):
2524 Modified print command to provide label instead of view to dialog.
2525 Added the gl_cmd_file_template_designer() command to invoke the
2526 template designer assistant.
2529 * src/glabels-ui.xml:
2530 Added support for template designer assistant.
2532 * src/wdgt-mini-preview.h:
2533 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2534 (gl_wdgt_mini_preview_set_bg_color):
2535 Preview is now centered in canvas. Added
2536 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2537 assistant to match the background color with its own.
2539 * src/print.c: (clip_to_outline):
2540 Fixed really stupid bug when adding waste to clip region of rectangular
2541 labels/cards. Each side of the clip region needs to be extended by
2542 twice the waste margin, as well as negatively offset by the waste
2545 2003-12-28 Jim Evins <evins@snaught.com>
2547 * src/prefs-dialog.c: (update_object_page_from_prefs):
2548 Block intermediary function align_toggle_cb() instead of
2549 update_prefs_from_object_page() for the three alignment
2552 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2554 * src/file.c: (gl_file_new), (gl_file_properties):
2555 Swap button order and set default for higificatory pleasure.
2557 2003-12-27 Jim Evins <evins@snaught.com>
2559 * barcode-0.98/Makefile.am:
2560 One last time: removed doc/Makefile and po/Makefile.in.in from
2563 2003-12-27 Jim Evins <evins@snaught.com>
2565 * barcode-0.98/Makefile.am:
2566 Removed config.stat entry from EXTRA_DIST files.
2568 * barcode-0.98/Makefile.in:
2571 2003-12-27 Jim Evins <evins@snaught.com>
2574 Updated to work with latest gnome-common package from CVS.
2575 Removed recursive configuration of barcode-0.98.
2582 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2584 * barcode-0.98/Makefile.in:
2585 * barcode-0.98/configure.in:
2586 * barcode-0.98/Makefile.am:
2587 * barcode-0.98/README.glabels:
2588 Modified to ignore the barcode package's build system, and build
2589 as a part of glabels.
2590 Renamed Makefile.in to Makefile.in.dist.
2591 Renamed configure.in to configure.in.dist.
2592 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2595 * src/mygal/Makefile.am:
2596 * src/recent-files/Makefile.am:
2597 In order to build against the GNOME 2.5 platform,
2598 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2600 * src/mygal/Makefile.am:
2601 * src/mygal/mygal-combo-box.c:
2602 * src/mygal/mygal-combo-box.h:
2603 * src/mygal/widget-color-combo.c:
2604 * src/mygal/widget-color-combo.h:
2606 In order to build against the GNOME 2.5 platform,
2607 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2608 collisions with the real gtk_combo_box widget, now a part of gtk.
2610 2003-12-26 Jim Evins <evins@snaught.com>
2616 Moved local versions of get_home_data_dir() in paper.c and
2617 template.c to util package. Cleaned up formatting in
2621 In gl_template_register() save a copy of the template in
2622 ~/.glabels if the template is not known. Still need to
2623 handle duplicate filename case and duplicate name but
2624 different template case.
2628 Moved local definition of NAME_SPACE macro from xml-label.c
2631 * src/xml-template.c:
2632 * src/xml-template.h:
2633 Added function gl_xml_template_write_template_to_file(), used
2634 in gl_template_register().