1 2005-12-20 Jim Evins <evins@snaught.com>
4 Define unique G_LOG_DOMAIN for glabels.
5 * src/critical-error-handler.c: (gl_critical_error_handler_init):
6 * src/warning-handler.c: (gl_warning_handler_init),
8 Register for G_LOG_DOMAIN instead of NULL.
10 2005-12-10 Jim Evins <evins@snaught.com>
12 * src/merge-evolution.c:
16 2005-12-08 Jim Evins <evins@snaught.com>
18 * libglabels/paper.c: (read_paper_files_from_dir):
19 * libglabels/template.c: (gl_template_register),
20 (read_template_files_from_dir):
21 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
22 (gl_xml_paper_parse_papers_doc):
23 * libglabels/xml-template.c:
24 (gl_xml_template_read_templates_from_file),
25 (gl_xml_template_parse_templates_doc),
26 (gl_xml_template_parse_template_node),
27 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
28 (xml_parse_label_cd_node), (xml_parse_layout_node),
29 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
30 (xml_parse_markup_circle_node),
31 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
32 * libglabels/xml.c: (gl_xml_get_prop_length):
33 Re-classified g_warnings to g_messages.
35 * src/glabels.c: (main):
36 * src/warning-handler.c: (gl_warning_handler_init),
38 * src/warning-handler.h:
39 Added warning message handler to make sure the user is
40 presented with appropriate non-fatal errors.
41 * src/critical-error-handler.c: (critical_error_handler):
42 Changed exit to abort.
43 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
44 * src/bc-postnet.c: (postnet_code):
45 * src/bc.c: (id_to_index), (name_to_index):
46 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
47 * src/object-editor.c: (gl_object_notebook_construct_valist):
48 * src/prefs-dialog.c: (update_locale_page_from_prefs):
49 * src/prefs.c: (gl_prefs_get_units_per_point),
50 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
51 (gl_prefs_get_units_string):
52 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
53 * src/splash.c: (gl_splash):
54 * src/ui-commands.c: (gl_ui_cmd_help_contents):
55 * src/view-highlight.c: (gl_view_highlight_new),
56 (highlight_resizable_box_construct), (object_changed_cb),
57 (view_scale_changed_cb):
58 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
59 (draw_markup_layer), (draw_markup_margin),
60 (gl_view_object_create_mode), (canvas_event),
61 (selection_received_cb):
62 * src/wdgt-mini-preview.c: (mini_outline_list_new):
63 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
64 * src/xml-label-04.c: (gl_xml_label_04_parse),
65 (xml04_parse_media_description), (xml04_parse_text_props),
66 (xml04_parse_barcode_props):
67 * src/xml-label-191.c: (gl_xml_label_191_parse),
68 (xml191_parse_objects), (xml191_parse_object),
69 (xml191_parse_text_props), (xml191_parse_image_props),
70 (xml191_parse_barcode_props), (xml191_parse_data),
71 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
72 (xml191_parse_markup):
73 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
74 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
75 (xml_parse_object_text), (xml_parse_object_image),
76 (xml_parse_object_barcode), (xml_parse_data),
77 (xml_parse_toplevel_span), (gl_xml_label_save),
79 Re-classified g_warnings to g_messages.
80 * src/merge-evolution.c: (gl_merge_evolution_open),
81 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
82 Use g_warning to output errors encountered while
83 communicating with the evolution data server
84 instead of embedding them in the data.
86 2005-12-08 Jim Evins <evins@snaught.com>
88 * libglabels/libglabels-private.h:
90 * libglabels/paper.c: (read_papers):
91 * libglabels/template.c: (read_templates):
92 Made appropriate warnings critical.
94 * src/critical-error-handler.h:
95 * src/critical-error-handler.c: (gl_critical_error_handler_init),
96 (critical_error_handler):
97 Created critical error handler.
98 * src/glabels.c: (main):
99 Register critical error handler.
100 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
101 * src/object-editor.c: (gl_object_editor_init):
102 * src/prefs-dialog.c: (gl_prefs_dialog_init):
103 * src/template-designer.c: (gl_template_designer_init):
104 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
105 Made appropriate warnings critical.
107 2005-11-27 Jim Evins <evins@snaught.com>
109 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
110 (gl_merge_evolution_get_primary_key),
111 (gl_merge_evolution_get_record):
112 Don't create "record_key" pseudo-key. Don't populate
113 fields with null data.
115 2005-11-25 Jim Evins <evins@snaught.com>
117 * src/merge-evolution.c: (gl_merge_evolution_finalize),
118 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
119 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
121 Query EDS for all supported fields. Patch provided by
122 Austin Henry <ahenry@users.sourceforge.net>.
124 2005-10-29 Jim Evins <evins@snaught.com>
126 * src/glabels.c: (main):
127 * src/label-barcode.c: (gl_label_barcode_finalize):
128 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
129 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
130 * src/object-editor.c: (gl_object_editor_finalize):
131 Another pass at valgrinding -- plugged several memory leaks.
132 * src/view-text.c: (gl_view_text_new),
133 (update_canvas_item_from_object_cb), (draw_hacktext):
134 Commented out artifacts of edit-in-place code.
136 2005-10-28 Jim Evins <evins@snaught.com>
138 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
139 Fixed use of uninitialized variable. Caught by
140 d binderman <dcb314@hotmail.com>.
142 2005-10-27 Jim Evins <evins@snaught.com>
144 * src/merge-evolution.c: (gl_merge_evolution_get_record):
145 * src/merge-vcard.c: (gl_merge_vcard_get_record),
147 Additional cleanup of EDS and vcard backends. Provided by
148 Austin Henry <ahenry@users.sourceforge.net>.
150 2005-10-24 Jim Evins <evins@snaught.com>
154 * src/merge-evolution.c:
155 * src/merge-evolution.h:
156 * src/merge-init.c: (gl_merge_init):
157 * src/merge-properties-dialog.c: (type_changed_cb):
160 * src/ui-commands.c: (gl_ui_cmd_help_about):
161 Added Evolution Data Server and VCard merge backends. Original patch
162 provided by Austin Henry <ahenry@users.sourceforge.net>.
164 Only support EDS and VCard backends if libebook is installed. Allow
165 user to disable support, even if installed.
167 2005-10-24 Jim Evins <evins@snaught.com>
170 * data/templates/avery-iso-templates.xml:
171 * data/templates/avery-us-templates.xml:
172 * data/templates/misc-iso-templates.xml:
173 * data/templates/zweckform-iso-templates.xml:
174 Collected all template changes and submissions since last
177 2005-10-23 Jim Evins <evins@snaught.com>
180 * data/mime/Makefile.am:
181 Added configure options to disable update-mime-database and
182 update-desktop-database as part of the install. Patch
183 provided by Leonardo Boshell (qhoracio@sourceforge.net).
185 2005-10-23 Jim Evins <evins@snaught.com>
188 * libglabels/xml.c: (gl_xml_get_prop_string),
189 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
190 (gl_xml_is_node), (gl_xml_get_node_content):
191 Added new XML utility functions.
192 * libglabels/xml-paper.c:
193 * libglabels/xml-template.c:
195 Cleanup by using new xml utilities created above.
196 * libglabels/paper.c: (gl_paper_free):
197 * src/file.c: (new_response):
198 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
199 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
200 (gl_pixbuf_cache_get_pixbuf):
201 * src/ui-property-bar.c:
202 (gl_ui_property_bar_construct_color_combo):
203 * src/view-highlight.c: (gl_view_highlight_finalize):
204 * src/view-image.c: (update_object_from_editor_cb):
205 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
206 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
207 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
208 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
209 (draw_markup_margin_round), (draw_markup_margin_cd),
210 (draw_markup_margin_cd_bc):
211 * src/wdgt-mini-preview.c: (mini_outline_list_new):
212 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
213 Plugged various memory leaks located with valgrind.
214 * src/view-image.c: (update_canvas_item_from_object_cb):
215 Don't allow a width or height of zero when drawing pixbuf.
217 2005-10-22 Jim Evins <evins@snaught.com>
219 * libglabels/xml-paper.c:
220 * libglabels/xml-template.c:
223 * src/bc-gnubarcode.c:
224 * src/canvas-hacktext.c:
226 * src/object-editor-data-page.c:
227 * src/print-dialog.c:
230 * src/template-designer.c:
232 * src/ui-property-bar.c:
234 * src/view-barcode.c:
236 * src/view-ellipse.c:
241 * src/wdgt-media-select.c:
242 * src/xml-label-04.c:
243 * src/xml-label-191.c:
245 Modified to compile warning free with gcc-4.0. Mostly
246 casting to change signedness of characters. Did not
247 attack gnu-barcode library yet.
249 2005-10-22 Jim Evins <evins@snaught.com>
251 * src/glabels.c: (main):
252 * src/splash.c: (gl_splash):
253 Removed some small memory leaks.
257 2005-09-19 Jim Evins <evins@snaught.com>
259 * data/glade/property-bar.glade:
260 Remove items from font_family_combo. This prevents the
261 double entry after adding text model and list of fonts.
262 * src/ui-property-bar.c: (reset_to_default_properties):
263 Free font_family_list.
265 2005-07-01 Jim Evins <evins@snaught.com>
268 Updated italian translation (Daniele Medri)
270 2005-06-26 Jim Evins <evins@snaught.com>
272 * docs/libglabels/libglabels-decl-list.txt:
273 Somehow never got checked in before.
274 * docs/libglabels/libglabels.types:
275 Removed -- don't need it afterall.
277 2005-06-20 Jim Evins <evins@snaught.com>
280 Final prep for 2.1.1 release.
282 2005-06-20 Jim Evins <evins@snaught.com>
285 Final preps for 2.1.1 release.
286 * docs/libglabels/libglabels.types:
287 Somehow never got checked in before.
289 Bring up-to-date with recent reorg of ui code.
292 2005-06-19 Jim Evins <evins@snaught.com>
294 * src/template-designer.c: (construct_layout_page):
295 Removed attempt to match background color of mini preview widget to
298 2005-06-17 Jim Evins <evins@snaught.com>
300 * help/C/figures/merge-ex2-4.png:
301 * help/C/glabels.xml:
302 Fixed spelling error.
304 2005-06-13 Jim Evins <evins@snaught.com>
306 * help/C/figures/merge-ex1-1.png:
307 * help/C/figures/merge-ex1-2.png:
308 * help/C/figures/merge-ex1-3.png:
309 * help/C/figures/merge-ex1-4.png:
310 * help/C/figures/merge-ex2-1.png:
311 * help/C/figures/merge-ex2-2.png:
312 * help/C/figures/merge-ex2-3.png:
313 * help/C/figures/merge-ex2-4.png:
314 Added figures for document merge tutorial.
315 * help/C/glabels.xml:
316 Added document merge tutorial.
318 2005-05-19 Jim Evins <evins@snaught.com>
320 * data/glade/merge-properties-dialog.glade:
321 Fixed irregular spacing.
322 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
323 (gl_merge_properties_dialog_construct):
324 Set outer padding and remove separator.
326 2005-05-18 Jim Evins <evins@snaught.com>
330 Removed glHigDialog class.
331 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
332 (gl_file_properties), (create_properties_dialog_widgets):
333 * src/prefs-dialog.h:
334 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
335 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
336 * src/print-dialog.h:
337 * src/prefs-dialog.h:
338 * src/print-dialog.c: (gl_print_dialog_get_type),
339 (gl_print_dialog_init), (gl_print_dialog_construct):
340 Replaced all instances of glHigDialog with GtkDialog.
342 2005-05-17 Jim Evins <evins@snaught.com>
346 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
347 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
348 (save_as_response), (gl_file_close):
349 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
351 2005-05-15 Jim Evins <evins@snaught.com>
361 A little code reformatting -- no functional changes.
363 2005-05-14 Jim Evins <evins@snaught.com>
366 Removed obsolete macros.
368 Added marshalling template to support new view signal: "context_menu_activate."
370 * src/view.c: (gl_view_class_init), (gl_view_construct),
371 (canvas_event_arrow_mode):
372 - Removed hardcoded context menus and added new signal "context_menu_activate"
373 to push this up to the uimanager.
374 - Removed merge properties and print dialogs so that they can be managed with
375 the window by the uimanager.
376 * src/merge-properties-dialog.h:
377 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
378 (gl_merge_properties_dialog_construct):
379 Changed calling convention of gl_merge_properties_dialog_new() to use
380 glLabel and GtkWindow instead of view to make more consistent with other
382 * src/print-dialog.h:
383 * src/print-dialog.c: (gl_print_dialog_new),
384 (gl_print_dialog_construct):
385 Removed last artifact of libbonoboui.
386 * src/ui-commands.c: (gl_ui_cmd_file_print),
387 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
388 Reconciled style for launching dialogs.
389 * src/ui.c: (gl_ui_new):
390 Added context menus to ui manager.
391 * src/view-object.c: (item_event_arrow_mode):
392 No longer try to select objects with right-click.
394 * src/window.c: (gl_window_init), (gl_window_set_label),
395 (context_menu_activate_cb):
396 Context menus and all dialogs are now managed in a consistent way in window
399 2005-05-11 Jim Evins <evins@snaught.com>
402 * src/window.c: (gl_window_init), (gl_window_destroy):
403 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
404 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
405 Moved management of recent_view back from window.c to ui.c -- it just feels
408 2005-05-10 Jim Evins <evins@snaught.com>
411 * src/window.c: (gl_window_init):
413 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
414 (menu_item_select_cb), (menu_item_deselect_cb):
415 Added GtkStatusbar which displays menu tooltips.
417 2005-05-09 Jim Evins <evins@snaught.com>
419 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
424 Removed dependencies on libbonoboui.
426 * data/ui/Makefile.am:
427 * data/ui/glabels-ui.xml:
428 Removed data/ui directory.
429 * data/glade/Makefile.am:
430 * data/property-bar.glade:
431 Added glade description of property-bar for new libglade implementation
440 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
441 since the distinction between "commands" and "tools" is no longer that clear.
444 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
445 no longer has knowledge of eggRecent*.
446 * src/glabels.c: (main):
447 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
449 * src/object-editor.c: (gl_object_editor_init):
450 Make sure notebook does not respond to a "show_all" on the parent.
451 * src/recent-files/Makefile.am:
452 * src/recent-files/*.[ch]
453 Updated from latest version of libegg which now has a view based on
454 GtkUIManager. Removed unused bonobo and gtk views.
455 * src/ui-property-bar.h:
456 * src/ui-property-bar.c:
457 New implementation based on libglade.
460 Sidebar is now simply a GtkWidget and does not expect to be a part of
461 a libbonoboui interface.
466 Converted for use with GtkUIManager.
469 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
470 to create menus and toolbars.
472 2005-04-25 Jim Evins <evins@snaught.com>
474 * data/templates/misc-iso-templates.xml:
475 Added Fellows 04715 template provided by Steve Saxon.
477 Updated acknowledgement for above.
479 2005-04-23 Jim Evins <evins@snaught.com>
481 * src/util.c: (gl_util_combo_box_set_strings):
482 Make sure to clear model before loading a new list of strings.
483 * src/wdgt-media-select.h:
484 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
485 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
486 (template_combo_changed_cb), (prefs_changed_cb),
487 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
488 (gl_wdgt_media_select_get_page_size),
489 (gl_wdgt_media_select_set_page_size):
490 Replaced the deprecated GtkCombo widget with the new
493 2005-04-21 Jim Evins <evins@snaught.com>
495 * data/glade/template-designer.glade:
496 * src/template-designer.c: (construct_pg_size_page),
497 (pg_size_page_changed_cb), (build_template):
498 Replaced the deprecated GtkCombo widget with the new
501 2005-04-20 Jim Evins <evins@snaught.com>
503 * data/glade/prefs-dialog.glade:
504 * src/prefs-dialog.c: (construct_object_page),
505 (update_object_page_from_prefs), (update_prefs_from_object_page):
506 Replaced the deprecated GtkCombo widget with the new
509 2005-04-19 Jim Evins <evins@snaught.com>
511 * data/glade/object-editor.glade:
512 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
513 (style_changed_cb), (gl_object_editor_set_bc_style),
514 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
515 (gl_object_editor_get_bc_color):
516 * src/object-editor-data-page.c:
517 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
518 (gl_object_editor_get_data):
519 * src/object-editor-edit-page.c:
520 (gl_object_editor_prepare_edit_page), (insert_button_cb):
521 * src/object-editor-fill-page.c:
522 (gl_object_editor_prepare_fill_page),
523 (gl_object_editor_set_fill_color),
524 (gl_object_editor_get_fill_color):
525 * src/object-editor-image-page.c:
526 (gl_object_editor_prepare_image_page),
527 (gl_object_editor_set_image), (gl_object_editor_get_image):
528 * src/object-editor-line-page.c:
529 (gl_object_editor_prepare_line_page),
530 (gl_object_editor_set_line_color),
531 (gl_object_editor_get_line_color):
532 * src/object-editor-private.h:
533 * src/object-editor-text-page.c:
534 (gl_object_editor_prepare_text_page),
535 (gl_object_editor_set_font_family),
536 (gl_object_editor_get_font_family),
537 (gl_object_editor_set_text_color),
538 (gl_object_editor_get_text_color):
539 * src/object-editor.c: (gl_object_editor_set_key_names):
541 In the object editor: replaced all instances of the deprecated
542 GtkCombo widget with the new GtkComboBox.
544 2005-04-18 Jim Evins <evins@snaught.com>
547 Neglected to save this one in previous checkin to support
550 2005-04-17 Jim Evins <evins@snaught.com>
552 * libglabels/libglabels-private.h:
553 * libglabels/paper.c:
554 * libglabels/paper.h:
555 * libglabels/template.c:
556 * libglabels/template.h:
557 * libglabels/xml-paper.c:
558 * libglabels/xml-paper.h:
559 * libglabels/xml-template.c:
564 * src/bc-gnubarcode.c:
575 * src/label-barcode.c:
577 * src/label-ellipse.c:
581 * src/label-object.c:
585 * src/merge-properties-dialog.c:
586 * src/object-editor-bc-page.c:
587 * src/object-editor-data-page.c:
588 * src/object-editor-edit-page.c:
589 * src/object-editor-fill-page.c:
590 * src/object-editor-image-page.c:
591 * src/object-editor-line-page.c:
592 * src/object-editor-lsize-page.c:
593 * src/object-editor-position-page.c:
594 * src/object-editor-private.h:
595 * src/object-editor-size-page.c:
596 * src/object-editor-text-page.c:
597 * src/object-editor.c:
598 * src/object-editor.h:
599 * src/pixbuf-cache.h:
600 * src/prefs-dialog.c:
601 * src/prefs-dialog.h:
605 * src/print-dialog.c:
606 * src/print-dialog.h:
614 * src/template-designer.c:
615 * src/template-designer.h:
618 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
624 * src/view-barcode.c:
626 * src/view-ellipse.c:
627 * src/view-highlight.c:
628 * src/view-highlight.h:
636 * src/wdgt-chain-button.c:
637 * src/wdgt-media-select.c:
638 * src/wdgt-media-select.h:
639 * src/wdgt-mini-preview.c:
640 * src/wdgt-mini-preview.h:
641 * src/wdgt-print-copies.c:
642 * src/wdgt-print-copies.h:
643 * src/wdgt-print-merge.c:
644 * src/wdgt-print-merge.h:
645 * src/wdgt-rotate-label.c:
646 * src/wdgt-rotate-label.h:
649 * src/xml-label-04.c:
650 * src/xml-label-191.c:
652 Cleanup of header files:
653 - all header files are now stand-alone, verified by including
654 first in corresponding "c" files
655 - replaced blanket includes of gnome, gtk, and glib with
658 2005-04-16 Jim Evins <evins@snaught.com>
660 * data/glade/Makefile.am:
661 * data/glade/merge-properties-dialog.glade:
662 Added merge properties dialog glade description file.
663 * src/merge-properties-dialog.h:
664 * src/merge-properties-dialog.c:
665 (gl_merge_properties_dialog_get_type),
666 (gl_merge_properties_dialog_init),
667 (gl_merge_properties_dialog_finalize),
668 (gl_merge_properties_dialog_new),
669 (gl_merge_properties_dialog_construct), (type_changed_cb),
670 (src_changed_cb), (response_cb), (load_tree),
671 (record_select_toggled_cb), (select_all_button_clicked_cb),
672 (unselect_all_button_clicked_cb):
673 Modified merge properties dialog to use libglade. Added
674 "select all" and "unselect all" buttons.
675 * src/merge-text.c: (parse_line):
676 Handle empty lines better.
677 * src/merge.c: (gl_merge_eval_key):
678 Evaluate the key whether the record is selected or not.
680 * src/util.c: (gl_util_combo_box_add_text_model):
681 Since libglade does not use the gtk_combo_box_new_text()
682 constructor for GtkComboBoxes, a utility function was created
683 to add an appropriate text model to a GtkComboBox.
684 * src/view.c: (gl_view_edit_merge_props):
685 Removed unnecessary "show all's".
687 2005-04-15 Jim Evins <evins@snaught.com>
690 Updated russian translation (Vitaly Lipatov)
691 * data/templates/misc-iso-templates.xml:
692 Added templates for russian business cards provided by Vitaly Lipatov.
694 Updated acknowledgements for above.
696 2005-04-15 Jim Evins <evins@snaught.com>
698 * data/templates/avery-us-templates.xml:
699 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
700 * data/templates/misc-iso-templates.xml:
701 Added Ryman standard CD/DVD template, provided by Dan Clark.
703 Added acknowledgements for above.
705 2005-04-10 Jim Evins <evins@snaught.com>
707 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
708 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
709 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
710 (xml_parse_label_cd_node), (xml_parse_alias_node):
711 * libglabels/xml.c: (gl_xml_get_prop_double),
712 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
713 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
714 * src/xml-label-04.c: (xml04_parse_media_description),
715 (xml04_parse_text_props), (xml04_parse_barcode_props),
716 (xml04_parse_merge_properties):
717 * src/xml-label-191.c: (xml191_parse_object),
718 (xml191_parse_text_props), (xml191_parse_barcode_props),
719 (xml191_parse_merge_fields), (xml191_parse_pixdata),
720 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
721 (xml191_parse_alias):
722 * src/xml-label.c: (xml_parse_object_text),
723 (xml_parse_object_barcode), (xml_parse_merge_fields),
724 (xml_parse_pixdata), (xml_parse_toplevel_span):
725 Make sure to use xmlFree for anything obtained from libxml
726 in case libxml and glib use different memory management
729 2005-04-08 Jim Evins <evins@snaught.com>
732 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
733 (gl_util_combo_box_set_active_text):
734 Added utility functions to simplify working with GtkComboBox
736 * src/ui-property-bar.h:
737 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
738 (reset_to_default_properties), (update_text_properties),
739 (font_family_changed_cb):
740 Replaced deprecated GtkCombo with GtkComboBox.
743 2005-04-03 Jim Evins <evins@snaught.com>
746 * src/wdgt-image-select.h:
747 * src/wdgt-image-select.c:
748 Removed obsolete wdgt-image-select.[ch] files.
749 * libglabels/paper.c: (gl_paper_dup):
750 Fixed rename of parameter introduced during documentation
752 * data/glade/object-editor.glade:
753 * src/object-editor-image-page.c:
754 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
755 (gl_object_editor_set_image), (gl_object_editor_get_image),
756 (update_preview_cb), (add_image_filters_to_chooser):
757 * src/object-editor-private.h:
758 Replaced deprecated GnomePixmapEntry with
759 GtkFileChooserButton.
761 2005-04-02 Jim Evins <evins@snaught.com>
763 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
764 (mygal_combo_box_popup_hide_unconditional),
765 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
766 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
767 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
768 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
769 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
770 Renamed all internal gtk_combo functions to mygal_combo
771 to prevent namespace confusion.
773 2005-04-02 Jim Evins <evins@snaught.com>
775 * src/mygal/color-palette.c: (color_palette_change_custom_color),
776 (cust_color_set), (color_palette_setup):
777 * src/mygal/color-palette.h:
778 Replaced deprecated GnomeColorPicker with GtkColorButton.
780 2005-04-02 Jim Evins <evins@snaught.com>
782 * docs/libglabels/libglabels-sections.txt:
783 * docs/libglabels/libglabels-undocumented.txt:
784 * docs/libglabels/tmpl/enums.sgml:
785 * docs/libglabels/tmpl/paper.sgml:
786 * docs/libglabels/tmpl/xml-paper.sgml:
787 * docs/libglabels/tmpl/xml-template.sgml:
788 * libglabels/enums.h:
789 * libglabels/paper.c: (gl_paper_dup):
790 * libglabels/paper.h:
791 * libglabels/xml-paper.c:
792 * libglabels/xml-template.c:
793 More documentation updates for libglabels.
795 2005-03-23 Jim Evins <evins@snaught.com>
798 Automatically updated.
803 * docs/libglabels/Makefile.am:
804 * docs/libglabels/libglabels-docs.sgml:
805 * docs/libglabels/libglabels-sections.txt:
806 * docs/libglabels/libglabels-undocumented.txt:
807 * docs/libglabels/tmpl/enums.sgml:
808 * docs/libglabels/tmpl/libglabels-unused.sgml:
809 * docs/libglabels/tmpl/libglabels.sgml:
810 * docs/libglabels/tmpl/paper.sgml:
811 * docs/libglabels/tmpl/template.sgml:
812 * docs/libglabels/tmpl/xml-paper.sgml:
813 * docs/libglabels/tmpl/xml-template.sgml:
814 * docs/libglabels/tmpl/xml.sgml:
815 Added basic gtk-doc stuff to support documenting libglabels
818 Updated function comments with gtk-doc markup.
822 2005-03-22 Jim Evins <evins@snaught.com>
824 Since the development version now requires gtk-2.6/gnome-2.10, I
825 have made a first pass at removing deprecations.
828 * libglabels/Makefile.am:
830 Added configure option to turn on X_DISABLE_DEPRECATED flags.
831 Also removed all remnants of HAVE_FILECHOOSER.
832 * src/file.c: (gl_file_open_real):
833 Removed code for old GtkFileSelection.
834 * libglabels/libglabels-private.h:
835 * libglabels/paper.c:
836 * libglabels/template.c:
837 * libglabels/xml-paper.c:
838 * libglabels/xml-template.c:
842 * src/glabels-batch.c:
846 * src/merge-properties-dialog.c:
848 * src/object-editor.c:
849 * src/prefs-dialog.c:
851 * src/print-dialog.c:
854 * src/template-designer.c:
855 * src/ui-property-bar.c:
857 * src/view-barcode.c:
859 * src/view-ellipse.c:
864 * src/wdgt-image-select.c:
865 * src/wdgt-media-select.c:
866 * src/wdgt-print-copies.c:
867 * src/wdgt-print-merge.c:
868 * src/wdgt-rotate-label.c:
870 * src/xml-label-04.c:
871 * src/xml-label-191.c:
873 Added '#include <glib/gi18n.h>" where needed.
874 Removed any unused '#include <gnome.h>"s.
876 2005-03-22 Jim Evins <evins@snaught.com>
878 * src/commands.c: (activate_url), (gl_cmd_help_about):
879 Replaced GnomeAbout with GtkAboutDialog. Therefore the
880 development version of glabels now depends on GTK 2.6 and
883 Updated library dependencies.
885 2005-02-28 Jim Evins <evins@snaught.com>
888 * data/templates/misc-iso-templates.xml:
889 Added 'Ednet 45021' template provided by Ali Akcaagac
892 2005-02-14 Jim Evins <evins@snaught.com>
894 * data/templates/avery-us-templates.xml:
895 Updated templates to use inches instead of points.
896 * src/print-dialog.c: (printer_page_new):
897 Changed packing style when adding printer selector widget. This fixes
900 2005-02-13 Jim Evins <evins@snaught.com>
904 Updated spanish translations. (sergio rivadero)
906 2005-02-05 Jim Evins <evins@snaught.com>
908 Some cleanup to libglabels.
911 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
912 * libglabels/libglabels.pc.in
915 Created. Currently only contains glUnitsType which provides enumerations
916 for all possible units of distance.
917 * libglabels/Makefile.am:
918 Incorporated new files enums.h and libglabels.pc[.in].
919 * libglabels/libglabels.h:
921 * libglabels/template.h:
922 * libglabels/template.c: (gl_template_layout_new):
923 Changed parameters nx and ny to gint from gdouble.
925 * libglabels/xml.c: (gl_xml_get_prop_length),
926 (gl_xml_set_prop_length), (gl_xml_set_default_units):
927 Added support for different output units.
928 * src/prefs-dialog.c: (update_locale_page_from_prefs),
929 (update_prefs_from_locale_page):
930 * src/prefs-model.c: (string_to_units), (units_to_string):
932 * src/prefs.c: (gl_prefs_get_units_per_point),
933 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
934 (gl_prefs_get_units_string):
936 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
937 Reconciled all length enumerations with the new enumerations provided
938 in libglabels/enums.h.
940 2005-02-03 Jim Evins <evins@snaught.com>
943 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
945 Updated Italian translations. (Daniele Medri)
947 Updated credits to reflect above translations.
950 2005-01-22 Jim Evins <evins@snaught.com>
955 Added MESSAGE-OF-DOOM to EXTRA_DIST.
957 Final prep for 2.1.0.
959 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
961 Added '--remove-original' flag to desktop-file-install, so that there is
964 2005-01-20 Jim Evins <evins@snaught.com>
966 * data/glade/object-editor.glade:
967 - Font family entry should not be editable.
968 - img_key_entry should have sensitivity=YES, so that it follows the
969 sensitivity of img_key_combo.
971 2005-01-19 Jim Evins <evins@snaught.com>
974 Give credit to Frederic Ruaudel for the color merge patches.
976 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
978 Add support to merge color for all other color attribute (Feature
979 Requests item #1008635. If the data is invalid, the color used is transparent
980 (GL_COLOR_NONE). The format for color in merge data file are those accepted
981 by gdk_color_parse() these include name for a color from rgb.txt, such as
982 DarkSlateGray, or a hex specification such as #305050. File format has been
983 changed but backward compatibility is preserved for all format. For
984 box/ellipse/line, keep attribute "line_color" for static color or replace by
985 "line_color_field" for merge data. For text/barcode objects, keep attribute
986 "color" for static color or replace by "color_field" for merge data. In the
987 edit canvas window, merged color are represented by half-transparent black
990 * data/dtd/glabels-2.0.dtd:
991 Added line_color_field to line_attrs. Added color_field to
992 Object-barcode and Span.
993 * data/glade/object-editor.glade:
994 Modify the layout of the editor to add merge possibility to color options
996 Fix a copy/paste error in a comment
998 Add default color for merge color representation in the editor canvas.
999 * src/label-barcode.c:
1000 * src/object-editor-bc-page.c:
1001 * src/view-barcode.c:
1002 Add merge color support for barcode color.
1005 Add merge color support for box border color.
1006 * src/label-ellipse.c:
1007 * src/view-ellipse.c:
1008 Add merge color support for ellipse border color.
1011 Add merge color support for line color.
1012 * src/label-object.c:
1013 * src/label-object.h:
1014 * src/object-editor.c:
1015 * src/object-editor.h:
1016 * src/ui-property-bar.c:
1019 * src/xml-label-04.c:
1020 * src/xml-label-191.c:
1021 Add support for merging to other color attribute.
1023 * src/object-editor-text-page.c:
1025 Add merge color support for text color.
1026 * src/object-editor-fill-page.c:
1027 Change a blocked handler that didn't match the good widget. Fix the type
1028 of some debug message.
1029 * src/object-editor-line-page.c:
1030 Add merging support to line color option.
1031 * src/object-editor-private.h:
1032 Add variables for new widget.
1034 Modify the draw functions to get merge data if needed.
1036 Change the default size of the window in order to see all widget in the
1037 "text style tab" of the editor.
1039 Modify the parser to record/retreive the field value for objects that need
1040 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1041 static color or replace by "line_color_field" for merge data. For
1042 text/barcode objects, keep attribute "color" for static color or replace
1043 by "color_field" for merge data.
1045 2005-01-17 Jim Evins <evins@snaught.com>
1047 * src/view.c: (screen_changed_cb):
1048 Don't do anything if we don't have a screen.
1050 2005-01-06 Jim Evins <evins@snaught.com>
1052 * src/view.c: (get_home_scale):
1053 Fixed bad call to gtk_widget_has_screen() -- huh?.
1055 2005-01-06 Jim Evins <evins@snaught.com>
1057 * data/dtd/glabels-2.0.dtd:
1058 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1061 2005-01-06 Jim Evins <evins@snaught.com>
1063 * data/glade/object-editor.glade:
1064 Set entries for fill and data field key dropdowns to NOT editable.
1065 * src/view-box.c: (construct_properties_editor):
1066 * src/view-ellipse.c: (construct_properties_editor):
1067 Update object editor when label's merge property has changed.
1068 * src/xml-label.c: (xml_parse_object_ellipse):
1069 Completed the merge color support for the ellipse item.
1071 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1073 Add support to merge color for object that have a "Fill color" attribute (Feature
1074 Requests item #1008635. If the data is invalid, the color used is transparent
1075 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1076 by gdk_color_parse() these include name for a color from rgb.txt, such as
1077 DarkSlateGray, or a hex specification such as #305050. File format has been
1078 changed but backward compatibility is preserved for all format. For box/ellipse,
1079 keep attribute "fill_color" for static color or replace by "fill_color_field"
1082 * data/glade/object-editor.glade:
1083 Modify "Fill" tab to add the merge key combo and convert the labels into
1087 Add "glColorNode" structure and associated functions to manage it. This
1088 structure is equivalent for color than the "glTextNode". It holds the color
1090 * src/label-object.h:
1091 * src/label-object.c:
1093 * src/label-ellipse.c:
1094 * src/ui-property-bar.c:
1098 * src/view-ellipse.c:
1099 * src/xml-label-04.c:
1100 * src/xml-label-191.c:
1101 Change functions of objects that have a "fill color" attribute to use the
1102 new "glColorNode" structure. Use barcode code as example.
1104 Add the color.[ch] file to glabels_batch binary that now need support for
1106 * src/object-editor.h:
1107 * src/object-editor.c:
1108 * src/object-editor-fill-page.c:
1109 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1110 to choose between static color or merge key. Use barcode code as example.
1111 * src/object-editor-private.h:
1112 Add new widget in the "_glObjectEditorPrivate" structure.
1114 Modify the draw functions to get merge data if needed.
1116 Modify the parser to record/retreive the field value for objects that need
1117 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1118 color or "fill_color_field" for merge data.
1120 2005-01-04 Jim Evins <evins@snaught.com>
1123 * data/templates/avery-iso-templates.xml:
1124 * data/templates/misc-iso-templates.xml:
1125 * data/templates/misc-us-templates.xml:
1126 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1129 2004-11-26 Jim Evins <evins@snaught.com>
1133 Updated french translations provided by Florent Morel <florent@taket.org>.
1134 * src/view-barcode.c:
1136 * src/view-ellipse.c:
1140 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1141 thus _() strings were not being translated.
1143 2004-11-14 Jim Evins <evins@snaught.com>
1146 * src/debug.c: (gl_debug_init), (gl_debug):
1147 Borrowed from gedit: use environmental variables to select debug
1150 Removed unused include of debug.h.
1151 * src/glabels.c: (main):
1152 Added call to gl_debug_init(), and removed debug clutter from command line
1154 * src/glabels-batch.c: (main):
1155 Added call to gl_debug_init().
1157 2004-11-13 Jim Evins <evins@snaught.com>
1159 Drawing and property toolbars were being initialized with the "icons and text"
1160 look in Fedora Core 3. Even though none of the buttons had any text attached to
1161 them, the buttons were being sized as if they were. This led to less real estate
1162 for the property editor, leading to Bug #1064630. The
1164 * data/ui/glabels-ui.xml:
1165 Added explicit "look" property to both drawing and property toolbars.
1166 * src/prefs-model.c: (gl_prefs_model_save_settings),
1167 (gl_prefs_model_load_settings):
1168 * src/prefs-model.h:
1169 Removed drawing_toolbar_button_style configuration parameter.
1170 * src/ui.c: (view_menu_item_toggled_cb),
1171 (set_app_drawing_toolbar_style):
1172 Do not attempt to adjust look property of the drawing toolbar.
1174 2004-10-28 Jim Evins <evins@snaught.com>
1176 * data/pixmaps/glabels-about-logo.png:
1179 2004-10-28 Jim Evins <evins@snaught.com>
1181 * data/man/glabels.1:
1182 * src/glabels-batch.c: (main):
1184 * src/print.c: (gl_print_batch):
1186 Added option to glabels-batch to select the first label to begin
1189 2004-09-26 Jim Evins <evins@snaught.com>
1191 * data/desktop/glabels.desktop.in:
1192 Point to app icon, "glabels.png"
1193 * data/mime/glabels.keys.in:
1194 Point at mime icon, "glabels-application-x-glabels.png"
1195 * data/pixmaps/Makefile.am:
1196 Added glabels_app_icondir. Renamed icons.
1197 * data/pixmaps/glabels.png:
1198 New cleaned up app icon. Deleted glabels-icon.png.
1199 * data/pixmaps/glabels-application-x-glabels.png:
1201 * data/pixmaps/glabels-splash.png:
1202 Renamed glabels-logo to glabels-splash to be more correct about role.
1204 * src/template-designer.c:
1205 Point at app icon, "glabels.png"
1207 Point at renamed splash image, "glabels-splash.png"
1209 2004-08-22 Jim Evins <evins@snaught.com>
1212 * src/glabels-batch.c: (main):
1213 Applied patch with minor mods to allow selecting merge source and
1214 crop-marks on glabels-batch's command line. Original patch provided by
1215 José Dapena Paz <jdapena@igalia.com>.
1217 2004-08-15 Jim Evins <evins@snaught.com>
1219 * data/desktop/glabels.desktop.in:
1220 - Added encoding line
1221 - Removed period from comment
1222 - Fixed Terminal line, changed "0" to "false"
1223 - Added semicolen to Categories line
1225 - Made sure desktop.in comment string above still translated properly
1227 2004-08-14 Jim Evins <evins@snaught.com>
1229 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1230 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1231 * src/xml-label-191.c: (xml191_parse_sheet):
1232 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1234 Reconciled libglabels versioning with 2.0.1.
1237 2004-08-14 Jim Evins <evins@snaught.com>
1240 Updated version to 2.1cvs.
1242 2004-08-14 Jim Evins <evins@snaught.com>
1245 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1247 2004-08-14 Jim Evins <evins@snaught.com>
1249 Fixes for Bug #1008181.
1251 * src/bc.c: (gl_barcode_default_digits):
1252 Make a format of zero digits, harmless.
1253 * src/xml-label.c: (xml_parse_object_barcode):
1254 Set default value of the format property of barcode objects to 10, not
1255 zero. This will prevent crashes when reading pre 2.0.x files.
1257 2004-08-09 Jim Evins <evins@snaught.com>
1261 * help/C/glabels-C.omf:
1262 * help/C/glabels.xml:
1263 Brought documentation up-to-date for 2.0.0 release.
1265 2004-08-09 Jim Evins <evins@snaught.com>
1267 These are hopefully the final preparations for 2.0.0.
1269 * data/mime/Makefile.am:
1270 Include glabels.xml in EXTRA_DIST.
1272 - Updated comment style.
1273 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1274 - Added package and version info to configuration printout
1275 - Update version to 2.0.0
1276 * libglabels/Makefile.am:
1277 Use the new LIBGLABELS_VERSION_INFO macro.
1279 2004-08-09 Jim Evins <evins@snaught.com>
1283 Cleanup of required library macros.
1285 2004-08-08 Jim Evins <evins@snaught.com>
1289 - More specific of what to install in /usr/bin and /usr/lib
1290 - Remove built mime registration files from staging directory
1292 2004-08-08 Jim Evins <evins@snaught.com>
1294 * data/mime/Makefile.am:
1295 Fixed typo: key_files should have been keys_files.
1297 2004-08-08 Jim Evins <evins@snaught.com>
1299 Reorganization of runtime data files. Also added registration of mimetype with
1300 new freedesktop.org mime database if available.
1303 Moved files to appropriate subdirectories, creating local Makefile.am
1304 in each subdirectory.
1305 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1306 These are now installed at $datadir/glabels/templates.
1307 - Moved glabels.1 to man subdirectory.
1308 - Moved glabels-2.0.dtd to dtd subdirectory.
1309 - Moved glabels.desktop.in to desktop subdirectory.
1310 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1312 Moved "./pixmaps" to "./data/pixmaps"
1314 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1316 Moved libglade files from src to data/glade. Created Makefile.am.
1318 Removed pixmaps from SUBDIRS.
1320 - Removed pixmaps from makefiles.
1321 - Added makefiles for new subdirs of data.
1322 - Added tests for freedesktop.org mime database.
1324 - Added tests for freedesktop.org mime database for post install and
1325 post un-install actions.
1326 * libglabels/Makefile.am:
1327 Moved system template files to $(datadir)/glabels/templates.
1328 * libglabels/libglabels-private.h:
1329 Moved system template files to $(datadir)/glabels/templates.
1331 - Accounted for movement of ui and libglade files.
1332 - Added missing .in files.
1333 - Reorganized by directory.
1335 Accounted for movement of ui and libglade files.
1336 * data/mime/glabels.xml.in:
1337 New file for registering with freedesktop.org mime database.
1339 2004-08-07 Jim Evins <evins@snaught.com>
1341 * src/recent-files/*:
1342 Re-synced to latest libegg/recent-files.
1344 2004-08-07 Jim Evins <evins@snaught.com>
1349 Renamed "./doc" directory to "./help" which contains user documentation,
1350 to be more consistent with other GNOME applications.
1353 2004-07-26 Jim Evins <evins@snaught.com>
1355 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1356 Corrected button order of merge properties dialog.
1358 2004-07-18 Jim Evins <evins@snaught.com>
1360 * data/glabels-2.0.dtd:
1361 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1362 (gl_barcode_get_prefered_n):
1364 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1365 (gl_label_barcode_get_props), (get_size):
1366 * src/label-barcode.h:
1367 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1368 (style_changed_cb), (gl_object_editor_set_bc_style),
1369 (gl_object_editor_get_bc_style):
1370 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1371 (gl_object_editor_set_data), (gl_object_editor_get_data):
1372 * src/object-editor-private.h:
1373 * src/object-editor.c: (gl_object_editor_set_key_names):
1374 * src/object-editor.glade:
1375 * src/object-editor.h:
1376 * src/print.c: (draw_barcode_object):
1377 * src/view-barcode.c: (update_object_from_editor_cb),
1378 (update_editor_from_object_cb),
1379 (gl_view_barcode_create_event_handler), (draw_barcode):
1380 * src/xml-label-04.c: (xml04_parse_barcode_props):
1381 * src/xml-label-191.c: (xml191_parse_barcode_props):
1382 * src/xml-label.c: (xml_parse_object_barcode),
1383 (xml_create_object_barcode):
1384 Added "format" attribute to barcode objects. This attribute is used
1385 to properly format freeform barcodes barcodes prior to merge data is
1386 applied, so that barcodes can be accurately layed out. This addresses
1387 remaining issues of feature request #824787. Also added an example of
1388 the format in the object editor.
1390 2004-07-12 Jim Evins <evins@snaught.com>
1392 Various code cleanups.
1394 * src/label-barcode.c:
1395 Removed unneeded include of gnome-glyphlist.h.
1397 * src/label-text.c: (get_size):
1398 Fixed memory leak: unref glyphlists when done with them.
1400 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1401 * src/object-editor-data-page.c:
1402 (gl_object_editor_prepare_data_page):
1403 * src/object-editor-image-page.c:
1404 (gl_object_editor_prepare_image_page):
1405 * src/object-editor-line-page.c:
1406 (gl_object_editor_prepare_line_page):
1407 * src/object-editor-lsize-page.c:
1408 (gl_object_editor_prepare_lsize_page):
1409 * src/object-editor-position-page.c:
1410 (gl_object_editor_prepare_position_page):
1411 * src/object-editor-size-page.c:
1412 (gl_object_editor_prepare_size_page):
1413 * src/object-editor-text-page.c:
1414 (gl_object_editor_prepare_text_page):
1415 Removed unneeded size groups, originally intended to keep widgets aligned.
1416 Now use tables to lay these out in object-editor.glade.
1418 * src/print.c: (draw_text_object):
1419 Fixed memory leak: unref glyphlists when done with them.
1421 * src/view-barcode.c: (draw_barcode):
1422 Fixed memory leak: unref glyphlists when done with them.
1424 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1425 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1427 - Fixed memory leak: unref glyphlists when done with them.
1429 2004-07-11 Jim Evins <evins@snaught.com>
1431 * data/glabels-2.0.dtd:
1432 * src/label-text.c: (gl_label_text_instance_init), (copy),
1433 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1435 * src/object-editor-private.h:
1436 * src/object-editor-text-page.c:
1437 (gl_object_editor_prepare_text_page),
1438 (gl_object_editor_set_text_auto_shrink),
1439 (gl_object_editor_get_text_auto_shrink):
1440 * src/object-editor.c: (gl_object_editor_set_key_names):
1441 * src/object-editor.glade:
1442 * src/object-editor.h:
1443 * src/print.c: (draw_text_object):
1444 * src/view-text.c: (update_object_from_editor_cb),
1445 (update_editor_from_object_cb):
1446 * src/xml-label.c: (xml_parse_object_text),
1447 (xml_create_object_text):
1448 Added option to allow document merge to auto shrink text size to fit
1449 within the text box. The code in print.c that actually shrinks the
1450 text is loosely based on a patch submitted by Mark Harrison
1451 <mark.harrison@velocitynet.com.au>. This addresses feature request
1454 2004-07-11 Jim Evins <evins@snaught.com>
1456 * data/glabels-2.0.dtd:
1457 * libglabels/template.c: (gl_template_rect_label_type_new),
1458 (gl_template_round_label_type_new),
1459 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1460 (template_full_page):
1461 * libglabels/template.h:
1462 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1463 (xml_create_label_node):
1464 * pixmaps/ex-rect-size.png:
1465 * src/print.c: (clip_to_outline), (clip_punchouts):
1466 * src/template-designer.c: (construct_rect_size_page),
1467 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1469 * src/template-designer.glade:
1470 * src/xml-label-191.c: (xml191_parse_label):
1471 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1472 properties for rectangular labels. Templates remain backwards compatible,
1473 but this breaks the libglabels API (I don't know of anyone outside of
1474 glabels using libglabels at this time -- what can I say, the program is
1475 is still "unstable"). This addresses the suggestion in Feature Request
1478 2004-07-05 Jim Evins <evins@snaught.com>
1479 * src/print.c: (print_crop_marks), (draw_outline):
1480 Changed crop marks and label outlines to black, instead of 25% gray.
1481 This addresses debian Bug #257460.
1483 2004-07-05 Jim Evins <evins@snaught.com>
1485 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1486 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1487 Preserve "is_default" of fill and line color_combos when creating from
1490 2004-07-02 Jim Evins <evins@snaught.com>
1493 Created man page. Based on page submitted by Matthew J. Lockner, however
1494 it has been severely edited.
1496 * data/avery-other-templates.xml
1497 * data/misc-other-templates.xml:
1498 Started new files for predefined templates with non-standard sheet sizes.
1499 These have been initially populated with the Avery 06141 and
1500 OfficeMax #86112, both provided by Matthew J. Lockner.
1503 Install above manpage and template files.
1506 Make sure we install man pages.
1508 * src/glabels-batch.c:
1509 Changed short form of help option to '-?' to be consistent with glabels.
1512 Added acknowledgement for above labels.
1514 2004-07-02 Jim Evins <evins@snaught.com>
1516 * src/glabels.c: (main), (save_session_cb):
1517 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1519 - save_session_cb() now returns gboolean.
1520 - Minor formatting changes.
1524 - Now include file.h to provide missing prototype.
1525 - gl_window_get_type() now returns GType, not guint. I believe this may
1526 ultimately be cause of the segfault reported in Bug #982287, since
1527 GType is actually a gulong, which may not be compatible on other
1528 architectures (64bit) -- I cannot personally test this at this time.
1529 I was sloppy in several other xxx_get_type() functions which also
1530 returned guint -- see next group of files:
1532 * src/window.c: (gl_window_get_type):
1533 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1534 * src/canvas-hacktext.h:
1535 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1536 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1537 (gl_hig_hbox_get_type):
1539 * src/label-barcode.c: (gl_label_barcode_get_type):
1540 * src/label-barcode.h:
1541 * src/label-box.c: (gl_label_box_get_type):
1543 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1544 * src/label-ellipse.h:
1545 * src/label-image.c: (gl_label_image_get_type):
1546 * src/label-image.h:
1547 * src/label-line.c: (gl_label_line_get_type):
1549 * src/label-object.c: (gl_label_object_get_type):
1550 * src/label-object.h:
1551 * src/label-text.c: (gl_label_text_get_type):
1553 * src/label.c: (gl_label_get_type):
1555 * src/merge-properties-dialog.c:
1556 (gl_merge_properties_dialog_get_type):
1557 * src/merge-properties-dialog.h:
1558 * src/merge-text.c: (gl_merge_text_get_type):
1560 * src/merge.c: (gl_merge_get_type):
1562 * src/object-editor.c: (gl_object_editor_get_type):
1563 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1564 * src/prefs-dialog.h:
1565 * src/prefs-model.c: (gl_prefs_model_get_type):
1566 * src/prefs-model.h:
1567 * src/print-dialog.c: (gl_print_dialog_get_type):
1568 * src/print-dialog.h:
1569 * src/template-designer.c: (gl_template_designer_get_type):
1570 * src/template-designer.h:
1571 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1572 * src/ui-property-bar.h:
1573 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1575 * src/view-barcode.c: (gl_view_barcode_get_type):
1576 * src/view-barcode.h:
1577 * src/view-box.c: (gl_view_box_get_type):
1579 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1580 * src/view-ellipse.h:
1581 * src/view-highlight.c: (gl_view_highlight_get_type):
1582 * src/view-highlight.h:
1583 * src/view-image.c: (gl_view_image_get_type):
1585 * src/view-line.c: (gl_view_line_get_type):
1587 * src/view-object.c: (gl_view_object_get_type):
1588 * src/view-object.h:
1589 * src/view-text.c: (gl_view_text_get_type):
1591 * src/view.c: (gl_view_get_type):
1593 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1594 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1595 * src/wdgt-image-select.h:
1596 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1597 * src/wdgt-media-select.h:
1598 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1599 * src/wdgt-mini-preview.h:
1600 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1601 * src/wdgt-print-copies.h:
1602 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1603 * src/wdgt-print-merge.h:
1604 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1605 * src/wdgt-rotate-label.h:
1606 - Made sure all xxx_get_type functions returned GType, not guint. This
1607 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1608 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1609 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1610 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1611 window.[ch] details above for more info.
1612 - Reconciled various coding style differences in all xxx_get_type()
1614 * All prototypes include G_GNUC_CONST.
1615 * All prototypes specify the return value as GType, not GtkType
1617 * Info structures are all declared as "static const."
1618 * Generalized the names of type and info variables.
1619 * Miscelaneous formatting.
1621 2004-06-08 Jim Evins <evins@snaught.com>
1627 Don't touch compression of original file -- still defaults to 9 for
1628 new files. Original patch provided by Javier Donaire Segarra
1629 (#912252 in patch tracker).
1631 2004-05-05 Jim Evins <evins@snaught.com>
1633 * data/glabels-2.0.dtd:
1634 Broke DTD previously when adding new barcode types that contain a
1635 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
1636 to avoid the problem.
1637 * data/avery-iso-templates.xml:
1638 * data/zweckform-iso-templates.xml:
1640 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
1641 provided by Frank Altpeter.
1642 * libglabels/xml-template.c: (xml_create_label_node):
1643 Reordered markup and layout sub-nodes so that resulting templates will
1644 validate against DTD.
1646 2004-03-13 Jim Evins <evins@snaught.com>
1648 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
1649 Changed spin callback signals from "value-changed" back to "changed."
1650 This was accidentally introduced in a previous revision, and can cause
1651 size changes just by selecting the size tab.
1653 2004-03-06 Jim Evins <evins@snaught.com>
1655 * src/view.c: (draw_grid_layer):
1656 For round labels (round and cd) adjust grid so that it lines up with
1657 center of label. Also, no longer draw box around label in the grid layer,
1658 it is hidden by he fg layer anyway. Feature suggested by
1659 nemolivier@free.fr. Although the grid is aligned with the center of the
1660 label, the coordinate system is still relative to the upper left corner
1661 of the rectangle containing the label.
1663 2004-02-25 Jim Evins <evins@snaught.com>
1666 Changed version to 2.0pre1cvs
1668 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
1669 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
1670 instead of doc->name fields when errors encountered.
1672 2004-02-21 Jim Evins <evins@snaught.com>
1674 * data/avery-iso-templates.xml:
1675 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
1678 Added libglabels library and include file to installed files.
1681 Final prep for 1.93.3.
1683 2004-02-20 Jim Evins <evins@snaught.com>
1685 * src/glabels-batch.c: (main):
1686 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
1687 as suggested by Javier Donaire Segarra. This addresses bug #901063.
1689 2004-02-16 Jim Evins <evins@snaught.com>
1692 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
1695 Added HAVE_FILE_CHOOSER to INCLUDES.
1697 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
1698 (gl_file_save_as), (save_as_response):
1699 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
1701 2004-02-16 Jim Evins <evins@snaught.com>
1703 * src/xml-label-04.c: (xml04_parse_image_props):
1704 * src/xml-label-191.c: (xml191_parse_image_props):
1705 * src/xml-label.c: (xml_parse_object_image):
1706 Delay setting image size until after image has been applied to new
1709 2004-02-15 Jim Evins <evins@snaught.com>
1711 * src/label-barcode.c: (gl_label_barcode_set_data),
1712 (gl_label_barcode_set_props):
1713 Don't emit "changed" signal, if no change actually made for these
1714 methods. Reduces number of unnecessary redraws of barcodes.
1716 * src/label-object.h:
1717 * src/label-object.c: (gl_label_object_set_position),
1718 (gl_label_object_set_position_relative), (set_size),
1719 (gl_label_object_set_size),
1720 (gl_label_object_set_size_honor_aspect):
1721 Don't emit "changed" signal, if no change actually made for these
1724 2004-02-15 Jim Evins <evins@snaught.com>
1726 * data/glabels-2.0.dtd:
1727 Added specific subtypes for various barcode types.
1730 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
1731 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
1732 (gl_barcode_can_text), (gl_barcode_text_optional),
1733 (gl_barcode_can_csum), (gl_barcode_csum_optional),
1734 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
1735 Changed API to use a string id, rather than a fixed enumeration. Id and
1736 name are separate strings. Added entries to backend table for specific
1737 subtypes for various barcode types.
1740 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
1742 Modified to conform to above API. Now more stringent with data length
1743 for various subtypes.
1745 * src/bc-gnubarcode.h:
1746 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
1747 (is_length_valid), (is_length1_valid), (is_length2_valid):
1748 Modified to conform to above API. Now more stringent with data length
1749 for various subtypes.
1751 * src/label-barcode.h:
1752 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1753 (gl_label_barcode_get_props), (get_size):
1754 Modified to use above API for storing barcode type.
1756 * src/object-editor.h:
1757 * src/object-editor-bc-page.c: (style_changed_cb),
1758 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
1759 Modified to use above API for storing barcode type.
1761 * src/object-editor-size-page.c:
1762 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
1763 (w_spin_cb), (h_spin_cb), (size_reset_cb):
1764 Added debug markers.
1766 * src/object-editor.glade:
1767 Made barcode style combo's text entry non-editable.
1769 * src/print.c: (draw_barcode_object):
1770 Modified to use above API for barcode type.
1772 * src/view-barcode.c: (update_object_from_editor_cb),
1773 (update_editor_from_object_cb),
1774 (gl_view_barcode_create_event_handler), (draw_barcode):
1775 Modified to use above API for barcode type.
1777 * src/xml-label-04.c: (xml04_parse_barcode_props):
1778 * src/xml-label-191.c: (xml191_parse_barcode_props):
1779 * src/xml-label.c: (xml_parse_object_barcode),
1780 (xml_create_object_barcode):
1781 Modified to use above API for barcode type.
1783 2004-02-07 Jim Evins <evins@snaught.com>
1785 * src/stock-pixmaps/Makefile.am:
1786 * src/stock-pixmaps/stock_hchain_24.png:
1787 * src/stock-pixmaps/stock_hchain_broken_24.png:
1788 * src/stock-pixmaps/stock_vchain_24.png:
1789 * src/stock-pixmaps/stock_vchain_broken_24.png:
1790 Added chain pixmaps borrowed from the gimp's default theme.
1793 * src/stock.c: (gl_stock_init), (add_button_icon):
1794 Added above pixmaps to stock icon sets. Created add_button_icon() to
1795 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
1797 * src/wdgt-chain-button.h
1798 * src/wdgt-chain-button.c
1801 Added this Modified version of gimpchainbutton widget, borrowed from
1805 Added acknowledgements of the above borrowing from the gimp.
1807 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
1809 * src/object-editor.c: (gl_object_editor_construct_chain_button):
1810 * src/object-editor.glade:
1811 Replaced the keep aspect ratio check box with the above chain-button
1814 * src/text-node.c: (gl_text_node_equal):
1816 Added function gl_text_node_equal() to compare text_nodes.
1818 * src/label-image.c: (gl_label_image_set_filename):
1819 Replaced incomplete text_node comparison code with invocation of
1820 gl_text_node_equal. This fixed the problem of not being able to
1821 resize an image using the object_editor if the aspect ratio is not
1824 2004-02-04 Jim Evins <evins@snaught.com>
1826 * src/object-editor-image-page.c:
1827 (gl_object_editor_prepare_image_page):
1828 Track "changed" signal of pixmap entry's GtkEntry rather than its
1829 "activate" signal -- this catches all changes to the entry rather than
1830 just changes resulting from a browse, so one can easily pull previous
1831 entries from the history. (This change is marked below on 2004-02-03,
1832 but somehow never got checked in.)
1834 * src/view-highlight.c: (sl_resize_event_handler),
1835 (sr_resize_event_handler), (st_resize_event_handler),
1836 (sb_resize_event_handler):
1837 Side resize handles will now confirm the actual resize that the object
1838 accepted before adjusting position parameters. Previously some interesting
1839 things happened when resizing a barcode to its minimum size.
1841 2004-02-03 Jim Evins <evins@snaught.com>
1843 * src/object-editor-image-page.c:
1844 (gl_object_editor_prepare_image_page):
1845 Track "changed" signal of pixmap entry's GtkEntry rather than its
1846 "activate" signal -- this catches all changes to the entry rather than
1847 just changes resulting from a browse, so one can easily pull previous
1848 entries from the history.
1850 * src/view-highlight.c: (tl_resize_event_handler),
1851 (tr_resize_event_handler), (bl_resize_event_handler),
1852 (br_resize_event_handler):
1853 Allow control key to be dropped while dragging a corner resize handle
1854 without losing the aspect ratio lock.
1856 2004-02-02 Jim Evins <evins@snaught.com>
1858 * src/label-image.c: (gl_label_image_set_filename):
1859 When setting a new filename adjust size such that the aspect ratio of
1860 the image is preserved using the current size as a bounding box.
1862 * src/view-image.c: (update_object_from_editor_cb):
1863 When updating object from editor, feed back possible size changes to
1864 editor as a result of a possible change in image.
1866 * src/object-editor-size-page.c: (size_reset_cb):
1867 Fixed typo when blocking spin handlers. If the base size is larger than
1868 the max size, treat max size as a bounding box while keeping aspect
1872 2004-02-02 Jim Evins <evins@snaught.com>
1874 * src/label-object.h:
1875 * src/label-object.c: (gl_label_object_set_size),
1876 (gl_label_object_set_size_honor_aspect):
1877 Added gl_label_object_set_size_honor_aspect() which will maintain the
1878 current aspect ratio by modifying the supplied w or h apropriately.
1880 * src/view-highlight.c: (tl_resize_event_handler),
1881 (tr_resize_event_handler), (bl_resize_event_handler),
1882 (br_resize_event_handler):
1883 Corner handles will now maintain the current aspect ratio if the
1884 control key is pressed while resizing. This addresses feature
1888 2004-01-31 Jim Evins <evins@snaught.com>
1891 * data/avery-us-templates.xml:
1892 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
1894 * libglabels/template.c: (read_template_files_from_dir):
1895 Corrected problem with testing for extensions.
1897 * src/object-editor.glade:
1898 Corrected grouping of radio buttons in barcode data page.
1900 * src/print.c: (draw_barcode_object):
1901 * src/view-barcode.c: (draw_barcode):
1902 Corrected problem with calculation of y_offset for locating characters.
1904 2004-01-24 Jim Evins <evins@snaught.com>
1907 * data/avery-us-templates.xml:
1908 Added Avery 5824, submitted by Fred Bacon.
1910 2004-01-20 Jim Evins <evins@snaught.com>
1912 Catching up on a couple of backlogged user template submissions.
1914 * data/avery-iso-templates.xml:
1915 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
1916 Suggested by Linas Jakucionis.
1918 * data/zweckform-iso-templates.xml:
1919 Added Zweckform 4760, submitted by Thomas Vill.
1922 Updated to reflect above submissions.
1924 2004-01-06 Jim Evins <evins@snaught.com>
1926 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
1927 xml.[ch] into a separate library called libglabels, to facilitate third
1928 party use of glabels template files. This was suggested by Wayne Schuller.
1929 Once split-out, some modifications to the structures and functions to
1930 make a cleaner more useful API, hopefully. Rather extensive changes have
1931 propogated to other modules.
1939 * src/xml-template.h:
1940 * src/xml-template.c:
1943 These files have been moved to libglabels/. API cleanup performed.
1945 * libglabels/libglabels.h:
1946 * libglabels/libglabels-private.h:
1947 * libglabels/Makefile.am:
1948 These files have been added to finish out libglabels.
1955 Modified to reflect new sets of files in src/ and libglabels/.
1957 * COPYING.LIBGLABELS:
1959 Added copy of the LGPL for libglabels, and a copy the GFDL for
1962 * src/glabels-batch.c:
1964 * src/label.c: (gl_label_finalize), (gl_label_set_template),
1965 (gl_label_get_size):
1967 * src/prefs-model.c: (gl_prefs_model_load_settings):
1968 * src/print-dialog.c:
1969 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
1970 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
1971 (print_crop_marks), (print_label), (draw_outline),
1972 (clip_to_outline), (clip_punchouts):
1973 * src/template-designer.c: (construct_pg_size_page),
1974 (pg_size_page_changed_cb), (layout_page_changed_cb),
1975 (print_test_cb), (build_template):
1976 * src/util.c: (gl_util_fraction):
1978 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
1979 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1980 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1981 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1982 (draw_markup_margin_round), (draw_markup_margin_cd),
1983 (draw_markup_margin_cd_bc), (draw_markup_line),
1984 (draw_markup_circle), (gl_view_copy):
1985 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1986 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
1987 (get_label_size_desc):
1988 * src/wdgt-mini-preview.c:
1989 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
1991 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
1992 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
1993 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
1994 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
1995 * src/wdgt-rotate-label.h:
1996 * src/xml-label-04.c: (xml04_parse_media_description):
1997 * src/xml-label-191.c: (gl_xml_label_191_parse),
1998 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1999 (xml191_parse_markup), (xml191_parse_alias):
2000 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2002 Various changes to accomodate new libglabels API.
2004 2004-01-03 Jim Evins <evins@snaught.com>
2009 2004-01-03 Jim Evins <evins@snaught.com>
2012 Added acknowledgement of contributions by Wayne Schuller.
2014 * src/commands.c: (gl_cmd_file_print):
2015 Create extra reference to print dialog, so that it can be properly re-used.
2017 * src/mygal/mygal-combo-box.h:
2018 * src/mygal/mygal-combo-box.c:
2019 (mygal_combo_box_popup_hide_unconditional),
2020 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2021 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2022 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2023 (mygal_combo_box_set_tearable):
2024 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2025 complete the rename of this widget to prevent namespace collisions
2028 * src/prefs-dialog.glade:
2029 Fixed alignment of Fill/Color widgets.
2031 2004-01-03 Jim Evins <evins@snaught.com>
2033 * data/avery-iso-templates.xml:
2034 Added user submitted templates.
2035 Avery 8435A & 8435B, submitted by Ludger Solbach.
2037 * doc/C/glabels.xml:
2038 Added minimal documentation, noting the new template designer.
2040 2004-01-03 Jim Evins <evins@snaught.com>
2042 * pixmaps/ex-rect-size.png:
2043 * pixmaps/ex-round-size.png:
2044 * pixmaps/ex-cd-size.png:
2045 * pixmaps/Makefile.am:
2046 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2047 files to be used as illustrations/examples in the template-designer.
2049 * src/template-designer.c: (construct_rect_size_page),
2050 (construct_round_size_page), (construct_cd_size_page),
2051 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2052 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2053 (layout_page_prepare_cb), (build_template):
2054 * src/template-designer.glade:
2055 Added illustrations for rectangle, round, and cd label size pages.
2056 Added margin spinboxes to these pages, and now add a margin markup
2057 to the constructed template. Added realistic default values for
2058 some of the size spinboxes. Cleaned up the code for setting spinbox
2059 ranges on the layouts page.
2061 2004-01-02 Jim Evins <evins@snaught.com>
2063 * src/object-editor-size-page.c: (h_spin_cb):
2064 Fixed cut-n-paste error in h_spin_cb that loaded h from
2065 the wrong spinbutton.
2067 * src/object-editor.h:
2068 * src/object-editor.c: (gl_object_editor_class_init),
2069 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2070 * src/object-editor-private.h:
2071 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2073 Added "size_changed" signal.
2075 * src/view-text.c: (construct_properties_editor),
2076 (update_object_from_editor_cb),
2077 (update_object_from_editor_size_cb):
2078 Track size changes from object editor separately from other
2079 properties. This is so the default size (0,0) of a text
2080 object is not modified unintentionally.
2082 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2084 Added feature: line spacing - allows you to comfortably space a text box to
2085 fit a label perfectly.
2087 * data/glabels-2.0.dtd:
2088 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2089 (gl_label_object_get_text_alignment),
2090 (gl_label_object_get_text_line_spacing):
2091 * src/label-object.h:
2092 * src/label-text.c: (gl_label_text_class_init),
2093 (gl_label_text_instance_init), (copy), (get_size),
2094 (set_text_line_spacing), (get_text_alignment),
2095 (get_text_line_spacing):
2096 * src/object-editor-private.h:
2097 * src/object-editor-text-page.c:
2098 (gl_object_editor_prepare_text_page),
2099 (gl_object_editor_set_text_line_spacing),
2100 (gl_object_editor_get_text_line_spacing):
2101 * src/object-editor.glade:
2102 * src/object-editor.h:
2103 * src/prefs-dialog.c: (construct_object_page),
2104 (update_object_page_from_prefs), (update_prefs_from_object_page):
2105 * src/prefs-dialog.glade:
2106 * src/prefs-model.c: (gl_prefs_model_save_settings),
2107 (gl_prefs_model_load_settings), (get_float):
2108 * src/prefs-model.h:
2109 * src/print.c: (draw_text_object):
2111 * src/view-text.c: (update_object_from_editor_cb),
2112 (update_editor_from_object_cb),
2113 (gl_view_text_create_event_handler), (draw_hacktext):
2114 * src/view.c: (gl_view_construct),
2115 (gl_view_set_selection_text_line_spacing),
2116 (gl_view_set_default_text_line_spacing),
2117 (gl_view_get_default_text_line_spacing):
2119 * src/xml-label.c: (xml_parse_toplevel_span),
2120 (xml_create_toplevel_span):
2122 2003-12-30 Jim Evins <evins@snaught.com>
2124 * src/template-designer.c:
2125 * src/template-designer.h:
2126 * src/template-designer.glade:
2127 New template designer assistant.
2131 Added entries for src/template-designer.* files.
2133 * pixmaps/ex-1layout.png
2134 * pixmaps/ex-2layouts.png
2135 * pixmaps/Makefile.am:
2136 Added the new image files ex-*.png used as illustrations in the
2137 template designer assistant.
2139 * src/print-dialog.h:
2140 * src/print-dialog.c: (gl_print_dialog_finalize),
2141 (gl_print_dialog_new), (gl_print_dialog_construct),
2142 (gl_print_dialog_force_outline_flag):
2143 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2144 to support printing from the template designer assistant which does not
2145 have a full-fledged view. Nothing else from the view object was being
2146 used by the dialog anyway.
2148 Added the gl_print_dialog_force_outline_flag() method, for better
2149 integration with the template designer assistant.
2153 * src/commands.c: (gl_cmd_file_template_designer),
2154 (gl_cmd_file_print):
2155 Modified print command to provide label instead of view to dialog.
2156 Added the gl_cmd_file_template_designer() command to invoke the
2157 template designer assistant.
2160 * src/glabels-ui.xml:
2161 Added support for template designer assistant.
2163 * src/wdgt-mini-preview.h:
2164 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2165 (gl_wdgt_mini_preview_set_bg_color):
2166 Preview is now centered in canvas. Added
2167 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2168 assistant to match the background color with its own.
2170 * src/print.c: (clip_to_outline):
2171 Fixed really stupid bug when adding waste to clip region of rectangular
2172 labels/cards. Each side of the clip region needs to be extended by
2173 twice the waste margin, as well as negatively offset by the waste
2176 2003-12-28 Jim Evins <evins@snaught.com>
2178 * src/prefs-dialog.c: (update_object_page_from_prefs):
2179 Block intermediary function align_toggle_cb() instead of
2180 update_prefs_from_object_page() for the three alignment
2183 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2185 * src/file.c: (gl_file_new), (gl_file_properties):
2186 Swap button order and set default for higificatory pleasure.
2188 2003-12-27 Jim Evins <evins@snaught.com>
2190 * barcode-0.98/Makefile.am:
2191 One last time: removed doc/Makefile and po/Makefile.in.in from
2194 2003-12-27 Jim Evins <evins@snaught.com>
2196 * barcode-0.98/Makefile.am:
2197 Removed config.stat entry from EXTRA_DIST files.
2199 * barcode-0.98/Makefile.in:
2202 2003-12-27 Jim Evins <evins@snaught.com>
2205 Updated to work with latest gnome-common package from CVS.
2206 Removed recursive configuration of barcode-0.98.
2213 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2215 * barcode-0.98/Makefile.in:
2216 * barcode-0.98/configure.in:
2217 * barcode-0.98/Makefile.am:
2218 * barcode-0.98/README.glabels:
2219 Modified to ignore the barcode package's build system, and build
2220 as a part of glabels.
2221 Renamed Makefile.in to Makefile.in.dist.
2222 Renamed configure.in to configure.in.dist.
2223 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2226 * src/mygal/Makefile.am:
2227 * src/recent-files/Makefile.am:
2228 In order to build against the GNOME 2.5 platform,
2229 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2231 * src/mygal/Makefile.am:
2232 * src/mygal/mygal-combo-box.c:
2233 * src/mygal/mygal-combo-box.h:
2234 * src/mygal/widget-color-combo.c:
2235 * src/mygal/widget-color-combo.h:
2237 In order to build against the GNOME 2.5 platform,
2238 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2239 collisions with the real gtk_combo_box widget, now a part of gtk.
2241 2003-12-26 Jim Evins <evins@snaught.com>
2247 Moved local versions of get_home_data_dir() in paper.c and
2248 template.c to util package. Cleaned up formatting in
2252 In gl_template_register() save a copy of the template in
2253 ~/.glabels if the template is not known. Still need to
2254 handle duplicate filename case and duplicate name but
2255 different template case.
2259 Moved local definition of NAME_SPACE macro from xml-label.c
2262 * src/xml-template.c:
2263 * src/xml-template.h:
2264 Added function gl_xml_template_write_template_to_file(), used
2265 in gl_template_register().