1 2009-09-07 Jim Evins <evins@snaught.com>
3 Created new glFontCombo widget family subsystem + minor refinements to glColorCombo
6 * src/color-combo-button.c:
7 * src/color-combo-button.h:
8 Renamed ColorButton to ColorComboButton.
10 Added GL_COLOR_WHITE macro.
11 * src/color-combo.c: (gl_color_combo_init):
16 * src/font-combo-menu.c:
17 * src/font-combo-menu.h:
18 * src/font-combo-menu-item.c:
19 * src/font-combo-menu-item.h:
24 New FontCombo subsystem.
27 Moved font functions to font-util.[ch].
28 * data/builder/object-editor.builder:
29 * data/builder/prefs-dialog.builder:
30 * data/builder/property-bar.builder:
31 * src/label-text.c: (set_font_family):
32 * src/object-editor-private.h:
33 * src/object-editor-text-page.c:
34 (gl_object_editor_prepare_text_page),
35 (gl_object_editor_set_font_family),
36 (gl_object_editor_get_font_family):
37 * src/prefs-dialog.c: (construct_object_page),
38 (update_object_page_from_prefs), (update_prefs_from_object_page):
39 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
40 (reset_to_default_properties), (update_text_properties),
41 (update_fill_color), (update_line_color), (font_family_changed_cb),
42 (text_color_changed_cb), (fill_color_changed_cb),
43 (line_color_changed_cb):
44 Incorporated new FontCombo subsystem.
46 Reconciled with above changes/additions.
48 2009-09-06 Jim Evins <evins@snaught.com>
50 * src/color-button.c: (gl_color_button_finalize):
51 Unreference menu in finalize.
53 2009-09-06 Jim Evins <evins@snaught.com>
55 Some major refinements to the glColorCombo family of widgets.
60 New widget: glColorButton. This widget is a button that applies
61 the currently selected color with a ColorCombo type dropdown button
62 to change that selected color. This is basically the old
64 * src/color-combo.c: (gl_color_combo_init),
65 (gl_color_combo_finalize), (gl_color_combo_new),
66 (button_press_event_cb), (menu_color_changed_cb),
67 (menu_selection_done_cb):
69 The glColorCombo widget has been modified to be a single button
70 that is only used to change the selected color.
71 * src/color-swatch.c: (gl_color_swatch_init), (expose_event_cb):
72 Draw on parent containers window to allow an effective
74 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
75 * src/object-editor-fill-page.c:
76 (gl_object_editor_prepare_fill_page):
77 * src/object-editor-line-page.c:
78 (gl_object_editor_prepare_line_page):
79 * src/object-editor-shadow-page.c:
80 (gl_object_editor_prepare_shadow_page):
81 * src/object-editor-text-page.c:
82 (gl_object_editor_prepare_text_page):
83 * src/prefs-dialog.c: (construct_object_page):
84 Change how ColorCombos are packed so that they don't
86 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
87 (reset_to_default_properties), (update_text_properties),
88 (update_fill_color), (update_line_color), (text_color_changed_cb),
89 (fill_color_changed_cb), (line_color_changed_cb),
90 (set_doc_items_sensitive), (set_text_items_sensitive),
91 (set_fill_items_sensitive), (set_line_color_items_sensitive):
92 The property bar now uses the new glColorButton instead of
95 2009-09-02 Jim Evins <evins@snaught.com>
98 * src/wdgt-mini-preview.c:
99 * src/wdgt-mini-preview.h:
100 * src/mini-preview.h:
101 * src/mini-preview.c:
102 - Renamed WdgtMiniPreview to MiniPreview.
104 - Modified to draw to parent window to be effectively transparent.
105 - Updated license notification to gpl3+.
106 * src/template-designer.c: (construct_layout_page),
107 (layout_page_prepare_cb), (layout_page_changed_cb):
108 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct),
109 (sheets_radio_cb), (first_spin_cb), (last_spin_cb),
111 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct),
112 (spin_cb), (preview_clicked), (gl_wdgt_print_merge_set_copies):
113 - Reconciled with rename above.
115 2009-09-01 Jim Evins <evins@snaught.com>
117 * data/builder/object-editor.builder:
118 Fixed errant expansion of tab.
119 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
120 * src/bc-postnet.c: (gl_barcode_postnet_new):
121 * src/bc.c: (id_to_index), (name_to_index):
122 * src/label-barcode.c: (gl_label_barcode_set_props):
123 * src/label-text.c: (set_font_family):
124 * src/merge-properties-dialog.c:
125 (gl_merge_properties_dialog_construct):
126 * src/merge.c: (gl_merge_description_to_name):
127 * src/new-label-dialog.c:
128 * src/object-editor-edit-page.c:
129 * src/object-editor-image-page.c: (update_preview_cb):
130 * src/object-editor-lsize-page.c:
131 * src/object-editor-position-page.c:
132 * src/object-editor-size-page.c:
133 * src/object-editor.c: (gl_object_editor_new):
134 * src/prefs-dialog.c: (update_locale_page_from_prefs):
135 * src/prefs-model.c: (string_to_units):
136 * src/print-op.c: (create_custom_widget_cb):
137 * src/template-designer.c: (gl_template_designer_init),
138 (pg_size_page_changed_cb), (build_template):
139 * src/ui-commands.c: (gl_ui_cmd_help_about):
140 * src/xml-label.c: (xml_parse_pixdata):
141 Fixed various deprecations as of Gtk-2.16.
143 2009-08-31 Jim Evins <evins@snaught.com>
146 Updated french translation (Claude Paroz)
148 2009-08-31 Jim Evins <evins@snaught.com>
150 * data/builder/property-bar.builder:
151 Make sure event box does not obscure tool bar background.
153 * src/color-swatch.c:
154 * src/color-swatch.h:
155 New color swatch widget.
156 * src/color-combo-color-menu-item.c:
157 (gl_color_combo_color_menu_item_init),
158 (gl_color_combo_color_menu_item_new),
159 (gl_color_combo_color_menu_item_set_color):
160 * src/color-combo.c: (gl_color_combo_init),
161 (gl_color_combo_finalize), (gl_color_combo_new),
162 (gl_color_combo_set_color), (menu_color_changed_cb):
163 Updated to use new color swatch widget.
165 2009-08-26 Jim Evins <evins@snaught.com>
168 Explicitely mark file types. Removed unneeded file from
171 2009-08-23 Jim Evins <evins@snaught.com>
173 * data/builder/Makefile.am:
174 * data/builder/merge-properties-dialog.builder:
175 * data/builder/merge-properties-dialog.glade:
176 * data/builder/new-label-dialog.builder:
177 * data/builder/new-label-dialog.glade:
178 * data/builder/object-editor.builder:
179 * data/builder/object-editor.glade:
180 * data/builder/prefs-dialog.builder:
181 * data/builder/prefs-dialog.glade:
182 * data/builder/print-custom-widget.builder:
183 * data/builder/print-custom-widget.glade:
184 * data/builder/property-bar.builder:
185 * data/builder/property-bar.glade:
186 * data/builder/template-designer.builder:
187 * data/builder/template-designer.glade:
188 * data/builder/wdgt-media-select.builder:
189 * data/builder/wdgt-media-select.glade:
191 * src/merge-properties-dialog.c:
192 (gl_merge_properties_dialog_finalize),
193 (gl_merge_properties_dialog_construct):
194 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
195 (gl_new_label_dialog_construct):
196 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
197 * src/object-editor-data-page.c:
198 (gl_object_editor_prepare_data_page):
199 * src/object-editor-edit-page.c:
200 (gl_object_editor_prepare_edit_page):
201 * src/object-editor-fill-page.c:
202 (gl_object_editor_prepare_fill_page):
203 * src/object-editor-image-page.c:
204 (gl_object_editor_prepare_image_page):
205 * src/object-editor-line-page.c:
206 (gl_object_editor_prepare_line_page):
207 * src/object-editor-lsize-page.c:
208 (gl_object_editor_prepare_lsize_page):
209 * src/object-editor-position-page.c:
210 (gl_object_editor_prepare_position_page):
211 * src/object-editor-private.h:
212 * src/object-editor-shadow-page.c:
213 (gl_object_editor_prepare_shadow_page):
214 * src/object-editor-size-page.c:
215 (gl_object_editor_prepare_size_page):
216 * src/object-editor-text-page.c:
217 (gl_object_editor_prepare_text_page):
218 * src/object-editor.c: (gl_object_editor_init),
219 (gl_object_editor_finalize):
220 * src/prefs-dialog.c: (gl_prefs_dialog_init),
221 (gl_prefs_dialog_finalize), (gl_prefs_dialog_construct),
222 (construct_locale_page), (construct_object_page):
223 * src/print-op.c: (gl_print_op_finalize),
224 (gl_print_op_set_settings), (create_custom_widget_cb):
225 * src/template-designer.c: (gl_template_designer_init),
226 (gl_template_designer_finalize), (construct_start_page),
227 (construct_name_page), (construct_pg_size_page),
228 (construct_shape_page), (construct_rect_size_page),
229 (construct_round_size_page), (construct_cd_size_page),
230 (construct_nlayouts_page), (construct_layout_page),
231 (construct_finish_page):
232 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
233 (gl_ui_property_bar_construct):
234 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
235 (gl_wdgt_media_select_construct):
236 Builder files no longer built from glade files. Also did some
237 cleanup on formatting and update license notifications to GPL3+.
239 2009-08-13 Jim Evins <evins@snaught.com>
241 * src/color-combo-color-menu-item.c:
242 (gl_color_combo_color_menu_item_init),
243 (gl_color_combo_color_menu_item_new),
244 (gl_color_combo_color_menu_item_set_color):
245 Explicitly request size of menu item and enlarge color swatch.
247 2009-08-12 Jim Evins <evins@snaught.com>
249 * src/label-text.c: (buffer_changed_cb), (draw_object),
250 (draw_shadow), (draw_text_real):
252 Moved common code from draw_object() and draw_shadow() to
253 draw_text_real(). Also cleaned up formatting and updated
254 license notification to GPL3+.
256 2009-07-29 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
258 * po/ru.po: Updated and fixed Russian translation
260 2009-07-26 Jim Evins <evins@snaught.com>
263 * COPYING.README_FIRST:
267 Added 3rd party qrencode library.
269 * src/bc-iec18004.c: (gl_barcode_iec18004_new), (render_iec18004):
272 Added IEC18004 (QRCode) 2 dimensional barcode backend.
273 Patch provided by Daniel Mueller <daniel@danm.de>.
275 2009-07-25 Jim Evins <evins@snaught.com>
277 * src/xml-label.c: (gl_xml_label_open):
278 Relax limits when parsing file. Allows large embedded image
281 2009-05-19 Jim Evins <evins@snaught.com>
285 Moved translation list from configure.in to po/LINGUAS.
287 2009-05-19 Jim Evins <evins@snaught.com>
291 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
293 Added above translation to acknowledgements.
295 2009-05-18 Jim Evins <evins@snaught.com>
297 * src/prefs-model.c: (gl_prefs_model_load_settings):
298 Make an educated guess at locale settings when run for the
301 2009-05-17 Jim Evins <evins@snaught.com>
304 * help/glabels.omf.in:
305 Adding missing files from last checkin.
307 2009-05-17 Jim Evins <evins@snaught.com>
311 * help/C/glabels-C.omf:
312 * help/C/glabels.xml:
315 Updated german translation, gnome-doc-utils support and
316 german translation of glabels manual (Mario Blättermann).
318 2009-05-01 Jim Evins <evins@snaught.com>
323 Added catalan translation (David Planella).
325 2009-04-29 Jim Evins <evins@snaught.com>
327 * data/templates/avery-iso-templates.xml:
328 * data/templates/misc-iso-templates.xml:
329 * data/templates/misc-us-templates.xml:
330 Caught up on user submitted templates.
332 Acknowledgements for above templates.
334 2009-04-29 Jim Evins <evins@snaught.com>
338 Updated german translation (Mario Blättermann).
340 2009-03-23 Jim Evins <evins@snaught.com>
342 * src/glabels-batch.c: (main):
343 * src/glabels.c: (main):
344 Tidy up help option output.
346 2009-02-28 Jim Evins <evins@snaught.com>
351 Deleted base64 module.
352 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
353 Use base64 encode/decode from glib.
355 2009-02-22 Jim Evins <evins@snaught.com>
357 * src/merge-properties-dialog.h:
358 * src/new-label-dialog.h:
359 * src/object-editor.h:
360 * src/prefs-dialog.h:
362 * src/template-designer.h:
363 Corrected cut&paste errors.
365 2009-02-21 JimEvins <evins@snaught.com>
367 * src/prefs-model.c: (gl_prefs_model_save_settings),
368 (gl_prefs_model_load_settings):
371 * src/ui-property-bar.c:
372 * src/ui.c: (view_ui_item_toggled_cb),
373 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
374 Removed tooltip toggling capability, which wasn't working
377 2009-02-21 JimEvins <evins@snaught.com>
381 * data/builder/object-editor.glade:
382 * data/builder/prefs-dialog.glade:
383 * data/builder/property-bar.glade:
384 * data/builder/template-designer.glade:
386 * src/color-combo-color-menu-item.c:
387 * src/color-combo-color-menu-item.h:
388 * src/color-combo-menu.h:
389 * src/glabels-batch.c: (main):
390 * src/glabels.c: (main):
391 * src/merge-properties-dialog.h:
392 * src/new-label-dialog.h:
393 * src/object-editor-lsize-page.c:
394 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
395 * src/object-editor.h:
396 * src/prefs-dialog.h:
398 * src/template-designer.h:
399 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
400 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
401 * src/ui-property-bar.c:
402 * src/ui-property-bar.h:
403 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
404 (selection_changed_cb):
407 * src/wdgt-media-select.h:
408 * src/wdgt-merge-menu.h:
409 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
410 * src/wdgt-mini-preview.h:
411 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
412 * src/wdgt-print-copies.h:
413 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
414 * src/wdgt-print-merge.h:
415 * src/wdgt-rotate-label.h:
417 Removed final dependencies on libgnome and libgnomeui.
418 Removed all currently deprecated symbols as of GTK 2.14.
420 2009-01-07 Jim Evins <evins@snaught.com>
422 * src/critical-error-handler.c: (critical_error_handler):
423 * src/ui-commands.c: (gl_ui_cmd_help_contents):
424 * src/warning-handler.c: (warning_handler):
425 * src/view.c: (selection_received_cb):
426 Compile without warning with additional CFLAGS of
427 -O1 -Wall -Wformat=2.
429 2009-01-02 Jim Evins <evins@snaught.com>
431 * COPYING.README_FIRST:
434 2008-12-27 Jim Evins <evins@snaught.com>
436 * data/templates/avery-iso-templates.xml:
437 * data/templates/avery-other-templates.xml:
438 * data/templates/avery-us-templates.xml:
439 * data/templates/brother-other-templates.xml:
440 * data/templates/misc-iso-templates.xml:
441 * data/templates/misc-other-templates.xml:
442 * data/templates/zweckform-iso-templates.xml:
443 Make sure all descriptions are marked as translatable.
445 2008-12-27 Jim Evins <evins@snaught.com>
448 Updated german translation (Mario Blättermann)
450 Updated credits to reflect above translation.
451 * data/builder/object-editor.glade:
452 * data/builder/prefs-dialog.glade:
453 * data/builder/template-designer.glade:
454 Removed "translatable" attribute from whitespace strings,
455 which are used only to help layout.
457 2008-12-21 Jim Evins <evins@snaught.com>
459 * data/templates/avery-us-templates.xml:
460 * data/templates/misc-iso-templates.xml:
461 A couple of recent template submissions.
463 Acknowledgements for above templates.
465 2008-12-21 Jim Evins <evins@snaught.com>
467 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
468 Don't check for handles on aggregate selections.
470 2008-12-20 Jim Evins <evins@snaught.com>
473 Updated prerequisite library versions required.
475 2008-12-18 Jim Evins <evins@snaught.com>
477 * src/view.c: (selection_received_cb):
478 Fixed paste bug that caused a duplicate phantom view_object to be created for
479 each new label_object. This is because the view now (as of r673) the view
480 monitiors the label for new objects and creates view_objects automatically.
482 2008-12-14 Jim Evins <evins@snaught.com>
484 * src/ui.c: (gl_ui_new):
485 Bug #2395628. Fixed i18n for application shell.
487 Bug #2395628. Reconciled POTFILES.in with current files.
489 2008-12-14 Jim Evins <evins@snaught.com>
492 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
494 2008-11-15 Jim Evins <evins@snaught.com>
496 * libglabels/db.c: (lgl_db_register_template):
497 * libglabels/xml-template.c:
498 (lgl_xml_template_parse_template_node):
499 * src/glabels-batch.c:
500 * src/view-text.c: (gl_view_text_create_button_press_event):
501 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
503 2008-11-09 Jim Evins <evins@snaught.com>
505 * data/templates/misc-iso-templates.xml:
506 Another user submitted template.
508 2008-10-27 Jim Evins <evins@snaught.com>
510 * data/templates/avery-us-templates.xml:
511 * data/templates/misc-iso-templates.xml:
512 * data/templates/zweckform-iso-templates.xml:
513 Caught up on user submitted templates.
515 Acknowledgements for above templates.
517 2008-10-23 Jim Evins <evins@snaught.com>
519 * src/label-text.c: (set_font_family):
520 * src/object-editor-text-page.c:
521 (gl_object_editor_prepare_text_page),
522 (gl_object_editor_set_font_family):
523 * src/prefs-dialog.c: (construct_object_page),
524 (update_object_page_from_prefs):
525 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
526 (reset_to_default_properties):
527 * src/util.c: (gl_util_get_font_family_list):
529 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
530 everytime the list is requested.
531 * src/object-editor-text-page.c:
532 (gl_object_editor_set_font_family):
533 Don't change font-family if it hasn't actually changed.
535 2008-10-19 Jim Evins <evins@snaught.com>
537 * data/builder/object-editor.glade:
538 Some tweaking of builder/glade widgets.
540 2008-10-18 Jim Evins <evins@snaught.com>
542 Migrated all use of libglade to GtkBuilder.
544 * data/glade/Makefile.am:
545 * data/glade/merge-properties-dialog.glade:
546 * data/glade/new-label-dialog.glade:
547 * data/glade/object-editor.glade:
548 * data/glade/prefs-dialog.glade:
549 * data/glade/print-custom-widget.glade:
550 * data/glade/property-bar.glade:
551 * data/glade/template-designer.glade:
552 * data/glade/wdgt-media-select.glade:
553 Removed data/glade directory.
554 * data/builder/Makefile.am:
555 * data/builder/merge-properties-dialog.glade:
556 * data/builder/new-label-dialog.glade:
557 * data/builder/object-editor.glade:
558 * data/builder/prefs-dialog.glade:
559 * data/builder/print-custom-widget.glade:
560 * data/builder/property-bar.glade:
561 * data/builder/template-designer.glade:
562 * data/builder/wdgt-media-select.glade:
563 Added data/builder directory.
567 Change glade to builder.
568 * src/merge-properties-dialog.c:
569 (gl_merge_properties_dialog_finalize),
570 (gl_merge_properties_dialog_construct):
571 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
572 (gl_new_label_dialog_construct):
573 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
574 * src/object-editor-data-page.c:
575 (gl_object_editor_prepare_data_page):
576 * src/object-editor-edit-page.c:
577 (gl_object_editor_prepare_edit_page):
578 * src/object-editor-fill-page.c:
579 (gl_object_editor_prepare_fill_page):
580 * src/object-editor-image-page.c:
581 (gl_object_editor_prepare_image_page):
582 * src/object-editor-line-page.c:
583 (gl_object_editor_prepare_line_page):
584 * src/object-editor-lsize-page.c:
585 (gl_object_editor_prepare_lsize_page):
586 * src/object-editor-position-page.c:
587 (gl_object_editor_prepare_position_page):
588 * src/object-editor-private.h:
589 * src/object-editor-shadow-page.c:
590 (gl_object_editor_prepare_shadow_page):
591 * src/object-editor-size-page.c:
592 (gl_object_editor_prepare_size_page):
593 * src/object-editor-text-page.c:
594 (gl_object_editor_prepare_text_page):
595 * src/object-editor.c: (gl_object_editor_init):
596 * src/prefs-dialog.c: (gl_prefs_dialog_init),
597 (gl_prefs_dialog_construct), (construct_locale_page),
598 (construct_object_page):
599 * src/print-op.c: (gl_print_op_finalize),
600 (create_custom_widget_cb):
601 * src/template-designer.c: (gl_template_designer_class_init),
602 (gl_template_designer_finalize), (gl_template_designer_construct),
603 (construct_start_page), (construct_name_page),
604 (construct_pg_size_page), (construct_shape_page),
605 (construct_rect_size_page), (construct_round_size_page),
606 (construct_cd_size_page), (construct_nlayouts_page),
607 (construct_layout_page), (construct_finish_page):
608 * src/template-designer.h:
609 * src/ui-property-bar.c: (gl_ui_property_bar_init),
610 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
611 (gl_ui_property_bar_construct), (reset_to_default_properties),
612 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
613 (update_text_properties), (update_fill_color), (update_line_color),
614 (update_line_width), (selection_changed_cb),
615 (font_family_changed_cb), (font_size_changed_cb),
616 (text_color_changed_cb), (fill_color_changed_cb),
617 (line_color_changed_cb), (line_width_changed_cb),
618 (font_bold_toggled_cb), (font_italic_toggled_cb),
619 (text_align_toggled_cb), (set_doc_items_sensitive),
620 (set_text_items_sensitive), (set_fill_items_sensitive),
621 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
622 * src/ui-property-bar.h:
623 * src/util.c: (gl_util_get_builder_widgets):
625 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
626 (gl_wdgt_media_select_construct):
627 Migration of glade to builder.
629 New macros for color combo initialization.
631 Added idea for internal merge database.
632 * docs/libglabels/libglabels-undocumented.txt:
633 * docs/libglabels/tmpl/paper.sgml:
637 2008-10-12 Jim Evins <evins@snaught.com>
639 * src/mygal/Makefile.am:
640 * src/mygal/color-group.c:
641 * src/mygal/color-group.h:
642 * src/mygal/color-palette.c:
643 * src/mygal/color-palette.h:
644 * src/mygal/e-colors.c:
645 * src/mygal/e-colors.h:
646 * src/mygal/e-marshal.list:
647 * src/mygal/e-util.h:
648 * src/mygal/mygal-combo-box.c:
649 * src/mygal/mygal-combo-box.h:
650 * src/mygal/widget-color-combo.c:
651 * src/mygal/widget-color-combo.h:
657 * src/color-combo-color-menu-item.c:
658 * src/color-combo-color-menu-item.h:
659 * src/color-combo-history.c:
660 * src/color-combo-history.h:
661 * src/color-combo-menu.c:
662 * src/color-combo-menu.h:
667 Created new glColorCombo widget.
668 * src/object-editor-bc-page.c:
669 * src/object-editor-edit-page.c:
670 * src/object-editor-fill-page.c:
671 * src/object-editor-line-page.c:
672 * src/object-editor-shadow-page.c:
673 * src/object-editor-text-page.c:
674 * src/object-editor.c:
675 * src/prefs-dialog.c:
676 * src/ui-property-bar.c:
677 Replaced use of mygal color combo with new glColorCombo widget.
679 2008-08-29 Jim Evins <evins@snaught.com>
681 * src/file.c: (gl_file_open), (gl_file_save_as):
682 Bug #2069668. Corrected button order in Open and "Save as"
685 2008-08-17 Jim Evins <evins@snaught.com>
687 * data/dtd/glabels-2.2.dtd:
688 * data/templates/paper-sizes.xml:
689 * libglabels/db.c: (lgl_db_init):
690 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
691 * libglabels/paper.h:
692 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
693 * src/print-op.c: (set_page_size):
694 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
695 size specification) to the libglabels paper database to allow the page size to be
696 communicated to GtkPrintOp un-ambiguously.
698 2008-07-25 Jim Evins <evins@snaught.com>
700 * src/object-editor-size-page.c: (size_reset_cb),
701 (gl_object_editor_set_max_size):
702 Bug #1993550. Set size limits based on longest side of label.
704 2008-07-19 Jim Evins <evins@snaught.com>
707 * src/mygal/Makefile.am:
708 Make sure libtool handles library dependencies for mygal
711 2008-05-21 Jim Evins <evins@snaught.com>
713 * src/glabels-batch.c: (main):
714 Bug #1968653. Initialize prefs subsystem.
716 2008-05-09 Jim Evins <evins@snaught.com>
718 * data/glade/object-editor.glade:
719 Bug #1959135. A couple of radio buttons somehow became
722 2008-04-07 Jim Evins <evins@snaught.com>
724 * src/wdgt-rotate-label.h:
725 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
726 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
727 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
728 (gl_wdgt_rotate_label_set_template_name):
729 Modified wdgt-rotate-label to better indicate the rotation choices.
730 * data/glade/Makefile.am:
731 * data/glade/wdgt-rotate-label.glade:
732 Deleted wdgt-rotate-label.glade.
734 2008-04-04 Jim Evins <evins@snaught.com>
736 * data/templates/brother-other-templates.xml:
737 Added categories to existing templates.
738 * data/templates/misc-other-templates.xml:
739 Moved dymo templates to their own file.
740 * data/templates/Makefile.am:
741 * data/templates/dymo-other-templates.xml:
742 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
744 Acknowledgement for above templates.
746 2008-03-24 Jim Evins <evins@snaught.com>
748 * src/xml-label.c: (xml_doc_to_label):
749 Bug #1872584. Don't refuse to parse label file if namespace is
750 unrecognized -- it may be from a newer version of glabels.
752 2008-03-15 Jim Evins <evins@snaught.com>
754 * data/templates/Makefile.am:
755 * data/templates/brother-other-templates.xml:
756 Added brother templates.
757 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
758 (gl_cairo_markup_margin_cd_path):
759 * src/view.c: (draw_markup_layer):
760 Fixed markup drawing errors when label is rotated.
762 2008-03-03 Jim Evins <evins@snaught.com>
766 Added korean translation provided by xein@naver.com.
768 2008-02-21 Jim Evins <evins@snaught.com>
771 Fixed typo that prevented "Save" from being deactivated when
772 document is not modified.
774 2008-02-18 Jim Evins <evins@snaught.com>
776 * src/prefs-model.c: (gl_prefs_model_save_settings),
777 (gl_prefs_model_load_settings):
778 Set default units for file output.
780 2008-02-18 Jim Evins <evins@snaught.com>
782 * help/C/glabels.xml:
783 Fixed example template.
785 2008-02-16 Jim Evins <evins@snaught.com>
788 * data/templates/avery-iso-templates.xml:
789 * data/templates/avery-us-templates.xml:
790 * data/templates/misc-iso-templates.xml:
791 * data/templates/misc-us-templates.xml:
792 Caught up on user submitted templates.
794 2008-02-04 Jim Evins <evins@snaught.com>
796 * src/view-image.c: (update_object_from_editor_cb):
797 Bug #1886438. Don't update the image size unless it is actually
798 triggered by a change in image source. The result of this bug
799 was that any attempt to edit the size spinboxes, immediately
802 2008-02-03 Jim Evins <evins@snaught.com>
804 * src/label-image.c: (gl_label_image_class_init), (set_size):
805 Enforce minimum size for images.
807 2008-02-03 Jim Evins <evins@snaught.com>
809 * src/object-editor-edit-page.c: (field_selected_cb):
810 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
811 * src/object-editor-private.h:
812 * src/object-editor-shadow-page.c:
813 (gl_object_editor_set_max_shadow_offset):
814 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
815 * src/object-editor.c: (gl_object_editor_finalize),
816 (gl_object_editor_new), (gl_object_notebook_construct_valist),
818 * src/object-editor.h:
819 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
820 * src/view-barcode.c: (construct_properties_editor):
821 * src/view-box.c: (construct_properties_editor):
822 * src/view-ellipse.c: (construct_properties_editor):
823 * src/view-image.c: (construct_properties_editor):
824 * src/view-line.c: (construct_properties_editor):
825 * src/view-object.c: (gl_view_object_finalize):
826 * src/view-text.c: (construct_properties_editor),
827 Move update_editor_from_label callback from individual view objects
828 to the object editor, so that signals can be disconnected when
829 object editor is finalized.
830 * src/view-text.c: (gl_view_text_create_button_press_event):
831 Fixed bug that caused multiple view objects to be created for a
832 single text object. This bug would manifest itself as a crash
833 when deleting multi-object selections which included text objects.
835 2008-02-02 Jim Evins <evins@snaught.com>
838 * src/wdgt-merge-menu.c:
839 * src/wdgt-merge-menu.h:
840 * src/debug.c: (gl_debug_init):
843 New merge menu widget.
844 * data/glade/object-editor.glade:
845 * src/object-editor-private.h:
846 * src/object-editor.c: (gl_object_editor_set_key_names):
847 * src/object-editor-edit-page.c:
848 (gl_object_editor_prepare_edit_page), (field_selected_cb),
850 Simplified UI for inserting fields into text objects by launching
851 a merge menu and directly inserting fields from the menu. No more
852 selecting field in combobox, then pressing insert button.
854 2008-01-31 Jim Evins <evins@snaught.com>
856 * src/label-barcode.c: (draw_object):
857 Fixed rendering problem when "Invalid data" is displayed when text
858 object is lower in stacking order.
860 2008-01-30 Jim Evins <evins@snaught.com>
862 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
863 Don't turn off cairo_hint_metrics. This causes serious issues with
866 2008-01-29 Jim Evins <evins@snaught.com>
868 * src/print-op.c: (gl_print_op_construct),
869 (gl_print_op_construct_batch), (set_page_size):
870 Explicitly set page size for "other" page sizes.
872 2008-01-25 Jim Evins <evins@snaught.com>
875 Fixed Code128C backend parameters.
876 * src/label-barcode.c: (get_size):
877 Bug #1766425. If barcode is not renderable with either
878 input data or default data, use a default size. Also
881 2008-01-16 Jim Evins <evins@snaught.com>
883 * src/print.c: (print_label):
884 Bug #1872568. Don't apply special transforms (rotate and
885 mirror) to clipping region or outline.
887 2008-01-01 Jim Evins <evins@snaught.com>
890 Sort font lists alphabetically.
892 2008-01-01 Jim Evins <evins@snaught.com>
894 * src/merge-evolution.c:
895 Do a case-insensitive sort.
897 2008-01-01 Jim Evins <evins@snaught.com>
899 * src/merge-evolution.c:
900 Sort evolution by "file_under" field. Original patch provided
901 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
904 Added acknowledgement for above patch.
906 2008-01-01 Jim Evins <evins@snaught.com>
911 Reconcile with 2.2 branch.
914 2007-12-21 Jim Evins <evins@snaught.com>
916 * COPYING.LIBGLABELS:
917 * COPYING.README_FIRST:
919 Updating license information to make more complete and understandable.
921 2007-12-16 Jim Evins <evins@snaught.com>
924 Updated version to 2.pre2.
925 * help/C/glabels.xml:
926 Updated documentation.
927 * src/ui-commands.c: (gl_ui_cmd_help_about):
928 Updated copyright string.
930 2007-12-15 Jim Evins <evins@snaught.com>
932 * data/glade/object-editor.glade:
933 Removed any GtkTable that contained a GtkComboBox because the size of
934 the combo box was not constrained properly. This sacrifices the nice
935 orderly labels for combo boxes that don't extend beyond the edge of the
938 2007-12-15 Jim Evins <evins@snaught.com>
940 * libglabels/db.c: (lgl_db_lookup_template_from_name):
941 * src/object-editor.c: (gl_object_editor_finalize):
942 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
943 Fixed several small memory leaks.
945 2007-12-14 Jim Evins <evins@snaught.com>
948 Optimize template search by name by using a GHashTable.
949 * src/mini-preview-pixbuf-cache.c:
950 * src/mini-preview-pixbuf-cache.h:
951 Store one pixbuf per template, but use a key for each alias.
952 * src/wdgt-media-select.c:
953 Optimize loading of tree data, thus optimizing the "new label" dialog.
955 2007-12-12 Jim Evins <evins@snaught.com>
957 * data/templates/avery-us-templates.xml:
958 More templates and aliases.
960 2007-12-08 Jim Evins <evins@snaught.com>
963 More prep for 2.1.5/2.2.0.
965 2007-12-08 Jim Evins <evins@snaught.com>
971 Preparation for 2.1.5.
973 2007-12-08 Jim Evins <evins@snaught.com>
975 * docs/libglabels/libglabels-decl-list.txt:
976 * docs/libglabels/libglabels-docs.sgml:
977 * docs/libglabels/libglabels-sections.txt:
978 * docs/libglabels/libglabels-undocumented.txt:
979 * docs/libglabels/tmpl/db.sgml:
980 * docs/libglabels/tmpl/str.sgml:
982 Documentation cleanup for libglabels.
984 2007-11-29 Jim Evins <evins@snaught.com>
988 Added lgl_db_does_template_name_exist().
989 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
992 Proof read recent templates -- make sure they still exist.
993 * src/wdgt-media-select.c:
994 Default to "search all templates" tab if no recent templates found.
996 2007-11-28 Jim Evins <evins@snaught.com>
998 * data/glade/wdgt-media-select.glade:
999 * src/wdgt-media-select.c:
1000 Added tabbed notebook to allow selection of recent template versus searching the
1004 2007-11-26 Jim Evins <evins@snaught.com>
1006 * libglabels/Makefile.am:
1007 * libglabels/libglabels.h:
1010 * src/prefs-dialog.c:
1011 * src/prefs-model.c:
1012 * src/prefs-model.h:
1015 Added tracking of recently used templates.
1017 2007-11-20 Jim Evins <evins@snaught.com>
1019 * data/glade/template-designer.glade:
1020 * src/template-designer.c:
1021 Added warning icon when match brand and part match an existing template.
1023 2007-11-18 Jim Evins <evins@snaught.com>
1025 * libglabels/Makefile.am:
1028 Added lgl_str_utf8_casecmp().
1029 * libglabels/libglabels-private.h:
1030 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
1031 * libglabels/db.c: (lgl_db_get_brand_list):
1032 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
1035 2007-11-18 Jim Evins <evins@snaught.com>
1037 * data/glade/template-designer.glade:
1038 * src/template-designer.c:
1039 Don't advance past name page, if brand and part match an existing template.
1041 2007-11-18 Jim Evins <evins@snaught.com>
1043 * libglabels/db.c: (lgl_db_register_template), (read_templates):
1044 When registering a new template, don't add to "User defined" category before
1045 writing to file. Add to "User defined" category when reading from "~/.glabels"
1046 directory instead. This will allow legacy templates (and manually created
1047 templates) to be automatically added to the "user defined" category.
1048 * libglabels/xml-template.c:
1049 (lgl_xml_template_create_template_node):
1050 Fixed typo/bug causing brand to be wrong.
1052 2007-11-16 Jim Evins <evins@snaught.com>
1056 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
1057 function. Automatically create "User defined" category and add to all user
1058 registered templates.
1059 * libglabels/xml-template.c:
1060 * libglabels/xml-template.h:
1061 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
1062 lgl_xml_template_write_template_to_file().
1063 * docs/libglabels/libglabels-decl-list.txt:
1064 * docs/libglabels/libglabels-sections.txt:
1065 * docs/libglabels/libglabels-undocumented.txt:
1066 * docs/libglabels/tmpl/db.sgml:
1067 * docs/libglabels/tmpl/xml-template.sgml:
1068 Update documentation to reflect above changes.
1070 2007-10-28 Jim Evins <evins@snaught.com>
1072 * libglabels/xml-template.c:
1073 Remove any leading white space from part #s when parsing old names.
1074 * src/mini-preview-pixbuf-cache.c:
1075 If name isn't in cache add it.
1077 2007-10-26 Jim Evins <evins@snaught.com>
1079 * libglabels/Makefile.am:
1080 * libglabels/category.c:
1081 * libglabels/category.h:
1084 * libglabels/libglabels-private.h:
1085 * libglabels/libglabels.h:
1086 * libglabels/paper.c:
1087 * libglabels/paper.h:
1088 * libglabels/template.c:
1089 * libglabels/template.h:
1090 * libglabels/xml-template.c:
1091 Another pass at screwing with the libglabels API. Moved all
1092 database related stuff to db.[ch].
1093 * docs/libglabels/libglabels-decl-list.txt:
1094 * docs/libglabels/libglabels-docs.sgml:
1095 * docs/libglabels/libglabels-sections.txt:
1096 * docs/libglabels/libglabels-undocumented.txt:
1097 * docs/libglabels/tmpl/category.sgml:
1098 * docs/libglabels/tmpl/db.sgml:
1099 * docs/libglabels/tmpl/init.sgml:
1100 * docs/libglabels/tmpl/libglabels-unused.sgml:
1101 * docs/libglabels/tmpl/paper.sgml:
1102 * docs/libglabels/tmpl/template-construction.sgml:
1103 * docs/libglabels/tmpl/template-db.sgml:
1104 * docs/libglabels/tmpl/template-misc.sgml:
1105 * docs/libglabels/tmpl/template-struct.sgml:
1106 * docs/libglabels/tmpl/template.sgml:
1107 Updated documentation to reflect above changes to libglabels API.
1109 * src/glabels-batch.c:
1111 * src/mini-preview-pixbuf-cache.c:
1112 * src/prefs-model.c:
1114 * src/template-designer.c:
1115 * src/wdgt-media-select.c:
1116 * src/wdgt-mini-preview.c:
1117 * src/wdgt-rotate-label.c:
1118 * src/xml-label-04.c:
1120 Reconciled usage with above libglabels API changes.
1122 2007-10-21 Jim Evins <evins@snaught.com>
1124 * data/glade/wdgt-media-select.glade:
1125 * src/wdgt-media-select.c:
1126 Added brand to filter settings.
1128 2007-10-21 Jim Evins <evins@snaught.com>
1130 * data/dtd/glabels-2.2.dtd:
1131 Forgot to replace Alias name attribute with brand and part attributes.
1132 * data/templates/avery-iso-templates.xml:
1133 * data/templates/avery-other-templates.xml:
1134 * data/templates/avery-us-templates.xml:
1135 * data/templates/misc-iso-templates.xml:
1136 * data/templates/misc-other-templates.xml:
1137 * data/templates/misc-us-templates.xml:
1138 * data/templates/zweckform-iso-templates.xml:
1139 Replaced all name attributes with brand/part attribute pairs.
1141 2007-10-20 Jim Evins <evins@snaught.com>
1143 * src/stock-pixmaps/*.png
1144 Updated icons to use Tango color palette.
1146 2007-10-20 Jim Evins <evins@snaught.com>
1148 * data/dtd/Makefile.am:
1149 * data/dtd/glabels-2.0.dtd:
1150 * data/dtd/glabels-2.2.dtd:
1151 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
1153 * libglabels/template.c:
1154 * libglabels/template.h:
1155 * libglabels/xml-template.c:
1157 Added brand and part attributes to template and alias structures and nodes.
1160 * src/mini-preview-pixbuf-cache.c:
1161 * src/template-designer.c:
1162 * src/wdgt-media-select.c:
1163 Use modified libglabels API.
1164 * docs/libglabels/libglabels-decl-list.txt:
1165 * docs/libglabels/libglabels-sections.txt:
1166 * docs/libglabels/libglabels-undocumented.txt:
1167 * docs/libglabels/tmpl/template-construction.sgml:
1168 * docs/libglabels/tmpl/template-db.sgml:
1169 * docs/libglabels/tmpl/template-struct.sgml:
1170 Update libglabels documentation to reflect above modifications.
1172 2007-10-14 Jim Evins <evins@snaught.com>
1174 * docs/libglabels/libglabels-decl-list.txt:
1175 * docs/libglabels/libglabels-sections.txt:
1176 * docs/libglabels/libglabels-undocumented.txt:
1177 * docs/libglabels/tmpl/category.sgml:
1178 * libglabels/category.c:
1179 * libglabels/category.h:
1180 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
1181 parity with paper functions.
1183 2007-10-12 Jim Evins <evins@snaught.com>
1185 * docs/libglabels/libglabels-decl-list.txt:
1186 * docs/libglabels/libglabels-sections.txt:
1187 * docs/libglabels/libglabels-undocumented.txt:
1188 * docs/libglabels/tmpl/category.sgml:
1189 * docs/libglabels/tmpl/enums.sgml:
1190 * docs/libglabels/tmpl/libglabels-unused.sgml:
1191 * docs/libglabels/tmpl/paper.sgml:
1192 * docs/libglabels/tmpl/template-struct.sgml:
1193 * libglabels/init.c:
1194 * libglabels/template.c:
1195 * libglabels/template.h:
1196 Another pass at fleshing out the libglabels documentation.
1197 * src/cairo-label-path.c:
1198 * src/cairo-markup-path.c:
1200 * src/mini-preview-pixbuf.c:
1204 * src/wdgt-media-select.c:
1205 * src/wdgt-mini-preview.c:
1206 * src/wdgt-print-copies.c:
1207 * src/wdgt-print-merge.c:
1208 * src/wdgt-rotate-label.c:
1209 Removed lgl_template_get_first_frame() from libglabels API and all references.
1211 2007-10-11 Jim Evins <evins@snaught.com>
1213 Extended checks for deprecated symbols.
1214 * libglabels/template.c:
1215 Removed g_strcasecmp references, which are deprecated.
1217 2007-10-09 Jim Evins <evins@snaught.com>
1219 * src/merge-evolution.c:
1220 Create address book if it does not exist. Also, be more robust about handling
1221 error conditions -- don't just assume GError has been set.
1223 2007-10-08 Jim Evins <evins@snaught.com>
1225 * libglabels/template.c:
1226 * libglabels/xml-template.c:
1227 * src/template-designer.c:
1228 Missed some symbols with libglabels API work.
1230 2007-10-01 Jim Evins <evins@snaught.com>
1232 * docs/libglabels/libglabels-decl-list.txt:
1233 * docs/libglabels/libglabels-docs.sgml:
1234 * docs/libglabels/libglabels-sections.txt:
1235 * docs/libglabels/libglabels-undocumented.txt:
1236 * docs/libglabels/tmpl/category.sgml:
1237 * docs/libglabels/tmpl/enums.sgml:
1238 * docs/libglabels/tmpl/init.sgml:
1239 * docs/libglabels/tmpl/libglabels-unused.sgml:
1240 * docs/libglabels/tmpl/paper.sgml:
1241 * docs/libglabels/tmpl/template-construction.sgml:
1242 * docs/libglabels/tmpl/template-db.sgml:
1243 * docs/libglabels/tmpl/template-misc.sgml:
1244 * docs/libglabels/tmpl/template-struct.sgml:
1245 * docs/libglabels/tmpl/template.sgml:
1246 * docs/libglabels/tmpl/xml-category.sgml:
1247 * docs/libglabels/tmpl/xml-template.sgml:
1248 * libglabels/category.h:
1249 * libglabels/init.c:
1250 * libglabels/libglabels-private.h:
1251 * libglabels/paper.h:
1252 * libglabels/template.c:
1253 * libglabels/template.h:
1254 * libglabels/xml-template.h:
1255 Basic documentation framework for libglabels updated. This still needs some
1258 2007-09-27 Jim Evins <evins@snaught.com>
1260 * docs/libglabels/libglabels-decl-list.txt:
1261 * docs/libglabels/libglabels-docs.sgml:
1262 * docs/libglabels/libglabels-sections.txt:
1263 * docs/libglabels/libglabels-undocumented.txt:
1264 * docs/libglabels/tmpl/enums.sgml:
1265 * docs/libglabels/tmpl/init.sgml:
1266 * docs/libglabels/tmpl/libglabels-unused.sgml:
1267 * docs/libglabels/tmpl/paper.sgml:
1268 * docs/libglabels/tmpl/template.sgml:
1269 * docs/libglabels/tmpl/xml-paper.sgml:
1270 * docs/libglabels/tmpl/xml-template.sgml:
1271 * docs/libglabels/tmpl/xml.sgml:
1272 * libglabels/Makefile.am:
1273 * libglabels/category.c:
1274 * libglabels/category.h:
1275 * libglabels/enums.h:
1276 * libglabels/init.c:
1277 * libglabels/init.h:
1278 * libglabels/libglabels-private.h:
1279 * libglabels/libglabels.h:
1280 * libglabels/paper.c:
1281 * libglabels/paper.h:
1282 * libglabels/template.c:
1283 * libglabels/template.h:
1284 * libglabels/xml-category.c:
1285 * libglabels/xml-category.h:
1286 * libglabels/xml-paper.c:
1287 * libglabels/xml-paper.h:
1288 * libglabels/xml-template.c:
1289 * libglabels/xml-template.h:
1292 * src/cairo-label-path.c:
1293 * src/cairo-label-path.h:
1294 * src/cairo-markup-path.c:
1295 * src/cairo-markup-path.h:
1297 * src/glabels-batch.c:
1299 * src/label-object.c:
1302 * src/mini-preview-pixbuf-cache.c:
1303 * src/mini-preview-pixbuf.c:
1304 * src/mini-preview-pixbuf.h:
1305 * src/prefs-dialog.c:
1306 * src/prefs-model.c:
1307 * src/prefs-model.h:
1312 * src/template-designer.c:
1313 * src/view-barcode.c:
1315 * src/view-ellipse.c:
1319 * src/wdgt-media-select.c:
1320 * src/wdgt-mini-preview.c:
1321 * src/wdgt-mini-preview.h:
1322 * src/wdgt-print-copies.c:
1323 * src/wdgt-print-merge.c:
1324 * src/wdgt-rotate-label.c:
1325 * src/xml-label-04.c:
1327 Major cleanup of libglabels API -- this breaks API compatibility with older
1328 development and stable versions -- as far as I know, there are currently
1329 no external users of this library yet.
1331 2007-09-14 Jim Evins <evins@snaught.com>
1336 * src/label-object.c:
1337 * src/label-object.h:
1338 * src/label-barcode.c:
1339 * src/label-ellipse.c:
1341 * src/view-object.c:
1342 * src/view-barcode.c:
1344 * src/view-ellipse.c:
1348 Better separation of model from view.
1350 2007-08-21 Jim Evins <evins@snaught.com>
1352 * src/print-op.c: (create_custom_widget_cb):
1353 Fix problem with force_outline_flag -- don't override with default.
1355 2007-08-21 Jim Evins <evins@snaught.com>
1357 * data/dtd/glabels-2.0.dtd:
1358 * libglabels/template.c:
1359 * libglabels/template.h:
1360 * libglabels/xml-template.c:
1361 * src/cairo-markup-path.c:
1362 Added "Markup-rect" element to template format.
1364 2007-08-21 Jim Evins <evins@snaught.com>
1367 Changed version to 2.1.pre5svn.
1368 * src/view.c: (draw_markup_layer):
1369 Do a stroke for each markup path, otherwise multiple markups
1372 2007-08-17 Jim Evins <evins@snaught.com>
1375 Bump libglabels revision numbers for 2.1.4 release.
1377 2007-08-16 Jim Evins <evins@snaught.com>
1380 Include subdir iec16022-0.2.1.
1384 Preparation for 2.1.4.
1387 2007-08-11 Jim Evins <evins@snaught.com>
1393 Added Esperanto translation. Provided by Antonio C.
1394 Codazzi "la Filozofo" <f_sophia@libero.it>.
1396 Updated French translation. Provided by Claude Paroz
1397 <claude@2xlibre.net>.
1399 Updated to reflect above translations.
1401 2007-08-11 Jim Evins <evins@snaught.com>
1404 * data/templates/avery-iso-templates.xml:
1405 * data/templates/avery-us-templates.xml:
1406 * data/templates/misc-iso-templates.xml:
1407 * data/templates/misc-other-templates.xml:
1408 * data/templates/misc-us-templates.xml:
1409 * data/templates/zweckform-iso-templates.xml:
1410 Caught up with backlog of template submissions.
1412 2007-08-10 Jim Evins <evins@snaught.com>
1414 * src/bc-postnet.c: (gl_barcode_postnet_new):
1416 Added support for Brazilian CEPNet barcodes. This is simply an
1417 instance of the US POSTNET format with 8 digits. Patch supplied
1418 by Mário Meyer in bug # 1768792.
1420 Updated acknowledgments to reflect above patch and recent shuffling
1421 of underlying technology.
1423 2007-05-13 Jim Evins <evins@snaught.com>
1425 * src/merge-text.c: (parse_line), (parse_field):
1426 Remove leading and trailing spaces from CSV fields, unless quoted.
1428 2007-05-09 Jim Evins <evins@snaught.com>
1430 * src/object-editor-bc-page.c:
1431 * src/object-editor-data-page.c:
1432 * src/object-editor-fill-page.c:
1433 * src/object-editor-image-page.c:
1434 * src/object-editor-line-page.c:
1435 * src/object-editor-lsize-page.c:
1436 * src/object-editor-position-page.c:
1437 * src/object-editor-private.h:
1438 * src/object-editor-shadow-page.c:
1439 * src/object-editor-size-page.c:
1440 * src/object-editor-text-page.c:
1441 * src/object-editor.c:
1442 * src/prefs-dialog.c:
1443 * src/template-designer.c:
1444 * src/ui-property-bar.c:
1445 * src/wdgt-media-select.c:
1446 Replaced signal block/unblock pairs with simple flags. This reduces
1447 some code clutter, hopefully making it easier to read.
1449 2007-05-05 Jim Evins <evins@snaught.com>
1451 * src/template-designer.c: (apply_cb):
1452 Add new template to mini-preview pixbuf cache.
1454 2007-05-03 Jim Evins <evins@snaught.com>
1456 * src/label-image.c: (gl_label_image_init), (draw_object):
1457 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1460 2007-05-02 Jim Evins <evins@snaught.com>
1462 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1463 (button_release_event_cb):
1464 Removed attempt at rendering optimization by clipping the updates
1465 to areas affected -- this actually seemed to hurt update performance.
1467 2007-04-30 Jim Evins <evins@snaught.com>
1470 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1471 (gl_color_node_equal), (gl_color_node_expand):
1472 * src/label-barcode.c: (draw_object):
1473 * src/label-box.c: (draw_object), (draw_shadow):
1474 * src/label-ellipse.c: (draw_object), (draw_shadow):
1475 * src/label-line.c: (draw_object), (draw_shadow):
1476 * src/label-text.c: (draw_object), (draw_shadow):
1477 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1478 * src/wdgt-rotate-label.c: (drawingarea_update):
1479 Some cleanup to color related code.
1481 2007-04-30 Jim Evins <evins@snaught.com>
1484 Added glLabelRegion structure type.
1485 * src/label-object.c: (gl_label_object_get_extent):
1486 * src/label-object.h:
1487 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1489 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1490 (gl_view_select_region), (gl_view_align_selection_left),
1491 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1492 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1493 (gl_view_align_selection_vcenter),
1494 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1495 (gl_view_move_selection), (gl_view_can_selection_text),
1496 (motion_notify_event_cb), (button_press_event_cb),
1497 (button_release_event_cb):
1498 - Reconcile with new gl_label_object_get_extent() API.
1499 - Use glLabelRegion for view->select_region.
1500 - Added gl_view_update_region() to clip updates to region.
1501 - Use gl_view_update_region() during manipulation of view->select_region.
1503 2007-04-26 Jim Evins <evins@snaught.com>
1505 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1506 (draw_label_outline):
1507 * src/print.c: (print_crop_marks), (draw_outline):
1508 * src/view-object.c: (gl_view_object_draw_handles):
1509 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1510 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1511 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1512 * src/wdgt-rotate-label.c: (drawingarea_update):
1513 Added defines for various magic numbers.
1515 2007-04-25 Jim Evins <evins@snaught.com>
1517 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1518 Scale text down. Cairo seems to render text too large.
1520 2007-04-25 Jim Evins <evins@snaught.com>
1523 * src/view.c: (gl_view_update), (expose_cb),
1524 (motion_notify_event_cb), (button_press_event_cb),
1525 (button_release_event_cb):
1526 - Try not to let updates get backed up.
1527 - Grab pointer when doing any drag operations.
1529 2007-04-11 Jim Evins <evins@snaught.com>
1531 * src/cairo-label-path.c: (gl_cairo_label_path),
1532 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1533 (gl_cairo_cd_label_path):
1534 * src/cairo-label-path.h:
1535 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1536 (draw_label_outline):
1537 * src/print.c: (draw_outline), (clip_to_outline):
1538 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1539 * src/wdgt-mini-preview.c: (draw_labels):
1540 * src/wdgt-rotate-label.c: (drawingarea_update):
1541 Modified to universally use gl_cairo_label_path() to create paths
1542 for labels. Added shadow to mini preview in rotate widget.
1544 2007-04-10 Jim Evins <evins@snaught.com>
1546 * libglabels/template.h:
1547 * libglabels/template.c: (gl_template_get_name_list_unique),
1548 (gl_template_get_name_list_all), (gl_template_from_name):
1549 Modified libglabels to allow you to get a list of all template names
1550 including all aliases or just a list of primary names of each unique
1553 * src/file.c: (gl_file_properties):
1554 * src/glabels.c: (main):
1555 * src/mini-preview-pixbuf-cache.h:
1556 * src/mini-preview-pixbuf-cache.c:
1557 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1558 (filter_changed_cb), (load_list):
1559 Added mini-preview pixbuf cache, so that only one mini-preview is
1560 needed for a unique template and gets reused for all aliases. These
1561 pixbufs will also live for the life of the program so they are not
1562 rebuilt everytime a new label dialog is invoked.
1563 * src/mini-preview-pixbuf.c: (draw_paper),
1564 (draw_rect_label_outline), (draw_round_label_outline),
1565 (draw_cd_label_outline):
1566 Removed some comment artifacts.
1568 2007-04-04 Jim Evins <evins@snaught.com>
1570 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1571 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1572 (draw_round_label_outline), (draw_cd_label_outline):
1573 * src/wdgt-media-select.c: (load_list):
1574 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1575 Cosmetic enhancments to mini previews.
1577 2007-04-04 Jim Evins <evins@snaught.com>
1579 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1580 (gl_ui_property_bar_construct):
1581 Save copy of GladeXML tree so that we don't lose tooltips.
1583 2007-04-02 Jim Evins <evins@snaught.com>
1585 * src/merge-properties-dialog.c:
1586 * src/new-label-dialog.c:
1587 * src/object-editor.c:
1588 * src/prefs-dialog.c:
1590 * src/template-designer.c:
1591 * src/ui-property-bar.c:
1592 * src/wdgt-media-select.c:
1593 * src/wdgt-rotate-label.c:
1594 Fixed several memory leaks.
1596 2007-04-01 Jim Evins <evins@snaught.com>
1598 * src/label-text.c: (gl_label_text_init), (copy),
1599 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1600 (set_font_family), (set_font_size), (set_font_weight),
1601 (set_font_italic_flag), (set_text_alignment),
1602 (set_text_line_spacing):
1603 Cache object size, so that expensive extent calculations are only done
1606 2007-03-30 Jim Evins <evins@snaught.com>
1608 * src/prefs-model.c: (gl_prefs_model_load_settings):
1609 Default to an unlimited list of recent documents, since this parameter
1610 seems to be pre-filter anyway.
1612 2007-03-30 Jim Evins <evins@snaught.com>
1614 * src/label-box.c: (draw_shadow):
1615 * src/label-ellipse.c: (draw_shadow):
1616 Added missing shadow fill.
1618 2007-03-28 Jim Evins <evins@snaught.com>
1620 * src/ui-commands.c: (gl_ui_cmd_file_print):
1621 Unreferencing the print operation sometimes crashes. Just don't do it
1624 2007-03-28 Jim Evins <evins@snaught.com>
1626 * src/print-op.c: (gl_print_op_construct),
1627 (gl_print_op_get_settings), (gl_print_op_set_settings),
1628 (gl_print_op_free_settings), (create_custom_widget_cb):
1630 * src/ui-commands.c: (gl_ui_cmd_file_print):
1631 * src/window.c: (gl_window_init):
1633 Save print settings and custom settings between print operations
1636 2007-03-24 Jim Evins <evins@snaught.com>
1638 * src/object-editor-image-page.c:
1639 (gl_object_editor_prepare_image_page),
1640 (gl_object_editor_set_image), (img_selection_changed_cb):
1641 Workaround for GtkFileChooserButton bug # 327243. This the root
1642 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1643 "selection-changed" signals -- the first 2 return NULL -- this is
1644 what caused the image to reset to the default followed by setting
1645 it back to the original image, trying to fit it into a new bounding
1646 box. This sequence of events is much more evident with the new
1649 2007-03-23 Jim Evins <evins@snaught.com>
1651 Merged all changes from experimental cairo branch to trunk.
1652 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1654 2007-03-23 Jim Evins <evins@snaught.com>
1656 * src/label-object.h:
1657 * src/label-object.c: (gl_label_object_class_init),
1658 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1659 Created "get_raw_size" method.
1660 * src/label-barcode.c: (get_size):
1661 * src/xml-label.c: (xml_create_object_text),
1662 (xml_create_object_barcode):
1663 Use new "get_raw_size" method on label-objects when apropos.
1665 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1666 (auto_shrink_font_size):
1667 Added "auto shrink" functionality back.
1669 2007-03-19 Jim Evins <evins@snaught.com>
1671 * src/label-text.c: (draw_object), (draw_shadow):
1672 Don't use negative scales in workaround from previous commit.
1675 2007-03-18 Jim Evins <evins@snaught.com>
1678 Forgot to remove include of xml-lable-191 in previous commit.
1679 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1680 Workaround for pango Bug #341481. Render text at device scale,
1681 and scale font size accordingly. Also, don't do any hinting.
1683 2007-03-18 Jim Evins <evins@snaught.com>
1685 * src/cairo-ellipse-path.c:
1686 * src/cairo-ellipse-path.h:
1687 Forgot to add these new files during last mass commit.
1689 2007-03-18 Jim Evins <evins@snaught.com>
1692 * src/xml-label-191.c:
1693 * src/xml-label-191.h:
1694 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1695 so there is no need to keep compatability.
1697 * src/bc-iec16022.c:
1698 * src/cairo-label-path.c:
1699 * src/cairo-label-path.h:
1700 * src/cairo-markup-path.c:
1704 * src/glabels-batch.c:
1706 * src/label-barcode.c:
1708 * src/label-ellipse.c:
1709 * src/label-image.c:
1711 * src/label-object.c:
1712 * src/label-object.h:
1716 * src/merge-properties-dialog.c:
1718 * src/new-label-dialog.c:
1719 * src/object-editor-bc-page.c:
1720 * src/object-editor-data-page.c:
1721 * src/object-editor-edit-page.c:
1722 * src/object-editor-fill-page.c:
1723 * src/object-editor-image-page.c:
1724 * src/object-editor-line-page.c:
1725 * src/object-editor-private.h:
1726 * src/object-editor-shadow-page.c:
1727 * src/object-editor-text-page.c:
1728 * src/object-editor.c:
1729 * src/pixbuf-cache.c:
1734 * src/template-designer.c:
1736 * src/ui-property-bar.c:
1738 * src/view-barcode.c:
1740 * src/view-ellipse.c:
1743 * src/view-object.c:
1744 * src/view-object.h:
1747 * src/wdgt-media-select.c:
1748 * src/wdgt-print-copies.c:
1749 * src/wdgt-print-merge.c:
1751 * src/xml-label-04.c:
1753 Many changes, including:
1754 - Move draw methods from view-*() to label-*().
1755 - Use same drawing code for on screen view and printing.
1756 - Fix all issues exposed with '-Wall -Werror'.
1758 2007-03-14 Jim Evins <evins@snaught.com>
1761 * src/cairo-handle-path.c:
1762 * src/cairo-handle-path.h:
1763 * src/cairo-object-path.c:
1764 * src/cairo-object-path.h:
1765 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1766 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1768 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1769 (draw_shadow), (object_at):
1770 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1771 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1772 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1774 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1775 (draw_shadow), (object_at):
1776 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1777 (create_handle_path), (gl_view_object_draw_handles),
1778 (gl_view_object_handle_at):
1779 * src/view-object.h:
1780 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1781 (draw_shadow), (object_at):
1782 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1783 Some restructuring of new code.
1785 2007-03-12 Jim Evins <evins@snaught.com>
1788 * src/cairo-object-path.c:
1789 * src/view-barcode.c:
1790 * src/view-barcode.h:
1792 Added barcode object support to view.
1794 2007-03-12 Jim Evins <evins@snaught.com>
1800 * src/cairo-object-path.c:
1801 * src/cairo-object-path.h:
1803 * src/view-ellipse.c:
1806 * src/view-object.c:
1807 * src/view-object.h:
1808 Added text object support to view. Added object_at method to all
1811 2007-03-11 Jim Evins <evins@snaught.com>
1814 * src/cairo-object-path.c: (gl_cairo_object_path),
1815 (gl_cairo_image_object_path):
1816 * src/view-image.c: (gl_view_image_class_init),
1817 (gl_view_image_finalize), (gl_view_image_new),
1818 (update_editor_from_label_cb), (draw),
1819 (gl_view_image_get_create_cursor),
1820 (gl_view_image_create_button_press_event),
1821 (gl_view_image_create_motion_event),
1822 (gl_view_image_create_button_release_event):
1824 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1825 (selection_received_cb), (motion_notify_event_cb),
1826 (button_press_event_cb), (button_release_event_cb):
1827 Added image object support to view.
1829 2007-03-11 Jim Evins <evins@snaught.com>
1832 * src/cairo-object-path.c: (gl_cairo_object_path),
1833 (gl_cairo_line_object_path):
1834 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1835 (update_object_from_editor_cb), (update_editor_from_object_cb),
1836 (update_editor_from_label_cb), (draw),
1837 (gl_view_line_get_create_cursor),
1838 (gl_view_line_create_button_press_event),
1839 (gl_view_line_create_motion_event),
1840 (gl_view_line_create_button_release_event):
1842 * src/view-object.c: (gl_view_object_resize_event):
1843 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1844 (selection_received_cb), (motion_notify_event_cb),
1845 (button_press_event_cb), (button_release_event_cb):
1846 Added line object support to view.
1847 * src/cairo-handle-path.c:
1848 Made handles slightly larger.
1851 2007-03-11 Jim Evins <evins@snaught.com>
1854 * src/cairo-handle-path.c:
1855 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1856 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1857 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1858 (gl_cairo_markup_margin_round_path),
1859 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1860 * src/cairo-object-path.c: (gl_cairo_object_path),
1861 (gl_cairo_ellipse_object_path):
1862 * src/label-object.c: (gl_label_object_rotate):
1865 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1866 (gl_view_ellipse_new), (update_object_from_editor_cb),
1867 (update_editor_from_object_cb), (update_editor_from_label_cb),
1868 (draw), (gl_view_ellipse_get_create_cursor),
1869 (gl_view_ellipse_create_button_press_event),
1870 (gl_view_ellipse_create_motion_event),
1871 (gl_view_ellipse_create_button_release_event):
1872 * src/view-ellipse.h:
1873 * src/view-object.c:
1874 * src/view-object.h:
1875 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1876 (select_object_real), (selection_received_cb),
1877 (motion_notify_event_cb), (button_press_event_cb),
1878 (button_release_event_cb):
1880 Added ellipse object support to view. Plus other cleanup.
1882 2007-03-11 Jim Evins <evins@snaught.com>
1885 * src/view-box.c: (gl_view_box_get_create_cursor),
1886 (gl_view_box_create_button_press_event),
1887 (gl_view_box_create_motion_event),
1888 (gl_view_box_create_button_release_event):
1889 * src/view-object.c: (gl_view_object_set_view),
1890 (gl_view_object_handle_at):
1892 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1893 (motion_notify_event_cb), (button_press_event_cb),
1894 (button_release_event_cb), (key_press_event_cb):
1895 Added creation code for box object.
1897 2007-03-09 Jim Evins <evins@snaught.com>
1899 * src/view-object.c: (gl_view_object_resize_event):
1900 * src/view-object.h:
1901 * src/view.c: (motion_notify_event_cb):
1902 Fix bugs with resizing transformed objects.
1903 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1904 * src/cairo-object-path.c: (gl_cairo_object_path):
1905 * src/cairo-object-path.h:
1906 * src/label-object.c: (gl_label_object_init),
1907 (gl_label_object_dup), (gl_label_object_get_extent),
1908 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1909 (gl_label_object_rotate), (gl_label_object_set_matrix),
1910 (gl_label_object_get_matrix):
1911 * src/label-object.h:
1912 * src/print.c: (draw_object):
1914 * src/view-highlight.c:
1915 * src/view-highlight.h:
1916 * src/xml-label-191.c: (xml191_parse_object):
1917 * src/xml-label.c: (xml_parse_affine_attrs),
1918 (xml_create_affine_attrs):
1919 Replace libart affine matrices with cairo matrices.
1921 2007-03-08 Jim Evins <evins@snaught.com>
1923 * src/view-object.h:
1924 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1925 * src/view-object.c: (gl_view_object_handle_at),
1926 (gl_view_object_resize_event):
1927 Added resize code -- still a bit buggy.
1929 2007-03-07 Jim Evins <evins@snaught.com>
1932 * src/cairo-handle-path.c:
1933 * src/cairo-handle-path.h:
1934 * src/view-box.c: (gl_view_box_new):
1935 * src/view-object.c: (gl_view_object_set_object),
1936 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1937 * src/view-object.h:
1938 * src/view.c: (draw_highlight_layer), (select_object_real),
1939 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1940 (button_press_event_cb), (button_release_event_cb),
1941 (key_press_event_cb):
1943 Added beginnings of object resize handles.
1945 2007-03-07 Jim Evins <evins@snaught.com>
1948 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1949 (gl_view_object_create_mode), (motion_notify_event_cb),
1950 (button_press_event_cb), (button_release_event_cb),
1951 (key_press_event_cb):
1952 Added move selection support.
1954 2007-03-05 Jim Evins <evins@snaught.com>
1956 * src/cairo-object-path.c: (gl_cairo_object_path):
1957 * src/view-object.c: (gl_view_object_draw),
1958 (gl_view_object_draw_highlight):
1959 * src/view.c: (view_object_at), (motion_notify_event_cb),
1960 (button_press_event_cb), (button_release_event_cb):
1961 Additional refinements to select logic.
1963 2007-03-05 Jim Evins <evins@snaught.com>
1966 * src/view.c: (gl_view_init), (gl_view_construct),
1967 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1968 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1969 (button_press_event_cb), (button_release_event_cb):
1970 Added initial select region support and context menu.
1972 2007-03-04 Jim Evins <evins@snaught.com>
1983 * src/ui-commands.c:
1986 * src/view-object.c:
1987 * src/view-object.h:
1990 * src/wdgt-print-copies.c:
1991 * src/wdgt-print-merge.c:
1993 Initial port to a raw Cairo canvas. This removes all remaining
1994 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1995 the view is becoming a canvas widget in its own right. Still needs
1997 * src/cairo-label-path.c:
1998 * src/cairo-label-path.h:
1999 * src/cairo-markup-path.c:
2000 * src/cairo-markup-path.h:
2001 * src/cairo-object-path.c:
2002 * src/cairo-object-path.h:
2003 New files to support cairo canvas.
2004 * src/canvas-hacktext.c:
2005 * src/canvas-hacktext.h:
2008 2007-02-18 Jim Evins <evins@snaught.com>
2011 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
2013 2007-02-14 Jim Evins <evins@snaught.com>
2017 * src/bc-gnubarcode.c:
2018 * src/bc-gnubarcode.h:
2023 * src/canvas-hacktext.c:
2024 * src/canvas-hacktext.h:
2031 * src/label-barcode.c:
2032 * src/label-barcode.h:
2035 * src/label-ellipse.c:
2036 * src/label-ellipse.h:
2037 * src/label-image.c:
2038 * src/label-image.h:
2041 * src/label-object.c:
2042 * src/label-object.h:
2047 * src/merge-evolution.c:
2048 * src/merge-evolution.h:
2051 * src/merge-properties-dialog.c:
2052 * src/merge-properties-dialog.h:
2055 * src/merge-vcard.c:
2056 * src/merge-vcard.h:
2059 * src/mini-preview-pixbuf.h:
2060 * src/new-label-dialog.c:
2061 * src/new-label-dialog.h:
2062 * src/object-editor-bc-page.c:
2063 * src/object-editor-data-page.c:
2064 * src/object-editor-edit-page.c:
2065 * src/object-editor-fill-page.c:
2066 * src/object-editor-image-page.c:
2067 * src/object-editor-line-page.c:
2068 * src/object-editor-lsize-page.c:
2069 * src/object-editor-position-page.c:
2070 * src/object-editor-private.h:
2071 * src/object-editor-size-page.c:
2072 * src/object-editor-text-page.c:
2073 * src/object-editor.c:
2074 * src/object-editor.h:
2075 * src/pixbuf-cache.c:
2076 * src/pixbuf-cache.h:
2077 * src/prefs-dialog.c:
2078 * src/prefs-dialog.h:
2079 * src/prefs-model.c:
2080 * src/prefs-model.h:
2086 * src/template-designer.c:
2089 * src/ui-commands.c:
2090 * src/ui-commands.h:
2091 * src/ui-property-bar.c:
2092 * src/ui-property-bar.h:
2101 * src/view-barcode.c:
2102 * src/view-barcode.h:
2105 * src/view-ellipse.c:
2106 * src/view-ellipse.h:
2107 * src/view-highlight.c:
2108 * src/view-highlight.h:
2113 * src/view-object.c:
2114 * src/view-object.h:
2119 * src/wdgt-chain-button.c:
2120 * src/wdgt-chain-button.h:
2121 * src/wdgt-media-select.c:
2122 * src/wdgt-mini-preview.c:
2123 * src/wdgt-print-copies.c:
2124 * src/wdgt-print-copies.h:
2125 * src/wdgt-print-merge.c:
2126 * src/wdgt-print-merge.h:
2127 * src/wdgt-rotate-label.c:
2129 * src/xml-label-04.c:
2130 * src/xml-label-04.h:
2131 * src/xml-label-191.c:
2132 * src/xml-label-191.h:
2136 Assorted superficial cleanup. Including:
2137 - Use G_DEFINE_TYPE for all objects.
2138 - Reconcile style of all class initializer functions
2139 - Reconcile style of all finalize functions
2140 - Add emacs mode line to all source files
2142 2007-02-06 Jim Evins <evins@snaught.com>
2144 Assorted cleanup and removal of deprecated items.
2149 Removed annoying splash screen.
2150 * src/glabels-batch.c: (main):
2151 * src/glabels.c: (main):
2152 Converted from popt to GOption.
2153 * src/object-editor-shadow-page.c:
2154 (gl_object_editor_set_shadow_state):
2155 Removed deprecated method on GtkToggleButton.
2156 * src/ui-commands.c: (gl_ui_cmd_help_about):
2157 Removed dependency on libgnomui/qnome-url.h.
2158 * src/template-designer.c:
2159 Removed dependency on libgnome/gnome-program.h.
2162 2007-02-04 Jim Evins <evins@snaught.com>
2166 * src/prefs-model.c:
2167 * src/print.c: (draw_text_object):
2168 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
2169 Removed GnomeCanvas artifacts from color.[ch] and related modules.
2171 2007-02-04 Jim Evins <evins@snaught.com>
2173 * src/wdgt-mini-preview.c:
2174 * src/wdgt-mini-preview.h:
2175 Ported widget from GnomeCanvas to Cairo.
2177 2007-02-03 Jim Evins <evins@snaught.com>
2179 * data/glade/template-designer.glade:
2180 * src/template-designer.c:
2181 * src/template-designer.h:
2182 Ported GnomeDruid to GtkAssistant. Since libglade does not
2183 yet support the GtkAssistant and we derive directly from
2184 the Assistant, the pages are layed out in a GtkNotebook in
2185 the glade description -- we then append each page to the
2188 2007-01-25 Jim Evins <evins@snaught.com>
2190 * data/glade/object-editor.glade:
2191 Added dummy page to notebook, to prevent shadow page from
2192 becoming the default current page at creation.
2193 * src/view-box.c: (construct_properties_editor):
2194 * src/view-ellipse.c: (construct_properties_editor):
2195 * src/view-line.c: (construct_properties_editor):
2196 * src/view-text.c: (construct_properties_editor):
2197 Reconciled order of params.
2199 2007-01-19 Jim Evins <evins@snaught.com>
2201 * src/label-barcode.h:
2202 * src/label-object.c: (gl_label_object_set_font_weight),
2203 (gl_label_object_set_text_alignment),
2204 (gl_label_object_get_font_weight),
2205 (gl_label_object_get_text_alignment):
2206 * src/label-object.h:
2207 * src/label-text.c: (gl_label_text_instance_init), (copy),
2208 (get_size), (set_font_family), (set_font_weight),
2209 (set_text_alignment), (get_font_weight), (get_text_alignment):
2211 * src/object-editor-text-page.c:
2212 (gl_object_editor_prepare_text_page),
2213 (gl_object_editor_set_font_family),
2214 (gl_object_editor_set_font_weight),
2215 (gl_object_editor_get_font_weight),
2216 (gl_object_editor_set_text_alignment),
2217 (gl_object_editor_get_text_alignment),
2218 (gl_object_editor_set_text_color):
2219 * src/object-editor.h:
2220 * src/prefs-dialog.c: (construct_object_page),
2221 (update_object_page_from_prefs), (update_prefs_from_object_page):
2222 * src/prefs-model.c: (gl_prefs_model_save_settings),
2223 (gl_prefs_model_load_settings):
2224 * src/prefs-model.h:
2225 * src/print.c: (draw_text_object):
2226 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2227 (reset_to_default_properties), (update_text_properties),
2228 (font_bold_toggled_cb), (text_align_toggled_cb):
2230 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
2231 (gl_util_weight_to_string), (gl_util_string_to_weight),
2232 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
2234 * src/view-text.c: (update_object_from_editor_cb),
2235 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
2236 * src/view.c: (gl_view_set_selection_text_alignment),
2237 (gl_view_set_default_text_alignment),
2238 (gl_view_get_default_text_alignment):
2240 * src/xml-label-04.c: (xml04_parse_text_props):
2241 * src/xml-label-191.c: (xml191_parse_text_props):
2242 * src/xml-label.c: (xml_parse_object_text),
2243 (xml_parse_toplevel_span), (xml_create_object_text),
2244 (xml_create_toplevel_span):
2245 Converted all model internals to Pango. GnomeFont remains in
2246 view until GnomeCanvas can be replaced with a cairo-based canvas.
2248 2007-01-17 Jim Evins <evins@snaught.com>
2254 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
2255 (gl_wdgt_print_copies_construct):
2256 * src/wdgt-print-copies.h:
2257 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
2258 (gl_wdgt_print_merge_construct):
2259 * src/wdgt-print-merge.h:
2260 Removed all remaining HIG wrapper widgets.
2262 2007-01-16 Jim Evins <evins@snaught.com>
2265 * src/print-dialog.c:
2266 * src/print-dialog.h:
2269 * src/template-designer.c: (print_test_cb):
2270 * src/ui-commands.c: (gl_ui_cmd_file_print):
2272 Renamed PrintDialog to PrintOp. Added constructor for batch
2274 * src/glabels-batch.c: (main):
2275 Converted to use new PrintOp object for printing.
2277 2007-01-15 Jim Evins <evins@snaught.com>
2279 * data/glade/Makefile.am:
2280 * data/glade/print-custom-widget.glade:
2281 * src/print-dialog.c:
2282 * src/print-dialog.h:
2285 * src/template-designer.c: (print_test_cb):
2286 * src/ui-commands.c: (gl_ui_cmd_file_print):
2287 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2288 * src/wdgt-print-merge.h:
2289 * src/window.c: (gl_window_init):
2291 Initial conversion to GtkPrintOperation.
2293 - Remove font and other libgnomeprint[ui] from elsewhere
2294 - Add batch initialization of print operation
2296 2007-01-08 Jim Evins <evins@snaught.com>
2298 Updated dependencies. Set version to 2.1.pre4cvs.
2300 2007-01-03 Jim Evins <evins@snaught.com>
2302 * src/recent-files/*
2303 Removed EggRecent stuff.
2309 * src/ui-commands.c:
2310 * src/ui-commands.h:
2312 Ported from EggRecent to GtkRecentManager.
2315 2007-01-02 Jim Evins <evins@snaught.com>
2318 * iec16022-0.2.1/BUGS:
2319 * iec16022-0.2.1/CHANGELOG:
2320 * iec16022-0.2.1/CREDITS:
2321 * iec16022-0.2.1/INSTALL:
2322 * iec16022-0.2.1/LICENSE:
2323 * iec16022-0.2.1/Makefile.am:
2324 * iec16022-0.2.1/Makefile.dist:
2325 * iec16022-0.2.1/README:
2326 * iec16022-0.2.1/README.glabels:
2327 * iec16022-0.2.1/TODO:
2328 * iec16022-0.2.1/iec16022.1:
2329 * iec16022-0.2.1/iec16022.c:
2330 * iec16022-0.2.1/iec16022ecc200.c:
2331 * iec16022-0.2.1/iec16022ecc200.h:
2332 * iec16022-0.2.1/image.c:
2333 * iec16022-0.2.1/image.h:
2334 * iec16022-0.2.1/reedsol.c:
2335 * iec16022-0.2.1/reedsol.h:
2336 * iec16022-0.2.1/test/testsuite-example.bin:
2337 * iec16022-0.2.1/test/testsuite-example.eps:
2338 * iec16022-0.2.1/test/testsuite-example.hex:
2339 * iec16022-0.2.1/test/testsuite-example.png:
2340 * iec16022-0.2.1/test/testsuite-example.text:
2341 * iec16022-0.2.1/test/testsuite.sh:
2342 Include modified copy of iec16022-0.2.1 to provide encoding
2343 support for datamatrix 2D barcodes.
2345 * src/bc-iec16022.c:
2346 * src/bc-iec16022.h:
2348 Added initial datamatrix 2D barcode backend to barcode code.
2351 Automatic updates to later versions of these files.
2353 2006-11-28 Jim Evins <evins@snaught.com>
2355 * data/templates/avery-iso-templates.xml:
2356 * data/templates/avery-us-templates.xml:
2357 * data/templates/categories.xml:
2358 * data/templates/misc-iso-templates.xml:
2359 * data/templates/misc-us-templates.xml:
2360 * data/templates/zweckform-iso-templates.xml:
2361 More categorization.
2363 2006-09-12 Jim Evins <evins@snaught.com>
2365 * data/dtd/glabels-2.0.dtd:
2366 * data/templates/Makefile.am:
2367 * data/templates/avery-iso-templates.xml:
2368 * data/templates/avery-other-templates.xml:
2369 * data/templates/avery-us-templates.xml:
2370 * data/templates/categories.xml:
2371 * data/templates/misc-iso-templates.xml:
2372 * data/templates/misc-other-templates.xml:
2373 * data/templates/zweckform-iso-templates.xml:
2374 * data/glade/Makefile.am:
2375 * data/glade/new-label-dialog.glade:
2376 * data/glade/wdgt-media-select.glade:
2377 * data/glade/wdgt-rotate-label.glade:
2378 * libglabels/Makefile.am:
2379 * libglabels/category.c:
2380 * libglabels/category.h:
2381 * libglabels/libglabels.h:
2382 * libglabels/paper.c:
2383 * libglabels/template.c:
2384 * libglabels/template.h:
2385 * libglabels/xml-category.c:
2386 * libglabels/xml-category.h:
2387 * libglabels/xml-template.c:
2388 Added support for category meta data.
2391 * src/mini-preview-pixbuf.c:
2392 * src/mini-preview-pixbuf.h:
2393 * src/new-label-dialog.c:
2394 * src/new-label-dialog.h:
2395 * src/wdgt-media-select.c:
2396 * src/wdgt-media-select.h:
2397 * src/wdgt-rotate-label.c:
2398 * src/wdgt-rotate-label.h:
2399 New "new label" dialog.
2401 2006-05-27 Jim Evins <evins@snaught.com>
2406 Preparation for 2.1.3.
2412 2006-05-22 Jim Evins <evins@snaught.com>
2414 * src/print.c: (draw_barcode_object):
2415 Don't print "Invalid barcode data" if data field is empty. Patch provided
2416 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2418 Added acknowledgment for above patch.
2419 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2420 * src/bc-postnet.c: (postnet_code):
2421 Removed "Invalid barcode data" warnings from stderr.
2422 * src/view-barcode.c: (draw_barcode):
2423 Draw box around barcode extent if data empty or invalid. Center a
2424 message whether the data is empty or invalid in box.
2426 2006-05-22 Jim Evins <evins@snaught.com>
2428 * src/print.c: (draw_text_object):
2429 Check shadow state when printing text.
2431 2006-05-20 Jim Evins <evins@snaught.com>
2433 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2434 (gl_ui_cmd_view_markup_toggle):
2435 Fixed crash when grid or markup have been toggled off during
2436 a previous session. Bug #1434324.
2438 2006-04-05 Jim Evins <evins@snaught.com>
2440 * src/object-editor.c: (gl_object_editor_set_key_names):
2441 Fixed potential crash when freeing empty key list.
2443 2006-03-11 Jim Evins <evins@snaught.com>
2445 * src/print.c: (draw_text_object):
2446 * src/view-text.c: (gl_view_text_new),
2447 (construct_properties_editor), (update_object_from_editor_cb),
2448 (update_editor_from_object_cb), (update_editor_from_label_cb),
2450 Added shadow support to text object.
2452 2006-02-18 Jim Evins <evins@snaught.com>
2454 * src/print.c: (draw_line_object):
2455 * src/view-line.c: (gl_view_line_new),
2456 (construct_properties_editor), (update_canvas_item_from_object_cb),
2457 (update_object_from_editor_cb), (update_editor_from_object_cb),
2458 (update_editor_from_label_cb):
2459 Added shadow support to line object.
2461 2006-02-16 Jim Evins <evins@snaught.com>
2465 * src/print.c: (draw_ellipse_object):
2466 * src/view-ellipse.c: (gl_view_ellipse_new),
2467 (construct_properties_editor), (update_canvas_item_from_object_cb),
2468 (update_object_from_editor_cb), (update_editor_from_object_cb),
2469 (update_editor_from_label_cb):
2470 Added shadow support to ellipse object.
2472 2006-02-15 Jim Evins <evins@snaught.com>
2474 * src/label-object.c:
2475 Changed default shadow offsets.
2476 * src/view-box.c: (gl_view_box_new):
2477 Simplified gl_view_box_new() so that is does not duplicate code
2478 in update_canvas_item_from_object_cb().
2480 2006-02-07 Jim Evins <evins@snaught.com>
2482 * data/glade/object-editor.glade:
2483 Fixed color groups of color combos.
2485 Added default shadow color.
2486 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2487 Added shadow color group.
2489 2006-02-06 Jim Evins <evins@snaught.com>
2491 * src/object-editor-shadow-page.c:
2492 Forgot to add this file.
2493 * src/view-box.c: (gl_view_box_new),
2494 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2495 Update limits on shadow offset spinbuttons.
2497 2006-01-19 Jim Evins <evins@snaught.com>
2499 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2500 Initialize key_list to NULL.
2501 * data/glade/object-editor.glade:
2505 * src/label-object.c:
2506 * src/label-object.h:
2507 * src/object-editor-fill-page.c:
2508 * src/object-editor-private.h:
2509 * src/object-editor.c:
2510 * src/object-editor.h:
2512 Created infrastructure for shadow support.
2515 Initial shadow support in box object only.
2517 2006-01-05 Jim Evins <evins@snaught.com>
2519 * src/merge-properties-dialog.c: (src_changed_cb):
2520 Be extra paranoid before calling strcmp().
2521 * src/merge.c: (gl_merge_set_src):
2522 Don't make (merge == NULL) a critical error.
2524 2005-12-22 Jim Evins <evins@snaught.com>
2526 * src/glabels-batch.c: (main):
2527 Compile warning free with gcc 4.0.
2529 2005-12-21 Jim Evins <evins@snaught.com>
2532 Updated example RPM spec file.
2534 2005-12-21 Jim Evins <evins@snaught.com>
2538 Preparation for 2.1.2.
2540 2005-12-20 Jim Evins <evins@snaught.com>
2543 Define unique G_LOG_DOMAIN for glabels.
2544 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2545 * src/warning-handler.c: (gl_warning_handler_init),
2547 Register for G_LOG_DOMAIN instead of NULL.
2549 2005-12-10 Jim Evins <evins@snaught.com>
2551 * src/merge-evolution.c:
2552 * src/merge-vcard.c:
2555 2005-12-08 Jim Evins <evins@snaught.com>
2557 * libglabels/paper.c: (read_paper_files_from_dir):
2558 * libglabels/template.c: (gl_template_register),
2559 (read_template_files_from_dir):
2560 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2561 (gl_xml_paper_parse_papers_doc):
2562 * libglabels/xml-template.c:
2563 (gl_xml_template_read_templates_from_file),
2564 (gl_xml_template_parse_templates_doc),
2565 (gl_xml_template_parse_template_node),
2566 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2567 (xml_parse_label_cd_node), (xml_parse_layout_node),
2568 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2569 (xml_parse_markup_circle_node),
2570 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2571 * libglabels/xml.c: (gl_xml_get_prop_length):
2572 Re-classified g_warnings to g_messages.
2574 * src/glabels.c: (main):
2575 * src/warning-handler.c: (gl_warning_handler_init),
2577 * src/warning-handler.h:
2578 Added warning message handler to make sure the user is
2579 presented with appropriate non-fatal errors.
2580 * src/critical-error-handler.c: (critical_error_handler):
2581 Changed exit to abort.
2582 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2583 * src/bc-postnet.c: (postnet_code):
2584 * src/bc.c: (id_to_index), (name_to_index):
2585 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2586 * src/object-editor.c: (gl_object_notebook_construct_valist):
2587 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2588 * src/prefs.c: (gl_prefs_get_units_per_point),
2589 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2590 (gl_prefs_get_units_string):
2591 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2592 * src/splash.c: (gl_splash):
2593 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2594 * src/view-highlight.c: (gl_view_highlight_new),
2595 (highlight_resizable_box_construct), (object_changed_cb),
2596 (view_scale_changed_cb):
2597 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2598 (draw_markup_layer), (draw_markup_margin),
2599 (gl_view_object_create_mode), (canvas_event),
2600 (selection_received_cb):
2601 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2602 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2603 * src/xml-label-04.c: (gl_xml_label_04_parse),
2604 (xml04_parse_media_description), (xml04_parse_text_props),
2605 (xml04_parse_barcode_props):
2606 * src/xml-label-191.c: (gl_xml_label_191_parse),
2607 (xml191_parse_objects), (xml191_parse_object),
2608 (xml191_parse_text_props), (xml191_parse_image_props),
2609 (xml191_parse_barcode_props), (xml191_parse_data),
2610 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2611 (xml191_parse_markup):
2612 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2613 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2614 (xml_parse_object_text), (xml_parse_object_image),
2615 (xml_parse_object_barcode), (xml_parse_data),
2616 (xml_parse_toplevel_span), (gl_xml_label_save),
2617 (xml_create_objects):
2618 Re-classified g_warnings to g_messages.
2619 * src/merge-evolution.c: (gl_merge_evolution_open),
2620 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2621 Use g_warning to output errors encountered while
2622 communicating with the evolution data server
2623 instead of embedding them in the data.
2625 2005-12-08 Jim Evins <evins@snaught.com>
2627 * libglabels/libglabels-private.h:
2629 * libglabels/paper.c: (read_papers):
2630 * libglabels/template.c: (read_templates):
2631 Made appropriate warnings critical.
2633 * src/critical-error-handler.h:
2634 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2635 (critical_error_handler):
2636 Created critical error handler.
2637 * src/glabels.c: (main):
2638 Register critical error handler.
2639 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2640 * src/object-editor.c: (gl_object_editor_init):
2641 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2642 * src/template-designer.c: (gl_template_designer_init):
2643 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2644 Made appropriate warnings critical.
2646 2005-11-27 Jim Evins <evins@snaught.com>
2648 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2649 (gl_merge_evolution_get_primary_key),
2650 (gl_merge_evolution_get_record):
2651 Don't create "record_key" pseudo-key. Don't populate
2652 fields with null data.
2654 2005-11-25 Jim Evins <evins@snaught.com>
2656 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2657 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2658 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2660 Query EDS for all supported fields. Patch provided by
2661 Austin Henry <ahenry@users.sourceforge.net>.
2663 2005-10-29 Jim Evins <evins@snaught.com>
2665 * src/glabels.c: (main):
2666 * src/label-barcode.c: (gl_label_barcode_finalize):
2667 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2668 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2669 * src/object-editor.c: (gl_object_editor_finalize):
2670 Another pass at valgrinding -- plugged several memory leaks.
2671 * src/view-text.c: (gl_view_text_new),
2672 (update_canvas_item_from_object_cb), (draw_hacktext):
2673 Commented out artifacts of edit-in-place code.
2675 2005-10-28 Jim Evins <evins@snaught.com>
2677 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2678 Fixed use of uninitialized variable. Caught by
2679 d binderman <dcb314@hotmail.com>.
2681 2005-10-27 Jim Evins <evins@snaught.com>
2683 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2684 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2686 Additional cleanup of EDS and vcard backends. Provided by
2687 Austin Henry <ahenry@users.sourceforge.net>.
2689 2005-10-24 Jim Evins <evins@snaught.com>
2693 * src/merge-evolution.c:
2694 * src/merge-evolution.h:
2695 * src/merge-init.c: (gl_merge_init):
2696 * src/merge-properties-dialog.c: (type_changed_cb):
2697 * src/merge-vcard.c:
2698 * src/merge-vcard.h:
2699 * src/ui-commands.c: (gl_ui_cmd_help_about):
2700 Added Evolution Data Server and VCard merge backends. Original patch
2701 provided by Austin Henry <ahenry@users.sourceforge.net>.
2703 Only support EDS and VCard backends if libebook is installed. Allow
2704 user to disable support, even if installed.
2706 2005-10-24 Jim Evins <evins@snaught.com>
2709 * data/templates/avery-iso-templates.xml:
2710 * data/templates/avery-us-templates.xml:
2711 * data/templates/misc-iso-templates.xml:
2712 * data/templates/zweckform-iso-templates.xml:
2713 Collected all template changes and submissions since last
2716 2005-10-23 Jim Evins <evins@snaught.com>
2719 * data/mime/Makefile.am:
2720 Added configure options to disable update-mime-database and
2721 update-desktop-database as part of the install. Patch
2722 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2724 2005-10-23 Jim Evins <evins@snaught.com>
2727 * libglabels/xml.c: (gl_xml_get_prop_string),
2728 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2729 (gl_xml_is_node), (gl_xml_get_node_content):
2730 Added new XML utility functions.
2731 * libglabels/xml-paper.c:
2732 * libglabels/xml-template.c:
2734 Cleanup by using new xml utilities created above.
2735 * libglabels/paper.c: (gl_paper_free):
2736 * src/file.c: (new_response):
2737 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2738 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2739 (gl_pixbuf_cache_get_pixbuf):
2740 * src/ui-property-bar.c:
2741 (gl_ui_property_bar_construct_color_combo):
2742 * src/view-highlight.c: (gl_view_highlight_finalize):
2743 * src/view-image.c: (update_object_from_editor_cb):
2744 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2745 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2746 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2747 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2748 (draw_markup_margin_round), (draw_markup_margin_cd),
2749 (draw_markup_margin_cd_bc):
2750 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2751 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2752 Plugged various memory leaks located with valgrind.
2753 * src/view-image.c: (update_canvas_item_from_object_cb):
2754 Don't allow a width or height of zero when drawing pixbuf.
2756 2005-10-22 Jim Evins <evins@snaught.com>
2758 * libglabels/xml-paper.c:
2759 * libglabels/xml-template.c:
2762 * src/bc-gnubarcode.c:
2763 * src/canvas-hacktext.c:
2765 * src/object-editor-data-page.c:
2766 * src/print-dialog.c:
2769 * src/template-designer.c:
2771 * src/ui-property-bar.c:
2773 * src/view-barcode.c:
2775 * src/view-ellipse.c:
2780 * src/wdgt-media-select.c:
2781 * src/xml-label-04.c:
2782 * src/xml-label-191.c:
2784 Modified to compile warning free with gcc-4.0. Mostly
2785 casting to change signedness of characters. Did not
2786 attack gnu-barcode library yet.
2788 2005-10-22 Jim Evins <evins@snaught.com>
2790 * src/glabels.c: (main):
2791 * src/splash.c: (gl_splash):
2792 Removed some small memory leaks.
2796 2005-09-19 Jim Evins <evins@snaught.com>
2798 * data/glade/property-bar.glade:
2799 Remove items from font_family_combo. This prevents the
2800 double entry after adding text model and list of fonts.
2801 * src/ui-property-bar.c: (reset_to_default_properties):
2802 Free font_family_list.
2804 2005-07-01 Jim Evins <evins@snaught.com>
2807 Updated italian translation (Daniele Medri)
2809 2005-06-26 Jim Evins <evins@snaught.com>
2811 * docs/libglabels/libglabels-decl-list.txt:
2812 Somehow never got checked in before.
2813 * docs/libglabels/libglabels.types:
2814 Removed -- don't need it afterall.
2816 2005-06-20 Jim Evins <evins@snaught.com>
2819 Final prep for 2.1.1 release.
2821 2005-06-20 Jim Evins <evins@snaught.com>
2824 Final preps for 2.1.1 release.
2825 * docs/libglabels/libglabels.types:
2826 Somehow never got checked in before.
2828 Bring up-to-date with recent reorg of ui code.
2831 2005-06-19 Jim Evins <evins@snaught.com>
2833 * src/template-designer.c: (construct_layout_page):
2834 Removed attempt to match background color of mini preview widget to
2837 2005-06-17 Jim Evins <evins@snaught.com>
2839 * help/C/figures/merge-ex2-4.png:
2840 * help/C/glabels.xml:
2841 Fixed spelling error.
2843 2005-06-13 Jim Evins <evins@snaught.com>
2845 * help/C/figures/merge-ex1-1.png:
2846 * help/C/figures/merge-ex1-2.png:
2847 * help/C/figures/merge-ex1-3.png:
2848 * help/C/figures/merge-ex1-4.png:
2849 * help/C/figures/merge-ex2-1.png:
2850 * help/C/figures/merge-ex2-2.png:
2851 * help/C/figures/merge-ex2-3.png:
2852 * help/C/figures/merge-ex2-4.png:
2853 Added figures for document merge tutorial.
2854 * help/C/glabels.xml:
2855 Added document merge tutorial.
2857 2005-05-19 Jim Evins <evins@snaught.com>
2859 * data/glade/merge-properties-dialog.glade:
2860 Fixed irregular spacing.
2861 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2862 (gl_merge_properties_dialog_construct):
2863 Set outer padding and remove separator.
2865 2005-05-18 Jim Evins <evins@snaught.com>
2869 Removed glHigDialog class.
2870 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2871 (gl_file_properties), (create_properties_dialog_widgets):
2872 * src/prefs-dialog.h:
2873 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2874 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2875 * src/print-dialog.h:
2876 * src/prefs-dialog.h:
2877 * src/print-dialog.c: (gl_print_dialog_get_type),
2878 (gl_print_dialog_init), (gl_print_dialog_construct):
2879 Replaced all instances of glHigDialog with GtkDialog.
2881 2005-05-17 Jim Evins <evins@snaught.com>
2885 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2886 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2887 (save_as_response), (gl_file_close):
2888 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2890 2005-05-15 Jim Evins <evins@snaught.com>
2892 * src/ui-commands.h:
2900 A little code reformatting -- no functional changes.
2902 2005-05-14 Jim Evins <evins@snaught.com>
2905 Removed obsolete macros.
2907 Added marshalling template to support new view signal: "context_menu_activate."
2909 * src/view.c: (gl_view_class_init), (gl_view_construct),
2910 (canvas_event_arrow_mode):
2911 - Removed hardcoded context menus and added new signal "context_menu_activate"
2912 to push this up to the uimanager.
2913 - Removed merge properties and print dialogs so that they can be managed with
2914 the window by the uimanager.
2915 * src/merge-properties-dialog.h:
2916 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2917 (gl_merge_properties_dialog_construct):
2918 Changed calling convention of gl_merge_properties_dialog_new() to use
2919 glLabel and GtkWindow instead of view to make more consistent with other
2921 * src/print-dialog.h:
2922 * src/print-dialog.c: (gl_print_dialog_new),
2923 (gl_print_dialog_construct):
2924 Removed last artifact of libbonoboui.
2925 * src/ui-commands.c: (gl_ui_cmd_file_print),
2926 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2927 Reconciled style for launching dialogs.
2928 * src/ui.c: (gl_ui_new):
2929 Added context menus to ui manager.
2930 * src/view-object.c: (item_event_arrow_mode):
2931 No longer try to select objects with right-click.
2933 * src/window.c: (gl_window_init), (gl_window_set_label),
2934 (context_menu_activate_cb):
2935 Context menus and all dialogs are now managed in a consistent way in window
2938 2005-05-11 Jim Evins <evins@snaught.com>
2941 * src/window.c: (gl_window_init), (gl_window_destroy):
2942 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2943 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2944 Moved management of recent_view back from window.c to ui.c -- it just feels
2947 2005-05-10 Jim Evins <evins@snaught.com>
2950 * src/window.c: (gl_window_init):
2952 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2953 (menu_item_select_cb), (menu_item_deselect_cb):
2954 Added GtkStatusbar which displays menu tooltips.
2956 2005-05-09 Jim Evins <evins@snaught.com>
2958 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2963 Removed dependencies on libbonoboui.
2965 * data/ui/Makefile.am:
2966 * data/ui/glabels-ui.xml:
2967 Removed data/ui directory.
2968 * data/glade/Makefile.am:
2969 * data/property-bar.glade:
2970 Added glade description of property-bar for new libglade implementation
2977 * src/ui-commands.h:
2978 * src/ui-commands.c:
2979 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2980 since the distinction between "commands" and "tools" is no longer that clear.
2983 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2984 no longer has knowledge of eggRecent*.
2985 * src/glabels.c: (main):
2986 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2988 * src/object-editor.c: (gl_object_editor_init):
2989 Make sure notebook does not respond to a "show_all" on the parent.
2990 * src/recent-files/Makefile.am:
2991 * src/recent-files/*.[ch]
2992 Updated from latest version of libegg which now has a view based on
2993 GtkUIManager. Removed unused bonobo and gtk views.
2994 * src/ui-property-bar.h:
2995 * src/ui-property-bar.c:
2996 New implementation based on libglade.
2999 Sidebar is now simply a GtkWidget and does not expect to be a part of
3000 a libbonoboui interface.
3005 Converted for use with GtkUIManager.
3008 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
3009 to create menus and toolbars.
3011 2005-04-25 Jim Evins <evins@snaught.com>
3013 * data/templates/misc-iso-templates.xml:
3014 Added Fellows 04715 template provided by Steve Saxon.
3016 Updated acknowledgement for above.
3018 2005-04-23 Jim Evins <evins@snaught.com>
3020 * src/util.c: (gl_util_combo_box_set_strings):
3021 Make sure to clear model before loading a new list of strings.
3022 * src/wdgt-media-select.h:
3023 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
3024 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
3025 (template_combo_changed_cb), (prefs_changed_cb),
3026 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
3027 (gl_wdgt_media_select_get_page_size),
3028 (gl_wdgt_media_select_set_page_size):
3029 Replaced the deprecated GtkCombo widget with the new
3032 2005-04-21 Jim Evins <evins@snaught.com>
3034 * data/glade/template-designer.glade:
3035 * src/template-designer.c: (construct_pg_size_page),
3036 (pg_size_page_changed_cb), (build_template):
3037 Replaced the deprecated GtkCombo widget with the new
3040 2005-04-20 Jim Evins <evins@snaught.com>
3042 * data/glade/prefs-dialog.glade:
3043 * src/prefs-dialog.c: (construct_object_page),
3044 (update_object_page_from_prefs), (update_prefs_from_object_page):
3045 Replaced the deprecated GtkCombo widget with the new
3048 2005-04-19 Jim Evins <evins@snaught.com>
3050 * data/glade/object-editor.glade:
3051 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3052 (style_changed_cb), (gl_object_editor_set_bc_style),
3053 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
3054 (gl_object_editor_get_bc_color):
3055 * src/object-editor-data-page.c:
3056 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
3057 (gl_object_editor_get_data):
3058 * src/object-editor-edit-page.c:
3059 (gl_object_editor_prepare_edit_page), (insert_button_cb):
3060 * src/object-editor-fill-page.c:
3061 (gl_object_editor_prepare_fill_page),
3062 (gl_object_editor_set_fill_color),
3063 (gl_object_editor_get_fill_color):
3064 * src/object-editor-image-page.c:
3065 (gl_object_editor_prepare_image_page),
3066 (gl_object_editor_set_image), (gl_object_editor_get_image):
3067 * src/object-editor-line-page.c:
3068 (gl_object_editor_prepare_line_page),
3069 (gl_object_editor_set_line_color),
3070 (gl_object_editor_get_line_color):
3071 * src/object-editor-private.h:
3072 * src/object-editor-text-page.c:
3073 (gl_object_editor_prepare_text_page),
3074 (gl_object_editor_set_font_family),
3075 (gl_object_editor_get_font_family),
3076 (gl_object_editor_set_text_color),
3077 (gl_object_editor_get_text_color):
3078 * src/object-editor.c: (gl_object_editor_set_key_names):
3080 In the object editor: replaced all instances of the deprecated
3081 GtkCombo widget with the new GtkComboBox.
3083 2005-04-18 Jim Evins <evins@snaught.com>
3086 Neglected to save this one in previous checkin to support
3089 2005-04-17 Jim Evins <evins@snaught.com>
3091 * libglabels/libglabels-private.h:
3092 * libglabels/paper.c:
3093 * libglabels/paper.h:
3094 * libglabels/template.c:
3095 * libglabels/template.h:
3096 * libglabels/xml-paper.c:
3097 * libglabels/xml-paper.h:
3098 * libglabels/xml-template.c:
3103 * src/bc-gnubarcode.c:
3114 * src/label-barcode.c:
3116 * src/label-ellipse.c:
3117 * src/label-image.c:
3118 * src/label-image.h:
3120 * src/label-object.c:
3124 * src/merge-properties-dialog.c:
3125 * src/object-editor-bc-page.c:
3126 * src/object-editor-data-page.c:
3127 * src/object-editor-edit-page.c:
3128 * src/object-editor-fill-page.c:
3129 * src/object-editor-image-page.c:
3130 * src/object-editor-line-page.c:
3131 * src/object-editor-lsize-page.c:
3132 * src/object-editor-position-page.c:
3133 * src/object-editor-private.h:
3134 * src/object-editor-size-page.c:
3135 * src/object-editor-text-page.c:
3136 * src/object-editor.c:
3137 * src/object-editor.h:
3138 * src/pixbuf-cache.h:
3139 * src/prefs-dialog.c:
3140 * src/prefs-dialog.h:
3141 * src/prefs-model.c:
3142 * src/prefs-model.h:
3144 * src/print-dialog.c:
3145 * src/print-dialog.h:
3153 * src/template-designer.c:
3154 * src/template-designer.h:
3157 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
3163 * src/view-barcode.c:
3165 * src/view-ellipse.c:
3166 * src/view-highlight.c:
3167 * src/view-highlight.h:
3170 * src/view-object.c:
3171 * src/view-object.h:
3175 * src/wdgt-chain-button.c:
3176 * src/wdgt-media-select.c:
3177 * src/wdgt-media-select.h:
3178 * src/wdgt-mini-preview.c:
3179 * src/wdgt-mini-preview.h:
3180 * src/wdgt-print-copies.c:
3181 * src/wdgt-print-copies.h:
3182 * src/wdgt-print-merge.c:
3183 * src/wdgt-print-merge.h:
3184 * src/wdgt-rotate-label.c:
3185 * src/wdgt-rotate-label.h:
3188 * src/xml-label-04.c:
3189 * src/xml-label-191.c:
3191 Cleanup of header files:
3192 - all header files are now stand-alone, verified by including
3193 first in corresponding "c" files
3194 - replaced blanket includes of gnome, gtk, and glib with
3197 2005-04-16 Jim Evins <evins@snaught.com>
3199 * data/glade/Makefile.am:
3200 * data/glade/merge-properties-dialog.glade:
3201 Added merge properties dialog glade description file.
3202 * src/merge-properties-dialog.h:
3203 * src/merge-properties-dialog.c:
3204 (gl_merge_properties_dialog_get_type),
3205 (gl_merge_properties_dialog_init),
3206 (gl_merge_properties_dialog_finalize),
3207 (gl_merge_properties_dialog_new),
3208 (gl_merge_properties_dialog_construct), (type_changed_cb),
3209 (src_changed_cb), (response_cb), (load_tree),
3210 (record_select_toggled_cb), (select_all_button_clicked_cb),
3211 (unselect_all_button_clicked_cb):
3212 Modified merge properties dialog to use libglade. Added
3213 "select all" and "unselect all" buttons.
3214 * src/merge-text.c: (parse_line):
3215 Handle empty lines better.
3216 * src/merge.c: (gl_merge_eval_key):
3217 Evaluate the key whether the record is selected or not.
3219 * src/util.c: (gl_util_combo_box_add_text_model):
3220 Since libglade does not use the gtk_combo_box_new_text()
3221 constructor for GtkComboBoxes, a utility function was created
3222 to add an appropriate text model to a GtkComboBox.
3223 * src/view.c: (gl_view_edit_merge_props):
3224 Removed unnecessary "show all's".
3226 2005-04-15 Jim Evins <evins@snaught.com>
3229 Updated russian translation (Vitaly Lipatov)
3230 * data/templates/misc-iso-templates.xml:
3231 Added templates for russian business cards provided by Vitaly Lipatov.
3233 Updated acknowledgements for above.
3235 2005-04-15 Jim Evins <evins@snaught.com>
3237 * data/templates/avery-us-templates.xml:
3238 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
3239 * data/templates/misc-iso-templates.xml:
3240 Added Ryman standard CD/DVD template, provided by Dan Clark.
3242 Added acknowledgements for above.
3244 2005-04-10 Jim Evins <evins@snaught.com>
3246 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3247 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
3248 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
3249 (xml_parse_label_cd_node), (xml_parse_alias_node):
3250 * libglabels/xml.c: (gl_xml_get_prop_double),
3251 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
3252 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
3253 * src/xml-label-04.c: (xml04_parse_media_description),
3254 (xml04_parse_text_props), (xml04_parse_barcode_props),
3255 (xml04_parse_merge_properties):
3256 * src/xml-label-191.c: (xml191_parse_object),
3257 (xml191_parse_text_props), (xml191_parse_barcode_props),
3258 (xml191_parse_merge_fields), (xml191_parse_pixdata),
3259 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
3260 (xml191_parse_alias):
3261 * src/xml-label.c: (xml_parse_object_text),
3262 (xml_parse_object_barcode), (xml_parse_merge_fields),
3263 (xml_parse_pixdata), (xml_parse_toplevel_span):
3264 Make sure to use xmlFree for anything obtained from libxml
3265 in case libxml and glib use different memory management
3268 2005-04-08 Jim Evins <evins@snaught.com>
3271 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
3272 (gl_util_combo_box_set_active_text):
3273 Added utility functions to simplify working with GtkComboBox
3275 * src/ui-property-bar.h:
3276 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
3277 (reset_to_default_properties), (update_text_properties),
3278 (font_family_changed_cb):
3279 Replaced deprecated GtkCombo with GtkComboBox.
3282 2005-04-03 Jim Evins <evins@snaught.com>
3285 * src/wdgt-image-select.h:
3286 * src/wdgt-image-select.c:
3287 Removed obsolete wdgt-image-select.[ch] files.
3288 * libglabels/paper.c: (gl_paper_dup):
3289 Fixed rename of parameter introduced during documentation
3291 * data/glade/object-editor.glade:
3292 * src/object-editor-image-page.c:
3293 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3294 (gl_object_editor_set_image), (gl_object_editor_get_image),
3295 (update_preview_cb), (add_image_filters_to_chooser):
3296 * src/object-editor-private.h:
3297 Replaced deprecated GnomePixmapEntry with
3298 GtkFileChooserButton.
3300 2005-04-02 Jim Evins <evins@snaught.com>
3302 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3303 (mygal_combo_box_popup_hide_unconditional),
3304 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3305 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3306 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3307 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3308 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3309 Renamed all internal gtk_combo functions to mygal_combo
3310 to prevent namespace confusion.
3312 2005-04-02 Jim Evins <evins@snaught.com>
3314 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3315 (cust_color_set), (color_palette_setup):
3316 * src/mygal/color-palette.h:
3317 Replaced deprecated GnomeColorPicker with GtkColorButton.
3319 2005-04-02 Jim Evins <evins@snaught.com>
3321 * docs/libglabels/libglabels-sections.txt:
3322 * docs/libglabels/libglabels-undocumented.txt:
3323 * docs/libglabels/tmpl/enums.sgml:
3324 * docs/libglabels/tmpl/paper.sgml:
3325 * docs/libglabels/tmpl/xml-paper.sgml:
3326 * docs/libglabels/tmpl/xml-template.sgml:
3327 * libglabels/enums.h:
3328 * libglabels/paper.c: (gl_paper_dup):
3329 * libglabels/paper.h:
3330 * libglabels/xml-paper.c:
3331 * libglabels/xml-template.c:
3332 More documentation updates for libglabels.
3334 2005-03-23 Jim Evins <evins@snaught.com>
3337 Automatically updated.
3342 * docs/libglabels/Makefile.am:
3343 * docs/libglabels/libglabels-docs.sgml:
3344 * docs/libglabels/libglabels-sections.txt:
3345 * docs/libglabels/libglabels-undocumented.txt:
3346 * docs/libglabels/tmpl/enums.sgml:
3347 * docs/libglabels/tmpl/libglabels-unused.sgml:
3348 * docs/libglabels/tmpl/libglabels.sgml:
3349 * docs/libglabels/tmpl/paper.sgml:
3350 * docs/libglabels/tmpl/template.sgml:
3351 * docs/libglabels/tmpl/xml-paper.sgml:
3352 * docs/libglabels/tmpl/xml-template.sgml:
3353 * docs/libglabels/tmpl/xml.sgml:
3354 Added basic gtk-doc stuff to support documenting libglabels
3357 Updated function comments with gtk-doc markup.
3361 2005-03-22 Jim Evins <evins@snaught.com>
3363 Since the development version now requires gtk-2.6/gnome-2.10, I
3364 have made a first pass at removing deprecations.
3367 * libglabels/Makefile.am:
3369 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3370 Also removed all remnants of HAVE_FILECHOOSER.
3371 * src/file.c: (gl_file_open_real):
3372 Removed code for old GtkFileSelection.
3373 * libglabels/libglabels-private.h:
3374 * libglabels/paper.c:
3375 * libglabels/template.c:
3376 * libglabels/xml-paper.c:
3377 * libglabels/xml-template.c:
3381 * src/glabels-batch.c:
3385 * src/merge-properties-dialog.c:
3387 * src/object-editor.c:
3388 * src/prefs-dialog.c:
3390 * src/print-dialog.c:
3393 * src/template-designer.c:
3394 * src/ui-property-bar.c:
3396 * src/view-barcode.c:
3398 * src/view-ellipse.c:
3403 * src/wdgt-image-select.c:
3404 * src/wdgt-media-select.c:
3405 * src/wdgt-print-copies.c:
3406 * src/wdgt-print-merge.c:
3407 * src/wdgt-rotate-label.c:
3409 * src/xml-label-04.c:
3410 * src/xml-label-191.c:
3412 Added '#include <glib/gi18n.h>" where needed.
3413 Removed any unused '#include <gnome.h>"s.
3415 2005-03-22 Jim Evins <evins@snaught.com>
3417 * src/commands.c: (activate_url), (gl_cmd_help_about):
3418 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3419 development version of glabels now depends on GTK 2.6 and
3422 Updated library dependencies.
3424 2005-02-28 Jim Evins <evins@snaught.com>
3427 * data/templates/misc-iso-templates.xml:
3428 Added 'Ednet 45021' template provided by Ali Akcaagac
3431 2005-02-14 Jim Evins <evins@snaught.com>
3433 * data/templates/avery-us-templates.xml:
3434 Updated templates to use inches instead of points.
3435 * src/print-dialog.c: (printer_page_new):
3436 Changed packing style when adding printer selector widget. This fixes
3439 2005-02-13 Jim Evins <evins@snaught.com>
3443 Updated spanish translations. (sergio rivadero)
3445 2005-02-05 Jim Evins <evins@snaught.com>
3447 Some cleanup to libglabels.
3450 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3451 * libglabels/libglabels.pc.in
3453 * libglabels/enums.h
3454 Created. Currently only contains glUnitsType which provides enumerations
3455 for all possible units of distance.
3456 * libglabels/Makefile.am:
3457 Incorporated new files enums.h and libglabels.pc[.in].
3458 * libglabels/libglabels.h:
3460 * libglabels/template.h:
3461 * libglabels/template.c: (gl_template_layout_new):
3462 Changed parameters nx and ny to gint from gdouble.
3464 * libglabels/xml.c: (gl_xml_get_prop_length),
3465 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3466 Added support for different output units.
3467 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3468 (update_prefs_from_locale_page):
3469 * src/prefs-model.c: (string_to_units), (units_to_string):
3470 * src/prefs-model.h:
3471 * src/prefs.c: (gl_prefs_get_units_per_point),
3472 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3473 (gl_prefs_get_units_string):
3475 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3476 Reconciled all length enumerations with the new enumerations provided
3477 in libglabels/enums.h.
3479 2005-02-03 Jim Evins <evins@snaught.com>
3482 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3484 Updated Italian translations. (Daniele Medri)
3486 Updated credits to reflect above translations.
3489 2005-01-22 Jim Evins <evins@snaught.com>
3494 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3496 Final prep for 2.1.0.
3498 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3500 Added '--remove-original' flag to desktop-file-install, so that there is
3501 only one menu entry.
3503 2005-01-20 Jim Evins <evins@snaught.com>
3505 * data/glade/object-editor.glade:
3506 - Font family entry should not be editable.
3507 - img_key_entry should have sensitivity=YES, so that it follows the
3508 sensitivity of img_key_combo.
3510 2005-01-19 Jim Evins <evins@snaught.com>
3513 Give credit to Frederic Ruaudel for the color merge patches.
3515 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3517 Add support to merge color for all other color attribute (Feature
3518 Requests item #1008635. If the data is invalid, the color used is transparent
3519 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3520 by gdk_color_parse() these include name for a color from rgb.txt, such as
3521 DarkSlateGray, or a hex specification such as #305050. File format has been
3522 changed but backward compatibility is preserved for all format. For
3523 box/ellipse/line, keep attribute "line_color" for static color or replace by
3524 "line_color_field" for merge data. For text/barcode objects, keep attribute
3525 "color" for static color or replace by "color_field" for merge data. In the
3526 edit canvas window, merged color are represented by half-transparent black
3529 * data/dtd/glabels-2.0.dtd:
3530 Added line_color_field to line_attrs. Added color_field to
3531 Object-barcode and Span.
3532 * data/glade/object-editor.glade:
3533 Modify the layout of the editor to add merge possibility to color options
3535 Fix a copy/paste error in a comment
3537 Add default color for merge color representation in the editor canvas.
3538 * src/label-barcode.c:
3539 * src/object-editor-bc-page.c:
3540 * src/view-barcode.c:
3541 Add merge color support for barcode color.
3544 Add merge color support for box border color.
3545 * src/label-ellipse.c:
3546 * src/view-ellipse.c:
3547 Add merge color support for ellipse border color.
3550 Add merge color support for line color.
3551 * src/label-object.c:
3552 * src/label-object.h:
3553 * src/object-editor.c:
3554 * src/object-editor.h:
3555 * src/ui-property-bar.c:
3558 * src/xml-label-04.c:
3559 * src/xml-label-191.c:
3560 Add support for merging to other color attribute.
3562 * src/object-editor-text-page.c:
3564 Add merge color support for text color.
3565 * src/object-editor-fill-page.c:
3566 Change a blocked handler that didn't match the good widget. Fix the type
3567 of some debug message.
3568 * src/object-editor-line-page.c:
3569 Add merging support to line color option.
3570 * src/object-editor-private.h:
3571 Add variables for new widget.
3573 Modify the draw functions to get merge data if needed.
3575 Change the default size of the window in order to see all widget in the
3576 "text style tab" of the editor.
3578 Modify the parser to record/retreive the field value for objects that need
3579 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3580 static color or replace by "line_color_field" for merge data. For
3581 text/barcode objects, keep attribute "color" for static color or replace
3582 by "color_field" for merge data.
3584 2005-01-17 Jim Evins <evins@snaught.com>
3586 * src/view.c: (screen_changed_cb):
3587 Don't do anything if we don't have a screen.
3589 2005-01-06 Jim Evins <evins@snaught.com>
3591 * src/view.c: (get_home_scale):
3592 Fixed bad call to gtk_widget_has_screen() -- huh?.
3594 2005-01-06 Jim Evins <evins@snaught.com>
3596 * data/dtd/glabels-2.0.dtd:
3597 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3600 2005-01-06 Jim Evins <evins@snaught.com>
3602 * data/glade/object-editor.glade:
3603 Set entries for fill and data field key dropdowns to NOT editable.
3604 * src/view-box.c: (construct_properties_editor):
3605 * src/view-ellipse.c: (construct_properties_editor):
3606 Update object editor when label's merge property has changed.
3607 * src/xml-label.c: (xml_parse_object_ellipse):
3608 Completed the merge color support for the ellipse item.
3610 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3612 Add support to merge color for object that have a "Fill color" attribute (Feature
3613 Requests item #1008635. If the data is invalid, the color used is transparent
3614 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3615 by gdk_color_parse() these include name for a color from rgb.txt, such as
3616 DarkSlateGray, or a hex specification such as #305050. File format has been
3617 changed but backward compatibility is preserved for all format. For box/ellipse,
3618 keep attribute "fill_color" for static color or replace by "fill_color_field"
3621 * data/glade/object-editor.glade:
3622 Modify "Fill" tab to add the merge key combo and convert the labels into
3626 Add "glColorNode" structure and associated functions to manage it. This
3627 structure is equivalent for color than the "glTextNode". It holds the color
3629 * src/label-object.h:
3630 * src/label-object.c:
3632 * src/label-ellipse.c:
3633 * src/ui-property-bar.c:
3637 * src/view-ellipse.c:
3638 * src/xml-label-04.c:
3639 * src/xml-label-191.c:
3640 Change functions of objects that have a "fill color" attribute to use the
3641 new "glColorNode" structure. Use barcode code as example.
3643 Add the color.[ch] file to glabels_batch binary that now need support for
3645 * src/object-editor.h:
3646 * src/object-editor.c:
3647 * src/object-editor-fill-page.c:
3648 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3649 to choose between static color or merge key. Use barcode code as example.
3650 * src/object-editor-private.h:
3651 Add new widget in the "_glObjectEditorPrivate" structure.
3653 Modify the draw functions to get merge data if needed.
3655 Modify the parser to record/retreive the field value for objects that need
3656 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3657 color or "fill_color_field" for merge data.
3659 2005-01-04 Jim Evins <evins@snaught.com>
3662 * data/templates/avery-iso-templates.xml:
3663 * data/templates/misc-iso-templates.xml:
3664 * data/templates/misc-us-templates.xml:
3665 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3668 2004-11-26 Jim Evins <evins@snaught.com>
3672 Updated french translations provided by Florent Morel <florent@taket.org>.
3673 * src/view-barcode.c:
3675 * src/view-ellipse.c:
3679 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3680 thus _() strings were not being translated.
3682 2004-11-14 Jim Evins <evins@snaught.com>
3685 * src/debug.c: (gl_debug_init), (gl_debug):
3686 Borrowed from gedit: use environmental variables to select debug
3689 Removed unused include of debug.h.
3690 * src/glabels.c: (main):
3691 Added call to gl_debug_init(), and removed debug clutter from command line
3693 * src/glabels-batch.c: (main):
3694 Added call to gl_debug_init().
3696 2004-11-13 Jim Evins <evins@snaught.com>
3698 Drawing and property toolbars were being initialized with the "icons and text"
3699 look in Fedora Core 3. Even though none of the buttons had any text attached to
3700 them, the buttons were being sized as if they were. This led to less real estate
3701 for the property editor, leading to Bug #1064630. The
3703 * data/ui/glabels-ui.xml:
3704 Added explicit "look" property to both drawing and property toolbars.
3705 * src/prefs-model.c: (gl_prefs_model_save_settings),
3706 (gl_prefs_model_load_settings):
3707 * src/prefs-model.h:
3708 Removed drawing_toolbar_button_style configuration parameter.
3709 * src/ui.c: (view_menu_item_toggled_cb),
3710 (set_app_drawing_toolbar_style):
3711 Do not attempt to adjust look property of the drawing toolbar.
3713 2004-10-28 Jim Evins <evins@snaught.com>
3715 * data/pixmaps/glabels-about-logo.png:
3718 2004-10-28 Jim Evins <evins@snaught.com>
3720 * data/man/glabels.1:
3721 * src/glabels-batch.c: (main):
3723 * src/print.c: (gl_print_batch):
3725 Added option to glabels-batch to select the first label to begin
3728 2004-09-26 Jim Evins <evins@snaught.com>
3730 * data/desktop/glabels.desktop.in:
3731 Point to app icon, "glabels.png"
3732 * data/mime/glabels.keys.in:
3733 Point at mime icon, "glabels-application-x-glabels.png"
3734 * data/pixmaps/Makefile.am:
3735 Added glabels_app_icondir. Renamed icons.
3736 * data/pixmaps/glabels.png:
3737 New cleaned up app icon. Deleted glabels-icon.png.
3738 * data/pixmaps/glabels-application-x-glabels.png:
3740 * data/pixmaps/glabels-splash.png:
3741 Renamed glabels-logo to glabels-splash to be more correct about role.
3743 * src/template-designer.c:
3744 Point at app icon, "glabels.png"
3746 Point at renamed splash image, "glabels-splash.png"
3748 2004-08-22 Jim Evins <evins@snaught.com>
3751 * src/glabels-batch.c: (main):
3752 Applied patch with minor mods to allow selecting merge source and
3753 crop-marks on glabels-batch's command line. Original patch provided by
3754 José Dapena Paz <jdapena@igalia.com>.
3756 2004-08-15 Jim Evins <evins@snaught.com>
3758 * data/desktop/glabels.desktop.in:
3759 - Added encoding line
3760 - Removed period from comment
3761 - Fixed Terminal line, changed "0" to "false"
3762 - Added semicolen to Categories line
3764 - Made sure desktop.in comment string above still translated properly
3766 2004-08-14 Jim Evins <evins@snaught.com>
3768 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3769 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3770 * src/xml-label-191.c: (xml191_parse_sheet):
3771 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3773 Reconciled libglabels versioning with 2.0.1.
3776 2004-08-14 Jim Evins <evins@snaught.com>
3779 Updated version to 2.1cvs.
3781 2004-08-14 Jim Evins <evins@snaught.com>
3784 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3786 2004-08-14 Jim Evins <evins@snaught.com>
3788 Fixes for Bug #1008181.
3790 * src/bc.c: (gl_barcode_default_digits):
3791 Make a format of zero digits, harmless.
3792 * src/xml-label.c: (xml_parse_object_barcode):
3793 Set default value of the format property of barcode objects to 10, not
3794 zero. This will prevent crashes when reading pre 2.0.x files.
3796 2004-08-09 Jim Evins <evins@snaught.com>
3800 * help/C/glabels-C.omf:
3801 * help/C/glabels.xml:
3802 Brought documentation up-to-date for 2.0.0 release.
3804 2004-08-09 Jim Evins <evins@snaught.com>
3806 These are hopefully the final preparations for 2.0.0.
3808 * data/mime/Makefile.am:
3809 Include glabels.xml in EXTRA_DIST.
3811 - Updated comment style.
3812 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3813 - Added package and version info to configuration printout
3814 - Update version to 2.0.0
3815 * libglabels/Makefile.am:
3816 Use the new LIBGLABELS_VERSION_INFO macro.
3818 2004-08-09 Jim Evins <evins@snaught.com>
3822 Cleanup of required library macros.
3824 2004-08-08 Jim Evins <evins@snaught.com>
3828 - More specific of what to install in /usr/bin and /usr/lib
3829 - Remove built mime registration files from staging directory
3831 2004-08-08 Jim Evins <evins@snaught.com>
3833 * data/mime/Makefile.am:
3834 Fixed typo: key_files should have been keys_files.
3836 2004-08-08 Jim Evins <evins@snaught.com>
3838 Reorganization of runtime data files. Also added registration of mimetype with
3839 new freedesktop.org mime database if available.
3842 Moved files to appropriate subdirectories, creating local Makefile.am
3843 in each subdirectory.
3844 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3845 These are now installed at $datadir/glabels/templates.
3846 - Moved glabels.1 to man subdirectory.
3847 - Moved glabels-2.0.dtd to dtd subdirectory.
3848 - Moved glabels.desktop.in to desktop subdirectory.
3849 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3851 Moved "./pixmaps" to "./data/pixmaps"
3853 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3855 Moved libglade files from src to data/glade. Created Makefile.am.
3857 Removed pixmaps from SUBDIRS.
3859 - Removed pixmaps from makefiles.
3860 - Added makefiles for new subdirs of data.
3861 - Added tests for freedesktop.org mime database.
3863 - Added tests for freedesktop.org mime database for post install and
3864 post un-install actions.
3865 * libglabels/Makefile.am:
3866 Moved system template files to $(datadir)/glabels/templates.
3867 * libglabels/libglabels-private.h:
3868 Moved system template files to $(datadir)/glabels/templates.
3870 - Accounted for movement of ui and libglade files.
3871 - Added missing .in files.
3872 - Reorganized by directory.
3874 Accounted for movement of ui and libglade files.
3875 * data/mime/glabels.xml.in:
3876 New file for registering with freedesktop.org mime database.
3878 2004-08-07 Jim Evins <evins@snaught.com>
3880 * src/recent-files/*:
3881 Re-synced to latest libegg/recent-files.
3883 2004-08-07 Jim Evins <evins@snaught.com>
3888 Renamed "./doc" directory to "./help" which contains user documentation,
3889 to be more consistent with other GNOME applications.
3892 2004-07-26 Jim Evins <evins@snaught.com>
3894 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3895 Corrected button order of merge properties dialog.
3897 2004-07-18 Jim Evins <evins@snaught.com>
3899 * data/glabels-2.0.dtd:
3900 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3901 (gl_barcode_get_prefered_n):
3903 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3904 (gl_label_barcode_get_props), (get_size):
3905 * src/label-barcode.h:
3906 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3907 (style_changed_cb), (gl_object_editor_set_bc_style),
3908 (gl_object_editor_get_bc_style):
3909 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3910 (gl_object_editor_set_data), (gl_object_editor_get_data):
3911 * src/object-editor-private.h:
3912 * src/object-editor.c: (gl_object_editor_set_key_names):
3913 * src/object-editor.glade:
3914 * src/object-editor.h:
3915 * src/print.c: (draw_barcode_object):
3916 * src/view-barcode.c: (update_object_from_editor_cb),
3917 (update_editor_from_object_cb),
3918 (gl_view_barcode_create_event_handler), (draw_barcode):
3919 * src/xml-label-04.c: (xml04_parse_barcode_props):
3920 * src/xml-label-191.c: (xml191_parse_barcode_props):
3921 * src/xml-label.c: (xml_parse_object_barcode),
3922 (xml_create_object_barcode):
3923 Added "format" attribute to barcode objects. This attribute is used
3924 to properly format freeform barcodes barcodes prior to merge data is
3925 applied, so that barcodes can be accurately layed out. This addresses
3926 remaining issues of feature request #824787. Also added an example of
3927 the format in the object editor.
3929 2004-07-12 Jim Evins <evins@snaught.com>
3931 Various code cleanups.
3933 * src/label-barcode.c:
3934 Removed unneeded include of gnome-glyphlist.h.
3936 * src/label-text.c: (get_size):
3937 Fixed memory leak: unref glyphlists when done with them.
3939 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3940 * src/object-editor-data-page.c:
3941 (gl_object_editor_prepare_data_page):
3942 * src/object-editor-image-page.c:
3943 (gl_object_editor_prepare_image_page):
3944 * src/object-editor-line-page.c:
3945 (gl_object_editor_prepare_line_page):
3946 * src/object-editor-lsize-page.c:
3947 (gl_object_editor_prepare_lsize_page):
3948 * src/object-editor-position-page.c:
3949 (gl_object_editor_prepare_position_page):
3950 * src/object-editor-size-page.c:
3951 (gl_object_editor_prepare_size_page):
3952 * src/object-editor-text-page.c:
3953 (gl_object_editor_prepare_text_page):
3954 Removed unneeded size groups, originally intended to keep widgets aligned.
3955 Now use tables to lay these out in object-editor.glade.
3957 * src/print.c: (draw_text_object):
3958 Fixed memory leak: unref glyphlists when done with them.
3960 * src/view-barcode.c: (draw_barcode):
3961 Fixed memory leak: unref glyphlists when done with them.
3963 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3964 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3966 - Fixed memory leak: unref glyphlists when done with them.
3968 2004-07-11 Jim Evins <evins@snaught.com>
3970 * data/glabels-2.0.dtd:
3971 * src/label-text.c: (gl_label_text_instance_init), (copy),
3972 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3974 * src/object-editor-private.h:
3975 * src/object-editor-text-page.c:
3976 (gl_object_editor_prepare_text_page),
3977 (gl_object_editor_set_text_auto_shrink),
3978 (gl_object_editor_get_text_auto_shrink):
3979 * src/object-editor.c: (gl_object_editor_set_key_names):
3980 * src/object-editor.glade:
3981 * src/object-editor.h:
3982 * src/print.c: (draw_text_object):
3983 * src/view-text.c: (update_object_from_editor_cb),
3984 (update_editor_from_object_cb):
3985 * src/xml-label.c: (xml_parse_object_text),
3986 (xml_create_object_text):
3987 Added option to allow document merge to auto shrink text size to fit
3988 within the text box. The code in print.c that actually shrinks the
3989 text is loosely based on a patch submitted by Mark Harrison
3990 <mark.harrison@velocitynet.com.au>. This addresses feature request
3993 2004-07-11 Jim Evins <evins@snaught.com>
3995 * data/glabels-2.0.dtd:
3996 * libglabels/template.c: (gl_template_rect_label_type_new),
3997 (gl_template_round_label_type_new),
3998 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3999 (template_full_page):
4000 * libglabels/template.h:
4001 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
4002 (xml_create_label_node):
4003 * pixmaps/ex-rect-size.png:
4004 * src/print.c: (clip_to_outline), (clip_punchouts):
4005 * src/template-designer.c: (construct_rect_size_page),
4006 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
4008 * src/template-designer.glade:
4009 * src/xml-label-191.c: (xml191_parse_label):
4010 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
4011 properties for rectangular labels. Templates remain backwards compatible,
4012 but this breaks the libglabels API (I don't know of anyone outside of
4013 glabels using libglabels at this time -- what can I say, the program is
4014 is still "unstable"). This addresses the suggestion in Feature Request
4017 2004-07-05 Jim Evins <evins@snaught.com>
4018 * src/print.c: (print_crop_marks), (draw_outline):
4019 Changed crop marks and label outlines to black, instead of 25% gray.
4020 This addresses debian Bug #257460.
4022 2004-07-05 Jim Evins <evins@snaught.com>
4024 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
4025 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
4026 Preserve "is_default" of fill and line color_combos when creating from
4029 2004-07-02 Jim Evins <evins@snaught.com>
4032 Created man page. Based on page submitted by Matthew J. Lockner, however
4033 it has been severely edited.
4035 * data/avery-other-templates.xml
4036 * data/misc-other-templates.xml:
4037 Started new files for predefined templates with non-standard sheet sizes.
4038 These have been initially populated with the Avery 06141 and
4039 OfficeMax #86112, both provided by Matthew J. Lockner.
4042 Install above manpage and template files.
4045 Make sure we install man pages.
4047 * src/glabels-batch.c:
4048 Changed short form of help option to '-?' to be consistent with glabels.
4051 Added acknowledgement for above labels.
4053 2004-07-02 Jim Evins <evins@snaught.com>
4055 * src/glabels.c: (main), (save_session_cb):
4056 - Now include libbonoboui.h, recent.h, and file.h to provide missing
4058 - save_session_cb() now returns gboolean.
4059 - Minor formatting changes.
4063 - Now include file.h to provide missing prototype.
4064 - gl_window_get_type() now returns GType, not guint. I believe this may
4065 ultimately be cause of the segfault reported in Bug #982287, since
4066 GType is actually a gulong, which may not be compatible on other
4067 architectures (64bit) -- I cannot personally test this at this time.
4068 I was sloppy in several other xxx_get_type() functions which also
4069 returned guint -- see next group of files:
4071 * src/window.c: (gl_window_get_type):
4072 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
4073 * src/canvas-hacktext.h:
4074 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
4075 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
4076 (gl_hig_hbox_get_type):
4078 * src/label-barcode.c: (gl_label_barcode_get_type):
4079 * src/label-barcode.h:
4080 * src/label-box.c: (gl_label_box_get_type):
4082 * src/label-ellipse.c: (gl_label_ellipse_get_type):
4083 * src/label-ellipse.h:
4084 * src/label-image.c: (gl_label_image_get_type):
4085 * src/label-image.h:
4086 * src/label-line.c: (gl_label_line_get_type):
4088 * src/label-object.c: (gl_label_object_get_type):
4089 * src/label-object.h:
4090 * src/label-text.c: (gl_label_text_get_type):
4092 * src/label.c: (gl_label_get_type):
4094 * src/merge-properties-dialog.c:
4095 (gl_merge_properties_dialog_get_type):
4096 * src/merge-properties-dialog.h:
4097 * src/merge-text.c: (gl_merge_text_get_type):
4099 * src/merge.c: (gl_merge_get_type):
4101 * src/object-editor.c: (gl_object_editor_get_type):
4102 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
4103 * src/prefs-dialog.h:
4104 * src/prefs-model.c: (gl_prefs_model_get_type):
4105 * src/prefs-model.h:
4106 * src/print-dialog.c: (gl_print_dialog_get_type):
4107 * src/print-dialog.h:
4108 * src/template-designer.c: (gl_template_designer_get_type):
4109 * src/template-designer.h:
4110 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
4111 * src/ui-property-bar.h:
4112 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
4114 * src/view-barcode.c: (gl_view_barcode_get_type):
4115 * src/view-barcode.h:
4116 * src/view-box.c: (gl_view_box_get_type):
4118 * src/view-ellipse.c: (gl_view_ellipse_get_type):
4119 * src/view-ellipse.h:
4120 * src/view-highlight.c: (gl_view_highlight_get_type):
4121 * src/view-highlight.h:
4122 * src/view-image.c: (gl_view_image_get_type):
4124 * src/view-line.c: (gl_view_line_get_type):
4126 * src/view-object.c: (gl_view_object_get_type):
4127 * src/view-object.h:
4128 * src/view-text.c: (gl_view_text_get_type):
4130 * src/view.c: (gl_view_get_type):
4132 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
4133 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
4134 * src/wdgt-image-select.h:
4135 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
4136 * src/wdgt-media-select.h:
4137 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
4138 * src/wdgt-mini-preview.h:
4139 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
4140 * src/wdgt-print-copies.h:
4141 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
4142 * src/wdgt-print-merge.h:
4143 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
4144 * src/wdgt-rotate-label.h:
4145 - Made sure all xxx_get_type functions returned GType, not guint. This
4146 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
4147 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
4148 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
4149 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
4150 window.[ch] details above for more info.
4151 - Reconciled various coding style differences in all xxx_get_type()
4153 * All prototypes include G_GNUC_CONST.
4154 * All prototypes specify the return value as GType, not GtkType
4156 * Info structures are all declared as "static const."
4157 * Generalized the names of type and info variables.
4158 * Miscelaneous formatting.
4160 2004-06-08 Jim Evins <evins@snaught.com>
4166 Don't touch compression of original file -- still defaults to 9 for
4167 new files. Original patch provided by Javier Donaire Segarra
4168 (#912252 in patch tracker).
4170 2004-05-05 Jim Evins <evins@snaught.com>
4172 * data/glabels-2.0.dtd:
4173 Broke DTD previously when adding new barcode types that contain a
4174 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
4175 to avoid the problem.
4176 * data/avery-iso-templates.xml:
4177 * data/zweckform-iso-templates.xml:
4179 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
4180 provided by Frank Altpeter.
4181 * libglabels/xml-template.c: (xml_create_label_node):
4182 Reordered markup and layout sub-nodes so that resulting templates will
4183 validate against DTD.
4185 2004-03-13 Jim Evins <evins@snaught.com>
4187 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
4188 Changed spin callback signals from "value-changed" back to "changed."
4189 This was accidentally introduced in a previous revision, and can cause
4190 size changes just by selecting the size tab.
4192 2004-03-06 Jim Evins <evins@snaught.com>
4194 * src/view.c: (draw_grid_layer):
4195 For round labels (round and cd) adjust grid so that it lines up with
4196 center of label. Also, no longer draw box around label in the grid layer,
4197 it is hidden by he fg layer anyway. Feature suggested by
4198 nemolivier@free.fr. Although the grid is aligned with the center of the
4199 label, the coordinate system is still relative to the upper left corner
4200 of the rectangle containing the label.
4202 2004-02-25 Jim Evins <evins@snaught.com>
4205 Changed version to 2.0pre1cvs
4207 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
4208 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
4209 instead of doc->name fields when errors encountered.
4211 2004-02-21 Jim Evins <evins@snaught.com>
4213 * data/avery-iso-templates.xml:
4214 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
4217 Added libglabels library and include file to installed files.
4220 Final prep for 1.93.3.
4222 2004-02-20 Jim Evins <evins@snaught.com>
4224 * src/glabels-batch.c: (main):
4225 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
4226 as suggested by Javier Donaire Segarra. This addresses bug #901063.
4228 2004-02-16 Jim Evins <evins@snaught.com>
4231 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
4234 Added HAVE_FILE_CHOOSER to INCLUDES.
4236 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
4237 (gl_file_save_as), (save_as_response):
4238 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
4240 2004-02-16 Jim Evins <evins@snaught.com>
4242 * src/xml-label-04.c: (xml04_parse_image_props):
4243 * src/xml-label-191.c: (xml191_parse_image_props):
4244 * src/xml-label.c: (xml_parse_object_image):
4245 Delay setting image size until after image has been applied to new
4248 2004-02-15 Jim Evins <evins@snaught.com>
4250 * src/label-barcode.c: (gl_label_barcode_set_data),
4251 (gl_label_barcode_set_props):
4252 Don't emit "changed" signal, if no change actually made for these
4253 methods. Reduces number of unnecessary redraws of barcodes.
4255 * src/label-object.h:
4256 * src/label-object.c: (gl_label_object_set_position),
4257 (gl_label_object_set_position_relative), (set_size),
4258 (gl_label_object_set_size),
4259 (gl_label_object_set_size_honor_aspect):
4260 Don't emit "changed" signal, if no change actually made for these
4263 2004-02-15 Jim Evins <evins@snaught.com>
4265 * data/glabels-2.0.dtd:
4266 Added specific subtypes for various barcode types.
4269 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
4270 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
4271 (gl_barcode_can_text), (gl_barcode_text_optional),
4272 (gl_barcode_can_csum), (gl_barcode_csum_optional),
4273 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
4274 Changed API to use a string id, rather than a fixed enumeration. Id and
4275 name are separate strings. Added entries to backend table for specific
4276 subtypes for various barcode types.
4279 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4281 Modified to conform to above API. Now more stringent with data length
4282 for various subtypes.
4284 * src/bc-gnubarcode.h:
4285 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4286 (is_length_valid), (is_length1_valid), (is_length2_valid):
4287 Modified to conform to above API. Now more stringent with data length
4288 for various subtypes.
4290 * src/label-barcode.h:
4291 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4292 (gl_label_barcode_get_props), (get_size):
4293 Modified to use above API for storing barcode type.
4295 * src/object-editor.h:
4296 * src/object-editor-bc-page.c: (style_changed_cb),
4297 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4298 Modified to use above API for storing barcode type.
4300 * src/object-editor-size-page.c:
4301 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4302 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4303 Added debug markers.
4305 * src/object-editor.glade:
4306 Made barcode style combo's text entry non-editable.
4308 * src/print.c: (draw_barcode_object):
4309 Modified to use above API for barcode type.
4311 * src/view-barcode.c: (update_object_from_editor_cb),
4312 (update_editor_from_object_cb),
4313 (gl_view_barcode_create_event_handler), (draw_barcode):
4314 Modified to use above API for barcode type.
4316 * src/xml-label-04.c: (xml04_parse_barcode_props):
4317 * src/xml-label-191.c: (xml191_parse_barcode_props):
4318 * src/xml-label.c: (xml_parse_object_barcode),
4319 (xml_create_object_barcode):
4320 Modified to use above API for barcode type.
4322 2004-02-07 Jim Evins <evins@snaught.com>
4324 * src/stock-pixmaps/Makefile.am:
4325 * src/stock-pixmaps/stock_hchain_24.png:
4326 * src/stock-pixmaps/stock_hchain_broken_24.png:
4327 * src/stock-pixmaps/stock_vchain_24.png:
4328 * src/stock-pixmaps/stock_vchain_broken_24.png:
4329 Added chain pixmaps borrowed from the gimp's default theme.
4332 * src/stock.c: (gl_stock_init), (add_button_icon):
4333 Added above pixmaps to stock icon sets. Created add_button_icon() to
4334 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4336 * src/wdgt-chain-button.h
4337 * src/wdgt-chain-button.c
4340 Added this Modified version of gimpchainbutton widget, borrowed from
4344 Added acknowledgements of the above borrowing from the gimp.
4346 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4348 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4349 * src/object-editor.glade:
4350 Replaced the keep aspect ratio check box with the above chain-button
4353 * src/text-node.c: (gl_text_node_equal):
4355 Added function gl_text_node_equal() to compare text_nodes.
4357 * src/label-image.c: (gl_label_image_set_filename):
4358 Replaced incomplete text_node comparison code with invocation of
4359 gl_text_node_equal. This fixed the problem of not being able to
4360 resize an image using the object_editor if the aspect ratio is not
4363 2004-02-04 Jim Evins <evins@snaught.com>
4365 * src/object-editor-image-page.c:
4366 (gl_object_editor_prepare_image_page):
4367 Track "changed" signal of pixmap entry's GtkEntry rather than its
4368 "activate" signal -- this catches all changes to the entry rather than
4369 just changes resulting from a browse, so one can easily pull previous
4370 entries from the history. (This change is marked below on 2004-02-03,
4371 but somehow never got checked in.)
4373 * src/view-highlight.c: (sl_resize_event_handler),
4374 (sr_resize_event_handler), (st_resize_event_handler),
4375 (sb_resize_event_handler):
4376 Side resize handles will now confirm the actual resize that the object
4377 accepted before adjusting position parameters. Previously some interesting
4378 things happened when resizing a barcode to its minimum size.
4380 2004-02-03 Jim Evins <evins@snaught.com>
4382 * src/object-editor-image-page.c:
4383 (gl_object_editor_prepare_image_page):
4384 Track "changed" signal of pixmap entry's GtkEntry rather than its
4385 "activate" signal -- this catches all changes to the entry rather than
4386 just changes resulting from a browse, so one can easily pull previous
4387 entries from the history.
4389 * src/view-highlight.c: (tl_resize_event_handler),
4390 (tr_resize_event_handler), (bl_resize_event_handler),
4391 (br_resize_event_handler):
4392 Allow control key to be dropped while dragging a corner resize handle
4393 without losing the aspect ratio lock.
4395 2004-02-02 Jim Evins <evins@snaught.com>
4397 * src/label-image.c: (gl_label_image_set_filename):
4398 When setting a new filename adjust size such that the aspect ratio of
4399 the image is preserved using the current size as a bounding box.
4401 * src/view-image.c: (update_object_from_editor_cb):
4402 When updating object from editor, feed back possible size changes to
4403 editor as a result of a possible change in image.
4405 * src/object-editor-size-page.c: (size_reset_cb):
4406 Fixed typo when blocking spin handlers. If the base size is larger than
4407 the max size, treat max size as a bounding box while keeping aspect
4411 2004-02-02 Jim Evins <evins@snaught.com>
4413 * src/label-object.h:
4414 * src/label-object.c: (gl_label_object_set_size),
4415 (gl_label_object_set_size_honor_aspect):
4416 Added gl_label_object_set_size_honor_aspect() which will maintain the
4417 current aspect ratio by modifying the supplied w or h apropriately.
4419 * src/view-highlight.c: (tl_resize_event_handler),
4420 (tr_resize_event_handler), (bl_resize_event_handler),
4421 (br_resize_event_handler):
4422 Corner handles will now maintain the current aspect ratio if the
4423 control key is pressed while resizing. This addresses feature
4427 2004-01-31 Jim Evins <evins@snaught.com>
4430 * data/avery-us-templates.xml:
4431 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4433 * libglabels/template.c: (read_template_files_from_dir):
4434 Corrected problem with testing for extensions.
4436 * src/object-editor.glade:
4437 Corrected grouping of radio buttons in barcode data page.
4439 * src/print.c: (draw_barcode_object):
4440 * src/view-barcode.c: (draw_barcode):
4441 Corrected problem with calculation of y_offset for locating characters.
4443 2004-01-24 Jim Evins <evins@snaught.com>
4446 * data/avery-us-templates.xml:
4447 Added Avery 5824, submitted by Fred Bacon.
4449 2004-01-20 Jim Evins <evins@snaught.com>
4451 Catching up on a couple of backlogged user template submissions.
4453 * data/avery-iso-templates.xml:
4454 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4455 Suggested by Linas Jakucionis.
4457 * data/zweckform-iso-templates.xml:
4458 Added Zweckform 4760, submitted by Thomas Vill.
4461 Updated to reflect above submissions.
4463 2004-01-06 Jim Evins <evins@snaught.com>
4465 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4466 xml.[ch] into a separate library called libglabels, to facilitate third
4467 party use of glabels template files. This was suggested by Wayne Schuller.
4468 Once split-out, some modifications to the structures and functions to
4469 make a cleaner more useful API, hopefully. Rather extensive changes have
4470 propogated to other modules.
4478 * src/xml-template.h:
4479 * src/xml-template.c:
4482 These files have been moved to libglabels/. API cleanup performed.
4484 * libglabels/libglabels.h:
4485 * libglabels/libglabels-private.h:
4486 * libglabels/Makefile.am:
4487 These files have been added to finish out libglabels.
4494 Modified to reflect new sets of files in src/ and libglabels/.
4496 * COPYING.LIBGLABELS:
4498 Added copy of the LGPL for libglabels, and a copy the GFDL for
4501 * src/glabels-batch.c:
4503 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4504 (gl_label_get_size):
4506 * src/prefs-model.c: (gl_prefs_model_load_settings):
4507 * src/print-dialog.c:
4508 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4509 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4510 (print_crop_marks), (print_label), (draw_outline),
4511 (clip_to_outline), (clip_punchouts):
4512 * src/template-designer.c: (construct_pg_size_page),
4513 (pg_size_page_changed_cb), (layout_page_changed_cb),
4514 (print_test_cb), (build_template):
4515 * src/util.c: (gl_util_fraction):
4517 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4518 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4519 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4520 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4521 (draw_markup_margin_round), (draw_markup_margin_cd),
4522 (draw_markup_margin_cd_bc), (draw_markup_line),
4523 (draw_markup_circle), (gl_view_copy):
4524 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4525 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4526 (get_label_size_desc):
4527 * src/wdgt-mini-preview.c:
4528 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4530 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4531 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4532 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4533 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4534 * src/wdgt-rotate-label.h:
4535 * src/xml-label-04.c: (xml04_parse_media_description):
4536 * src/xml-label-191.c: (gl_xml_label_191_parse),
4537 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4538 (xml191_parse_markup), (xml191_parse_alias):
4539 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4541 Various changes to accomodate new libglabels API.
4543 2004-01-03 Jim Evins <evins@snaught.com>
4548 2004-01-03 Jim Evins <evins@snaught.com>
4551 Added acknowledgement of contributions by Wayne Schuller.
4553 * src/commands.c: (gl_cmd_file_print):
4554 Create extra reference to print dialog, so that it can be properly re-used.
4556 * src/mygal/mygal-combo-box.h:
4557 * src/mygal/mygal-combo-box.c:
4558 (mygal_combo_box_popup_hide_unconditional),
4559 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4560 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4561 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4562 (mygal_combo_box_set_tearable):
4563 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4564 complete the rename of this widget to prevent namespace collisions
4567 * src/prefs-dialog.glade:
4568 Fixed alignment of Fill/Color widgets.
4570 2004-01-03 Jim Evins <evins@snaught.com>
4572 * data/avery-iso-templates.xml:
4573 Added user submitted templates.
4574 Avery 8435A & 8435B, submitted by Ludger Solbach.
4576 * doc/C/glabels.xml:
4577 Added minimal documentation, noting the new template designer.
4579 2004-01-03 Jim Evins <evins@snaught.com>
4581 * pixmaps/ex-rect-size.png:
4582 * pixmaps/ex-round-size.png:
4583 * pixmaps/ex-cd-size.png:
4584 * pixmaps/Makefile.am:
4585 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4586 files to be used as illustrations/examples in the template-designer.
4588 * src/template-designer.c: (construct_rect_size_page),
4589 (construct_round_size_page), (construct_cd_size_page),
4590 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4591 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4592 (layout_page_prepare_cb), (build_template):
4593 * src/template-designer.glade:
4594 Added illustrations for rectangle, round, and cd label size pages.
4595 Added margin spinboxes to these pages, and now add a margin markup
4596 to the constructed template. Added realistic default values for
4597 some of the size spinboxes. Cleaned up the code for setting spinbox
4598 ranges on the layouts page.
4600 2004-01-02 Jim Evins <evins@snaught.com>
4602 * src/object-editor-size-page.c: (h_spin_cb):
4603 Fixed cut-n-paste error in h_spin_cb that loaded h from
4604 the wrong spinbutton.
4606 * src/object-editor.h:
4607 * src/object-editor.c: (gl_object_editor_class_init),
4608 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4609 * src/object-editor-private.h:
4610 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4612 Added "size_changed" signal.
4614 * src/view-text.c: (construct_properties_editor),
4615 (update_object_from_editor_cb),
4616 (update_object_from_editor_size_cb):
4617 Track size changes from object editor separately from other
4618 properties. This is so the default size (0,0) of a text
4619 object is not modified unintentionally.
4621 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4623 Added feature: line spacing - allows you to comfortably space a text box to
4624 fit a label perfectly.
4626 * data/glabels-2.0.dtd:
4627 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4628 (gl_label_object_get_text_alignment),
4629 (gl_label_object_get_text_line_spacing):
4630 * src/label-object.h:
4631 * src/label-text.c: (gl_label_text_class_init),
4632 (gl_label_text_instance_init), (copy), (get_size),
4633 (set_text_line_spacing), (get_text_alignment),
4634 (get_text_line_spacing):
4635 * src/object-editor-private.h:
4636 * src/object-editor-text-page.c:
4637 (gl_object_editor_prepare_text_page),
4638 (gl_object_editor_set_text_line_spacing),
4639 (gl_object_editor_get_text_line_spacing):
4640 * src/object-editor.glade:
4641 * src/object-editor.h:
4642 * src/prefs-dialog.c: (construct_object_page),
4643 (update_object_page_from_prefs), (update_prefs_from_object_page):
4644 * src/prefs-dialog.glade:
4645 * src/prefs-model.c: (gl_prefs_model_save_settings),
4646 (gl_prefs_model_load_settings), (get_float):
4647 * src/prefs-model.h:
4648 * src/print.c: (draw_text_object):
4650 * src/view-text.c: (update_object_from_editor_cb),
4651 (update_editor_from_object_cb),
4652 (gl_view_text_create_event_handler), (draw_hacktext):
4653 * src/view.c: (gl_view_construct),
4654 (gl_view_set_selection_text_line_spacing),
4655 (gl_view_set_default_text_line_spacing),
4656 (gl_view_get_default_text_line_spacing):
4658 * src/xml-label.c: (xml_parse_toplevel_span),
4659 (xml_create_toplevel_span):
4661 2003-12-30 Jim Evins <evins@snaught.com>
4663 * src/template-designer.c:
4664 * src/template-designer.h:
4665 * src/template-designer.glade:
4666 New template designer assistant.
4670 Added entries for src/template-designer.* files.
4672 * pixmaps/ex-1layout.png
4673 * pixmaps/ex-2layouts.png
4674 * pixmaps/Makefile.am:
4675 Added the new image files ex-*.png used as illustrations in the
4676 template designer assistant.
4678 * src/print-dialog.h:
4679 * src/print-dialog.c: (gl_print_dialog_finalize),
4680 (gl_print_dialog_new), (gl_print_dialog_construct),
4681 (gl_print_dialog_force_outline_flag):
4682 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4683 to support printing from the template designer assistant which does not
4684 have a full-fledged view. Nothing else from the view object was being
4685 used by the dialog anyway.
4687 Added the gl_print_dialog_force_outline_flag() method, for better
4688 integration with the template designer assistant.
4692 * src/commands.c: (gl_cmd_file_template_designer),
4693 (gl_cmd_file_print):
4694 Modified print command to provide label instead of view to dialog.
4695 Added the gl_cmd_file_template_designer() command to invoke the
4696 template designer assistant.
4699 * src/glabels-ui.xml:
4700 Added support for template designer assistant.
4702 * src/wdgt-mini-preview.h:
4703 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4704 (gl_wdgt_mini_preview_set_bg_color):
4705 Preview is now centered in canvas. Added
4706 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4707 assistant to match the background color with its own.
4709 * src/print.c: (clip_to_outline):
4710 Fixed really stupid bug when adding waste to clip region of rectangular
4711 labels/cards. Each side of the clip region needs to be extended by
4712 twice the waste margin, as well as negatively offset by the waste
4715 2003-12-28 Jim Evins <evins@snaught.com>
4717 * src/prefs-dialog.c: (update_object_page_from_prefs):
4718 Block intermediary function align_toggle_cb() instead of
4719 update_prefs_from_object_page() for the three alignment
4722 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4724 * src/file.c: (gl_file_new), (gl_file_properties):
4725 Swap button order and set default for higificatory pleasure.
4727 2003-12-27 Jim Evins <evins@snaught.com>
4729 * barcode-0.98/Makefile.am:
4730 One last time: removed doc/Makefile and po/Makefile.in.in from
4733 2003-12-27 Jim Evins <evins@snaught.com>
4735 * barcode-0.98/Makefile.am:
4736 Removed config.stat entry from EXTRA_DIST files.
4738 * barcode-0.98/Makefile.in:
4741 2003-12-27 Jim Evins <evins@snaught.com>
4744 Updated to work with latest gnome-common package from CVS.
4745 Removed recursive configuration of barcode-0.98.
4752 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4754 * barcode-0.98/Makefile.in:
4755 * barcode-0.98/configure.in:
4756 * barcode-0.98/Makefile.am:
4757 * barcode-0.98/README.glabels:
4758 Modified to ignore the barcode package's build system, and build
4759 as a part of glabels.
4760 Renamed Makefile.in to Makefile.in.dist.
4761 Renamed configure.in to configure.in.dist.
4762 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4765 * src/mygal/Makefile.am:
4766 * src/recent-files/Makefile.am:
4767 In order to build against the GNOME 2.5 platform,
4768 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4770 * src/mygal/Makefile.am:
4771 * src/mygal/mygal-combo-box.c:
4772 * src/mygal/mygal-combo-box.h:
4773 * src/mygal/widget-color-combo.c:
4774 * src/mygal/widget-color-combo.h:
4776 In order to build against the GNOME 2.5 platform,
4777 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4778 collisions with the real gtk_combo_box widget, now a part of gtk.
4780 2003-12-26 Jim Evins <evins@snaught.com>
4786 Moved local versions of get_home_data_dir() in paper.c and
4787 template.c to util package. Cleaned up formatting in
4791 In gl_template_register() save a copy of the template in
4792 ~/.glabels if the template is not known. Still need to
4793 handle duplicate filename case and duplicate name but
4794 different template case.
4798 Moved local definition of NAME_SPACE macro from xml-label.c
4801 * src/xml-template.c:
4802 * src/xml-template.h:
4803 Added function gl_xml_template_write_template_to_file(), used
4804 in gl_template_register().