1 2009-05-18 Jim Evins <evins@snaught.com>
3 * src/prefs-model.c: (gl_prefs_model_load_settings):
4 Make an educated guess at locale settings when run for the
7 2009-05-17 Jim Evins <evins@snaught.com>
10 * help/glabels.omf.in:
11 Adding missing files from last checkin.
13 2009-05-17 Jim Evins <evins@snaught.com>
17 * help/C/glabels-C.omf:
21 Updated german translation, gnome-doc-utils support and
22 german translation of glabels manual (Mario Blättermann).
24 2009-05-01 Jim Evins <evins@snaught.com>
29 Added catalan translation (David Planella).
31 2009-04-29 Jim Evins <evins@snaught.com>
33 * data/templates/avery-iso-templates.xml:
34 * data/templates/misc-iso-templates.xml:
35 * data/templates/misc-us-templates.xml:
36 Caught up on user submitted templates.
38 Acknowledgements for above templates.
40 2009-04-29 Jim Evins <evins@snaught.com>
44 Updated german translation (Mario Blättermann).
46 2009-03-23 Jim Evins <evins@snaught.com>
48 * src/glabels-batch.c: (main):
49 * src/glabels.c: (main):
50 Tidy up help option output.
52 2009-02-28 Jim Evins <evins@snaught.com>
57 Deleted base64 module.
58 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
59 Use base64 encode/decode from glib.
61 2009-02-22 Jim Evins <evins@snaught.com>
63 * src/merge-properties-dialog.h:
64 * src/new-label-dialog.h:
65 * src/object-editor.h:
68 * src/template-designer.h:
69 Corrected cut&paste errors.
71 2009-02-21 JimEvins <evins@snaught.com>
73 * src/prefs-model.c: (gl_prefs_model_save_settings),
74 (gl_prefs_model_load_settings):
77 * src/ui-property-bar.c:
78 * src/ui.c: (view_ui_item_toggled_cb),
79 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
80 Removed tooltip toggling capability, which wasn't working
83 2009-02-21 JimEvins <evins@snaught.com>
87 * data/builder/object-editor.glade:
88 * data/builder/prefs-dialog.glade:
89 * data/builder/property-bar.glade:
90 * data/builder/template-designer.glade:
92 * src/color-combo-color-menu-item.c:
93 * src/color-combo-color-menu-item.h:
94 * src/color-combo-menu.h:
95 * src/glabels-batch.c: (main):
96 * src/glabels.c: (main):
97 * src/merge-properties-dialog.h:
98 * src/new-label-dialog.h:
99 * src/object-editor-lsize-page.c:
100 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
101 * src/object-editor.h:
102 * src/prefs-dialog.h:
104 * src/template-designer.h:
105 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
106 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
107 * src/ui-property-bar.c:
108 * src/ui-property-bar.h:
109 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
110 (selection_changed_cb):
113 * src/wdgt-media-select.h:
114 * src/wdgt-merge-menu.h:
115 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
116 * src/wdgt-mini-preview.h:
117 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
118 * src/wdgt-print-copies.h:
119 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
120 * src/wdgt-print-merge.h:
121 * src/wdgt-rotate-label.h:
123 Removed final dependencies on libgnome and libgnomeui.
124 Removed all currently deprecated symbols as of GTK 2.14.
126 2009-01-07 Jim Evins <evins@snaught.com>
128 * src/critical-error-handler.c: (critical_error_handler):
129 * src/ui-commands.c: (gl_ui_cmd_help_contents):
130 * src/warning-handler.c: (warning_handler):
131 * src/view.c: (selection_received_cb):
132 Compile without warning with additional CFLAGS of
133 -O1 -Wall -Wformat=2.
135 2009-01-02 Jim Evins <evins@snaught.com>
137 * COPYING.README_FIRST:
140 2008-12-27 Jim Evins <evins@snaught.com>
142 * data/templates/avery-iso-templates.xml:
143 * data/templates/avery-other-templates.xml:
144 * data/templates/avery-us-templates.xml:
145 * data/templates/brother-other-templates.xml:
146 * data/templates/misc-iso-templates.xml:
147 * data/templates/misc-other-templates.xml:
148 * data/templates/zweckform-iso-templates.xml:
149 Make sure all descriptions are marked as translatable.
151 2008-12-27 Jim Evins <evins@snaught.com>
154 Updated german translation (Mario Blättermann)
156 Updated credits to reflect above translation.
157 * data/builder/object-editor.glade:
158 * data/builder/prefs-dialog.glade:
159 * data/builder/template-designer.glade:
160 Removed "translatable" attribute from whitespace strings,
161 which are used only to help layout.
163 2008-12-21 Jim Evins <evins@snaught.com>
165 * data/templates/avery-us-templates.xml:
166 * data/templates/misc-iso-templates.xml:
167 A couple of recent template submissions.
169 Acknowledgements for above templates.
171 2008-12-21 Jim Evins <evins@snaught.com>
173 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
174 Don't check for handles on aggregate selections.
176 2008-12-20 Jim Evins <evins@snaught.com>
179 Updated prerequisite library versions required.
181 2008-12-18 Jim Evins <evins@snaught.com>
183 * src/view.c: (selection_received_cb):
184 Fixed paste bug that caused a duplicate phantom view_object to be created for
185 each new label_object. This is because the view now (as of r673) the view
186 monitiors the label for new objects and creates view_objects automatically.
188 2008-12-14 Jim Evins <evins@snaught.com>
190 * src/ui.c: (gl_ui_new):
191 Bug #2395628. Fixed i18n for application shell.
193 Bug #2395628. Reconciled POTFILES.in with current files.
195 2008-12-14 Jim Evins <evins@snaught.com>
198 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
200 2008-11-15 Jim Evins <evins@snaught.com>
202 * libglabels/db.c: (lgl_db_register_template):
203 * libglabels/xml-template.c:
204 (lgl_xml_template_parse_template_node):
205 * src/glabels-batch.c:
206 * src/view-text.c: (gl_view_text_create_button_press_event):
207 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
209 2008-11-09 Jim Evins <evins@snaught.com>
211 * data/templates/misc-iso-templates.xml:
212 Another user submitted template.
214 2008-10-27 Jim Evins <evins@snaught.com>
216 * data/templates/avery-us-templates.xml:
217 * data/templates/misc-iso-templates.xml:
218 * data/templates/zweckform-iso-templates.xml:
219 Caught up on user submitted templates.
221 Acknowledgements for above templates.
223 2008-10-23 Jim Evins <evins@snaught.com>
225 * src/label-text.c: (set_font_family):
226 * src/object-editor-text-page.c:
227 (gl_object_editor_prepare_text_page),
228 (gl_object_editor_set_font_family):
229 * src/prefs-dialog.c: (construct_object_page),
230 (update_object_page_from_prefs):
231 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
232 (reset_to_default_properties):
233 * src/util.c: (gl_util_get_font_family_list):
235 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
236 everytime the list is requested.
237 * src/object-editor-text-page.c:
238 (gl_object_editor_set_font_family):
239 Don't change font-family if it hasn't actually changed.
241 2008-10-19 Jim Evins <evins@snaught.com>
243 * data/builder/object-editor.glade:
244 Some tweaking of builder/glade widgets.
246 2008-10-18 Jim Evins <evins@snaught.com>
248 Migrated all use of libglade to GtkBuilder.
250 * data/glade/Makefile.am:
251 * data/glade/merge-properties-dialog.glade:
252 * data/glade/new-label-dialog.glade:
253 * data/glade/object-editor.glade:
254 * data/glade/prefs-dialog.glade:
255 * data/glade/print-custom-widget.glade:
256 * data/glade/property-bar.glade:
257 * data/glade/template-designer.glade:
258 * data/glade/wdgt-media-select.glade:
259 Removed data/glade directory.
260 * data/builder/Makefile.am:
261 * data/builder/merge-properties-dialog.glade:
262 * data/builder/new-label-dialog.glade:
263 * data/builder/object-editor.glade:
264 * data/builder/prefs-dialog.glade:
265 * data/builder/print-custom-widget.glade:
266 * data/builder/property-bar.glade:
267 * data/builder/template-designer.glade:
268 * data/builder/wdgt-media-select.glade:
269 Added data/builder directory.
273 Change glade to builder.
274 * src/merge-properties-dialog.c:
275 (gl_merge_properties_dialog_finalize),
276 (gl_merge_properties_dialog_construct):
277 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
278 (gl_new_label_dialog_construct):
279 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
280 * src/object-editor-data-page.c:
281 (gl_object_editor_prepare_data_page):
282 * src/object-editor-edit-page.c:
283 (gl_object_editor_prepare_edit_page):
284 * src/object-editor-fill-page.c:
285 (gl_object_editor_prepare_fill_page):
286 * src/object-editor-image-page.c:
287 (gl_object_editor_prepare_image_page):
288 * src/object-editor-line-page.c:
289 (gl_object_editor_prepare_line_page):
290 * src/object-editor-lsize-page.c:
291 (gl_object_editor_prepare_lsize_page):
292 * src/object-editor-position-page.c:
293 (gl_object_editor_prepare_position_page):
294 * src/object-editor-private.h:
295 * src/object-editor-shadow-page.c:
296 (gl_object_editor_prepare_shadow_page):
297 * src/object-editor-size-page.c:
298 (gl_object_editor_prepare_size_page):
299 * src/object-editor-text-page.c:
300 (gl_object_editor_prepare_text_page):
301 * src/object-editor.c: (gl_object_editor_init):
302 * src/prefs-dialog.c: (gl_prefs_dialog_init),
303 (gl_prefs_dialog_construct), (construct_locale_page),
304 (construct_object_page):
305 * src/print-op.c: (gl_print_op_finalize),
306 (create_custom_widget_cb):
307 * src/template-designer.c: (gl_template_designer_class_init),
308 (gl_template_designer_finalize), (gl_template_designer_construct),
309 (construct_start_page), (construct_name_page),
310 (construct_pg_size_page), (construct_shape_page),
311 (construct_rect_size_page), (construct_round_size_page),
312 (construct_cd_size_page), (construct_nlayouts_page),
313 (construct_layout_page), (construct_finish_page):
314 * src/template-designer.h:
315 * src/ui-property-bar.c: (gl_ui_property_bar_init),
316 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
317 (gl_ui_property_bar_construct), (reset_to_default_properties),
318 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
319 (update_text_properties), (update_fill_color), (update_line_color),
320 (update_line_width), (selection_changed_cb),
321 (font_family_changed_cb), (font_size_changed_cb),
322 (text_color_changed_cb), (fill_color_changed_cb),
323 (line_color_changed_cb), (line_width_changed_cb),
324 (font_bold_toggled_cb), (font_italic_toggled_cb),
325 (text_align_toggled_cb), (set_doc_items_sensitive),
326 (set_text_items_sensitive), (set_fill_items_sensitive),
327 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
328 * src/ui-property-bar.h:
329 * src/util.c: (gl_util_get_builder_widgets):
331 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
332 (gl_wdgt_media_select_construct):
333 Migration of glade to builder.
335 New macros for color combo initialization.
337 Added idea for internal merge database.
338 * docs/libglabels/libglabels-undocumented.txt:
339 * docs/libglabels/tmpl/paper.sgml:
343 2008-10-12 Jim Evins <evins@snaught.com>
345 * src/mygal/Makefile.am:
346 * src/mygal/color-group.c:
347 * src/mygal/color-group.h:
348 * src/mygal/color-palette.c:
349 * src/mygal/color-palette.h:
350 * src/mygal/e-colors.c:
351 * src/mygal/e-colors.h:
352 * src/mygal/e-marshal.list:
353 * src/mygal/e-util.h:
354 * src/mygal/mygal-combo-box.c:
355 * src/mygal/mygal-combo-box.h:
356 * src/mygal/widget-color-combo.c:
357 * src/mygal/widget-color-combo.h:
363 * src/color-combo-color-menu-item.c:
364 * src/color-combo-color-menu-item.h:
365 * src/color-combo-history.c:
366 * src/color-combo-history.h:
367 * src/color-combo-menu.c:
368 * src/color-combo-menu.h:
373 Created new glColorCombo widget.
374 * src/object-editor-bc-page.c:
375 * src/object-editor-edit-page.c:
376 * src/object-editor-fill-page.c:
377 * src/object-editor-line-page.c:
378 * src/object-editor-shadow-page.c:
379 * src/object-editor-text-page.c:
380 * src/object-editor.c:
381 * src/prefs-dialog.c:
382 * src/ui-property-bar.c:
383 Replaced use of mygal color combo with new glColorCombo widget.
385 2008-08-29 Jim Evins <evins@snaught.com>
387 * src/file.c: (gl_file_open), (gl_file_save_as):
388 Bug #2069668. Corrected button order in Open and "Save as"
391 2008-08-17 Jim Evins <evins@snaught.com>
393 * data/dtd/glabels-2.2.dtd:
394 * data/templates/paper-sizes.xml:
395 * libglabels/db.c: (lgl_db_init):
396 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
397 * libglabels/paper.h:
398 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
399 * src/print-op.c: (set_page_size):
400 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
401 size specification) to the libglabels paper database to allow the page size to be
402 communicated to GtkPrintOp un-ambiguously.
404 2008-07-25 Jim Evins <evins@snaught.com>
406 * src/object-editor-size-page.c: (size_reset_cb),
407 (gl_object_editor_set_max_size):
408 Bug #1993550. Set size limits based on longest side of label.
410 2008-07-19 Jim Evins <evins@snaught.com>
413 * src/mygal/Makefile.am:
414 Make sure libtool handles library dependencies for mygal
417 2008-05-21 Jim Evins <evins@snaught.com>
419 * src/glabels-batch.c: (main):
420 Bug #1968653. Initialize prefs subsystem.
422 2008-05-09 Jim Evins <evins@snaught.com>
424 * data/glade/object-editor.glade:
425 Bug #1959135. A couple of radio buttons somehow became
428 2008-04-07 Jim Evins <evins@snaught.com>
430 * src/wdgt-rotate-label.h:
431 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
432 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
433 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
434 (gl_wdgt_rotate_label_set_template_name):
435 Modified wdgt-rotate-label to better indicate the rotation choices.
436 * data/glade/Makefile.am:
437 * data/glade/wdgt-rotate-label.glade:
438 Deleted wdgt-rotate-label.glade.
440 2008-04-04 Jim Evins <evins@snaught.com>
442 * data/templates/brother-other-templates.xml:
443 Added categories to existing templates.
444 * data/templates/misc-other-templates.xml:
445 Moved dymo templates to their own file.
446 * data/templates/Makefile.am:
447 * data/templates/dymo-other-templates.xml:
448 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
450 Acknowledgement for above templates.
452 2008-03-24 Jim Evins <evins@snaught.com>
454 * src/xml-label.c: (xml_doc_to_label):
455 Bug #1872584. Don't refuse to parse label file if namespace is
456 unrecognized -- it may be from a newer version of glabels.
458 2008-03-15 Jim Evins <evins@snaught.com>
460 * data/templates/Makefile.am:
461 * data/templates/brother-other-templates.xml:
462 Added brother templates.
463 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
464 (gl_cairo_markup_margin_cd_path):
465 * src/view.c: (draw_markup_layer):
466 Fixed markup drawing errors when label is rotated.
468 2008-03-03 Jim Evins <evins@snaught.com>
472 Added korean translation provided by xein@naver.com.
474 2008-02-21 Jim Evins <evins@snaught.com>
477 Fixed typo that prevented "Save" from being deactivated when
478 document is not modified.
480 2008-02-18 Jim Evins <evins@snaught.com>
482 * src/prefs-model.c: (gl_prefs_model_save_settings),
483 (gl_prefs_model_load_settings):
484 Set default units for file output.
486 2008-02-18 Jim Evins <evins@snaught.com>
488 * help/C/glabels.xml:
489 Fixed example template.
491 2008-02-16 Jim Evins <evins@snaught.com>
494 * data/templates/avery-iso-templates.xml:
495 * data/templates/avery-us-templates.xml:
496 * data/templates/misc-iso-templates.xml:
497 * data/templates/misc-us-templates.xml:
498 Caught up on user submitted templates.
500 2008-02-04 Jim Evins <evins@snaught.com>
502 * src/view-image.c: (update_object_from_editor_cb):
503 Bug #1886438. Don't update the image size unless it is actually
504 triggered by a change in image source. The result of this bug
505 was that any attempt to edit the size spinboxes, immediately
508 2008-02-03 Jim Evins <evins@snaught.com>
510 * src/label-image.c: (gl_label_image_class_init), (set_size):
511 Enforce minimum size for images.
513 2008-02-03 Jim Evins <evins@snaught.com>
515 * src/object-editor-edit-page.c: (field_selected_cb):
516 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
517 * src/object-editor-private.h:
518 * src/object-editor-shadow-page.c:
519 (gl_object_editor_set_max_shadow_offset):
520 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
521 * src/object-editor.c: (gl_object_editor_finalize),
522 (gl_object_editor_new), (gl_object_notebook_construct_valist),
524 * src/object-editor.h:
525 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
526 * src/view-barcode.c: (construct_properties_editor):
527 * src/view-box.c: (construct_properties_editor):
528 * src/view-ellipse.c: (construct_properties_editor):
529 * src/view-image.c: (construct_properties_editor):
530 * src/view-line.c: (construct_properties_editor):
531 * src/view-object.c: (gl_view_object_finalize):
532 * src/view-text.c: (construct_properties_editor),
533 Move update_editor_from_label callback from individual view objects
534 to the object editor, so that signals can be disconnected when
535 object editor is finalized.
536 * src/view-text.c: (gl_view_text_create_button_press_event):
537 Fixed bug that caused multiple view objects to be created for a
538 single text object. This bug would manifest itself as a crash
539 when deleting multi-object selections which included text objects.
541 2008-02-02 Jim Evins <evins@snaught.com>
544 * src/wdgt-merge-menu.c:
545 * src/wdgt-merge-menu.h:
546 * src/debug.c: (gl_debug_init):
549 New merge menu widget.
550 * data/glade/object-editor.glade:
551 * src/object-editor-private.h:
552 * src/object-editor.c: (gl_object_editor_set_key_names):
553 * src/object-editor-edit-page.c:
554 (gl_object_editor_prepare_edit_page), (field_selected_cb),
556 Simplified UI for inserting fields into text objects by launching
557 a merge menu and directly inserting fields from the menu. No more
558 selecting field in combobox, then pressing insert button.
560 2008-01-31 Jim Evins <evins@snaught.com>
562 * src/label-barcode.c: (draw_object):
563 Fixed rendering problem when "Invalid data" is displayed when text
564 object is lower in stacking order.
566 2008-01-30 Jim Evins <evins@snaught.com>
568 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
569 Don't turn off cairo_hint_metrics. This causes serious issues with
572 2008-01-29 Jim Evins <evins@snaught.com>
574 * src/print-op.c: (gl_print_op_construct),
575 (gl_print_op_construct_batch), (set_page_size):
576 Explicitly set page size for "other" page sizes.
578 2008-01-25 Jim Evins <evins@snaught.com>
581 Fixed Code128C backend parameters.
582 * src/label-barcode.c: (get_size):
583 Bug #1766425. If barcode is not renderable with either
584 input data or default data, use a default size. Also
587 2008-01-16 Jim Evins <evins@snaught.com>
589 * src/print.c: (print_label):
590 Bug #1872568. Don't apply special transforms (rotate and
591 mirror) to clipping region or outline.
593 2008-01-01 Jim Evins <evins@snaught.com>
596 Sort font lists alphabetically.
598 2008-01-01 Jim Evins <evins@snaught.com>
600 * src/merge-evolution.c:
601 Do a case-insensitive sort.
603 2008-01-01 Jim Evins <evins@snaught.com>
605 * src/merge-evolution.c:
606 Sort evolution by "file_under" field. Original patch provided
607 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
610 Added acknowledgement for above patch.
612 2008-01-01 Jim Evins <evins@snaught.com>
617 Reconcile with 2.2 branch.
620 2007-12-21 Jim Evins <evins@snaught.com>
622 * COPYING.LIBGLABELS:
623 * COPYING.README_FIRST:
625 Updating license information to make more complete and understandable.
627 2007-12-16 Jim Evins <evins@snaught.com>
630 Updated version to 2.pre2.
631 * help/C/glabels.xml:
632 Updated documentation.
633 * src/ui-commands.c: (gl_ui_cmd_help_about):
634 Updated copyright string.
636 2007-12-15 Jim Evins <evins@snaught.com>
638 * data/glade/object-editor.glade:
639 Removed any GtkTable that contained a GtkComboBox because the size of
640 the combo box was not constrained properly. This sacrifices the nice
641 orderly labels for combo boxes that don't extend beyond the edge of the
644 2007-12-15 Jim Evins <evins@snaught.com>
646 * libglabels/db.c: (lgl_db_lookup_template_from_name):
647 * src/object-editor.c: (gl_object_editor_finalize):
648 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
649 Fixed several small memory leaks.
651 2007-12-14 Jim Evins <evins@snaught.com>
654 Optimize template search by name by using a GHashTable.
655 * src/mini-preview-pixbuf-cache.c:
656 * src/mini-preview-pixbuf-cache.h:
657 Store one pixbuf per template, but use a key for each alias.
658 * src/wdgt-media-select.c:
659 Optimize loading of tree data, thus optimizing the "new label" dialog.
661 2007-12-12 Jim Evins <evins@snaught.com>
663 * data/templates/avery-us-templates.xml:
664 More templates and aliases.
666 2007-12-08 Jim Evins <evins@snaught.com>
669 More prep for 2.1.5/2.2.0.
671 2007-12-08 Jim Evins <evins@snaught.com>
677 Preparation for 2.1.5.
679 2007-12-08 Jim Evins <evins@snaught.com>
681 * docs/libglabels/libglabels-decl-list.txt:
682 * docs/libglabels/libglabels-docs.sgml:
683 * docs/libglabels/libglabels-sections.txt:
684 * docs/libglabels/libglabels-undocumented.txt:
685 * docs/libglabels/tmpl/db.sgml:
686 * docs/libglabels/tmpl/str.sgml:
688 Documentation cleanup for libglabels.
690 2007-11-29 Jim Evins <evins@snaught.com>
694 Added lgl_db_does_template_name_exist().
695 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
698 Proof read recent templates -- make sure they still exist.
699 * src/wdgt-media-select.c:
700 Default to "search all templates" tab if no recent templates found.
702 2007-11-28 Jim Evins <evins@snaught.com>
704 * data/glade/wdgt-media-select.glade:
705 * src/wdgt-media-select.c:
706 Added tabbed notebook to allow selection of recent template versus searching the
710 2007-11-26 Jim Evins <evins@snaught.com>
712 * libglabels/Makefile.am:
713 * libglabels/libglabels.h:
716 * src/prefs-dialog.c:
721 Added tracking of recently used templates.
723 2007-11-20 Jim Evins <evins@snaught.com>
725 * data/glade/template-designer.glade:
726 * src/template-designer.c:
727 Added warning icon when match brand and part match an existing template.
729 2007-11-18 Jim Evins <evins@snaught.com>
731 * libglabels/Makefile.am:
734 Added lgl_str_utf8_casecmp().
735 * libglabels/libglabels-private.h:
736 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
737 * libglabels/db.c: (lgl_db_get_brand_list):
738 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
741 2007-11-18 Jim Evins <evins@snaught.com>
743 * data/glade/template-designer.glade:
744 * src/template-designer.c:
745 Don't advance past name page, if brand and part match an existing template.
747 2007-11-18 Jim Evins <evins@snaught.com>
749 * libglabels/db.c: (lgl_db_register_template), (read_templates):
750 When registering a new template, don't add to "User defined" category before
751 writing to file. Add to "User defined" category when reading from "~/.glabels"
752 directory instead. This will allow legacy templates (and manually created
753 templates) to be automatically added to the "user defined" category.
754 * libglabels/xml-template.c:
755 (lgl_xml_template_create_template_node):
756 Fixed typo/bug causing brand to be wrong.
758 2007-11-16 Jim Evins <evins@snaught.com>
762 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
763 function. Automatically create "User defined" category and add to all user
764 registered templates.
765 * libglabels/xml-template.c:
766 * libglabels/xml-template.h:
767 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
768 lgl_xml_template_write_template_to_file().
769 * docs/libglabels/libglabels-decl-list.txt:
770 * docs/libglabels/libglabels-sections.txt:
771 * docs/libglabels/libglabels-undocumented.txt:
772 * docs/libglabels/tmpl/db.sgml:
773 * docs/libglabels/tmpl/xml-template.sgml:
774 Update documentation to reflect above changes.
776 2007-10-28 Jim Evins <evins@snaught.com>
778 * libglabels/xml-template.c:
779 Remove any leading white space from part #s when parsing old names.
780 * src/mini-preview-pixbuf-cache.c:
781 If name isn't in cache add it.
783 2007-10-26 Jim Evins <evins@snaught.com>
785 * libglabels/Makefile.am:
786 * libglabels/category.c:
787 * libglabels/category.h:
790 * libglabels/libglabels-private.h:
791 * libglabels/libglabels.h:
792 * libglabels/paper.c:
793 * libglabels/paper.h:
794 * libglabels/template.c:
795 * libglabels/template.h:
796 * libglabels/xml-template.c:
797 Another pass at screwing with the libglabels API. Moved all
798 database related stuff to db.[ch].
799 * docs/libglabels/libglabels-decl-list.txt:
800 * docs/libglabels/libglabels-docs.sgml:
801 * docs/libglabels/libglabels-sections.txt:
802 * docs/libglabels/libglabels-undocumented.txt:
803 * docs/libglabels/tmpl/category.sgml:
804 * docs/libglabels/tmpl/db.sgml:
805 * docs/libglabels/tmpl/init.sgml:
806 * docs/libglabels/tmpl/libglabels-unused.sgml:
807 * docs/libglabels/tmpl/paper.sgml:
808 * docs/libglabels/tmpl/template-construction.sgml:
809 * docs/libglabels/tmpl/template-db.sgml:
810 * docs/libglabels/tmpl/template-misc.sgml:
811 * docs/libglabels/tmpl/template-struct.sgml:
812 * docs/libglabels/tmpl/template.sgml:
813 Updated documentation to reflect above changes to libglabels API.
815 * src/glabels-batch.c:
817 * src/mini-preview-pixbuf-cache.c:
820 * src/template-designer.c:
821 * src/wdgt-media-select.c:
822 * src/wdgt-mini-preview.c:
823 * src/wdgt-rotate-label.c:
824 * src/xml-label-04.c:
826 Reconciled usage with above libglabels API changes.
828 2007-10-21 Jim Evins <evins@snaught.com>
830 * data/glade/wdgt-media-select.glade:
831 * src/wdgt-media-select.c:
832 Added brand to filter settings.
834 2007-10-21 Jim Evins <evins@snaught.com>
836 * data/dtd/glabels-2.2.dtd:
837 Forgot to replace Alias name attribute with brand and part attributes.
838 * data/templates/avery-iso-templates.xml:
839 * data/templates/avery-other-templates.xml:
840 * data/templates/avery-us-templates.xml:
841 * data/templates/misc-iso-templates.xml:
842 * data/templates/misc-other-templates.xml:
843 * data/templates/misc-us-templates.xml:
844 * data/templates/zweckform-iso-templates.xml:
845 Replaced all name attributes with brand/part attribute pairs.
847 2007-10-20 Jim Evins <evins@snaught.com>
849 * src/stock-pixmaps/*.png
850 Updated icons to use Tango color palette.
852 2007-10-20 Jim Evins <evins@snaught.com>
854 * data/dtd/Makefile.am:
855 * data/dtd/glabels-2.0.dtd:
856 * data/dtd/glabels-2.2.dtd:
857 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
859 * libglabels/template.c:
860 * libglabels/template.h:
861 * libglabels/xml-template.c:
863 Added brand and part attributes to template and alias structures and nodes.
866 * src/mini-preview-pixbuf-cache.c:
867 * src/template-designer.c:
868 * src/wdgt-media-select.c:
869 Use modified libglabels API.
870 * docs/libglabels/libglabels-decl-list.txt:
871 * docs/libglabels/libglabels-sections.txt:
872 * docs/libglabels/libglabels-undocumented.txt:
873 * docs/libglabels/tmpl/template-construction.sgml:
874 * docs/libglabels/tmpl/template-db.sgml:
875 * docs/libglabels/tmpl/template-struct.sgml:
876 Update libglabels documentation to reflect above modifications.
878 2007-10-14 Jim Evins <evins@snaught.com>
880 * docs/libglabels/libglabels-decl-list.txt:
881 * docs/libglabels/libglabels-sections.txt:
882 * docs/libglabels/libglabels-undocumented.txt:
883 * docs/libglabels/tmpl/category.sgml:
884 * libglabels/category.c:
885 * libglabels/category.h:
886 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
887 parity with paper functions.
889 2007-10-12 Jim Evins <evins@snaught.com>
891 * docs/libglabels/libglabels-decl-list.txt:
892 * docs/libglabels/libglabels-sections.txt:
893 * docs/libglabels/libglabels-undocumented.txt:
894 * docs/libglabels/tmpl/category.sgml:
895 * docs/libglabels/tmpl/enums.sgml:
896 * docs/libglabels/tmpl/libglabels-unused.sgml:
897 * docs/libglabels/tmpl/paper.sgml:
898 * docs/libglabels/tmpl/template-struct.sgml:
900 * libglabels/template.c:
901 * libglabels/template.h:
902 Another pass at fleshing out the libglabels documentation.
903 * src/cairo-label-path.c:
904 * src/cairo-markup-path.c:
906 * src/mini-preview-pixbuf.c:
910 * src/wdgt-media-select.c:
911 * src/wdgt-mini-preview.c:
912 * src/wdgt-print-copies.c:
913 * src/wdgt-print-merge.c:
914 * src/wdgt-rotate-label.c:
915 Removed lgl_template_get_first_frame() from libglabels API and all references.
917 2007-10-11 Jim Evins <evins@snaught.com>
919 Extended checks for deprecated symbols.
920 * libglabels/template.c:
921 Removed g_strcasecmp references, which are deprecated.
923 2007-10-09 Jim Evins <evins@snaught.com>
925 * src/merge-evolution.c:
926 Create address book if it does not exist. Also, be more robust about handling
927 error conditions -- don't just assume GError has been set.
929 2007-10-08 Jim Evins <evins@snaught.com>
931 * libglabels/template.c:
932 * libglabels/xml-template.c:
933 * src/template-designer.c:
934 Missed some symbols with libglabels API work.
936 2007-10-01 Jim Evins <evins@snaught.com>
938 * docs/libglabels/libglabels-decl-list.txt:
939 * docs/libglabels/libglabels-docs.sgml:
940 * docs/libglabels/libglabels-sections.txt:
941 * docs/libglabels/libglabels-undocumented.txt:
942 * docs/libglabels/tmpl/category.sgml:
943 * docs/libglabels/tmpl/enums.sgml:
944 * docs/libglabels/tmpl/init.sgml:
945 * docs/libglabels/tmpl/libglabels-unused.sgml:
946 * docs/libglabels/tmpl/paper.sgml:
947 * docs/libglabels/tmpl/template-construction.sgml:
948 * docs/libglabels/tmpl/template-db.sgml:
949 * docs/libglabels/tmpl/template-misc.sgml:
950 * docs/libglabels/tmpl/template-struct.sgml:
951 * docs/libglabels/tmpl/template.sgml:
952 * docs/libglabels/tmpl/xml-category.sgml:
953 * docs/libglabels/tmpl/xml-template.sgml:
954 * libglabels/category.h:
956 * libglabels/libglabels-private.h:
957 * libglabels/paper.h:
958 * libglabels/template.c:
959 * libglabels/template.h:
960 * libglabels/xml-template.h:
961 Basic documentation framework for libglabels updated. This still needs some
964 2007-09-27 Jim Evins <evins@snaught.com>
966 * docs/libglabels/libglabels-decl-list.txt:
967 * docs/libglabels/libglabels-docs.sgml:
968 * docs/libglabels/libglabels-sections.txt:
969 * docs/libglabels/libglabels-undocumented.txt:
970 * docs/libglabels/tmpl/enums.sgml:
971 * docs/libglabels/tmpl/init.sgml:
972 * docs/libglabels/tmpl/libglabels-unused.sgml:
973 * docs/libglabels/tmpl/paper.sgml:
974 * docs/libglabels/tmpl/template.sgml:
975 * docs/libglabels/tmpl/xml-paper.sgml:
976 * docs/libglabels/tmpl/xml-template.sgml:
977 * docs/libglabels/tmpl/xml.sgml:
978 * libglabels/Makefile.am:
979 * libglabels/category.c:
980 * libglabels/category.h:
981 * libglabels/enums.h:
984 * libglabels/libglabels-private.h:
985 * libglabels/libglabels.h:
986 * libglabels/paper.c:
987 * libglabels/paper.h:
988 * libglabels/template.c:
989 * libglabels/template.h:
990 * libglabels/xml-category.c:
991 * libglabels/xml-category.h:
992 * libglabels/xml-paper.c:
993 * libglabels/xml-paper.h:
994 * libglabels/xml-template.c:
995 * libglabels/xml-template.h:
998 * src/cairo-label-path.c:
999 * src/cairo-label-path.h:
1000 * src/cairo-markup-path.c:
1001 * src/cairo-markup-path.h:
1003 * src/glabels-batch.c:
1005 * src/label-object.c:
1008 * src/mini-preview-pixbuf-cache.c:
1009 * src/mini-preview-pixbuf.c:
1010 * src/mini-preview-pixbuf.h:
1011 * src/prefs-dialog.c:
1012 * src/prefs-model.c:
1013 * src/prefs-model.h:
1018 * src/template-designer.c:
1019 * src/view-barcode.c:
1021 * src/view-ellipse.c:
1025 * src/wdgt-media-select.c:
1026 * src/wdgt-mini-preview.c:
1027 * src/wdgt-mini-preview.h:
1028 * src/wdgt-print-copies.c:
1029 * src/wdgt-print-merge.c:
1030 * src/wdgt-rotate-label.c:
1031 * src/xml-label-04.c:
1033 Major cleanup of libglabels API -- this breaks API compatibility with older
1034 development and stable versions -- as far as I know, there are currently
1035 no external users of this library yet.
1037 2007-09-14 Jim Evins <evins@snaught.com>
1042 * src/label-object.c:
1043 * src/label-object.h:
1044 * src/label-barcode.c:
1045 * src/label-ellipse.c:
1047 * src/view-object.c:
1048 * src/view-barcode.c:
1050 * src/view-ellipse.c:
1054 Better separation of model from view.
1056 2007-08-21 Jim Evins <evins@snaught.com>
1058 * src/print-op.c: (create_custom_widget_cb):
1059 Fix problem with force_outline_flag -- don't override with default.
1061 2007-08-21 Jim Evins <evins@snaught.com>
1063 * data/dtd/glabels-2.0.dtd:
1064 * libglabels/template.c:
1065 * libglabels/template.h:
1066 * libglabels/xml-template.c:
1067 * src/cairo-markup-path.c:
1068 Added "Markup-rect" element to template format.
1070 2007-08-21 Jim Evins <evins@snaught.com>
1073 Changed version to 2.1.pre5svn.
1074 * src/view.c: (draw_markup_layer):
1075 Do a stroke for each markup path, otherwise multiple markups
1078 2007-08-17 Jim Evins <evins@snaught.com>
1081 Bump libglabels revision numbers for 2.1.4 release.
1083 2007-08-16 Jim Evins <evins@snaught.com>
1086 Include subdir iec16022-0.2.1.
1090 Preparation for 2.1.4.
1093 2007-08-11 Jim Evins <evins@snaught.com>
1099 Added Esperanto translation. Provided by Antonio C.
1100 Codazzi "la Filozofo" <f_sophia@libero.it>.
1102 Updated French translation. Provided by Claude Paroz
1103 <claude@2xlibre.net>.
1105 Updated to reflect above translations.
1107 2007-08-11 Jim Evins <evins@snaught.com>
1110 * data/templates/avery-iso-templates.xml:
1111 * data/templates/avery-us-templates.xml:
1112 * data/templates/misc-iso-templates.xml:
1113 * data/templates/misc-other-templates.xml:
1114 * data/templates/misc-us-templates.xml:
1115 * data/templates/zweckform-iso-templates.xml:
1116 Caught up with backlog of template submissions.
1118 2007-08-10 Jim Evins <evins@snaught.com>
1120 * src/bc-postnet.c: (gl_barcode_postnet_new):
1122 Added support for Brazilian CEPNet barcodes. This is simply an
1123 instance of the US POSTNET format with 8 digits. Patch supplied
1124 by Mário Meyer in bug # 1768792.
1126 Updated acknowledgments to reflect above patch and recent shuffling
1127 of underlying technology.
1129 2007-05-13 Jim Evins <evins@snaught.com>
1131 * src/merge-text.c: (parse_line), (parse_field):
1132 Remove leading and trailing spaces from CSV fields, unless quoted.
1134 2007-05-09 Jim Evins <evins@snaught.com>
1136 * src/object-editor-bc-page.c:
1137 * src/object-editor-data-page.c:
1138 * src/object-editor-fill-page.c:
1139 * src/object-editor-image-page.c:
1140 * src/object-editor-line-page.c:
1141 * src/object-editor-lsize-page.c:
1142 * src/object-editor-position-page.c:
1143 * src/object-editor-private.h:
1144 * src/object-editor-shadow-page.c:
1145 * src/object-editor-size-page.c:
1146 * src/object-editor-text-page.c:
1147 * src/object-editor.c:
1148 * src/prefs-dialog.c:
1149 * src/template-designer.c:
1150 * src/ui-property-bar.c:
1151 * src/wdgt-media-select.c:
1152 Replaced signal block/unblock pairs with simple flags. This reduces
1153 some code clutter, hopefully making it easier to read.
1155 2007-05-05 Jim Evins <evins@snaught.com>
1157 * src/template-designer.c: (apply_cb):
1158 Add new template to mini-preview pixbuf cache.
1160 2007-05-03 Jim Evins <evins@snaught.com>
1162 * src/label-image.c: (gl_label_image_init), (draw_object):
1163 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1166 2007-05-02 Jim Evins <evins@snaught.com>
1168 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1169 (button_release_event_cb):
1170 Removed attempt at rendering optimization by clipping the updates
1171 to areas affected -- this actually seemed to hurt update performance.
1173 2007-04-30 Jim Evins <evins@snaught.com>
1176 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1177 (gl_color_node_equal), (gl_color_node_expand):
1178 * src/label-barcode.c: (draw_object):
1179 * src/label-box.c: (draw_object), (draw_shadow):
1180 * src/label-ellipse.c: (draw_object), (draw_shadow):
1181 * src/label-line.c: (draw_object), (draw_shadow):
1182 * src/label-text.c: (draw_object), (draw_shadow):
1183 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1184 * src/wdgt-rotate-label.c: (drawingarea_update):
1185 Some cleanup to color related code.
1187 2007-04-30 Jim Evins <evins@snaught.com>
1190 Added glLabelRegion structure type.
1191 * src/label-object.c: (gl_label_object_get_extent):
1192 * src/label-object.h:
1193 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1195 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1196 (gl_view_select_region), (gl_view_align_selection_left),
1197 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1198 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1199 (gl_view_align_selection_vcenter),
1200 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1201 (gl_view_move_selection), (gl_view_can_selection_text),
1202 (motion_notify_event_cb), (button_press_event_cb),
1203 (button_release_event_cb):
1204 - Reconcile with new gl_label_object_get_extent() API.
1205 - Use glLabelRegion for view->select_region.
1206 - Added gl_view_update_region() to clip updates to region.
1207 - Use gl_view_update_region() during manipulation of view->select_region.
1209 2007-04-26 Jim Evins <evins@snaught.com>
1211 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1212 (draw_label_outline):
1213 * src/print.c: (print_crop_marks), (draw_outline):
1214 * src/view-object.c: (gl_view_object_draw_handles):
1215 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1216 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1217 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1218 * src/wdgt-rotate-label.c: (drawingarea_update):
1219 Added defines for various magic numbers.
1221 2007-04-25 Jim Evins <evins@snaught.com>
1223 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1224 Scale text down. Cairo seems to render text too large.
1226 2007-04-25 Jim Evins <evins@snaught.com>
1229 * src/view.c: (gl_view_update), (expose_cb),
1230 (motion_notify_event_cb), (button_press_event_cb),
1231 (button_release_event_cb):
1232 - Try not to let updates get backed up.
1233 - Grab pointer when doing any drag operations.
1235 2007-04-11 Jim Evins <evins@snaught.com>
1237 * src/cairo-label-path.c: (gl_cairo_label_path),
1238 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1239 (gl_cairo_cd_label_path):
1240 * src/cairo-label-path.h:
1241 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1242 (draw_label_outline):
1243 * src/print.c: (draw_outline), (clip_to_outline):
1244 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1245 * src/wdgt-mini-preview.c: (draw_labels):
1246 * src/wdgt-rotate-label.c: (drawingarea_update):
1247 Modified to universally use gl_cairo_label_path() to create paths
1248 for labels. Added shadow to mini preview in rotate widget.
1250 2007-04-10 Jim Evins <evins@snaught.com>
1252 * libglabels/template.h:
1253 * libglabels/template.c: (gl_template_get_name_list_unique),
1254 (gl_template_get_name_list_all), (gl_template_from_name):
1255 Modified libglabels to allow you to get a list of all template names
1256 including all aliases or just a list of primary names of each unique
1259 * src/file.c: (gl_file_properties):
1260 * src/glabels.c: (main):
1261 * src/mini-preview-pixbuf-cache.h:
1262 * src/mini-preview-pixbuf-cache.c:
1263 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1264 (filter_changed_cb), (load_list):
1265 Added mini-preview pixbuf cache, so that only one mini-preview is
1266 needed for a unique template and gets reused for all aliases. These
1267 pixbufs will also live for the life of the program so they are not
1268 rebuilt everytime a new label dialog is invoked.
1269 * src/mini-preview-pixbuf.c: (draw_paper),
1270 (draw_rect_label_outline), (draw_round_label_outline),
1271 (draw_cd_label_outline):
1272 Removed some comment artifacts.
1274 2007-04-04 Jim Evins <evins@snaught.com>
1276 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1277 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1278 (draw_round_label_outline), (draw_cd_label_outline):
1279 * src/wdgt-media-select.c: (load_list):
1280 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1281 Cosmetic enhancments to mini previews.
1283 2007-04-04 Jim Evins <evins@snaught.com>
1285 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1286 (gl_ui_property_bar_construct):
1287 Save copy of GladeXML tree so that we don't lose tooltips.
1289 2007-04-02 Jim Evins <evins@snaught.com>
1291 * src/merge-properties-dialog.c:
1292 * src/new-label-dialog.c:
1293 * src/object-editor.c:
1294 * src/prefs-dialog.c:
1296 * src/template-designer.c:
1297 * src/ui-property-bar.c:
1298 * src/wdgt-media-select.c:
1299 * src/wdgt-rotate-label.c:
1300 Fixed several memory leaks.
1302 2007-04-01 Jim Evins <evins@snaught.com>
1304 * src/label-text.c: (gl_label_text_init), (copy),
1305 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1306 (set_font_family), (set_font_size), (set_font_weight),
1307 (set_font_italic_flag), (set_text_alignment),
1308 (set_text_line_spacing):
1309 Cache object size, so that expensive extent calculations are only done
1312 2007-03-30 Jim Evins <evins@snaught.com>
1314 * src/prefs-model.c: (gl_prefs_model_load_settings):
1315 Default to an unlimited list of recent documents, since this parameter
1316 seems to be pre-filter anyway.
1318 2007-03-30 Jim Evins <evins@snaught.com>
1320 * src/label-box.c: (draw_shadow):
1321 * src/label-ellipse.c: (draw_shadow):
1322 Added missing shadow fill.
1324 2007-03-28 Jim Evins <evins@snaught.com>
1326 * src/ui-commands.c: (gl_ui_cmd_file_print):
1327 Unreferencing the print operation sometimes crashes. Just don't do it
1330 2007-03-28 Jim Evins <evins@snaught.com>
1332 * src/print-op.c: (gl_print_op_construct),
1333 (gl_print_op_get_settings), (gl_print_op_set_settings),
1334 (gl_print_op_free_settings), (create_custom_widget_cb):
1336 * src/ui-commands.c: (gl_ui_cmd_file_print):
1337 * src/window.c: (gl_window_init):
1339 Save print settings and custom settings between print operations
1342 2007-03-24 Jim Evins <evins@snaught.com>
1344 * src/object-editor-image-page.c:
1345 (gl_object_editor_prepare_image_page),
1346 (gl_object_editor_set_image), (img_selection_changed_cb):
1347 Workaround for GtkFileChooserButton bug # 327243. This the root
1348 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1349 "selection-changed" signals -- the first 2 return NULL -- this is
1350 what caused the image to reset to the default followed by setting
1351 it back to the original image, trying to fit it into a new bounding
1352 box. This sequence of events is much more evident with the new
1355 2007-03-23 Jim Evins <evins@snaught.com>
1357 Merged all changes from experimental cairo branch to trunk.
1358 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1360 2007-03-23 Jim Evins <evins@snaught.com>
1362 * src/label-object.h:
1363 * src/label-object.c: (gl_label_object_class_init),
1364 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1365 Created "get_raw_size" method.
1366 * src/label-barcode.c: (get_size):
1367 * src/xml-label.c: (xml_create_object_text),
1368 (xml_create_object_barcode):
1369 Use new "get_raw_size" method on label-objects when apropos.
1371 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1372 (auto_shrink_font_size):
1373 Added "auto shrink" functionality back.
1375 2007-03-19 Jim Evins <evins@snaught.com>
1377 * src/label-text.c: (draw_object), (draw_shadow):
1378 Don't use negative scales in workaround from previous commit.
1381 2007-03-18 Jim Evins <evins@snaught.com>
1384 Forgot to remove include of xml-lable-191 in previous commit.
1385 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1386 Workaround for pango Bug #341481. Render text at device scale,
1387 and scale font size accordingly. Also, don't do any hinting.
1389 2007-03-18 Jim Evins <evins@snaught.com>
1391 * src/cairo-ellipse-path.c:
1392 * src/cairo-ellipse-path.h:
1393 Forgot to add these new files during last mass commit.
1395 2007-03-18 Jim Evins <evins@snaught.com>
1398 * src/xml-label-191.c:
1399 * src/xml-label-191.h:
1400 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1401 so there is no need to keep compatability.
1403 * src/bc-iec16022.c:
1404 * src/cairo-label-path.c:
1405 * src/cairo-label-path.h:
1406 * src/cairo-markup-path.c:
1410 * src/glabels-batch.c:
1412 * src/label-barcode.c:
1414 * src/label-ellipse.c:
1415 * src/label-image.c:
1417 * src/label-object.c:
1418 * src/label-object.h:
1422 * src/merge-properties-dialog.c:
1424 * src/new-label-dialog.c:
1425 * src/object-editor-bc-page.c:
1426 * src/object-editor-data-page.c:
1427 * src/object-editor-edit-page.c:
1428 * src/object-editor-fill-page.c:
1429 * src/object-editor-image-page.c:
1430 * src/object-editor-line-page.c:
1431 * src/object-editor-private.h:
1432 * src/object-editor-shadow-page.c:
1433 * src/object-editor-text-page.c:
1434 * src/object-editor.c:
1435 * src/pixbuf-cache.c:
1440 * src/template-designer.c:
1442 * src/ui-property-bar.c:
1444 * src/view-barcode.c:
1446 * src/view-ellipse.c:
1449 * src/view-object.c:
1450 * src/view-object.h:
1453 * src/wdgt-media-select.c:
1454 * src/wdgt-print-copies.c:
1455 * src/wdgt-print-merge.c:
1457 * src/xml-label-04.c:
1459 Many changes, including:
1460 - Move draw methods from view-*() to label-*().
1461 - Use same drawing code for on screen view and printing.
1462 - Fix all issues exposed with '-Wall -Werror'.
1464 2007-03-14 Jim Evins <evins@snaught.com>
1467 * src/cairo-handle-path.c:
1468 * src/cairo-handle-path.h:
1469 * src/cairo-object-path.c:
1470 * src/cairo-object-path.h:
1471 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1472 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1474 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1475 (draw_shadow), (object_at):
1476 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1477 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1478 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1480 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1481 (draw_shadow), (object_at):
1482 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1483 (create_handle_path), (gl_view_object_draw_handles),
1484 (gl_view_object_handle_at):
1485 * src/view-object.h:
1486 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1487 (draw_shadow), (object_at):
1488 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1489 Some restructuring of new code.
1491 2007-03-12 Jim Evins <evins@snaught.com>
1494 * src/cairo-object-path.c:
1495 * src/view-barcode.c:
1496 * src/view-barcode.h:
1498 Added barcode object support to view.
1500 2007-03-12 Jim Evins <evins@snaught.com>
1506 * src/cairo-object-path.c:
1507 * src/cairo-object-path.h:
1509 * src/view-ellipse.c:
1512 * src/view-object.c:
1513 * src/view-object.h:
1514 Added text object support to view. Added object_at method to all
1517 2007-03-11 Jim Evins <evins@snaught.com>
1520 * src/cairo-object-path.c: (gl_cairo_object_path),
1521 (gl_cairo_image_object_path):
1522 * src/view-image.c: (gl_view_image_class_init),
1523 (gl_view_image_finalize), (gl_view_image_new),
1524 (update_editor_from_label_cb), (draw),
1525 (gl_view_image_get_create_cursor),
1526 (gl_view_image_create_button_press_event),
1527 (gl_view_image_create_motion_event),
1528 (gl_view_image_create_button_release_event):
1530 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1531 (selection_received_cb), (motion_notify_event_cb),
1532 (button_press_event_cb), (button_release_event_cb):
1533 Added image object support to view.
1535 2007-03-11 Jim Evins <evins@snaught.com>
1538 * src/cairo-object-path.c: (gl_cairo_object_path),
1539 (gl_cairo_line_object_path):
1540 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1541 (update_object_from_editor_cb), (update_editor_from_object_cb),
1542 (update_editor_from_label_cb), (draw),
1543 (gl_view_line_get_create_cursor),
1544 (gl_view_line_create_button_press_event),
1545 (gl_view_line_create_motion_event),
1546 (gl_view_line_create_button_release_event):
1548 * src/view-object.c: (gl_view_object_resize_event):
1549 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1550 (selection_received_cb), (motion_notify_event_cb),
1551 (button_press_event_cb), (button_release_event_cb):
1552 Added line object support to view.
1553 * src/cairo-handle-path.c:
1554 Made handles slightly larger.
1557 2007-03-11 Jim Evins <evins@snaught.com>
1560 * src/cairo-handle-path.c:
1561 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1562 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1563 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1564 (gl_cairo_markup_margin_round_path),
1565 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1566 * src/cairo-object-path.c: (gl_cairo_object_path),
1567 (gl_cairo_ellipse_object_path):
1568 * src/label-object.c: (gl_label_object_rotate):
1571 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1572 (gl_view_ellipse_new), (update_object_from_editor_cb),
1573 (update_editor_from_object_cb), (update_editor_from_label_cb),
1574 (draw), (gl_view_ellipse_get_create_cursor),
1575 (gl_view_ellipse_create_button_press_event),
1576 (gl_view_ellipse_create_motion_event),
1577 (gl_view_ellipse_create_button_release_event):
1578 * src/view-ellipse.h:
1579 * src/view-object.c:
1580 * src/view-object.h:
1581 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1582 (select_object_real), (selection_received_cb),
1583 (motion_notify_event_cb), (button_press_event_cb),
1584 (button_release_event_cb):
1586 Added ellipse object support to view. Plus other cleanup.
1588 2007-03-11 Jim Evins <evins@snaught.com>
1591 * src/view-box.c: (gl_view_box_get_create_cursor),
1592 (gl_view_box_create_button_press_event),
1593 (gl_view_box_create_motion_event),
1594 (gl_view_box_create_button_release_event):
1595 * src/view-object.c: (gl_view_object_set_view),
1596 (gl_view_object_handle_at):
1598 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1599 (motion_notify_event_cb), (button_press_event_cb),
1600 (button_release_event_cb), (key_press_event_cb):
1601 Added creation code for box object.
1603 2007-03-09 Jim Evins <evins@snaught.com>
1605 * src/view-object.c: (gl_view_object_resize_event):
1606 * src/view-object.h:
1607 * src/view.c: (motion_notify_event_cb):
1608 Fix bugs with resizing transformed objects.
1609 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1610 * src/cairo-object-path.c: (gl_cairo_object_path):
1611 * src/cairo-object-path.h:
1612 * src/label-object.c: (gl_label_object_init),
1613 (gl_label_object_dup), (gl_label_object_get_extent),
1614 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1615 (gl_label_object_rotate), (gl_label_object_set_matrix),
1616 (gl_label_object_get_matrix):
1617 * src/label-object.h:
1618 * src/print.c: (draw_object):
1620 * src/view-highlight.c:
1621 * src/view-highlight.h:
1622 * src/xml-label-191.c: (xml191_parse_object):
1623 * src/xml-label.c: (xml_parse_affine_attrs),
1624 (xml_create_affine_attrs):
1625 Replace libart affine matrices with cairo matrices.
1627 2007-03-08 Jim Evins <evins@snaught.com>
1629 * src/view-object.h:
1630 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1631 * src/view-object.c: (gl_view_object_handle_at),
1632 (gl_view_object_resize_event):
1633 Added resize code -- still a bit buggy.
1635 2007-03-07 Jim Evins <evins@snaught.com>
1638 * src/cairo-handle-path.c:
1639 * src/cairo-handle-path.h:
1640 * src/view-box.c: (gl_view_box_new):
1641 * src/view-object.c: (gl_view_object_set_object),
1642 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1643 * src/view-object.h:
1644 * src/view.c: (draw_highlight_layer), (select_object_real),
1645 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1646 (button_press_event_cb), (button_release_event_cb),
1647 (key_press_event_cb):
1649 Added beginnings of object resize handles.
1651 2007-03-07 Jim Evins <evins@snaught.com>
1654 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1655 (gl_view_object_create_mode), (motion_notify_event_cb),
1656 (button_press_event_cb), (button_release_event_cb),
1657 (key_press_event_cb):
1658 Added move selection support.
1660 2007-03-05 Jim Evins <evins@snaught.com>
1662 * src/cairo-object-path.c: (gl_cairo_object_path):
1663 * src/view-object.c: (gl_view_object_draw),
1664 (gl_view_object_draw_highlight):
1665 * src/view.c: (view_object_at), (motion_notify_event_cb),
1666 (button_press_event_cb), (button_release_event_cb):
1667 Additional refinements to select logic.
1669 2007-03-05 Jim Evins <evins@snaught.com>
1672 * src/view.c: (gl_view_init), (gl_view_construct),
1673 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1674 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1675 (button_press_event_cb), (button_release_event_cb):
1676 Added initial select region support and context menu.
1678 2007-03-04 Jim Evins <evins@snaught.com>
1689 * src/ui-commands.c:
1692 * src/view-object.c:
1693 * src/view-object.h:
1696 * src/wdgt-print-copies.c:
1697 * src/wdgt-print-merge.c:
1699 Initial port to a raw Cairo canvas. This removes all remaining
1700 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1701 the view is becoming a canvas widget in its own right. Still needs
1703 * src/cairo-label-path.c:
1704 * src/cairo-label-path.h:
1705 * src/cairo-markup-path.c:
1706 * src/cairo-markup-path.h:
1707 * src/cairo-object-path.c:
1708 * src/cairo-object-path.h:
1709 New files to support cairo canvas.
1710 * src/canvas-hacktext.c:
1711 * src/canvas-hacktext.h:
1714 2007-02-18 Jim Evins <evins@snaught.com>
1717 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1719 2007-02-14 Jim Evins <evins@snaught.com>
1723 * src/bc-gnubarcode.c:
1724 * src/bc-gnubarcode.h:
1729 * src/canvas-hacktext.c:
1730 * src/canvas-hacktext.h:
1737 * src/label-barcode.c:
1738 * src/label-barcode.h:
1741 * src/label-ellipse.c:
1742 * src/label-ellipse.h:
1743 * src/label-image.c:
1744 * src/label-image.h:
1747 * src/label-object.c:
1748 * src/label-object.h:
1753 * src/merge-evolution.c:
1754 * src/merge-evolution.h:
1757 * src/merge-properties-dialog.c:
1758 * src/merge-properties-dialog.h:
1761 * src/merge-vcard.c:
1762 * src/merge-vcard.h:
1765 * src/mini-preview-pixbuf.h:
1766 * src/new-label-dialog.c:
1767 * src/new-label-dialog.h:
1768 * src/object-editor-bc-page.c:
1769 * src/object-editor-data-page.c:
1770 * src/object-editor-edit-page.c:
1771 * src/object-editor-fill-page.c:
1772 * src/object-editor-image-page.c:
1773 * src/object-editor-line-page.c:
1774 * src/object-editor-lsize-page.c:
1775 * src/object-editor-position-page.c:
1776 * src/object-editor-private.h:
1777 * src/object-editor-size-page.c:
1778 * src/object-editor-text-page.c:
1779 * src/object-editor.c:
1780 * src/object-editor.h:
1781 * src/pixbuf-cache.c:
1782 * src/pixbuf-cache.h:
1783 * src/prefs-dialog.c:
1784 * src/prefs-dialog.h:
1785 * src/prefs-model.c:
1786 * src/prefs-model.h:
1792 * src/template-designer.c:
1795 * src/ui-commands.c:
1796 * src/ui-commands.h:
1797 * src/ui-property-bar.c:
1798 * src/ui-property-bar.h:
1807 * src/view-barcode.c:
1808 * src/view-barcode.h:
1811 * src/view-ellipse.c:
1812 * src/view-ellipse.h:
1813 * src/view-highlight.c:
1814 * src/view-highlight.h:
1819 * src/view-object.c:
1820 * src/view-object.h:
1825 * src/wdgt-chain-button.c:
1826 * src/wdgt-chain-button.h:
1827 * src/wdgt-media-select.c:
1828 * src/wdgt-mini-preview.c:
1829 * src/wdgt-print-copies.c:
1830 * src/wdgt-print-copies.h:
1831 * src/wdgt-print-merge.c:
1832 * src/wdgt-print-merge.h:
1833 * src/wdgt-rotate-label.c:
1835 * src/xml-label-04.c:
1836 * src/xml-label-04.h:
1837 * src/xml-label-191.c:
1838 * src/xml-label-191.h:
1842 Assorted superficial cleanup. Including:
1843 - Use G_DEFINE_TYPE for all objects.
1844 - Reconcile style of all class initializer functions
1845 - Reconcile style of all finalize functions
1846 - Add emacs mode line to all source files
1848 2007-02-06 Jim Evins <evins@snaught.com>
1850 Assorted cleanup and removal of deprecated items.
1855 Removed annoying splash screen.
1856 * src/glabels-batch.c: (main):
1857 * src/glabels.c: (main):
1858 Converted from popt to GOption.
1859 * src/object-editor-shadow-page.c:
1860 (gl_object_editor_set_shadow_state):
1861 Removed deprecated method on GtkToggleButton.
1862 * src/ui-commands.c: (gl_ui_cmd_help_about):
1863 Removed dependency on libgnomui/qnome-url.h.
1864 * src/template-designer.c:
1865 Removed dependency on libgnome/gnome-program.h.
1868 2007-02-04 Jim Evins <evins@snaught.com>
1872 * src/prefs-model.c:
1873 * src/print.c: (draw_text_object):
1874 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1875 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1877 2007-02-04 Jim Evins <evins@snaught.com>
1879 * src/wdgt-mini-preview.c:
1880 * src/wdgt-mini-preview.h:
1881 Ported widget from GnomeCanvas to Cairo.
1883 2007-02-03 Jim Evins <evins@snaught.com>
1885 * data/glade/template-designer.glade:
1886 * src/template-designer.c:
1887 * src/template-designer.h:
1888 Ported GnomeDruid to GtkAssistant. Since libglade does not
1889 yet support the GtkAssistant and we derive directly from
1890 the Assistant, the pages are layed out in a GtkNotebook in
1891 the glade description -- we then append each page to the
1894 2007-01-25 Jim Evins <evins@snaught.com>
1896 * data/glade/object-editor.glade:
1897 Added dummy page to notebook, to prevent shadow page from
1898 becoming the default current page at creation.
1899 * src/view-box.c: (construct_properties_editor):
1900 * src/view-ellipse.c: (construct_properties_editor):
1901 * src/view-line.c: (construct_properties_editor):
1902 * src/view-text.c: (construct_properties_editor):
1903 Reconciled order of params.
1905 2007-01-19 Jim Evins <evins@snaught.com>
1907 * src/label-barcode.h:
1908 * src/label-object.c: (gl_label_object_set_font_weight),
1909 (gl_label_object_set_text_alignment),
1910 (gl_label_object_get_font_weight),
1911 (gl_label_object_get_text_alignment):
1912 * src/label-object.h:
1913 * src/label-text.c: (gl_label_text_instance_init), (copy),
1914 (get_size), (set_font_family), (set_font_weight),
1915 (set_text_alignment), (get_font_weight), (get_text_alignment):
1917 * src/object-editor-text-page.c:
1918 (gl_object_editor_prepare_text_page),
1919 (gl_object_editor_set_font_family),
1920 (gl_object_editor_set_font_weight),
1921 (gl_object_editor_get_font_weight),
1922 (gl_object_editor_set_text_alignment),
1923 (gl_object_editor_get_text_alignment),
1924 (gl_object_editor_set_text_color):
1925 * src/object-editor.h:
1926 * src/prefs-dialog.c: (construct_object_page),
1927 (update_object_page_from_prefs), (update_prefs_from_object_page):
1928 * src/prefs-model.c: (gl_prefs_model_save_settings),
1929 (gl_prefs_model_load_settings):
1930 * src/prefs-model.h:
1931 * src/print.c: (draw_text_object):
1932 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1933 (reset_to_default_properties), (update_text_properties),
1934 (font_bold_toggled_cb), (text_align_toggled_cb):
1936 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1937 (gl_util_weight_to_string), (gl_util_string_to_weight),
1938 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1940 * src/view-text.c: (update_object_from_editor_cb),
1941 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1942 * src/view.c: (gl_view_set_selection_text_alignment),
1943 (gl_view_set_default_text_alignment),
1944 (gl_view_get_default_text_alignment):
1946 * src/xml-label-04.c: (xml04_parse_text_props):
1947 * src/xml-label-191.c: (xml191_parse_text_props):
1948 * src/xml-label.c: (xml_parse_object_text),
1949 (xml_parse_toplevel_span), (xml_create_object_text),
1950 (xml_create_toplevel_span):
1951 Converted all model internals to Pango. GnomeFont remains in
1952 view until GnomeCanvas can be replaced with a cairo-based canvas.
1954 2007-01-17 Jim Evins <evins@snaught.com>
1960 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1961 (gl_wdgt_print_copies_construct):
1962 * src/wdgt-print-copies.h:
1963 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1964 (gl_wdgt_print_merge_construct):
1965 * src/wdgt-print-merge.h:
1966 Removed all remaining HIG wrapper widgets.
1968 2007-01-16 Jim Evins <evins@snaught.com>
1971 * src/print-dialog.c:
1972 * src/print-dialog.h:
1975 * src/template-designer.c: (print_test_cb):
1976 * src/ui-commands.c: (gl_ui_cmd_file_print):
1978 Renamed PrintDialog to PrintOp. Added constructor for batch
1980 * src/glabels-batch.c: (main):
1981 Converted to use new PrintOp object for printing.
1983 2007-01-15 Jim Evins <evins@snaught.com>
1985 * data/glade/Makefile.am:
1986 * data/glade/print-custom-widget.glade:
1987 * src/print-dialog.c:
1988 * src/print-dialog.h:
1991 * src/template-designer.c: (print_test_cb):
1992 * src/ui-commands.c: (gl_ui_cmd_file_print):
1993 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1994 * src/wdgt-print-merge.h:
1995 * src/window.c: (gl_window_init):
1997 Initial conversion to GtkPrintOperation.
1999 - Remove font and other libgnomeprint[ui] from elsewhere
2000 - Add batch initialization of print operation
2002 2007-01-08 Jim Evins <evins@snaught.com>
2004 Updated dependencies. Set version to 2.1.pre4cvs.
2006 2007-01-03 Jim Evins <evins@snaught.com>
2008 * src/recent-files/*
2009 Removed EggRecent stuff.
2015 * src/ui-commands.c:
2016 * src/ui-commands.h:
2018 Ported from EggRecent to GtkRecentManager.
2021 2007-01-02 Jim Evins <evins@snaught.com>
2024 * iec16022-0.2.1/BUGS:
2025 * iec16022-0.2.1/CHANGELOG:
2026 * iec16022-0.2.1/CREDITS:
2027 * iec16022-0.2.1/INSTALL:
2028 * iec16022-0.2.1/LICENSE:
2029 * iec16022-0.2.1/Makefile.am:
2030 * iec16022-0.2.1/Makefile.dist:
2031 * iec16022-0.2.1/README:
2032 * iec16022-0.2.1/README.glabels:
2033 * iec16022-0.2.1/TODO:
2034 * iec16022-0.2.1/iec16022.1:
2035 * iec16022-0.2.1/iec16022.c:
2036 * iec16022-0.2.1/iec16022ecc200.c:
2037 * iec16022-0.2.1/iec16022ecc200.h:
2038 * iec16022-0.2.1/image.c:
2039 * iec16022-0.2.1/image.h:
2040 * iec16022-0.2.1/reedsol.c:
2041 * iec16022-0.2.1/reedsol.h:
2042 * iec16022-0.2.1/test/testsuite-example.bin:
2043 * iec16022-0.2.1/test/testsuite-example.eps:
2044 * iec16022-0.2.1/test/testsuite-example.hex:
2045 * iec16022-0.2.1/test/testsuite-example.png:
2046 * iec16022-0.2.1/test/testsuite-example.text:
2047 * iec16022-0.2.1/test/testsuite.sh:
2048 Include modified copy of iec16022-0.2.1 to provide encoding
2049 support for datamatrix 2D barcodes.
2051 * src/bc-iec16022.c:
2052 * src/bc-iec16022.h:
2054 Added initial datamatrix 2D barcode backend to barcode code.
2057 Automatic updates to later versions of these files.
2059 2006-11-28 Jim Evins <evins@snaught.com>
2061 * data/templates/avery-iso-templates.xml:
2062 * data/templates/avery-us-templates.xml:
2063 * data/templates/categories.xml:
2064 * data/templates/misc-iso-templates.xml:
2065 * data/templates/misc-us-templates.xml:
2066 * data/templates/zweckform-iso-templates.xml:
2067 More categorization.
2069 2006-09-12 Jim Evins <evins@snaught.com>
2071 * data/dtd/glabels-2.0.dtd:
2072 * data/templates/Makefile.am:
2073 * data/templates/avery-iso-templates.xml:
2074 * data/templates/avery-other-templates.xml:
2075 * data/templates/avery-us-templates.xml:
2076 * data/templates/categories.xml:
2077 * data/templates/misc-iso-templates.xml:
2078 * data/templates/misc-other-templates.xml:
2079 * data/templates/zweckform-iso-templates.xml:
2080 * data/glade/Makefile.am:
2081 * data/glade/new-label-dialog.glade:
2082 * data/glade/wdgt-media-select.glade:
2083 * data/glade/wdgt-rotate-label.glade:
2084 * libglabels/Makefile.am:
2085 * libglabels/category.c:
2086 * libglabels/category.h:
2087 * libglabels/libglabels.h:
2088 * libglabels/paper.c:
2089 * libglabels/template.c:
2090 * libglabels/template.h:
2091 * libglabels/xml-category.c:
2092 * libglabels/xml-category.h:
2093 * libglabels/xml-template.c:
2094 Added support for category meta data.
2097 * src/mini-preview-pixbuf.c:
2098 * src/mini-preview-pixbuf.h:
2099 * src/new-label-dialog.c:
2100 * src/new-label-dialog.h:
2101 * src/wdgt-media-select.c:
2102 * src/wdgt-media-select.h:
2103 * src/wdgt-rotate-label.c:
2104 * src/wdgt-rotate-label.h:
2105 New "new label" dialog.
2107 2006-05-27 Jim Evins <evins@snaught.com>
2112 Preparation for 2.1.3.
2118 2006-05-22 Jim Evins <evins@snaught.com>
2120 * src/print.c: (draw_barcode_object):
2121 Don't print "Invalid barcode data" if data field is empty. Patch provided
2122 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2124 Added acknowledgment for above patch.
2125 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2126 * src/bc-postnet.c: (postnet_code):
2127 Removed "Invalid barcode data" warnings from stderr.
2128 * src/view-barcode.c: (draw_barcode):
2129 Draw box around barcode extent if data empty or invalid. Center a
2130 message whether the data is empty or invalid in box.
2132 2006-05-22 Jim Evins <evins@snaught.com>
2134 * src/print.c: (draw_text_object):
2135 Check shadow state when printing text.
2137 2006-05-20 Jim Evins <evins@snaught.com>
2139 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2140 (gl_ui_cmd_view_markup_toggle):
2141 Fixed crash when grid or markup have been toggled off during
2142 a previous session. Bug #1434324.
2144 2006-04-05 Jim Evins <evins@snaught.com>
2146 * src/object-editor.c: (gl_object_editor_set_key_names):
2147 Fixed potential crash when freeing empty key list.
2149 2006-03-11 Jim Evins <evins@snaught.com>
2151 * src/print.c: (draw_text_object):
2152 * src/view-text.c: (gl_view_text_new),
2153 (construct_properties_editor), (update_object_from_editor_cb),
2154 (update_editor_from_object_cb), (update_editor_from_label_cb),
2156 Added shadow support to text object.
2158 2006-02-18 Jim Evins <evins@snaught.com>
2160 * src/print.c: (draw_line_object):
2161 * src/view-line.c: (gl_view_line_new),
2162 (construct_properties_editor), (update_canvas_item_from_object_cb),
2163 (update_object_from_editor_cb), (update_editor_from_object_cb),
2164 (update_editor_from_label_cb):
2165 Added shadow support to line object.
2167 2006-02-16 Jim Evins <evins@snaught.com>
2171 * src/print.c: (draw_ellipse_object):
2172 * src/view-ellipse.c: (gl_view_ellipse_new),
2173 (construct_properties_editor), (update_canvas_item_from_object_cb),
2174 (update_object_from_editor_cb), (update_editor_from_object_cb),
2175 (update_editor_from_label_cb):
2176 Added shadow support to ellipse object.
2178 2006-02-15 Jim Evins <evins@snaught.com>
2180 * src/label-object.c:
2181 Changed default shadow offsets.
2182 * src/view-box.c: (gl_view_box_new):
2183 Simplified gl_view_box_new() so that is does not duplicate code
2184 in update_canvas_item_from_object_cb().
2186 2006-02-07 Jim Evins <evins@snaught.com>
2188 * data/glade/object-editor.glade:
2189 Fixed color groups of color combos.
2191 Added default shadow color.
2192 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2193 Added shadow color group.
2195 2006-02-06 Jim Evins <evins@snaught.com>
2197 * src/object-editor-shadow-page.c:
2198 Forgot to add this file.
2199 * src/view-box.c: (gl_view_box_new),
2200 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2201 Update limits on shadow offset spinbuttons.
2203 2006-01-19 Jim Evins <evins@snaught.com>
2205 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2206 Initialize key_list to NULL.
2207 * data/glade/object-editor.glade:
2211 * src/label-object.c:
2212 * src/label-object.h:
2213 * src/object-editor-fill-page.c:
2214 * src/object-editor-private.h:
2215 * src/object-editor.c:
2216 * src/object-editor.h:
2218 Created infrastructure for shadow support.
2221 Initial shadow support in box object only.
2223 2006-01-05 Jim Evins <evins@snaught.com>
2225 * src/merge-properties-dialog.c: (src_changed_cb):
2226 Be extra paranoid before calling strcmp().
2227 * src/merge.c: (gl_merge_set_src):
2228 Don't make (merge == NULL) a critical error.
2230 2005-12-22 Jim Evins <evins@snaught.com>
2232 * src/glabels-batch.c: (main):
2233 Compile warning free with gcc 4.0.
2235 2005-12-21 Jim Evins <evins@snaught.com>
2238 Updated example RPM spec file.
2240 2005-12-21 Jim Evins <evins@snaught.com>
2244 Preparation for 2.1.2.
2246 2005-12-20 Jim Evins <evins@snaught.com>
2249 Define unique G_LOG_DOMAIN for glabels.
2250 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2251 * src/warning-handler.c: (gl_warning_handler_init),
2253 Register for G_LOG_DOMAIN instead of NULL.
2255 2005-12-10 Jim Evins <evins@snaught.com>
2257 * src/merge-evolution.c:
2258 * src/merge-vcard.c:
2261 2005-12-08 Jim Evins <evins@snaught.com>
2263 * libglabels/paper.c: (read_paper_files_from_dir):
2264 * libglabels/template.c: (gl_template_register),
2265 (read_template_files_from_dir):
2266 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2267 (gl_xml_paper_parse_papers_doc):
2268 * libglabels/xml-template.c:
2269 (gl_xml_template_read_templates_from_file),
2270 (gl_xml_template_parse_templates_doc),
2271 (gl_xml_template_parse_template_node),
2272 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2273 (xml_parse_label_cd_node), (xml_parse_layout_node),
2274 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2275 (xml_parse_markup_circle_node),
2276 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2277 * libglabels/xml.c: (gl_xml_get_prop_length):
2278 Re-classified g_warnings to g_messages.
2280 * src/glabels.c: (main):
2281 * src/warning-handler.c: (gl_warning_handler_init),
2283 * src/warning-handler.h:
2284 Added warning message handler to make sure the user is
2285 presented with appropriate non-fatal errors.
2286 * src/critical-error-handler.c: (critical_error_handler):
2287 Changed exit to abort.
2288 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2289 * src/bc-postnet.c: (postnet_code):
2290 * src/bc.c: (id_to_index), (name_to_index):
2291 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2292 * src/object-editor.c: (gl_object_notebook_construct_valist):
2293 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2294 * src/prefs.c: (gl_prefs_get_units_per_point),
2295 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2296 (gl_prefs_get_units_string):
2297 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2298 * src/splash.c: (gl_splash):
2299 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2300 * src/view-highlight.c: (gl_view_highlight_new),
2301 (highlight_resizable_box_construct), (object_changed_cb),
2302 (view_scale_changed_cb):
2303 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2304 (draw_markup_layer), (draw_markup_margin),
2305 (gl_view_object_create_mode), (canvas_event),
2306 (selection_received_cb):
2307 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2308 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2309 * src/xml-label-04.c: (gl_xml_label_04_parse),
2310 (xml04_parse_media_description), (xml04_parse_text_props),
2311 (xml04_parse_barcode_props):
2312 * src/xml-label-191.c: (gl_xml_label_191_parse),
2313 (xml191_parse_objects), (xml191_parse_object),
2314 (xml191_parse_text_props), (xml191_parse_image_props),
2315 (xml191_parse_barcode_props), (xml191_parse_data),
2316 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2317 (xml191_parse_markup):
2318 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2319 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2320 (xml_parse_object_text), (xml_parse_object_image),
2321 (xml_parse_object_barcode), (xml_parse_data),
2322 (xml_parse_toplevel_span), (gl_xml_label_save),
2323 (xml_create_objects):
2324 Re-classified g_warnings to g_messages.
2325 * src/merge-evolution.c: (gl_merge_evolution_open),
2326 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2327 Use g_warning to output errors encountered while
2328 communicating with the evolution data server
2329 instead of embedding them in the data.
2331 2005-12-08 Jim Evins <evins@snaught.com>
2333 * libglabels/libglabels-private.h:
2335 * libglabels/paper.c: (read_papers):
2336 * libglabels/template.c: (read_templates):
2337 Made appropriate warnings critical.
2339 * src/critical-error-handler.h:
2340 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2341 (critical_error_handler):
2342 Created critical error handler.
2343 * src/glabels.c: (main):
2344 Register critical error handler.
2345 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2346 * src/object-editor.c: (gl_object_editor_init):
2347 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2348 * src/template-designer.c: (gl_template_designer_init):
2349 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2350 Made appropriate warnings critical.
2352 2005-11-27 Jim Evins <evins@snaught.com>
2354 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2355 (gl_merge_evolution_get_primary_key),
2356 (gl_merge_evolution_get_record):
2357 Don't create "record_key" pseudo-key. Don't populate
2358 fields with null data.
2360 2005-11-25 Jim Evins <evins@snaught.com>
2362 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2363 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2364 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2366 Query EDS for all supported fields. Patch provided by
2367 Austin Henry <ahenry@users.sourceforge.net>.
2369 2005-10-29 Jim Evins <evins@snaught.com>
2371 * src/glabels.c: (main):
2372 * src/label-barcode.c: (gl_label_barcode_finalize):
2373 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2374 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2375 * src/object-editor.c: (gl_object_editor_finalize):
2376 Another pass at valgrinding -- plugged several memory leaks.
2377 * src/view-text.c: (gl_view_text_new),
2378 (update_canvas_item_from_object_cb), (draw_hacktext):
2379 Commented out artifacts of edit-in-place code.
2381 2005-10-28 Jim Evins <evins@snaught.com>
2383 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2384 Fixed use of uninitialized variable. Caught by
2385 d binderman <dcb314@hotmail.com>.
2387 2005-10-27 Jim Evins <evins@snaught.com>
2389 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2390 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2392 Additional cleanup of EDS and vcard backends. Provided by
2393 Austin Henry <ahenry@users.sourceforge.net>.
2395 2005-10-24 Jim Evins <evins@snaught.com>
2399 * src/merge-evolution.c:
2400 * src/merge-evolution.h:
2401 * src/merge-init.c: (gl_merge_init):
2402 * src/merge-properties-dialog.c: (type_changed_cb):
2403 * src/merge-vcard.c:
2404 * src/merge-vcard.h:
2405 * src/ui-commands.c: (gl_ui_cmd_help_about):
2406 Added Evolution Data Server and VCard merge backends. Original patch
2407 provided by Austin Henry <ahenry@users.sourceforge.net>.
2409 Only support EDS and VCard backends if libebook is installed. Allow
2410 user to disable support, even if installed.
2412 2005-10-24 Jim Evins <evins@snaught.com>
2415 * data/templates/avery-iso-templates.xml:
2416 * data/templates/avery-us-templates.xml:
2417 * data/templates/misc-iso-templates.xml:
2418 * data/templates/zweckform-iso-templates.xml:
2419 Collected all template changes and submissions since last
2422 2005-10-23 Jim Evins <evins@snaught.com>
2425 * data/mime/Makefile.am:
2426 Added configure options to disable update-mime-database and
2427 update-desktop-database as part of the install. Patch
2428 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2430 2005-10-23 Jim Evins <evins@snaught.com>
2433 * libglabels/xml.c: (gl_xml_get_prop_string),
2434 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2435 (gl_xml_is_node), (gl_xml_get_node_content):
2436 Added new XML utility functions.
2437 * libglabels/xml-paper.c:
2438 * libglabels/xml-template.c:
2440 Cleanup by using new xml utilities created above.
2441 * libglabels/paper.c: (gl_paper_free):
2442 * src/file.c: (new_response):
2443 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2444 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2445 (gl_pixbuf_cache_get_pixbuf):
2446 * src/ui-property-bar.c:
2447 (gl_ui_property_bar_construct_color_combo):
2448 * src/view-highlight.c: (gl_view_highlight_finalize):
2449 * src/view-image.c: (update_object_from_editor_cb):
2450 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2451 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2452 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2453 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2454 (draw_markup_margin_round), (draw_markup_margin_cd),
2455 (draw_markup_margin_cd_bc):
2456 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2457 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2458 Plugged various memory leaks located with valgrind.
2459 * src/view-image.c: (update_canvas_item_from_object_cb):
2460 Don't allow a width or height of zero when drawing pixbuf.
2462 2005-10-22 Jim Evins <evins@snaught.com>
2464 * libglabels/xml-paper.c:
2465 * libglabels/xml-template.c:
2468 * src/bc-gnubarcode.c:
2469 * src/canvas-hacktext.c:
2471 * src/object-editor-data-page.c:
2472 * src/print-dialog.c:
2475 * src/template-designer.c:
2477 * src/ui-property-bar.c:
2479 * src/view-barcode.c:
2481 * src/view-ellipse.c:
2486 * src/wdgt-media-select.c:
2487 * src/xml-label-04.c:
2488 * src/xml-label-191.c:
2490 Modified to compile warning free with gcc-4.0. Mostly
2491 casting to change signedness of characters. Did not
2492 attack gnu-barcode library yet.
2494 2005-10-22 Jim Evins <evins@snaught.com>
2496 * src/glabels.c: (main):
2497 * src/splash.c: (gl_splash):
2498 Removed some small memory leaks.
2502 2005-09-19 Jim Evins <evins@snaught.com>
2504 * data/glade/property-bar.glade:
2505 Remove items from font_family_combo. This prevents the
2506 double entry after adding text model and list of fonts.
2507 * src/ui-property-bar.c: (reset_to_default_properties):
2508 Free font_family_list.
2510 2005-07-01 Jim Evins <evins@snaught.com>
2513 Updated italian translation (Daniele Medri)
2515 2005-06-26 Jim Evins <evins@snaught.com>
2517 * docs/libglabels/libglabels-decl-list.txt:
2518 Somehow never got checked in before.
2519 * docs/libglabels/libglabels.types:
2520 Removed -- don't need it afterall.
2522 2005-06-20 Jim Evins <evins@snaught.com>
2525 Final prep for 2.1.1 release.
2527 2005-06-20 Jim Evins <evins@snaught.com>
2530 Final preps for 2.1.1 release.
2531 * docs/libglabels/libglabels.types:
2532 Somehow never got checked in before.
2534 Bring up-to-date with recent reorg of ui code.
2537 2005-06-19 Jim Evins <evins@snaught.com>
2539 * src/template-designer.c: (construct_layout_page):
2540 Removed attempt to match background color of mini preview widget to
2543 2005-06-17 Jim Evins <evins@snaught.com>
2545 * help/C/figures/merge-ex2-4.png:
2546 * help/C/glabels.xml:
2547 Fixed spelling error.
2549 2005-06-13 Jim Evins <evins@snaught.com>
2551 * help/C/figures/merge-ex1-1.png:
2552 * help/C/figures/merge-ex1-2.png:
2553 * help/C/figures/merge-ex1-3.png:
2554 * help/C/figures/merge-ex1-4.png:
2555 * help/C/figures/merge-ex2-1.png:
2556 * help/C/figures/merge-ex2-2.png:
2557 * help/C/figures/merge-ex2-3.png:
2558 * help/C/figures/merge-ex2-4.png:
2559 Added figures for document merge tutorial.
2560 * help/C/glabels.xml:
2561 Added document merge tutorial.
2563 2005-05-19 Jim Evins <evins@snaught.com>
2565 * data/glade/merge-properties-dialog.glade:
2566 Fixed irregular spacing.
2567 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2568 (gl_merge_properties_dialog_construct):
2569 Set outer padding and remove separator.
2571 2005-05-18 Jim Evins <evins@snaught.com>
2575 Removed glHigDialog class.
2576 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2577 (gl_file_properties), (create_properties_dialog_widgets):
2578 * src/prefs-dialog.h:
2579 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2580 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2581 * src/print-dialog.h:
2582 * src/prefs-dialog.h:
2583 * src/print-dialog.c: (gl_print_dialog_get_type),
2584 (gl_print_dialog_init), (gl_print_dialog_construct):
2585 Replaced all instances of glHigDialog with GtkDialog.
2587 2005-05-17 Jim Evins <evins@snaught.com>
2591 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2592 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2593 (save_as_response), (gl_file_close):
2594 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2596 2005-05-15 Jim Evins <evins@snaught.com>
2598 * src/ui-commands.h:
2606 A little code reformatting -- no functional changes.
2608 2005-05-14 Jim Evins <evins@snaught.com>
2611 Removed obsolete macros.
2613 Added marshalling template to support new view signal: "context_menu_activate."
2615 * src/view.c: (gl_view_class_init), (gl_view_construct),
2616 (canvas_event_arrow_mode):
2617 - Removed hardcoded context menus and added new signal "context_menu_activate"
2618 to push this up to the uimanager.
2619 - Removed merge properties and print dialogs so that they can be managed with
2620 the window by the uimanager.
2621 * src/merge-properties-dialog.h:
2622 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2623 (gl_merge_properties_dialog_construct):
2624 Changed calling convention of gl_merge_properties_dialog_new() to use
2625 glLabel and GtkWindow instead of view to make more consistent with other
2627 * src/print-dialog.h:
2628 * src/print-dialog.c: (gl_print_dialog_new),
2629 (gl_print_dialog_construct):
2630 Removed last artifact of libbonoboui.
2631 * src/ui-commands.c: (gl_ui_cmd_file_print),
2632 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2633 Reconciled style for launching dialogs.
2634 * src/ui.c: (gl_ui_new):
2635 Added context menus to ui manager.
2636 * src/view-object.c: (item_event_arrow_mode):
2637 No longer try to select objects with right-click.
2639 * src/window.c: (gl_window_init), (gl_window_set_label),
2640 (context_menu_activate_cb):
2641 Context menus and all dialogs are now managed in a consistent way in window
2644 2005-05-11 Jim Evins <evins@snaught.com>
2647 * src/window.c: (gl_window_init), (gl_window_destroy):
2648 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2649 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2650 Moved management of recent_view back from window.c to ui.c -- it just feels
2653 2005-05-10 Jim Evins <evins@snaught.com>
2656 * src/window.c: (gl_window_init):
2658 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2659 (menu_item_select_cb), (menu_item_deselect_cb):
2660 Added GtkStatusbar which displays menu tooltips.
2662 2005-05-09 Jim Evins <evins@snaught.com>
2664 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2669 Removed dependencies on libbonoboui.
2671 * data/ui/Makefile.am:
2672 * data/ui/glabels-ui.xml:
2673 Removed data/ui directory.
2674 * data/glade/Makefile.am:
2675 * data/property-bar.glade:
2676 Added glade description of property-bar for new libglade implementation
2683 * src/ui-commands.h:
2684 * src/ui-commands.c:
2685 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2686 since the distinction between "commands" and "tools" is no longer that clear.
2689 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2690 no longer has knowledge of eggRecent*.
2691 * src/glabels.c: (main):
2692 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2694 * src/object-editor.c: (gl_object_editor_init):
2695 Make sure notebook does not respond to a "show_all" on the parent.
2696 * src/recent-files/Makefile.am:
2697 * src/recent-files/*.[ch]
2698 Updated from latest version of libegg which now has a view based on
2699 GtkUIManager. Removed unused bonobo and gtk views.
2700 * src/ui-property-bar.h:
2701 * src/ui-property-bar.c:
2702 New implementation based on libglade.
2705 Sidebar is now simply a GtkWidget and does not expect to be a part of
2706 a libbonoboui interface.
2711 Converted for use with GtkUIManager.
2714 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2715 to create menus and toolbars.
2717 2005-04-25 Jim Evins <evins@snaught.com>
2719 * data/templates/misc-iso-templates.xml:
2720 Added Fellows 04715 template provided by Steve Saxon.
2722 Updated acknowledgement for above.
2724 2005-04-23 Jim Evins <evins@snaught.com>
2726 * src/util.c: (gl_util_combo_box_set_strings):
2727 Make sure to clear model before loading a new list of strings.
2728 * src/wdgt-media-select.h:
2729 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2730 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2731 (template_combo_changed_cb), (prefs_changed_cb),
2732 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2733 (gl_wdgt_media_select_get_page_size),
2734 (gl_wdgt_media_select_set_page_size):
2735 Replaced the deprecated GtkCombo widget with the new
2738 2005-04-21 Jim Evins <evins@snaught.com>
2740 * data/glade/template-designer.glade:
2741 * src/template-designer.c: (construct_pg_size_page),
2742 (pg_size_page_changed_cb), (build_template):
2743 Replaced the deprecated GtkCombo widget with the new
2746 2005-04-20 Jim Evins <evins@snaught.com>
2748 * data/glade/prefs-dialog.glade:
2749 * src/prefs-dialog.c: (construct_object_page),
2750 (update_object_page_from_prefs), (update_prefs_from_object_page):
2751 Replaced the deprecated GtkCombo widget with the new
2754 2005-04-19 Jim Evins <evins@snaught.com>
2756 * data/glade/object-editor.glade:
2757 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2758 (style_changed_cb), (gl_object_editor_set_bc_style),
2759 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2760 (gl_object_editor_get_bc_color):
2761 * src/object-editor-data-page.c:
2762 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2763 (gl_object_editor_get_data):
2764 * src/object-editor-edit-page.c:
2765 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2766 * src/object-editor-fill-page.c:
2767 (gl_object_editor_prepare_fill_page),
2768 (gl_object_editor_set_fill_color),
2769 (gl_object_editor_get_fill_color):
2770 * src/object-editor-image-page.c:
2771 (gl_object_editor_prepare_image_page),
2772 (gl_object_editor_set_image), (gl_object_editor_get_image):
2773 * src/object-editor-line-page.c:
2774 (gl_object_editor_prepare_line_page),
2775 (gl_object_editor_set_line_color),
2776 (gl_object_editor_get_line_color):
2777 * src/object-editor-private.h:
2778 * src/object-editor-text-page.c:
2779 (gl_object_editor_prepare_text_page),
2780 (gl_object_editor_set_font_family),
2781 (gl_object_editor_get_font_family),
2782 (gl_object_editor_set_text_color),
2783 (gl_object_editor_get_text_color):
2784 * src/object-editor.c: (gl_object_editor_set_key_names):
2786 In the object editor: replaced all instances of the deprecated
2787 GtkCombo widget with the new GtkComboBox.
2789 2005-04-18 Jim Evins <evins@snaught.com>
2792 Neglected to save this one in previous checkin to support
2795 2005-04-17 Jim Evins <evins@snaught.com>
2797 * libglabels/libglabels-private.h:
2798 * libglabels/paper.c:
2799 * libglabels/paper.h:
2800 * libglabels/template.c:
2801 * libglabels/template.h:
2802 * libglabels/xml-paper.c:
2803 * libglabels/xml-paper.h:
2804 * libglabels/xml-template.c:
2809 * src/bc-gnubarcode.c:
2820 * src/label-barcode.c:
2822 * src/label-ellipse.c:
2823 * src/label-image.c:
2824 * src/label-image.h:
2826 * src/label-object.c:
2830 * src/merge-properties-dialog.c:
2831 * src/object-editor-bc-page.c:
2832 * src/object-editor-data-page.c:
2833 * src/object-editor-edit-page.c:
2834 * src/object-editor-fill-page.c:
2835 * src/object-editor-image-page.c:
2836 * src/object-editor-line-page.c:
2837 * src/object-editor-lsize-page.c:
2838 * src/object-editor-position-page.c:
2839 * src/object-editor-private.h:
2840 * src/object-editor-size-page.c:
2841 * src/object-editor-text-page.c:
2842 * src/object-editor.c:
2843 * src/object-editor.h:
2844 * src/pixbuf-cache.h:
2845 * src/prefs-dialog.c:
2846 * src/prefs-dialog.h:
2847 * src/prefs-model.c:
2848 * src/prefs-model.h:
2850 * src/print-dialog.c:
2851 * src/print-dialog.h:
2859 * src/template-designer.c:
2860 * src/template-designer.h:
2863 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2869 * src/view-barcode.c:
2871 * src/view-ellipse.c:
2872 * src/view-highlight.c:
2873 * src/view-highlight.h:
2876 * src/view-object.c:
2877 * src/view-object.h:
2881 * src/wdgt-chain-button.c:
2882 * src/wdgt-media-select.c:
2883 * src/wdgt-media-select.h:
2884 * src/wdgt-mini-preview.c:
2885 * src/wdgt-mini-preview.h:
2886 * src/wdgt-print-copies.c:
2887 * src/wdgt-print-copies.h:
2888 * src/wdgt-print-merge.c:
2889 * src/wdgt-print-merge.h:
2890 * src/wdgt-rotate-label.c:
2891 * src/wdgt-rotate-label.h:
2894 * src/xml-label-04.c:
2895 * src/xml-label-191.c:
2897 Cleanup of header files:
2898 - all header files are now stand-alone, verified by including
2899 first in corresponding "c" files
2900 - replaced blanket includes of gnome, gtk, and glib with
2903 2005-04-16 Jim Evins <evins@snaught.com>
2905 * data/glade/Makefile.am:
2906 * data/glade/merge-properties-dialog.glade:
2907 Added merge properties dialog glade description file.
2908 * src/merge-properties-dialog.h:
2909 * src/merge-properties-dialog.c:
2910 (gl_merge_properties_dialog_get_type),
2911 (gl_merge_properties_dialog_init),
2912 (gl_merge_properties_dialog_finalize),
2913 (gl_merge_properties_dialog_new),
2914 (gl_merge_properties_dialog_construct), (type_changed_cb),
2915 (src_changed_cb), (response_cb), (load_tree),
2916 (record_select_toggled_cb), (select_all_button_clicked_cb),
2917 (unselect_all_button_clicked_cb):
2918 Modified merge properties dialog to use libglade. Added
2919 "select all" and "unselect all" buttons.
2920 * src/merge-text.c: (parse_line):
2921 Handle empty lines better.
2922 * src/merge.c: (gl_merge_eval_key):
2923 Evaluate the key whether the record is selected or not.
2925 * src/util.c: (gl_util_combo_box_add_text_model):
2926 Since libglade does not use the gtk_combo_box_new_text()
2927 constructor for GtkComboBoxes, a utility function was created
2928 to add an appropriate text model to a GtkComboBox.
2929 * src/view.c: (gl_view_edit_merge_props):
2930 Removed unnecessary "show all's".
2932 2005-04-15 Jim Evins <evins@snaught.com>
2935 Updated russian translation (Vitaly Lipatov)
2936 * data/templates/misc-iso-templates.xml:
2937 Added templates for russian business cards provided by Vitaly Lipatov.
2939 Updated acknowledgements for above.
2941 2005-04-15 Jim Evins <evins@snaught.com>
2943 * data/templates/avery-us-templates.xml:
2944 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2945 * data/templates/misc-iso-templates.xml:
2946 Added Ryman standard CD/DVD template, provided by Dan Clark.
2948 Added acknowledgements for above.
2950 2005-04-10 Jim Evins <evins@snaught.com>
2952 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2953 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2954 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2955 (xml_parse_label_cd_node), (xml_parse_alias_node):
2956 * libglabels/xml.c: (gl_xml_get_prop_double),
2957 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2958 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2959 * src/xml-label-04.c: (xml04_parse_media_description),
2960 (xml04_parse_text_props), (xml04_parse_barcode_props),
2961 (xml04_parse_merge_properties):
2962 * src/xml-label-191.c: (xml191_parse_object),
2963 (xml191_parse_text_props), (xml191_parse_barcode_props),
2964 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2965 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2966 (xml191_parse_alias):
2967 * src/xml-label.c: (xml_parse_object_text),
2968 (xml_parse_object_barcode), (xml_parse_merge_fields),
2969 (xml_parse_pixdata), (xml_parse_toplevel_span):
2970 Make sure to use xmlFree for anything obtained from libxml
2971 in case libxml and glib use different memory management
2974 2005-04-08 Jim Evins <evins@snaught.com>
2977 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2978 (gl_util_combo_box_set_active_text):
2979 Added utility functions to simplify working with GtkComboBox
2981 * src/ui-property-bar.h:
2982 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2983 (reset_to_default_properties), (update_text_properties),
2984 (font_family_changed_cb):
2985 Replaced deprecated GtkCombo with GtkComboBox.
2988 2005-04-03 Jim Evins <evins@snaught.com>
2991 * src/wdgt-image-select.h:
2992 * src/wdgt-image-select.c:
2993 Removed obsolete wdgt-image-select.[ch] files.
2994 * libglabels/paper.c: (gl_paper_dup):
2995 Fixed rename of parameter introduced during documentation
2997 * data/glade/object-editor.glade:
2998 * src/object-editor-image-page.c:
2999 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3000 (gl_object_editor_set_image), (gl_object_editor_get_image),
3001 (update_preview_cb), (add_image_filters_to_chooser):
3002 * src/object-editor-private.h:
3003 Replaced deprecated GnomePixmapEntry with
3004 GtkFileChooserButton.
3006 2005-04-02 Jim Evins <evins@snaught.com>
3008 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3009 (mygal_combo_box_popup_hide_unconditional),
3010 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3011 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3012 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3013 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3014 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3015 Renamed all internal gtk_combo functions to mygal_combo
3016 to prevent namespace confusion.
3018 2005-04-02 Jim Evins <evins@snaught.com>
3020 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3021 (cust_color_set), (color_palette_setup):
3022 * src/mygal/color-palette.h:
3023 Replaced deprecated GnomeColorPicker with GtkColorButton.
3025 2005-04-02 Jim Evins <evins@snaught.com>
3027 * docs/libglabels/libglabels-sections.txt:
3028 * docs/libglabels/libglabels-undocumented.txt:
3029 * docs/libglabels/tmpl/enums.sgml:
3030 * docs/libglabels/tmpl/paper.sgml:
3031 * docs/libglabels/tmpl/xml-paper.sgml:
3032 * docs/libglabels/tmpl/xml-template.sgml:
3033 * libglabels/enums.h:
3034 * libglabels/paper.c: (gl_paper_dup):
3035 * libglabels/paper.h:
3036 * libglabels/xml-paper.c:
3037 * libglabels/xml-template.c:
3038 More documentation updates for libglabels.
3040 2005-03-23 Jim Evins <evins@snaught.com>
3043 Automatically updated.
3048 * docs/libglabels/Makefile.am:
3049 * docs/libglabels/libglabels-docs.sgml:
3050 * docs/libglabels/libglabels-sections.txt:
3051 * docs/libglabels/libglabels-undocumented.txt:
3052 * docs/libglabels/tmpl/enums.sgml:
3053 * docs/libglabels/tmpl/libglabels-unused.sgml:
3054 * docs/libglabels/tmpl/libglabels.sgml:
3055 * docs/libglabels/tmpl/paper.sgml:
3056 * docs/libglabels/tmpl/template.sgml:
3057 * docs/libglabels/tmpl/xml-paper.sgml:
3058 * docs/libglabels/tmpl/xml-template.sgml:
3059 * docs/libglabels/tmpl/xml.sgml:
3060 Added basic gtk-doc stuff to support documenting libglabels
3063 Updated function comments with gtk-doc markup.
3067 2005-03-22 Jim Evins <evins@snaught.com>
3069 Since the development version now requires gtk-2.6/gnome-2.10, I
3070 have made a first pass at removing deprecations.
3073 * libglabels/Makefile.am:
3075 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3076 Also removed all remnants of HAVE_FILECHOOSER.
3077 * src/file.c: (gl_file_open_real):
3078 Removed code for old GtkFileSelection.
3079 * libglabels/libglabels-private.h:
3080 * libglabels/paper.c:
3081 * libglabels/template.c:
3082 * libglabels/xml-paper.c:
3083 * libglabels/xml-template.c:
3087 * src/glabels-batch.c:
3091 * src/merge-properties-dialog.c:
3093 * src/object-editor.c:
3094 * src/prefs-dialog.c:
3096 * src/print-dialog.c:
3099 * src/template-designer.c:
3100 * src/ui-property-bar.c:
3102 * src/view-barcode.c:
3104 * src/view-ellipse.c:
3109 * src/wdgt-image-select.c:
3110 * src/wdgt-media-select.c:
3111 * src/wdgt-print-copies.c:
3112 * src/wdgt-print-merge.c:
3113 * src/wdgt-rotate-label.c:
3115 * src/xml-label-04.c:
3116 * src/xml-label-191.c:
3118 Added '#include <glib/gi18n.h>" where needed.
3119 Removed any unused '#include <gnome.h>"s.
3121 2005-03-22 Jim Evins <evins@snaught.com>
3123 * src/commands.c: (activate_url), (gl_cmd_help_about):
3124 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3125 development version of glabels now depends on GTK 2.6 and
3128 Updated library dependencies.
3130 2005-02-28 Jim Evins <evins@snaught.com>
3133 * data/templates/misc-iso-templates.xml:
3134 Added 'Ednet 45021' template provided by Ali Akcaagac
3137 2005-02-14 Jim Evins <evins@snaught.com>
3139 * data/templates/avery-us-templates.xml:
3140 Updated templates to use inches instead of points.
3141 * src/print-dialog.c: (printer_page_new):
3142 Changed packing style when adding printer selector widget. This fixes
3145 2005-02-13 Jim Evins <evins@snaught.com>
3149 Updated spanish translations. (sergio rivadero)
3151 2005-02-05 Jim Evins <evins@snaught.com>
3153 Some cleanup to libglabels.
3156 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3157 * libglabels/libglabels.pc.in
3159 * libglabels/enums.h
3160 Created. Currently only contains glUnitsType which provides enumerations
3161 for all possible units of distance.
3162 * libglabels/Makefile.am:
3163 Incorporated new files enums.h and libglabels.pc[.in].
3164 * libglabels/libglabels.h:
3166 * libglabels/template.h:
3167 * libglabels/template.c: (gl_template_layout_new):
3168 Changed parameters nx and ny to gint from gdouble.
3170 * libglabels/xml.c: (gl_xml_get_prop_length),
3171 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3172 Added support for different output units.
3173 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3174 (update_prefs_from_locale_page):
3175 * src/prefs-model.c: (string_to_units), (units_to_string):
3176 * src/prefs-model.h:
3177 * src/prefs.c: (gl_prefs_get_units_per_point),
3178 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3179 (gl_prefs_get_units_string):
3181 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3182 Reconciled all length enumerations with the new enumerations provided
3183 in libglabels/enums.h.
3185 2005-02-03 Jim Evins <evins@snaught.com>
3188 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3190 Updated Italian translations. (Daniele Medri)
3192 Updated credits to reflect above translations.
3195 2005-01-22 Jim Evins <evins@snaught.com>
3200 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3202 Final prep for 2.1.0.
3204 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3206 Added '--remove-original' flag to desktop-file-install, so that there is
3207 only one menu entry.
3209 2005-01-20 Jim Evins <evins@snaught.com>
3211 * data/glade/object-editor.glade:
3212 - Font family entry should not be editable.
3213 - img_key_entry should have sensitivity=YES, so that it follows the
3214 sensitivity of img_key_combo.
3216 2005-01-19 Jim Evins <evins@snaught.com>
3219 Give credit to Frederic Ruaudel for the color merge patches.
3221 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3223 Add support to merge color for all other color attribute (Feature
3224 Requests item #1008635. If the data is invalid, the color used is transparent
3225 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3226 by gdk_color_parse() these include name for a color from rgb.txt, such as
3227 DarkSlateGray, or a hex specification such as #305050. File format has been
3228 changed but backward compatibility is preserved for all format. For
3229 box/ellipse/line, keep attribute "line_color" for static color or replace by
3230 "line_color_field" for merge data. For text/barcode objects, keep attribute
3231 "color" for static color or replace by "color_field" for merge data. In the
3232 edit canvas window, merged color are represented by half-transparent black
3235 * data/dtd/glabels-2.0.dtd:
3236 Added line_color_field to line_attrs. Added color_field to
3237 Object-barcode and Span.
3238 * data/glade/object-editor.glade:
3239 Modify the layout of the editor to add merge possibility to color options
3241 Fix a copy/paste error in a comment
3243 Add default color for merge color representation in the editor canvas.
3244 * src/label-barcode.c:
3245 * src/object-editor-bc-page.c:
3246 * src/view-barcode.c:
3247 Add merge color support for barcode color.
3250 Add merge color support for box border color.
3251 * src/label-ellipse.c:
3252 * src/view-ellipse.c:
3253 Add merge color support for ellipse border color.
3256 Add merge color support for line color.
3257 * src/label-object.c:
3258 * src/label-object.h:
3259 * src/object-editor.c:
3260 * src/object-editor.h:
3261 * src/ui-property-bar.c:
3264 * src/xml-label-04.c:
3265 * src/xml-label-191.c:
3266 Add support for merging to other color attribute.
3268 * src/object-editor-text-page.c:
3270 Add merge color support for text color.
3271 * src/object-editor-fill-page.c:
3272 Change a blocked handler that didn't match the good widget. Fix the type
3273 of some debug message.
3274 * src/object-editor-line-page.c:
3275 Add merging support to line color option.
3276 * src/object-editor-private.h:
3277 Add variables for new widget.
3279 Modify the draw functions to get merge data if needed.
3281 Change the default size of the window in order to see all widget in the
3282 "text style tab" of the editor.
3284 Modify the parser to record/retreive the field value for objects that need
3285 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3286 static color or replace by "line_color_field" for merge data. For
3287 text/barcode objects, keep attribute "color" for static color or replace
3288 by "color_field" for merge data.
3290 2005-01-17 Jim Evins <evins@snaught.com>
3292 * src/view.c: (screen_changed_cb):
3293 Don't do anything if we don't have a screen.
3295 2005-01-06 Jim Evins <evins@snaught.com>
3297 * src/view.c: (get_home_scale):
3298 Fixed bad call to gtk_widget_has_screen() -- huh?.
3300 2005-01-06 Jim Evins <evins@snaught.com>
3302 * data/dtd/glabels-2.0.dtd:
3303 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3306 2005-01-06 Jim Evins <evins@snaught.com>
3308 * data/glade/object-editor.glade:
3309 Set entries for fill and data field key dropdowns to NOT editable.
3310 * src/view-box.c: (construct_properties_editor):
3311 * src/view-ellipse.c: (construct_properties_editor):
3312 Update object editor when label's merge property has changed.
3313 * src/xml-label.c: (xml_parse_object_ellipse):
3314 Completed the merge color support for the ellipse item.
3316 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3318 Add support to merge color for object that have a "Fill color" attribute (Feature
3319 Requests item #1008635. If the data is invalid, the color used is transparent
3320 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3321 by gdk_color_parse() these include name for a color from rgb.txt, such as
3322 DarkSlateGray, or a hex specification such as #305050. File format has been
3323 changed but backward compatibility is preserved for all format. For box/ellipse,
3324 keep attribute "fill_color" for static color or replace by "fill_color_field"
3327 * data/glade/object-editor.glade:
3328 Modify "Fill" tab to add the merge key combo and convert the labels into
3332 Add "glColorNode" structure and associated functions to manage it. This
3333 structure is equivalent for color than the "glTextNode". It holds the color
3335 * src/label-object.h:
3336 * src/label-object.c:
3338 * src/label-ellipse.c:
3339 * src/ui-property-bar.c:
3343 * src/view-ellipse.c:
3344 * src/xml-label-04.c:
3345 * src/xml-label-191.c:
3346 Change functions of objects that have a "fill color" attribute to use the
3347 new "glColorNode" structure. Use barcode code as example.
3349 Add the color.[ch] file to glabels_batch binary that now need support for
3351 * src/object-editor.h:
3352 * src/object-editor.c:
3353 * src/object-editor-fill-page.c:
3354 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3355 to choose between static color or merge key. Use barcode code as example.
3356 * src/object-editor-private.h:
3357 Add new widget in the "_glObjectEditorPrivate" structure.
3359 Modify the draw functions to get merge data if needed.
3361 Modify the parser to record/retreive the field value for objects that need
3362 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3363 color or "fill_color_field" for merge data.
3365 2005-01-04 Jim Evins <evins@snaught.com>
3368 * data/templates/avery-iso-templates.xml:
3369 * data/templates/misc-iso-templates.xml:
3370 * data/templates/misc-us-templates.xml:
3371 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3374 2004-11-26 Jim Evins <evins@snaught.com>
3378 Updated french translations provided by Florent Morel <florent@taket.org>.
3379 * src/view-barcode.c:
3381 * src/view-ellipse.c:
3385 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3386 thus _() strings were not being translated.
3388 2004-11-14 Jim Evins <evins@snaught.com>
3391 * src/debug.c: (gl_debug_init), (gl_debug):
3392 Borrowed from gedit: use environmental variables to select debug
3395 Removed unused include of debug.h.
3396 * src/glabels.c: (main):
3397 Added call to gl_debug_init(), and removed debug clutter from command line
3399 * src/glabels-batch.c: (main):
3400 Added call to gl_debug_init().
3402 2004-11-13 Jim Evins <evins@snaught.com>
3404 Drawing and property toolbars were being initialized with the "icons and text"
3405 look in Fedora Core 3. Even though none of the buttons had any text attached to
3406 them, the buttons were being sized as if they were. This led to less real estate
3407 for the property editor, leading to Bug #1064630. The
3409 * data/ui/glabels-ui.xml:
3410 Added explicit "look" property to both drawing and property toolbars.
3411 * src/prefs-model.c: (gl_prefs_model_save_settings),
3412 (gl_prefs_model_load_settings):
3413 * src/prefs-model.h:
3414 Removed drawing_toolbar_button_style configuration parameter.
3415 * src/ui.c: (view_menu_item_toggled_cb),
3416 (set_app_drawing_toolbar_style):
3417 Do not attempt to adjust look property of the drawing toolbar.
3419 2004-10-28 Jim Evins <evins@snaught.com>
3421 * data/pixmaps/glabels-about-logo.png:
3424 2004-10-28 Jim Evins <evins@snaught.com>
3426 * data/man/glabels.1:
3427 * src/glabels-batch.c: (main):
3429 * src/print.c: (gl_print_batch):
3431 Added option to glabels-batch to select the first label to begin
3434 2004-09-26 Jim Evins <evins@snaught.com>
3436 * data/desktop/glabels.desktop.in:
3437 Point to app icon, "glabels.png"
3438 * data/mime/glabels.keys.in:
3439 Point at mime icon, "glabels-application-x-glabels.png"
3440 * data/pixmaps/Makefile.am:
3441 Added glabels_app_icondir. Renamed icons.
3442 * data/pixmaps/glabels.png:
3443 New cleaned up app icon. Deleted glabels-icon.png.
3444 * data/pixmaps/glabels-application-x-glabels.png:
3446 * data/pixmaps/glabels-splash.png:
3447 Renamed glabels-logo to glabels-splash to be more correct about role.
3449 * src/template-designer.c:
3450 Point at app icon, "glabels.png"
3452 Point at renamed splash image, "glabels-splash.png"
3454 2004-08-22 Jim Evins <evins@snaught.com>
3457 * src/glabels-batch.c: (main):
3458 Applied patch with minor mods to allow selecting merge source and
3459 crop-marks on glabels-batch's command line. Original patch provided by
3460 José Dapena Paz <jdapena@igalia.com>.
3462 2004-08-15 Jim Evins <evins@snaught.com>
3464 * data/desktop/glabels.desktop.in:
3465 - Added encoding line
3466 - Removed period from comment
3467 - Fixed Terminal line, changed "0" to "false"
3468 - Added semicolen to Categories line
3470 - Made sure desktop.in comment string above still translated properly
3472 2004-08-14 Jim Evins <evins@snaught.com>
3474 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3475 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3476 * src/xml-label-191.c: (xml191_parse_sheet):
3477 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3479 Reconciled libglabels versioning with 2.0.1.
3482 2004-08-14 Jim Evins <evins@snaught.com>
3485 Updated version to 2.1cvs.
3487 2004-08-14 Jim Evins <evins@snaught.com>
3490 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3492 2004-08-14 Jim Evins <evins@snaught.com>
3494 Fixes for Bug #1008181.
3496 * src/bc.c: (gl_barcode_default_digits):
3497 Make a format of zero digits, harmless.
3498 * src/xml-label.c: (xml_parse_object_barcode):
3499 Set default value of the format property of barcode objects to 10, not
3500 zero. This will prevent crashes when reading pre 2.0.x files.
3502 2004-08-09 Jim Evins <evins@snaught.com>
3506 * help/C/glabels-C.omf:
3507 * help/C/glabels.xml:
3508 Brought documentation up-to-date for 2.0.0 release.
3510 2004-08-09 Jim Evins <evins@snaught.com>
3512 These are hopefully the final preparations for 2.0.0.
3514 * data/mime/Makefile.am:
3515 Include glabels.xml in EXTRA_DIST.
3517 - Updated comment style.
3518 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3519 - Added package and version info to configuration printout
3520 - Update version to 2.0.0
3521 * libglabels/Makefile.am:
3522 Use the new LIBGLABELS_VERSION_INFO macro.
3524 2004-08-09 Jim Evins <evins@snaught.com>
3528 Cleanup of required library macros.
3530 2004-08-08 Jim Evins <evins@snaught.com>
3534 - More specific of what to install in /usr/bin and /usr/lib
3535 - Remove built mime registration files from staging directory
3537 2004-08-08 Jim Evins <evins@snaught.com>
3539 * data/mime/Makefile.am:
3540 Fixed typo: key_files should have been keys_files.
3542 2004-08-08 Jim Evins <evins@snaught.com>
3544 Reorganization of runtime data files. Also added registration of mimetype with
3545 new freedesktop.org mime database if available.
3548 Moved files to appropriate subdirectories, creating local Makefile.am
3549 in each subdirectory.
3550 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3551 These are now installed at $datadir/glabels/templates.
3552 - Moved glabels.1 to man subdirectory.
3553 - Moved glabels-2.0.dtd to dtd subdirectory.
3554 - Moved glabels.desktop.in to desktop subdirectory.
3555 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3557 Moved "./pixmaps" to "./data/pixmaps"
3559 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3561 Moved libglade files from src to data/glade. Created Makefile.am.
3563 Removed pixmaps from SUBDIRS.
3565 - Removed pixmaps from makefiles.
3566 - Added makefiles for new subdirs of data.
3567 - Added tests for freedesktop.org mime database.
3569 - Added tests for freedesktop.org mime database for post install and
3570 post un-install actions.
3571 * libglabels/Makefile.am:
3572 Moved system template files to $(datadir)/glabels/templates.
3573 * libglabels/libglabels-private.h:
3574 Moved system template files to $(datadir)/glabels/templates.
3576 - Accounted for movement of ui and libglade files.
3577 - Added missing .in files.
3578 - Reorganized by directory.
3580 Accounted for movement of ui and libglade files.
3581 * data/mime/glabels.xml.in:
3582 New file for registering with freedesktop.org mime database.
3584 2004-08-07 Jim Evins <evins@snaught.com>
3586 * src/recent-files/*:
3587 Re-synced to latest libegg/recent-files.
3589 2004-08-07 Jim Evins <evins@snaught.com>
3594 Renamed "./doc" directory to "./help" which contains user documentation,
3595 to be more consistent with other GNOME applications.
3598 2004-07-26 Jim Evins <evins@snaught.com>
3600 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3601 Corrected button order of merge properties dialog.
3603 2004-07-18 Jim Evins <evins@snaught.com>
3605 * data/glabels-2.0.dtd:
3606 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3607 (gl_barcode_get_prefered_n):
3609 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3610 (gl_label_barcode_get_props), (get_size):
3611 * src/label-barcode.h:
3612 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3613 (style_changed_cb), (gl_object_editor_set_bc_style),
3614 (gl_object_editor_get_bc_style):
3615 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3616 (gl_object_editor_set_data), (gl_object_editor_get_data):
3617 * src/object-editor-private.h:
3618 * src/object-editor.c: (gl_object_editor_set_key_names):
3619 * src/object-editor.glade:
3620 * src/object-editor.h:
3621 * src/print.c: (draw_barcode_object):
3622 * src/view-barcode.c: (update_object_from_editor_cb),
3623 (update_editor_from_object_cb),
3624 (gl_view_barcode_create_event_handler), (draw_barcode):
3625 * src/xml-label-04.c: (xml04_parse_barcode_props):
3626 * src/xml-label-191.c: (xml191_parse_barcode_props):
3627 * src/xml-label.c: (xml_parse_object_barcode),
3628 (xml_create_object_barcode):
3629 Added "format" attribute to barcode objects. This attribute is used
3630 to properly format freeform barcodes barcodes prior to merge data is
3631 applied, so that barcodes can be accurately layed out. This addresses
3632 remaining issues of feature request #824787. Also added an example of
3633 the format in the object editor.
3635 2004-07-12 Jim Evins <evins@snaught.com>
3637 Various code cleanups.
3639 * src/label-barcode.c:
3640 Removed unneeded include of gnome-glyphlist.h.
3642 * src/label-text.c: (get_size):
3643 Fixed memory leak: unref glyphlists when done with them.
3645 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3646 * src/object-editor-data-page.c:
3647 (gl_object_editor_prepare_data_page):
3648 * src/object-editor-image-page.c:
3649 (gl_object_editor_prepare_image_page):
3650 * src/object-editor-line-page.c:
3651 (gl_object_editor_prepare_line_page):
3652 * src/object-editor-lsize-page.c:
3653 (gl_object_editor_prepare_lsize_page):
3654 * src/object-editor-position-page.c:
3655 (gl_object_editor_prepare_position_page):
3656 * src/object-editor-size-page.c:
3657 (gl_object_editor_prepare_size_page):
3658 * src/object-editor-text-page.c:
3659 (gl_object_editor_prepare_text_page):
3660 Removed unneeded size groups, originally intended to keep widgets aligned.
3661 Now use tables to lay these out in object-editor.glade.
3663 * src/print.c: (draw_text_object):
3664 Fixed memory leak: unref glyphlists when done with them.
3666 * src/view-barcode.c: (draw_barcode):
3667 Fixed memory leak: unref glyphlists when done with them.
3669 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3670 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3672 - Fixed memory leak: unref glyphlists when done with them.
3674 2004-07-11 Jim Evins <evins@snaught.com>
3676 * data/glabels-2.0.dtd:
3677 * src/label-text.c: (gl_label_text_instance_init), (copy),
3678 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3680 * src/object-editor-private.h:
3681 * src/object-editor-text-page.c:
3682 (gl_object_editor_prepare_text_page),
3683 (gl_object_editor_set_text_auto_shrink),
3684 (gl_object_editor_get_text_auto_shrink):
3685 * src/object-editor.c: (gl_object_editor_set_key_names):
3686 * src/object-editor.glade:
3687 * src/object-editor.h:
3688 * src/print.c: (draw_text_object):
3689 * src/view-text.c: (update_object_from_editor_cb),
3690 (update_editor_from_object_cb):
3691 * src/xml-label.c: (xml_parse_object_text),
3692 (xml_create_object_text):
3693 Added option to allow document merge to auto shrink text size to fit
3694 within the text box. The code in print.c that actually shrinks the
3695 text is loosely based on a patch submitted by Mark Harrison
3696 <mark.harrison@velocitynet.com.au>. This addresses feature request
3699 2004-07-11 Jim Evins <evins@snaught.com>
3701 * data/glabels-2.0.dtd:
3702 * libglabels/template.c: (gl_template_rect_label_type_new),
3703 (gl_template_round_label_type_new),
3704 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3705 (template_full_page):
3706 * libglabels/template.h:
3707 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3708 (xml_create_label_node):
3709 * pixmaps/ex-rect-size.png:
3710 * src/print.c: (clip_to_outline), (clip_punchouts):
3711 * src/template-designer.c: (construct_rect_size_page),
3712 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3714 * src/template-designer.glade:
3715 * src/xml-label-191.c: (xml191_parse_label):
3716 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3717 properties for rectangular labels. Templates remain backwards compatible,
3718 but this breaks the libglabels API (I don't know of anyone outside of
3719 glabels using libglabels at this time -- what can I say, the program is
3720 is still "unstable"). This addresses the suggestion in Feature Request
3723 2004-07-05 Jim Evins <evins@snaught.com>
3724 * src/print.c: (print_crop_marks), (draw_outline):
3725 Changed crop marks and label outlines to black, instead of 25% gray.
3726 This addresses debian Bug #257460.
3728 2004-07-05 Jim Evins <evins@snaught.com>
3730 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3731 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3732 Preserve "is_default" of fill and line color_combos when creating from
3735 2004-07-02 Jim Evins <evins@snaught.com>
3738 Created man page. Based on page submitted by Matthew J. Lockner, however
3739 it has been severely edited.
3741 * data/avery-other-templates.xml
3742 * data/misc-other-templates.xml:
3743 Started new files for predefined templates with non-standard sheet sizes.
3744 These have been initially populated with the Avery 06141 and
3745 OfficeMax #86112, both provided by Matthew J. Lockner.
3748 Install above manpage and template files.
3751 Make sure we install man pages.
3753 * src/glabels-batch.c:
3754 Changed short form of help option to '-?' to be consistent with glabels.
3757 Added acknowledgement for above labels.
3759 2004-07-02 Jim Evins <evins@snaught.com>
3761 * src/glabels.c: (main), (save_session_cb):
3762 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3764 - save_session_cb() now returns gboolean.
3765 - Minor formatting changes.
3769 - Now include file.h to provide missing prototype.
3770 - gl_window_get_type() now returns GType, not guint. I believe this may
3771 ultimately be cause of the segfault reported in Bug #982287, since
3772 GType is actually a gulong, which may not be compatible on other
3773 architectures (64bit) -- I cannot personally test this at this time.
3774 I was sloppy in several other xxx_get_type() functions which also
3775 returned guint -- see next group of files:
3777 * src/window.c: (gl_window_get_type):
3778 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3779 * src/canvas-hacktext.h:
3780 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3781 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3782 (gl_hig_hbox_get_type):
3784 * src/label-barcode.c: (gl_label_barcode_get_type):
3785 * src/label-barcode.h:
3786 * src/label-box.c: (gl_label_box_get_type):
3788 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3789 * src/label-ellipse.h:
3790 * src/label-image.c: (gl_label_image_get_type):
3791 * src/label-image.h:
3792 * src/label-line.c: (gl_label_line_get_type):
3794 * src/label-object.c: (gl_label_object_get_type):
3795 * src/label-object.h:
3796 * src/label-text.c: (gl_label_text_get_type):
3798 * src/label.c: (gl_label_get_type):
3800 * src/merge-properties-dialog.c:
3801 (gl_merge_properties_dialog_get_type):
3802 * src/merge-properties-dialog.h:
3803 * src/merge-text.c: (gl_merge_text_get_type):
3805 * src/merge.c: (gl_merge_get_type):
3807 * src/object-editor.c: (gl_object_editor_get_type):
3808 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3809 * src/prefs-dialog.h:
3810 * src/prefs-model.c: (gl_prefs_model_get_type):
3811 * src/prefs-model.h:
3812 * src/print-dialog.c: (gl_print_dialog_get_type):
3813 * src/print-dialog.h:
3814 * src/template-designer.c: (gl_template_designer_get_type):
3815 * src/template-designer.h:
3816 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3817 * src/ui-property-bar.h:
3818 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3820 * src/view-barcode.c: (gl_view_barcode_get_type):
3821 * src/view-barcode.h:
3822 * src/view-box.c: (gl_view_box_get_type):
3824 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3825 * src/view-ellipse.h:
3826 * src/view-highlight.c: (gl_view_highlight_get_type):
3827 * src/view-highlight.h:
3828 * src/view-image.c: (gl_view_image_get_type):
3830 * src/view-line.c: (gl_view_line_get_type):
3832 * src/view-object.c: (gl_view_object_get_type):
3833 * src/view-object.h:
3834 * src/view-text.c: (gl_view_text_get_type):
3836 * src/view.c: (gl_view_get_type):
3838 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3839 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3840 * src/wdgt-image-select.h:
3841 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3842 * src/wdgt-media-select.h:
3843 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3844 * src/wdgt-mini-preview.h:
3845 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3846 * src/wdgt-print-copies.h:
3847 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3848 * src/wdgt-print-merge.h:
3849 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3850 * src/wdgt-rotate-label.h:
3851 - Made sure all xxx_get_type functions returned GType, not guint. This
3852 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3853 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3854 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3855 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3856 window.[ch] details above for more info.
3857 - Reconciled various coding style differences in all xxx_get_type()
3859 * All prototypes include G_GNUC_CONST.
3860 * All prototypes specify the return value as GType, not GtkType
3862 * Info structures are all declared as "static const."
3863 * Generalized the names of type and info variables.
3864 * Miscelaneous formatting.
3866 2004-06-08 Jim Evins <evins@snaught.com>
3872 Don't touch compression of original file -- still defaults to 9 for
3873 new files. Original patch provided by Javier Donaire Segarra
3874 (#912252 in patch tracker).
3876 2004-05-05 Jim Evins <evins@snaught.com>
3878 * data/glabels-2.0.dtd:
3879 Broke DTD previously when adding new barcode types that contain a
3880 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3881 to avoid the problem.
3882 * data/avery-iso-templates.xml:
3883 * data/zweckform-iso-templates.xml:
3885 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3886 provided by Frank Altpeter.
3887 * libglabels/xml-template.c: (xml_create_label_node):
3888 Reordered markup and layout sub-nodes so that resulting templates will
3889 validate against DTD.
3891 2004-03-13 Jim Evins <evins@snaught.com>
3893 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3894 Changed spin callback signals from "value-changed" back to "changed."
3895 This was accidentally introduced in a previous revision, and can cause
3896 size changes just by selecting the size tab.
3898 2004-03-06 Jim Evins <evins@snaught.com>
3900 * src/view.c: (draw_grid_layer):
3901 For round labels (round and cd) adjust grid so that it lines up with
3902 center of label. Also, no longer draw box around label in the grid layer,
3903 it is hidden by he fg layer anyway. Feature suggested by
3904 nemolivier@free.fr. Although the grid is aligned with the center of the
3905 label, the coordinate system is still relative to the upper left corner
3906 of the rectangle containing the label.
3908 2004-02-25 Jim Evins <evins@snaught.com>
3911 Changed version to 2.0pre1cvs
3913 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3914 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3915 instead of doc->name fields when errors encountered.
3917 2004-02-21 Jim Evins <evins@snaught.com>
3919 * data/avery-iso-templates.xml:
3920 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3923 Added libglabels library and include file to installed files.
3926 Final prep for 1.93.3.
3928 2004-02-20 Jim Evins <evins@snaught.com>
3930 * src/glabels-batch.c: (main):
3931 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3932 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3934 2004-02-16 Jim Evins <evins@snaught.com>
3937 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3940 Added HAVE_FILE_CHOOSER to INCLUDES.
3942 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3943 (gl_file_save_as), (save_as_response):
3944 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3946 2004-02-16 Jim Evins <evins@snaught.com>
3948 * src/xml-label-04.c: (xml04_parse_image_props):
3949 * src/xml-label-191.c: (xml191_parse_image_props):
3950 * src/xml-label.c: (xml_parse_object_image):
3951 Delay setting image size until after image has been applied to new
3954 2004-02-15 Jim Evins <evins@snaught.com>
3956 * src/label-barcode.c: (gl_label_barcode_set_data),
3957 (gl_label_barcode_set_props):
3958 Don't emit "changed" signal, if no change actually made for these
3959 methods. Reduces number of unnecessary redraws of barcodes.
3961 * src/label-object.h:
3962 * src/label-object.c: (gl_label_object_set_position),
3963 (gl_label_object_set_position_relative), (set_size),
3964 (gl_label_object_set_size),
3965 (gl_label_object_set_size_honor_aspect):
3966 Don't emit "changed" signal, if no change actually made for these
3969 2004-02-15 Jim Evins <evins@snaught.com>
3971 * data/glabels-2.0.dtd:
3972 Added specific subtypes for various barcode types.
3975 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3976 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3977 (gl_barcode_can_text), (gl_barcode_text_optional),
3978 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3979 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3980 Changed API to use a string id, rather than a fixed enumeration. Id and
3981 name are separate strings. Added entries to backend table for specific
3982 subtypes for various barcode types.
3985 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3987 Modified to conform to above API. Now more stringent with data length
3988 for various subtypes.
3990 * src/bc-gnubarcode.h:
3991 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3992 (is_length_valid), (is_length1_valid), (is_length2_valid):
3993 Modified to conform to above API. Now more stringent with data length
3994 for various subtypes.
3996 * src/label-barcode.h:
3997 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3998 (gl_label_barcode_get_props), (get_size):
3999 Modified to use above API for storing barcode type.
4001 * src/object-editor.h:
4002 * src/object-editor-bc-page.c: (style_changed_cb),
4003 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4004 Modified to use above API for storing barcode type.
4006 * src/object-editor-size-page.c:
4007 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4008 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4009 Added debug markers.
4011 * src/object-editor.glade:
4012 Made barcode style combo's text entry non-editable.
4014 * src/print.c: (draw_barcode_object):
4015 Modified to use above API for barcode type.
4017 * src/view-barcode.c: (update_object_from_editor_cb),
4018 (update_editor_from_object_cb),
4019 (gl_view_barcode_create_event_handler), (draw_barcode):
4020 Modified to use above API for barcode type.
4022 * src/xml-label-04.c: (xml04_parse_barcode_props):
4023 * src/xml-label-191.c: (xml191_parse_barcode_props):
4024 * src/xml-label.c: (xml_parse_object_barcode),
4025 (xml_create_object_barcode):
4026 Modified to use above API for barcode type.
4028 2004-02-07 Jim Evins <evins@snaught.com>
4030 * src/stock-pixmaps/Makefile.am:
4031 * src/stock-pixmaps/stock_hchain_24.png:
4032 * src/stock-pixmaps/stock_hchain_broken_24.png:
4033 * src/stock-pixmaps/stock_vchain_24.png:
4034 * src/stock-pixmaps/stock_vchain_broken_24.png:
4035 Added chain pixmaps borrowed from the gimp's default theme.
4038 * src/stock.c: (gl_stock_init), (add_button_icon):
4039 Added above pixmaps to stock icon sets. Created add_button_icon() to
4040 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4042 * src/wdgt-chain-button.h
4043 * src/wdgt-chain-button.c
4046 Added this Modified version of gimpchainbutton widget, borrowed from
4050 Added acknowledgements of the above borrowing from the gimp.
4052 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4054 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4055 * src/object-editor.glade:
4056 Replaced the keep aspect ratio check box with the above chain-button
4059 * src/text-node.c: (gl_text_node_equal):
4061 Added function gl_text_node_equal() to compare text_nodes.
4063 * src/label-image.c: (gl_label_image_set_filename):
4064 Replaced incomplete text_node comparison code with invocation of
4065 gl_text_node_equal. This fixed the problem of not being able to
4066 resize an image using the object_editor if the aspect ratio is not
4069 2004-02-04 Jim Evins <evins@snaught.com>
4071 * src/object-editor-image-page.c:
4072 (gl_object_editor_prepare_image_page):
4073 Track "changed" signal of pixmap entry's GtkEntry rather than its
4074 "activate" signal -- this catches all changes to the entry rather than
4075 just changes resulting from a browse, so one can easily pull previous
4076 entries from the history. (This change is marked below on 2004-02-03,
4077 but somehow never got checked in.)
4079 * src/view-highlight.c: (sl_resize_event_handler),
4080 (sr_resize_event_handler), (st_resize_event_handler),
4081 (sb_resize_event_handler):
4082 Side resize handles will now confirm the actual resize that the object
4083 accepted before adjusting position parameters. Previously some interesting
4084 things happened when resizing a barcode to its minimum size.
4086 2004-02-03 Jim Evins <evins@snaught.com>
4088 * src/object-editor-image-page.c:
4089 (gl_object_editor_prepare_image_page):
4090 Track "changed" signal of pixmap entry's GtkEntry rather than its
4091 "activate" signal -- this catches all changes to the entry rather than
4092 just changes resulting from a browse, so one can easily pull previous
4093 entries from the history.
4095 * src/view-highlight.c: (tl_resize_event_handler),
4096 (tr_resize_event_handler), (bl_resize_event_handler),
4097 (br_resize_event_handler):
4098 Allow control key to be dropped while dragging a corner resize handle
4099 without losing the aspect ratio lock.
4101 2004-02-02 Jim Evins <evins@snaught.com>
4103 * src/label-image.c: (gl_label_image_set_filename):
4104 When setting a new filename adjust size such that the aspect ratio of
4105 the image is preserved using the current size as a bounding box.
4107 * src/view-image.c: (update_object_from_editor_cb):
4108 When updating object from editor, feed back possible size changes to
4109 editor as a result of a possible change in image.
4111 * src/object-editor-size-page.c: (size_reset_cb):
4112 Fixed typo when blocking spin handlers. If the base size is larger than
4113 the max size, treat max size as a bounding box while keeping aspect
4117 2004-02-02 Jim Evins <evins@snaught.com>
4119 * src/label-object.h:
4120 * src/label-object.c: (gl_label_object_set_size),
4121 (gl_label_object_set_size_honor_aspect):
4122 Added gl_label_object_set_size_honor_aspect() which will maintain the
4123 current aspect ratio by modifying the supplied w or h apropriately.
4125 * src/view-highlight.c: (tl_resize_event_handler),
4126 (tr_resize_event_handler), (bl_resize_event_handler),
4127 (br_resize_event_handler):
4128 Corner handles will now maintain the current aspect ratio if the
4129 control key is pressed while resizing. This addresses feature
4133 2004-01-31 Jim Evins <evins@snaught.com>
4136 * data/avery-us-templates.xml:
4137 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4139 * libglabels/template.c: (read_template_files_from_dir):
4140 Corrected problem with testing for extensions.
4142 * src/object-editor.glade:
4143 Corrected grouping of radio buttons in barcode data page.
4145 * src/print.c: (draw_barcode_object):
4146 * src/view-barcode.c: (draw_barcode):
4147 Corrected problem with calculation of y_offset for locating characters.
4149 2004-01-24 Jim Evins <evins@snaught.com>
4152 * data/avery-us-templates.xml:
4153 Added Avery 5824, submitted by Fred Bacon.
4155 2004-01-20 Jim Evins <evins@snaught.com>
4157 Catching up on a couple of backlogged user template submissions.
4159 * data/avery-iso-templates.xml:
4160 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4161 Suggested by Linas Jakucionis.
4163 * data/zweckform-iso-templates.xml:
4164 Added Zweckform 4760, submitted by Thomas Vill.
4167 Updated to reflect above submissions.
4169 2004-01-06 Jim Evins <evins@snaught.com>
4171 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4172 xml.[ch] into a separate library called libglabels, to facilitate third
4173 party use of glabels template files. This was suggested by Wayne Schuller.
4174 Once split-out, some modifications to the structures and functions to
4175 make a cleaner more useful API, hopefully. Rather extensive changes have
4176 propogated to other modules.
4184 * src/xml-template.h:
4185 * src/xml-template.c:
4188 These files have been moved to libglabels/. API cleanup performed.
4190 * libglabels/libglabels.h:
4191 * libglabels/libglabels-private.h:
4192 * libglabels/Makefile.am:
4193 These files have been added to finish out libglabels.
4200 Modified to reflect new sets of files in src/ and libglabels/.
4202 * COPYING.LIBGLABELS:
4204 Added copy of the LGPL for libglabels, and a copy the GFDL for
4207 * src/glabels-batch.c:
4209 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4210 (gl_label_get_size):
4212 * src/prefs-model.c: (gl_prefs_model_load_settings):
4213 * src/print-dialog.c:
4214 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4215 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4216 (print_crop_marks), (print_label), (draw_outline),
4217 (clip_to_outline), (clip_punchouts):
4218 * src/template-designer.c: (construct_pg_size_page),
4219 (pg_size_page_changed_cb), (layout_page_changed_cb),
4220 (print_test_cb), (build_template):
4221 * src/util.c: (gl_util_fraction):
4223 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4224 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4225 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4226 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4227 (draw_markup_margin_round), (draw_markup_margin_cd),
4228 (draw_markup_margin_cd_bc), (draw_markup_line),
4229 (draw_markup_circle), (gl_view_copy):
4230 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4231 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4232 (get_label_size_desc):
4233 * src/wdgt-mini-preview.c:
4234 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4236 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4237 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4238 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4239 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4240 * src/wdgt-rotate-label.h:
4241 * src/xml-label-04.c: (xml04_parse_media_description):
4242 * src/xml-label-191.c: (gl_xml_label_191_parse),
4243 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4244 (xml191_parse_markup), (xml191_parse_alias):
4245 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4247 Various changes to accomodate new libglabels API.
4249 2004-01-03 Jim Evins <evins@snaught.com>
4254 2004-01-03 Jim Evins <evins@snaught.com>
4257 Added acknowledgement of contributions by Wayne Schuller.
4259 * src/commands.c: (gl_cmd_file_print):
4260 Create extra reference to print dialog, so that it can be properly re-used.
4262 * src/mygal/mygal-combo-box.h:
4263 * src/mygal/mygal-combo-box.c:
4264 (mygal_combo_box_popup_hide_unconditional),
4265 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4266 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4267 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4268 (mygal_combo_box_set_tearable):
4269 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4270 complete the rename of this widget to prevent namespace collisions
4273 * src/prefs-dialog.glade:
4274 Fixed alignment of Fill/Color widgets.
4276 2004-01-03 Jim Evins <evins@snaught.com>
4278 * data/avery-iso-templates.xml:
4279 Added user submitted templates.
4280 Avery 8435A & 8435B, submitted by Ludger Solbach.
4282 * doc/C/glabels.xml:
4283 Added minimal documentation, noting the new template designer.
4285 2004-01-03 Jim Evins <evins@snaught.com>
4287 * pixmaps/ex-rect-size.png:
4288 * pixmaps/ex-round-size.png:
4289 * pixmaps/ex-cd-size.png:
4290 * pixmaps/Makefile.am:
4291 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4292 files to be used as illustrations/examples in the template-designer.
4294 * src/template-designer.c: (construct_rect_size_page),
4295 (construct_round_size_page), (construct_cd_size_page),
4296 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4297 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4298 (layout_page_prepare_cb), (build_template):
4299 * src/template-designer.glade:
4300 Added illustrations for rectangle, round, and cd label size pages.
4301 Added margin spinboxes to these pages, and now add a margin markup
4302 to the constructed template. Added realistic default values for
4303 some of the size spinboxes. Cleaned up the code for setting spinbox
4304 ranges on the layouts page.
4306 2004-01-02 Jim Evins <evins@snaught.com>
4308 * src/object-editor-size-page.c: (h_spin_cb):
4309 Fixed cut-n-paste error in h_spin_cb that loaded h from
4310 the wrong spinbutton.
4312 * src/object-editor.h:
4313 * src/object-editor.c: (gl_object_editor_class_init),
4314 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4315 * src/object-editor-private.h:
4316 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4318 Added "size_changed" signal.
4320 * src/view-text.c: (construct_properties_editor),
4321 (update_object_from_editor_cb),
4322 (update_object_from_editor_size_cb):
4323 Track size changes from object editor separately from other
4324 properties. This is so the default size (0,0) of a text
4325 object is not modified unintentionally.
4327 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4329 Added feature: line spacing - allows you to comfortably space a text box to
4330 fit a label perfectly.
4332 * data/glabels-2.0.dtd:
4333 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4334 (gl_label_object_get_text_alignment),
4335 (gl_label_object_get_text_line_spacing):
4336 * src/label-object.h:
4337 * src/label-text.c: (gl_label_text_class_init),
4338 (gl_label_text_instance_init), (copy), (get_size),
4339 (set_text_line_spacing), (get_text_alignment),
4340 (get_text_line_spacing):
4341 * src/object-editor-private.h:
4342 * src/object-editor-text-page.c:
4343 (gl_object_editor_prepare_text_page),
4344 (gl_object_editor_set_text_line_spacing),
4345 (gl_object_editor_get_text_line_spacing):
4346 * src/object-editor.glade:
4347 * src/object-editor.h:
4348 * src/prefs-dialog.c: (construct_object_page),
4349 (update_object_page_from_prefs), (update_prefs_from_object_page):
4350 * src/prefs-dialog.glade:
4351 * src/prefs-model.c: (gl_prefs_model_save_settings),
4352 (gl_prefs_model_load_settings), (get_float):
4353 * src/prefs-model.h:
4354 * src/print.c: (draw_text_object):
4356 * src/view-text.c: (update_object_from_editor_cb),
4357 (update_editor_from_object_cb),
4358 (gl_view_text_create_event_handler), (draw_hacktext):
4359 * src/view.c: (gl_view_construct),
4360 (gl_view_set_selection_text_line_spacing),
4361 (gl_view_set_default_text_line_spacing),
4362 (gl_view_get_default_text_line_spacing):
4364 * src/xml-label.c: (xml_parse_toplevel_span),
4365 (xml_create_toplevel_span):
4367 2003-12-30 Jim Evins <evins@snaught.com>
4369 * src/template-designer.c:
4370 * src/template-designer.h:
4371 * src/template-designer.glade:
4372 New template designer assistant.
4376 Added entries for src/template-designer.* files.
4378 * pixmaps/ex-1layout.png
4379 * pixmaps/ex-2layouts.png
4380 * pixmaps/Makefile.am:
4381 Added the new image files ex-*.png used as illustrations in the
4382 template designer assistant.
4384 * src/print-dialog.h:
4385 * src/print-dialog.c: (gl_print_dialog_finalize),
4386 (gl_print_dialog_new), (gl_print_dialog_construct),
4387 (gl_print_dialog_force_outline_flag):
4388 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4389 to support printing from the template designer assistant which does not
4390 have a full-fledged view. Nothing else from the view object was being
4391 used by the dialog anyway.
4393 Added the gl_print_dialog_force_outline_flag() method, for better
4394 integration with the template designer assistant.
4398 * src/commands.c: (gl_cmd_file_template_designer),
4399 (gl_cmd_file_print):
4400 Modified print command to provide label instead of view to dialog.
4401 Added the gl_cmd_file_template_designer() command to invoke the
4402 template designer assistant.
4405 * src/glabels-ui.xml:
4406 Added support for template designer assistant.
4408 * src/wdgt-mini-preview.h:
4409 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4410 (gl_wdgt_mini_preview_set_bg_color):
4411 Preview is now centered in canvas. Added
4412 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4413 assistant to match the background color with its own.
4415 * src/print.c: (clip_to_outline):
4416 Fixed really stupid bug when adding waste to clip region of rectangular
4417 labels/cards. Each side of the clip region needs to be extended by
4418 twice the waste margin, as well as negatively offset by the waste
4421 2003-12-28 Jim Evins <evins@snaught.com>
4423 * src/prefs-dialog.c: (update_object_page_from_prefs):
4424 Block intermediary function align_toggle_cb() instead of
4425 update_prefs_from_object_page() for the three alignment
4428 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4430 * src/file.c: (gl_file_new), (gl_file_properties):
4431 Swap button order and set default for higificatory pleasure.
4433 2003-12-27 Jim Evins <evins@snaught.com>
4435 * barcode-0.98/Makefile.am:
4436 One last time: removed doc/Makefile and po/Makefile.in.in from
4439 2003-12-27 Jim Evins <evins@snaught.com>
4441 * barcode-0.98/Makefile.am:
4442 Removed config.stat entry from EXTRA_DIST files.
4444 * barcode-0.98/Makefile.in:
4447 2003-12-27 Jim Evins <evins@snaught.com>
4450 Updated to work with latest gnome-common package from CVS.
4451 Removed recursive configuration of barcode-0.98.
4458 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4460 * barcode-0.98/Makefile.in:
4461 * barcode-0.98/configure.in:
4462 * barcode-0.98/Makefile.am:
4463 * barcode-0.98/README.glabels:
4464 Modified to ignore the barcode package's build system, and build
4465 as a part of glabels.
4466 Renamed Makefile.in to Makefile.in.dist.
4467 Renamed configure.in to configure.in.dist.
4468 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4471 * src/mygal/Makefile.am:
4472 * src/recent-files/Makefile.am:
4473 In order to build against the GNOME 2.5 platform,
4474 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4476 * src/mygal/Makefile.am:
4477 * src/mygal/mygal-combo-box.c:
4478 * src/mygal/mygal-combo-box.h:
4479 * src/mygal/widget-color-combo.c:
4480 * src/mygal/widget-color-combo.h:
4482 In order to build against the GNOME 2.5 platform,
4483 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4484 collisions with the real gtk_combo_box widget, now a part of gtk.
4486 2003-12-26 Jim Evins <evins@snaught.com>
4492 Moved local versions of get_home_data_dir() in paper.c and
4493 template.c to util package. Cleaned up formatting in
4497 In gl_template_register() save a copy of the template in
4498 ~/.glabels if the template is not known. Still need to
4499 handle duplicate filename case and duplicate name but
4500 different template case.
4504 Moved local definition of NAME_SPACE macro from xml-label.c
4507 * src/xml-template.c:
4508 * src/xml-template.h:
4509 Added function gl_xml_template_write_template_to_file(), used
4510 in gl_template_register().