1 2009-09-02 Jim Evins <evins@snaught.com>
4 * src/wdgt-mini-preview.c:
5 * src/wdgt-mini-preview.h:
8 - Renamed WdgtMiniPreview to MiniPreview.
10 - Modified to draw to parent window to be effectively transparent.
11 - Updated license notification to gpl3+.
12 * src/template-designer.c: (construct_layout_page),
13 (layout_page_prepare_cb), (layout_page_changed_cb):
14 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct),
15 (sheets_radio_cb), (first_spin_cb), (last_spin_cb),
17 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct),
18 (spin_cb), (preview_clicked), (gl_wdgt_print_merge_set_copies):
19 - Reconciled with rename above.
21 2009-09-01 Jim Evins <evins@snaught.com>
23 * data/builder/object-editor.builder:
24 Fixed errant expansion of tab.
25 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
26 * src/bc-postnet.c: (gl_barcode_postnet_new):
27 * src/bc.c: (id_to_index), (name_to_index):
28 * src/label-barcode.c: (gl_label_barcode_set_props):
29 * src/label-text.c: (set_font_family):
30 * src/merge-properties-dialog.c:
31 (gl_merge_properties_dialog_construct):
32 * src/merge.c: (gl_merge_description_to_name):
33 * src/new-label-dialog.c:
34 * src/object-editor-edit-page.c:
35 * src/object-editor-image-page.c: (update_preview_cb):
36 * src/object-editor-lsize-page.c:
37 * src/object-editor-position-page.c:
38 * src/object-editor-size-page.c:
39 * src/object-editor.c: (gl_object_editor_new):
40 * src/prefs-dialog.c: (update_locale_page_from_prefs):
41 * src/prefs-model.c: (string_to_units):
42 * src/print-op.c: (create_custom_widget_cb):
43 * src/template-designer.c: (gl_template_designer_init),
44 (pg_size_page_changed_cb), (build_template):
45 * src/ui-commands.c: (gl_ui_cmd_help_about):
46 * src/xml-label.c: (xml_parse_pixdata):
47 Fixed various deprecations as of Gtk-2.16.
49 2009-08-31 Jim Evins <evins@snaught.com>
52 Updated french translation (Claude Paroz)
54 2009-08-31 Jim Evins <evins@snaught.com>
56 * data/builder/property-bar.builder:
57 Make sure event box does not obscure tool bar background.
61 New color swatch widget.
62 * src/color-combo-color-menu-item.c:
63 (gl_color_combo_color_menu_item_init),
64 (gl_color_combo_color_menu_item_new),
65 (gl_color_combo_color_menu_item_set_color):
66 * src/color-combo.c: (gl_color_combo_init),
67 (gl_color_combo_finalize), (gl_color_combo_new),
68 (gl_color_combo_set_color), (menu_color_changed_cb):
69 Updated to use new color swatch widget.
71 2009-08-26 Jim Evins <evins@snaught.com>
74 Explicitely mark file types. Removed unneeded file from
77 2009-08-23 Jim Evins <evins@snaught.com>
79 * data/builder/Makefile.am:
80 * data/builder/merge-properties-dialog.builder:
81 * data/builder/merge-properties-dialog.glade:
82 * data/builder/new-label-dialog.builder:
83 * data/builder/new-label-dialog.glade:
84 * data/builder/object-editor.builder:
85 * data/builder/object-editor.glade:
86 * data/builder/prefs-dialog.builder:
87 * data/builder/prefs-dialog.glade:
88 * data/builder/print-custom-widget.builder:
89 * data/builder/print-custom-widget.glade:
90 * data/builder/property-bar.builder:
91 * data/builder/property-bar.glade:
92 * data/builder/template-designer.builder:
93 * data/builder/template-designer.glade:
94 * data/builder/wdgt-media-select.builder:
95 * data/builder/wdgt-media-select.glade:
97 * src/merge-properties-dialog.c:
98 (gl_merge_properties_dialog_finalize),
99 (gl_merge_properties_dialog_construct):
100 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
101 (gl_new_label_dialog_construct):
102 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
103 * src/object-editor-data-page.c:
104 (gl_object_editor_prepare_data_page):
105 * src/object-editor-edit-page.c:
106 (gl_object_editor_prepare_edit_page):
107 * src/object-editor-fill-page.c:
108 (gl_object_editor_prepare_fill_page):
109 * src/object-editor-image-page.c:
110 (gl_object_editor_prepare_image_page):
111 * src/object-editor-line-page.c:
112 (gl_object_editor_prepare_line_page):
113 * src/object-editor-lsize-page.c:
114 (gl_object_editor_prepare_lsize_page):
115 * src/object-editor-position-page.c:
116 (gl_object_editor_prepare_position_page):
117 * src/object-editor-private.h:
118 * src/object-editor-shadow-page.c:
119 (gl_object_editor_prepare_shadow_page):
120 * src/object-editor-size-page.c:
121 (gl_object_editor_prepare_size_page):
122 * src/object-editor-text-page.c:
123 (gl_object_editor_prepare_text_page):
124 * src/object-editor.c: (gl_object_editor_init),
125 (gl_object_editor_finalize):
126 * src/prefs-dialog.c: (gl_prefs_dialog_init),
127 (gl_prefs_dialog_finalize), (gl_prefs_dialog_construct),
128 (construct_locale_page), (construct_object_page):
129 * src/print-op.c: (gl_print_op_finalize),
130 (gl_print_op_set_settings), (create_custom_widget_cb):
131 * src/template-designer.c: (gl_template_designer_init),
132 (gl_template_designer_finalize), (construct_start_page),
133 (construct_name_page), (construct_pg_size_page),
134 (construct_shape_page), (construct_rect_size_page),
135 (construct_round_size_page), (construct_cd_size_page),
136 (construct_nlayouts_page), (construct_layout_page),
137 (construct_finish_page):
138 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
139 (gl_ui_property_bar_construct):
140 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
141 (gl_wdgt_media_select_construct):
142 Builder files no longer built from glade files. Also did some
143 cleanup on formatting and update license notifications to GPL3+.
145 2009-08-13 Jim Evins <evins@snaught.com>
147 * src/color-combo-color-menu-item.c:
148 (gl_color_combo_color_menu_item_init),
149 (gl_color_combo_color_menu_item_new),
150 (gl_color_combo_color_menu_item_set_color):
151 Explicitly request size of menu item and enlarge color swatch.
153 2009-08-12 Jim Evins <evins@snaught.com>
155 * src/label-text.c: (buffer_changed_cb), (draw_object),
156 (draw_shadow), (draw_text_real):
158 Moved common code from draw_object() and draw_shadow() to
159 draw_text_real(). Also cleaned up formatting and updated
160 license notification to GPL3+.
162 2009-07-29 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
164 * po/ru.po: Updated and fixed Russian translation
166 2009-07-26 Jim Evins <evins@snaught.com>
169 * COPYING.README_FIRST:
173 Added 3rd party qrencode library.
175 * src/bc-iec18004.c: (gl_barcode_iec18004_new), (render_iec18004):
178 Added IEC18004 (QRCode) 2 dimensional barcode backend.
179 Patch provided by Daniel Mueller <daniel@danm.de>.
181 2009-07-25 Jim Evins <evins@snaught.com>
183 * src/xml-label.c: (gl_xml_label_open):
184 Relax limits when parsing file. Allows large embedded image
187 2009-05-19 Jim Evins <evins@snaught.com>
191 Moved translation list from configure.in to po/LINGUAS.
193 2009-05-19 Jim Evins <evins@snaught.com>
197 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
199 Added above translation to acknowledgements.
201 2009-05-18 Jim Evins <evins@snaught.com>
203 * src/prefs-model.c: (gl_prefs_model_load_settings):
204 Make an educated guess at locale settings when run for the
207 2009-05-17 Jim Evins <evins@snaught.com>
210 * help/glabels.omf.in:
211 Adding missing files from last checkin.
213 2009-05-17 Jim Evins <evins@snaught.com>
217 * help/C/glabels-C.omf:
218 * help/C/glabels.xml:
221 Updated german translation, gnome-doc-utils support and
222 german translation of glabels manual (Mario Blättermann).
224 2009-05-01 Jim Evins <evins@snaught.com>
229 Added catalan translation (David Planella).
231 2009-04-29 Jim Evins <evins@snaught.com>
233 * data/templates/avery-iso-templates.xml:
234 * data/templates/misc-iso-templates.xml:
235 * data/templates/misc-us-templates.xml:
236 Caught up on user submitted templates.
238 Acknowledgements for above templates.
240 2009-04-29 Jim Evins <evins@snaught.com>
244 Updated german translation (Mario Blättermann).
246 2009-03-23 Jim Evins <evins@snaught.com>
248 * src/glabels-batch.c: (main):
249 * src/glabels.c: (main):
250 Tidy up help option output.
252 2009-02-28 Jim Evins <evins@snaught.com>
257 Deleted base64 module.
258 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
259 Use base64 encode/decode from glib.
261 2009-02-22 Jim Evins <evins@snaught.com>
263 * src/merge-properties-dialog.h:
264 * src/new-label-dialog.h:
265 * src/object-editor.h:
266 * src/prefs-dialog.h:
268 * src/template-designer.h:
269 Corrected cut&paste errors.
271 2009-02-21 JimEvins <evins@snaught.com>
273 * src/prefs-model.c: (gl_prefs_model_save_settings),
274 (gl_prefs_model_load_settings):
277 * src/ui-property-bar.c:
278 * src/ui.c: (view_ui_item_toggled_cb),
279 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
280 Removed tooltip toggling capability, which wasn't working
283 2009-02-21 JimEvins <evins@snaught.com>
287 * data/builder/object-editor.glade:
288 * data/builder/prefs-dialog.glade:
289 * data/builder/property-bar.glade:
290 * data/builder/template-designer.glade:
292 * src/color-combo-color-menu-item.c:
293 * src/color-combo-color-menu-item.h:
294 * src/color-combo-menu.h:
295 * src/glabels-batch.c: (main):
296 * src/glabels.c: (main):
297 * src/merge-properties-dialog.h:
298 * src/new-label-dialog.h:
299 * src/object-editor-lsize-page.c:
300 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
301 * src/object-editor.h:
302 * src/prefs-dialog.h:
304 * src/template-designer.h:
305 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
306 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
307 * src/ui-property-bar.c:
308 * src/ui-property-bar.h:
309 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
310 (selection_changed_cb):
313 * src/wdgt-media-select.h:
314 * src/wdgt-merge-menu.h:
315 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
316 * src/wdgt-mini-preview.h:
317 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
318 * src/wdgt-print-copies.h:
319 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
320 * src/wdgt-print-merge.h:
321 * src/wdgt-rotate-label.h:
323 Removed final dependencies on libgnome and libgnomeui.
324 Removed all currently deprecated symbols as of GTK 2.14.
326 2009-01-07 Jim Evins <evins@snaught.com>
328 * src/critical-error-handler.c: (critical_error_handler):
329 * src/ui-commands.c: (gl_ui_cmd_help_contents):
330 * src/warning-handler.c: (warning_handler):
331 * src/view.c: (selection_received_cb):
332 Compile without warning with additional CFLAGS of
333 -O1 -Wall -Wformat=2.
335 2009-01-02 Jim Evins <evins@snaught.com>
337 * COPYING.README_FIRST:
340 2008-12-27 Jim Evins <evins@snaught.com>
342 * data/templates/avery-iso-templates.xml:
343 * data/templates/avery-other-templates.xml:
344 * data/templates/avery-us-templates.xml:
345 * data/templates/brother-other-templates.xml:
346 * data/templates/misc-iso-templates.xml:
347 * data/templates/misc-other-templates.xml:
348 * data/templates/zweckform-iso-templates.xml:
349 Make sure all descriptions are marked as translatable.
351 2008-12-27 Jim Evins <evins@snaught.com>
354 Updated german translation (Mario Blättermann)
356 Updated credits to reflect above translation.
357 * data/builder/object-editor.glade:
358 * data/builder/prefs-dialog.glade:
359 * data/builder/template-designer.glade:
360 Removed "translatable" attribute from whitespace strings,
361 which are used only to help layout.
363 2008-12-21 Jim Evins <evins@snaught.com>
365 * data/templates/avery-us-templates.xml:
366 * data/templates/misc-iso-templates.xml:
367 A couple of recent template submissions.
369 Acknowledgements for above templates.
371 2008-12-21 Jim Evins <evins@snaught.com>
373 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
374 Don't check for handles on aggregate selections.
376 2008-12-20 Jim Evins <evins@snaught.com>
379 Updated prerequisite library versions required.
381 2008-12-18 Jim Evins <evins@snaught.com>
383 * src/view.c: (selection_received_cb):
384 Fixed paste bug that caused a duplicate phantom view_object to be created for
385 each new label_object. This is because the view now (as of r673) the view
386 monitiors the label for new objects and creates view_objects automatically.
388 2008-12-14 Jim Evins <evins@snaught.com>
390 * src/ui.c: (gl_ui_new):
391 Bug #2395628. Fixed i18n for application shell.
393 Bug #2395628. Reconciled POTFILES.in with current files.
395 2008-12-14 Jim Evins <evins@snaught.com>
398 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
400 2008-11-15 Jim Evins <evins@snaught.com>
402 * libglabels/db.c: (lgl_db_register_template):
403 * libglabels/xml-template.c:
404 (lgl_xml_template_parse_template_node):
405 * src/glabels-batch.c:
406 * src/view-text.c: (gl_view_text_create_button_press_event):
407 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
409 2008-11-09 Jim Evins <evins@snaught.com>
411 * data/templates/misc-iso-templates.xml:
412 Another user submitted template.
414 2008-10-27 Jim Evins <evins@snaught.com>
416 * data/templates/avery-us-templates.xml:
417 * data/templates/misc-iso-templates.xml:
418 * data/templates/zweckform-iso-templates.xml:
419 Caught up on user submitted templates.
421 Acknowledgements for above templates.
423 2008-10-23 Jim Evins <evins@snaught.com>
425 * src/label-text.c: (set_font_family):
426 * src/object-editor-text-page.c:
427 (gl_object_editor_prepare_text_page),
428 (gl_object_editor_set_font_family):
429 * src/prefs-dialog.c: (construct_object_page),
430 (update_object_page_from_prefs):
431 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
432 (reset_to_default_properties):
433 * src/util.c: (gl_util_get_font_family_list):
435 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
436 everytime the list is requested.
437 * src/object-editor-text-page.c:
438 (gl_object_editor_set_font_family):
439 Don't change font-family if it hasn't actually changed.
441 2008-10-19 Jim Evins <evins@snaught.com>
443 * data/builder/object-editor.glade:
444 Some tweaking of builder/glade widgets.
446 2008-10-18 Jim Evins <evins@snaught.com>
448 Migrated all use of libglade to GtkBuilder.
450 * data/glade/Makefile.am:
451 * data/glade/merge-properties-dialog.glade:
452 * data/glade/new-label-dialog.glade:
453 * data/glade/object-editor.glade:
454 * data/glade/prefs-dialog.glade:
455 * data/glade/print-custom-widget.glade:
456 * data/glade/property-bar.glade:
457 * data/glade/template-designer.glade:
458 * data/glade/wdgt-media-select.glade:
459 Removed data/glade directory.
460 * data/builder/Makefile.am:
461 * data/builder/merge-properties-dialog.glade:
462 * data/builder/new-label-dialog.glade:
463 * data/builder/object-editor.glade:
464 * data/builder/prefs-dialog.glade:
465 * data/builder/print-custom-widget.glade:
466 * data/builder/property-bar.glade:
467 * data/builder/template-designer.glade:
468 * data/builder/wdgt-media-select.glade:
469 Added data/builder directory.
473 Change glade to builder.
474 * src/merge-properties-dialog.c:
475 (gl_merge_properties_dialog_finalize),
476 (gl_merge_properties_dialog_construct):
477 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
478 (gl_new_label_dialog_construct):
479 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
480 * src/object-editor-data-page.c:
481 (gl_object_editor_prepare_data_page):
482 * src/object-editor-edit-page.c:
483 (gl_object_editor_prepare_edit_page):
484 * src/object-editor-fill-page.c:
485 (gl_object_editor_prepare_fill_page):
486 * src/object-editor-image-page.c:
487 (gl_object_editor_prepare_image_page):
488 * src/object-editor-line-page.c:
489 (gl_object_editor_prepare_line_page):
490 * src/object-editor-lsize-page.c:
491 (gl_object_editor_prepare_lsize_page):
492 * src/object-editor-position-page.c:
493 (gl_object_editor_prepare_position_page):
494 * src/object-editor-private.h:
495 * src/object-editor-shadow-page.c:
496 (gl_object_editor_prepare_shadow_page):
497 * src/object-editor-size-page.c:
498 (gl_object_editor_prepare_size_page):
499 * src/object-editor-text-page.c:
500 (gl_object_editor_prepare_text_page):
501 * src/object-editor.c: (gl_object_editor_init):
502 * src/prefs-dialog.c: (gl_prefs_dialog_init),
503 (gl_prefs_dialog_construct), (construct_locale_page),
504 (construct_object_page):
505 * src/print-op.c: (gl_print_op_finalize),
506 (create_custom_widget_cb):
507 * src/template-designer.c: (gl_template_designer_class_init),
508 (gl_template_designer_finalize), (gl_template_designer_construct),
509 (construct_start_page), (construct_name_page),
510 (construct_pg_size_page), (construct_shape_page),
511 (construct_rect_size_page), (construct_round_size_page),
512 (construct_cd_size_page), (construct_nlayouts_page),
513 (construct_layout_page), (construct_finish_page):
514 * src/template-designer.h:
515 * src/ui-property-bar.c: (gl_ui_property_bar_init),
516 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
517 (gl_ui_property_bar_construct), (reset_to_default_properties),
518 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
519 (update_text_properties), (update_fill_color), (update_line_color),
520 (update_line_width), (selection_changed_cb),
521 (font_family_changed_cb), (font_size_changed_cb),
522 (text_color_changed_cb), (fill_color_changed_cb),
523 (line_color_changed_cb), (line_width_changed_cb),
524 (font_bold_toggled_cb), (font_italic_toggled_cb),
525 (text_align_toggled_cb), (set_doc_items_sensitive),
526 (set_text_items_sensitive), (set_fill_items_sensitive),
527 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
528 * src/ui-property-bar.h:
529 * src/util.c: (gl_util_get_builder_widgets):
531 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
532 (gl_wdgt_media_select_construct):
533 Migration of glade to builder.
535 New macros for color combo initialization.
537 Added idea for internal merge database.
538 * docs/libglabels/libglabels-undocumented.txt:
539 * docs/libglabels/tmpl/paper.sgml:
543 2008-10-12 Jim Evins <evins@snaught.com>
545 * src/mygal/Makefile.am:
546 * src/mygal/color-group.c:
547 * src/mygal/color-group.h:
548 * src/mygal/color-palette.c:
549 * src/mygal/color-palette.h:
550 * src/mygal/e-colors.c:
551 * src/mygal/e-colors.h:
552 * src/mygal/e-marshal.list:
553 * src/mygal/e-util.h:
554 * src/mygal/mygal-combo-box.c:
555 * src/mygal/mygal-combo-box.h:
556 * src/mygal/widget-color-combo.c:
557 * src/mygal/widget-color-combo.h:
563 * src/color-combo-color-menu-item.c:
564 * src/color-combo-color-menu-item.h:
565 * src/color-combo-history.c:
566 * src/color-combo-history.h:
567 * src/color-combo-menu.c:
568 * src/color-combo-menu.h:
573 Created new glColorCombo widget.
574 * src/object-editor-bc-page.c:
575 * src/object-editor-edit-page.c:
576 * src/object-editor-fill-page.c:
577 * src/object-editor-line-page.c:
578 * src/object-editor-shadow-page.c:
579 * src/object-editor-text-page.c:
580 * src/object-editor.c:
581 * src/prefs-dialog.c:
582 * src/ui-property-bar.c:
583 Replaced use of mygal color combo with new glColorCombo widget.
585 2008-08-29 Jim Evins <evins@snaught.com>
587 * src/file.c: (gl_file_open), (gl_file_save_as):
588 Bug #2069668. Corrected button order in Open and "Save as"
591 2008-08-17 Jim Evins <evins@snaught.com>
593 * data/dtd/glabels-2.2.dtd:
594 * data/templates/paper-sizes.xml:
595 * libglabels/db.c: (lgl_db_init):
596 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
597 * libglabels/paper.h:
598 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
599 * src/print-op.c: (set_page_size):
600 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
601 size specification) to the libglabels paper database to allow the page size to be
602 communicated to GtkPrintOp un-ambiguously.
604 2008-07-25 Jim Evins <evins@snaught.com>
606 * src/object-editor-size-page.c: (size_reset_cb),
607 (gl_object_editor_set_max_size):
608 Bug #1993550. Set size limits based on longest side of label.
610 2008-07-19 Jim Evins <evins@snaught.com>
613 * src/mygal/Makefile.am:
614 Make sure libtool handles library dependencies for mygal
617 2008-05-21 Jim Evins <evins@snaught.com>
619 * src/glabels-batch.c: (main):
620 Bug #1968653. Initialize prefs subsystem.
622 2008-05-09 Jim Evins <evins@snaught.com>
624 * data/glade/object-editor.glade:
625 Bug #1959135. A couple of radio buttons somehow became
628 2008-04-07 Jim Evins <evins@snaught.com>
630 * src/wdgt-rotate-label.h:
631 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
632 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
633 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
634 (gl_wdgt_rotate_label_set_template_name):
635 Modified wdgt-rotate-label to better indicate the rotation choices.
636 * data/glade/Makefile.am:
637 * data/glade/wdgt-rotate-label.glade:
638 Deleted wdgt-rotate-label.glade.
640 2008-04-04 Jim Evins <evins@snaught.com>
642 * data/templates/brother-other-templates.xml:
643 Added categories to existing templates.
644 * data/templates/misc-other-templates.xml:
645 Moved dymo templates to their own file.
646 * data/templates/Makefile.am:
647 * data/templates/dymo-other-templates.xml:
648 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
650 Acknowledgement for above templates.
652 2008-03-24 Jim Evins <evins@snaught.com>
654 * src/xml-label.c: (xml_doc_to_label):
655 Bug #1872584. Don't refuse to parse label file if namespace is
656 unrecognized -- it may be from a newer version of glabels.
658 2008-03-15 Jim Evins <evins@snaught.com>
660 * data/templates/Makefile.am:
661 * data/templates/brother-other-templates.xml:
662 Added brother templates.
663 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
664 (gl_cairo_markup_margin_cd_path):
665 * src/view.c: (draw_markup_layer):
666 Fixed markup drawing errors when label is rotated.
668 2008-03-03 Jim Evins <evins@snaught.com>
672 Added korean translation provided by xein@naver.com.
674 2008-02-21 Jim Evins <evins@snaught.com>
677 Fixed typo that prevented "Save" from being deactivated when
678 document is not modified.
680 2008-02-18 Jim Evins <evins@snaught.com>
682 * src/prefs-model.c: (gl_prefs_model_save_settings),
683 (gl_prefs_model_load_settings):
684 Set default units for file output.
686 2008-02-18 Jim Evins <evins@snaught.com>
688 * help/C/glabels.xml:
689 Fixed example template.
691 2008-02-16 Jim Evins <evins@snaught.com>
694 * data/templates/avery-iso-templates.xml:
695 * data/templates/avery-us-templates.xml:
696 * data/templates/misc-iso-templates.xml:
697 * data/templates/misc-us-templates.xml:
698 Caught up on user submitted templates.
700 2008-02-04 Jim Evins <evins@snaught.com>
702 * src/view-image.c: (update_object_from_editor_cb):
703 Bug #1886438. Don't update the image size unless it is actually
704 triggered by a change in image source. The result of this bug
705 was that any attempt to edit the size spinboxes, immediately
708 2008-02-03 Jim Evins <evins@snaught.com>
710 * src/label-image.c: (gl_label_image_class_init), (set_size):
711 Enforce minimum size for images.
713 2008-02-03 Jim Evins <evins@snaught.com>
715 * src/object-editor-edit-page.c: (field_selected_cb):
716 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
717 * src/object-editor-private.h:
718 * src/object-editor-shadow-page.c:
719 (gl_object_editor_set_max_shadow_offset):
720 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
721 * src/object-editor.c: (gl_object_editor_finalize),
722 (gl_object_editor_new), (gl_object_notebook_construct_valist),
724 * src/object-editor.h:
725 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
726 * src/view-barcode.c: (construct_properties_editor):
727 * src/view-box.c: (construct_properties_editor):
728 * src/view-ellipse.c: (construct_properties_editor):
729 * src/view-image.c: (construct_properties_editor):
730 * src/view-line.c: (construct_properties_editor):
731 * src/view-object.c: (gl_view_object_finalize):
732 * src/view-text.c: (construct_properties_editor),
733 Move update_editor_from_label callback from individual view objects
734 to the object editor, so that signals can be disconnected when
735 object editor is finalized.
736 * src/view-text.c: (gl_view_text_create_button_press_event):
737 Fixed bug that caused multiple view objects to be created for a
738 single text object. This bug would manifest itself as a crash
739 when deleting multi-object selections which included text objects.
741 2008-02-02 Jim Evins <evins@snaught.com>
744 * src/wdgt-merge-menu.c:
745 * src/wdgt-merge-menu.h:
746 * src/debug.c: (gl_debug_init):
749 New merge menu widget.
750 * data/glade/object-editor.glade:
751 * src/object-editor-private.h:
752 * src/object-editor.c: (gl_object_editor_set_key_names):
753 * src/object-editor-edit-page.c:
754 (gl_object_editor_prepare_edit_page), (field_selected_cb),
756 Simplified UI for inserting fields into text objects by launching
757 a merge menu and directly inserting fields from the menu. No more
758 selecting field in combobox, then pressing insert button.
760 2008-01-31 Jim Evins <evins@snaught.com>
762 * src/label-barcode.c: (draw_object):
763 Fixed rendering problem when "Invalid data" is displayed when text
764 object is lower in stacking order.
766 2008-01-30 Jim Evins <evins@snaught.com>
768 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
769 Don't turn off cairo_hint_metrics. This causes serious issues with
772 2008-01-29 Jim Evins <evins@snaught.com>
774 * src/print-op.c: (gl_print_op_construct),
775 (gl_print_op_construct_batch), (set_page_size):
776 Explicitly set page size for "other" page sizes.
778 2008-01-25 Jim Evins <evins@snaught.com>
781 Fixed Code128C backend parameters.
782 * src/label-barcode.c: (get_size):
783 Bug #1766425. If barcode is not renderable with either
784 input data or default data, use a default size. Also
787 2008-01-16 Jim Evins <evins@snaught.com>
789 * src/print.c: (print_label):
790 Bug #1872568. Don't apply special transforms (rotate and
791 mirror) to clipping region or outline.
793 2008-01-01 Jim Evins <evins@snaught.com>
796 Sort font lists alphabetically.
798 2008-01-01 Jim Evins <evins@snaught.com>
800 * src/merge-evolution.c:
801 Do a case-insensitive sort.
803 2008-01-01 Jim Evins <evins@snaught.com>
805 * src/merge-evolution.c:
806 Sort evolution by "file_under" field. Original patch provided
807 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
810 Added acknowledgement for above patch.
812 2008-01-01 Jim Evins <evins@snaught.com>
817 Reconcile with 2.2 branch.
820 2007-12-21 Jim Evins <evins@snaught.com>
822 * COPYING.LIBGLABELS:
823 * COPYING.README_FIRST:
825 Updating license information to make more complete and understandable.
827 2007-12-16 Jim Evins <evins@snaught.com>
830 Updated version to 2.pre2.
831 * help/C/glabels.xml:
832 Updated documentation.
833 * src/ui-commands.c: (gl_ui_cmd_help_about):
834 Updated copyright string.
836 2007-12-15 Jim Evins <evins@snaught.com>
838 * data/glade/object-editor.glade:
839 Removed any GtkTable that contained a GtkComboBox because the size of
840 the combo box was not constrained properly. This sacrifices the nice
841 orderly labels for combo boxes that don't extend beyond the edge of the
844 2007-12-15 Jim Evins <evins@snaught.com>
846 * libglabels/db.c: (lgl_db_lookup_template_from_name):
847 * src/object-editor.c: (gl_object_editor_finalize):
848 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
849 Fixed several small memory leaks.
851 2007-12-14 Jim Evins <evins@snaught.com>
854 Optimize template search by name by using a GHashTable.
855 * src/mini-preview-pixbuf-cache.c:
856 * src/mini-preview-pixbuf-cache.h:
857 Store one pixbuf per template, but use a key for each alias.
858 * src/wdgt-media-select.c:
859 Optimize loading of tree data, thus optimizing the "new label" dialog.
861 2007-12-12 Jim Evins <evins@snaught.com>
863 * data/templates/avery-us-templates.xml:
864 More templates and aliases.
866 2007-12-08 Jim Evins <evins@snaught.com>
869 More prep for 2.1.5/2.2.0.
871 2007-12-08 Jim Evins <evins@snaught.com>
877 Preparation for 2.1.5.
879 2007-12-08 Jim Evins <evins@snaught.com>
881 * docs/libglabels/libglabels-decl-list.txt:
882 * docs/libglabels/libglabels-docs.sgml:
883 * docs/libglabels/libglabels-sections.txt:
884 * docs/libglabels/libglabels-undocumented.txt:
885 * docs/libglabels/tmpl/db.sgml:
886 * docs/libglabels/tmpl/str.sgml:
888 Documentation cleanup for libglabels.
890 2007-11-29 Jim Evins <evins@snaught.com>
894 Added lgl_db_does_template_name_exist().
895 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
898 Proof read recent templates -- make sure they still exist.
899 * src/wdgt-media-select.c:
900 Default to "search all templates" tab if no recent templates found.
902 2007-11-28 Jim Evins <evins@snaught.com>
904 * data/glade/wdgt-media-select.glade:
905 * src/wdgt-media-select.c:
906 Added tabbed notebook to allow selection of recent template versus searching the
910 2007-11-26 Jim Evins <evins@snaught.com>
912 * libglabels/Makefile.am:
913 * libglabels/libglabels.h:
916 * src/prefs-dialog.c:
921 Added tracking of recently used templates.
923 2007-11-20 Jim Evins <evins@snaught.com>
925 * data/glade/template-designer.glade:
926 * src/template-designer.c:
927 Added warning icon when match brand and part match an existing template.
929 2007-11-18 Jim Evins <evins@snaught.com>
931 * libglabels/Makefile.am:
934 Added lgl_str_utf8_casecmp().
935 * libglabels/libglabels-private.h:
936 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
937 * libglabels/db.c: (lgl_db_get_brand_list):
938 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
941 2007-11-18 Jim Evins <evins@snaught.com>
943 * data/glade/template-designer.glade:
944 * src/template-designer.c:
945 Don't advance past name page, if brand and part match an existing template.
947 2007-11-18 Jim Evins <evins@snaught.com>
949 * libglabels/db.c: (lgl_db_register_template), (read_templates):
950 When registering a new template, don't add to "User defined" category before
951 writing to file. Add to "User defined" category when reading from "~/.glabels"
952 directory instead. This will allow legacy templates (and manually created
953 templates) to be automatically added to the "user defined" category.
954 * libglabels/xml-template.c:
955 (lgl_xml_template_create_template_node):
956 Fixed typo/bug causing brand to be wrong.
958 2007-11-16 Jim Evins <evins@snaught.com>
962 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
963 function. Automatically create "User defined" category and add to all user
964 registered templates.
965 * libglabels/xml-template.c:
966 * libglabels/xml-template.h:
967 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
968 lgl_xml_template_write_template_to_file().
969 * docs/libglabels/libglabels-decl-list.txt:
970 * docs/libglabels/libglabels-sections.txt:
971 * docs/libglabels/libglabels-undocumented.txt:
972 * docs/libglabels/tmpl/db.sgml:
973 * docs/libglabels/tmpl/xml-template.sgml:
974 Update documentation to reflect above changes.
976 2007-10-28 Jim Evins <evins@snaught.com>
978 * libglabels/xml-template.c:
979 Remove any leading white space from part #s when parsing old names.
980 * src/mini-preview-pixbuf-cache.c:
981 If name isn't in cache add it.
983 2007-10-26 Jim Evins <evins@snaught.com>
985 * libglabels/Makefile.am:
986 * libglabels/category.c:
987 * libglabels/category.h:
990 * libglabels/libglabels-private.h:
991 * libglabels/libglabels.h:
992 * libglabels/paper.c:
993 * libglabels/paper.h:
994 * libglabels/template.c:
995 * libglabels/template.h:
996 * libglabels/xml-template.c:
997 Another pass at screwing with the libglabels API. Moved all
998 database related stuff to db.[ch].
999 * docs/libglabels/libglabels-decl-list.txt:
1000 * docs/libglabels/libglabels-docs.sgml:
1001 * docs/libglabels/libglabels-sections.txt:
1002 * docs/libglabels/libglabels-undocumented.txt:
1003 * docs/libglabels/tmpl/category.sgml:
1004 * docs/libglabels/tmpl/db.sgml:
1005 * docs/libglabels/tmpl/init.sgml:
1006 * docs/libglabels/tmpl/libglabels-unused.sgml:
1007 * docs/libglabels/tmpl/paper.sgml:
1008 * docs/libglabels/tmpl/template-construction.sgml:
1009 * docs/libglabels/tmpl/template-db.sgml:
1010 * docs/libglabels/tmpl/template-misc.sgml:
1011 * docs/libglabels/tmpl/template-struct.sgml:
1012 * docs/libglabels/tmpl/template.sgml:
1013 Updated documentation to reflect above changes to libglabels API.
1015 * src/glabels-batch.c:
1017 * src/mini-preview-pixbuf-cache.c:
1018 * src/prefs-model.c:
1020 * src/template-designer.c:
1021 * src/wdgt-media-select.c:
1022 * src/wdgt-mini-preview.c:
1023 * src/wdgt-rotate-label.c:
1024 * src/xml-label-04.c:
1026 Reconciled usage with above libglabels API changes.
1028 2007-10-21 Jim Evins <evins@snaught.com>
1030 * data/glade/wdgt-media-select.glade:
1031 * src/wdgt-media-select.c:
1032 Added brand to filter settings.
1034 2007-10-21 Jim Evins <evins@snaught.com>
1036 * data/dtd/glabels-2.2.dtd:
1037 Forgot to replace Alias name attribute with brand and part attributes.
1038 * data/templates/avery-iso-templates.xml:
1039 * data/templates/avery-other-templates.xml:
1040 * data/templates/avery-us-templates.xml:
1041 * data/templates/misc-iso-templates.xml:
1042 * data/templates/misc-other-templates.xml:
1043 * data/templates/misc-us-templates.xml:
1044 * data/templates/zweckform-iso-templates.xml:
1045 Replaced all name attributes with brand/part attribute pairs.
1047 2007-10-20 Jim Evins <evins@snaught.com>
1049 * src/stock-pixmaps/*.png
1050 Updated icons to use Tango color palette.
1052 2007-10-20 Jim Evins <evins@snaught.com>
1054 * data/dtd/Makefile.am:
1055 * data/dtd/glabels-2.0.dtd:
1056 * data/dtd/glabels-2.2.dtd:
1057 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
1059 * libglabels/template.c:
1060 * libglabels/template.h:
1061 * libglabels/xml-template.c:
1063 Added brand and part attributes to template and alias structures and nodes.
1066 * src/mini-preview-pixbuf-cache.c:
1067 * src/template-designer.c:
1068 * src/wdgt-media-select.c:
1069 Use modified libglabels API.
1070 * docs/libglabels/libglabels-decl-list.txt:
1071 * docs/libglabels/libglabels-sections.txt:
1072 * docs/libglabels/libglabels-undocumented.txt:
1073 * docs/libglabels/tmpl/template-construction.sgml:
1074 * docs/libglabels/tmpl/template-db.sgml:
1075 * docs/libglabels/tmpl/template-struct.sgml:
1076 Update libglabels documentation to reflect above modifications.
1078 2007-10-14 Jim Evins <evins@snaught.com>
1080 * docs/libglabels/libglabels-decl-list.txt:
1081 * docs/libglabels/libglabels-sections.txt:
1082 * docs/libglabels/libglabels-undocumented.txt:
1083 * docs/libglabels/tmpl/category.sgml:
1084 * libglabels/category.c:
1085 * libglabels/category.h:
1086 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
1087 parity with paper functions.
1089 2007-10-12 Jim Evins <evins@snaught.com>
1091 * docs/libglabels/libglabels-decl-list.txt:
1092 * docs/libglabels/libglabels-sections.txt:
1093 * docs/libglabels/libglabels-undocumented.txt:
1094 * docs/libglabels/tmpl/category.sgml:
1095 * docs/libglabels/tmpl/enums.sgml:
1096 * docs/libglabels/tmpl/libglabels-unused.sgml:
1097 * docs/libglabels/tmpl/paper.sgml:
1098 * docs/libglabels/tmpl/template-struct.sgml:
1099 * libglabels/init.c:
1100 * libglabels/template.c:
1101 * libglabels/template.h:
1102 Another pass at fleshing out the libglabels documentation.
1103 * src/cairo-label-path.c:
1104 * src/cairo-markup-path.c:
1106 * src/mini-preview-pixbuf.c:
1110 * src/wdgt-media-select.c:
1111 * src/wdgt-mini-preview.c:
1112 * src/wdgt-print-copies.c:
1113 * src/wdgt-print-merge.c:
1114 * src/wdgt-rotate-label.c:
1115 Removed lgl_template_get_first_frame() from libglabels API and all references.
1117 2007-10-11 Jim Evins <evins@snaught.com>
1119 Extended checks for deprecated symbols.
1120 * libglabels/template.c:
1121 Removed g_strcasecmp references, which are deprecated.
1123 2007-10-09 Jim Evins <evins@snaught.com>
1125 * src/merge-evolution.c:
1126 Create address book if it does not exist. Also, be more robust about handling
1127 error conditions -- don't just assume GError has been set.
1129 2007-10-08 Jim Evins <evins@snaught.com>
1131 * libglabels/template.c:
1132 * libglabels/xml-template.c:
1133 * src/template-designer.c:
1134 Missed some symbols with libglabels API work.
1136 2007-10-01 Jim Evins <evins@snaught.com>
1138 * docs/libglabels/libglabels-decl-list.txt:
1139 * docs/libglabels/libglabels-docs.sgml:
1140 * docs/libglabels/libglabels-sections.txt:
1141 * docs/libglabels/libglabels-undocumented.txt:
1142 * docs/libglabels/tmpl/category.sgml:
1143 * docs/libglabels/tmpl/enums.sgml:
1144 * docs/libglabels/tmpl/init.sgml:
1145 * docs/libglabels/tmpl/libglabels-unused.sgml:
1146 * docs/libglabels/tmpl/paper.sgml:
1147 * docs/libglabels/tmpl/template-construction.sgml:
1148 * docs/libglabels/tmpl/template-db.sgml:
1149 * docs/libglabels/tmpl/template-misc.sgml:
1150 * docs/libglabels/tmpl/template-struct.sgml:
1151 * docs/libglabels/tmpl/template.sgml:
1152 * docs/libglabels/tmpl/xml-category.sgml:
1153 * docs/libglabels/tmpl/xml-template.sgml:
1154 * libglabels/category.h:
1155 * libglabels/init.c:
1156 * libglabels/libglabels-private.h:
1157 * libglabels/paper.h:
1158 * libglabels/template.c:
1159 * libglabels/template.h:
1160 * libglabels/xml-template.h:
1161 Basic documentation framework for libglabels updated. This still needs some
1164 2007-09-27 Jim Evins <evins@snaught.com>
1166 * docs/libglabels/libglabels-decl-list.txt:
1167 * docs/libglabels/libglabels-docs.sgml:
1168 * docs/libglabels/libglabels-sections.txt:
1169 * docs/libglabels/libglabels-undocumented.txt:
1170 * docs/libglabels/tmpl/enums.sgml:
1171 * docs/libglabels/tmpl/init.sgml:
1172 * docs/libglabels/tmpl/libglabels-unused.sgml:
1173 * docs/libglabels/tmpl/paper.sgml:
1174 * docs/libglabels/tmpl/template.sgml:
1175 * docs/libglabels/tmpl/xml-paper.sgml:
1176 * docs/libglabels/tmpl/xml-template.sgml:
1177 * docs/libglabels/tmpl/xml.sgml:
1178 * libglabels/Makefile.am:
1179 * libglabels/category.c:
1180 * libglabels/category.h:
1181 * libglabels/enums.h:
1182 * libglabels/init.c:
1183 * libglabels/init.h:
1184 * libglabels/libglabels-private.h:
1185 * libglabels/libglabels.h:
1186 * libglabels/paper.c:
1187 * libglabels/paper.h:
1188 * libglabels/template.c:
1189 * libglabels/template.h:
1190 * libglabels/xml-category.c:
1191 * libglabels/xml-category.h:
1192 * libglabels/xml-paper.c:
1193 * libglabels/xml-paper.h:
1194 * libglabels/xml-template.c:
1195 * libglabels/xml-template.h:
1198 * src/cairo-label-path.c:
1199 * src/cairo-label-path.h:
1200 * src/cairo-markup-path.c:
1201 * src/cairo-markup-path.h:
1203 * src/glabels-batch.c:
1205 * src/label-object.c:
1208 * src/mini-preview-pixbuf-cache.c:
1209 * src/mini-preview-pixbuf.c:
1210 * src/mini-preview-pixbuf.h:
1211 * src/prefs-dialog.c:
1212 * src/prefs-model.c:
1213 * src/prefs-model.h:
1218 * src/template-designer.c:
1219 * src/view-barcode.c:
1221 * src/view-ellipse.c:
1225 * src/wdgt-media-select.c:
1226 * src/wdgt-mini-preview.c:
1227 * src/wdgt-mini-preview.h:
1228 * src/wdgt-print-copies.c:
1229 * src/wdgt-print-merge.c:
1230 * src/wdgt-rotate-label.c:
1231 * src/xml-label-04.c:
1233 Major cleanup of libglabels API -- this breaks API compatibility with older
1234 development and stable versions -- as far as I know, there are currently
1235 no external users of this library yet.
1237 2007-09-14 Jim Evins <evins@snaught.com>
1242 * src/label-object.c:
1243 * src/label-object.h:
1244 * src/label-barcode.c:
1245 * src/label-ellipse.c:
1247 * src/view-object.c:
1248 * src/view-barcode.c:
1250 * src/view-ellipse.c:
1254 Better separation of model from view.
1256 2007-08-21 Jim Evins <evins@snaught.com>
1258 * src/print-op.c: (create_custom_widget_cb):
1259 Fix problem with force_outline_flag -- don't override with default.
1261 2007-08-21 Jim Evins <evins@snaught.com>
1263 * data/dtd/glabels-2.0.dtd:
1264 * libglabels/template.c:
1265 * libglabels/template.h:
1266 * libglabels/xml-template.c:
1267 * src/cairo-markup-path.c:
1268 Added "Markup-rect" element to template format.
1270 2007-08-21 Jim Evins <evins@snaught.com>
1273 Changed version to 2.1.pre5svn.
1274 * src/view.c: (draw_markup_layer):
1275 Do a stroke for each markup path, otherwise multiple markups
1278 2007-08-17 Jim Evins <evins@snaught.com>
1281 Bump libglabels revision numbers for 2.1.4 release.
1283 2007-08-16 Jim Evins <evins@snaught.com>
1286 Include subdir iec16022-0.2.1.
1290 Preparation for 2.1.4.
1293 2007-08-11 Jim Evins <evins@snaught.com>
1299 Added Esperanto translation. Provided by Antonio C.
1300 Codazzi "la Filozofo" <f_sophia@libero.it>.
1302 Updated French translation. Provided by Claude Paroz
1303 <claude@2xlibre.net>.
1305 Updated to reflect above translations.
1307 2007-08-11 Jim Evins <evins@snaught.com>
1310 * data/templates/avery-iso-templates.xml:
1311 * data/templates/avery-us-templates.xml:
1312 * data/templates/misc-iso-templates.xml:
1313 * data/templates/misc-other-templates.xml:
1314 * data/templates/misc-us-templates.xml:
1315 * data/templates/zweckform-iso-templates.xml:
1316 Caught up with backlog of template submissions.
1318 2007-08-10 Jim Evins <evins@snaught.com>
1320 * src/bc-postnet.c: (gl_barcode_postnet_new):
1322 Added support for Brazilian CEPNet barcodes. This is simply an
1323 instance of the US POSTNET format with 8 digits. Patch supplied
1324 by Mário Meyer in bug # 1768792.
1326 Updated acknowledgments to reflect above patch and recent shuffling
1327 of underlying technology.
1329 2007-05-13 Jim Evins <evins@snaught.com>
1331 * src/merge-text.c: (parse_line), (parse_field):
1332 Remove leading and trailing spaces from CSV fields, unless quoted.
1334 2007-05-09 Jim Evins <evins@snaught.com>
1336 * src/object-editor-bc-page.c:
1337 * src/object-editor-data-page.c:
1338 * src/object-editor-fill-page.c:
1339 * src/object-editor-image-page.c:
1340 * src/object-editor-line-page.c:
1341 * src/object-editor-lsize-page.c:
1342 * src/object-editor-position-page.c:
1343 * src/object-editor-private.h:
1344 * src/object-editor-shadow-page.c:
1345 * src/object-editor-size-page.c:
1346 * src/object-editor-text-page.c:
1347 * src/object-editor.c:
1348 * src/prefs-dialog.c:
1349 * src/template-designer.c:
1350 * src/ui-property-bar.c:
1351 * src/wdgt-media-select.c:
1352 Replaced signal block/unblock pairs with simple flags. This reduces
1353 some code clutter, hopefully making it easier to read.
1355 2007-05-05 Jim Evins <evins@snaught.com>
1357 * src/template-designer.c: (apply_cb):
1358 Add new template to mini-preview pixbuf cache.
1360 2007-05-03 Jim Evins <evins@snaught.com>
1362 * src/label-image.c: (gl_label_image_init), (draw_object):
1363 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1366 2007-05-02 Jim Evins <evins@snaught.com>
1368 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1369 (button_release_event_cb):
1370 Removed attempt at rendering optimization by clipping the updates
1371 to areas affected -- this actually seemed to hurt update performance.
1373 2007-04-30 Jim Evins <evins@snaught.com>
1376 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1377 (gl_color_node_equal), (gl_color_node_expand):
1378 * src/label-barcode.c: (draw_object):
1379 * src/label-box.c: (draw_object), (draw_shadow):
1380 * src/label-ellipse.c: (draw_object), (draw_shadow):
1381 * src/label-line.c: (draw_object), (draw_shadow):
1382 * src/label-text.c: (draw_object), (draw_shadow):
1383 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1384 * src/wdgt-rotate-label.c: (drawingarea_update):
1385 Some cleanup to color related code.
1387 2007-04-30 Jim Evins <evins@snaught.com>
1390 Added glLabelRegion structure type.
1391 * src/label-object.c: (gl_label_object_get_extent):
1392 * src/label-object.h:
1393 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1395 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1396 (gl_view_select_region), (gl_view_align_selection_left),
1397 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1398 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1399 (gl_view_align_selection_vcenter),
1400 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1401 (gl_view_move_selection), (gl_view_can_selection_text),
1402 (motion_notify_event_cb), (button_press_event_cb),
1403 (button_release_event_cb):
1404 - Reconcile with new gl_label_object_get_extent() API.
1405 - Use glLabelRegion for view->select_region.
1406 - Added gl_view_update_region() to clip updates to region.
1407 - Use gl_view_update_region() during manipulation of view->select_region.
1409 2007-04-26 Jim Evins <evins@snaught.com>
1411 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1412 (draw_label_outline):
1413 * src/print.c: (print_crop_marks), (draw_outline):
1414 * src/view-object.c: (gl_view_object_draw_handles):
1415 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1416 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1417 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1418 * src/wdgt-rotate-label.c: (drawingarea_update):
1419 Added defines for various magic numbers.
1421 2007-04-25 Jim Evins <evins@snaught.com>
1423 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1424 Scale text down. Cairo seems to render text too large.
1426 2007-04-25 Jim Evins <evins@snaught.com>
1429 * src/view.c: (gl_view_update), (expose_cb),
1430 (motion_notify_event_cb), (button_press_event_cb),
1431 (button_release_event_cb):
1432 - Try not to let updates get backed up.
1433 - Grab pointer when doing any drag operations.
1435 2007-04-11 Jim Evins <evins@snaught.com>
1437 * src/cairo-label-path.c: (gl_cairo_label_path),
1438 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1439 (gl_cairo_cd_label_path):
1440 * src/cairo-label-path.h:
1441 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1442 (draw_label_outline):
1443 * src/print.c: (draw_outline), (clip_to_outline):
1444 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1445 * src/wdgt-mini-preview.c: (draw_labels):
1446 * src/wdgt-rotate-label.c: (drawingarea_update):
1447 Modified to universally use gl_cairo_label_path() to create paths
1448 for labels. Added shadow to mini preview in rotate widget.
1450 2007-04-10 Jim Evins <evins@snaught.com>
1452 * libglabels/template.h:
1453 * libglabels/template.c: (gl_template_get_name_list_unique),
1454 (gl_template_get_name_list_all), (gl_template_from_name):
1455 Modified libglabels to allow you to get a list of all template names
1456 including all aliases or just a list of primary names of each unique
1459 * src/file.c: (gl_file_properties):
1460 * src/glabels.c: (main):
1461 * src/mini-preview-pixbuf-cache.h:
1462 * src/mini-preview-pixbuf-cache.c:
1463 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1464 (filter_changed_cb), (load_list):
1465 Added mini-preview pixbuf cache, so that only one mini-preview is
1466 needed for a unique template and gets reused for all aliases. These
1467 pixbufs will also live for the life of the program so they are not
1468 rebuilt everytime a new label dialog is invoked.
1469 * src/mini-preview-pixbuf.c: (draw_paper),
1470 (draw_rect_label_outline), (draw_round_label_outline),
1471 (draw_cd_label_outline):
1472 Removed some comment artifacts.
1474 2007-04-04 Jim Evins <evins@snaught.com>
1476 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1477 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1478 (draw_round_label_outline), (draw_cd_label_outline):
1479 * src/wdgt-media-select.c: (load_list):
1480 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1481 Cosmetic enhancments to mini previews.
1483 2007-04-04 Jim Evins <evins@snaught.com>
1485 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1486 (gl_ui_property_bar_construct):
1487 Save copy of GladeXML tree so that we don't lose tooltips.
1489 2007-04-02 Jim Evins <evins@snaught.com>
1491 * src/merge-properties-dialog.c:
1492 * src/new-label-dialog.c:
1493 * src/object-editor.c:
1494 * src/prefs-dialog.c:
1496 * src/template-designer.c:
1497 * src/ui-property-bar.c:
1498 * src/wdgt-media-select.c:
1499 * src/wdgt-rotate-label.c:
1500 Fixed several memory leaks.
1502 2007-04-01 Jim Evins <evins@snaught.com>
1504 * src/label-text.c: (gl_label_text_init), (copy),
1505 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1506 (set_font_family), (set_font_size), (set_font_weight),
1507 (set_font_italic_flag), (set_text_alignment),
1508 (set_text_line_spacing):
1509 Cache object size, so that expensive extent calculations are only done
1512 2007-03-30 Jim Evins <evins@snaught.com>
1514 * src/prefs-model.c: (gl_prefs_model_load_settings):
1515 Default to an unlimited list of recent documents, since this parameter
1516 seems to be pre-filter anyway.
1518 2007-03-30 Jim Evins <evins@snaught.com>
1520 * src/label-box.c: (draw_shadow):
1521 * src/label-ellipse.c: (draw_shadow):
1522 Added missing shadow fill.
1524 2007-03-28 Jim Evins <evins@snaught.com>
1526 * src/ui-commands.c: (gl_ui_cmd_file_print):
1527 Unreferencing the print operation sometimes crashes. Just don't do it
1530 2007-03-28 Jim Evins <evins@snaught.com>
1532 * src/print-op.c: (gl_print_op_construct),
1533 (gl_print_op_get_settings), (gl_print_op_set_settings),
1534 (gl_print_op_free_settings), (create_custom_widget_cb):
1536 * src/ui-commands.c: (gl_ui_cmd_file_print):
1537 * src/window.c: (gl_window_init):
1539 Save print settings and custom settings between print operations
1542 2007-03-24 Jim Evins <evins@snaught.com>
1544 * src/object-editor-image-page.c:
1545 (gl_object_editor_prepare_image_page),
1546 (gl_object_editor_set_image), (img_selection_changed_cb):
1547 Workaround for GtkFileChooserButton bug # 327243. This the root
1548 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1549 "selection-changed" signals -- the first 2 return NULL -- this is
1550 what caused the image to reset to the default followed by setting
1551 it back to the original image, trying to fit it into a new bounding
1552 box. This sequence of events is much more evident with the new
1555 2007-03-23 Jim Evins <evins@snaught.com>
1557 Merged all changes from experimental cairo branch to trunk.
1558 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1560 2007-03-23 Jim Evins <evins@snaught.com>
1562 * src/label-object.h:
1563 * src/label-object.c: (gl_label_object_class_init),
1564 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1565 Created "get_raw_size" method.
1566 * src/label-barcode.c: (get_size):
1567 * src/xml-label.c: (xml_create_object_text),
1568 (xml_create_object_barcode):
1569 Use new "get_raw_size" method on label-objects when apropos.
1571 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1572 (auto_shrink_font_size):
1573 Added "auto shrink" functionality back.
1575 2007-03-19 Jim Evins <evins@snaught.com>
1577 * src/label-text.c: (draw_object), (draw_shadow):
1578 Don't use negative scales in workaround from previous commit.
1581 2007-03-18 Jim Evins <evins@snaught.com>
1584 Forgot to remove include of xml-lable-191 in previous commit.
1585 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1586 Workaround for pango Bug #341481. Render text at device scale,
1587 and scale font size accordingly. Also, don't do any hinting.
1589 2007-03-18 Jim Evins <evins@snaught.com>
1591 * src/cairo-ellipse-path.c:
1592 * src/cairo-ellipse-path.h:
1593 Forgot to add these new files during last mass commit.
1595 2007-03-18 Jim Evins <evins@snaught.com>
1598 * src/xml-label-191.c:
1599 * src/xml-label-191.h:
1600 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1601 so there is no need to keep compatability.
1603 * src/bc-iec16022.c:
1604 * src/cairo-label-path.c:
1605 * src/cairo-label-path.h:
1606 * src/cairo-markup-path.c:
1610 * src/glabels-batch.c:
1612 * src/label-barcode.c:
1614 * src/label-ellipse.c:
1615 * src/label-image.c:
1617 * src/label-object.c:
1618 * src/label-object.h:
1622 * src/merge-properties-dialog.c:
1624 * src/new-label-dialog.c:
1625 * src/object-editor-bc-page.c:
1626 * src/object-editor-data-page.c:
1627 * src/object-editor-edit-page.c:
1628 * src/object-editor-fill-page.c:
1629 * src/object-editor-image-page.c:
1630 * src/object-editor-line-page.c:
1631 * src/object-editor-private.h:
1632 * src/object-editor-shadow-page.c:
1633 * src/object-editor-text-page.c:
1634 * src/object-editor.c:
1635 * src/pixbuf-cache.c:
1640 * src/template-designer.c:
1642 * src/ui-property-bar.c:
1644 * src/view-barcode.c:
1646 * src/view-ellipse.c:
1649 * src/view-object.c:
1650 * src/view-object.h:
1653 * src/wdgt-media-select.c:
1654 * src/wdgt-print-copies.c:
1655 * src/wdgt-print-merge.c:
1657 * src/xml-label-04.c:
1659 Many changes, including:
1660 - Move draw methods from view-*() to label-*().
1661 - Use same drawing code for on screen view and printing.
1662 - Fix all issues exposed with '-Wall -Werror'.
1664 2007-03-14 Jim Evins <evins@snaught.com>
1667 * src/cairo-handle-path.c:
1668 * src/cairo-handle-path.h:
1669 * src/cairo-object-path.c:
1670 * src/cairo-object-path.h:
1671 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1672 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1674 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1675 (draw_shadow), (object_at):
1676 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1677 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1678 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1680 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1681 (draw_shadow), (object_at):
1682 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1683 (create_handle_path), (gl_view_object_draw_handles),
1684 (gl_view_object_handle_at):
1685 * src/view-object.h:
1686 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1687 (draw_shadow), (object_at):
1688 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1689 Some restructuring of new code.
1691 2007-03-12 Jim Evins <evins@snaught.com>
1694 * src/cairo-object-path.c:
1695 * src/view-barcode.c:
1696 * src/view-barcode.h:
1698 Added barcode object support to view.
1700 2007-03-12 Jim Evins <evins@snaught.com>
1706 * src/cairo-object-path.c:
1707 * src/cairo-object-path.h:
1709 * src/view-ellipse.c:
1712 * src/view-object.c:
1713 * src/view-object.h:
1714 Added text object support to view. Added object_at method to all
1717 2007-03-11 Jim Evins <evins@snaught.com>
1720 * src/cairo-object-path.c: (gl_cairo_object_path),
1721 (gl_cairo_image_object_path):
1722 * src/view-image.c: (gl_view_image_class_init),
1723 (gl_view_image_finalize), (gl_view_image_new),
1724 (update_editor_from_label_cb), (draw),
1725 (gl_view_image_get_create_cursor),
1726 (gl_view_image_create_button_press_event),
1727 (gl_view_image_create_motion_event),
1728 (gl_view_image_create_button_release_event):
1730 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1731 (selection_received_cb), (motion_notify_event_cb),
1732 (button_press_event_cb), (button_release_event_cb):
1733 Added image object support to view.
1735 2007-03-11 Jim Evins <evins@snaught.com>
1738 * src/cairo-object-path.c: (gl_cairo_object_path),
1739 (gl_cairo_line_object_path):
1740 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1741 (update_object_from_editor_cb), (update_editor_from_object_cb),
1742 (update_editor_from_label_cb), (draw),
1743 (gl_view_line_get_create_cursor),
1744 (gl_view_line_create_button_press_event),
1745 (gl_view_line_create_motion_event),
1746 (gl_view_line_create_button_release_event):
1748 * src/view-object.c: (gl_view_object_resize_event):
1749 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1750 (selection_received_cb), (motion_notify_event_cb),
1751 (button_press_event_cb), (button_release_event_cb):
1752 Added line object support to view.
1753 * src/cairo-handle-path.c:
1754 Made handles slightly larger.
1757 2007-03-11 Jim Evins <evins@snaught.com>
1760 * src/cairo-handle-path.c:
1761 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1762 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1763 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1764 (gl_cairo_markup_margin_round_path),
1765 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1766 * src/cairo-object-path.c: (gl_cairo_object_path),
1767 (gl_cairo_ellipse_object_path):
1768 * src/label-object.c: (gl_label_object_rotate):
1771 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1772 (gl_view_ellipse_new), (update_object_from_editor_cb),
1773 (update_editor_from_object_cb), (update_editor_from_label_cb),
1774 (draw), (gl_view_ellipse_get_create_cursor),
1775 (gl_view_ellipse_create_button_press_event),
1776 (gl_view_ellipse_create_motion_event),
1777 (gl_view_ellipse_create_button_release_event):
1778 * src/view-ellipse.h:
1779 * src/view-object.c:
1780 * src/view-object.h:
1781 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1782 (select_object_real), (selection_received_cb),
1783 (motion_notify_event_cb), (button_press_event_cb),
1784 (button_release_event_cb):
1786 Added ellipse object support to view. Plus other cleanup.
1788 2007-03-11 Jim Evins <evins@snaught.com>
1791 * src/view-box.c: (gl_view_box_get_create_cursor),
1792 (gl_view_box_create_button_press_event),
1793 (gl_view_box_create_motion_event),
1794 (gl_view_box_create_button_release_event):
1795 * src/view-object.c: (gl_view_object_set_view),
1796 (gl_view_object_handle_at):
1798 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1799 (motion_notify_event_cb), (button_press_event_cb),
1800 (button_release_event_cb), (key_press_event_cb):
1801 Added creation code for box object.
1803 2007-03-09 Jim Evins <evins@snaught.com>
1805 * src/view-object.c: (gl_view_object_resize_event):
1806 * src/view-object.h:
1807 * src/view.c: (motion_notify_event_cb):
1808 Fix bugs with resizing transformed objects.
1809 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1810 * src/cairo-object-path.c: (gl_cairo_object_path):
1811 * src/cairo-object-path.h:
1812 * src/label-object.c: (gl_label_object_init),
1813 (gl_label_object_dup), (gl_label_object_get_extent),
1814 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1815 (gl_label_object_rotate), (gl_label_object_set_matrix),
1816 (gl_label_object_get_matrix):
1817 * src/label-object.h:
1818 * src/print.c: (draw_object):
1820 * src/view-highlight.c:
1821 * src/view-highlight.h:
1822 * src/xml-label-191.c: (xml191_parse_object):
1823 * src/xml-label.c: (xml_parse_affine_attrs),
1824 (xml_create_affine_attrs):
1825 Replace libart affine matrices with cairo matrices.
1827 2007-03-08 Jim Evins <evins@snaught.com>
1829 * src/view-object.h:
1830 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1831 * src/view-object.c: (gl_view_object_handle_at),
1832 (gl_view_object_resize_event):
1833 Added resize code -- still a bit buggy.
1835 2007-03-07 Jim Evins <evins@snaught.com>
1838 * src/cairo-handle-path.c:
1839 * src/cairo-handle-path.h:
1840 * src/view-box.c: (gl_view_box_new):
1841 * src/view-object.c: (gl_view_object_set_object),
1842 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1843 * src/view-object.h:
1844 * src/view.c: (draw_highlight_layer), (select_object_real),
1845 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1846 (button_press_event_cb), (button_release_event_cb),
1847 (key_press_event_cb):
1849 Added beginnings of object resize handles.
1851 2007-03-07 Jim Evins <evins@snaught.com>
1854 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1855 (gl_view_object_create_mode), (motion_notify_event_cb),
1856 (button_press_event_cb), (button_release_event_cb),
1857 (key_press_event_cb):
1858 Added move selection support.
1860 2007-03-05 Jim Evins <evins@snaught.com>
1862 * src/cairo-object-path.c: (gl_cairo_object_path):
1863 * src/view-object.c: (gl_view_object_draw),
1864 (gl_view_object_draw_highlight):
1865 * src/view.c: (view_object_at), (motion_notify_event_cb),
1866 (button_press_event_cb), (button_release_event_cb):
1867 Additional refinements to select logic.
1869 2007-03-05 Jim Evins <evins@snaught.com>
1872 * src/view.c: (gl_view_init), (gl_view_construct),
1873 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1874 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1875 (button_press_event_cb), (button_release_event_cb):
1876 Added initial select region support and context menu.
1878 2007-03-04 Jim Evins <evins@snaught.com>
1889 * src/ui-commands.c:
1892 * src/view-object.c:
1893 * src/view-object.h:
1896 * src/wdgt-print-copies.c:
1897 * src/wdgt-print-merge.c:
1899 Initial port to a raw Cairo canvas. This removes all remaining
1900 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1901 the view is becoming a canvas widget in its own right. Still needs
1903 * src/cairo-label-path.c:
1904 * src/cairo-label-path.h:
1905 * src/cairo-markup-path.c:
1906 * src/cairo-markup-path.h:
1907 * src/cairo-object-path.c:
1908 * src/cairo-object-path.h:
1909 New files to support cairo canvas.
1910 * src/canvas-hacktext.c:
1911 * src/canvas-hacktext.h:
1914 2007-02-18 Jim Evins <evins@snaught.com>
1917 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1919 2007-02-14 Jim Evins <evins@snaught.com>
1923 * src/bc-gnubarcode.c:
1924 * src/bc-gnubarcode.h:
1929 * src/canvas-hacktext.c:
1930 * src/canvas-hacktext.h:
1937 * src/label-barcode.c:
1938 * src/label-barcode.h:
1941 * src/label-ellipse.c:
1942 * src/label-ellipse.h:
1943 * src/label-image.c:
1944 * src/label-image.h:
1947 * src/label-object.c:
1948 * src/label-object.h:
1953 * src/merge-evolution.c:
1954 * src/merge-evolution.h:
1957 * src/merge-properties-dialog.c:
1958 * src/merge-properties-dialog.h:
1961 * src/merge-vcard.c:
1962 * src/merge-vcard.h:
1965 * src/mini-preview-pixbuf.h:
1966 * src/new-label-dialog.c:
1967 * src/new-label-dialog.h:
1968 * src/object-editor-bc-page.c:
1969 * src/object-editor-data-page.c:
1970 * src/object-editor-edit-page.c:
1971 * src/object-editor-fill-page.c:
1972 * src/object-editor-image-page.c:
1973 * src/object-editor-line-page.c:
1974 * src/object-editor-lsize-page.c:
1975 * src/object-editor-position-page.c:
1976 * src/object-editor-private.h:
1977 * src/object-editor-size-page.c:
1978 * src/object-editor-text-page.c:
1979 * src/object-editor.c:
1980 * src/object-editor.h:
1981 * src/pixbuf-cache.c:
1982 * src/pixbuf-cache.h:
1983 * src/prefs-dialog.c:
1984 * src/prefs-dialog.h:
1985 * src/prefs-model.c:
1986 * src/prefs-model.h:
1992 * src/template-designer.c:
1995 * src/ui-commands.c:
1996 * src/ui-commands.h:
1997 * src/ui-property-bar.c:
1998 * src/ui-property-bar.h:
2007 * src/view-barcode.c:
2008 * src/view-barcode.h:
2011 * src/view-ellipse.c:
2012 * src/view-ellipse.h:
2013 * src/view-highlight.c:
2014 * src/view-highlight.h:
2019 * src/view-object.c:
2020 * src/view-object.h:
2025 * src/wdgt-chain-button.c:
2026 * src/wdgt-chain-button.h:
2027 * src/wdgt-media-select.c:
2028 * src/wdgt-mini-preview.c:
2029 * src/wdgt-print-copies.c:
2030 * src/wdgt-print-copies.h:
2031 * src/wdgt-print-merge.c:
2032 * src/wdgt-print-merge.h:
2033 * src/wdgt-rotate-label.c:
2035 * src/xml-label-04.c:
2036 * src/xml-label-04.h:
2037 * src/xml-label-191.c:
2038 * src/xml-label-191.h:
2042 Assorted superficial cleanup. Including:
2043 - Use G_DEFINE_TYPE for all objects.
2044 - Reconcile style of all class initializer functions
2045 - Reconcile style of all finalize functions
2046 - Add emacs mode line to all source files
2048 2007-02-06 Jim Evins <evins@snaught.com>
2050 Assorted cleanup and removal of deprecated items.
2055 Removed annoying splash screen.
2056 * src/glabels-batch.c: (main):
2057 * src/glabels.c: (main):
2058 Converted from popt to GOption.
2059 * src/object-editor-shadow-page.c:
2060 (gl_object_editor_set_shadow_state):
2061 Removed deprecated method on GtkToggleButton.
2062 * src/ui-commands.c: (gl_ui_cmd_help_about):
2063 Removed dependency on libgnomui/qnome-url.h.
2064 * src/template-designer.c:
2065 Removed dependency on libgnome/gnome-program.h.
2068 2007-02-04 Jim Evins <evins@snaught.com>
2072 * src/prefs-model.c:
2073 * src/print.c: (draw_text_object):
2074 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
2075 Removed GnomeCanvas artifacts from color.[ch] and related modules.
2077 2007-02-04 Jim Evins <evins@snaught.com>
2079 * src/wdgt-mini-preview.c:
2080 * src/wdgt-mini-preview.h:
2081 Ported widget from GnomeCanvas to Cairo.
2083 2007-02-03 Jim Evins <evins@snaught.com>
2085 * data/glade/template-designer.glade:
2086 * src/template-designer.c:
2087 * src/template-designer.h:
2088 Ported GnomeDruid to GtkAssistant. Since libglade does not
2089 yet support the GtkAssistant and we derive directly from
2090 the Assistant, the pages are layed out in a GtkNotebook in
2091 the glade description -- we then append each page to the
2094 2007-01-25 Jim Evins <evins@snaught.com>
2096 * data/glade/object-editor.glade:
2097 Added dummy page to notebook, to prevent shadow page from
2098 becoming the default current page at creation.
2099 * src/view-box.c: (construct_properties_editor):
2100 * src/view-ellipse.c: (construct_properties_editor):
2101 * src/view-line.c: (construct_properties_editor):
2102 * src/view-text.c: (construct_properties_editor):
2103 Reconciled order of params.
2105 2007-01-19 Jim Evins <evins@snaught.com>
2107 * src/label-barcode.h:
2108 * src/label-object.c: (gl_label_object_set_font_weight),
2109 (gl_label_object_set_text_alignment),
2110 (gl_label_object_get_font_weight),
2111 (gl_label_object_get_text_alignment):
2112 * src/label-object.h:
2113 * src/label-text.c: (gl_label_text_instance_init), (copy),
2114 (get_size), (set_font_family), (set_font_weight),
2115 (set_text_alignment), (get_font_weight), (get_text_alignment):
2117 * src/object-editor-text-page.c:
2118 (gl_object_editor_prepare_text_page),
2119 (gl_object_editor_set_font_family),
2120 (gl_object_editor_set_font_weight),
2121 (gl_object_editor_get_font_weight),
2122 (gl_object_editor_set_text_alignment),
2123 (gl_object_editor_get_text_alignment),
2124 (gl_object_editor_set_text_color):
2125 * src/object-editor.h:
2126 * src/prefs-dialog.c: (construct_object_page),
2127 (update_object_page_from_prefs), (update_prefs_from_object_page):
2128 * src/prefs-model.c: (gl_prefs_model_save_settings),
2129 (gl_prefs_model_load_settings):
2130 * src/prefs-model.h:
2131 * src/print.c: (draw_text_object):
2132 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2133 (reset_to_default_properties), (update_text_properties),
2134 (font_bold_toggled_cb), (text_align_toggled_cb):
2136 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
2137 (gl_util_weight_to_string), (gl_util_string_to_weight),
2138 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
2140 * src/view-text.c: (update_object_from_editor_cb),
2141 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
2142 * src/view.c: (gl_view_set_selection_text_alignment),
2143 (gl_view_set_default_text_alignment),
2144 (gl_view_get_default_text_alignment):
2146 * src/xml-label-04.c: (xml04_parse_text_props):
2147 * src/xml-label-191.c: (xml191_parse_text_props):
2148 * src/xml-label.c: (xml_parse_object_text),
2149 (xml_parse_toplevel_span), (xml_create_object_text),
2150 (xml_create_toplevel_span):
2151 Converted all model internals to Pango. GnomeFont remains in
2152 view until GnomeCanvas can be replaced with a cairo-based canvas.
2154 2007-01-17 Jim Evins <evins@snaught.com>
2160 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
2161 (gl_wdgt_print_copies_construct):
2162 * src/wdgt-print-copies.h:
2163 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
2164 (gl_wdgt_print_merge_construct):
2165 * src/wdgt-print-merge.h:
2166 Removed all remaining HIG wrapper widgets.
2168 2007-01-16 Jim Evins <evins@snaught.com>
2171 * src/print-dialog.c:
2172 * src/print-dialog.h:
2175 * src/template-designer.c: (print_test_cb):
2176 * src/ui-commands.c: (gl_ui_cmd_file_print):
2178 Renamed PrintDialog to PrintOp. Added constructor for batch
2180 * src/glabels-batch.c: (main):
2181 Converted to use new PrintOp object for printing.
2183 2007-01-15 Jim Evins <evins@snaught.com>
2185 * data/glade/Makefile.am:
2186 * data/glade/print-custom-widget.glade:
2187 * src/print-dialog.c:
2188 * src/print-dialog.h:
2191 * src/template-designer.c: (print_test_cb):
2192 * src/ui-commands.c: (gl_ui_cmd_file_print):
2193 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2194 * src/wdgt-print-merge.h:
2195 * src/window.c: (gl_window_init):
2197 Initial conversion to GtkPrintOperation.
2199 - Remove font and other libgnomeprint[ui] from elsewhere
2200 - Add batch initialization of print operation
2202 2007-01-08 Jim Evins <evins@snaught.com>
2204 Updated dependencies. Set version to 2.1.pre4cvs.
2206 2007-01-03 Jim Evins <evins@snaught.com>
2208 * src/recent-files/*
2209 Removed EggRecent stuff.
2215 * src/ui-commands.c:
2216 * src/ui-commands.h:
2218 Ported from EggRecent to GtkRecentManager.
2221 2007-01-02 Jim Evins <evins@snaught.com>
2224 * iec16022-0.2.1/BUGS:
2225 * iec16022-0.2.1/CHANGELOG:
2226 * iec16022-0.2.1/CREDITS:
2227 * iec16022-0.2.1/INSTALL:
2228 * iec16022-0.2.1/LICENSE:
2229 * iec16022-0.2.1/Makefile.am:
2230 * iec16022-0.2.1/Makefile.dist:
2231 * iec16022-0.2.1/README:
2232 * iec16022-0.2.1/README.glabels:
2233 * iec16022-0.2.1/TODO:
2234 * iec16022-0.2.1/iec16022.1:
2235 * iec16022-0.2.1/iec16022.c:
2236 * iec16022-0.2.1/iec16022ecc200.c:
2237 * iec16022-0.2.1/iec16022ecc200.h:
2238 * iec16022-0.2.1/image.c:
2239 * iec16022-0.2.1/image.h:
2240 * iec16022-0.2.1/reedsol.c:
2241 * iec16022-0.2.1/reedsol.h:
2242 * iec16022-0.2.1/test/testsuite-example.bin:
2243 * iec16022-0.2.1/test/testsuite-example.eps:
2244 * iec16022-0.2.1/test/testsuite-example.hex:
2245 * iec16022-0.2.1/test/testsuite-example.png:
2246 * iec16022-0.2.1/test/testsuite-example.text:
2247 * iec16022-0.2.1/test/testsuite.sh:
2248 Include modified copy of iec16022-0.2.1 to provide encoding
2249 support for datamatrix 2D barcodes.
2251 * src/bc-iec16022.c:
2252 * src/bc-iec16022.h:
2254 Added initial datamatrix 2D barcode backend to barcode code.
2257 Automatic updates to later versions of these files.
2259 2006-11-28 Jim Evins <evins@snaught.com>
2261 * data/templates/avery-iso-templates.xml:
2262 * data/templates/avery-us-templates.xml:
2263 * data/templates/categories.xml:
2264 * data/templates/misc-iso-templates.xml:
2265 * data/templates/misc-us-templates.xml:
2266 * data/templates/zweckform-iso-templates.xml:
2267 More categorization.
2269 2006-09-12 Jim Evins <evins@snaught.com>
2271 * data/dtd/glabels-2.0.dtd:
2272 * data/templates/Makefile.am:
2273 * data/templates/avery-iso-templates.xml:
2274 * data/templates/avery-other-templates.xml:
2275 * data/templates/avery-us-templates.xml:
2276 * data/templates/categories.xml:
2277 * data/templates/misc-iso-templates.xml:
2278 * data/templates/misc-other-templates.xml:
2279 * data/templates/zweckform-iso-templates.xml:
2280 * data/glade/Makefile.am:
2281 * data/glade/new-label-dialog.glade:
2282 * data/glade/wdgt-media-select.glade:
2283 * data/glade/wdgt-rotate-label.glade:
2284 * libglabels/Makefile.am:
2285 * libglabels/category.c:
2286 * libglabels/category.h:
2287 * libglabels/libglabels.h:
2288 * libglabels/paper.c:
2289 * libglabels/template.c:
2290 * libglabels/template.h:
2291 * libglabels/xml-category.c:
2292 * libglabels/xml-category.h:
2293 * libglabels/xml-template.c:
2294 Added support for category meta data.
2297 * src/mini-preview-pixbuf.c:
2298 * src/mini-preview-pixbuf.h:
2299 * src/new-label-dialog.c:
2300 * src/new-label-dialog.h:
2301 * src/wdgt-media-select.c:
2302 * src/wdgt-media-select.h:
2303 * src/wdgt-rotate-label.c:
2304 * src/wdgt-rotate-label.h:
2305 New "new label" dialog.
2307 2006-05-27 Jim Evins <evins@snaught.com>
2312 Preparation for 2.1.3.
2318 2006-05-22 Jim Evins <evins@snaught.com>
2320 * src/print.c: (draw_barcode_object):
2321 Don't print "Invalid barcode data" if data field is empty. Patch provided
2322 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2324 Added acknowledgment for above patch.
2325 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2326 * src/bc-postnet.c: (postnet_code):
2327 Removed "Invalid barcode data" warnings from stderr.
2328 * src/view-barcode.c: (draw_barcode):
2329 Draw box around barcode extent if data empty or invalid. Center a
2330 message whether the data is empty or invalid in box.
2332 2006-05-22 Jim Evins <evins@snaught.com>
2334 * src/print.c: (draw_text_object):
2335 Check shadow state when printing text.
2337 2006-05-20 Jim Evins <evins@snaught.com>
2339 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2340 (gl_ui_cmd_view_markup_toggle):
2341 Fixed crash when grid or markup have been toggled off during
2342 a previous session. Bug #1434324.
2344 2006-04-05 Jim Evins <evins@snaught.com>
2346 * src/object-editor.c: (gl_object_editor_set_key_names):
2347 Fixed potential crash when freeing empty key list.
2349 2006-03-11 Jim Evins <evins@snaught.com>
2351 * src/print.c: (draw_text_object):
2352 * src/view-text.c: (gl_view_text_new),
2353 (construct_properties_editor), (update_object_from_editor_cb),
2354 (update_editor_from_object_cb), (update_editor_from_label_cb),
2356 Added shadow support to text object.
2358 2006-02-18 Jim Evins <evins@snaught.com>
2360 * src/print.c: (draw_line_object):
2361 * src/view-line.c: (gl_view_line_new),
2362 (construct_properties_editor), (update_canvas_item_from_object_cb),
2363 (update_object_from_editor_cb), (update_editor_from_object_cb),
2364 (update_editor_from_label_cb):
2365 Added shadow support to line object.
2367 2006-02-16 Jim Evins <evins@snaught.com>
2371 * src/print.c: (draw_ellipse_object):
2372 * src/view-ellipse.c: (gl_view_ellipse_new),
2373 (construct_properties_editor), (update_canvas_item_from_object_cb),
2374 (update_object_from_editor_cb), (update_editor_from_object_cb),
2375 (update_editor_from_label_cb):
2376 Added shadow support to ellipse object.
2378 2006-02-15 Jim Evins <evins@snaught.com>
2380 * src/label-object.c:
2381 Changed default shadow offsets.
2382 * src/view-box.c: (gl_view_box_new):
2383 Simplified gl_view_box_new() so that is does not duplicate code
2384 in update_canvas_item_from_object_cb().
2386 2006-02-07 Jim Evins <evins@snaught.com>
2388 * data/glade/object-editor.glade:
2389 Fixed color groups of color combos.
2391 Added default shadow color.
2392 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2393 Added shadow color group.
2395 2006-02-06 Jim Evins <evins@snaught.com>
2397 * src/object-editor-shadow-page.c:
2398 Forgot to add this file.
2399 * src/view-box.c: (gl_view_box_new),
2400 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2401 Update limits on shadow offset spinbuttons.
2403 2006-01-19 Jim Evins <evins@snaught.com>
2405 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2406 Initialize key_list to NULL.
2407 * data/glade/object-editor.glade:
2411 * src/label-object.c:
2412 * src/label-object.h:
2413 * src/object-editor-fill-page.c:
2414 * src/object-editor-private.h:
2415 * src/object-editor.c:
2416 * src/object-editor.h:
2418 Created infrastructure for shadow support.
2421 Initial shadow support in box object only.
2423 2006-01-05 Jim Evins <evins@snaught.com>
2425 * src/merge-properties-dialog.c: (src_changed_cb):
2426 Be extra paranoid before calling strcmp().
2427 * src/merge.c: (gl_merge_set_src):
2428 Don't make (merge == NULL) a critical error.
2430 2005-12-22 Jim Evins <evins@snaught.com>
2432 * src/glabels-batch.c: (main):
2433 Compile warning free with gcc 4.0.
2435 2005-12-21 Jim Evins <evins@snaught.com>
2438 Updated example RPM spec file.
2440 2005-12-21 Jim Evins <evins@snaught.com>
2444 Preparation for 2.1.2.
2446 2005-12-20 Jim Evins <evins@snaught.com>
2449 Define unique G_LOG_DOMAIN for glabels.
2450 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2451 * src/warning-handler.c: (gl_warning_handler_init),
2453 Register for G_LOG_DOMAIN instead of NULL.
2455 2005-12-10 Jim Evins <evins@snaught.com>
2457 * src/merge-evolution.c:
2458 * src/merge-vcard.c:
2461 2005-12-08 Jim Evins <evins@snaught.com>
2463 * libglabels/paper.c: (read_paper_files_from_dir):
2464 * libglabels/template.c: (gl_template_register),
2465 (read_template_files_from_dir):
2466 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2467 (gl_xml_paper_parse_papers_doc):
2468 * libglabels/xml-template.c:
2469 (gl_xml_template_read_templates_from_file),
2470 (gl_xml_template_parse_templates_doc),
2471 (gl_xml_template_parse_template_node),
2472 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2473 (xml_parse_label_cd_node), (xml_parse_layout_node),
2474 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2475 (xml_parse_markup_circle_node),
2476 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2477 * libglabels/xml.c: (gl_xml_get_prop_length):
2478 Re-classified g_warnings to g_messages.
2480 * src/glabels.c: (main):
2481 * src/warning-handler.c: (gl_warning_handler_init),
2483 * src/warning-handler.h:
2484 Added warning message handler to make sure the user is
2485 presented with appropriate non-fatal errors.
2486 * src/critical-error-handler.c: (critical_error_handler):
2487 Changed exit to abort.
2488 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2489 * src/bc-postnet.c: (postnet_code):
2490 * src/bc.c: (id_to_index), (name_to_index):
2491 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2492 * src/object-editor.c: (gl_object_notebook_construct_valist):
2493 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2494 * src/prefs.c: (gl_prefs_get_units_per_point),
2495 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2496 (gl_prefs_get_units_string):
2497 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2498 * src/splash.c: (gl_splash):
2499 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2500 * src/view-highlight.c: (gl_view_highlight_new),
2501 (highlight_resizable_box_construct), (object_changed_cb),
2502 (view_scale_changed_cb):
2503 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2504 (draw_markup_layer), (draw_markup_margin),
2505 (gl_view_object_create_mode), (canvas_event),
2506 (selection_received_cb):
2507 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2508 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2509 * src/xml-label-04.c: (gl_xml_label_04_parse),
2510 (xml04_parse_media_description), (xml04_parse_text_props),
2511 (xml04_parse_barcode_props):
2512 * src/xml-label-191.c: (gl_xml_label_191_parse),
2513 (xml191_parse_objects), (xml191_parse_object),
2514 (xml191_parse_text_props), (xml191_parse_image_props),
2515 (xml191_parse_barcode_props), (xml191_parse_data),
2516 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2517 (xml191_parse_markup):
2518 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2519 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2520 (xml_parse_object_text), (xml_parse_object_image),
2521 (xml_parse_object_barcode), (xml_parse_data),
2522 (xml_parse_toplevel_span), (gl_xml_label_save),
2523 (xml_create_objects):
2524 Re-classified g_warnings to g_messages.
2525 * src/merge-evolution.c: (gl_merge_evolution_open),
2526 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2527 Use g_warning to output errors encountered while
2528 communicating with the evolution data server
2529 instead of embedding them in the data.
2531 2005-12-08 Jim Evins <evins@snaught.com>
2533 * libglabels/libglabels-private.h:
2535 * libglabels/paper.c: (read_papers):
2536 * libglabels/template.c: (read_templates):
2537 Made appropriate warnings critical.
2539 * src/critical-error-handler.h:
2540 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2541 (critical_error_handler):
2542 Created critical error handler.
2543 * src/glabels.c: (main):
2544 Register critical error handler.
2545 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2546 * src/object-editor.c: (gl_object_editor_init):
2547 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2548 * src/template-designer.c: (gl_template_designer_init):
2549 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2550 Made appropriate warnings critical.
2552 2005-11-27 Jim Evins <evins@snaught.com>
2554 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2555 (gl_merge_evolution_get_primary_key),
2556 (gl_merge_evolution_get_record):
2557 Don't create "record_key" pseudo-key. Don't populate
2558 fields with null data.
2560 2005-11-25 Jim Evins <evins@snaught.com>
2562 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2563 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2564 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2566 Query EDS for all supported fields. Patch provided by
2567 Austin Henry <ahenry@users.sourceforge.net>.
2569 2005-10-29 Jim Evins <evins@snaught.com>
2571 * src/glabels.c: (main):
2572 * src/label-barcode.c: (gl_label_barcode_finalize):
2573 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2574 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2575 * src/object-editor.c: (gl_object_editor_finalize):
2576 Another pass at valgrinding -- plugged several memory leaks.
2577 * src/view-text.c: (gl_view_text_new),
2578 (update_canvas_item_from_object_cb), (draw_hacktext):
2579 Commented out artifacts of edit-in-place code.
2581 2005-10-28 Jim Evins <evins@snaught.com>
2583 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2584 Fixed use of uninitialized variable. Caught by
2585 d binderman <dcb314@hotmail.com>.
2587 2005-10-27 Jim Evins <evins@snaught.com>
2589 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2590 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2592 Additional cleanup of EDS and vcard backends. Provided by
2593 Austin Henry <ahenry@users.sourceforge.net>.
2595 2005-10-24 Jim Evins <evins@snaught.com>
2599 * src/merge-evolution.c:
2600 * src/merge-evolution.h:
2601 * src/merge-init.c: (gl_merge_init):
2602 * src/merge-properties-dialog.c: (type_changed_cb):
2603 * src/merge-vcard.c:
2604 * src/merge-vcard.h:
2605 * src/ui-commands.c: (gl_ui_cmd_help_about):
2606 Added Evolution Data Server and VCard merge backends. Original patch
2607 provided by Austin Henry <ahenry@users.sourceforge.net>.
2609 Only support EDS and VCard backends if libebook is installed. Allow
2610 user to disable support, even if installed.
2612 2005-10-24 Jim Evins <evins@snaught.com>
2615 * data/templates/avery-iso-templates.xml:
2616 * data/templates/avery-us-templates.xml:
2617 * data/templates/misc-iso-templates.xml:
2618 * data/templates/zweckform-iso-templates.xml:
2619 Collected all template changes and submissions since last
2622 2005-10-23 Jim Evins <evins@snaught.com>
2625 * data/mime/Makefile.am:
2626 Added configure options to disable update-mime-database and
2627 update-desktop-database as part of the install. Patch
2628 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2630 2005-10-23 Jim Evins <evins@snaught.com>
2633 * libglabels/xml.c: (gl_xml_get_prop_string),
2634 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2635 (gl_xml_is_node), (gl_xml_get_node_content):
2636 Added new XML utility functions.
2637 * libglabels/xml-paper.c:
2638 * libglabels/xml-template.c:
2640 Cleanup by using new xml utilities created above.
2641 * libglabels/paper.c: (gl_paper_free):
2642 * src/file.c: (new_response):
2643 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2644 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2645 (gl_pixbuf_cache_get_pixbuf):
2646 * src/ui-property-bar.c:
2647 (gl_ui_property_bar_construct_color_combo):
2648 * src/view-highlight.c: (gl_view_highlight_finalize):
2649 * src/view-image.c: (update_object_from_editor_cb):
2650 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2651 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2652 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2653 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2654 (draw_markup_margin_round), (draw_markup_margin_cd),
2655 (draw_markup_margin_cd_bc):
2656 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2657 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2658 Plugged various memory leaks located with valgrind.
2659 * src/view-image.c: (update_canvas_item_from_object_cb):
2660 Don't allow a width or height of zero when drawing pixbuf.
2662 2005-10-22 Jim Evins <evins@snaught.com>
2664 * libglabels/xml-paper.c:
2665 * libglabels/xml-template.c:
2668 * src/bc-gnubarcode.c:
2669 * src/canvas-hacktext.c:
2671 * src/object-editor-data-page.c:
2672 * src/print-dialog.c:
2675 * src/template-designer.c:
2677 * src/ui-property-bar.c:
2679 * src/view-barcode.c:
2681 * src/view-ellipse.c:
2686 * src/wdgt-media-select.c:
2687 * src/xml-label-04.c:
2688 * src/xml-label-191.c:
2690 Modified to compile warning free with gcc-4.0. Mostly
2691 casting to change signedness of characters. Did not
2692 attack gnu-barcode library yet.
2694 2005-10-22 Jim Evins <evins@snaught.com>
2696 * src/glabels.c: (main):
2697 * src/splash.c: (gl_splash):
2698 Removed some small memory leaks.
2702 2005-09-19 Jim Evins <evins@snaught.com>
2704 * data/glade/property-bar.glade:
2705 Remove items from font_family_combo. This prevents the
2706 double entry after adding text model and list of fonts.
2707 * src/ui-property-bar.c: (reset_to_default_properties):
2708 Free font_family_list.
2710 2005-07-01 Jim Evins <evins@snaught.com>
2713 Updated italian translation (Daniele Medri)
2715 2005-06-26 Jim Evins <evins@snaught.com>
2717 * docs/libglabels/libglabels-decl-list.txt:
2718 Somehow never got checked in before.
2719 * docs/libglabels/libglabels.types:
2720 Removed -- don't need it afterall.
2722 2005-06-20 Jim Evins <evins@snaught.com>
2725 Final prep for 2.1.1 release.
2727 2005-06-20 Jim Evins <evins@snaught.com>
2730 Final preps for 2.1.1 release.
2731 * docs/libglabels/libglabels.types:
2732 Somehow never got checked in before.
2734 Bring up-to-date with recent reorg of ui code.
2737 2005-06-19 Jim Evins <evins@snaught.com>
2739 * src/template-designer.c: (construct_layout_page):
2740 Removed attempt to match background color of mini preview widget to
2743 2005-06-17 Jim Evins <evins@snaught.com>
2745 * help/C/figures/merge-ex2-4.png:
2746 * help/C/glabels.xml:
2747 Fixed spelling error.
2749 2005-06-13 Jim Evins <evins@snaught.com>
2751 * help/C/figures/merge-ex1-1.png:
2752 * help/C/figures/merge-ex1-2.png:
2753 * help/C/figures/merge-ex1-3.png:
2754 * help/C/figures/merge-ex1-4.png:
2755 * help/C/figures/merge-ex2-1.png:
2756 * help/C/figures/merge-ex2-2.png:
2757 * help/C/figures/merge-ex2-3.png:
2758 * help/C/figures/merge-ex2-4.png:
2759 Added figures for document merge tutorial.
2760 * help/C/glabels.xml:
2761 Added document merge tutorial.
2763 2005-05-19 Jim Evins <evins@snaught.com>
2765 * data/glade/merge-properties-dialog.glade:
2766 Fixed irregular spacing.
2767 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2768 (gl_merge_properties_dialog_construct):
2769 Set outer padding and remove separator.
2771 2005-05-18 Jim Evins <evins@snaught.com>
2775 Removed glHigDialog class.
2776 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2777 (gl_file_properties), (create_properties_dialog_widgets):
2778 * src/prefs-dialog.h:
2779 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2780 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2781 * src/print-dialog.h:
2782 * src/prefs-dialog.h:
2783 * src/print-dialog.c: (gl_print_dialog_get_type),
2784 (gl_print_dialog_init), (gl_print_dialog_construct):
2785 Replaced all instances of glHigDialog with GtkDialog.
2787 2005-05-17 Jim Evins <evins@snaught.com>
2791 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2792 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2793 (save_as_response), (gl_file_close):
2794 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2796 2005-05-15 Jim Evins <evins@snaught.com>
2798 * src/ui-commands.h:
2806 A little code reformatting -- no functional changes.
2808 2005-05-14 Jim Evins <evins@snaught.com>
2811 Removed obsolete macros.
2813 Added marshalling template to support new view signal: "context_menu_activate."
2815 * src/view.c: (gl_view_class_init), (gl_view_construct),
2816 (canvas_event_arrow_mode):
2817 - Removed hardcoded context menus and added new signal "context_menu_activate"
2818 to push this up to the uimanager.
2819 - Removed merge properties and print dialogs so that they can be managed with
2820 the window by the uimanager.
2821 * src/merge-properties-dialog.h:
2822 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2823 (gl_merge_properties_dialog_construct):
2824 Changed calling convention of gl_merge_properties_dialog_new() to use
2825 glLabel and GtkWindow instead of view to make more consistent with other
2827 * src/print-dialog.h:
2828 * src/print-dialog.c: (gl_print_dialog_new),
2829 (gl_print_dialog_construct):
2830 Removed last artifact of libbonoboui.
2831 * src/ui-commands.c: (gl_ui_cmd_file_print),
2832 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2833 Reconciled style for launching dialogs.
2834 * src/ui.c: (gl_ui_new):
2835 Added context menus to ui manager.
2836 * src/view-object.c: (item_event_arrow_mode):
2837 No longer try to select objects with right-click.
2839 * src/window.c: (gl_window_init), (gl_window_set_label),
2840 (context_menu_activate_cb):
2841 Context menus and all dialogs are now managed in a consistent way in window
2844 2005-05-11 Jim Evins <evins@snaught.com>
2847 * src/window.c: (gl_window_init), (gl_window_destroy):
2848 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2849 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2850 Moved management of recent_view back from window.c to ui.c -- it just feels
2853 2005-05-10 Jim Evins <evins@snaught.com>
2856 * src/window.c: (gl_window_init):
2858 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2859 (menu_item_select_cb), (menu_item_deselect_cb):
2860 Added GtkStatusbar which displays menu tooltips.
2862 2005-05-09 Jim Evins <evins@snaught.com>
2864 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2869 Removed dependencies on libbonoboui.
2871 * data/ui/Makefile.am:
2872 * data/ui/glabels-ui.xml:
2873 Removed data/ui directory.
2874 * data/glade/Makefile.am:
2875 * data/property-bar.glade:
2876 Added glade description of property-bar for new libglade implementation
2883 * src/ui-commands.h:
2884 * src/ui-commands.c:
2885 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2886 since the distinction between "commands" and "tools" is no longer that clear.
2889 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2890 no longer has knowledge of eggRecent*.
2891 * src/glabels.c: (main):
2892 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2894 * src/object-editor.c: (gl_object_editor_init):
2895 Make sure notebook does not respond to a "show_all" on the parent.
2896 * src/recent-files/Makefile.am:
2897 * src/recent-files/*.[ch]
2898 Updated from latest version of libegg which now has a view based on
2899 GtkUIManager. Removed unused bonobo and gtk views.
2900 * src/ui-property-bar.h:
2901 * src/ui-property-bar.c:
2902 New implementation based on libglade.
2905 Sidebar is now simply a GtkWidget and does not expect to be a part of
2906 a libbonoboui interface.
2911 Converted for use with GtkUIManager.
2914 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2915 to create menus and toolbars.
2917 2005-04-25 Jim Evins <evins@snaught.com>
2919 * data/templates/misc-iso-templates.xml:
2920 Added Fellows 04715 template provided by Steve Saxon.
2922 Updated acknowledgement for above.
2924 2005-04-23 Jim Evins <evins@snaught.com>
2926 * src/util.c: (gl_util_combo_box_set_strings):
2927 Make sure to clear model before loading a new list of strings.
2928 * src/wdgt-media-select.h:
2929 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2930 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2931 (template_combo_changed_cb), (prefs_changed_cb),
2932 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2933 (gl_wdgt_media_select_get_page_size),
2934 (gl_wdgt_media_select_set_page_size):
2935 Replaced the deprecated GtkCombo widget with the new
2938 2005-04-21 Jim Evins <evins@snaught.com>
2940 * data/glade/template-designer.glade:
2941 * src/template-designer.c: (construct_pg_size_page),
2942 (pg_size_page_changed_cb), (build_template):
2943 Replaced the deprecated GtkCombo widget with the new
2946 2005-04-20 Jim Evins <evins@snaught.com>
2948 * data/glade/prefs-dialog.glade:
2949 * src/prefs-dialog.c: (construct_object_page),
2950 (update_object_page_from_prefs), (update_prefs_from_object_page):
2951 Replaced the deprecated GtkCombo widget with the new
2954 2005-04-19 Jim Evins <evins@snaught.com>
2956 * data/glade/object-editor.glade:
2957 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2958 (style_changed_cb), (gl_object_editor_set_bc_style),
2959 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2960 (gl_object_editor_get_bc_color):
2961 * src/object-editor-data-page.c:
2962 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2963 (gl_object_editor_get_data):
2964 * src/object-editor-edit-page.c:
2965 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2966 * src/object-editor-fill-page.c:
2967 (gl_object_editor_prepare_fill_page),
2968 (gl_object_editor_set_fill_color),
2969 (gl_object_editor_get_fill_color):
2970 * src/object-editor-image-page.c:
2971 (gl_object_editor_prepare_image_page),
2972 (gl_object_editor_set_image), (gl_object_editor_get_image):
2973 * src/object-editor-line-page.c:
2974 (gl_object_editor_prepare_line_page),
2975 (gl_object_editor_set_line_color),
2976 (gl_object_editor_get_line_color):
2977 * src/object-editor-private.h:
2978 * src/object-editor-text-page.c:
2979 (gl_object_editor_prepare_text_page),
2980 (gl_object_editor_set_font_family),
2981 (gl_object_editor_get_font_family),
2982 (gl_object_editor_set_text_color),
2983 (gl_object_editor_get_text_color):
2984 * src/object-editor.c: (gl_object_editor_set_key_names):
2986 In the object editor: replaced all instances of the deprecated
2987 GtkCombo widget with the new GtkComboBox.
2989 2005-04-18 Jim Evins <evins@snaught.com>
2992 Neglected to save this one in previous checkin to support
2995 2005-04-17 Jim Evins <evins@snaught.com>
2997 * libglabels/libglabels-private.h:
2998 * libglabels/paper.c:
2999 * libglabels/paper.h:
3000 * libglabels/template.c:
3001 * libglabels/template.h:
3002 * libglabels/xml-paper.c:
3003 * libglabels/xml-paper.h:
3004 * libglabels/xml-template.c:
3009 * src/bc-gnubarcode.c:
3020 * src/label-barcode.c:
3022 * src/label-ellipse.c:
3023 * src/label-image.c:
3024 * src/label-image.h:
3026 * src/label-object.c:
3030 * src/merge-properties-dialog.c:
3031 * src/object-editor-bc-page.c:
3032 * src/object-editor-data-page.c:
3033 * src/object-editor-edit-page.c:
3034 * src/object-editor-fill-page.c:
3035 * src/object-editor-image-page.c:
3036 * src/object-editor-line-page.c:
3037 * src/object-editor-lsize-page.c:
3038 * src/object-editor-position-page.c:
3039 * src/object-editor-private.h:
3040 * src/object-editor-size-page.c:
3041 * src/object-editor-text-page.c:
3042 * src/object-editor.c:
3043 * src/object-editor.h:
3044 * src/pixbuf-cache.h:
3045 * src/prefs-dialog.c:
3046 * src/prefs-dialog.h:
3047 * src/prefs-model.c:
3048 * src/prefs-model.h:
3050 * src/print-dialog.c:
3051 * src/print-dialog.h:
3059 * src/template-designer.c:
3060 * src/template-designer.h:
3063 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
3069 * src/view-barcode.c:
3071 * src/view-ellipse.c:
3072 * src/view-highlight.c:
3073 * src/view-highlight.h:
3076 * src/view-object.c:
3077 * src/view-object.h:
3081 * src/wdgt-chain-button.c:
3082 * src/wdgt-media-select.c:
3083 * src/wdgt-media-select.h:
3084 * src/wdgt-mini-preview.c:
3085 * src/wdgt-mini-preview.h:
3086 * src/wdgt-print-copies.c:
3087 * src/wdgt-print-copies.h:
3088 * src/wdgt-print-merge.c:
3089 * src/wdgt-print-merge.h:
3090 * src/wdgt-rotate-label.c:
3091 * src/wdgt-rotate-label.h:
3094 * src/xml-label-04.c:
3095 * src/xml-label-191.c:
3097 Cleanup of header files:
3098 - all header files are now stand-alone, verified by including
3099 first in corresponding "c" files
3100 - replaced blanket includes of gnome, gtk, and glib with
3103 2005-04-16 Jim Evins <evins@snaught.com>
3105 * data/glade/Makefile.am:
3106 * data/glade/merge-properties-dialog.glade:
3107 Added merge properties dialog glade description file.
3108 * src/merge-properties-dialog.h:
3109 * src/merge-properties-dialog.c:
3110 (gl_merge_properties_dialog_get_type),
3111 (gl_merge_properties_dialog_init),
3112 (gl_merge_properties_dialog_finalize),
3113 (gl_merge_properties_dialog_new),
3114 (gl_merge_properties_dialog_construct), (type_changed_cb),
3115 (src_changed_cb), (response_cb), (load_tree),
3116 (record_select_toggled_cb), (select_all_button_clicked_cb),
3117 (unselect_all_button_clicked_cb):
3118 Modified merge properties dialog to use libglade. Added
3119 "select all" and "unselect all" buttons.
3120 * src/merge-text.c: (parse_line):
3121 Handle empty lines better.
3122 * src/merge.c: (gl_merge_eval_key):
3123 Evaluate the key whether the record is selected or not.
3125 * src/util.c: (gl_util_combo_box_add_text_model):
3126 Since libglade does not use the gtk_combo_box_new_text()
3127 constructor for GtkComboBoxes, a utility function was created
3128 to add an appropriate text model to a GtkComboBox.
3129 * src/view.c: (gl_view_edit_merge_props):
3130 Removed unnecessary "show all's".
3132 2005-04-15 Jim Evins <evins@snaught.com>
3135 Updated russian translation (Vitaly Lipatov)
3136 * data/templates/misc-iso-templates.xml:
3137 Added templates for russian business cards provided by Vitaly Lipatov.
3139 Updated acknowledgements for above.
3141 2005-04-15 Jim Evins <evins@snaught.com>
3143 * data/templates/avery-us-templates.xml:
3144 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
3145 * data/templates/misc-iso-templates.xml:
3146 Added Ryman standard CD/DVD template, provided by Dan Clark.
3148 Added acknowledgements for above.
3150 2005-04-10 Jim Evins <evins@snaught.com>
3152 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3153 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
3154 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
3155 (xml_parse_label_cd_node), (xml_parse_alias_node):
3156 * libglabels/xml.c: (gl_xml_get_prop_double),
3157 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
3158 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
3159 * src/xml-label-04.c: (xml04_parse_media_description),
3160 (xml04_parse_text_props), (xml04_parse_barcode_props),
3161 (xml04_parse_merge_properties):
3162 * src/xml-label-191.c: (xml191_parse_object),
3163 (xml191_parse_text_props), (xml191_parse_barcode_props),
3164 (xml191_parse_merge_fields), (xml191_parse_pixdata),
3165 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
3166 (xml191_parse_alias):
3167 * src/xml-label.c: (xml_parse_object_text),
3168 (xml_parse_object_barcode), (xml_parse_merge_fields),
3169 (xml_parse_pixdata), (xml_parse_toplevel_span):
3170 Make sure to use xmlFree for anything obtained from libxml
3171 in case libxml and glib use different memory management
3174 2005-04-08 Jim Evins <evins@snaught.com>
3177 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
3178 (gl_util_combo_box_set_active_text):
3179 Added utility functions to simplify working with GtkComboBox
3181 * src/ui-property-bar.h:
3182 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
3183 (reset_to_default_properties), (update_text_properties),
3184 (font_family_changed_cb):
3185 Replaced deprecated GtkCombo with GtkComboBox.
3188 2005-04-03 Jim Evins <evins@snaught.com>
3191 * src/wdgt-image-select.h:
3192 * src/wdgt-image-select.c:
3193 Removed obsolete wdgt-image-select.[ch] files.
3194 * libglabels/paper.c: (gl_paper_dup):
3195 Fixed rename of parameter introduced during documentation
3197 * data/glade/object-editor.glade:
3198 * src/object-editor-image-page.c:
3199 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3200 (gl_object_editor_set_image), (gl_object_editor_get_image),
3201 (update_preview_cb), (add_image_filters_to_chooser):
3202 * src/object-editor-private.h:
3203 Replaced deprecated GnomePixmapEntry with
3204 GtkFileChooserButton.
3206 2005-04-02 Jim Evins <evins@snaught.com>
3208 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3209 (mygal_combo_box_popup_hide_unconditional),
3210 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3211 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3212 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3213 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3214 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3215 Renamed all internal gtk_combo functions to mygal_combo
3216 to prevent namespace confusion.
3218 2005-04-02 Jim Evins <evins@snaught.com>
3220 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3221 (cust_color_set), (color_palette_setup):
3222 * src/mygal/color-palette.h:
3223 Replaced deprecated GnomeColorPicker with GtkColorButton.
3225 2005-04-02 Jim Evins <evins@snaught.com>
3227 * docs/libglabels/libglabels-sections.txt:
3228 * docs/libglabels/libglabels-undocumented.txt:
3229 * docs/libglabels/tmpl/enums.sgml:
3230 * docs/libglabels/tmpl/paper.sgml:
3231 * docs/libglabels/tmpl/xml-paper.sgml:
3232 * docs/libglabels/tmpl/xml-template.sgml:
3233 * libglabels/enums.h:
3234 * libglabels/paper.c: (gl_paper_dup):
3235 * libglabels/paper.h:
3236 * libglabels/xml-paper.c:
3237 * libglabels/xml-template.c:
3238 More documentation updates for libglabels.
3240 2005-03-23 Jim Evins <evins@snaught.com>
3243 Automatically updated.
3248 * docs/libglabels/Makefile.am:
3249 * docs/libglabels/libglabels-docs.sgml:
3250 * docs/libglabels/libglabels-sections.txt:
3251 * docs/libglabels/libglabels-undocumented.txt:
3252 * docs/libglabels/tmpl/enums.sgml:
3253 * docs/libglabels/tmpl/libglabels-unused.sgml:
3254 * docs/libglabels/tmpl/libglabels.sgml:
3255 * docs/libglabels/tmpl/paper.sgml:
3256 * docs/libglabels/tmpl/template.sgml:
3257 * docs/libglabels/tmpl/xml-paper.sgml:
3258 * docs/libglabels/tmpl/xml-template.sgml:
3259 * docs/libglabels/tmpl/xml.sgml:
3260 Added basic gtk-doc stuff to support documenting libglabels
3263 Updated function comments with gtk-doc markup.
3267 2005-03-22 Jim Evins <evins@snaught.com>
3269 Since the development version now requires gtk-2.6/gnome-2.10, I
3270 have made a first pass at removing deprecations.
3273 * libglabels/Makefile.am:
3275 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3276 Also removed all remnants of HAVE_FILECHOOSER.
3277 * src/file.c: (gl_file_open_real):
3278 Removed code for old GtkFileSelection.
3279 * libglabels/libglabels-private.h:
3280 * libglabels/paper.c:
3281 * libglabels/template.c:
3282 * libglabels/xml-paper.c:
3283 * libglabels/xml-template.c:
3287 * src/glabels-batch.c:
3291 * src/merge-properties-dialog.c:
3293 * src/object-editor.c:
3294 * src/prefs-dialog.c:
3296 * src/print-dialog.c:
3299 * src/template-designer.c:
3300 * src/ui-property-bar.c:
3302 * src/view-barcode.c:
3304 * src/view-ellipse.c:
3309 * src/wdgt-image-select.c:
3310 * src/wdgt-media-select.c:
3311 * src/wdgt-print-copies.c:
3312 * src/wdgt-print-merge.c:
3313 * src/wdgt-rotate-label.c:
3315 * src/xml-label-04.c:
3316 * src/xml-label-191.c:
3318 Added '#include <glib/gi18n.h>" where needed.
3319 Removed any unused '#include <gnome.h>"s.
3321 2005-03-22 Jim Evins <evins@snaught.com>
3323 * src/commands.c: (activate_url), (gl_cmd_help_about):
3324 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3325 development version of glabels now depends on GTK 2.6 and
3328 Updated library dependencies.
3330 2005-02-28 Jim Evins <evins@snaught.com>
3333 * data/templates/misc-iso-templates.xml:
3334 Added 'Ednet 45021' template provided by Ali Akcaagac
3337 2005-02-14 Jim Evins <evins@snaught.com>
3339 * data/templates/avery-us-templates.xml:
3340 Updated templates to use inches instead of points.
3341 * src/print-dialog.c: (printer_page_new):
3342 Changed packing style when adding printer selector widget. This fixes
3345 2005-02-13 Jim Evins <evins@snaught.com>
3349 Updated spanish translations. (sergio rivadero)
3351 2005-02-05 Jim Evins <evins@snaught.com>
3353 Some cleanup to libglabels.
3356 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3357 * libglabels/libglabels.pc.in
3359 * libglabels/enums.h
3360 Created. Currently only contains glUnitsType which provides enumerations
3361 for all possible units of distance.
3362 * libglabels/Makefile.am:
3363 Incorporated new files enums.h and libglabels.pc[.in].
3364 * libglabels/libglabels.h:
3366 * libglabels/template.h:
3367 * libglabels/template.c: (gl_template_layout_new):
3368 Changed parameters nx and ny to gint from gdouble.
3370 * libglabels/xml.c: (gl_xml_get_prop_length),
3371 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3372 Added support for different output units.
3373 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3374 (update_prefs_from_locale_page):
3375 * src/prefs-model.c: (string_to_units), (units_to_string):
3376 * src/prefs-model.h:
3377 * src/prefs.c: (gl_prefs_get_units_per_point),
3378 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3379 (gl_prefs_get_units_string):
3381 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3382 Reconciled all length enumerations with the new enumerations provided
3383 in libglabels/enums.h.
3385 2005-02-03 Jim Evins <evins@snaught.com>
3388 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3390 Updated Italian translations. (Daniele Medri)
3392 Updated credits to reflect above translations.
3395 2005-01-22 Jim Evins <evins@snaught.com>
3400 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3402 Final prep for 2.1.0.
3404 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3406 Added '--remove-original' flag to desktop-file-install, so that there is
3407 only one menu entry.
3409 2005-01-20 Jim Evins <evins@snaught.com>
3411 * data/glade/object-editor.glade:
3412 - Font family entry should not be editable.
3413 - img_key_entry should have sensitivity=YES, so that it follows the
3414 sensitivity of img_key_combo.
3416 2005-01-19 Jim Evins <evins@snaught.com>
3419 Give credit to Frederic Ruaudel for the color merge patches.
3421 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3423 Add support to merge color for all other color attribute (Feature
3424 Requests item #1008635. If the data is invalid, the color used is transparent
3425 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3426 by gdk_color_parse() these include name for a color from rgb.txt, such as
3427 DarkSlateGray, or a hex specification such as #305050. File format has been
3428 changed but backward compatibility is preserved for all format. For
3429 box/ellipse/line, keep attribute "line_color" for static color or replace by
3430 "line_color_field" for merge data. For text/barcode objects, keep attribute
3431 "color" for static color or replace by "color_field" for merge data. In the
3432 edit canvas window, merged color are represented by half-transparent black
3435 * data/dtd/glabels-2.0.dtd:
3436 Added line_color_field to line_attrs. Added color_field to
3437 Object-barcode and Span.
3438 * data/glade/object-editor.glade:
3439 Modify the layout of the editor to add merge possibility to color options
3441 Fix a copy/paste error in a comment
3443 Add default color for merge color representation in the editor canvas.
3444 * src/label-barcode.c:
3445 * src/object-editor-bc-page.c:
3446 * src/view-barcode.c:
3447 Add merge color support for barcode color.
3450 Add merge color support for box border color.
3451 * src/label-ellipse.c:
3452 * src/view-ellipse.c:
3453 Add merge color support for ellipse border color.
3456 Add merge color support for line color.
3457 * src/label-object.c:
3458 * src/label-object.h:
3459 * src/object-editor.c:
3460 * src/object-editor.h:
3461 * src/ui-property-bar.c:
3464 * src/xml-label-04.c:
3465 * src/xml-label-191.c:
3466 Add support for merging to other color attribute.
3468 * src/object-editor-text-page.c:
3470 Add merge color support for text color.
3471 * src/object-editor-fill-page.c:
3472 Change a blocked handler that didn't match the good widget. Fix the type
3473 of some debug message.
3474 * src/object-editor-line-page.c:
3475 Add merging support to line color option.
3476 * src/object-editor-private.h:
3477 Add variables for new widget.
3479 Modify the draw functions to get merge data if needed.
3481 Change the default size of the window in order to see all widget in the
3482 "text style tab" of the editor.
3484 Modify the parser to record/retreive the field value for objects that need
3485 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3486 static color or replace by "line_color_field" for merge data. For
3487 text/barcode objects, keep attribute "color" for static color or replace
3488 by "color_field" for merge data.
3490 2005-01-17 Jim Evins <evins@snaught.com>
3492 * src/view.c: (screen_changed_cb):
3493 Don't do anything if we don't have a screen.
3495 2005-01-06 Jim Evins <evins@snaught.com>
3497 * src/view.c: (get_home_scale):
3498 Fixed bad call to gtk_widget_has_screen() -- huh?.
3500 2005-01-06 Jim Evins <evins@snaught.com>
3502 * data/dtd/glabels-2.0.dtd:
3503 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3506 2005-01-06 Jim Evins <evins@snaught.com>
3508 * data/glade/object-editor.glade:
3509 Set entries for fill and data field key dropdowns to NOT editable.
3510 * src/view-box.c: (construct_properties_editor):
3511 * src/view-ellipse.c: (construct_properties_editor):
3512 Update object editor when label's merge property has changed.
3513 * src/xml-label.c: (xml_parse_object_ellipse):
3514 Completed the merge color support for the ellipse item.
3516 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3518 Add support to merge color for object that have a "Fill color" attribute (Feature
3519 Requests item #1008635. If the data is invalid, the color used is transparent
3520 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3521 by gdk_color_parse() these include name for a color from rgb.txt, such as
3522 DarkSlateGray, or a hex specification such as #305050. File format has been
3523 changed but backward compatibility is preserved for all format. For box/ellipse,
3524 keep attribute "fill_color" for static color or replace by "fill_color_field"
3527 * data/glade/object-editor.glade:
3528 Modify "Fill" tab to add the merge key combo and convert the labels into
3532 Add "glColorNode" structure and associated functions to manage it. This
3533 structure is equivalent for color than the "glTextNode". It holds the color
3535 * src/label-object.h:
3536 * src/label-object.c:
3538 * src/label-ellipse.c:
3539 * src/ui-property-bar.c:
3543 * src/view-ellipse.c:
3544 * src/xml-label-04.c:
3545 * src/xml-label-191.c:
3546 Change functions of objects that have a "fill color" attribute to use the
3547 new "glColorNode" structure. Use barcode code as example.
3549 Add the color.[ch] file to glabels_batch binary that now need support for
3551 * src/object-editor.h:
3552 * src/object-editor.c:
3553 * src/object-editor-fill-page.c:
3554 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3555 to choose between static color or merge key. Use barcode code as example.
3556 * src/object-editor-private.h:
3557 Add new widget in the "_glObjectEditorPrivate" structure.
3559 Modify the draw functions to get merge data if needed.
3561 Modify the parser to record/retreive the field value for objects that need
3562 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3563 color or "fill_color_field" for merge data.
3565 2005-01-04 Jim Evins <evins@snaught.com>
3568 * data/templates/avery-iso-templates.xml:
3569 * data/templates/misc-iso-templates.xml:
3570 * data/templates/misc-us-templates.xml:
3571 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3574 2004-11-26 Jim Evins <evins@snaught.com>
3578 Updated french translations provided by Florent Morel <florent@taket.org>.
3579 * src/view-barcode.c:
3581 * src/view-ellipse.c:
3585 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3586 thus _() strings were not being translated.
3588 2004-11-14 Jim Evins <evins@snaught.com>
3591 * src/debug.c: (gl_debug_init), (gl_debug):
3592 Borrowed from gedit: use environmental variables to select debug
3595 Removed unused include of debug.h.
3596 * src/glabels.c: (main):
3597 Added call to gl_debug_init(), and removed debug clutter from command line
3599 * src/glabels-batch.c: (main):
3600 Added call to gl_debug_init().
3602 2004-11-13 Jim Evins <evins@snaught.com>
3604 Drawing and property toolbars were being initialized with the "icons and text"
3605 look in Fedora Core 3. Even though none of the buttons had any text attached to
3606 them, the buttons were being sized as if they were. This led to less real estate
3607 for the property editor, leading to Bug #1064630. The
3609 * data/ui/glabels-ui.xml:
3610 Added explicit "look" property to both drawing and property toolbars.
3611 * src/prefs-model.c: (gl_prefs_model_save_settings),
3612 (gl_prefs_model_load_settings):
3613 * src/prefs-model.h:
3614 Removed drawing_toolbar_button_style configuration parameter.
3615 * src/ui.c: (view_menu_item_toggled_cb),
3616 (set_app_drawing_toolbar_style):
3617 Do not attempt to adjust look property of the drawing toolbar.
3619 2004-10-28 Jim Evins <evins@snaught.com>
3621 * data/pixmaps/glabels-about-logo.png:
3624 2004-10-28 Jim Evins <evins@snaught.com>
3626 * data/man/glabels.1:
3627 * src/glabels-batch.c: (main):
3629 * src/print.c: (gl_print_batch):
3631 Added option to glabels-batch to select the first label to begin
3634 2004-09-26 Jim Evins <evins@snaught.com>
3636 * data/desktop/glabels.desktop.in:
3637 Point to app icon, "glabels.png"
3638 * data/mime/glabels.keys.in:
3639 Point at mime icon, "glabels-application-x-glabels.png"
3640 * data/pixmaps/Makefile.am:
3641 Added glabels_app_icondir. Renamed icons.
3642 * data/pixmaps/glabels.png:
3643 New cleaned up app icon. Deleted glabels-icon.png.
3644 * data/pixmaps/glabels-application-x-glabels.png:
3646 * data/pixmaps/glabels-splash.png:
3647 Renamed glabels-logo to glabels-splash to be more correct about role.
3649 * src/template-designer.c:
3650 Point at app icon, "glabels.png"
3652 Point at renamed splash image, "glabels-splash.png"
3654 2004-08-22 Jim Evins <evins@snaught.com>
3657 * src/glabels-batch.c: (main):
3658 Applied patch with minor mods to allow selecting merge source and
3659 crop-marks on glabels-batch's command line. Original patch provided by
3660 José Dapena Paz <jdapena@igalia.com>.
3662 2004-08-15 Jim Evins <evins@snaught.com>
3664 * data/desktop/glabels.desktop.in:
3665 - Added encoding line
3666 - Removed period from comment
3667 - Fixed Terminal line, changed "0" to "false"
3668 - Added semicolen to Categories line
3670 - Made sure desktop.in comment string above still translated properly
3672 2004-08-14 Jim Evins <evins@snaught.com>
3674 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3675 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3676 * src/xml-label-191.c: (xml191_parse_sheet):
3677 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3679 Reconciled libglabels versioning with 2.0.1.
3682 2004-08-14 Jim Evins <evins@snaught.com>
3685 Updated version to 2.1cvs.
3687 2004-08-14 Jim Evins <evins@snaught.com>
3690 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3692 2004-08-14 Jim Evins <evins@snaught.com>
3694 Fixes for Bug #1008181.
3696 * src/bc.c: (gl_barcode_default_digits):
3697 Make a format of zero digits, harmless.
3698 * src/xml-label.c: (xml_parse_object_barcode):
3699 Set default value of the format property of barcode objects to 10, not
3700 zero. This will prevent crashes when reading pre 2.0.x files.
3702 2004-08-09 Jim Evins <evins@snaught.com>
3706 * help/C/glabels-C.omf:
3707 * help/C/glabels.xml:
3708 Brought documentation up-to-date for 2.0.0 release.
3710 2004-08-09 Jim Evins <evins@snaught.com>
3712 These are hopefully the final preparations for 2.0.0.
3714 * data/mime/Makefile.am:
3715 Include glabels.xml in EXTRA_DIST.
3717 - Updated comment style.
3718 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3719 - Added package and version info to configuration printout
3720 - Update version to 2.0.0
3721 * libglabels/Makefile.am:
3722 Use the new LIBGLABELS_VERSION_INFO macro.
3724 2004-08-09 Jim Evins <evins@snaught.com>
3728 Cleanup of required library macros.
3730 2004-08-08 Jim Evins <evins@snaught.com>
3734 - More specific of what to install in /usr/bin and /usr/lib
3735 - Remove built mime registration files from staging directory
3737 2004-08-08 Jim Evins <evins@snaught.com>
3739 * data/mime/Makefile.am:
3740 Fixed typo: key_files should have been keys_files.
3742 2004-08-08 Jim Evins <evins@snaught.com>
3744 Reorganization of runtime data files. Also added registration of mimetype with
3745 new freedesktop.org mime database if available.
3748 Moved files to appropriate subdirectories, creating local Makefile.am
3749 in each subdirectory.
3750 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3751 These are now installed at $datadir/glabels/templates.
3752 - Moved glabels.1 to man subdirectory.
3753 - Moved glabels-2.0.dtd to dtd subdirectory.
3754 - Moved glabels.desktop.in to desktop subdirectory.
3755 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3757 Moved "./pixmaps" to "./data/pixmaps"
3759 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3761 Moved libglade files from src to data/glade. Created Makefile.am.
3763 Removed pixmaps from SUBDIRS.
3765 - Removed pixmaps from makefiles.
3766 - Added makefiles for new subdirs of data.
3767 - Added tests for freedesktop.org mime database.
3769 - Added tests for freedesktop.org mime database for post install and
3770 post un-install actions.
3771 * libglabels/Makefile.am:
3772 Moved system template files to $(datadir)/glabels/templates.
3773 * libglabels/libglabels-private.h:
3774 Moved system template files to $(datadir)/glabels/templates.
3776 - Accounted for movement of ui and libglade files.
3777 - Added missing .in files.
3778 - Reorganized by directory.
3780 Accounted for movement of ui and libglade files.
3781 * data/mime/glabels.xml.in:
3782 New file for registering with freedesktop.org mime database.
3784 2004-08-07 Jim Evins <evins@snaught.com>
3786 * src/recent-files/*:
3787 Re-synced to latest libegg/recent-files.
3789 2004-08-07 Jim Evins <evins@snaught.com>
3794 Renamed "./doc" directory to "./help" which contains user documentation,
3795 to be more consistent with other GNOME applications.
3798 2004-07-26 Jim Evins <evins@snaught.com>
3800 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3801 Corrected button order of merge properties dialog.
3803 2004-07-18 Jim Evins <evins@snaught.com>
3805 * data/glabels-2.0.dtd:
3806 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3807 (gl_barcode_get_prefered_n):
3809 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3810 (gl_label_barcode_get_props), (get_size):
3811 * src/label-barcode.h:
3812 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3813 (style_changed_cb), (gl_object_editor_set_bc_style),
3814 (gl_object_editor_get_bc_style):
3815 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3816 (gl_object_editor_set_data), (gl_object_editor_get_data):
3817 * src/object-editor-private.h:
3818 * src/object-editor.c: (gl_object_editor_set_key_names):
3819 * src/object-editor.glade:
3820 * src/object-editor.h:
3821 * src/print.c: (draw_barcode_object):
3822 * src/view-barcode.c: (update_object_from_editor_cb),
3823 (update_editor_from_object_cb),
3824 (gl_view_barcode_create_event_handler), (draw_barcode):
3825 * src/xml-label-04.c: (xml04_parse_barcode_props):
3826 * src/xml-label-191.c: (xml191_parse_barcode_props):
3827 * src/xml-label.c: (xml_parse_object_barcode),
3828 (xml_create_object_barcode):
3829 Added "format" attribute to barcode objects. This attribute is used
3830 to properly format freeform barcodes barcodes prior to merge data is
3831 applied, so that barcodes can be accurately layed out. This addresses
3832 remaining issues of feature request #824787. Also added an example of
3833 the format in the object editor.
3835 2004-07-12 Jim Evins <evins@snaught.com>
3837 Various code cleanups.
3839 * src/label-barcode.c:
3840 Removed unneeded include of gnome-glyphlist.h.
3842 * src/label-text.c: (get_size):
3843 Fixed memory leak: unref glyphlists when done with them.
3845 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3846 * src/object-editor-data-page.c:
3847 (gl_object_editor_prepare_data_page):
3848 * src/object-editor-image-page.c:
3849 (gl_object_editor_prepare_image_page):
3850 * src/object-editor-line-page.c:
3851 (gl_object_editor_prepare_line_page):
3852 * src/object-editor-lsize-page.c:
3853 (gl_object_editor_prepare_lsize_page):
3854 * src/object-editor-position-page.c:
3855 (gl_object_editor_prepare_position_page):
3856 * src/object-editor-size-page.c:
3857 (gl_object_editor_prepare_size_page):
3858 * src/object-editor-text-page.c:
3859 (gl_object_editor_prepare_text_page):
3860 Removed unneeded size groups, originally intended to keep widgets aligned.
3861 Now use tables to lay these out in object-editor.glade.
3863 * src/print.c: (draw_text_object):
3864 Fixed memory leak: unref glyphlists when done with them.
3866 * src/view-barcode.c: (draw_barcode):
3867 Fixed memory leak: unref glyphlists when done with them.
3869 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3870 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3872 - Fixed memory leak: unref glyphlists when done with them.
3874 2004-07-11 Jim Evins <evins@snaught.com>
3876 * data/glabels-2.0.dtd:
3877 * src/label-text.c: (gl_label_text_instance_init), (copy),
3878 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3880 * src/object-editor-private.h:
3881 * src/object-editor-text-page.c:
3882 (gl_object_editor_prepare_text_page),
3883 (gl_object_editor_set_text_auto_shrink),
3884 (gl_object_editor_get_text_auto_shrink):
3885 * src/object-editor.c: (gl_object_editor_set_key_names):
3886 * src/object-editor.glade:
3887 * src/object-editor.h:
3888 * src/print.c: (draw_text_object):
3889 * src/view-text.c: (update_object_from_editor_cb),
3890 (update_editor_from_object_cb):
3891 * src/xml-label.c: (xml_parse_object_text),
3892 (xml_create_object_text):
3893 Added option to allow document merge to auto shrink text size to fit
3894 within the text box. The code in print.c that actually shrinks the
3895 text is loosely based on a patch submitted by Mark Harrison
3896 <mark.harrison@velocitynet.com.au>. This addresses feature request
3899 2004-07-11 Jim Evins <evins@snaught.com>
3901 * data/glabels-2.0.dtd:
3902 * libglabels/template.c: (gl_template_rect_label_type_new),
3903 (gl_template_round_label_type_new),
3904 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3905 (template_full_page):
3906 * libglabels/template.h:
3907 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3908 (xml_create_label_node):
3909 * pixmaps/ex-rect-size.png:
3910 * src/print.c: (clip_to_outline), (clip_punchouts):
3911 * src/template-designer.c: (construct_rect_size_page),
3912 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3914 * src/template-designer.glade:
3915 * src/xml-label-191.c: (xml191_parse_label):
3916 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3917 properties for rectangular labels. Templates remain backwards compatible,
3918 but this breaks the libglabels API (I don't know of anyone outside of
3919 glabels using libglabels at this time -- what can I say, the program is
3920 is still "unstable"). This addresses the suggestion in Feature Request
3923 2004-07-05 Jim Evins <evins@snaught.com>
3924 * src/print.c: (print_crop_marks), (draw_outline):
3925 Changed crop marks and label outlines to black, instead of 25% gray.
3926 This addresses debian Bug #257460.
3928 2004-07-05 Jim Evins <evins@snaught.com>
3930 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3931 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3932 Preserve "is_default" of fill and line color_combos when creating from
3935 2004-07-02 Jim Evins <evins@snaught.com>
3938 Created man page. Based on page submitted by Matthew J. Lockner, however
3939 it has been severely edited.
3941 * data/avery-other-templates.xml
3942 * data/misc-other-templates.xml:
3943 Started new files for predefined templates with non-standard sheet sizes.
3944 These have been initially populated with the Avery 06141 and
3945 OfficeMax #86112, both provided by Matthew J. Lockner.
3948 Install above manpage and template files.
3951 Make sure we install man pages.
3953 * src/glabels-batch.c:
3954 Changed short form of help option to '-?' to be consistent with glabels.
3957 Added acknowledgement for above labels.
3959 2004-07-02 Jim Evins <evins@snaught.com>
3961 * src/glabels.c: (main), (save_session_cb):
3962 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3964 - save_session_cb() now returns gboolean.
3965 - Minor formatting changes.
3969 - Now include file.h to provide missing prototype.
3970 - gl_window_get_type() now returns GType, not guint. I believe this may
3971 ultimately be cause of the segfault reported in Bug #982287, since
3972 GType is actually a gulong, which may not be compatible on other
3973 architectures (64bit) -- I cannot personally test this at this time.
3974 I was sloppy in several other xxx_get_type() functions which also
3975 returned guint -- see next group of files:
3977 * src/window.c: (gl_window_get_type):
3978 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3979 * src/canvas-hacktext.h:
3980 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3981 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3982 (gl_hig_hbox_get_type):
3984 * src/label-barcode.c: (gl_label_barcode_get_type):
3985 * src/label-barcode.h:
3986 * src/label-box.c: (gl_label_box_get_type):
3988 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3989 * src/label-ellipse.h:
3990 * src/label-image.c: (gl_label_image_get_type):
3991 * src/label-image.h:
3992 * src/label-line.c: (gl_label_line_get_type):
3994 * src/label-object.c: (gl_label_object_get_type):
3995 * src/label-object.h:
3996 * src/label-text.c: (gl_label_text_get_type):
3998 * src/label.c: (gl_label_get_type):
4000 * src/merge-properties-dialog.c:
4001 (gl_merge_properties_dialog_get_type):
4002 * src/merge-properties-dialog.h:
4003 * src/merge-text.c: (gl_merge_text_get_type):
4005 * src/merge.c: (gl_merge_get_type):
4007 * src/object-editor.c: (gl_object_editor_get_type):
4008 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
4009 * src/prefs-dialog.h:
4010 * src/prefs-model.c: (gl_prefs_model_get_type):
4011 * src/prefs-model.h:
4012 * src/print-dialog.c: (gl_print_dialog_get_type):
4013 * src/print-dialog.h:
4014 * src/template-designer.c: (gl_template_designer_get_type):
4015 * src/template-designer.h:
4016 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
4017 * src/ui-property-bar.h:
4018 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
4020 * src/view-barcode.c: (gl_view_barcode_get_type):
4021 * src/view-barcode.h:
4022 * src/view-box.c: (gl_view_box_get_type):
4024 * src/view-ellipse.c: (gl_view_ellipse_get_type):
4025 * src/view-ellipse.h:
4026 * src/view-highlight.c: (gl_view_highlight_get_type):
4027 * src/view-highlight.h:
4028 * src/view-image.c: (gl_view_image_get_type):
4030 * src/view-line.c: (gl_view_line_get_type):
4032 * src/view-object.c: (gl_view_object_get_type):
4033 * src/view-object.h:
4034 * src/view-text.c: (gl_view_text_get_type):
4036 * src/view.c: (gl_view_get_type):
4038 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
4039 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
4040 * src/wdgt-image-select.h:
4041 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
4042 * src/wdgt-media-select.h:
4043 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
4044 * src/wdgt-mini-preview.h:
4045 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
4046 * src/wdgt-print-copies.h:
4047 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
4048 * src/wdgt-print-merge.h:
4049 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
4050 * src/wdgt-rotate-label.h:
4051 - Made sure all xxx_get_type functions returned GType, not guint. This
4052 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
4053 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
4054 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
4055 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
4056 window.[ch] details above for more info.
4057 - Reconciled various coding style differences in all xxx_get_type()
4059 * All prototypes include G_GNUC_CONST.
4060 * All prototypes specify the return value as GType, not GtkType
4062 * Info structures are all declared as "static const."
4063 * Generalized the names of type and info variables.
4064 * Miscelaneous formatting.
4066 2004-06-08 Jim Evins <evins@snaught.com>
4072 Don't touch compression of original file -- still defaults to 9 for
4073 new files. Original patch provided by Javier Donaire Segarra
4074 (#912252 in patch tracker).
4076 2004-05-05 Jim Evins <evins@snaught.com>
4078 * data/glabels-2.0.dtd:
4079 Broke DTD previously when adding new barcode types that contain a
4080 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
4081 to avoid the problem.
4082 * data/avery-iso-templates.xml:
4083 * data/zweckform-iso-templates.xml:
4085 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
4086 provided by Frank Altpeter.
4087 * libglabels/xml-template.c: (xml_create_label_node):
4088 Reordered markup and layout sub-nodes so that resulting templates will
4089 validate against DTD.
4091 2004-03-13 Jim Evins <evins@snaught.com>
4093 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
4094 Changed spin callback signals from "value-changed" back to "changed."
4095 This was accidentally introduced in a previous revision, and can cause
4096 size changes just by selecting the size tab.
4098 2004-03-06 Jim Evins <evins@snaught.com>
4100 * src/view.c: (draw_grid_layer):
4101 For round labels (round and cd) adjust grid so that it lines up with
4102 center of label. Also, no longer draw box around label in the grid layer,
4103 it is hidden by he fg layer anyway. Feature suggested by
4104 nemolivier@free.fr. Although the grid is aligned with the center of the
4105 label, the coordinate system is still relative to the upper left corner
4106 of the rectangle containing the label.
4108 2004-02-25 Jim Evins <evins@snaught.com>
4111 Changed version to 2.0pre1cvs
4113 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
4114 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
4115 instead of doc->name fields when errors encountered.
4117 2004-02-21 Jim Evins <evins@snaught.com>
4119 * data/avery-iso-templates.xml:
4120 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
4123 Added libglabels library and include file to installed files.
4126 Final prep for 1.93.3.
4128 2004-02-20 Jim Evins <evins@snaught.com>
4130 * src/glabels-batch.c: (main):
4131 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
4132 as suggested by Javier Donaire Segarra. This addresses bug #901063.
4134 2004-02-16 Jim Evins <evins@snaught.com>
4137 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
4140 Added HAVE_FILE_CHOOSER to INCLUDES.
4142 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
4143 (gl_file_save_as), (save_as_response):
4144 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
4146 2004-02-16 Jim Evins <evins@snaught.com>
4148 * src/xml-label-04.c: (xml04_parse_image_props):
4149 * src/xml-label-191.c: (xml191_parse_image_props):
4150 * src/xml-label.c: (xml_parse_object_image):
4151 Delay setting image size until after image has been applied to new
4154 2004-02-15 Jim Evins <evins@snaught.com>
4156 * src/label-barcode.c: (gl_label_barcode_set_data),
4157 (gl_label_barcode_set_props):
4158 Don't emit "changed" signal, if no change actually made for these
4159 methods. Reduces number of unnecessary redraws of barcodes.
4161 * src/label-object.h:
4162 * src/label-object.c: (gl_label_object_set_position),
4163 (gl_label_object_set_position_relative), (set_size),
4164 (gl_label_object_set_size),
4165 (gl_label_object_set_size_honor_aspect):
4166 Don't emit "changed" signal, if no change actually made for these
4169 2004-02-15 Jim Evins <evins@snaught.com>
4171 * data/glabels-2.0.dtd:
4172 Added specific subtypes for various barcode types.
4175 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
4176 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
4177 (gl_barcode_can_text), (gl_barcode_text_optional),
4178 (gl_barcode_can_csum), (gl_barcode_csum_optional),
4179 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
4180 Changed API to use a string id, rather than a fixed enumeration. Id and
4181 name are separate strings. Added entries to backend table for specific
4182 subtypes for various barcode types.
4185 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4187 Modified to conform to above API. Now more stringent with data length
4188 for various subtypes.
4190 * src/bc-gnubarcode.h:
4191 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4192 (is_length_valid), (is_length1_valid), (is_length2_valid):
4193 Modified to conform to above API. Now more stringent with data length
4194 for various subtypes.
4196 * src/label-barcode.h:
4197 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4198 (gl_label_barcode_get_props), (get_size):
4199 Modified to use above API for storing barcode type.
4201 * src/object-editor.h:
4202 * src/object-editor-bc-page.c: (style_changed_cb),
4203 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4204 Modified to use above API for storing barcode type.
4206 * src/object-editor-size-page.c:
4207 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4208 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4209 Added debug markers.
4211 * src/object-editor.glade:
4212 Made barcode style combo's text entry non-editable.
4214 * src/print.c: (draw_barcode_object):
4215 Modified to use above API for barcode type.
4217 * src/view-barcode.c: (update_object_from_editor_cb),
4218 (update_editor_from_object_cb),
4219 (gl_view_barcode_create_event_handler), (draw_barcode):
4220 Modified to use above API for barcode type.
4222 * src/xml-label-04.c: (xml04_parse_barcode_props):
4223 * src/xml-label-191.c: (xml191_parse_barcode_props):
4224 * src/xml-label.c: (xml_parse_object_barcode),
4225 (xml_create_object_barcode):
4226 Modified to use above API for barcode type.
4228 2004-02-07 Jim Evins <evins@snaught.com>
4230 * src/stock-pixmaps/Makefile.am:
4231 * src/stock-pixmaps/stock_hchain_24.png:
4232 * src/stock-pixmaps/stock_hchain_broken_24.png:
4233 * src/stock-pixmaps/stock_vchain_24.png:
4234 * src/stock-pixmaps/stock_vchain_broken_24.png:
4235 Added chain pixmaps borrowed from the gimp's default theme.
4238 * src/stock.c: (gl_stock_init), (add_button_icon):
4239 Added above pixmaps to stock icon sets. Created add_button_icon() to
4240 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4242 * src/wdgt-chain-button.h
4243 * src/wdgt-chain-button.c
4246 Added this Modified version of gimpchainbutton widget, borrowed from
4250 Added acknowledgements of the above borrowing from the gimp.
4252 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4254 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4255 * src/object-editor.glade:
4256 Replaced the keep aspect ratio check box with the above chain-button
4259 * src/text-node.c: (gl_text_node_equal):
4261 Added function gl_text_node_equal() to compare text_nodes.
4263 * src/label-image.c: (gl_label_image_set_filename):
4264 Replaced incomplete text_node comparison code with invocation of
4265 gl_text_node_equal. This fixed the problem of not being able to
4266 resize an image using the object_editor if the aspect ratio is not
4269 2004-02-04 Jim Evins <evins@snaught.com>
4271 * src/object-editor-image-page.c:
4272 (gl_object_editor_prepare_image_page):
4273 Track "changed" signal of pixmap entry's GtkEntry rather than its
4274 "activate" signal -- this catches all changes to the entry rather than
4275 just changes resulting from a browse, so one can easily pull previous
4276 entries from the history. (This change is marked below on 2004-02-03,
4277 but somehow never got checked in.)
4279 * src/view-highlight.c: (sl_resize_event_handler),
4280 (sr_resize_event_handler), (st_resize_event_handler),
4281 (sb_resize_event_handler):
4282 Side resize handles will now confirm the actual resize that the object
4283 accepted before adjusting position parameters. Previously some interesting
4284 things happened when resizing a barcode to its minimum size.
4286 2004-02-03 Jim Evins <evins@snaught.com>
4288 * src/object-editor-image-page.c:
4289 (gl_object_editor_prepare_image_page):
4290 Track "changed" signal of pixmap entry's GtkEntry rather than its
4291 "activate" signal -- this catches all changes to the entry rather than
4292 just changes resulting from a browse, so one can easily pull previous
4293 entries from the history.
4295 * src/view-highlight.c: (tl_resize_event_handler),
4296 (tr_resize_event_handler), (bl_resize_event_handler),
4297 (br_resize_event_handler):
4298 Allow control key to be dropped while dragging a corner resize handle
4299 without losing the aspect ratio lock.
4301 2004-02-02 Jim Evins <evins@snaught.com>
4303 * src/label-image.c: (gl_label_image_set_filename):
4304 When setting a new filename adjust size such that the aspect ratio of
4305 the image is preserved using the current size as a bounding box.
4307 * src/view-image.c: (update_object_from_editor_cb):
4308 When updating object from editor, feed back possible size changes to
4309 editor as a result of a possible change in image.
4311 * src/object-editor-size-page.c: (size_reset_cb):
4312 Fixed typo when blocking spin handlers. If the base size is larger than
4313 the max size, treat max size as a bounding box while keeping aspect
4317 2004-02-02 Jim Evins <evins@snaught.com>
4319 * src/label-object.h:
4320 * src/label-object.c: (gl_label_object_set_size),
4321 (gl_label_object_set_size_honor_aspect):
4322 Added gl_label_object_set_size_honor_aspect() which will maintain the
4323 current aspect ratio by modifying the supplied w or h apropriately.
4325 * src/view-highlight.c: (tl_resize_event_handler),
4326 (tr_resize_event_handler), (bl_resize_event_handler),
4327 (br_resize_event_handler):
4328 Corner handles will now maintain the current aspect ratio if the
4329 control key is pressed while resizing. This addresses feature
4333 2004-01-31 Jim Evins <evins@snaught.com>
4336 * data/avery-us-templates.xml:
4337 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4339 * libglabels/template.c: (read_template_files_from_dir):
4340 Corrected problem with testing for extensions.
4342 * src/object-editor.glade:
4343 Corrected grouping of radio buttons in barcode data page.
4345 * src/print.c: (draw_barcode_object):
4346 * src/view-barcode.c: (draw_barcode):
4347 Corrected problem with calculation of y_offset for locating characters.
4349 2004-01-24 Jim Evins <evins@snaught.com>
4352 * data/avery-us-templates.xml:
4353 Added Avery 5824, submitted by Fred Bacon.
4355 2004-01-20 Jim Evins <evins@snaught.com>
4357 Catching up on a couple of backlogged user template submissions.
4359 * data/avery-iso-templates.xml:
4360 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4361 Suggested by Linas Jakucionis.
4363 * data/zweckform-iso-templates.xml:
4364 Added Zweckform 4760, submitted by Thomas Vill.
4367 Updated to reflect above submissions.
4369 2004-01-06 Jim Evins <evins@snaught.com>
4371 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4372 xml.[ch] into a separate library called libglabels, to facilitate third
4373 party use of glabels template files. This was suggested by Wayne Schuller.
4374 Once split-out, some modifications to the structures and functions to
4375 make a cleaner more useful API, hopefully. Rather extensive changes have
4376 propogated to other modules.
4384 * src/xml-template.h:
4385 * src/xml-template.c:
4388 These files have been moved to libglabels/. API cleanup performed.
4390 * libglabels/libglabels.h:
4391 * libglabels/libglabels-private.h:
4392 * libglabels/Makefile.am:
4393 These files have been added to finish out libglabels.
4400 Modified to reflect new sets of files in src/ and libglabels/.
4402 * COPYING.LIBGLABELS:
4404 Added copy of the LGPL for libglabels, and a copy the GFDL for
4407 * src/glabels-batch.c:
4409 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4410 (gl_label_get_size):
4412 * src/prefs-model.c: (gl_prefs_model_load_settings):
4413 * src/print-dialog.c:
4414 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4415 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4416 (print_crop_marks), (print_label), (draw_outline),
4417 (clip_to_outline), (clip_punchouts):
4418 * src/template-designer.c: (construct_pg_size_page),
4419 (pg_size_page_changed_cb), (layout_page_changed_cb),
4420 (print_test_cb), (build_template):
4421 * src/util.c: (gl_util_fraction):
4423 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4424 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4425 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4426 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4427 (draw_markup_margin_round), (draw_markup_margin_cd),
4428 (draw_markup_margin_cd_bc), (draw_markup_line),
4429 (draw_markup_circle), (gl_view_copy):
4430 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4431 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4432 (get_label_size_desc):
4433 * src/wdgt-mini-preview.c:
4434 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4436 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4437 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4438 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4439 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4440 * src/wdgt-rotate-label.h:
4441 * src/xml-label-04.c: (xml04_parse_media_description):
4442 * src/xml-label-191.c: (gl_xml_label_191_parse),
4443 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4444 (xml191_parse_markup), (xml191_parse_alias):
4445 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4447 Various changes to accomodate new libglabels API.
4449 2004-01-03 Jim Evins <evins@snaught.com>
4454 2004-01-03 Jim Evins <evins@snaught.com>
4457 Added acknowledgement of contributions by Wayne Schuller.
4459 * src/commands.c: (gl_cmd_file_print):
4460 Create extra reference to print dialog, so that it can be properly re-used.
4462 * src/mygal/mygal-combo-box.h:
4463 * src/mygal/mygal-combo-box.c:
4464 (mygal_combo_box_popup_hide_unconditional),
4465 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4466 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4467 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4468 (mygal_combo_box_set_tearable):
4469 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4470 complete the rename of this widget to prevent namespace collisions
4473 * src/prefs-dialog.glade:
4474 Fixed alignment of Fill/Color widgets.
4476 2004-01-03 Jim Evins <evins@snaught.com>
4478 * data/avery-iso-templates.xml:
4479 Added user submitted templates.
4480 Avery 8435A & 8435B, submitted by Ludger Solbach.
4482 * doc/C/glabels.xml:
4483 Added minimal documentation, noting the new template designer.
4485 2004-01-03 Jim Evins <evins@snaught.com>
4487 * pixmaps/ex-rect-size.png:
4488 * pixmaps/ex-round-size.png:
4489 * pixmaps/ex-cd-size.png:
4490 * pixmaps/Makefile.am:
4491 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4492 files to be used as illustrations/examples in the template-designer.
4494 * src/template-designer.c: (construct_rect_size_page),
4495 (construct_round_size_page), (construct_cd_size_page),
4496 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4497 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4498 (layout_page_prepare_cb), (build_template):
4499 * src/template-designer.glade:
4500 Added illustrations for rectangle, round, and cd label size pages.
4501 Added margin spinboxes to these pages, and now add a margin markup
4502 to the constructed template. Added realistic default values for
4503 some of the size spinboxes. Cleaned up the code for setting spinbox
4504 ranges on the layouts page.
4506 2004-01-02 Jim Evins <evins@snaught.com>
4508 * src/object-editor-size-page.c: (h_spin_cb):
4509 Fixed cut-n-paste error in h_spin_cb that loaded h from
4510 the wrong spinbutton.
4512 * src/object-editor.h:
4513 * src/object-editor.c: (gl_object_editor_class_init),
4514 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4515 * src/object-editor-private.h:
4516 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4518 Added "size_changed" signal.
4520 * src/view-text.c: (construct_properties_editor),
4521 (update_object_from_editor_cb),
4522 (update_object_from_editor_size_cb):
4523 Track size changes from object editor separately from other
4524 properties. This is so the default size (0,0) of a text
4525 object is not modified unintentionally.
4527 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4529 Added feature: line spacing - allows you to comfortably space a text box to
4530 fit a label perfectly.
4532 * data/glabels-2.0.dtd:
4533 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4534 (gl_label_object_get_text_alignment),
4535 (gl_label_object_get_text_line_spacing):
4536 * src/label-object.h:
4537 * src/label-text.c: (gl_label_text_class_init),
4538 (gl_label_text_instance_init), (copy), (get_size),
4539 (set_text_line_spacing), (get_text_alignment),
4540 (get_text_line_spacing):
4541 * src/object-editor-private.h:
4542 * src/object-editor-text-page.c:
4543 (gl_object_editor_prepare_text_page),
4544 (gl_object_editor_set_text_line_spacing),
4545 (gl_object_editor_get_text_line_spacing):
4546 * src/object-editor.glade:
4547 * src/object-editor.h:
4548 * src/prefs-dialog.c: (construct_object_page),
4549 (update_object_page_from_prefs), (update_prefs_from_object_page):
4550 * src/prefs-dialog.glade:
4551 * src/prefs-model.c: (gl_prefs_model_save_settings),
4552 (gl_prefs_model_load_settings), (get_float):
4553 * src/prefs-model.h:
4554 * src/print.c: (draw_text_object):
4556 * src/view-text.c: (update_object_from_editor_cb),
4557 (update_editor_from_object_cb),
4558 (gl_view_text_create_event_handler), (draw_hacktext):
4559 * src/view.c: (gl_view_construct),
4560 (gl_view_set_selection_text_line_spacing),
4561 (gl_view_set_default_text_line_spacing),
4562 (gl_view_get_default_text_line_spacing):
4564 * src/xml-label.c: (xml_parse_toplevel_span),
4565 (xml_create_toplevel_span):
4567 2003-12-30 Jim Evins <evins@snaught.com>
4569 * src/template-designer.c:
4570 * src/template-designer.h:
4571 * src/template-designer.glade:
4572 New template designer assistant.
4576 Added entries for src/template-designer.* files.
4578 * pixmaps/ex-1layout.png
4579 * pixmaps/ex-2layouts.png
4580 * pixmaps/Makefile.am:
4581 Added the new image files ex-*.png used as illustrations in the
4582 template designer assistant.
4584 * src/print-dialog.h:
4585 * src/print-dialog.c: (gl_print_dialog_finalize),
4586 (gl_print_dialog_new), (gl_print_dialog_construct),
4587 (gl_print_dialog_force_outline_flag):
4588 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4589 to support printing from the template designer assistant which does not
4590 have a full-fledged view. Nothing else from the view object was being
4591 used by the dialog anyway.
4593 Added the gl_print_dialog_force_outline_flag() method, for better
4594 integration with the template designer assistant.
4598 * src/commands.c: (gl_cmd_file_template_designer),
4599 (gl_cmd_file_print):
4600 Modified print command to provide label instead of view to dialog.
4601 Added the gl_cmd_file_template_designer() command to invoke the
4602 template designer assistant.
4605 * src/glabels-ui.xml:
4606 Added support for template designer assistant.
4608 * src/wdgt-mini-preview.h:
4609 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4610 (gl_wdgt_mini_preview_set_bg_color):
4611 Preview is now centered in canvas. Added
4612 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4613 assistant to match the background color with its own.
4615 * src/print.c: (clip_to_outline):
4616 Fixed really stupid bug when adding waste to clip region of rectangular
4617 labels/cards. Each side of the clip region needs to be extended by
4618 twice the waste margin, as well as negatively offset by the waste
4621 2003-12-28 Jim Evins <evins@snaught.com>
4623 * src/prefs-dialog.c: (update_object_page_from_prefs):
4624 Block intermediary function align_toggle_cb() instead of
4625 update_prefs_from_object_page() for the three alignment
4628 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4630 * src/file.c: (gl_file_new), (gl_file_properties):
4631 Swap button order and set default for higificatory pleasure.
4633 2003-12-27 Jim Evins <evins@snaught.com>
4635 * barcode-0.98/Makefile.am:
4636 One last time: removed doc/Makefile and po/Makefile.in.in from
4639 2003-12-27 Jim Evins <evins@snaught.com>
4641 * barcode-0.98/Makefile.am:
4642 Removed config.stat entry from EXTRA_DIST files.
4644 * barcode-0.98/Makefile.in:
4647 2003-12-27 Jim Evins <evins@snaught.com>
4650 Updated to work with latest gnome-common package from CVS.
4651 Removed recursive configuration of barcode-0.98.
4658 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4660 * barcode-0.98/Makefile.in:
4661 * barcode-0.98/configure.in:
4662 * barcode-0.98/Makefile.am:
4663 * barcode-0.98/README.glabels:
4664 Modified to ignore the barcode package's build system, and build
4665 as a part of glabels.
4666 Renamed Makefile.in to Makefile.in.dist.
4667 Renamed configure.in to configure.in.dist.
4668 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4671 * src/mygal/Makefile.am:
4672 * src/recent-files/Makefile.am:
4673 In order to build against the GNOME 2.5 platform,
4674 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4676 * src/mygal/Makefile.am:
4677 * src/mygal/mygal-combo-box.c:
4678 * src/mygal/mygal-combo-box.h:
4679 * src/mygal/widget-color-combo.c:
4680 * src/mygal/widget-color-combo.h:
4682 In order to build against the GNOME 2.5 platform,
4683 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4684 collisions with the real gtk_combo_box widget, now a part of gtk.
4686 2003-12-26 Jim Evins <evins@snaught.com>
4692 Moved local versions of get_home_data_dir() in paper.c and
4693 template.c to util package. Cleaned up formatting in
4697 In gl_template_register() save a copy of the template in
4698 ~/.glabels if the template is not known. Still need to
4699 handle duplicate filename case and duplicate name but
4700 different template case.
4704 Moved local definition of NAME_SPACE macro from xml-label.c
4707 * src/xml-template.c:
4708 * src/xml-template.h:
4709 Added function gl_xml_template_write_template_to_file(), used
4710 in gl_template_register().