1 2005-12-21 Jim Evins <evins@snaught.com>
7 2005-12-20 Jim Evins <evins@snaught.com>
10 Define unique G_LOG_DOMAIN for glabels.
11 * src/critical-error-handler.c: (gl_critical_error_handler_init):
12 * src/warning-handler.c: (gl_warning_handler_init),
14 Register for G_LOG_DOMAIN instead of NULL.
16 2005-12-10 Jim Evins <evins@snaught.com>
18 * src/merge-evolution.c:
22 2005-12-08 Jim Evins <evins@snaught.com>
24 * libglabels/paper.c: (read_paper_files_from_dir):
25 * libglabels/template.c: (gl_template_register),
26 (read_template_files_from_dir):
27 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
28 (gl_xml_paper_parse_papers_doc):
29 * libglabels/xml-template.c:
30 (gl_xml_template_read_templates_from_file),
31 (gl_xml_template_parse_templates_doc),
32 (gl_xml_template_parse_template_node),
33 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
34 (xml_parse_label_cd_node), (xml_parse_layout_node),
35 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
36 (xml_parse_markup_circle_node),
37 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
38 * libglabels/xml.c: (gl_xml_get_prop_length):
39 Re-classified g_warnings to g_messages.
41 * src/glabels.c: (main):
42 * src/warning-handler.c: (gl_warning_handler_init),
44 * src/warning-handler.h:
45 Added warning message handler to make sure the user is
46 presented with appropriate non-fatal errors.
47 * src/critical-error-handler.c: (critical_error_handler):
48 Changed exit to abort.
49 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
50 * src/bc-postnet.c: (postnet_code):
51 * src/bc.c: (id_to_index), (name_to_index):
52 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
53 * src/object-editor.c: (gl_object_notebook_construct_valist):
54 * src/prefs-dialog.c: (update_locale_page_from_prefs):
55 * src/prefs.c: (gl_prefs_get_units_per_point),
56 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
57 (gl_prefs_get_units_string):
58 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
59 * src/splash.c: (gl_splash):
60 * src/ui-commands.c: (gl_ui_cmd_help_contents):
61 * src/view-highlight.c: (gl_view_highlight_new),
62 (highlight_resizable_box_construct), (object_changed_cb),
63 (view_scale_changed_cb):
64 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
65 (draw_markup_layer), (draw_markup_margin),
66 (gl_view_object_create_mode), (canvas_event),
67 (selection_received_cb):
68 * src/wdgt-mini-preview.c: (mini_outline_list_new):
69 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
70 * src/xml-label-04.c: (gl_xml_label_04_parse),
71 (xml04_parse_media_description), (xml04_parse_text_props),
72 (xml04_parse_barcode_props):
73 * src/xml-label-191.c: (gl_xml_label_191_parse),
74 (xml191_parse_objects), (xml191_parse_object),
75 (xml191_parse_text_props), (xml191_parse_image_props),
76 (xml191_parse_barcode_props), (xml191_parse_data),
77 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
78 (xml191_parse_markup):
79 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
80 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
81 (xml_parse_object_text), (xml_parse_object_image),
82 (xml_parse_object_barcode), (xml_parse_data),
83 (xml_parse_toplevel_span), (gl_xml_label_save),
85 Re-classified g_warnings to g_messages.
86 * src/merge-evolution.c: (gl_merge_evolution_open),
87 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
88 Use g_warning to output errors encountered while
89 communicating with the evolution data server
90 instead of embedding them in the data.
92 2005-12-08 Jim Evins <evins@snaught.com>
94 * libglabels/libglabels-private.h:
96 * libglabels/paper.c: (read_papers):
97 * libglabels/template.c: (read_templates):
98 Made appropriate warnings critical.
100 * src/critical-error-handler.h:
101 * src/critical-error-handler.c: (gl_critical_error_handler_init),
102 (critical_error_handler):
103 Created critical error handler.
104 * src/glabels.c: (main):
105 Register critical error handler.
106 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
107 * src/object-editor.c: (gl_object_editor_init):
108 * src/prefs-dialog.c: (gl_prefs_dialog_init):
109 * src/template-designer.c: (gl_template_designer_init):
110 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
111 Made appropriate warnings critical.
113 2005-11-27 Jim Evins <evins@snaught.com>
115 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
116 (gl_merge_evolution_get_primary_key),
117 (gl_merge_evolution_get_record):
118 Don't create "record_key" pseudo-key. Don't populate
119 fields with null data.
121 2005-11-25 Jim Evins <evins@snaught.com>
123 * src/merge-evolution.c: (gl_merge_evolution_finalize),
124 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
125 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
127 Query EDS for all supported fields. Patch provided by
128 Austin Henry <ahenry@users.sourceforge.net>.
130 2005-10-29 Jim Evins <evins@snaught.com>
132 * src/glabels.c: (main):
133 * src/label-barcode.c: (gl_label_barcode_finalize):
134 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
135 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
136 * src/object-editor.c: (gl_object_editor_finalize):
137 Another pass at valgrinding -- plugged several memory leaks.
138 * src/view-text.c: (gl_view_text_new),
139 (update_canvas_item_from_object_cb), (draw_hacktext):
140 Commented out artifacts of edit-in-place code.
142 2005-10-28 Jim Evins <evins@snaught.com>
144 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
145 Fixed use of uninitialized variable. Caught by
146 d binderman <dcb314@hotmail.com>.
148 2005-10-27 Jim Evins <evins@snaught.com>
150 * src/merge-evolution.c: (gl_merge_evolution_get_record):
151 * src/merge-vcard.c: (gl_merge_vcard_get_record),
153 Additional cleanup of EDS and vcard backends. Provided by
154 Austin Henry <ahenry@users.sourceforge.net>.
156 2005-10-24 Jim Evins <evins@snaught.com>
160 * src/merge-evolution.c:
161 * src/merge-evolution.h:
162 * src/merge-init.c: (gl_merge_init):
163 * src/merge-properties-dialog.c: (type_changed_cb):
166 * src/ui-commands.c: (gl_ui_cmd_help_about):
167 Added Evolution Data Server and VCard merge backends. Original patch
168 provided by Austin Henry <ahenry@users.sourceforge.net>.
170 Only support EDS and VCard backends if libebook is installed. Allow
171 user to disable support, even if installed.
173 2005-10-24 Jim Evins <evins@snaught.com>
176 * data/templates/avery-iso-templates.xml:
177 * data/templates/avery-us-templates.xml:
178 * data/templates/misc-iso-templates.xml:
179 * data/templates/zweckform-iso-templates.xml:
180 Collected all template changes and submissions since last
183 2005-10-23 Jim Evins <evins@snaught.com>
186 * data/mime/Makefile.am:
187 Added configure options to disable update-mime-database and
188 update-desktop-database as part of the install. Patch
189 provided by Leonardo Boshell (qhoracio@sourceforge.net).
191 2005-10-23 Jim Evins <evins@snaught.com>
194 * libglabels/xml.c: (gl_xml_get_prop_string),
195 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
196 (gl_xml_is_node), (gl_xml_get_node_content):
197 Added new XML utility functions.
198 * libglabels/xml-paper.c:
199 * libglabels/xml-template.c:
201 Cleanup by using new xml utilities created above.
202 * libglabels/paper.c: (gl_paper_free):
203 * src/file.c: (new_response):
204 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
205 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
206 (gl_pixbuf_cache_get_pixbuf):
207 * src/ui-property-bar.c:
208 (gl_ui_property_bar_construct_color_combo):
209 * src/view-highlight.c: (gl_view_highlight_finalize):
210 * src/view-image.c: (update_object_from_editor_cb):
211 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
212 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
213 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
214 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
215 (draw_markup_margin_round), (draw_markup_margin_cd),
216 (draw_markup_margin_cd_bc):
217 * src/wdgt-mini-preview.c: (mini_outline_list_new):
218 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
219 Plugged various memory leaks located with valgrind.
220 * src/view-image.c: (update_canvas_item_from_object_cb):
221 Don't allow a width or height of zero when drawing pixbuf.
223 2005-10-22 Jim Evins <evins@snaught.com>
225 * libglabels/xml-paper.c:
226 * libglabels/xml-template.c:
229 * src/bc-gnubarcode.c:
230 * src/canvas-hacktext.c:
232 * src/object-editor-data-page.c:
233 * src/print-dialog.c:
236 * src/template-designer.c:
238 * src/ui-property-bar.c:
240 * src/view-barcode.c:
242 * src/view-ellipse.c:
247 * src/wdgt-media-select.c:
248 * src/xml-label-04.c:
249 * src/xml-label-191.c:
251 Modified to compile warning free with gcc-4.0. Mostly
252 casting to change signedness of characters. Did not
253 attack gnu-barcode library yet.
255 2005-10-22 Jim Evins <evins@snaught.com>
257 * src/glabels.c: (main):
258 * src/splash.c: (gl_splash):
259 Removed some small memory leaks.
263 2005-09-19 Jim Evins <evins@snaught.com>
265 * data/glade/property-bar.glade:
266 Remove items from font_family_combo. This prevents the
267 double entry after adding text model and list of fonts.
268 * src/ui-property-bar.c: (reset_to_default_properties):
269 Free font_family_list.
271 2005-07-01 Jim Evins <evins@snaught.com>
274 Updated italian translation (Daniele Medri)
276 2005-06-26 Jim Evins <evins@snaught.com>
278 * docs/libglabels/libglabels-decl-list.txt:
279 Somehow never got checked in before.
280 * docs/libglabels/libglabels.types:
281 Removed -- don't need it afterall.
283 2005-06-20 Jim Evins <evins@snaught.com>
286 Final prep for 2.1.1 release.
288 2005-06-20 Jim Evins <evins@snaught.com>
291 Final preps for 2.1.1 release.
292 * docs/libglabels/libglabels.types:
293 Somehow never got checked in before.
295 Bring up-to-date with recent reorg of ui code.
298 2005-06-19 Jim Evins <evins@snaught.com>
300 * src/template-designer.c: (construct_layout_page):
301 Removed attempt to match background color of mini preview widget to
304 2005-06-17 Jim Evins <evins@snaught.com>
306 * help/C/figures/merge-ex2-4.png:
307 * help/C/glabels.xml:
308 Fixed spelling error.
310 2005-06-13 Jim Evins <evins@snaught.com>
312 * help/C/figures/merge-ex1-1.png:
313 * help/C/figures/merge-ex1-2.png:
314 * help/C/figures/merge-ex1-3.png:
315 * help/C/figures/merge-ex1-4.png:
316 * help/C/figures/merge-ex2-1.png:
317 * help/C/figures/merge-ex2-2.png:
318 * help/C/figures/merge-ex2-3.png:
319 * help/C/figures/merge-ex2-4.png:
320 Added figures for document merge tutorial.
321 * help/C/glabels.xml:
322 Added document merge tutorial.
324 2005-05-19 Jim Evins <evins@snaught.com>
326 * data/glade/merge-properties-dialog.glade:
327 Fixed irregular spacing.
328 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
329 (gl_merge_properties_dialog_construct):
330 Set outer padding and remove separator.
332 2005-05-18 Jim Evins <evins@snaught.com>
336 Removed glHigDialog class.
337 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
338 (gl_file_properties), (create_properties_dialog_widgets):
339 * src/prefs-dialog.h:
340 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
341 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
342 * src/print-dialog.h:
343 * src/prefs-dialog.h:
344 * src/print-dialog.c: (gl_print_dialog_get_type),
345 (gl_print_dialog_init), (gl_print_dialog_construct):
346 Replaced all instances of glHigDialog with GtkDialog.
348 2005-05-17 Jim Evins <evins@snaught.com>
352 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
353 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
354 (save_as_response), (gl_file_close):
355 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
357 2005-05-15 Jim Evins <evins@snaught.com>
367 A little code reformatting -- no functional changes.
369 2005-05-14 Jim Evins <evins@snaught.com>
372 Removed obsolete macros.
374 Added marshalling template to support new view signal: "context_menu_activate."
376 * src/view.c: (gl_view_class_init), (gl_view_construct),
377 (canvas_event_arrow_mode):
378 - Removed hardcoded context menus and added new signal "context_menu_activate"
379 to push this up to the uimanager.
380 - Removed merge properties and print dialogs so that they can be managed with
381 the window by the uimanager.
382 * src/merge-properties-dialog.h:
383 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
384 (gl_merge_properties_dialog_construct):
385 Changed calling convention of gl_merge_properties_dialog_new() to use
386 glLabel and GtkWindow instead of view to make more consistent with other
388 * src/print-dialog.h:
389 * src/print-dialog.c: (gl_print_dialog_new),
390 (gl_print_dialog_construct):
391 Removed last artifact of libbonoboui.
392 * src/ui-commands.c: (gl_ui_cmd_file_print),
393 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
394 Reconciled style for launching dialogs.
395 * src/ui.c: (gl_ui_new):
396 Added context menus to ui manager.
397 * src/view-object.c: (item_event_arrow_mode):
398 No longer try to select objects with right-click.
400 * src/window.c: (gl_window_init), (gl_window_set_label),
401 (context_menu_activate_cb):
402 Context menus and all dialogs are now managed in a consistent way in window
405 2005-05-11 Jim Evins <evins@snaught.com>
408 * src/window.c: (gl_window_init), (gl_window_destroy):
409 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
410 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
411 Moved management of recent_view back from window.c to ui.c -- it just feels
414 2005-05-10 Jim Evins <evins@snaught.com>
417 * src/window.c: (gl_window_init):
419 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
420 (menu_item_select_cb), (menu_item_deselect_cb):
421 Added GtkStatusbar which displays menu tooltips.
423 2005-05-09 Jim Evins <evins@snaught.com>
425 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
430 Removed dependencies on libbonoboui.
432 * data/ui/Makefile.am:
433 * data/ui/glabels-ui.xml:
434 Removed data/ui directory.
435 * data/glade/Makefile.am:
436 * data/property-bar.glade:
437 Added glade description of property-bar for new libglade implementation
446 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
447 since the distinction between "commands" and "tools" is no longer that clear.
450 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
451 no longer has knowledge of eggRecent*.
452 * src/glabels.c: (main):
453 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
455 * src/object-editor.c: (gl_object_editor_init):
456 Make sure notebook does not respond to a "show_all" on the parent.
457 * src/recent-files/Makefile.am:
458 * src/recent-files/*.[ch]
459 Updated from latest version of libegg which now has a view based on
460 GtkUIManager. Removed unused bonobo and gtk views.
461 * src/ui-property-bar.h:
462 * src/ui-property-bar.c:
463 New implementation based on libglade.
466 Sidebar is now simply a GtkWidget and does not expect to be a part of
467 a libbonoboui interface.
472 Converted for use with GtkUIManager.
475 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
476 to create menus and toolbars.
478 2005-04-25 Jim Evins <evins@snaught.com>
480 * data/templates/misc-iso-templates.xml:
481 Added Fellows 04715 template provided by Steve Saxon.
483 Updated acknowledgement for above.
485 2005-04-23 Jim Evins <evins@snaught.com>
487 * src/util.c: (gl_util_combo_box_set_strings):
488 Make sure to clear model before loading a new list of strings.
489 * src/wdgt-media-select.h:
490 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
491 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
492 (template_combo_changed_cb), (prefs_changed_cb),
493 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
494 (gl_wdgt_media_select_get_page_size),
495 (gl_wdgt_media_select_set_page_size):
496 Replaced the deprecated GtkCombo widget with the new
499 2005-04-21 Jim Evins <evins@snaught.com>
501 * data/glade/template-designer.glade:
502 * src/template-designer.c: (construct_pg_size_page),
503 (pg_size_page_changed_cb), (build_template):
504 Replaced the deprecated GtkCombo widget with the new
507 2005-04-20 Jim Evins <evins@snaught.com>
509 * data/glade/prefs-dialog.glade:
510 * src/prefs-dialog.c: (construct_object_page),
511 (update_object_page_from_prefs), (update_prefs_from_object_page):
512 Replaced the deprecated GtkCombo widget with the new
515 2005-04-19 Jim Evins <evins@snaught.com>
517 * data/glade/object-editor.glade:
518 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
519 (style_changed_cb), (gl_object_editor_set_bc_style),
520 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
521 (gl_object_editor_get_bc_color):
522 * src/object-editor-data-page.c:
523 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
524 (gl_object_editor_get_data):
525 * src/object-editor-edit-page.c:
526 (gl_object_editor_prepare_edit_page), (insert_button_cb):
527 * src/object-editor-fill-page.c:
528 (gl_object_editor_prepare_fill_page),
529 (gl_object_editor_set_fill_color),
530 (gl_object_editor_get_fill_color):
531 * src/object-editor-image-page.c:
532 (gl_object_editor_prepare_image_page),
533 (gl_object_editor_set_image), (gl_object_editor_get_image):
534 * src/object-editor-line-page.c:
535 (gl_object_editor_prepare_line_page),
536 (gl_object_editor_set_line_color),
537 (gl_object_editor_get_line_color):
538 * src/object-editor-private.h:
539 * src/object-editor-text-page.c:
540 (gl_object_editor_prepare_text_page),
541 (gl_object_editor_set_font_family),
542 (gl_object_editor_get_font_family),
543 (gl_object_editor_set_text_color),
544 (gl_object_editor_get_text_color):
545 * src/object-editor.c: (gl_object_editor_set_key_names):
547 In the object editor: replaced all instances of the deprecated
548 GtkCombo widget with the new GtkComboBox.
550 2005-04-18 Jim Evins <evins@snaught.com>
553 Neglected to save this one in previous checkin to support
556 2005-04-17 Jim Evins <evins@snaught.com>
558 * libglabels/libglabels-private.h:
559 * libglabels/paper.c:
560 * libglabels/paper.h:
561 * libglabels/template.c:
562 * libglabels/template.h:
563 * libglabels/xml-paper.c:
564 * libglabels/xml-paper.h:
565 * libglabels/xml-template.c:
570 * src/bc-gnubarcode.c:
581 * src/label-barcode.c:
583 * src/label-ellipse.c:
587 * src/label-object.c:
591 * src/merge-properties-dialog.c:
592 * src/object-editor-bc-page.c:
593 * src/object-editor-data-page.c:
594 * src/object-editor-edit-page.c:
595 * src/object-editor-fill-page.c:
596 * src/object-editor-image-page.c:
597 * src/object-editor-line-page.c:
598 * src/object-editor-lsize-page.c:
599 * src/object-editor-position-page.c:
600 * src/object-editor-private.h:
601 * src/object-editor-size-page.c:
602 * src/object-editor-text-page.c:
603 * src/object-editor.c:
604 * src/object-editor.h:
605 * src/pixbuf-cache.h:
606 * src/prefs-dialog.c:
607 * src/prefs-dialog.h:
611 * src/print-dialog.c:
612 * src/print-dialog.h:
620 * src/template-designer.c:
621 * src/template-designer.h:
624 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
630 * src/view-barcode.c:
632 * src/view-ellipse.c:
633 * src/view-highlight.c:
634 * src/view-highlight.h:
642 * src/wdgt-chain-button.c:
643 * src/wdgt-media-select.c:
644 * src/wdgt-media-select.h:
645 * src/wdgt-mini-preview.c:
646 * src/wdgt-mini-preview.h:
647 * src/wdgt-print-copies.c:
648 * src/wdgt-print-copies.h:
649 * src/wdgt-print-merge.c:
650 * src/wdgt-print-merge.h:
651 * src/wdgt-rotate-label.c:
652 * src/wdgt-rotate-label.h:
655 * src/xml-label-04.c:
656 * src/xml-label-191.c:
658 Cleanup of header files:
659 - all header files are now stand-alone, verified by including
660 first in corresponding "c" files
661 - replaced blanket includes of gnome, gtk, and glib with
664 2005-04-16 Jim Evins <evins@snaught.com>
666 * data/glade/Makefile.am:
667 * data/glade/merge-properties-dialog.glade:
668 Added merge properties dialog glade description file.
669 * src/merge-properties-dialog.h:
670 * src/merge-properties-dialog.c:
671 (gl_merge_properties_dialog_get_type),
672 (gl_merge_properties_dialog_init),
673 (gl_merge_properties_dialog_finalize),
674 (gl_merge_properties_dialog_new),
675 (gl_merge_properties_dialog_construct), (type_changed_cb),
676 (src_changed_cb), (response_cb), (load_tree),
677 (record_select_toggled_cb), (select_all_button_clicked_cb),
678 (unselect_all_button_clicked_cb):
679 Modified merge properties dialog to use libglade. Added
680 "select all" and "unselect all" buttons.
681 * src/merge-text.c: (parse_line):
682 Handle empty lines better.
683 * src/merge.c: (gl_merge_eval_key):
684 Evaluate the key whether the record is selected or not.
686 * src/util.c: (gl_util_combo_box_add_text_model):
687 Since libglade does not use the gtk_combo_box_new_text()
688 constructor for GtkComboBoxes, a utility function was created
689 to add an appropriate text model to a GtkComboBox.
690 * src/view.c: (gl_view_edit_merge_props):
691 Removed unnecessary "show all's".
693 2005-04-15 Jim Evins <evins@snaught.com>
696 Updated russian translation (Vitaly Lipatov)
697 * data/templates/misc-iso-templates.xml:
698 Added templates for russian business cards provided by Vitaly Lipatov.
700 Updated acknowledgements for above.
702 2005-04-15 Jim Evins <evins@snaught.com>
704 * data/templates/avery-us-templates.xml:
705 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
706 * data/templates/misc-iso-templates.xml:
707 Added Ryman standard CD/DVD template, provided by Dan Clark.
709 Added acknowledgements for above.
711 2005-04-10 Jim Evins <evins@snaught.com>
713 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
714 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
715 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
716 (xml_parse_label_cd_node), (xml_parse_alias_node):
717 * libglabels/xml.c: (gl_xml_get_prop_double),
718 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
719 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
720 * src/xml-label-04.c: (xml04_parse_media_description),
721 (xml04_parse_text_props), (xml04_parse_barcode_props),
722 (xml04_parse_merge_properties):
723 * src/xml-label-191.c: (xml191_parse_object),
724 (xml191_parse_text_props), (xml191_parse_barcode_props),
725 (xml191_parse_merge_fields), (xml191_parse_pixdata),
726 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
727 (xml191_parse_alias):
728 * src/xml-label.c: (xml_parse_object_text),
729 (xml_parse_object_barcode), (xml_parse_merge_fields),
730 (xml_parse_pixdata), (xml_parse_toplevel_span):
731 Make sure to use xmlFree for anything obtained from libxml
732 in case libxml and glib use different memory management
735 2005-04-08 Jim Evins <evins@snaught.com>
738 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
739 (gl_util_combo_box_set_active_text):
740 Added utility functions to simplify working with GtkComboBox
742 * src/ui-property-bar.h:
743 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
744 (reset_to_default_properties), (update_text_properties),
745 (font_family_changed_cb):
746 Replaced deprecated GtkCombo with GtkComboBox.
749 2005-04-03 Jim Evins <evins@snaught.com>
752 * src/wdgt-image-select.h:
753 * src/wdgt-image-select.c:
754 Removed obsolete wdgt-image-select.[ch] files.
755 * libglabels/paper.c: (gl_paper_dup):
756 Fixed rename of parameter introduced during documentation
758 * data/glade/object-editor.glade:
759 * src/object-editor-image-page.c:
760 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
761 (gl_object_editor_set_image), (gl_object_editor_get_image),
762 (update_preview_cb), (add_image_filters_to_chooser):
763 * src/object-editor-private.h:
764 Replaced deprecated GnomePixmapEntry with
765 GtkFileChooserButton.
767 2005-04-02 Jim Evins <evins@snaught.com>
769 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
770 (mygal_combo_box_popup_hide_unconditional),
771 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
772 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
773 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
774 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
775 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
776 Renamed all internal gtk_combo functions to mygal_combo
777 to prevent namespace confusion.
779 2005-04-02 Jim Evins <evins@snaught.com>
781 * src/mygal/color-palette.c: (color_palette_change_custom_color),
782 (cust_color_set), (color_palette_setup):
783 * src/mygal/color-palette.h:
784 Replaced deprecated GnomeColorPicker with GtkColorButton.
786 2005-04-02 Jim Evins <evins@snaught.com>
788 * docs/libglabels/libglabels-sections.txt:
789 * docs/libglabels/libglabels-undocumented.txt:
790 * docs/libglabels/tmpl/enums.sgml:
791 * docs/libglabels/tmpl/paper.sgml:
792 * docs/libglabels/tmpl/xml-paper.sgml:
793 * docs/libglabels/tmpl/xml-template.sgml:
794 * libglabels/enums.h:
795 * libglabels/paper.c: (gl_paper_dup):
796 * libglabels/paper.h:
797 * libglabels/xml-paper.c:
798 * libglabels/xml-template.c:
799 More documentation updates for libglabels.
801 2005-03-23 Jim Evins <evins@snaught.com>
804 Automatically updated.
809 * docs/libglabels/Makefile.am:
810 * docs/libglabels/libglabels-docs.sgml:
811 * docs/libglabels/libglabels-sections.txt:
812 * docs/libglabels/libglabels-undocumented.txt:
813 * docs/libglabels/tmpl/enums.sgml:
814 * docs/libglabels/tmpl/libglabels-unused.sgml:
815 * docs/libglabels/tmpl/libglabels.sgml:
816 * docs/libglabels/tmpl/paper.sgml:
817 * docs/libglabels/tmpl/template.sgml:
818 * docs/libglabels/tmpl/xml-paper.sgml:
819 * docs/libglabels/tmpl/xml-template.sgml:
820 * docs/libglabels/tmpl/xml.sgml:
821 Added basic gtk-doc stuff to support documenting libglabels
824 Updated function comments with gtk-doc markup.
828 2005-03-22 Jim Evins <evins@snaught.com>
830 Since the development version now requires gtk-2.6/gnome-2.10, I
831 have made a first pass at removing deprecations.
834 * libglabels/Makefile.am:
836 Added configure option to turn on X_DISABLE_DEPRECATED flags.
837 Also removed all remnants of HAVE_FILECHOOSER.
838 * src/file.c: (gl_file_open_real):
839 Removed code for old GtkFileSelection.
840 * libglabels/libglabels-private.h:
841 * libglabels/paper.c:
842 * libglabels/template.c:
843 * libglabels/xml-paper.c:
844 * libglabels/xml-template.c:
848 * src/glabels-batch.c:
852 * src/merge-properties-dialog.c:
854 * src/object-editor.c:
855 * src/prefs-dialog.c:
857 * src/print-dialog.c:
860 * src/template-designer.c:
861 * src/ui-property-bar.c:
863 * src/view-barcode.c:
865 * src/view-ellipse.c:
870 * src/wdgt-image-select.c:
871 * src/wdgt-media-select.c:
872 * src/wdgt-print-copies.c:
873 * src/wdgt-print-merge.c:
874 * src/wdgt-rotate-label.c:
876 * src/xml-label-04.c:
877 * src/xml-label-191.c:
879 Added '#include <glib/gi18n.h>" where needed.
880 Removed any unused '#include <gnome.h>"s.
882 2005-03-22 Jim Evins <evins@snaught.com>
884 * src/commands.c: (activate_url), (gl_cmd_help_about):
885 Replaced GnomeAbout with GtkAboutDialog. Therefore the
886 development version of glabels now depends on GTK 2.6 and
889 Updated library dependencies.
891 2005-02-28 Jim Evins <evins@snaught.com>
894 * data/templates/misc-iso-templates.xml:
895 Added 'Ednet 45021' template provided by Ali Akcaagac
898 2005-02-14 Jim Evins <evins@snaught.com>
900 * data/templates/avery-us-templates.xml:
901 Updated templates to use inches instead of points.
902 * src/print-dialog.c: (printer_page_new):
903 Changed packing style when adding printer selector widget. This fixes
906 2005-02-13 Jim Evins <evins@snaught.com>
910 Updated spanish translations. (sergio rivadero)
912 2005-02-05 Jim Evins <evins@snaught.com>
914 Some cleanup to libglabels.
917 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
918 * libglabels/libglabels.pc.in
921 Created. Currently only contains glUnitsType which provides enumerations
922 for all possible units of distance.
923 * libglabels/Makefile.am:
924 Incorporated new files enums.h and libglabels.pc[.in].
925 * libglabels/libglabels.h:
927 * libglabels/template.h:
928 * libglabels/template.c: (gl_template_layout_new):
929 Changed parameters nx and ny to gint from gdouble.
931 * libglabels/xml.c: (gl_xml_get_prop_length),
932 (gl_xml_set_prop_length), (gl_xml_set_default_units):
933 Added support for different output units.
934 * src/prefs-dialog.c: (update_locale_page_from_prefs),
935 (update_prefs_from_locale_page):
936 * src/prefs-model.c: (string_to_units), (units_to_string):
938 * src/prefs.c: (gl_prefs_get_units_per_point),
939 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
940 (gl_prefs_get_units_string):
942 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
943 Reconciled all length enumerations with the new enumerations provided
944 in libglabels/enums.h.
946 2005-02-03 Jim Evins <evins@snaught.com>
949 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
951 Updated Italian translations. (Daniele Medri)
953 Updated credits to reflect above translations.
956 2005-01-22 Jim Evins <evins@snaught.com>
961 Added MESSAGE-OF-DOOM to EXTRA_DIST.
963 Final prep for 2.1.0.
965 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
967 Added '--remove-original' flag to desktop-file-install, so that there is
970 2005-01-20 Jim Evins <evins@snaught.com>
972 * data/glade/object-editor.glade:
973 - Font family entry should not be editable.
974 - img_key_entry should have sensitivity=YES, so that it follows the
975 sensitivity of img_key_combo.
977 2005-01-19 Jim Evins <evins@snaught.com>
980 Give credit to Frederic Ruaudel for the color merge patches.
982 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
984 Add support to merge color for all other color attribute (Feature
985 Requests item #1008635. If the data is invalid, the color used is transparent
986 (GL_COLOR_NONE). The format for color in merge data file are those accepted
987 by gdk_color_parse() these include name for a color from rgb.txt, such as
988 DarkSlateGray, or a hex specification such as #305050. File format has been
989 changed but backward compatibility is preserved for all format. For
990 box/ellipse/line, keep attribute "line_color" for static color or replace by
991 "line_color_field" for merge data. For text/barcode objects, keep attribute
992 "color" for static color or replace by "color_field" for merge data. In the
993 edit canvas window, merged color are represented by half-transparent black
996 * data/dtd/glabels-2.0.dtd:
997 Added line_color_field to line_attrs. Added color_field to
998 Object-barcode and Span.
999 * data/glade/object-editor.glade:
1000 Modify the layout of the editor to add merge possibility to color options
1002 Fix a copy/paste error in a comment
1004 Add default color for merge color representation in the editor canvas.
1005 * src/label-barcode.c:
1006 * src/object-editor-bc-page.c:
1007 * src/view-barcode.c:
1008 Add merge color support for barcode color.
1011 Add merge color support for box border color.
1012 * src/label-ellipse.c:
1013 * src/view-ellipse.c:
1014 Add merge color support for ellipse border color.
1017 Add merge color support for line color.
1018 * src/label-object.c:
1019 * src/label-object.h:
1020 * src/object-editor.c:
1021 * src/object-editor.h:
1022 * src/ui-property-bar.c:
1025 * src/xml-label-04.c:
1026 * src/xml-label-191.c:
1027 Add support for merging to other color attribute.
1029 * src/object-editor-text-page.c:
1031 Add merge color support for text color.
1032 * src/object-editor-fill-page.c:
1033 Change a blocked handler that didn't match the good widget. Fix the type
1034 of some debug message.
1035 * src/object-editor-line-page.c:
1036 Add merging support to line color option.
1037 * src/object-editor-private.h:
1038 Add variables for new widget.
1040 Modify the draw functions to get merge data if needed.
1042 Change the default size of the window in order to see all widget in the
1043 "text style tab" of the editor.
1045 Modify the parser to record/retreive the field value for objects that need
1046 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1047 static color or replace by "line_color_field" for merge data. For
1048 text/barcode objects, keep attribute "color" for static color or replace
1049 by "color_field" for merge data.
1051 2005-01-17 Jim Evins <evins@snaught.com>
1053 * src/view.c: (screen_changed_cb):
1054 Don't do anything if we don't have a screen.
1056 2005-01-06 Jim Evins <evins@snaught.com>
1058 * src/view.c: (get_home_scale):
1059 Fixed bad call to gtk_widget_has_screen() -- huh?.
1061 2005-01-06 Jim Evins <evins@snaught.com>
1063 * data/dtd/glabels-2.0.dtd:
1064 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1067 2005-01-06 Jim Evins <evins@snaught.com>
1069 * data/glade/object-editor.glade:
1070 Set entries for fill and data field key dropdowns to NOT editable.
1071 * src/view-box.c: (construct_properties_editor):
1072 * src/view-ellipse.c: (construct_properties_editor):
1073 Update object editor when label's merge property has changed.
1074 * src/xml-label.c: (xml_parse_object_ellipse):
1075 Completed the merge color support for the ellipse item.
1077 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1079 Add support to merge color for object that have a "Fill color" attribute (Feature
1080 Requests item #1008635. If the data is invalid, the color used is transparent
1081 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1082 by gdk_color_parse() these include name for a color from rgb.txt, such as
1083 DarkSlateGray, or a hex specification such as #305050. File format has been
1084 changed but backward compatibility is preserved for all format. For box/ellipse,
1085 keep attribute "fill_color" for static color or replace by "fill_color_field"
1088 * data/glade/object-editor.glade:
1089 Modify "Fill" tab to add the merge key combo and convert the labels into
1093 Add "glColorNode" structure and associated functions to manage it. This
1094 structure is equivalent for color than the "glTextNode". It holds the color
1096 * src/label-object.h:
1097 * src/label-object.c:
1099 * src/label-ellipse.c:
1100 * src/ui-property-bar.c:
1104 * src/view-ellipse.c:
1105 * src/xml-label-04.c:
1106 * src/xml-label-191.c:
1107 Change functions of objects that have a "fill color" attribute to use the
1108 new "glColorNode" structure. Use barcode code as example.
1110 Add the color.[ch] file to glabels_batch binary that now need support for
1112 * src/object-editor.h:
1113 * src/object-editor.c:
1114 * src/object-editor-fill-page.c:
1115 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1116 to choose between static color or merge key. Use barcode code as example.
1117 * src/object-editor-private.h:
1118 Add new widget in the "_glObjectEditorPrivate" structure.
1120 Modify the draw functions to get merge data if needed.
1122 Modify the parser to record/retreive the field value for objects that need
1123 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1124 color or "fill_color_field" for merge data.
1126 2005-01-04 Jim Evins <evins@snaught.com>
1129 * data/templates/avery-iso-templates.xml:
1130 * data/templates/misc-iso-templates.xml:
1131 * data/templates/misc-us-templates.xml:
1132 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1135 2004-11-26 Jim Evins <evins@snaught.com>
1139 Updated french translations provided by Florent Morel <florent@taket.org>.
1140 * src/view-barcode.c:
1142 * src/view-ellipse.c:
1146 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1147 thus _() strings were not being translated.
1149 2004-11-14 Jim Evins <evins@snaught.com>
1152 * src/debug.c: (gl_debug_init), (gl_debug):
1153 Borrowed from gedit: use environmental variables to select debug
1156 Removed unused include of debug.h.
1157 * src/glabels.c: (main):
1158 Added call to gl_debug_init(), and removed debug clutter from command line
1160 * src/glabels-batch.c: (main):
1161 Added call to gl_debug_init().
1163 2004-11-13 Jim Evins <evins@snaught.com>
1165 Drawing and property toolbars were being initialized with the "icons and text"
1166 look in Fedora Core 3. Even though none of the buttons had any text attached to
1167 them, the buttons were being sized as if they were. This led to less real estate
1168 for the property editor, leading to Bug #1064630. The
1170 * data/ui/glabels-ui.xml:
1171 Added explicit "look" property to both drawing and property toolbars.
1172 * src/prefs-model.c: (gl_prefs_model_save_settings),
1173 (gl_prefs_model_load_settings):
1174 * src/prefs-model.h:
1175 Removed drawing_toolbar_button_style configuration parameter.
1176 * src/ui.c: (view_menu_item_toggled_cb),
1177 (set_app_drawing_toolbar_style):
1178 Do not attempt to adjust look property of the drawing toolbar.
1180 2004-10-28 Jim Evins <evins@snaught.com>
1182 * data/pixmaps/glabels-about-logo.png:
1185 2004-10-28 Jim Evins <evins@snaught.com>
1187 * data/man/glabels.1:
1188 * src/glabels-batch.c: (main):
1190 * src/print.c: (gl_print_batch):
1192 Added option to glabels-batch to select the first label to begin
1195 2004-09-26 Jim Evins <evins@snaught.com>
1197 * data/desktop/glabels.desktop.in:
1198 Point to app icon, "glabels.png"
1199 * data/mime/glabels.keys.in:
1200 Point at mime icon, "glabels-application-x-glabels.png"
1201 * data/pixmaps/Makefile.am:
1202 Added glabels_app_icondir. Renamed icons.
1203 * data/pixmaps/glabels.png:
1204 New cleaned up app icon. Deleted glabels-icon.png.
1205 * data/pixmaps/glabels-application-x-glabels.png:
1207 * data/pixmaps/glabels-splash.png:
1208 Renamed glabels-logo to glabels-splash to be more correct about role.
1210 * src/template-designer.c:
1211 Point at app icon, "glabels.png"
1213 Point at renamed splash image, "glabels-splash.png"
1215 2004-08-22 Jim Evins <evins@snaught.com>
1218 * src/glabels-batch.c: (main):
1219 Applied patch with minor mods to allow selecting merge source and
1220 crop-marks on glabels-batch's command line. Original patch provided by
1221 José Dapena Paz <jdapena@igalia.com>.
1223 2004-08-15 Jim Evins <evins@snaught.com>
1225 * data/desktop/glabels.desktop.in:
1226 - Added encoding line
1227 - Removed period from comment
1228 - Fixed Terminal line, changed "0" to "false"
1229 - Added semicolen to Categories line
1231 - Made sure desktop.in comment string above still translated properly
1233 2004-08-14 Jim Evins <evins@snaught.com>
1235 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1236 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1237 * src/xml-label-191.c: (xml191_parse_sheet):
1238 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1240 Reconciled libglabels versioning with 2.0.1.
1243 2004-08-14 Jim Evins <evins@snaught.com>
1246 Updated version to 2.1cvs.
1248 2004-08-14 Jim Evins <evins@snaught.com>
1251 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1253 2004-08-14 Jim Evins <evins@snaught.com>
1255 Fixes for Bug #1008181.
1257 * src/bc.c: (gl_barcode_default_digits):
1258 Make a format of zero digits, harmless.
1259 * src/xml-label.c: (xml_parse_object_barcode):
1260 Set default value of the format property of barcode objects to 10, not
1261 zero. This will prevent crashes when reading pre 2.0.x files.
1263 2004-08-09 Jim Evins <evins@snaught.com>
1267 * help/C/glabels-C.omf:
1268 * help/C/glabels.xml:
1269 Brought documentation up-to-date for 2.0.0 release.
1271 2004-08-09 Jim Evins <evins@snaught.com>
1273 These are hopefully the final preparations for 2.0.0.
1275 * data/mime/Makefile.am:
1276 Include glabels.xml in EXTRA_DIST.
1278 - Updated comment style.
1279 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1280 - Added package and version info to configuration printout
1281 - Update version to 2.0.0
1282 * libglabels/Makefile.am:
1283 Use the new LIBGLABELS_VERSION_INFO macro.
1285 2004-08-09 Jim Evins <evins@snaught.com>
1289 Cleanup of required library macros.
1291 2004-08-08 Jim Evins <evins@snaught.com>
1295 - More specific of what to install in /usr/bin and /usr/lib
1296 - Remove built mime registration files from staging directory
1298 2004-08-08 Jim Evins <evins@snaught.com>
1300 * data/mime/Makefile.am:
1301 Fixed typo: key_files should have been keys_files.
1303 2004-08-08 Jim Evins <evins@snaught.com>
1305 Reorganization of runtime data files. Also added registration of mimetype with
1306 new freedesktop.org mime database if available.
1309 Moved files to appropriate subdirectories, creating local Makefile.am
1310 in each subdirectory.
1311 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1312 These are now installed at $datadir/glabels/templates.
1313 - Moved glabels.1 to man subdirectory.
1314 - Moved glabels-2.0.dtd to dtd subdirectory.
1315 - Moved glabels.desktop.in to desktop subdirectory.
1316 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1318 Moved "./pixmaps" to "./data/pixmaps"
1320 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1322 Moved libglade files from src to data/glade. Created Makefile.am.
1324 Removed pixmaps from SUBDIRS.
1326 - Removed pixmaps from makefiles.
1327 - Added makefiles for new subdirs of data.
1328 - Added tests for freedesktop.org mime database.
1330 - Added tests for freedesktop.org mime database for post install and
1331 post un-install actions.
1332 * libglabels/Makefile.am:
1333 Moved system template files to $(datadir)/glabels/templates.
1334 * libglabels/libglabels-private.h:
1335 Moved system template files to $(datadir)/glabels/templates.
1337 - Accounted for movement of ui and libglade files.
1338 - Added missing .in files.
1339 - Reorganized by directory.
1341 Accounted for movement of ui and libglade files.
1342 * data/mime/glabels.xml.in:
1343 New file for registering with freedesktop.org mime database.
1345 2004-08-07 Jim Evins <evins@snaught.com>
1347 * src/recent-files/*:
1348 Re-synced to latest libegg/recent-files.
1350 2004-08-07 Jim Evins <evins@snaught.com>
1355 Renamed "./doc" directory to "./help" which contains user documentation,
1356 to be more consistent with other GNOME applications.
1359 2004-07-26 Jim Evins <evins@snaught.com>
1361 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1362 Corrected button order of merge properties dialog.
1364 2004-07-18 Jim Evins <evins@snaught.com>
1366 * data/glabels-2.0.dtd:
1367 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1368 (gl_barcode_get_prefered_n):
1370 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1371 (gl_label_barcode_get_props), (get_size):
1372 * src/label-barcode.h:
1373 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1374 (style_changed_cb), (gl_object_editor_set_bc_style),
1375 (gl_object_editor_get_bc_style):
1376 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1377 (gl_object_editor_set_data), (gl_object_editor_get_data):
1378 * src/object-editor-private.h:
1379 * src/object-editor.c: (gl_object_editor_set_key_names):
1380 * src/object-editor.glade:
1381 * src/object-editor.h:
1382 * src/print.c: (draw_barcode_object):
1383 * src/view-barcode.c: (update_object_from_editor_cb),
1384 (update_editor_from_object_cb),
1385 (gl_view_barcode_create_event_handler), (draw_barcode):
1386 * src/xml-label-04.c: (xml04_parse_barcode_props):
1387 * src/xml-label-191.c: (xml191_parse_barcode_props):
1388 * src/xml-label.c: (xml_parse_object_barcode),
1389 (xml_create_object_barcode):
1390 Added "format" attribute to barcode objects. This attribute is used
1391 to properly format freeform barcodes barcodes prior to merge data is
1392 applied, so that barcodes can be accurately layed out. This addresses
1393 remaining issues of feature request #824787. Also added an example of
1394 the format in the object editor.
1396 2004-07-12 Jim Evins <evins@snaught.com>
1398 Various code cleanups.
1400 * src/label-barcode.c:
1401 Removed unneeded include of gnome-glyphlist.h.
1403 * src/label-text.c: (get_size):
1404 Fixed memory leak: unref glyphlists when done with them.
1406 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1407 * src/object-editor-data-page.c:
1408 (gl_object_editor_prepare_data_page):
1409 * src/object-editor-image-page.c:
1410 (gl_object_editor_prepare_image_page):
1411 * src/object-editor-line-page.c:
1412 (gl_object_editor_prepare_line_page):
1413 * src/object-editor-lsize-page.c:
1414 (gl_object_editor_prepare_lsize_page):
1415 * src/object-editor-position-page.c:
1416 (gl_object_editor_prepare_position_page):
1417 * src/object-editor-size-page.c:
1418 (gl_object_editor_prepare_size_page):
1419 * src/object-editor-text-page.c:
1420 (gl_object_editor_prepare_text_page):
1421 Removed unneeded size groups, originally intended to keep widgets aligned.
1422 Now use tables to lay these out in object-editor.glade.
1424 * src/print.c: (draw_text_object):
1425 Fixed memory leak: unref glyphlists when done with them.
1427 * src/view-barcode.c: (draw_barcode):
1428 Fixed memory leak: unref glyphlists when done with them.
1430 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1431 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1433 - Fixed memory leak: unref glyphlists when done with them.
1435 2004-07-11 Jim Evins <evins@snaught.com>
1437 * data/glabels-2.0.dtd:
1438 * src/label-text.c: (gl_label_text_instance_init), (copy),
1439 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1441 * src/object-editor-private.h:
1442 * src/object-editor-text-page.c:
1443 (gl_object_editor_prepare_text_page),
1444 (gl_object_editor_set_text_auto_shrink),
1445 (gl_object_editor_get_text_auto_shrink):
1446 * src/object-editor.c: (gl_object_editor_set_key_names):
1447 * src/object-editor.glade:
1448 * src/object-editor.h:
1449 * src/print.c: (draw_text_object):
1450 * src/view-text.c: (update_object_from_editor_cb),
1451 (update_editor_from_object_cb):
1452 * src/xml-label.c: (xml_parse_object_text),
1453 (xml_create_object_text):
1454 Added option to allow document merge to auto shrink text size to fit
1455 within the text box. The code in print.c that actually shrinks the
1456 text is loosely based on a patch submitted by Mark Harrison
1457 <mark.harrison@velocitynet.com.au>. This addresses feature request
1460 2004-07-11 Jim Evins <evins@snaught.com>
1462 * data/glabels-2.0.dtd:
1463 * libglabels/template.c: (gl_template_rect_label_type_new),
1464 (gl_template_round_label_type_new),
1465 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1466 (template_full_page):
1467 * libglabels/template.h:
1468 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1469 (xml_create_label_node):
1470 * pixmaps/ex-rect-size.png:
1471 * src/print.c: (clip_to_outline), (clip_punchouts):
1472 * src/template-designer.c: (construct_rect_size_page),
1473 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1475 * src/template-designer.glade:
1476 * src/xml-label-191.c: (xml191_parse_label):
1477 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1478 properties for rectangular labels. Templates remain backwards compatible,
1479 but this breaks the libglabels API (I don't know of anyone outside of
1480 glabels using libglabels at this time -- what can I say, the program is
1481 is still "unstable"). This addresses the suggestion in Feature Request
1484 2004-07-05 Jim Evins <evins@snaught.com>
1485 * src/print.c: (print_crop_marks), (draw_outline):
1486 Changed crop marks and label outlines to black, instead of 25% gray.
1487 This addresses debian Bug #257460.
1489 2004-07-05 Jim Evins <evins@snaught.com>
1491 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1492 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1493 Preserve "is_default" of fill and line color_combos when creating from
1496 2004-07-02 Jim Evins <evins@snaught.com>
1499 Created man page. Based on page submitted by Matthew J. Lockner, however
1500 it has been severely edited.
1502 * data/avery-other-templates.xml
1503 * data/misc-other-templates.xml:
1504 Started new files for predefined templates with non-standard sheet sizes.
1505 These have been initially populated with the Avery 06141 and
1506 OfficeMax #86112, both provided by Matthew J. Lockner.
1509 Install above manpage and template files.
1512 Make sure we install man pages.
1514 * src/glabels-batch.c:
1515 Changed short form of help option to '-?' to be consistent with glabels.
1518 Added acknowledgement for above labels.
1520 2004-07-02 Jim Evins <evins@snaught.com>
1522 * src/glabels.c: (main), (save_session_cb):
1523 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1525 - save_session_cb() now returns gboolean.
1526 - Minor formatting changes.
1530 - Now include file.h to provide missing prototype.
1531 - gl_window_get_type() now returns GType, not guint. I believe this may
1532 ultimately be cause of the segfault reported in Bug #982287, since
1533 GType is actually a gulong, which may not be compatible on other
1534 architectures (64bit) -- I cannot personally test this at this time.
1535 I was sloppy in several other xxx_get_type() functions which also
1536 returned guint -- see next group of files:
1538 * src/window.c: (gl_window_get_type):
1539 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1540 * src/canvas-hacktext.h:
1541 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1542 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1543 (gl_hig_hbox_get_type):
1545 * src/label-barcode.c: (gl_label_barcode_get_type):
1546 * src/label-barcode.h:
1547 * src/label-box.c: (gl_label_box_get_type):
1549 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1550 * src/label-ellipse.h:
1551 * src/label-image.c: (gl_label_image_get_type):
1552 * src/label-image.h:
1553 * src/label-line.c: (gl_label_line_get_type):
1555 * src/label-object.c: (gl_label_object_get_type):
1556 * src/label-object.h:
1557 * src/label-text.c: (gl_label_text_get_type):
1559 * src/label.c: (gl_label_get_type):
1561 * src/merge-properties-dialog.c:
1562 (gl_merge_properties_dialog_get_type):
1563 * src/merge-properties-dialog.h:
1564 * src/merge-text.c: (gl_merge_text_get_type):
1566 * src/merge.c: (gl_merge_get_type):
1568 * src/object-editor.c: (gl_object_editor_get_type):
1569 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1570 * src/prefs-dialog.h:
1571 * src/prefs-model.c: (gl_prefs_model_get_type):
1572 * src/prefs-model.h:
1573 * src/print-dialog.c: (gl_print_dialog_get_type):
1574 * src/print-dialog.h:
1575 * src/template-designer.c: (gl_template_designer_get_type):
1576 * src/template-designer.h:
1577 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1578 * src/ui-property-bar.h:
1579 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1581 * src/view-barcode.c: (gl_view_barcode_get_type):
1582 * src/view-barcode.h:
1583 * src/view-box.c: (gl_view_box_get_type):
1585 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1586 * src/view-ellipse.h:
1587 * src/view-highlight.c: (gl_view_highlight_get_type):
1588 * src/view-highlight.h:
1589 * src/view-image.c: (gl_view_image_get_type):
1591 * src/view-line.c: (gl_view_line_get_type):
1593 * src/view-object.c: (gl_view_object_get_type):
1594 * src/view-object.h:
1595 * src/view-text.c: (gl_view_text_get_type):
1597 * src/view.c: (gl_view_get_type):
1599 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1600 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1601 * src/wdgt-image-select.h:
1602 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1603 * src/wdgt-media-select.h:
1604 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1605 * src/wdgt-mini-preview.h:
1606 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1607 * src/wdgt-print-copies.h:
1608 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1609 * src/wdgt-print-merge.h:
1610 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1611 * src/wdgt-rotate-label.h:
1612 - Made sure all xxx_get_type functions returned GType, not guint. This
1613 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1614 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1615 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1616 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1617 window.[ch] details above for more info.
1618 - Reconciled various coding style differences in all xxx_get_type()
1620 * All prototypes include G_GNUC_CONST.
1621 * All prototypes specify the return value as GType, not GtkType
1623 * Info structures are all declared as "static const."
1624 * Generalized the names of type and info variables.
1625 * Miscelaneous formatting.
1627 2004-06-08 Jim Evins <evins@snaught.com>
1633 Don't touch compression of original file -- still defaults to 9 for
1634 new files. Original patch provided by Javier Donaire Segarra
1635 (#912252 in patch tracker).
1637 2004-05-05 Jim Evins <evins@snaught.com>
1639 * data/glabels-2.0.dtd:
1640 Broke DTD previously when adding new barcode types that contain a
1641 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
1642 to avoid the problem.
1643 * data/avery-iso-templates.xml:
1644 * data/zweckform-iso-templates.xml:
1646 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
1647 provided by Frank Altpeter.
1648 * libglabels/xml-template.c: (xml_create_label_node):
1649 Reordered markup and layout sub-nodes so that resulting templates will
1650 validate against DTD.
1652 2004-03-13 Jim Evins <evins@snaught.com>
1654 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
1655 Changed spin callback signals from "value-changed" back to "changed."
1656 This was accidentally introduced in a previous revision, and can cause
1657 size changes just by selecting the size tab.
1659 2004-03-06 Jim Evins <evins@snaught.com>
1661 * src/view.c: (draw_grid_layer):
1662 For round labels (round and cd) adjust grid so that it lines up with
1663 center of label. Also, no longer draw box around label in the grid layer,
1664 it is hidden by he fg layer anyway. Feature suggested by
1665 nemolivier@free.fr. Although the grid is aligned with the center of the
1666 label, the coordinate system is still relative to the upper left corner
1667 of the rectangle containing the label.
1669 2004-02-25 Jim Evins <evins@snaught.com>
1672 Changed version to 2.0pre1cvs
1674 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
1675 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
1676 instead of doc->name fields when errors encountered.
1678 2004-02-21 Jim Evins <evins@snaught.com>
1680 * data/avery-iso-templates.xml:
1681 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
1684 Added libglabels library and include file to installed files.
1687 Final prep for 1.93.3.
1689 2004-02-20 Jim Evins <evins@snaught.com>
1691 * src/glabels-batch.c: (main):
1692 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
1693 as suggested by Javier Donaire Segarra. This addresses bug #901063.
1695 2004-02-16 Jim Evins <evins@snaught.com>
1698 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
1701 Added HAVE_FILE_CHOOSER to INCLUDES.
1703 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
1704 (gl_file_save_as), (save_as_response):
1705 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
1707 2004-02-16 Jim Evins <evins@snaught.com>
1709 * src/xml-label-04.c: (xml04_parse_image_props):
1710 * src/xml-label-191.c: (xml191_parse_image_props):
1711 * src/xml-label.c: (xml_parse_object_image):
1712 Delay setting image size until after image has been applied to new
1715 2004-02-15 Jim Evins <evins@snaught.com>
1717 * src/label-barcode.c: (gl_label_barcode_set_data),
1718 (gl_label_barcode_set_props):
1719 Don't emit "changed" signal, if no change actually made for these
1720 methods. Reduces number of unnecessary redraws of barcodes.
1722 * src/label-object.h:
1723 * src/label-object.c: (gl_label_object_set_position),
1724 (gl_label_object_set_position_relative), (set_size),
1725 (gl_label_object_set_size),
1726 (gl_label_object_set_size_honor_aspect):
1727 Don't emit "changed" signal, if no change actually made for these
1730 2004-02-15 Jim Evins <evins@snaught.com>
1732 * data/glabels-2.0.dtd:
1733 Added specific subtypes for various barcode types.
1736 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
1737 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
1738 (gl_barcode_can_text), (gl_barcode_text_optional),
1739 (gl_barcode_can_csum), (gl_barcode_csum_optional),
1740 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
1741 Changed API to use a string id, rather than a fixed enumeration. Id and
1742 name are separate strings. Added entries to backend table for specific
1743 subtypes for various barcode types.
1746 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
1748 Modified to conform to above API. Now more stringent with data length
1749 for various subtypes.
1751 * src/bc-gnubarcode.h:
1752 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
1753 (is_length_valid), (is_length1_valid), (is_length2_valid):
1754 Modified to conform to above API. Now more stringent with data length
1755 for various subtypes.
1757 * src/label-barcode.h:
1758 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1759 (gl_label_barcode_get_props), (get_size):
1760 Modified to use above API for storing barcode type.
1762 * src/object-editor.h:
1763 * src/object-editor-bc-page.c: (style_changed_cb),
1764 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
1765 Modified to use above API for storing barcode type.
1767 * src/object-editor-size-page.c:
1768 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
1769 (w_spin_cb), (h_spin_cb), (size_reset_cb):
1770 Added debug markers.
1772 * src/object-editor.glade:
1773 Made barcode style combo's text entry non-editable.
1775 * src/print.c: (draw_barcode_object):
1776 Modified to use above API for barcode type.
1778 * src/view-barcode.c: (update_object_from_editor_cb),
1779 (update_editor_from_object_cb),
1780 (gl_view_barcode_create_event_handler), (draw_barcode):
1781 Modified to use above API for barcode type.
1783 * src/xml-label-04.c: (xml04_parse_barcode_props):
1784 * src/xml-label-191.c: (xml191_parse_barcode_props):
1785 * src/xml-label.c: (xml_parse_object_barcode),
1786 (xml_create_object_barcode):
1787 Modified to use above API for barcode type.
1789 2004-02-07 Jim Evins <evins@snaught.com>
1791 * src/stock-pixmaps/Makefile.am:
1792 * src/stock-pixmaps/stock_hchain_24.png:
1793 * src/stock-pixmaps/stock_hchain_broken_24.png:
1794 * src/stock-pixmaps/stock_vchain_24.png:
1795 * src/stock-pixmaps/stock_vchain_broken_24.png:
1796 Added chain pixmaps borrowed from the gimp's default theme.
1799 * src/stock.c: (gl_stock_init), (add_button_icon):
1800 Added above pixmaps to stock icon sets. Created add_button_icon() to
1801 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
1803 * src/wdgt-chain-button.h
1804 * src/wdgt-chain-button.c
1807 Added this Modified version of gimpchainbutton widget, borrowed from
1811 Added acknowledgements of the above borrowing from the gimp.
1813 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
1815 * src/object-editor.c: (gl_object_editor_construct_chain_button):
1816 * src/object-editor.glade:
1817 Replaced the keep aspect ratio check box with the above chain-button
1820 * src/text-node.c: (gl_text_node_equal):
1822 Added function gl_text_node_equal() to compare text_nodes.
1824 * src/label-image.c: (gl_label_image_set_filename):
1825 Replaced incomplete text_node comparison code with invocation of
1826 gl_text_node_equal. This fixed the problem of not being able to
1827 resize an image using the object_editor if the aspect ratio is not
1830 2004-02-04 Jim Evins <evins@snaught.com>
1832 * src/object-editor-image-page.c:
1833 (gl_object_editor_prepare_image_page):
1834 Track "changed" signal of pixmap entry's GtkEntry rather than its
1835 "activate" signal -- this catches all changes to the entry rather than
1836 just changes resulting from a browse, so one can easily pull previous
1837 entries from the history. (This change is marked below on 2004-02-03,
1838 but somehow never got checked in.)
1840 * src/view-highlight.c: (sl_resize_event_handler),
1841 (sr_resize_event_handler), (st_resize_event_handler),
1842 (sb_resize_event_handler):
1843 Side resize handles will now confirm the actual resize that the object
1844 accepted before adjusting position parameters. Previously some interesting
1845 things happened when resizing a barcode to its minimum size.
1847 2004-02-03 Jim Evins <evins@snaught.com>
1849 * src/object-editor-image-page.c:
1850 (gl_object_editor_prepare_image_page):
1851 Track "changed" signal of pixmap entry's GtkEntry rather than its
1852 "activate" signal -- this catches all changes to the entry rather than
1853 just changes resulting from a browse, so one can easily pull previous
1854 entries from the history.
1856 * src/view-highlight.c: (tl_resize_event_handler),
1857 (tr_resize_event_handler), (bl_resize_event_handler),
1858 (br_resize_event_handler):
1859 Allow control key to be dropped while dragging a corner resize handle
1860 without losing the aspect ratio lock.
1862 2004-02-02 Jim Evins <evins@snaught.com>
1864 * src/label-image.c: (gl_label_image_set_filename):
1865 When setting a new filename adjust size such that the aspect ratio of
1866 the image is preserved using the current size as a bounding box.
1868 * src/view-image.c: (update_object_from_editor_cb):
1869 When updating object from editor, feed back possible size changes to
1870 editor as a result of a possible change in image.
1872 * src/object-editor-size-page.c: (size_reset_cb):
1873 Fixed typo when blocking spin handlers. If the base size is larger than
1874 the max size, treat max size as a bounding box while keeping aspect
1878 2004-02-02 Jim Evins <evins@snaught.com>
1880 * src/label-object.h:
1881 * src/label-object.c: (gl_label_object_set_size),
1882 (gl_label_object_set_size_honor_aspect):
1883 Added gl_label_object_set_size_honor_aspect() which will maintain the
1884 current aspect ratio by modifying the supplied w or h apropriately.
1886 * src/view-highlight.c: (tl_resize_event_handler),
1887 (tr_resize_event_handler), (bl_resize_event_handler),
1888 (br_resize_event_handler):
1889 Corner handles will now maintain the current aspect ratio if the
1890 control key is pressed while resizing. This addresses feature
1894 2004-01-31 Jim Evins <evins@snaught.com>
1897 * data/avery-us-templates.xml:
1898 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
1900 * libglabels/template.c: (read_template_files_from_dir):
1901 Corrected problem with testing for extensions.
1903 * src/object-editor.glade:
1904 Corrected grouping of radio buttons in barcode data page.
1906 * src/print.c: (draw_barcode_object):
1907 * src/view-barcode.c: (draw_barcode):
1908 Corrected problem with calculation of y_offset for locating characters.
1910 2004-01-24 Jim Evins <evins@snaught.com>
1913 * data/avery-us-templates.xml:
1914 Added Avery 5824, submitted by Fred Bacon.
1916 2004-01-20 Jim Evins <evins@snaught.com>
1918 Catching up on a couple of backlogged user template submissions.
1920 * data/avery-iso-templates.xml:
1921 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
1922 Suggested by Linas Jakucionis.
1924 * data/zweckform-iso-templates.xml:
1925 Added Zweckform 4760, submitted by Thomas Vill.
1928 Updated to reflect above submissions.
1930 2004-01-06 Jim Evins <evins@snaught.com>
1932 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
1933 xml.[ch] into a separate library called libglabels, to facilitate third
1934 party use of glabels template files. This was suggested by Wayne Schuller.
1935 Once split-out, some modifications to the structures and functions to
1936 make a cleaner more useful API, hopefully. Rather extensive changes have
1937 propogated to other modules.
1945 * src/xml-template.h:
1946 * src/xml-template.c:
1949 These files have been moved to libglabels/. API cleanup performed.
1951 * libglabels/libglabels.h:
1952 * libglabels/libglabels-private.h:
1953 * libglabels/Makefile.am:
1954 These files have been added to finish out libglabels.
1961 Modified to reflect new sets of files in src/ and libglabels/.
1963 * COPYING.LIBGLABELS:
1965 Added copy of the LGPL for libglabels, and a copy the GFDL for
1968 * src/glabels-batch.c:
1970 * src/label.c: (gl_label_finalize), (gl_label_set_template),
1971 (gl_label_get_size):
1973 * src/prefs-model.c: (gl_prefs_model_load_settings):
1974 * src/print-dialog.c:
1975 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
1976 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
1977 (print_crop_marks), (print_label), (draw_outline),
1978 (clip_to_outline), (clip_punchouts):
1979 * src/template-designer.c: (construct_pg_size_page),
1980 (pg_size_page_changed_cb), (layout_page_changed_cb),
1981 (print_test_cb), (build_template):
1982 * src/util.c: (gl_util_fraction):
1984 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
1985 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1986 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1987 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1988 (draw_markup_margin_round), (draw_markup_margin_cd),
1989 (draw_markup_margin_cd_bc), (draw_markup_line),
1990 (draw_markup_circle), (gl_view_copy):
1991 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1992 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
1993 (get_label_size_desc):
1994 * src/wdgt-mini-preview.c:
1995 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
1997 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
1998 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
1999 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2000 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2001 * src/wdgt-rotate-label.h:
2002 * src/xml-label-04.c: (xml04_parse_media_description):
2003 * src/xml-label-191.c: (gl_xml_label_191_parse),
2004 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2005 (xml191_parse_markup), (xml191_parse_alias):
2006 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2008 Various changes to accomodate new libglabels API.
2010 2004-01-03 Jim Evins <evins@snaught.com>
2015 2004-01-03 Jim Evins <evins@snaught.com>
2018 Added acknowledgement of contributions by Wayne Schuller.
2020 * src/commands.c: (gl_cmd_file_print):
2021 Create extra reference to print dialog, so that it can be properly re-used.
2023 * src/mygal/mygal-combo-box.h:
2024 * src/mygal/mygal-combo-box.c:
2025 (mygal_combo_box_popup_hide_unconditional),
2026 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2027 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2028 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2029 (mygal_combo_box_set_tearable):
2030 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2031 complete the rename of this widget to prevent namespace collisions
2034 * src/prefs-dialog.glade:
2035 Fixed alignment of Fill/Color widgets.
2037 2004-01-03 Jim Evins <evins@snaught.com>
2039 * data/avery-iso-templates.xml:
2040 Added user submitted templates.
2041 Avery 8435A & 8435B, submitted by Ludger Solbach.
2043 * doc/C/glabels.xml:
2044 Added minimal documentation, noting the new template designer.
2046 2004-01-03 Jim Evins <evins@snaught.com>
2048 * pixmaps/ex-rect-size.png:
2049 * pixmaps/ex-round-size.png:
2050 * pixmaps/ex-cd-size.png:
2051 * pixmaps/Makefile.am:
2052 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2053 files to be used as illustrations/examples in the template-designer.
2055 * src/template-designer.c: (construct_rect_size_page),
2056 (construct_round_size_page), (construct_cd_size_page),
2057 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2058 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2059 (layout_page_prepare_cb), (build_template):
2060 * src/template-designer.glade:
2061 Added illustrations for rectangle, round, and cd label size pages.
2062 Added margin spinboxes to these pages, and now add a margin markup
2063 to the constructed template. Added realistic default values for
2064 some of the size spinboxes. Cleaned up the code for setting spinbox
2065 ranges on the layouts page.
2067 2004-01-02 Jim Evins <evins@snaught.com>
2069 * src/object-editor-size-page.c: (h_spin_cb):
2070 Fixed cut-n-paste error in h_spin_cb that loaded h from
2071 the wrong spinbutton.
2073 * src/object-editor.h:
2074 * src/object-editor.c: (gl_object_editor_class_init),
2075 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2076 * src/object-editor-private.h:
2077 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2079 Added "size_changed" signal.
2081 * src/view-text.c: (construct_properties_editor),
2082 (update_object_from_editor_cb),
2083 (update_object_from_editor_size_cb):
2084 Track size changes from object editor separately from other
2085 properties. This is so the default size (0,0) of a text
2086 object is not modified unintentionally.
2088 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2090 Added feature: line spacing - allows you to comfortably space a text box to
2091 fit a label perfectly.
2093 * data/glabels-2.0.dtd:
2094 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2095 (gl_label_object_get_text_alignment),
2096 (gl_label_object_get_text_line_spacing):
2097 * src/label-object.h:
2098 * src/label-text.c: (gl_label_text_class_init),
2099 (gl_label_text_instance_init), (copy), (get_size),
2100 (set_text_line_spacing), (get_text_alignment),
2101 (get_text_line_spacing):
2102 * src/object-editor-private.h:
2103 * src/object-editor-text-page.c:
2104 (gl_object_editor_prepare_text_page),
2105 (gl_object_editor_set_text_line_spacing),
2106 (gl_object_editor_get_text_line_spacing):
2107 * src/object-editor.glade:
2108 * src/object-editor.h:
2109 * src/prefs-dialog.c: (construct_object_page),
2110 (update_object_page_from_prefs), (update_prefs_from_object_page):
2111 * src/prefs-dialog.glade:
2112 * src/prefs-model.c: (gl_prefs_model_save_settings),
2113 (gl_prefs_model_load_settings), (get_float):
2114 * src/prefs-model.h:
2115 * src/print.c: (draw_text_object):
2117 * src/view-text.c: (update_object_from_editor_cb),
2118 (update_editor_from_object_cb),
2119 (gl_view_text_create_event_handler), (draw_hacktext):
2120 * src/view.c: (gl_view_construct),
2121 (gl_view_set_selection_text_line_spacing),
2122 (gl_view_set_default_text_line_spacing),
2123 (gl_view_get_default_text_line_spacing):
2125 * src/xml-label.c: (xml_parse_toplevel_span),
2126 (xml_create_toplevel_span):
2128 2003-12-30 Jim Evins <evins@snaught.com>
2130 * src/template-designer.c:
2131 * src/template-designer.h:
2132 * src/template-designer.glade:
2133 New template designer assistant.
2137 Added entries for src/template-designer.* files.
2139 * pixmaps/ex-1layout.png
2140 * pixmaps/ex-2layouts.png
2141 * pixmaps/Makefile.am:
2142 Added the new image files ex-*.png used as illustrations in the
2143 template designer assistant.
2145 * src/print-dialog.h:
2146 * src/print-dialog.c: (gl_print_dialog_finalize),
2147 (gl_print_dialog_new), (gl_print_dialog_construct),
2148 (gl_print_dialog_force_outline_flag):
2149 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2150 to support printing from the template designer assistant which does not
2151 have a full-fledged view. Nothing else from the view object was being
2152 used by the dialog anyway.
2154 Added the gl_print_dialog_force_outline_flag() method, for better
2155 integration with the template designer assistant.
2159 * src/commands.c: (gl_cmd_file_template_designer),
2160 (gl_cmd_file_print):
2161 Modified print command to provide label instead of view to dialog.
2162 Added the gl_cmd_file_template_designer() command to invoke the
2163 template designer assistant.
2166 * src/glabels-ui.xml:
2167 Added support for template designer assistant.
2169 * src/wdgt-mini-preview.h:
2170 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2171 (gl_wdgt_mini_preview_set_bg_color):
2172 Preview is now centered in canvas. Added
2173 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2174 assistant to match the background color with its own.
2176 * src/print.c: (clip_to_outline):
2177 Fixed really stupid bug when adding waste to clip region of rectangular
2178 labels/cards. Each side of the clip region needs to be extended by
2179 twice the waste margin, as well as negatively offset by the waste
2182 2003-12-28 Jim Evins <evins@snaught.com>
2184 * src/prefs-dialog.c: (update_object_page_from_prefs):
2185 Block intermediary function align_toggle_cb() instead of
2186 update_prefs_from_object_page() for the three alignment
2189 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2191 * src/file.c: (gl_file_new), (gl_file_properties):
2192 Swap button order and set default for higificatory pleasure.
2194 2003-12-27 Jim Evins <evins@snaught.com>
2196 * barcode-0.98/Makefile.am:
2197 One last time: removed doc/Makefile and po/Makefile.in.in from
2200 2003-12-27 Jim Evins <evins@snaught.com>
2202 * barcode-0.98/Makefile.am:
2203 Removed config.stat entry from EXTRA_DIST files.
2205 * barcode-0.98/Makefile.in:
2208 2003-12-27 Jim Evins <evins@snaught.com>
2211 Updated to work with latest gnome-common package from CVS.
2212 Removed recursive configuration of barcode-0.98.
2219 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2221 * barcode-0.98/Makefile.in:
2222 * barcode-0.98/configure.in:
2223 * barcode-0.98/Makefile.am:
2224 * barcode-0.98/README.glabels:
2225 Modified to ignore the barcode package's build system, and build
2226 as a part of glabels.
2227 Renamed Makefile.in to Makefile.in.dist.
2228 Renamed configure.in to configure.in.dist.
2229 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2232 * src/mygal/Makefile.am:
2233 * src/recent-files/Makefile.am:
2234 In order to build against the GNOME 2.5 platform,
2235 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2237 * src/mygal/Makefile.am:
2238 * src/mygal/mygal-combo-box.c:
2239 * src/mygal/mygal-combo-box.h:
2240 * src/mygal/widget-color-combo.c:
2241 * src/mygal/widget-color-combo.h:
2243 In order to build against the GNOME 2.5 platform,
2244 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2245 collisions with the real gtk_combo_box widget, now a part of gtk.
2247 2003-12-26 Jim Evins <evins@snaught.com>
2253 Moved local versions of get_home_data_dir() in paper.c and
2254 template.c to util package. Cleaned up formatting in
2258 In gl_template_register() save a copy of the template in
2259 ~/.glabels if the template is not known. Still need to
2260 handle duplicate filename case and duplicate name but
2261 different template case.
2265 Moved local definition of NAME_SPACE macro from xml-label.c
2268 * src/xml-template.c:
2269 * src/xml-template.h:
2270 Added function gl_xml_template_write_template_to_file(), used
2271 in gl_template_register().