1 2009-08-12 Jim Evins <evins@snaught.com>
3 * src/label-text.c: (buffer_changed_cb), (draw_object),
4 (draw_shadow), (draw_text_real):
6 Moved common code from draw_object() and draw_shadow() to
7 draw_text_real(). Also cleaned up formatting and updated
8 license notification to GPL3+.
10 2009-07-29 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
12 * po/ru.po: Updated and fixed Russian translation
14 2009-07-26 Jim Evins <evins@snaught.com>
17 * COPYING.README_FIRST:
21 Added 3rd party qrencode library.
23 * src/bc-iec18004.c: (gl_barcode_iec18004_new), (render_iec18004):
26 Added IEC18004 (QRCode) 2 dimensional barcode backend.
27 Patch provided by Daniel Mueller <daniel@danm.de>.
29 2009-07-25 Jim Evins <evins@snaught.com>
31 * src/xml-label.c: (gl_xml_label_open):
32 Relax limits when parsing file. Allows large embedded image
35 2009-05-19 Jim Evins <evins@snaught.com>
39 Moved translation list from configure.in to po/LINGUAS.
41 2009-05-19 Jim Evins <evins@snaught.com>
45 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
47 Added above translation to acknowledgements.
49 2009-05-18 Jim Evins <evins@snaught.com>
51 * src/prefs-model.c: (gl_prefs_model_load_settings):
52 Make an educated guess at locale settings when run for the
55 2009-05-17 Jim Evins <evins@snaught.com>
58 * help/glabels.omf.in:
59 Adding missing files from last checkin.
61 2009-05-17 Jim Evins <evins@snaught.com>
65 * help/C/glabels-C.omf:
69 Updated german translation, gnome-doc-utils support and
70 german translation of glabels manual (Mario Blättermann).
72 2009-05-01 Jim Evins <evins@snaught.com>
77 Added catalan translation (David Planella).
79 2009-04-29 Jim Evins <evins@snaught.com>
81 * data/templates/avery-iso-templates.xml:
82 * data/templates/misc-iso-templates.xml:
83 * data/templates/misc-us-templates.xml:
84 Caught up on user submitted templates.
86 Acknowledgements for above templates.
88 2009-04-29 Jim Evins <evins@snaught.com>
92 Updated german translation (Mario Blättermann).
94 2009-03-23 Jim Evins <evins@snaught.com>
96 * src/glabels-batch.c: (main):
97 * src/glabels.c: (main):
98 Tidy up help option output.
100 2009-02-28 Jim Evins <evins@snaught.com>
105 Deleted base64 module.
106 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
107 Use base64 encode/decode from glib.
109 2009-02-22 Jim Evins <evins@snaught.com>
111 * src/merge-properties-dialog.h:
112 * src/new-label-dialog.h:
113 * src/object-editor.h:
114 * src/prefs-dialog.h:
116 * src/template-designer.h:
117 Corrected cut&paste errors.
119 2009-02-21 JimEvins <evins@snaught.com>
121 * src/prefs-model.c: (gl_prefs_model_save_settings),
122 (gl_prefs_model_load_settings):
125 * src/ui-property-bar.c:
126 * src/ui.c: (view_ui_item_toggled_cb),
127 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
128 Removed tooltip toggling capability, which wasn't working
131 2009-02-21 JimEvins <evins@snaught.com>
135 * data/builder/object-editor.glade:
136 * data/builder/prefs-dialog.glade:
137 * data/builder/property-bar.glade:
138 * data/builder/template-designer.glade:
140 * src/color-combo-color-menu-item.c:
141 * src/color-combo-color-menu-item.h:
142 * src/color-combo-menu.h:
143 * src/glabels-batch.c: (main):
144 * src/glabels.c: (main):
145 * src/merge-properties-dialog.h:
146 * src/new-label-dialog.h:
147 * src/object-editor-lsize-page.c:
148 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
149 * src/object-editor.h:
150 * src/prefs-dialog.h:
152 * src/template-designer.h:
153 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
154 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
155 * src/ui-property-bar.c:
156 * src/ui-property-bar.h:
157 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
158 (selection_changed_cb):
161 * src/wdgt-media-select.h:
162 * src/wdgt-merge-menu.h:
163 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
164 * src/wdgt-mini-preview.h:
165 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
166 * src/wdgt-print-copies.h:
167 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
168 * src/wdgt-print-merge.h:
169 * src/wdgt-rotate-label.h:
171 Removed final dependencies on libgnome and libgnomeui.
172 Removed all currently deprecated symbols as of GTK 2.14.
174 2009-01-07 Jim Evins <evins@snaught.com>
176 * src/critical-error-handler.c: (critical_error_handler):
177 * src/ui-commands.c: (gl_ui_cmd_help_contents):
178 * src/warning-handler.c: (warning_handler):
179 * src/view.c: (selection_received_cb):
180 Compile without warning with additional CFLAGS of
181 -O1 -Wall -Wformat=2.
183 2009-01-02 Jim Evins <evins@snaught.com>
185 * COPYING.README_FIRST:
188 2008-12-27 Jim Evins <evins@snaught.com>
190 * data/templates/avery-iso-templates.xml:
191 * data/templates/avery-other-templates.xml:
192 * data/templates/avery-us-templates.xml:
193 * data/templates/brother-other-templates.xml:
194 * data/templates/misc-iso-templates.xml:
195 * data/templates/misc-other-templates.xml:
196 * data/templates/zweckform-iso-templates.xml:
197 Make sure all descriptions are marked as translatable.
199 2008-12-27 Jim Evins <evins@snaught.com>
202 Updated german translation (Mario Blättermann)
204 Updated credits to reflect above translation.
205 * data/builder/object-editor.glade:
206 * data/builder/prefs-dialog.glade:
207 * data/builder/template-designer.glade:
208 Removed "translatable" attribute from whitespace strings,
209 which are used only to help layout.
211 2008-12-21 Jim Evins <evins@snaught.com>
213 * data/templates/avery-us-templates.xml:
214 * data/templates/misc-iso-templates.xml:
215 A couple of recent template submissions.
217 Acknowledgements for above templates.
219 2008-12-21 Jim Evins <evins@snaught.com>
221 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
222 Don't check for handles on aggregate selections.
224 2008-12-20 Jim Evins <evins@snaught.com>
227 Updated prerequisite library versions required.
229 2008-12-18 Jim Evins <evins@snaught.com>
231 * src/view.c: (selection_received_cb):
232 Fixed paste bug that caused a duplicate phantom view_object to be created for
233 each new label_object. This is because the view now (as of r673) the view
234 monitiors the label for new objects and creates view_objects automatically.
236 2008-12-14 Jim Evins <evins@snaught.com>
238 * src/ui.c: (gl_ui_new):
239 Bug #2395628. Fixed i18n for application shell.
241 Bug #2395628. Reconciled POTFILES.in with current files.
243 2008-12-14 Jim Evins <evins@snaught.com>
246 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
248 2008-11-15 Jim Evins <evins@snaught.com>
250 * libglabels/db.c: (lgl_db_register_template):
251 * libglabels/xml-template.c:
252 (lgl_xml_template_parse_template_node):
253 * src/glabels-batch.c:
254 * src/view-text.c: (gl_view_text_create_button_press_event):
255 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
257 2008-11-09 Jim Evins <evins@snaught.com>
259 * data/templates/misc-iso-templates.xml:
260 Another user submitted template.
262 2008-10-27 Jim Evins <evins@snaught.com>
264 * data/templates/avery-us-templates.xml:
265 * data/templates/misc-iso-templates.xml:
266 * data/templates/zweckform-iso-templates.xml:
267 Caught up on user submitted templates.
269 Acknowledgements for above templates.
271 2008-10-23 Jim Evins <evins@snaught.com>
273 * src/label-text.c: (set_font_family):
274 * src/object-editor-text-page.c:
275 (gl_object_editor_prepare_text_page),
276 (gl_object_editor_set_font_family):
277 * src/prefs-dialog.c: (construct_object_page),
278 (update_object_page_from_prefs):
279 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
280 (reset_to_default_properties):
281 * src/util.c: (gl_util_get_font_family_list):
283 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
284 everytime the list is requested.
285 * src/object-editor-text-page.c:
286 (gl_object_editor_set_font_family):
287 Don't change font-family if it hasn't actually changed.
289 2008-10-19 Jim Evins <evins@snaught.com>
291 * data/builder/object-editor.glade:
292 Some tweaking of builder/glade widgets.
294 2008-10-18 Jim Evins <evins@snaught.com>
296 Migrated all use of libglade to GtkBuilder.
298 * data/glade/Makefile.am:
299 * data/glade/merge-properties-dialog.glade:
300 * data/glade/new-label-dialog.glade:
301 * data/glade/object-editor.glade:
302 * data/glade/prefs-dialog.glade:
303 * data/glade/print-custom-widget.glade:
304 * data/glade/property-bar.glade:
305 * data/glade/template-designer.glade:
306 * data/glade/wdgt-media-select.glade:
307 Removed data/glade directory.
308 * data/builder/Makefile.am:
309 * data/builder/merge-properties-dialog.glade:
310 * data/builder/new-label-dialog.glade:
311 * data/builder/object-editor.glade:
312 * data/builder/prefs-dialog.glade:
313 * data/builder/print-custom-widget.glade:
314 * data/builder/property-bar.glade:
315 * data/builder/template-designer.glade:
316 * data/builder/wdgt-media-select.glade:
317 Added data/builder directory.
321 Change glade to builder.
322 * src/merge-properties-dialog.c:
323 (gl_merge_properties_dialog_finalize),
324 (gl_merge_properties_dialog_construct):
325 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
326 (gl_new_label_dialog_construct):
327 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
328 * src/object-editor-data-page.c:
329 (gl_object_editor_prepare_data_page):
330 * src/object-editor-edit-page.c:
331 (gl_object_editor_prepare_edit_page):
332 * src/object-editor-fill-page.c:
333 (gl_object_editor_prepare_fill_page):
334 * src/object-editor-image-page.c:
335 (gl_object_editor_prepare_image_page):
336 * src/object-editor-line-page.c:
337 (gl_object_editor_prepare_line_page):
338 * src/object-editor-lsize-page.c:
339 (gl_object_editor_prepare_lsize_page):
340 * src/object-editor-position-page.c:
341 (gl_object_editor_prepare_position_page):
342 * src/object-editor-private.h:
343 * src/object-editor-shadow-page.c:
344 (gl_object_editor_prepare_shadow_page):
345 * src/object-editor-size-page.c:
346 (gl_object_editor_prepare_size_page):
347 * src/object-editor-text-page.c:
348 (gl_object_editor_prepare_text_page):
349 * src/object-editor.c: (gl_object_editor_init):
350 * src/prefs-dialog.c: (gl_prefs_dialog_init),
351 (gl_prefs_dialog_construct), (construct_locale_page),
352 (construct_object_page):
353 * src/print-op.c: (gl_print_op_finalize),
354 (create_custom_widget_cb):
355 * src/template-designer.c: (gl_template_designer_class_init),
356 (gl_template_designer_finalize), (gl_template_designer_construct),
357 (construct_start_page), (construct_name_page),
358 (construct_pg_size_page), (construct_shape_page),
359 (construct_rect_size_page), (construct_round_size_page),
360 (construct_cd_size_page), (construct_nlayouts_page),
361 (construct_layout_page), (construct_finish_page):
362 * src/template-designer.h:
363 * src/ui-property-bar.c: (gl_ui_property_bar_init),
364 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
365 (gl_ui_property_bar_construct), (reset_to_default_properties),
366 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
367 (update_text_properties), (update_fill_color), (update_line_color),
368 (update_line_width), (selection_changed_cb),
369 (font_family_changed_cb), (font_size_changed_cb),
370 (text_color_changed_cb), (fill_color_changed_cb),
371 (line_color_changed_cb), (line_width_changed_cb),
372 (font_bold_toggled_cb), (font_italic_toggled_cb),
373 (text_align_toggled_cb), (set_doc_items_sensitive),
374 (set_text_items_sensitive), (set_fill_items_sensitive),
375 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
376 * src/ui-property-bar.h:
377 * src/util.c: (gl_util_get_builder_widgets):
379 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
380 (gl_wdgt_media_select_construct):
381 Migration of glade to builder.
383 New macros for color combo initialization.
385 Added idea for internal merge database.
386 * docs/libglabels/libglabels-undocumented.txt:
387 * docs/libglabels/tmpl/paper.sgml:
391 2008-10-12 Jim Evins <evins@snaught.com>
393 * src/mygal/Makefile.am:
394 * src/mygal/color-group.c:
395 * src/mygal/color-group.h:
396 * src/mygal/color-palette.c:
397 * src/mygal/color-palette.h:
398 * src/mygal/e-colors.c:
399 * src/mygal/e-colors.h:
400 * src/mygal/e-marshal.list:
401 * src/mygal/e-util.h:
402 * src/mygal/mygal-combo-box.c:
403 * src/mygal/mygal-combo-box.h:
404 * src/mygal/widget-color-combo.c:
405 * src/mygal/widget-color-combo.h:
411 * src/color-combo-color-menu-item.c:
412 * src/color-combo-color-menu-item.h:
413 * src/color-combo-history.c:
414 * src/color-combo-history.h:
415 * src/color-combo-menu.c:
416 * src/color-combo-menu.h:
421 Created new glColorCombo widget.
422 * src/object-editor-bc-page.c:
423 * src/object-editor-edit-page.c:
424 * src/object-editor-fill-page.c:
425 * src/object-editor-line-page.c:
426 * src/object-editor-shadow-page.c:
427 * src/object-editor-text-page.c:
428 * src/object-editor.c:
429 * src/prefs-dialog.c:
430 * src/ui-property-bar.c:
431 Replaced use of mygal color combo with new glColorCombo widget.
433 2008-08-29 Jim Evins <evins@snaught.com>
435 * src/file.c: (gl_file_open), (gl_file_save_as):
436 Bug #2069668. Corrected button order in Open and "Save as"
439 2008-08-17 Jim Evins <evins@snaught.com>
441 * data/dtd/glabels-2.2.dtd:
442 * data/templates/paper-sizes.xml:
443 * libglabels/db.c: (lgl_db_init):
444 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
445 * libglabels/paper.h:
446 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
447 * src/print-op.c: (set_page_size):
448 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
449 size specification) to the libglabels paper database to allow the page size to be
450 communicated to GtkPrintOp un-ambiguously.
452 2008-07-25 Jim Evins <evins@snaught.com>
454 * src/object-editor-size-page.c: (size_reset_cb),
455 (gl_object_editor_set_max_size):
456 Bug #1993550. Set size limits based on longest side of label.
458 2008-07-19 Jim Evins <evins@snaught.com>
461 * src/mygal/Makefile.am:
462 Make sure libtool handles library dependencies for mygal
465 2008-05-21 Jim Evins <evins@snaught.com>
467 * src/glabels-batch.c: (main):
468 Bug #1968653. Initialize prefs subsystem.
470 2008-05-09 Jim Evins <evins@snaught.com>
472 * data/glade/object-editor.glade:
473 Bug #1959135. A couple of radio buttons somehow became
476 2008-04-07 Jim Evins <evins@snaught.com>
478 * src/wdgt-rotate-label.h:
479 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
480 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
481 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
482 (gl_wdgt_rotate_label_set_template_name):
483 Modified wdgt-rotate-label to better indicate the rotation choices.
484 * data/glade/Makefile.am:
485 * data/glade/wdgt-rotate-label.glade:
486 Deleted wdgt-rotate-label.glade.
488 2008-04-04 Jim Evins <evins@snaught.com>
490 * data/templates/brother-other-templates.xml:
491 Added categories to existing templates.
492 * data/templates/misc-other-templates.xml:
493 Moved dymo templates to their own file.
494 * data/templates/Makefile.am:
495 * data/templates/dymo-other-templates.xml:
496 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
498 Acknowledgement for above templates.
500 2008-03-24 Jim Evins <evins@snaught.com>
502 * src/xml-label.c: (xml_doc_to_label):
503 Bug #1872584. Don't refuse to parse label file if namespace is
504 unrecognized -- it may be from a newer version of glabels.
506 2008-03-15 Jim Evins <evins@snaught.com>
508 * data/templates/Makefile.am:
509 * data/templates/brother-other-templates.xml:
510 Added brother templates.
511 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
512 (gl_cairo_markup_margin_cd_path):
513 * src/view.c: (draw_markup_layer):
514 Fixed markup drawing errors when label is rotated.
516 2008-03-03 Jim Evins <evins@snaught.com>
520 Added korean translation provided by xein@naver.com.
522 2008-02-21 Jim Evins <evins@snaught.com>
525 Fixed typo that prevented "Save" from being deactivated when
526 document is not modified.
528 2008-02-18 Jim Evins <evins@snaught.com>
530 * src/prefs-model.c: (gl_prefs_model_save_settings),
531 (gl_prefs_model_load_settings):
532 Set default units for file output.
534 2008-02-18 Jim Evins <evins@snaught.com>
536 * help/C/glabels.xml:
537 Fixed example template.
539 2008-02-16 Jim Evins <evins@snaught.com>
542 * data/templates/avery-iso-templates.xml:
543 * data/templates/avery-us-templates.xml:
544 * data/templates/misc-iso-templates.xml:
545 * data/templates/misc-us-templates.xml:
546 Caught up on user submitted templates.
548 2008-02-04 Jim Evins <evins@snaught.com>
550 * src/view-image.c: (update_object_from_editor_cb):
551 Bug #1886438. Don't update the image size unless it is actually
552 triggered by a change in image source. The result of this bug
553 was that any attempt to edit the size spinboxes, immediately
556 2008-02-03 Jim Evins <evins@snaught.com>
558 * src/label-image.c: (gl_label_image_class_init), (set_size):
559 Enforce minimum size for images.
561 2008-02-03 Jim Evins <evins@snaught.com>
563 * src/object-editor-edit-page.c: (field_selected_cb):
564 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
565 * src/object-editor-private.h:
566 * src/object-editor-shadow-page.c:
567 (gl_object_editor_set_max_shadow_offset):
568 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
569 * src/object-editor.c: (gl_object_editor_finalize),
570 (gl_object_editor_new), (gl_object_notebook_construct_valist),
572 * src/object-editor.h:
573 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
574 * src/view-barcode.c: (construct_properties_editor):
575 * src/view-box.c: (construct_properties_editor):
576 * src/view-ellipse.c: (construct_properties_editor):
577 * src/view-image.c: (construct_properties_editor):
578 * src/view-line.c: (construct_properties_editor):
579 * src/view-object.c: (gl_view_object_finalize):
580 * src/view-text.c: (construct_properties_editor),
581 Move update_editor_from_label callback from individual view objects
582 to the object editor, so that signals can be disconnected when
583 object editor is finalized.
584 * src/view-text.c: (gl_view_text_create_button_press_event):
585 Fixed bug that caused multiple view objects to be created for a
586 single text object. This bug would manifest itself as a crash
587 when deleting multi-object selections which included text objects.
589 2008-02-02 Jim Evins <evins@snaught.com>
592 * src/wdgt-merge-menu.c:
593 * src/wdgt-merge-menu.h:
594 * src/debug.c: (gl_debug_init):
597 New merge menu widget.
598 * data/glade/object-editor.glade:
599 * src/object-editor-private.h:
600 * src/object-editor.c: (gl_object_editor_set_key_names):
601 * src/object-editor-edit-page.c:
602 (gl_object_editor_prepare_edit_page), (field_selected_cb),
604 Simplified UI for inserting fields into text objects by launching
605 a merge menu and directly inserting fields from the menu. No more
606 selecting field in combobox, then pressing insert button.
608 2008-01-31 Jim Evins <evins@snaught.com>
610 * src/label-barcode.c: (draw_object):
611 Fixed rendering problem when "Invalid data" is displayed when text
612 object is lower in stacking order.
614 2008-01-30 Jim Evins <evins@snaught.com>
616 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
617 Don't turn off cairo_hint_metrics. This causes serious issues with
620 2008-01-29 Jim Evins <evins@snaught.com>
622 * src/print-op.c: (gl_print_op_construct),
623 (gl_print_op_construct_batch), (set_page_size):
624 Explicitly set page size for "other" page sizes.
626 2008-01-25 Jim Evins <evins@snaught.com>
629 Fixed Code128C backend parameters.
630 * src/label-barcode.c: (get_size):
631 Bug #1766425. If barcode is not renderable with either
632 input data or default data, use a default size. Also
635 2008-01-16 Jim Evins <evins@snaught.com>
637 * src/print.c: (print_label):
638 Bug #1872568. Don't apply special transforms (rotate and
639 mirror) to clipping region or outline.
641 2008-01-01 Jim Evins <evins@snaught.com>
644 Sort font lists alphabetically.
646 2008-01-01 Jim Evins <evins@snaught.com>
648 * src/merge-evolution.c:
649 Do a case-insensitive sort.
651 2008-01-01 Jim Evins <evins@snaught.com>
653 * src/merge-evolution.c:
654 Sort evolution by "file_under" field. Original patch provided
655 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
658 Added acknowledgement for above patch.
660 2008-01-01 Jim Evins <evins@snaught.com>
665 Reconcile with 2.2 branch.
668 2007-12-21 Jim Evins <evins@snaught.com>
670 * COPYING.LIBGLABELS:
671 * COPYING.README_FIRST:
673 Updating license information to make more complete and understandable.
675 2007-12-16 Jim Evins <evins@snaught.com>
678 Updated version to 2.pre2.
679 * help/C/glabels.xml:
680 Updated documentation.
681 * src/ui-commands.c: (gl_ui_cmd_help_about):
682 Updated copyright string.
684 2007-12-15 Jim Evins <evins@snaught.com>
686 * data/glade/object-editor.glade:
687 Removed any GtkTable that contained a GtkComboBox because the size of
688 the combo box was not constrained properly. This sacrifices the nice
689 orderly labels for combo boxes that don't extend beyond the edge of the
692 2007-12-15 Jim Evins <evins@snaught.com>
694 * libglabels/db.c: (lgl_db_lookup_template_from_name):
695 * src/object-editor.c: (gl_object_editor_finalize):
696 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
697 Fixed several small memory leaks.
699 2007-12-14 Jim Evins <evins@snaught.com>
702 Optimize template search by name by using a GHashTable.
703 * src/mini-preview-pixbuf-cache.c:
704 * src/mini-preview-pixbuf-cache.h:
705 Store one pixbuf per template, but use a key for each alias.
706 * src/wdgt-media-select.c:
707 Optimize loading of tree data, thus optimizing the "new label" dialog.
709 2007-12-12 Jim Evins <evins@snaught.com>
711 * data/templates/avery-us-templates.xml:
712 More templates and aliases.
714 2007-12-08 Jim Evins <evins@snaught.com>
717 More prep for 2.1.5/2.2.0.
719 2007-12-08 Jim Evins <evins@snaught.com>
725 Preparation for 2.1.5.
727 2007-12-08 Jim Evins <evins@snaught.com>
729 * docs/libglabels/libglabels-decl-list.txt:
730 * docs/libglabels/libglabels-docs.sgml:
731 * docs/libglabels/libglabels-sections.txt:
732 * docs/libglabels/libglabels-undocumented.txt:
733 * docs/libglabels/tmpl/db.sgml:
734 * docs/libglabels/tmpl/str.sgml:
736 Documentation cleanup for libglabels.
738 2007-11-29 Jim Evins <evins@snaught.com>
742 Added lgl_db_does_template_name_exist().
743 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
746 Proof read recent templates -- make sure they still exist.
747 * src/wdgt-media-select.c:
748 Default to "search all templates" tab if no recent templates found.
750 2007-11-28 Jim Evins <evins@snaught.com>
752 * data/glade/wdgt-media-select.glade:
753 * src/wdgt-media-select.c:
754 Added tabbed notebook to allow selection of recent template versus searching the
758 2007-11-26 Jim Evins <evins@snaught.com>
760 * libglabels/Makefile.am:
761 * libglabels/libglabels.h:
764 * src/prefs-dialog.c:
769 Added tracking of recently used templates.
771 2007-11-20 Jim Evins <evins@snaught.com>
773 * data/glade/template-designer.glade:
774 * src/template-designer.c:
775 Added warning icon when match brand and part match an existing template.
777 2007-11-18 Jim Evins <evins@snaught.com>
779 * libglabels/Makefile.am:
782 Added lgl_str_utf8_casecmp().
783 * libglabels/libglabels-private.h:
784 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
785 * libglabels/db.c: (lgl_db_get_brand_list):
786 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
789 2007-11-18 Jim Evins <evins@snaught.com>
791 * data/glade/template-designer.glade:
792 * src/template-designer.c:
793 Don't advance past name page, if brand and part match an existing template.
795 2007-11-18 Jim Evins <evins@snaught.com>
797 * libglabels/db.c: (lgl_db_register_template), (read_templates):
798 When registering a new template, don't add to "User defined" category before
799 writing to file. Add to "User defined" category when reading from "~/.glabels"
800 directory instead. This will allow legacy templates (and manually created
801 templates) to be automatically added to the "user defined" category.
802 * libglabels/xml-template.c:
803 (lgl_xml_template_create_template_node):
804 Fixed typo/bug causing brand to be wrong.
806 2007-11-16 Jim Evins <evins@snaught.com>
810 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
811 function. Automatically create "User defined" category and add to all user
812 registered templates.
813 * libglabels/xml-template.c:
814 * libglabels/xml-template.h:
815 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
816 lgl_xml_template_write_template_to_file().
817 * docs/libglabels/libglabels-decl-list.txt:
818 * docs/libglabels/libglabels-sections.txt:
819 * docs/libglabels/libglabels-undocumented.txt:
820 * docs/libglabels/tmpl/db.sgml:
821 * docs/libglabels/tmpl/xml-template.sgml:
822 Update documentation to reflect above changes.
824 2007-10-28 Jim Evins <evins@snaught.com>
826 * libglabels/xml-template.c:
827 Remove any leading white space from part #s when parsing old names.
828 * src/mini-preview-pixbuf-cache.c:
829 If name isn't in cache add it.
831 2007-10-26 Jim Evins <evins@snaught.com>
833 * libglabels/Makefile.am:
834 * libglabels/category.c:
835 * libglabels/category.h:
838 * libglabels/libglabels-private.h:
839 * libglabels/libglabels.h:
840 * libglabels/paper.c:
841 * libglabels/paper.h:
842 * libglabels/template.c:
843 * libglabels/template.h:
844 * libglabels/xml-template.c:
845 Another pass at screwing with the libglabels API. Moved all
846 database related stuff to db.[ch].
847 * docs/libglabels/libglabels-decl-list.txt:
848 * docs/libglabels/libglabels-docs.sgml:
849 * docs/libglabels/libglabels-sections.txt:
850 * docs/libglabels/libglabels-undocumented.txt:
851 * docs/libglabels/tmpl/category.sgml:
852 * docs/libglabels/tmpl/db.sgml:
853 * docs/libglabels/tmpl/init.sgml:
854 * docs/libglabels/tmpl/libglabels-unused.sgml:
855 * docs/libglabels/tmpl/paper.sgml:
856 * docs/libglabels/tmpl/template-construction.sgml:
857 * docs/libglabels/tmpl/template-db.sgml:
858 * docs/libglabels/tmpl/template-misc.sgml:
859 * docs/libglabels/tmpl/template-struct.sgml:
860 * docs/libglabels/tmpl/template.sgml:
861 Updated documentation to reflect above changes to libglabels API.
863 * src/glabels-batch.c:
865 * src/mini-preview-pixbuf-cache.c:
868 * src/template-designer.c:
869 * src/wdgt-media-select.c:
870 * src/wdgt-mini-preview.c:
871 * src/wdgt-rotate-label.c:
872 * src/xml-label-04.c:
874 Reconciled usage with above libglabels API changes.
876 2007-10-21 Jim Evins <evins@snaught.com>
878 * data/glade/wdgt-media-select.glade:
879 * src/wdgt-media-select.c:
880 Added brand to filter settings.
882 2007-10-21 Jim Evins <evins@snaught.com>
884 * data/dtd/glabels-2.2.dtd:
885 Forgot to replace Alias name attribute with brand and part attributes.
886 * data/templates/avery-iso-templates.xml:
887 * data/templates/avery-other-templates.xml:
888 * data/templates/avery-us-templates.xml:
889 * data/templates/misc-iso-templates.xml:
890 * data/templates/misc-other-templates.xml:
891 * data/templates/misc-us-templates.xml:
892 * data/templates/zweckform-iso-templates.xml:
893 Replaced all name attributes with brand/part attribute pairs.
895 2007-10-20 Jim Evins <evins@snaught.com>
897 * src/stock-pixmaps/*.png
898 Updated icons to use Tango color palette.
900 2007-10-20 Jim Evins <evins@snaught.com>
902 * data/dtd/Makefile.am:
903 * data/dtd/glabels-2.0.dtd:
904 * data/dtd/glabels-2.2.dtd:
905 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
907 * libglabels/template.c:
908 * libglabels/template.h:
909 * libglabels/xml-template.c:
911 Added brand and part attributes to template and alias structures and nodes.
914 * src/mini-preview-pixbuf-cache.c:
915 * src/template-designer.c:
916 * src/wdgt-media-select.c:
917 Use modified libglabels API.
918 * docs/libglabels/libglabels-decl-list.txt:
919 * docs/libglabels/libglabels-sections.txt:
920 * docs/libglabels/libglabels-undocumented.txt:
921 * docs/libglabels/tmpl/template-construction.sgml:
922 * docs/libglabels/tmpl/template-db.sgml:
923 * docs/libglabels/tmpl/template-struct.sgml:
924 Update libglabels documentation to reflect above modifications.
926 2007-10-14 Jim Evins <evins@snaught.com>
928 * docs/libglabels/libglabels-decl-list.txt:
929 * docs/libglabels/libglabels-sections.txt:
930 * docs/libglabels/libglabels-undocumented.txt:
931 * docs/libglabels/tmpl/category.sgml:
932 * libglabels/category.c:
933 * libglabels/category.h:
934 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
935 parity with paper functions.
937 2007-10-12 Jim Evins <evins@snaught.com>
939 * docs/libglabels/libglabels-decl-list.txt:
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/libglabels-unused.sgml:
945 * docs/libglabels/tmpl/paper.sgml:
946 * docs/libglabels/tmpl/template-struct.sgml:
948 * libglabels/template.c:
949 * libglabels/template.h:
950 Another pass at fleshing out the libglabels documentation.
951 * src/cairo-label-path.c:
952 * src/cairo-markup-path.c:
954 * src/mini-preview-pixbuf.c:
958 * src/wdgt-media-select.c:
959 * src/wdgt-mini-preview.c:
960 * src/wdgt-print-copies.c:
961 * src/wdgt-print-merge.c:
962 * src/wdgt-rotate-label.c:
963 Removed lgl_template_get_first_frame() from libglabels API and all references.
965 2007-10-11 Jim Evins <evins@snaught.com>
967 Extended checks for deprecated symbols.
968 * libglabels/template.c:
969 Removed g_strcasecmp references, which are deprecated.
971 2007-10-09 Jim Evins <evins@snaught.com>
973 * src/merge-evolution.c:
974 Create address book if it does not exist. Also, be more robust about handling
975 error conditions -- don't just assume GError has been set.
977 2007-10-08 Jim Evins <evins@snaught.com>
979 * libglabels/template.c:
980 * libglabels/xml-template.c:
981 * src/template-designer.c:
982 Missed some symbols with libglabels API work.
984 2007-10-01 Jim Evins <evins@snaught.com>
986 * docs/libglabels/libglabels-decl-list.txt:
987 * docs/libglabels/libglabels-docs.sgml:
988 * docs/libglabels/libglabels-sections.txt:
989 * docs/libglabels/libglabels-undocumented.txt:
990 * docs/libglabels/tmpl/category.sgml:
991 * docs/libglabels/tmpl/enums.sgml:
992 * docs/libglabels/tmpl/init.sgml:
993 * docs/libglabels/tmpl/libglabels-unused.sgml:
994 * docs/libglabels/tmpl/paper.sgml:
995 * docs/libglabels/tmpl/template-construction.sgml:
996 * docs/libglabels/tmpl/template-db.sgml:
997 * docs/libglabels/tmpl/template-misc.sgml:
998 * docs/libglabels/tmpl/template-struct.sgml:
999 * docs/libglabels/tmpl/template.sgml:
1000 * docs/libglabels/tmpl/xml-category.sgml:
1001 * docs/libglabels/tmpl/xml-template.sgml:
1002 * libglabels/category.h:
1003 * libglabels/init.c:
1004 * libglabels/libglabels-private.h:
1005 * libglabels/paper.h:
1006 * libglabels/template.c:
1007 * libglabels/template.h:
1008 * libglabels/xml-template.h:
1009 Basic documentation framework for libglabels updated. This still needs some
1012 2007-09-27 Jim Evins <evins@snaught.com>
1014 * docs/libglabels/libglabels-decl-list.txt:
1015 * docs/libglabels/libglabels-docs.sgml:
1016 * docs/libglabels/libglabels-sections.txt:
1017 * docs/libglabels/libglabels-undocumented.txt:
1018 * docs/libglabels/tmpl/enums.sgml:
1019 * docs/libglabels/tmpl/init.sgml:
1020 * docs/libglabels/tmpl/libglabels-unused.sgml:
1021 * docs/libglabels/tmpl/paper.sgml:
1022 * docs/libglabels/tmpl/template.sgml:
1023 * docs/libglabels/tmpl/xml-paper.sgml:
1024 * docs/libglabels/tmpl/xml-template.sgml:
1025 * docs/libglabels/tmpl/xml.sgml:
1026 * libglabels/Makefile.am:
1027 * libglabels/category.c:
1028 * libglabels/category.h:
1029 * libglabels/enums.h:
1030 * libglabels/init.c:
1031 * libglabels/init.h:
1032 * libglabels/libglabels-private.h:
1033 * libglabels/libglabels.h:
1034 * libglabels/paper.c:
1035 * libglabels/paper.h:
1036 * libglabels/template.c:
1037 * libglabels/template.h:
1038 * libglabels/xml-category.c:
1039 * libglabels/xml-category.h:
1040 * libglabels/xml-paper.c:
1041 * libglabels/xml-paper.h:
1042 * libglabels/xml-template.c:
1043 * libglabels/xml-template.h:
1046 * src/cairo-label-path.c:
1047 * src/cairo-label-path.h:
1048 * src/cairo-markup-path.c:
1049 * src/cairo-markup-path.h:
1051 * src/glabels-batch.c:
1053 * src/label-object.c:
1056 * src/mini-preview-pixbuf-cache.c:
1057 * src/mini-preview-pixbuf.c:
1058 * src/mini-preview-pixbuf.h:
1059 * src/prefs-dialog.c:
1060 * src/prefs-model.c:
1061 * src/prefs-model.h:
1066 * src/template-designer.c:
1067 * src/view-barcode.c:
1069 * src/view-ellipse.c:
1073 * src/wdgt-media-select.c:
1074 * src/wdgt-mini-preview.c:
1075 * src/wdgt-mini-preview.h:
1076 * src/wdgt-print-copies.c:
1077 * src/wdgt-print-merge.c:
1078 * src/wdgt-rotate-label.c:
1079 * src/xml-label-04.c:
1081 Major cleanup of libglabels API -- this breaks API compatibility with older
1082 development and stable versions -- as far as I know, there are currently
1083 no external users of this library yet.
1085 2007-09-14 Jim Evins <evins@snaught.com>
1090 * src/label-object.c:
1091 * src/label-object.h:
1092 * src/label-barcode.c:
1093 * src/label-ellipse.c:
1095 * src/view-object.c:
1096 * src/view-barcode.c:
1098 * src/view-ellipse.c:
1102 Better separation of model from view.
1104 2007-08-21 Jim Evins <evins@snaught.com>
1106 * src/print-op.c: (create_custom_widget_cb):
1107 Fix problem with force_outline_flag -- don't override with default.
1109 2007-08-21 Jim Evins <evins@snaught.com>
1111 * data/dtd/glabels-2.0.dtd:
1112 * libglabels/template.c:
1113 * libglabels/template.h:
1114 * libglabels/xml-template.c:
1115 * src/cairo-markup-path.c:
1116 Added "Markup-rect" element to template format.
1118 2007-08-21 Jim Evins <evins@snaught.com>
1121 Changed version to 2.1.pre5svn.
1122 * src/view.c: (draw_markup_layer):
1123 Do a stroke for each markup path, otherwise multiple markups
1126 2007-08-17 Jim Evins <evins@snaught.com>
1129 Bump libglabels revision numbers for 2.1.4 release.
1131 2007-08-16 Jim Evins <evins@snaught.com>
1134 Include subdir iec16022-0.2.1.
1138 Preparation for 2.1.4.
1141 2007-08-11 Jim Evins <evins@snaught.com>
1147 Added Esperanto translation. Provided by Antonio C.
1148 Codazzi "la Filozofo" <f_sophia@libero.it>.
1150 Updated French translation. Provided by Claude Paroz
1151 <claude@2xlibre.net>.
1153 Updated to reflect above translations.
1155 2007-08-11 Jim Evins <evins@snaught.com>
1158 * data/templates/avery-iso-templates.xml:
1159 * data/templates/avery-us-templates.xml:
1160 * data/templates/misc-iso-templates.xml:
1161 * data/templates/misc-other-templates.xml:
1162 * data/templates/misc-us-templates.xml:
1163 * data/templates/zweckform-iso-templates.xml:
1164 Caught up with backlog of template submissions.
1166 2007-08-10 Jim Evins <evins@snaught.com>
1168 * src/bc-postnet.c: (gl_barcode_postnet_new):
1170 Added support for Brazilian CEPNet barcodes. This is simply an
1171 instance of the US POSTNET format with 8 digits. Patch supplied
1172 by Mário Meyer in bug # 1768792.
1174 Updated acknowledgments to reflect above patch and recent shuffling
1175 of underlying technology.
1177 2007-05-13 Jim Evins <evins@snaught.com>
1179 * src/merge-text.c: (parse_line), (parse_field):
1180 Remove leading and trailing spaces from CSV fields, unless quoted.
1182 2007-05-09 Jim Evins <evins@snaught.com>
1184 * src/object-editor-bc-page.c:
1185 * src/object-editor-data-page.c:
1186 * src/object-editor-fill-page.c:
1187 * src/object-editor-image-page.c:
1188 * src/object-editor-line-page.c:
1189 * src/object-editor-lsize-page.c:
1190 * src/object-editor-position-page.c:
1191 * src/object-editor-private.h:
1192 * src/object-editor-shadow-page.c:
1193 * src/object-editor-size-page.c:
1194 * src/object-editor-text-page.c:
1195 * src/object-editor.c:
1196 * src/prefs-dialog.c:
1197 * src/template-designer.c:
1198 * src/ui-property-bar.c:
1199 * src/wdgt-media-select.c:
1200 Replaced signal block/unblock pairs with simple flags. This reduces
1201 some code clutter, hopefully making it easier to read.
1203 2007-05-05 Jim Evins <evins@snaught.com>
1205 * src/template-designer.c: (apply_cb):
1206 Add new template to mini-preview pixbuf cache.
1208 2007-05-03 Jim Evins <evins@snaught.com>
1210 * src/label-image.c: (gl_label_image_init), (draw_object):
1211 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1214 2007-05-02 Jim Evins <evins@snaught.com>
1216 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1217 (button_release_event_cb):
1218 Removed attempt at rendering optimization by clipping the updates
1219 to areas affected -- this actually seemed to hurt update performance.
1221 2007-04-30 Jim Evins <evins@snaught.com>
1224 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1225 (gl_color_node_equal), (gl_color_node_expand):
1226 * src/label-barcode.c: (draw_object):
1227 * src/label-box.c: (draw_object), (draw_shadow):
1228 * src/label-ellipse.c: (draw_object), (draw_shadow):
1229 * src/label-line.c: (draw_object), (draw_shadow):
1230 * src/label-text.c: (draw_object), (draw_shadow):
1231 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1232 * src/wdgt-rotate-label.c: (drawingarea_update):
1233 Some cleanup to color related code.
1235 2007-04-30 Jim Evins <evins@snaught.com>
1238 Added glLabelRegion structure type.
1239 * src/label-object.c: (gl_label_object_get_extent):
1240 * src/label-object.h:
1241 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1243 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1244 (gl_view_select_region), (gl_view_align_selection_left),
1245 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1246 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1247 (gl_view_align_selection_vcenter),
1248 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1249 (gl_view_move_selection), (gl_view_can_selection_text),
1250 (motion_notify_event_cb), (button_press_event_cb),
1251 (button_release_event_cb):
1252 - Reconcile with new gl_label_object_get_extent() API.
1253 - Use glLabelRegion for view->select_region.
1254 - Added gl_view_update_region() to clip updates to region.
1255 - Use gl_view_update_region() during manipulation of view->select_region.
1257 2007-04-26 Jim Evins <evins@snaught.com>
1259 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1260 (draw_label_outline):
1261 * src/print.c: (print_crop_marks), (draw_outline):
1262 * src/view-object.c: (gl_view_object_draw_handles):
1263 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1264 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1265 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1266 * src/wdgt-rotate-label.c: (drawingarea_update):
1267 Added defines for various magic numbers.
1269 2007-04-25 Jim Evins <evins@snaught.com>
1271 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1272 Scale text down. Cairo seems to render text too large.
1274 2007-04-25 Jim Evins <evins@snaught.com>
1277 * src/view.c: (gl_view_update), (expose_cb),
1278 (motion_notify_event_cb), (button_press_event_cb),
1279 (button_release_event_cb):
1280 - Try not to let updates get backed up.
1281 - Grab pointer when doing any drag operations.
1283 2007-04-11 Jim Evins <evins@snaught.com>
1285 * src/cairo-label-path.c: (gl_cairo_label_path),
1286 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1287 (gl_cairo_cd_label_path):
1288 * src/cairo-label-path.h:
1289 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1290 (draw_label_outline):
1291 * src/print.c: (draw_outline), (clip_to_outline):
1292 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1293 * src/wdgt-mini-preview.c: (draw_labels):
1294 * src/wdgt-rotate-label.c: (drawingarea_update):
1295 Modified to universally use gl_cairo_label_path() to create paths
1296 for labels. Added shadow to mini preview in rotate widget.
1298 2007-04-10 Jim Evins <evins@snaught.com>
1300 * libglabels/template.h:
1301 * libglabels/template.c: (gl_template_get_name_list_unique),
1302 (gl_template_get_name_list_all), (gl_template_from_name):
1303 Modified libglabels to allow you to get a list of all template names
1304 including all aliases or just a list of primary names of each unique
1307 * src/file.c: (gl_file_properties):
1308 * src/glabels.c: (main):
1309 * src/mini-preview-pixbuf-cache.h:
1310 * src/mini-preview-pixbuf-cache.c:
1311 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1312 (filter_changed_cb), (load_list):
1313 Added mini-preview pixbuf cache, so that only one mini-preview is
1314 needed for a unique template and gets reused for all aliases. These
1315 pixbufs will also live for the life of the program so they are not
1316 rebuilt everytime a new label dialog is invoked.
1317 * src/mini-preview-pixbuf.c: (draw_paper),
1318 (draw_rect_label_outline), (draw_round_label_outline),
1319 (draw_cd_label_outline):
1320 Removed some comment artifacts.
1322 2007-04-04 Jim Evins <evins@snaught.com>
1324 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1325 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1326 (draw_round_label_outline), (draw_cd_label_outline):
1327 * src/wdgt-media-select.c: (load_list):
1328 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1329 Cosmetic enhancments to mini previews.
1331 2007-04-04 Jim Evins <evins@snaught.com>
1333 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1334 (gl_ui_property_bar_construct):
1335 Save copy of GladeXML tree so that we don't lose tooltips.
1337 2007-04-02 Jim Evins <evins@snaught.com>
1339 * src/merge-properties-dialog.c:
1340 * src/new-label-dialog.c:
1341 * src/object-editor.c:
1342 * src/prefs-dialog.c:
1344 * src/template-designer.c:
1345 * src/ui-property-bar.c:
1346 * src/wdgt-media-select.c:
1347 * src/wdgt-rotate-label.c:
1348 Fixed several memory leaks.
1350 2007-04-01 Jim Evins <evins@snaught.com>
1352 * src/label-text.c: (gl_label_text_init), (copy),
1353 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1354 (set_font_family), (set_font_size), (set_font_weight),
1355 (set_font_italic_flag), (set_text_alignment),
1356 (set_text_line_spacing):
1357 Cache object size, so that expensive extent calculations are only done
1360 2007-03-30 Jim Evins <evins@snaught.com>
1362 * src/prefs-model.c: (gl_prefs_model_load_settings):
1363 Default to an unlimited list of recent documents, since this parameter
1364 seems to be pre-filter anyway.
1366 2007-03-30 Jim Evins <evins@snaught.com>
1368 * src/label-box.c: (draw_shadow):
1369 * src/label-ellipse.c: (draw_shadow):
1370 Added missing shadow fill.
1372 2007-03-28 Jim Evins <evins@snaught.com>
1374 * src/ui-commands.c: (gl_ui_cmd_file_print):
1375 Unreferencing the print operation sometimes crashes. Just don't do it
1378 2007-03-28 Jim Evins <evins@snaught.com>
1380 * src/print-op.c: (gl_print_op_construct),
1381 (gl_print_op_get_settings), (gl_print_op_set_settings),
1382 (gl_print_op_free_settings), (create_custom_widget_cb):
1384 * src/ui-commands.c: (gl_ui_cmd_file_print):
1385 * src/window.c: (gl_window_init):
1387 Save print settings and custom settings between print operations
1390 2007-03-24 Jim Evins <evins@snaught.com>
1392 * src/object-editor-image-page.c:
1393 (gl_object_editor_prepare_image_page),
1394 (gl_object_editor_set_image), (img_selection_changed_cb):
1395 Workaround for GtkFileChooserButton bug # 327243. This the root
1396 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1397 "selection-changed" signals -- the first 2 return NULL -- this is
1398 what caused the image to reset to the default followed by setting
1399 it back to the original image, trying to fit it into a new bounding
1400 box. This sequence of events is much more evident with the new
1403 2007-03-23 Jim Evins <evins@snaught.com>
1405 Merged all changes from experimental cairo branch to trunk.
1406 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1408 2007-03-23 Jim Evins <evins@snaught.com>
1410 * src/label-object.h:
1411 * src/label-object.c: (gl_label_object_class_init),
1412 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1413 Created "get_raw_size" method.
1414 * src/label-barcode.c: (get_size):
1415 * src/xml-label.c: (xml_create_object_text),
1416 (xml_create_object_barcode):
1417 Use new "get_raw_size" method on label-objects when apropos.
1419 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1420 (auto_shrink_font_size):
1421 Added "auto shrink" functionality back.
1423 2007-03-19 Jim Evins <evins@snaught.com>
1425 * src/label-text.c: (draw_object), (draw_shadow):
1426 Don't use negative scales in workaround from previous commit.
1429 2007-03-18 Jim Evins <evins@snaught.com>
1432 Forgot to remove include of xml-lable-191 in previous commit.
1433 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1434 Workaround for pango Bug #341481. Render text at device scale,
1435 and scale font size accordingly. Also, don't do any hinting.
1437 2007-03-18 Jim Evins <evins@snaught.com>
1439 * src/cairo-ellipse-path.c:
1440 * src/cairo-ellipse-path.h:
1441 Forgot to add these new files during last mass commit.
1443 2007-03-18 Jim Evins <evins@snaught.com>
1446 * src/xml-label-191.c:
1447 * src/xml-label-191.h:
1448 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1449 so there is no need to keep compatability.
1451 * src/bc-iec16022.c:
1452 * src/cairo-label-path.c:
1453 * src/cairo-label-path.h:
1454 * src/cairo-markup-path.c:
1458 * src/glabels-batch.c:
1460 * src/label-barcode.c:
1462 * src/label-ellipse.c:
1463 * src/label-image.c:
1465 * src/label-object.c:
1466 * src/label-object.h:
1470 * src/merge-properties-dialog.c:
1472 * src/new-label-dialog.c:
1473 * src/object-editor-bc-page.c:
1474 * src/object-editor-data-page.c:
1475 * src/object-editor-edit-page.c:
1476 * src/object-editor-fill-page.c:
1477 * src/object-editor-image-page.c:
1478 * src/object-editor-line-page.c:
1479 * src/object-editor-private.h:
1480 * src/object-editor-shadow-page.c:
1481 * src/object-editor-text-page.c:
1482 * src/object-editor.c:
1483 * src/pixbuf-cache.c:
1488 * src/template-designer.c:
1490 * src/ui-property-bar.c:
1492 * src/view-barcode.c:
1494 * src/view-ellipse.c:
1497 * src/view-object.c:
1498 * src/view-object.h:
1501 * src/wdgt-media-select.c:
1502 * src/wdgt-print-copies.c:
1503 * src/wdgt-print-merge.c:
1505 * src/xml-label-04.c:
1507 Many changes, including:
1508 - Move draw methods from view-*() to label-*().
1509 - Use same drawing code for on screen view and printing.
1510 - Fix all issues exposed with '-Wall -Werror'.
1512 2007-03-14 Jim Evins <evins@snaught.com>
1515 * src/cairo-handle-path.c:
1516 * src/cairo-handle-path.h:
1517 * src/cairo-object-path.c:
1518 * src/cairo-object-path.h:
1519 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1520 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1522 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1523 (draw_shadow), (object_at):
1524 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1525 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1526 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1528 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1529 (draw_shadow), (object_at):
1530 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1531 (create_handle_path), (gl_view_object_draw_handles),
1532 (gl_view_object_handle_at):
1533 * src/view-object.h:
1534 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1535 (draw_shadow), (object_at):
1536 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1537 Some restructuring of new code.
1539 2007-03-12 Jim Evins <evins@snaught.com>
1542 * src/cairo-object-path.c:
1543 * src/view-barcode.c:
1544 * src/view-barcode.h:
1546 Added barcode object support to view.
1548 2007-03-12 Jim Evins <evins@snaught.com>
1554 * src/cairo-object-path.c:
1555 * src/cairo-object-path.h:
1557 * src/view-ellipse.c:
1560 * src/view-object.c:
1561 * src/view-object.h:
1562 Added text object support to view. Added object_at method to all
1565 2007-03-11 Jim Evins <evins@snaught.com>
1568 * src/cairo-object-path.c: (gl_cairo_object_path),
1569 (gl_cairo_image_object_path):
1570 * src/view-image.c: (gl_view_image_class_init),
1571 (gl_view_image_finalize), (gl_view_image_new),
1572 (update_editor_from_label_cb), (draw),
1573 (gl_view_image_get_create_cursor),
1574 (gl_view_image_create_button_press_event),
1575 (gl_view_image_create_motion_event),
1576 (gl_view_image_create_button_release_event):
1578 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1579 (selection_received_cb), (motion_notify_event_cb),
1580 (button_press_event_cb), (button_release_event_cb):
1581 Added image object support to view.
1583 2007-03-11 Jim Evins <evins@snaught.com>
1586 * src/cairo-object-path.c: (gl_cairo_object_path),
1587 (gl_cairo_line_object_path):
1588 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1589 (update_object_from_editor_cb), (update_editor_from_object_cb),
1590 (update_editor_from_label_cb), (draw),
1591 (gl_view_line_get_create_cursor),
1592 (gl_view_line_create_button_press_event),
1593 (gl_view_line_create_motion_event),
1594 (gl_view_line_create_button_release_event):
1596 * src/view-object.c: (gl_view_object_resize_event):
1597 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1598 (selection_received_cb), (motion_notify_event_cb),
1599 (button_press_event_cb), (button_release_event_cb):
1600 Added line object support to view.
1601 * src/cairo-handle-path.c:
1602 Made handles slightly larger.
1605 2007-03-11 Jim Evins <evins@snaught.com>
1608 * src/cairo-handle-path.c:
1609 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1610 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1611 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1612 (gl_cairo_markup_margin_round_path),
1613 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1614 * src/cairo-object-path.c: (gl_cairo_object_path),
1615 (gl_cairo_ellipse_object_path):
1616 * src/label-object.c: (gl_label_object_rotate):
1619 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1620 (gl_view_ellipse_new), (update_object_from_editor_cb),
1621 (update_editor_from_object_cb), (update_editor_from_label_cb),
1622 (draw), (gl_view_ellipse_get_create_cursor),
1623 (gl_view_ellipse_create_button_press_event),
1624 (gl_view_ellipse_create_motion_event),
1625 (gl_view_ellipse_create_button_release_event):
1626 * src/view-ellipse.h:
1627 * src/view-object.c:
1628 * src/view-object.h:
1629 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1630 (select_object_real), (selection_received_cb),
1631 (motion_notify_event_cb), (button_press_event_cb),
1632 (button_release_event_cb):
1634 Added ellipse object support to view. Plus other cleanup.
1636 2007-03-11 Jim Evins <evins@snaught.com>
1639 * src/view-box.c: (gl_view_box_get_create_cursor),
1640 (gl_view_box_create_button_press_event),
1641 (gl_view_box_create_motion_event),
1642 (gl_view_box_create_button_release_event):
1643 * src/view-object.c: (gl_view_object_set_view),
1644 (gl_view_object_handle_at):
1646 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1647 (motion_notify_event_cb), (button_press_event_cb),
1648 (button_release_event_cb), (key_press_event_cb):
1649 Added creation code for box object.
1651 2007-03-09 Jim Evins <evins@snaught.com>
1653 * src/view-object.c: (gl_view_object_resize_event):
1654 * src/view-object.h:
1655 * src/view.c: (motion_notify_event_cb):
1656 Fix bugs with resizing transformed objects.
1657 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1658 * src/cairo-object-path.c: (gl_cairo_object_path):
1659 * src/cairo-object-path.h:
1660 * src/label-object.c: (gl_label_object_init),
1661 (gl_label_object_dup), (gl_label_object_get_extent),
1662 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1663 (gl_label_object_rotate), (gl_label_object_set_matrix),
1664 (gl_label_object_get_matrix):
1665 * src/label-object.h:
1666 * src/print.c: (draw_object):
1668 * src/view-highlight.c:
1669 * src/view-highlight.h:
1670 * src/xml-label-191.c: (xml191_parse_object):
1671 * src/xml-label.c: (xml_parse_affine_attrs),
1672 (xml_create_affine_attrs):
1673 Replace libart affine matrices with cairo matrices.
1675 2007-03-08 Jim Evins <evins@snaught.com>
1677 * src/view-object.h:
1678 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1679 * src/view-object.c: (gl_view_object_handle_at),
1680 (gl_view_object_resize_event):
1681 Added resize code -- still a bit buggy.
1683 2007-03-07 Jim Evins <evins@snaught.com>
1686 * src/cairo-handle-path.c:
1687 * src/cairo-handle-path.h:
1688 * src/view-box.c: (gl_view_box_new):
1689 * src/view-object.c: (gl_view_object_set_object),
1690 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1691 * src/view-object.h:
1692 * src/view.c: (draw_highlight_layer), (select_object_real),
1693 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1694 (button_press_event_cb), (button_release_event_cb),
1695 (key_press_event_cb):
1697 Added beginnings of object resize handles.
1699 2007-03-07 Jim Evins <evins@snaught.com>
1702 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1703 (gl_view_object_create_mode), (motion_notify_event_cb),
1704 (button_press_event_cb), (button_release_event_cb),
1705 (key_press_event_cb):
1706 Added move selection support.
1708 2007-03-05 Jim Evins <evins@snaught.com>
1710 * src/cairo-object-path.c: (gl_cairo_object_path):
1711 * src/view-object.c: (gl_view_object_draw),
1712 (gl_view_object_draw_highlight):
1713 * src/view.c: (view_object_at), (motion_notify_event_cb),
1714 (button_press_event_cb), (button_release_event_cb):
1715 Additional refinements to select logic.
1717 2007-03-05 Jim Evins <evins@snaught.com>
1720 * src/view.c: (gl_view_init), (gl_view_construct),
1721 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1722 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1723 (button_press_event_cb), (button_release_event_cb):
1724 Added initial select region support and context menu.
1726 2007-03-04 Jim Evins <evins@snaught.com>
1737 * src/ui-commands.c:
1740 * src/view-object.c:
1741 * src/view-object.h:
1744 * src/wdgt-print-copies.c:
1745 * src/wdgt-print-merge.c:
1747 Initial port to a raw Cairo canvas. This removes all remaining
1748 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1749 the view is becoming a canvas widget in its own right. Still needs
1751 * src/cairo-label-path.c:
1752 * src/cairo-label-path.h:
1753 * src/cairo-markup-path.c:
1754 * src/cairo-markup-path.h:
1755 * src/cairo-object-path.c:
1756 * src/cairo-object-path.h:
1757 New files to support cairo canvas.
1758 * src/canvas-hacktext.c:
1759 * src/canvas-hacktext.h:
1762 2007-02-18 Jim Evins <evins@snaught.com>
1765 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1767 2007-02-14 Jim Evins <evins@snaught.com>
1771 * src/bc-gnubarcode.c:
1772 * src/bc-gnubarcode.h:
1777 * src/canvas-hacktext.c:
1778 * src/canvas-hacktext.h:
1785 * src/label-barcode.c:
1786 * src/label-barcode.h:
1789 * src/label-ellipse.c:
1790 * src/label-ellipse.h:
1791 * src/label-image.c:
1792 * src/label-image.h:
1795 * src/label-object.c:
1796 * src/label-object.h:
1801 * src/merge-evolution.c:
1802 * src/merge-evolution.h:
1805 * src/merge-properties-dialog.c:
1806 * src/merge-properties-dialog.h:
1809 * src/merge-vcard.c:
1810 * src/merge-vcard.h:
1813 * src/mini-preview-pixbuf.h:
1814 * src/new-label-dialog.c:
1815 * src/new-label-dialog.h:
1816 * src/object-editor-bc-page.c:
1817 * src/object-editor-data-page.c:
1818 * src/object-editor-edit-page.c:
1819 * src/object-editor-fill-page.c:
1820 * src/object-editor-image-page.c:
1821 * src/object-editor-line-page.c:
1822 * src/object-editor-lsize-page.c:
1823 * src/object-editor-position-page.c:
1824 * src/object-editor-private.h:
1825 * src/object-editor-size-page.c:
1826 * src/object-editor-text-page.c:
1827 * src/object-editor.c:
1828 * src/object-editor.h:
1829 * src/pixbuf-cache.c:
1830 * src/pixbuf-cache.h:
1831 * src/prefs-dialog.c:
1832 * src/prefs-dialog.h:
1833 * src/prefs-model.c:
1834 * src/prefs-model.h:
1840 * src/template-designer.c:
1843 * src/ui-commands.c:
1844 * src/ui-commands.h:
1845 * src/ui-property-bar.c:
1846 * src/ui-property-bar.h:
1855 * src/view-barcode.c:
1856 * src/view-barcode.h:
1859 * src/view-ellipse.c:
1860 * src/view-ellipse.h:
1861 * src/view-highlight.c:
1862 * src/view-highlight.h:
1867 * src/view-object.c:
1868 * src/view-object.h:
1873 * src/wdgt-chain-button.c:
1874 * src/wdgt-chain-button.h:
1875 * src/wdgt-media-select.c:
1876 * src/wdgt-mini-preview.c:
1877 * src/wdgt-print-copies.c:
1878 * src/wdgt-print-copies.h:
1879 * src/wdgt-print-merge.c:
1880 * src/wdgt-print-merge.h:
1881 * src/wdgt-rotate-label.c:
1883 * src/xml-label-04.c:
1884 * src/xml-label-04.h:
1885 * src/xml-label-191.c:
1886 * src/xml-label-191.h:
1890 Assorted superficial cleanup. Including:
1891 - Use G_DEFINE_TYPE for all objects.
1892 - Reconcile style of all class initializer functions
1893 - Reconcile style of all finalize functions
1894 - Add emacs mode line to all source files
1896 2007-02-06 Jim Evins <evins@snaught.com>
1898 Assorted cleanup and removal of deprecated items.
1903 Removed annoying splash screen.
1904 * src/glabels-batch.c: (main):
1905 * src/glabels.c: (main):
1906 Converted from popt to GOption.
1907 * src/object-editor-shadow-page.c:
1908 (gl_object_editor_set_shadow_state):
1909 Removed deprecated method on GtkToggleButton.
1910 * src/ui-commands.c: (gl_ui_cmd_help_about):
1911 Removed dependency on libgnomui/qnome-url.h.
1912 * src/template-designer.c:
1913 Removed dependency on libgnome/gnome-program.h.
1916 2007-02-04 Jim Evins <evins@snaught.com>
1920 * src/prefs-model.c:
1921 * src/print.c: (draw_text_object):
1922 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1923 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1925 2007-02-04 Jim Evins <evins@snaught.com>
1927 * src/wdgt-mini-preview.c:
1928 * src/wdgt-mini-preview.h:
1929 Ported widget from GnomeCanvas to Cairo.
1931 2007-02-03 Jim Evins <evins@snaught.com>
1933 * data/glade/template-designer.glade:
1934 * src/template-designer.c:
1935 * src/template-designer.h:
1936 Ported GnomeDruid to GtkAssistant. Since libglade does not
1937 yet support the GtkAssistant and we derive directly from
1938 the Assistant, the pages are layed out in a GtkNotebook in
1939 the glade description -- we then append each page to the
1942 2007-01-25 Jim Evins <evins@snaught.com>
1944 * data/glade/object-editor.glade:
1945 Added dummy page to notebook, to prevent shadow page from
1946 becoming the default current page at creation.
1947 * src/view-box.c: (construct_properties_editor):
1948 * src/view-ellipse.c: (construct_properties_editor):
1949 * src/view-line.c: (construct_properties_editor):
1950 * src/view-text.c: (construct_properties_editor):
1951 Reconciled order of params.
1953 2007-01-19 Jim Evins <evins@snaught.com>
1955 * src/label-barcode.h:
1956 * src/label-object.c: (gl_label_object_set_font_weight),
1957 (gl_label_object_set_text_alignment),
1958 (gl_label_object_get_font_weight),
1959 (gl_label_object_get_text_alignment):
1960 * src/label-object.h:
1961 * src/label-text.c: (gl_label_text_instance_init), (copy),
1962 (get_size), (set_font_family), (set_font_weight),
1963 (set_text_alignment), (get_font_weight), (get_text_alignment):
1965 * src/object-editor-text-page.c:
1966 (gl_object_editor_prepare_text_page),
1967 (gl_object_editor_set_font_family),
1968 (gl_object_editor_set_font_weight),
1969 (gl_object_editor_get_font_weight),
1970 (gl_object_editor_set_text_alignment),
1971 (gl_object_editor_get_text_alignment),
1972 (gl_object_editor_set_text_color):
1973 * src/object-editor.h:
1974 * src/prefs-dialog.c: (construct_object_page),
1975 (update_object_page_from_prefs), (update_prefs_from_object_page):
1976 * src/prefs-model.c: (gl_prefs_model_save_settings),
1977 (gl_prefs_model_load_settings):
1978 * src/prefs-model.h:
1979 * src/print.c: (draw_text_object):
1980 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1981 (reset_to_default_properties), (update_text_properties),
1982 (font_bold_toggled_cb), (text_align_toggled_cb):
1984 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1985 (gl_util_weight_to_string), (gl_util_string_to_weight),
1986 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1988 * src/view-text.c: (update_object_from_editor_cb),
1989 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1990 * src/view.c: (gl_view_set_selection_text_alignment),
1991 (gl_view_set_default_text_alignment),
1992 (gl_view_get_default_text_alignment):
1994 * src/xml-label-04.c: (xml04_parse_text_props):
1995 * src/xml-label-191.c: (xml191_parse_text_props):
1996 * src/xml-label.c: (xml_parse_object_text),
1997 (xml_parse_toplevel_span), (xml_create_object_text),
1998 (xml_create_toplevel_span):
1999 Converted all model internals to Pango. GnomeFont remains in
2000 view until GnomeCanvas can be replaced with a cairo-based canvas.
2002 2007-01-17 Jim Evins <evins@snaught.com>
2008 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
2009 (gl_wdgt_print_copies_construct):
2010 * src/wdgt-print-copies.h:
2011 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
2012 (gl_wdgt_print_merge_construct):
2013 * src/wdgt-print-merge.h:
2014 Removed all remaining HIG wrapper widgets.
2016 2007-01-16 Jim Evins <evins@snaught.com>
2019 * src/print-dialog.c:
2020 * src/print-dialog.h:
2023 * src/template-designer.c: (print_test_cb):
2024 * src/ui-commands.c: (gl_ui_cmd_file_print):
2026 Renamed PrintDialog to PrintOp. Added constructor for batch
2028 * src/glabels-batch.c: (main):
2029 Converted to use new PrintOp object for printing.
2031 2007-01-15 Jim Evins <evins@snaught.com>
2033 * data/glade/Makefile.am:
2034 * data/glade/print-custom-widget.glade:
2035 * src/print-dialog.c:
2036 * src/print-dialog.h:
2039 * src/template-designer.c: (print_test_cb):
2040 * src/ui-commands.c: (gl_ui_cmd_file_print):
2041 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2042 * src/wdgt-print-merge.h:
2043 * src/window.c: (gl_window_init):
2045 Initial conversion to GtkPrintOperation.
2047 - Remove font and other libgnomeprint[ui] from elsewhere
2048 - Add batch initialization of print operation
2050 2007-01-08 Jim Evins <evins@snaught.com>
2052 Updated dependencies. Set version to 2.1.pre4cvs.
2054 2007-01-03 Jim Evins <evins@snaught.com>
2056 * src/recent-files/*
2057 Removed EggRecent stuff.
2063 * src/ui-commands.c:
2064 * src/ui-commands.h:
2066 Ported from EggRecent to GtkRecentManager.
2069 2007-01-02 Jim Evins <evins@snaught.com>
2072 * iec16022-0.2.1/BUGS:
2073 * iec16022-0.2.1/CHANGELOG:
2074 * iec16022-0.2.1/CREDITS:
2075 * iec16022-0.2.1/INSTALL:
2076 * iec16022-0.2.1/LICENSE:
2077 * iec16022-0.2.1/Makefile.am:
2078 * iec16022-0.2.1/Makefile.dist:
2079 * iec16022-0.2.1/README:
2080 * iec16022-0.2.1/README.glabels:
2081 * iec16022-0.2.1/TODO:
2082 * iec16022-0.2.1/iec16022.1:
2083 * iec16022-0.2.1/iec16022.c:
2084 * iec16022-0.2.1/iec16022ecc200.c:
2085 * iec16022-0.2.1/iec16022ecc200.h:
2086 * iec16022-0.2.1/image.c:
2087 * iec16022-0.2.1/image.h:
2088 * iec16022-0.2.1/reedsol.c:
2089 * iec16022-0.2.1/reedsol.h:
2090 * iec16022-0.2.1/test/testsuite-example.bin:
2091 * iec16022-0.2.1/test/testsuite-example.eps:
2092 * iec16022-0.2.1/test/testsuite-example.hex:
2093 * iec16022-0.2.1/test/testsuite-example.png:
2094 * iec16022-0.2.1/test/testsuite-example.text:
2095 * iec16022-0.2.1/test/testsuite.sh:
2096 Include modified copy of iec16022-0.2.1 to provide encoding
2097 support for datamatrix 2D barcodes.
2099 * src/bc-iec16022.c:
2100 * src/bc-iec16022.h:
2102 Added initial datamatrix 2D barcode backend to barcode code.
2105 Automatic updates to later versions of these files.
2107 2006-11-28 Jim Evins <evins@snaught.com>
2109 * data/templates/avery-iso-templates.xml:
2110 * data/templates/avery-us-templates.xml:
2111 * data/templates/categories.xml:
2112 * data/templates/misc-iso-templates.xml:
2113 * data/templates/misc-us-templates.xml:
2114 * data/templates/zweckform-iso-templates.xml:
2115 More categorization.
2117 2006-09-12 Jim Evins <evins@snaught.com>
2119 * data/dtd/glabels-2.0.dtd:
2120 * data/templates/Makefile.am:
2121 * data/templates/avery-iso-templates.xml:
2122 * data/templates/avery-other-templates.xml:
2123 * data/templates/avery-us-templates.xml:
2124 * data/templates/categories.xml:
2125 * data/templates/misc-iso-templates.xml:
2126 * data/templates/misc-other-templates.xml:
2127 * data/templates/zweckform-iso-templates.xml:
2128 * data/glade/Makefile.am:
2129 * data/glade/new-label-dialog.glade:
2130 * data/glade/wdgt-media-select.glade:
2131 * data/glade/wdgt-rotate-label.glade:
2132 * libglabels/Makefile.am:
2133 * libglabels/category.c:
2134 * libglabels/category.h:
2135 * libglabels/libglabels.h:
2136 * libglabels/paper.c:
2137 * libglabels/template.c:
2138 * libglabels/template.h:
2139 * libglabels/xml-category.c:
2140 * libglabels/xml-category.h:
2141 * libglabels/xml-template.c:
2142 Added support for category meta data.
2145 * src/mini-preview-pixbuf.c:
2146 * src/mini-preview-pixbuf.h:
2147 * src/new-label-dialog.c:
2148 * src/new-label-dialog.h:
2149 * src/wdgt-media-select.c:
2150 * src/wdgt-media-select.h:
2151 * src/wdgt-rotate-label.c:
2152 * src/wdgt-rotate-label.h:
2153 New "new label" dialog.
2155 2006-05-27 Jim Evins <evins@snaught.com>
2160 Preparation for 2.1.3.
2166 2006-05-22 Jim Evins <evins@snaught.com>
2168 * src/print.c: (draw_barcode_object):
2169 Don't print "Invalid barcode data" if data field is empty. Patch provided
2170 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2172 Added acknowledgment for above patch.
2173 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2174 * src/bc-postnet.c: (postnet_code):
2175 Removed "Invalid barcode data" warnings from stderr.
2176 * src/view-barcode.c: (draw_barcode):
2177 Draw box around barcode extent if data empty or invalid. Center a
2178 message whether the data is empty or invalid in box.
2180 2006-05-22 Jim Evins <evins@snaught.com>
2182 * src/print.c: (draw_text_object):
2183 Check shadow state when printing text.
2185 2006-05-20 Jim Evins <evins@snaught.com>
2187 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2188 (gl_ui_cmd_view_markup_toggle):
2189 Fixed crash when grid or markup have been toggled off during
2190 a previous session. Bug #1434324.
2192 2006-04-05 Jim Evins <evins@snaught.com>
2194 * src/object-editor.c: (gl_object_editor_set_key_names):
2195 Fixed potential crash when freeing empty key list.
2197 2006-03-11 Jim Evins <evins@snaught.com>
2199 * src/print.c: (draw_text_object):
2200 * src/view-text.c: (gl_view_text_new),
2201 (construct_properties_editor), (update_object_from_editor_cb),
2202 (update_editor_from_object_cb), (update_editor_from_label_cb),
2204 Added shadow support to text object.
2206 2006-02-18 Jim Evins <evins@snaught.com>
2208 * src/print.c: (draw_line_object):
2209 * src/view-line.c: (gl_view_line_new),
2210 (construct_properties_editor), (update_canvas_item_from_object_cb),
2211 (update_object_from_editor_cb), (update_editor_from_object_cb),
2212 (update_editor_from_label_cb):
2213 Added shadow support to line object.
2215 2006-02-16 Jim Evins <evins@snaught.com>
2219 * src/print.c: (draw_ellipse_object):
2220 * src/view-ellipse.c: (gl_view_ellipse_new),
2221 (construct_properties_editor), (update_canvas_item_from_object_cb),
2222 (update_object_from_editor_cb), (update_editor_from_object_cb),
2223 (update_editor_from_label_cb):
2224 Added shadow support to ellipse object.
2226 2006-02-15 Jim Evins <evins@snaught.com>
2228 * src/label-object.c:
2229 Changed default shadow offsets.
2230 * src/view-box.c: (gl_view_box_new):
2231 Simplified gl_view_box_new() so that is does not duplicate code
2232 in update_canvas_item_from_object_cb().
2234 2006-02-07 Jim Evins <evins@snaught.com>
2236 * data/glade/object-editor.glade:
2237 Fixed color groups of color combos.
2239 Added default shadow color.
2240 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2241 Added shadow color group.
2243 2006-02-06 Jim Evins <evins@snaught.com>
2245 * src/object-editor-shadow-page.c:
2246 Forgot to add this file.
2247 * src/view-box.c: (gl_view_box_new),
2248 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2249 Update limits on shadow offset spinbuttons.
2251 2006-01-19 Jim Evins <evins@snaught.com>
2253 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2254 Initialize key_list to NULL.
2255 * data/glade/object-editor.glade:
2259 * src/label-object.c:
2260 * src/label-object.h:
2261 * src/object-editor-fill-page.c:
2262 * src/object-editor-private.h:
2263 * src/object-editor.c:
2264 * src/object-editor.h:
2266 Created infrastructure for shadow support.
2269 Initial shadow support in box object only.
2271 2006-01-05 Jim Evins <evins@snaught.com>
2273 * src/merge-properties-dialog.c: (src_changed_cb):
2274 Be extra paranoid before calling strcmp().
2275 * src/merge.c: (gl_merge_set_src):
2276 Don't make (merge == NULL) a critical error.
2278 2005-12-22 Jim Evins <evins@snaught.com>
2280 * src/glabels-batch.c: (main):
2281 Compile warning free with gcc 4.0.
2283 2005-12-21 Jim Evins <evins@snaught.com>
2286 Updated example RPM spec file.
2288 2005-12-21 Jim Evins <evins@snaught.com>
2292 Preparation for 2.1.2.
2294 2005-12-20 Jim Evins <evins@snaught.com>
2297 Define unique G_LOG_DOMAIN for glabels.
2298 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2299 * src/warning-handler.c: (gl_warning_handler_init),
2301 Register for G_LOG_DOMAIN instead of NULL.
2303 2005-12-10 Jim Evins <evins@snaught.com>
2305 * src/merge-evolution.c:
2306 * src/merge-vcard.c:
2309 2005-12-08 Jim Evins <evins@snaught.com>
2311 * libglabels/paper.c: (read_paper_files_from_dir):
2312 * libglabels/template.c: (gl_template_register),
2313 (read_template_files_from_dir):
2314 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2315 (gl_xml_paper_parse_papers_doc):
2316 * libglabels/xml-template.c:
2317 (gl_xml_template_read_templates_from_file),
2318 (gl_xml_template_parse_templates_doc),
2319 (gl_xml_template_parse_template_node),
2320 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2321 (xml_parse_label_cd_node), (xml_parse_layout_node),
2322 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2323 (xml_parse_markup_circle_node),
2324 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2325 * libglabels/xml.c: (gl_xml_get_prop_length):
2326 Re-classified g_warnings to g_messages.
2328 * src/glabels.c: (main):
2329 * src/warning-handler.c: (gl_warning_handler_init),
2331 * src/warning-handler.h:
2332 Added warning message handler to make sure the user is
2333 presented with appropriate non-fatal errors.
2334 * src/critical-error-handler.c: (critical_error_handler):
2335 Changed exit to abort.
2336 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2337 * src/bc-postnet.c: (postnet_code):
2338 * src/bc.c: (id_to_index), (name_to_index):
2339 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2340 * src/object-editor.c: (gl_object_notebook_construct_valist):
2341 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2342 * src/prefs.c: (gl_prefs_get_units_per_point),
2343 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2344 (gl_prefs_get_units_string):
2345 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2346 * src/splash.c: (gl_splash):
2347 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2348 * src/view-highlight.c: (gl_view_highlight_new),
2349 (highlight_resizable_box_construct), (object_changed_cb),
2350 (view_scale_changed_cb):
2351 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2352 (draw_markup_layer), (draw_markup_margin),
2353 (gl_view_object_create_mode), (canvas_event),
2354 (selection_received_cb):
2355 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2356 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2357 * src/xml-label-04.c: (gl_xml_label_04_parse),
2358 (xml04_parse_media_description), (xml04_parse_text_props),
2359 (xml04_parse_barcode_props):
2360 * src/xml-label-191.c: (gl_xml_label_191_parse),
2361 (xml191_parse_objects), (xml191_parse_object),
2362 (xml191_parse_text_props), (xml191_parse_image_props),
2363 (xml191_parse_barcode_props), (xml191_parse_data),
2364 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2365 (xml191_parse_markup):
2366 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2367 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2368 (xml_parse_object_text), (xml_parse_object_image),
2369 (xml_parse_object_barcode), (xml_parse_data),
2370 (xml_parse_toplevel_span), (gl_xml_label_save),
2371 (xml_create_objects):
2372 Re-classified g_warnings to g_messages.
2373 * src/merge-evolution.c: (gl_merge_evolution_open),
2374 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2375 Use g_warning to output errors encountered while
2376 communicating with the evolution data server
2377 instead of embedding them in the data.
2379 2005-12-08 Jim Evins <evins@snaught.com>
2381 * libglabels/libglabels-private.h:
2383 * libglabels/paper.c: (read_papers):
2384 * libglabels/template.c: (read_templates):
2385 Made appropriate warnings critical.
2387 * src/critical-error-handler.h:
2388 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2389 (critical_error_handler):
2390 Created critical error handler.
2391 * src/glabels.c: (main):
2392 Register critical error handler.
2393 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2394 * src/object-editor.c: (gl_object_editor_init):
2395 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2396 * src/template-designer.c: (gl_template_designer_init):
2397 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2398 Made appropriate warnings critical.
2400 2005-11-27 Jim Evins <evins@snaught.com>
2402 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2403 (gl_merge_evolution_get_primary_key),
2404 (gl_merge_evolution_get_record):
2405 Don't create "record_key" pseudo-key. Don't populate
2406 fields with null data.
2408 2005-11-25 Jim Evins <evins@snaught.com>
2410 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2411 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2412 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2414 Query EDS for all supported fields. Patch provided by
2415 Austin Henry <ahenry@users.sourceforge.net>.
2417 2005-10-29 Jim Evins <evins@snaught.com>
2419 * src/glabels.c: (main):
2420 * src/label-barcode.c: (gl_label_barcode_finalize):
2421 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2422 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2423 * src/object-editor.c: (gl_object_editor_finalize):
2424 Another pass at valgrinding -- plugged several memory leaks.
2425 * src/view-text.c: (gl_view_text_new),
2426 (update_canvas_item_from_object_cb), (draw_hacktext):
2427 Commented out artifacts of edit-in-place code.
2429 2005-10-28 Jim Evins <evins@snaught.com>
2431 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2432 Fixed use of uninitialized variable. Caught by
2433 d binderman <dcb314@hotmail.com>.
2435 2005-10-27 Jim Evins <evins@snaught.com>
2437 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2438 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2440 Additional cleanup of EDS and vcard backends. Provided by
2441 Austin Henry <ahenry@users.sourceforge.net>.
2443 2005-10-24 Jim Evins <evins@snaught.com>
2447 * src/merge-evolution.c:
2448 * src/merge-evolution.h:
2449 * src/merge-init.c: (gl_merge_init):
2450 * src/merge-properties-dialog.c: (type_changed_cb):
2451 * src/merge-vcard.c:
2452 * src/merge-vcard.h:
2453 * src/ui-commands.c: (gl_ui_cmd_help_about):
2454 Added Evolution Data Server and VCard merge backends. Original patch
2455 provided by Austin Henry <ahenry@users.sourceforge.net>.
2457 Only support EDS and VCard backends if libebook is installed. Allow
2458 user to disable support, even if installed.
2460 2005-10-24 Jim Evins <evins@snaught.com>
2463 * data/templates/avery-iso-templates.xml:
2464 * data/templates/avery-us-templates.xml:
2465 * data/templates/misc-iso-templates.xml:
2466 * data/templates/zweckform-iso-templates.xml:
2467 Collected all template changes and submissions since last
2470 2005-10-23 Jim Evins <evins@snaught.com>
2473 * data/mime/Makefile.am:
2474 Added configure options to disable update-mime-database and
2475 update-desktop-database as part of the install. Patch
2476 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2478 2005-10-23 Jim Evins <evins@snaught.com>
2481 * libglabels/xml.c: (gl_xml_get_prop_string),
2482 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2483 (gl_xml_is_node), (gl_xml_get_node_content):
2484 Added new XML utility functions.
2485 * libglabels/xml-paper.c:
2486 * libglabels/xml-template.c:
2488 Cleanup by using new xml utilities created above.
2489 * libglabels/paper.c: (gl_paper_free):
2490 * src/file.c: (new_response):
2491 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2492 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2493 (gl_pixbuf_cache_get_pixbuf):
2494 * src/ui-property-bar.c:
2495 (gl_ui_property_bar_construct_color_combo):
2496 * src/view-highlight.c: (gl_view_highlight_finalize):
2497 * src/view-image.c: (update_object_from_editor_cb):
2498 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2499 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2500 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2501 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2502 (draw_markup_margin_round), (draw_markup_margin_cd),
2503 (draw_markup_margin_cd_bc):
2504 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2505 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2506 Plugged various memory leaks located with valgrind.
2507 * src/view-image.c: (update_canvas_item_from_object_cb):
2508 Don't allow a width or height of zero when drawing pixbuf.
2510 2005-10-22 Jim Evins <evins@snaught.com>
2512 * libglabels/xml-paper.c:
2513 * libglabels/xml-template.c:
2516 * src/bc-gnubarcode.c:
2517 * src/canvas-hacktext.c:
2519 * src/object-editor-data-page.c:
2520 * src/print-dialog.c:
2523 * src/template-designer.c:
2525 * src/ui-property-bar.c:
2527 * src/view-barcode.c:
2529 * src/view-ellipse.c:
2534 * src/wdgt-media-select.c:
2535 * src/xml-label-04.c:
2536 * src/xml-label-191.c:
2538 Modified to compile warning free with gcc-4.0. Mostly
2539 casting to change signedness of characters. Did not
2540 attack gnu-barcode library yet.
2542 2005-10-22 Jim Evins <evins@snaught.com>
2544 * src/glabels.c: (main):
2545 * src/splash.c: (gl_splash):
2546 Removed some small memory leaks.
2550 2005-09-19 Jim Evins <evins@snaught.com>
2552 * data/glade/property-bar.glade:
2553 Remove items from font_family_combo. This prevents the
2554 double entry after adding text model and list of fonts.
2555 * src/ui-property-bar.c: (reset_to_default_properties):
2556 Free font_family_list.
2558 2005-07-01 Jim Evins <evins@snaught.com>
2561 Updated italian translation (Daniele Medri)
2563 2005-06-26 Jim Evins <evins@snaught.com>
2565 * docs/libglabels/libglabels-decl-list.txt:
2566 Somehow never got checked in before.
2567 * docs/libglabels/libglabels.types:
2568 Removed -- don't need it afterall.
2570 2005-06-20 Jim Evins <evins@snaught.com>
2573 Final prep for 2.1.1 release.
2575 2005-06-20 Jim Evins <evins@snaught.com>
2578 Final preps for 2.1.1 release.
2579 * docs/libglabels/libglabels.types:
2580 Somehow never got checked in before.
2582 Bring up-to-date with recent reorg of ui code.
2585 2005-06-19 Jim Evins <evins@snaught.com>
2587 * src/template-designer.c: (construct_layout_page):
2588 Removed attempt to match background color of mini preview widget to
2591 2005-06-17 Jim Evins <evins@snaught.com>
2593 * help/C/figures/merge-ex2-4.png:
2594 * help/C/glabels.xml:
2595 Fixed spelling error.
2597 2005-06-13 Jim Evins <evins@snaught.com>
2599 * help/C/figures/merge-ex1-1.png:
2600 * help/C/figures/merge-ex1-2.png:
2601 * help/C/figures/merge-ex1-3.png:
2602 * help/C/figures/merge-ex1-4.png:
2603 * help/C/figures/merge-ex2-1.png:
2604 * help/C/figures/merge-ex2-2.png:
2605 * help/C/figures/merge-ex2-3.png:
2606 * help/C/figures/merge-ex2-4.png:
2607 Added figures for document merge tutorial.
2608 * help/C/glabels.xml:
2609 Added document merge tutorial.
2611 2005-05-19 Jim Evins <evins@snaught.com>
2613 * data/glade/merge-properties-dialog.glade:
2614 Fixed irregular spacing.
2615 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2616 (gl_merge_properties_dialog_construct):
2617 Set outer padding and remove separator.
2619 2005-05-18 Jim Evins <evins@snaught.com>
2623 Removed glHigDialog class.
2624 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2625 (gl_file_properties), (create_properties_dialog_widgets):
2626 * src/prefs-dialog.h:
2627 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2628 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2629 * src/print-dialog.h:
2630 * src/prefs-dialog.h:
2631 * src/print-dialog.c: (gl_print_dialog_get_type),
2632 (gl_print_dialog_init), (gl_print_dialog_construct):
2633 Replaced all instances of glHigDialog with GtkDialog.
2635 2005-05-17 Jim Evins <evins@snaught.com>
2639 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2640 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2641 (save_as_response), (gl_file_close):
2642 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2644 2005-05-15 Jim Evins <evins@snaught.com>
2646 * src/ui-commands.h:
2654 A little code reformatting -- no functional changes.
2656 2005-05-14 Jim Evins <evins@snaught.com>
2659 Removed obsolete macros.
2661 Added marshalling template to support new view signal: "context_menu_activate."
2663 * src/view.c: (gl_view_class_init), (gl_view_construct),
2664 (canvas_event_arrow_mode):
2665 - Removed hardcoded context menus and added new signal "context_menu_activate"
2666 to push this up to the uimanager.
2667 - Removed merge properties and print dialogs so that they can be managed with
2668 the window by the uimanager.
2669 * src/merge-properties-dialog.h:
2670 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2671 (gl_merge_properties_dialog_construct):
2672 Changed calling convention of gl_merge_properties_dialog_new() to use
2673 glLabel and GtkWindow instead of view to make more consistent with other
2675 * src/print-dialog.h:
2676 * src/print-dialog.c: (gl_print_dialog_new),
2677 (gl_print_dialog_construct):
2678 Removed last artifact of libbonoboui.
2679 * src/ui-commands.c: (gl_ui_cmd_file_print),
2680 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2681 Reconciled style for launching dialogs.
2682 * src/ui.c: (gl_ui_new):
2683 Added context menus to ui manager.
2684 * src/view-object.c: (item_event_arrow_mode):
2685 No longer try to select objects with right-click.
2687 * src/window.c: (gl_window_init), (gl_window_set_label),
2688 (context_menu_activate_cb):
2689 Context menus and all dialogs are now managed in a consistent way in window
2692 2005-05-11 Jim Evins <evins@snaught.com>
2695 * src/window.c: (gl_window_init), (gl_window_destroy):
2696 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2697 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2698 Moved management of recent_view back from window.c to ui.c -- it just feels
2701 2005-05-10 Jim Evins <evins@snaught.com>
2704 * src/window.c: (gl_window_init):
2706 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2707 (menu_item_select_cb), (menu_item_deselect_cb):
2708 Added GtkStatusbar which displays menu tooltips.
2710 2005-05-09 Jim Evins <evins@snaught.com>
2712 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2717 Removed dependencies on libbonoboui.
2719 * data/ui/Makefile.am:
2720 * data/ui/glabels-ui.xml:
2721 Removed data/ui directory.
2722 * data/glade/Makefile.am:
2723 * data/property-bar.glade:
2724 Added glade description of property-bar for new libglade implementation
2731 * src/ui-commands.h:
2732 * src/ui-commands.c:
2733 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2734 since the distinction between "commands" and "tools" is no longer that clear.
2737 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2738 no longer has knowledge of eggRecent*.
2739 * src/glabels.c: (main):
2740 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2742 * src/object-editor.c: (gl_object_editor_init):
2743 Make sure notebook does not respond to a "show_all" on the parent.
2744 * src/recent-files/Makefile.am:
2745 * src/recent-files/*.[ch]
2746 Updated from latest version of libegg which now has a view based on
2747 GtkUIManager. Removed unused bonobo and gtk views.
2748 * src/ui-property-bar.h:
2749 * src/ui-property-bar.c:
2750 New implementation based on libglade.
2753 Sidebar is now simply a GtkWidget and does not expect to be a part of
2754 a libbonoboui interface.
2759 Converted for use with GtkUIManager.
2762 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2763 to create menus and toolbars.
2765 2005-04-25 Jim Evins <evins@snaught.com>
2767 * data/templates/misc-iso-templates.xml:
2768 Added Fellows 04715 template provided by Steve Saxon.
2770 Updated acknowledgement for above.
2772 2005-04-23 Jim Evins <evins@snaught.com>
2774 * src/util.c: (gl_util_combo_box_set_strings):
2775 Make sure to clear model before loading a new list of strings.
2776 * src/wdgt-media-select.h:
2777 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2778 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2779 (template_combo_changed_cb), (prefs_changed_cb),
2780 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2781 (gl_wdgt_media_select_get_page_size),
2782 (gl_wdgt_media_select_set_page_size):
2783 Replaced the deprecated GtkCombo widget with the new
2786 2005-04-21 Jim Evins <evins@snaught.com>
2788 * data/glade/template-designer.glade:
2789 * src/template-designer.c: (construct_pg_size_page),
2790 (pg_size_page_changed_cb), (build_template):
2791 Replaced the deprecated GtkCombo widget with the new
2794 2005-04-20 Jim Evins <evins@snaught.com>
2796 * data/glade/prefs-dialog.glade:
2797 * src/prefs-dialog.c: (construct_object_page),
2798 (update_object_page_from_prefs), (update_prefs_from_object_page):
2799 Replaced the deprecated GtkCombo widget with the new
2802 2005-04-19 Jim Evins <evins@snaught.com>
2804 * data/glade/object-editor.glade:
2805 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2806 (style_changed_cb), (gl_object_editor_set_bc_style),
2807 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2808 (gl_object_editor_get_bc_color):
2809 * src/object-editor-data-page.c:
2810 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2811 (gl_object_editor_get_data):
2812 * src/object-editor-edit-page.c:
2813 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2814 * src/object-editor-fill-page.c:
2815 (gl_object_editor_prepare_fill_page),
2816 (gl_object_editor_set_fill_color),
2817 (gl_object_editor_get_fill_color):
2818 * src/object-editor-image-page.c:
2819 (gl_object_editor_prepare_image_page),
2820 (gl_object_editor_set_image), (gl_object_editor_get_image):
2821 * src/object-editor-line-page.c:
2822 (gl_object_editor_prepare_line_page),
2823 (gl_object_editor_set_line_color),
2824 (gl_object_editor_get_line_color):
2825 * src/object-editor-private.h:
2826 * src/object-editor-text-page.c:
2827 (gl_object_editor_prepare_text_page),
2828 (gl_object_editor_set_font_family),
2829 (gl_object_editor_get_font_family),
2830 (gl_object_editor_set_text_color),
2831 (gl_object_editor_get_text_color):
2832 * src/object-editor.c: (gl_object_editor_set_key_names):
2834 In the object editor: replaced all instances of the deprecated
2835 GtkCombo widget with the new GtkComboBox.
2837 2005-04-18 Jim Evins <evins@snaught.com>
2840 Neglected to save this one in previous checkin to support
2843 2005-04-17 Jim Evins <evins@snaught.com>
2845 * libglabels/libglabels-private.h:
2846 * libglabels/paper.c:
2847 * libglabels/paper.h:
2848 * libglabels/template.c:
2849 * libglabels/template.h:
2850 * libglabels/xml-paper.c:
2851 * libglabels/xml-paper.h:
2852 * libglabels/xml-template.c:
2857 * src/bc-gnubarcode.c:
2868 * src/label-barcode.c:
2870 * src/label-ellipse.c:
2871 * src/label-image.c:
2872 * src/label-image.h:
2874 * src/label-object.c:
2878 * src/merge-properties-dialog.c:
2879 * src/object-editor-bc-page.c:
2880 * src/object-editor-data-page.c:
2881 * src/object-editor-edit-page.c:
2882 * src/object-editor-fill-page.c:
2883 * src/object-editor-image-page.c:
2884 * src/object-editor-line-page.c:
2885 * src/object-editor-lsize-page.c:
2886 * src/object-editor-position-page.c:
2887 * src/object-editor-private.h:
2888 * src/object-editor-size-page.c:
2889 * src/object-editor-text-page.c:
2890 * src/object-editor.c:
2891 * src/object-editor.h:
2892 * src/pixbuf-cache.h:
2893 * src/prefs-dialog.c:
2894 * src/prefs-dialog.h:
2895 * src/prefs-model.c:
2896 * src/prefs-model.h:
2898 * src/print-dialog.c:
2899 * src/print-dialog.h:
2907 * src/template-designer.c:
2908 * src/template-designer.h:
2911 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2917 * src/view-barcode.c:
2919 * src/view-ellipse.c:
2920 * src/view-highlight.c:
2921 * src/view-highlight.h:
2924 * src/view-object.c:
2925 * src/view-object.h:
2929 * src/wdgt-chain-button.c:
2930 * src/wdgt-media-select.c:
2931 * src/wdgt-media-select.h:
2932 * src/wdgt-mini-preview.c:
2933 * src/wdgt-mini-preview.h:
2934 * src/wdgt-print-copies.c:
2935 * src/wdgt-print-copies.h:
2936 * src/wdgt-print-merge.c:
2937 * src/wdgt-print-merge.h:
2938 * src/wdgt-rotate-label.c:
2939 * src/wdgt-rotate-label.h:
2942 * src/xml-label-04.c:
2943 * src/xml-label-191.c:
2945 Cleanup of header files:
2946 - all header files are now stand-alone, verified by including
2947 first in corresponding "c" files
2948 - replaced blanket includes of gnome, gtk, and glib with
2951 2005-04-16 Jim Evins <evins@snaught.com>
2953 * data/glade/Makefile.am:
2954 * data/glade/merge-properties-dialog.glade:
2955 Added merge properties dialog glade description file.
2956 * src/merge-properties-dialog.h:
2957 * src/merge-properties-dialog.c:
2958 (gl_merge_properties_dialog_get_type),
2959 (gl_merge_properties_dialog_init),
2960 (gl_merge_properties_dialog_finalize),
2961 (gl_merge_properties_dialog_new),
2962 (gl_merge_properties_dialog_construct), (type_changed_cb),
2963 (src_changed_cb), (response_cb), (load_tree),
2964 (record_select_toggled_cb), (select_all_button_clicked_cb),
2965 (unselect_all_button_clicked_cb):
2966 Modified merge properties dialog to use libglade. Added
2967 "select all" and "unselect all" buttons.
2968 * src/merge-text.c: (parse_line):
2969 Handle empty lines better.
2970 * src/merge.c: (gl_merge_eval_key):
2971 Evaluate the key whether the record is selected or not.
2973 * src/util.c: (gl_util_combo_box_add_text_model):
2974 Since libglade does not use the gtk_combo_box_new_text()
2975 constructor for GtkComboBoxes, a utility function was created
2976 to add an appropriate text model to a GtkComboBox.
2977 * src/view.c: (gl_view_edit_merge_props):
2978 Removed unnecessary "show all's".
2980 2005-04-15 Jim Evins <evins@snaught.com>
2983 Updated russian translation (Vitaly Lipatov)
2984 * data/templates/misc-iso-templates.xml:
2985 Added templates for russian business cards provided by Vitaly Lipatov.
2987 Updated acknowledgements for above.
2989 2005-04-15 Jim Evins <evins@snaught.com>
2991 * data/templates/avery-us-templates.xml:
2992 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2993 * data/templates/misc-iso-templates.xml:
2994 Added Ryman standard CD/DVD template, provided by Dan Clark.
2996 Added acknowledgements for above.
2998 2005-04-10 Jim Evins <evins@snaught.com>
3000 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3001 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
3002 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
3003 (xml_parse_label_cd_node), (xml_parse_alias_node):
3004 * libglabels/xml.c: (gl_xml_get_prop_double),
3005 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
3006 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
3007 * src/xml-label-04.c: (xml04_parse_media_description),
3008 (xml04_parse_text_props), (xml04_parse_barcode_props),
3009 (xml04_parse_merge_properties):
3010 * src/xml-label-191.c: (xml191_parse_object),
3011 (xml191_parse_text_props), (xml191_parse_barcode_props),
3012 (xml191_parse_merge_fields), (xml191_parse_pixdata),
3013 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
3014 (xml191_parse_alias):
3015 * src/xml-label.c: (xml_parse_object_text),
3016 (xml_parse_object_barcode), (xml_parse_merge_fields),
3017 (xml_parse_pixdata), (xml_parse_toplevel_span):
3018 Make sure to use xmlFree for anything obtained from libxml
3019 in case libxml and glib use different memory management
3022 2005-04-08 Jim Evins <evins@snaught.com>
3025 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
3026 (gl_util_combo_box_set_active_text):
3027 Added utility functions to simplify working with GtkComboBox
3029 * src/ui-property-bar.h:
3030 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
3031 (reset_to_default_properties), (update_text_properties),
3032 (font_family_changed_cb):
3033 Replaced deprecated GtkCombo with GtkComboBox.
3036 2005-04-03 Jim Evins <evins@snaught.com>
3039 * src/wdgt-image-select.h:
3040 * src/wdgt-image-select.c:
3041 Removed obsolete wdgt-image-select.[ch] files.
3042 * libglabels/paper.c: (gl_paper_dup):
3043 Fixed rename of parameter introduced during documentation
3045 * data/glade/object-editor.glade:
3046 * src/object-editor-image-page.c:
3047 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3048 (gl_object_editor_set_image), (gl_object_editor_get_image),
3049 (update_preview_cb), (add_image_filters_to_chooser):
3050 * src/object-editor-private.h:
3051 Replaced deprecated GnomePixmapEntry with
3052 GtkFileChooserButton.
3054 2005-04-02 Jim Evins <evins@snaught.com>
3056 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3057 (mygal_combo_box_popup_hide_unconditional),
3058 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3059 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3060 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3061 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3062 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3063 Renamed all internal gtk_combo functions to mygal_combo
3064 to prevent namespace confusion.
3066 2005-04-02 Jim Evins <evins@snaught.com>
3068 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3069 (cust_color_set), (color_palette_setup):
3070 * src/mygal/color-palette.h:
3071 Replaced deprecated GnomeColorPicker with GtkColorButton.
3073 2005-04-02 Jim Evins <evins@snaught.com>
3075 * docs/libglabels/libglabels-sections.txt:
3076 * docs/libglabels/libglabels-undocumented.txt:
3077 * docs/libglabels/tmpl/enums.sgml:
3078 * docs/libglabels/tmpl/paper.sgml:
3079 * docs/libglabels/tmpl/xml-paper.sgml:
3080 * docs/libglabels/tmpl/xml-template.sgml:
3081 * libglabels/enums.h:
3082 * libglabels/paper.c: (gl_paper_dup):
3083 * libglabels/paper.h:
3084 * libglabels/xml-paper.c:
3085 * libglabels/xml-template.c:
3086 More documentation updates for libglabels.
3088 2005-03-23 Jim Evins <evins@snaught.com>
3091 Automatically updated.
3096 * docs/libglabels/Makefile.am:
3097 * docs/libglabels/libglabels-docs.sgml:
3098 * docs/libglabels/libglabels-sections.txt:
3099 * docs/libglabels/libglabels-undocumented.txt:
3100 * docs/libglabels/tmpl/enums.sgml:
3101 * docs/libglabels/tmpl/libglabels-unused.sgml:
3102 * docs/libglabels/tmpl/libglabels.sgml:
3103 * docs/libglabels/tmpl/paper.sgml:
3104 * docs/libglabels/tmpl/template.sgml:
3105 * docs/libglabels/tmpl/xml-paper.sgml:
3106 * docs/libglabels/tmpl/xml-template.sgml:
3107 * docs/libglabels/tmpl/xml.sgml:
3108 Added basic gtk-doc stuff to support documenting libglabels
3111 Updated function comments with gtk-doc markup.
3115 2005-03-22 Jim Evins <evins@snaught.com>
3117 Since the development version now requires gtk-2.6/gnome-2.10, I
3118 have made a first pass at removing deprecations.
3121 * libglabels/Makefile.am:
3123 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3124 Also removed all remnants of HAVE_FILECHOOSER.
3125 * src/file.c: (gl_file_open_real):
3126 Removed code for old GtkFileSelection.
3127 * libglabels/libglabels-private.h:
3128 * libglabels/paper.c:
3129 * libglabels/template.c:
3130 * libglabels/xml-paper.c:
3131 * libglabels/xml-template.c:
3135 * src/glabels-batch.c:
3139 * src/merge-properties-dialog.c:
3141 * src/object-editor.c:
3142 * src/prefs-dialog.c:
3144 * src/print-dialog.c:
3147 * src/template-designer.c:
3148 * src/ui-property-bar.c:
3150 * src/view-barcode.c:
3152 * src/view-ellipse.c:
3157 * src/wdgt-image-select.c:
3158 * src/wdgt-media-select.c:
3159 * src/wdgt-print-copies.c:
3160 * src/wdgt-print-merge.c:
3161 * src/wdgt-rotate-label.c:
3163 * src/xml-label-04.c:
3164 * src/xml-label-191.c:
3166 Added '#include <glib/gi18n.h>" where needed.
3167 Removed any unused '#include <gnome.h>"s.
3169 2005-03-22 Jim Evins <evins@snaught.com>
3171 * src/commands.c: (activate_url), (gl_cmd_help_about):
3172 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3173 development version of glabels now depends on GTK 2.6 and
3176 Updated library dependencies.
3178 2005-02-28 Jim Evins <evins@snaught.com>
3181 * data/templates/misc-iso-templates.xml:
3182 Added 'Ednet 45021' template provided by Ali Akcaagac
3185 2005-02-14 Jim Evins <evins@snaught.com>
3187 * data/templates/avery-us-templates.xml:
3188 Updated templates to use inches instead of points.
3189 * src/print-dialog.c: (printer_page_new):
3190 Changed packing style when adding printer selector widget. This fixes
3193 2005-02-13 Jim Evins <evins@snaught.com>
3197 Updated spanish translations. (sergio rivadero)
3199 2005-02-05 Jim Evins <evins@snaught.com>
3201 Some cleanup to libglabels.
3204 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3205 * libglabels/libglabels.pc.in
3207 * libglabels/enums.h
3208 Created. Currently only contains glUnitsType which provides enumerations
3209 for all possible units of distance.
3210 * libglabels/Makefile.am:
3211 Incorporated new files enums.h and libglabels.pc[.in].
3212 * libglabels/libglabels.h:
3214 * libglabels/template.h:
3215 * libglabels/template.c: (gl_template_layout_new):
3216 Changed parameters nx and ny to gint from gdouble.
3218 * libglabels/xml.c: (gl_xml_get_prop_length),
3219 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3220 Added support for different output units.
3221 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3222 (update_prefs_from_locale_page):
3223 * src/prefs-model.c: (string_to_units), (units_to_string):
3224 * src/prefs-model.h:
3225 * src/prefs.c: (gl_prefs_get_units_per_point),
3226 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3227 (gl_prefs_get_units_string):
3229 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3230 Reconciled all length enumerations with the new enumerations provided
3231 in libglabels/enums.h.
3233 2005-02-03 Jim Evins <evins@snaught.com>
3236 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3238 Updated Italian translations. (Daniele Medri)
3240 Updated credits to reflect above translations.
3243 2005-01-22 Jim Evins <evins@snaught.com>
3248 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3250 Final prep for 2.1.0.
3252 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3254 Added '--remove-original' flag to desktop-file-install, so that there is
3255 only one menu entry.
3257 2005-01-20 Jim Evins <evins@snaught.com>
3259 * data/glade/object-editor.glade:
3260 - Font family entry should not be editable.
3261 - img_key_entry should have sensitivity=YES, so that it follows the
3262 sensitivity of img_key_combo.
3264 2005-01-19 Jim Evins <evins@snaught.com>
3267 Give credit to Frederic Ruaudel for the color merge patches.
3269 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3271 Add support to merge color for all other color attribute (Feature
3272 Requests item #1008635. If the data is invalid, the color used is transparent
3273 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3274 by gdk_color_parse() these include name for a color from rgb.txt, such as
3275 DarkSlateGray, or a hex specification such as #305050. File format has been
3276 changed but backward compatibility is preserved for all format. For
3277 box/ellipse/line, keep attribute "line_color" for static color or replace by
3278 "line_color_field" for merge data. For text/barcode objects, keep attribute
3279 "color" for static color or replace by "color_field" for merge data. In the
3280 edit canvas window, merged color are represented by half-transparent black
3283 * data/dtd/glabels-2.0.dtd:
3284 Added line_color_field to line_attrs. Added color_field to
3285 Object-barcode and Span.
3286 * data/glade/object-editor.glade:
3287 Modify the layout of the editor to add merge possibility to color options
3289 Fix a copy/paste error in a comment
3291 Add default color for merge color representation in the editor canvas.
3292 * src/label-barcode.c:
3293 * src/object-editor-bc-page.c:
3294 * src/view-barcode.c:
3295 Add merge color support for barcode color.
3298 Add merge color support for box border color.
3299 * src/label-ellipse.c:
3300 * src/view-ellipse.c:
3301 Add merge color support for ellipse border color.
3304 Add merge color support for line color.
3305 * src/label-object.c:
3306 * src/label-object.h:
3307 * src/object-editor.c:
3308 * src/object-editor.h:
3309 * src/ui-property-bar.c:
3312 * src/xml-label-04.c:
3313 * src/xml-label-191.c:
3314 Add support for merging to other color attribute.
3316 * src/object-editor-text-page.c:
3318 Add merge color support for text color.
3319 * src/object-editor-fill-page.c:
3320 Change a blocked handler that didn't match the good widget. Fix the type
3321 of some debug message.
3322 * src/object-editor-line-page.c:
3323 Add merging support to line color option.
3324 * src/object-editor-private.h:
3325 Add variables for new widget.
3327 Modify the draw functions to get merge data if needed.
3329 Change the default size of the window in order to see all widget in the
3330 "text style tab" of the editor.
3332 Modify the parser to record/retreive the field value for objects that need
3333 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3334 static color or replace by "line_color_field" for merge data. For
3335 text/barcode objects, keep attribute "color" for static color or replace
3336 by "color_field" for merge data.
3338 2005-01-17 Jim Evins <evins@snaught.com>
3340 * src/view.c: (screen_changed_cb):
3341 Don't do anything if we don't have a screen.
3343 2005-01-06 Jim Evins <evins@snaught.com>
3345 * src/view.c: (get_home_scale):
3346 Fixed bad call to gtk_widget_has_screen() -- huh?.
3348 2005-01-06 Jim Evins <evins@snaught.com>
3350 * data/dtd/glabels-2.0.dtd:
3351 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3354 2005-01-06 Jim Evins <evins@snaught.com>
3356 * data/glade/object-editor.glade:
3357 Set entries for fill and data field key dropdowns to NOT editable.
3358 * src/view-box.c: (construct_properties_editor):
3359 * src/view-ellipse.c: (construct_properties_editor):
3360 Update object editor when label's merge property has changed.
3361 * src/xml-label.c: (xml_parse_object_ellipse):
3362 Completed the merge color support for the ellipse item.
3364 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3366 Add support to merge color for object that have a "Fill color" attribute (Feature
3367 Requests item #1008635. If the data is invalid, the color used is transparent
3368 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3369 by gdk_color_parse() these include name for a color from rgb.txt, such as
3370 DarkSlateGray, or a hex specification such as #305050. File format has been
3371 changed but backward compatibility is preserved for all format. For box/ellipse,
3372 keep attribute "fill_color" for static color or replace by "fill_color_field"
3375 * data/glade/object-editor.glade:
3376 Modify "Fill" tab to add the merge key combo and convert the labels into
3380 Add "glColorNode" structure and associated functions to manage it. This
3381 structure is equivalent for color than the "glTextNode". It holds the color
3383 * src/label-object.h:
3384 * src/label-object.c:
3386 * src/label-ellipse.c:
3387 * src/ui-property-bar.c:
3391 * src/view-ellipse.c:
3392 * src/xml-label-04.c:
3393 * src/xml-label-191.c:
3394 Change functions of objects that have a "fill color" attribute to use the
3395 new "glColorNode" structure. Use barcode code as example.
3397 Add the color.[ch] file to glabels_batch binary that now need support for
3399 * src/object-editor.h:
3400 * src/object-editor.c:
3401 * src/object-editor-fill-page.c:
3402 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3403 to choose between static color or merge key. Use barcode code as example.
3404 * src/object-editor-private.h:
3405 Add new widget in the "_glObjectEditorPrivate" structure.
3407 Modify the draw functions to get merge data if needed.
3409 Modify the parser to record/retreive the field value for objects that need
3410 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3411 color or "fill_color_field" for merge data.
3413 2005-01-04 Jim Evins <evins@snaught.com>
3416 * data/templates/avery-iso-templates.xml:
3417 * data/templates/misc-iso-templates.xml:
3418 * data/templates/misc-us-templates.xml:
3419 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3422 2004-11-26 Jim Evins <evins@snaught.com>
3426 Updated french translations provided by Florent Morel <florent@taket.org>.
3427 * src/view-barcode.c:
3429 * src/view-ellipse.c:
3433 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3434 thus _() strings were not being translated.
3436 2004-11-14 Jim Evins <evins@snaught.com>
3439 * src/debug.c: (gl_debug_init), (gl_debug):
3440 Borrowed from gedit: use environmental variables to select debug
3443 Removed unused include of debug.h.
3444 * src/glabels.c: (main):
3445 Added call to gl_debug_init(), and removed debug clutter from command line
3447 * src/glabels-batch.c: (main):
3448 Added call to gl_debug_init().
3450 2004-11-13 Jim Evins <evins@snaught.com>
3452 Drawing and property toolbars were being initialized with the "icons and text"
3453 look in Fedora Core 3. Even though none of the buttons had any text attached to
3454 them, the buttons were being sized as if they were. This led to less real estate
3455 for the property editor, leading to Bug #1064630. The
3457 * data/ui/glabels-ui.xml:
3458 Added explicit "look" property to both drawing and property toolbars.
3459 * src/prefs-model.c: (gl_prefs_model_save_settings),
3460 (gl_prefs_model_load_settings):
3461 * src/prefs-model.h:
3462 Removed drawing_toolbar_button_style configuration parameter.
3463 * src/ui.c: (view_menu_item_toggled_cb),
3464 (set_app_drawing_toolbar_style):
3465 Do not attempt to adjust look property of the drawing toolbar.
3467 2004-10-28 Jim Evins <evins@snaught.com>
3469 * data/pixmaps/glabels-about-logo.png:
3472 2004-10-28 Jim Evins <evins@snaught.com>
3474 * data/man/glabels.1:
3475 * src/glabels-batch.c: (main):
3477 * src/print.c: (gl_print_batch):
3479 Added option to glabels-batch to select the first label to begin
3482 2004-09-26 Jim Evins <evins@snaught.com>
3484 * data/desktop/glabels.desktop.in:
3485 Point to app icon, "glabels.png"
3486 * data/mime/glabels.keys.in:
3487 Point at mime icon, "glabels-application-x-glabels.png"
3488 * data/pixmaps/Makefile.am:
3489 Added glabels_app_icondir. Renamed icons.
3490 * data/pixmaps/glabels.png:
3491 New cleaned up app icon. Deleted glabels-icon.png.
3492 * data/pixmaps/glabels-application-x-glabels.png:
3494 * data/pixmaps/glabels-splash.png:
3495 Renamed glabels-logo to glabels-splash to be more correct about role.
3497 * src/template-designer.c:
3498 Point at app icon, "glabels.png"
3500 Point at renamed splash image, "glabels-splash.png"
3502 2004-08-22 Jim Evins <evins@snaught.com>
3505 * src/glabels-batch.c: (main):
3506 Applied patch with minor mods to allow selecting merge source and
3507 crop-marks on glabels-batch's command line. Original patch provided by
3508 José Dapena Paz <jdapena@igalia.com>.
3510 2004-08-15 Jim Evins <evins@snaught.com>
3512 * data/desktop/glabels.desktop.in:
3513 - Added encoding line
3514 - Removed period from comment
3515 - Fixed Terminal line, changed "0" to "false"
3516 - Added semicolen to Categories line
3518 - Made sure desktop.in comment string above still translated properly
3520 2004-08-14 Jim Evins <evins@snaught.com>
3522 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3523 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3524 * src/xml-label-191.c: (xml191_parse_sheet):
3525 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3527 Reconciled libglabels versioning with 2.0.1.
3530 2004-08-14 Jim Evins <evins@snaught.com>
3533 Updated version to 2.1cvs.
3535 2004-08-14 Jim Evins <evins@snaught.com>
3538 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3540 2004-08-14 Jim Evins <evins@snaught.com>
3542 Fixes for Bug #1008181.
3544 * src/bc.c: (gl_barcode_default_digits):
3545 Make a format of zero digits, harmless.
3546 * src/xml-label.c: (xml_parse_object_barcode):
3547 Set default value of the format property of barcode objects to 10, not
3548 zero. This will prevent crashes when reading pre 2.0.x files.
3550 2004-08-09 Jim Evins <evins@snaught.com>
3554 * help/C/glabels-C.omf:
3555 * help/C/glabels.xml:
3556 Brought documentation up-to-date for 2.0.0 release.
3558 2004-08-09 Jim Evins <evins@snaught.com>
3560 These are hopefully the final preparations for 2.0.0.
3562 * data/mime/Makefile.am:
3563 Include glabels.xml in EXTRA_DIST.
3565 - Updated comment style.
3566 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3567 - Added package and version info to configuration printout
3568 - Update version to 2.0.0
3569 * libglabels/Makefile.am:
3570 Use the new LIBGLABELS_VERSION_INFO macro.
3572 2004-08-09 Jim Evins <evins@snaught.com>
3576 Cleanup of required library macros.
3578 2004-08-08 Jim Evins <evins@snaught.com>
3582 - More specific of what to install in /usr/bin and /usr/lib
3583 - Remove built mime registration files from staging directory
3585 2004-08-08 Jim Evins <evins@snaught.com>
3587 * data/mime/Makefile.am:
3588 Fixed typo: key_files should have been keys_files.
3590 2004-08-08 Jim Evins <evins@snaught.com>
3592 Reorganization of runtime data files. Also added registration of mimetype with
3593 new freedesktop.org mime database if available.
3596 Moved files to appropriate subdirectories, creating local Makefile.am
3597 in each subdirectory.
3598 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3599 These are now installed at $datadir/glabels/templates.
3600 - Moved glabels.1 to man subdirectory.
3601 - Moved glabels-2.0.dtd to dtd subdirectory.
3602 - Moved glabels.desktop.in to desktop subdirectory.
3603 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3605 Moved "./pixmaps" to "./data/pixmaps"
3607 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3609 Moved libglade files from src to data/glade. Created Makefile.am.
3611 Removed pixmaps from SUBDIRS.
3613 - Removed pixmaps from makefiles.
3614 - Added makefiles for new subdirs of data.
3615 - Added tests for freedesktop.org mime database.
3617 - Added tests for freedesktop.org mime database for post install and
3618 post un-install actions.
3619 * libglabels/Makefile.am:
3620 Moved system template files to $(datadir)/glabels/templates.
3621 * libglabels/libglabels-private.h:
3622 Moved system template files to $(datadir)/glabels/templates.
3624 - Accounted for movement of ui and libglade files.
3625 - Added missing .in files.
3626 - Reorganized by directory.
3628 Accounted for movement of ui and libglade files.
3629 * data/mime/glabels.xml.in:
3630 New file for registering with freedesktop.org mime database.
3632 2004-08-07 Jim Evins <evins@snaught.com>
3634 * src/recent-files/*:
3635 Re-synced to latest libegg/recent-files.
3637 2004-08-07 Jim Evins <evins@snaught.com>
3642 Renamed "./doc" directory to "./help" which contains user documentation,
3643 to be more consistent with other GNOME applications.
3646 2004-07-26 Jim Evins <evins@snaught.com>
3648 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3649 Corrected button order of merge properties dialog.
3651 2004-07-18 Jim Evins <evins@snaught.com>
3653 * data/glabels-2.0.dtd:
3654 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3655 (gl_barcode_get_prefered_n):
3657 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3658 (gl_label_barcode_get_props), (get_size):
3659 * src/label-barcode.h:
3660 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3661 (style_changed_cb), (gl_object_editor_set_bc_style),
3662 (gl_object_editor_get_bc_style):
3663 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3664 (gl_object_editor_set_data), (gl_object_editor_get_data):
3665 * src/object-editor-private.h:
3666 * src/object-editor.c: (gl_object_editor_set_key_names):
3667 * src/object-editor.glade:
3668 * src/object-editor.h:
3669 * src/print.c: (draw_barcode_object):
3670 * src/view-barcode.c: (update_object_from_editor_cb),
3671 (update_editor_from_object_cb),
3672 (gl_view_barcode_create_event_handler), (draw_barcode):
3673 * src/xml-label-04.c: (xml04_parse_barcode_props):
3674 * src/xml-label-191.c: (xml191_parse_barcode_props):
3675 * src/xml-label.c: (xml_parse_object_barcode),
3676 (xml_create_object_barcode):
3677 Added "format" attribute to barcode objects. This attribute is used
3678 to properly format freeform barcodes barcodes prior to merge data is
3679 applied, so that barcodes can be accurately layed out. This addresses
3680 remaining issues of feature request #824787. Also added an example of
3681 the format in the object editor.
3683 2004-07-12 Jim Evins <evins@snaught.com>
3685 Various code cleanups.
3687 * src/label-barcode.c:
3688 Removed unneeded include of gnome-glyphlist.h.
3690 * src/label-text.c: (get_size):
3691 Fixed memory leak: unref glyphlists when done with them.
3693 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3694 * src/object-editor-data-page.c:
3695 (gl_object_editor_prepare_data_page):
3696 * src/object-editor-image-page.c:
3697 (gl_object_editor_prepare_image_page):
3698 * src/object-editor-line-page.c:
3699 (gl_object_editor_prepare_line_page):
3700 * src/object-editor-lsize-page.c:
3701 (gl_object_editor_prepare_lsize_page):
3702 * src/object-editor-position-page.c:
3703 (gl_object_editor_prepare_position_page):
3704 * src/object-editor-size-page.c:
3705 (gl_object_editor_prepare_size_page):
3706 * src/object-editor-text-page.c:
3707 (gl_object_editor_prepare_text_page):
3708 Removed unneeded size groups, originally intended to keep widgets aligned.
3709 Now use tables to lay these out in object-editor.glade.
3711 * src/print.c: (draw_text_object):
3712 Fixed memory leak: unref glyphlists when done with them.
3714 * src/view-barcode.c: (draw_barcode):
3715 Fixed memory leak: unref glyphlists when done with them.
3717 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3718 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3720 - Fixed memory leak: unref glyphlists when done with them.
3722 2004-07-11 Jim Evins <evins@snaught.com>
3724 * data/glabels-2.0.dtd:
3725 * src/label-text.c: (gl_label_text_instance_init), (copy),
3726 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3728 * src/object-editor-private.h:
3729 * src/object-editor-text-page.c:
3730 (gl_object_editor_prepare_text_page),
3731 (gl_object_editor_set_text_auto_shrink),
3732 (gl_object_editor_get_text_auto_shrink):
3733 * src/object-editor.c: (gl_object_editor_set_key_names):
3734 * src/object-editor.glade:
3735 * src/object-editor.h:
3736 * src/print.c: (draw_text_object):
3737 * src/view-text.c: (update_object_from_editor_cb),
3738 (update_editor_from_object_cb):
3739 * src/xml-label.c: (xml_parse_object_text),
3740 (xml_create_object_text):
3741 Added option to allow document merge to auto shrink text size to fit
3742 within the text box. The code in print.c that actually shrinks the
3743 text is loosely based on a patch submitted by Mark Harrison
3744 <mark.harrison@velocitynet.com.au>. This addresses feature request
3747 2004-07-11 Jim Evins <evins@snaught.com>
3749 * data/glabels-2.0.dtd:
3750 * libglabels/template.c: (gl_template_rect_label_type_new),
3751 (gl_template_round_label_type_new),
3752 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3753 (template_full_page):
3754 * libglabels/template.h:
3755 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3756 (xml_create_label_node):
3757 * pixmaps/ex-rect-size.png:
3758 * src/print.c: (clip_to_outline), (clip_punchouts):
3759 * src/template-designer.c: (construct_rect_size_page),
3760 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3762 * src/template-designer.glade:
3763 * src/xml-label-191.c: (xml191_parse_label):
3764 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3765 properties for rectangular labels. Templates remain backwards compatible,
3766 but this breaks the libglabels API (I don't know of anyone outside of
3767 glabels using libglabels at this time -- what can I say, the program is
3768 is still "unstable"). This addresses the suggestion in Feature Request
3771 2004-07-05 Jim Evins <evins@snaught.com>
3772 * src/print.c: (print_crop_marks), (draw_outline):
3773 Changed crop marks and label outlines to black, instead of 25% gray.
3774 This addresses debian Bug #257460.
3776 2004-07-05 Jim Evins <evins@snaught.com>
3778 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3779 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3780 Preserve "is_default" of fill and line color_combos when creating from
3783 2004-07-02 Jim Evins <evins@snaught.com>
3786 Created man page. Based on page submitted by Matthew J. Lockner, however
3787 it has been severely edited.
3789 * data/avery-other-templates.xml
3790 * data/misc-other-templates.xml:
3791 Started new files for predefined templates with non-standard sheet sizes.
3792 These have been initially populated with the Avery 06141 and
3793 OfficeMax #86112, both provided by Matthew J. Lockner.
3796 Install above manpage and template files.
3799 Make sure we install man pages.
3801 * src/glabels-batch.c:
3802 Changed short form of help option to '-?' to be consistent with glabels.
3805 Added acknowledgement for above labels.
3807 2004-07-02 Jim Evins <evins@snaught.com>
3809 * src/glabels.c: (main), (save_session_cb):
3810 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3812 - save_session_cb() now returns gboolean.
3813 - Minor formatting changes.
3817 - Now include file.h to provide missing prototype.
3818 - gl_window_get_type() now returns GType, not guint. I believe this may
3819 ultimately be cause of the segfault reported in Bug #982287, since
3820 GType is actually a gulong, which may not be compatible on other
3821 architectures (64bit) -- I cannot personally test this at this time.
3822 I was sloppy in several other xxx_get_type() functions which also
3823 returned guint -- see next group of files:
3825 * src/window.c: (gl_window_get_type):
3826 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3827 * src/canvas-hacktext.h:
3828 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3829 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3830 (gl_hig_hbox_get_type):
3832 * src/label-barcode.c: (gl_label_barcode_get_type):
3833 * src/label-barcode.h:
3834 * src/label-box.c: (gl_label_box_get_type):
3836 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3837 * src/label-ellipse.h:
3838 * src/label-image.c: (gl_label_image_get_type):
3839 * src/label-image.h:
3840 * src/label-line.c: (gl_label_line_get_type):
3842 * src/label-object.c: (gl_label_object_get_type):
3843 * src/label-object.h:
3844 * src/label-text.c: (gl_label_text_get_type):
3846 * src/label.c: (gl_label_get_type):
3848 * src/merge-properties-dialog.c:
3849 (gl_merge_properties_dialog_get_type):
3850 * src/merge-properties-dialog.h:
3851 * src/merge-text.c: (gl_merge_text_get_type):
3853 * src/merge.c: (gl_merge_get_type):
3855 * src/object-editor.c: (gl_object_editor_get_type):
3856 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3857 * src/prefs-dialog.h:
3858 * src/prefs-model.c: (gl_prefs_model_get_type):
3859 * src/prefs-model.h:
3860 * src/print-dialog.c: (gl_print_dialog_get_type):
3861 * src/print-dialog.h:
3862 * src/template-designer.c: (gl_template_designer_get_type):
3863 * src/template-designer.h:
3864 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3865 * src/ui-property-bar.h:
3866 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3868 * src/view-barcode.c: (gl_view_barcode_get_type):
3869 * src/view-barcode.h:
3870 * src/view-box.c: (gl_view_box_get_type):
3872 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3873 * src/view-ellipse.h:
3874 * src/view-highlight.c: (gl_view_highlight_get_type):
3875 * src/view-highlight.h:
3876 * src/view-image.c: (gl_view_image_get_type):
3878 * src/view-line.c: (gl_view_line_get_type):
3880 * src/view-object.c: (gl_view_object_get_type):
3881 * src/view-object.h:
3882 * src/view-text.c: (gl_view_text_get_type):
3884 * src/view.c: (gl_view_get_type):
3886 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3887 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3888 * src/wdgt-image-select.h:
3889 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3890 * src/wdgt-media-select.h:
3891 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3892 * src/wdgt-mini-preview.h:
3893 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3894 * src/wdgt-print-copies.h:
3895 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3896 * src/wdgt-print-merge.h:
3897 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3898 * src/wdgt-rotate-label.h:
3899 - Made sure all xxx_get_type functions returned GType, not guint. This
3900 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3901 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3902 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3903 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3904 window.[ch] details above for more info.
3905 - Reconciled various coding style differences in all xxx_get_type()
3907 * All prototypes include G_GNUC_CONST.
3908 * All prototypes specify the return value as GType, not GtkType
3910 * Info structures are all declared as "static const."
3911 * Generalized the names of type and info variables.
3912 * Miscelaneous formatting.
3914 2004-06-08 Jim Evins <evins@snaught.com>
3920 Don't touch compression of original file -- still defaults to 9 for
3921 new files. Original patch provided by Javier Donaire Segarra
3922 (#912252 in patch tracker).
3924 2004-05-05 Jim Evins <evins@snaught.com>
3926 * data/glabels-2.0.dtd:
3927 Broke DTD previously when adding new barcode types that contain a
3928 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3929 to avoid the problem.
3930 * data/avery-iso-templates.xml:
3931 * data/zweckform-iso-templates.xml:
3933 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3934 provided by Frank Altpeter.
3935 * libglabels/xml-template.c: (xml_create_label_node):
3936 Reordered markup and layout sub-nodes so that resulting templates will
3937 validate against DTD.
3939 2004-03-13 Jim Evins <evins@snaught.com>
3941 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3942 Changed spin callback signals from "value-changed" back to "changed."
3943 This was accidentally introduced in a previous revision, and can cause
3944 size changes just by selecting the size tab.
3946 2004-03-06 Jim Evins <evins@snaught.com>
3948 * src/view.c: (draw_grid_layer):
3949 For round labels (round and cd) adjust grid so that it lines up with
3950 center of label. Also, no longer draw box around label in the grid layer,
3951 it is hidden by he fg layer anyway. Feature suggested by
3952 nemolivier@free.fr. Although the grid is aligned with the center of the
3953 label, the coordinate system is still relative to the upper left corner
3954 of the rectangle containing the label.
3956 2004-02-25 Jim Evins <evins@snaught.com>
3959 Changed version to 2.0pre1cvs
3961 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3962 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3963 instead of doc->name fields when errors encountered.
3965 2004-02-21 Jim Evins <evins@snaught.com>
3967 * data/avery-iso-templates.xml:
3968 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3971 Added libglabels library and include file to installed files.
3974 Final prep for 1.93.3.
3976 2004-02-20 Jim Evins <evins@snaught.com>
3978 * src/glabels-batch.c: (main):
3979 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3980 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3982 2004-02-16 Jim Evins <evins@snaught.com>
3985 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3988 Added HAVE_FILE_CHOOSER to INCLUDES.
3990 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3991 (gl_file_save_as), (save_as_response):
3992 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3994 2004-02-16 Jim Evins <evins@snaught.com>
3996 * src/xml-label-04.c: (xml04_parse_image_props):
3997 * src/xml-label-191.c: (xml191_parse_image_props):
3998 * src/xml-label.c: (xml_parse_object_image):
3999 Delay setting image size until after image has been applied to new
4002 2004-02-15 Jim Evins <evins@snaught.com>
4004 * src/label-barcode.c: (gl_label_barcode_set_data),
4005 (gl_label_barcode_set_props):
4006 Don't emit "changed" signal, if no change actually made for these
4007 methods. Reduces number of unnecessary redraws of barcodes.
4009 * src/label-object.h:
4010 * src/label-object.c: (gl_label_object_set_position),
4011 (gl_label_object_set_position_relative), (set_size),
4012 (gl_label_object_set_size),
4013 (gl_label_object_set_size_honor_aspect):
4014 Don't emit "changed" signal, if no change actually made for these
4017 2004-02-15 Jim Evins <evins@snaught.com>
4019 * data/glabels-2.0.dtd:
4020 Added specific subtypes for various barcode types.
4023 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
4024 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
4025 (gl_barcode_can_text), (gl_barcode_text_optional),
4026 (gl_barcode_can_csum), (gl_barcode_csum_optional),
4027 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
4028 Changed API to use a string id, rather than a fixed enumeration. Id and
4029 name are separate strings. Added entries to backend table for specific
4030 subtypes for various barcode types.
4033 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4035 Modified to conform to above API. Now more stringent with data length
4036 for various subtypes.
4038 * src/bc-gnubarcode.h:
4039 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4040 (is_length_valid), (is_length1_valid), (is_length2_valid):
4041 Modified to conform to above API. Now more stringent with data length
4042 for various subtypes.
4044 * src/label-barcode.h:
4045 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4046 (gl_label_barcode_get_props), (get_size):
4047 Modified to use above API for storing barcode type.
4049 * src/object-editor.h:
4050 * src/object-editor-bc-page.c: (style_changed_cb),
4051 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4052 Modified to use above API for storing barcode type.
4054 * src/object-editor-size-page.c:
4055 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4056 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4057 Added debug markers.
4059 * src/object-editor.glade:
4060 Made barcode style combo's text entry non-editable.
4062 * src/print.c: (draw_barcode_object):
4063 Modified to use above API for barcode type.
4065 * src/view-barcode.c: (update_object_from_editor_cb),
4066 (update_editor_from_object_cb),
4067 (gl_view_barcode_create_event_handler), (draw_barcode):
4068 Modified to use above API for barcode type.
4070 * src/xml-label-04.c: (xml04_parse_barcode_props):
4071 * src/xml-label-191.c: (xml191_parse_barcode_props):
4072 * src/xml-label.c: (xml_parse_object_barcode),
4073 (xml_create_object_barcode):
4074 Modified to use above API for barcode type.
4076 2004-02-07 Jim Evins <evins@snaught.com>
4078 * src/stock-pixmaps/Makefile.am:
4079 * src/stock-pixmaps/stock_hchain_24.png:
4080 * src/stock-pixmaps/stock_hchain_broken_24.png:
4081 * src/stock-pixmaps/stock_vchain_24.png:
4082 * src/stock-pixmaps/stock_vchain_broken_24.png:
4083 Added chain pixmaps borrowed from the gimp's default theme.
4086 * src/stock.c: (gl_stock_init), (add_button_icon):
4087 Added above pixmaps to stock icon sets. Created add_button_icon() to
4088 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4090 * src/wdgt-chain-button.h
4091 * src/wdgt-chain-button.c
4094 Added this Modified version of gimpchainbutton widget, borrowed from
4098 Added acknowledgements of the above borrowing from the gimp.
4100 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4102 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4103 * src/object-editor.glade:
4104 Replaced the keep aspect ratio check box with the above chain-button
4107 * src/text-node.c: (gl_text_node_equal):
4109 Added function gl_text_node_equal() to compare text_nodes.
4111 * src/label-image.c: (gl_label_image_set_filename):
4112 Replaced incomplete text_node comparison code with invocation of
4113 gl_text_node_equal. This fixed the problem of not being able to
4114 resize an image using the object_editor if the aspect ratio is not
4117 2004-02-04 Jim Evins <evins@snaught.com>
4119 * src/object-editor-image-page.c:
4120 (gl_object_editor_prepare_image_page):
4121 Track "changed" signal of pixmap entry's GtkEntry rather than its
4122 "activate" signal -- this catches all changes to the entry rather than
4123 just changes resulting from a browse, so one can easily pull previous
4124 entries from the history. (This change is marked below on 2004-02-03,
4125 but somehow never got checked in.)
4127 * src/view-highlight.c: (sl_resize_event_handler),
4128 (sr_resize_event_handler), (st_resize_event_handler),
4129 (sb_resize_event_handler):
4130 Side resize handles will now confirm the actual resize that the object
4131 accepted before adjusting position parameters. Previously some interesting
4132 things happened when resizing a barcode to its minimum size.
4134 2004-02-03 Jim Evins <evins@snaught.com>
4136 * src/object-editor-image-page.c:
4137 (gl_object_editor_prepare_image_page):
4138 Track "changed" signal of pixmap entry's GtkEntry rather than its
4139 "activate" signal -- this catches all changes to the entry rather than
4140 just changes resulting from a browse, so one can easily pull previous
4141 entries from the history.
4143 * src/view-highlight.c: (tl_resize_event_handler),
4144 (tr_resize_event_handler), (bl_resize_event_handler),
4145 (br_resize_event_handler):
4146 Allow control key to be dropped while dragging a corner resize handle
4147 without losing the aspect ratio lock.
4149 2004-02-02 Jim Evins <evins@snaught.com>
4151 * src/label-image.c: (gl_label_image_set_filename):
4152 When setting a new filename adjust size such that the aspect ratio of
4153 the image is preserved using the current size as a bounding box.
4155 * src/view-image.c: (update_object_from_editor_cb):
4156 When updating object from editor, feed back possible size changes to
4157 editor as a result of a possible change in image.
4159 * src/object-editor-size-page.c: (size_reset_cb):
4160 Fixed typo when blocking spin handlers. If the base size is larger than
4161 the max size, treat max size as a bounding box while keeping aspect
4165 2004-02-02 Jim Evins <evins@snaught.com>
4167 * src/label-object.h:
4168 * src/label-object.c: (gl_label_object_set_size),
4169 (gl_label_object_set_size_honor_aspect):
4170 Added gl_label_object_set_size_honor_aspect() which will maintain the
4171 current aspect ratio by modifying the supplied w or h apropriately.
4173 * src/view-highlight.c: (tl_resize_event_handler),
4174 (tr_resize_event_handler), (bl_resize_event_handler),
4175 (br_resize_event_handler):
4176 Corner handles will now maintain the current aspect ratio if the
4177 control key is pressed while resizing. This addresses feature
4181 2004-01-31 Jim Evins <evins@snaught.com>
4184 * data/avery-us-templates.xml:
4185 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4187 * libglabels/template.c: (read_template_files_from_dir):
4188 Corrected problem with testing for extensions.
4190 * src/object-editor.glade:
4191 Corrected grouping of radio buttons in barcode data page.
4193 * src/print.c: (draw_barcode_object):
4194 * src/view-barcode.c: (draw_barcode):
4195 Corrected problem with calculation of y_offset for locating characters.
4197 2004-01-24 Jim Evins <evins@snaught.com>
4200 * data/avery-us-templates.xml:
4201 Added Avery 5824, submitted by Fred Bacon.
4203 2004-01-20 Jim Evins <evins@snaught.com>
4205 Catching up on a couple of backlogged user template submissions.
4207 * data/avery-iso-templates.xml:
4208 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4209 Suggested by Linas Jakucionis.
4211 * data/zweckform-iso-templates.xml:
4212 Added Zweckform 4760, submitted by Thomas Vill.
4215 Updated to reflect above submissions.
4217 2004-01-06 Jim Evins <evins@snaught.com>
4219 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4220 xml.[ch] into a separate library called libglabels, to facilitate third
4221 party use of glabels template files. This was suggested by Wayne Schuller.
4222 Once split-out, some modifications to the structures and functions to
4223 make a cleaner more useful API, hopefully. Rather extensive changes have
4224 propogated to other modules.
4232 * src/xml-template.h:
4233 * src/xml-template.c:
4236 These files have been moved to libglabels/. API cleanup performed.
4238 * libglabels/libglabels.h:
4239 * libglabels/libglabels-private.h:
4240 * libglabels/Makefile.am:
4241 These files have been added to finish out libglabels.
4248 Modified to reflect new sets of files in src/ and libglabels/.
4250 * COPYING.LIBGLABELS:
4252 Added copy of the LGPL for libglabels, and a copy the GFDL for
4255 * src/glabels-batch.c:
4257 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4258 (gl_label_get_size):
4260 * src/prefs-model.c: (gl_prefs_model_load_settings):
4261 * src/print-dialog.c:
4262 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4263 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4264 (print_crop_marks), (print_label), (draw_outline),
4265 (clip_to_outline), (clip_punchouts):
4266 * src/template-designer.c: (construct_pg_size_page),
4267 (pg_size_page_changed_cb), (layout_page_changed_cb),
4268 (print_test_cb), (build_template):
4269 * src/util.c: (gl_util_fraction):
4271 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4272 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4273 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4274 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4275 (draw_markup_margin_round), (draw_markup_margin_cd),
4276 (draw_markup_margin_cd_bc), (draw_markup_line),
4277 (draw_markup_circle), (gl_view_copy):
4278 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4279 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4280 (get_label_size_desc):
4281 * src/wdgt-mini-preview.c:
4282 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4284 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4285 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4286 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4287 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4288 * src/wdgt-rotate-label.h:
4289 * src/xml-label-04.c: (xml04_parse_media_description):
4290 * src/xml-label-191.c: (gl_xml_label_191_parse),
4291 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4292 (xml191_parse_markup), (xml191_parse_alias):
4293 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4295 Various changes to accomodate new libglabels API.
4297 2004-01-03 Jim Evins <evins@snaught.com>
4302 2004-01-03 Jim Evins <evins@snaught.com>
4305 Added acknowledgement of contributions by Wayne Schuller.
4307 * src/commands.c: (gl_cmd_file_print):
4308 Create extra reference to print dialog, so that it can be properly re-used.
4310 * src/mygal/mygal-combo-box.h:
4311 * src/mygal/mygal-combo-box.c:
4312 (mygal_combo_box_popup_hide_unconditional),
4313 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4314 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4315 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4316 (mygal_combo_box_set_tearable):
4317 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4318 complete the rename of this widget to prevent namespace collisions
4321 * src/prefs-dialog.glade:
4322 Fixed alignment of Fill/Color widgets.
4324 2004-01-03 Jim Evins <evins@snaught.com>
4326 * data/avery-iso-templates.xml:
4327 Added user submitted templates.
4328 Avery 8435A & 8435B, submitted by Ludger Solbach.
4330 * doc/C/glabels.xml:
4331 Added minimal documentation, noting the new template designer.
4333 2004-01-03 Jim Evins <evins@snaught.com>
4335 * pixmaps/ex-rect-size.png:
4336 * pixmaps/ex-round-size.png:
4337 * pixmaps/ex-cd-size.png:
4338 * pixmaps/Makefile.am:
4339 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4340 files to be used as illustrations/examples in the template-designer.
4342 * src/template-designer.c: (construct_rect_size_page),
4343 (construct_round_size_page), (construct_cd_size_page),
4344 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4345 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4346 (layout_page_prepare_cb), (build_template):
4347 * src/template-designer.glade:
4348 Added illustrations for rectangle, round, and cd label size pages.
4349 Added margin spinboxes to these pages, and now add a margin markup
4350 to the constructed template. Added realistic default values for
4351 some of the size spinboxes. Cleaned up the code for setting spinbox
4352 ranges on the layouts page.
4354 2004-01-02 Jim Evins <evins@snaught.com>
4356 * src/object-editor-size-page.c: (h_spin_cb):
4357 Fixed cut-n-paste error in h_spin_cb that loaded h from
4358 the wrong spinbutton.
4360 * src/object-editor.h:
4361 * src/object-editor.c: (gl_object_editor_class_init),
4362 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4363 * src/object-editor-private.h:
4364 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4366 Added "size_changed" signal.
4368 * src/view-text.c: (construct_properties_editor),
4369 (update_object_from_editor_cb),
4370 (update_object_from_editor_size_cb):
4371 Track size changes from object editor separately from other
4372 properties. This is so the default size (0,0) of a text
4373 object is not modified unintentionally.
4375 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4377 Added feature: line spacing - allows you to comfortably space a text box to
4378 fit a label perfectly.
4380 * data/glabels-2.0.dtd:
4381 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4382 (gl_label_object_get_text_alignment),
4383 (gl_label_object_get_text_line_spacing):
4384 * src/label-object.h:
4385 * src/label-text.c: (gl_label_text_class_init),
4386 (gl_label_text_instance_init), (copy), (get_size),
4387 (set_text_line_spacing), (get_text_alignment),
4388 (get_text_line_spacing):
4389 * src/object-editor-private.h:
4390 * src/object-editor-text-page.c:
4391 (gl_object_editor_prepare_text_page),
4392 (gl_object_editor_set_text_line_spacing),
4393 (gl_object_editor_get_text_line_spacing):
4394 * src/object-editor.glade:
4395 * src/object-editor.h:
4396 * src/prefs-dialog.c: (construct_object_page),
4397 (update_object_page_from_prefs), (update_prefs_from_object_page):
4398 * src/prefs-dialog.glade:
4399 * src/prefs-model.c: (gl_prefs_model_save_settings),
4400 (gl_prefs_model_load_settings), (get_float):
4401 * src/prefs-model.h:
4402 * src/print.c: (draw_text_object):
4404 * src/view-text.c: (update_object_from_editor_cb),
4405 (update_editor_from_object_cb),
4406 (gl_view_text_create_event_handler), (draw_hacktext):
4407 * src/view.c: (gl_view_construct),
4408 (gl_view_set_selection_text_line_spacing),
4409 (gl_view_set_default_text_line_spacing),
4410 (gl_view_get_default_text_line_spacing):
4412 * src/xml-label.c: (xml_parse_toplevel_span),
4413 (xml_create_toplevel_span):
4415 2003-12-30 Jim Evins <evins@snaught.com>
4417 * src/template-designer.c:
4418 * src/template-designer.h:
4419 * src/template-designer.glade:
4420 New template designer assistant.
4424 Added entries for src/template-designer.* files.
4426 * pixmaps/ex-1layout.png
4427 * pixmaps/ex-2layouts.png
4428 * pixmaps/Makefile.am:
4429 Added the new image files ex-*.png used as illustrations in the
4430 template designer assistant.
4432 * src/print-dialog.h:
4433 * src/print-dialog.c: (gl_print_dialog_finalize),
4434 (gl_print_dialog_new), (gl_print_dialog_construct),
4435 (gl_print_dialog_force_outline_flag):
4436 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4437 to support printing from the template designer assistant which does not
4438 have a full-fledged view. Nothing else from the view object was being
4439 used by the dialog anyway.
4441 Added the gl_print_dialog_force_outline_flag() method, for better
4442 integration with the template designer assistant.
4446 * src/commands.c: (gl_cmd_file_template_designer),
4447 (gl_cmd_file_print):
4448 Modified print command to provide label instead of view to dialog.
4449 Added the gl_cmd_file_template_designer() command to invoke the
4450 template designer assistant.
4453 * src/glabels-ui.xml:
4454 Added support for template designer assistant.
4456 * src/wdgt-mini-preview.h:
4457 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4458 (gl_wdgt_mini_preview_set_bg_color):
4459 Preview is now centered in canvas. Added
4460 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4461 assistant to match the background color with its own.
4463 * src/print.c: (clip_to_outline):
4464 Fixed really stupid bug when adding waste to clip region of rectangular
4465 labels/cards. Each side of the clip region needs to be extended by
4466 twice the waste margin, as well as negatively offset by the waste
4469 2003-12-28 Jim Evins <evins@snaught.com>
4471 * src/prefs-dialog.c: (update_object_page_from_prefs):
4472 Block intermediary function align_toggle_cb() instead of
4473 update_prefs_from_object_page() for the three alignment
4476 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4478 * src/file.c: (gl_file_new), (gl_file_properties):
4479 Swap button order and set default for higificatory pleasure.
4481 2003-12-27 Jim Evins <evins@snaught.com>
4483 * barcode-0.98/Makefile.am:
4484 One last time: removed doc/Makefile and po/Makefile.in.in from
4487 2003-12-27 Jim Evins <evins@snaught.com>
4489 * barcode-0.98/Makefile.am:
4490 Removed config.stat entry from EXTRA_DIST files.
4492 * barcode-0.98/Makefile.in:
4495 2003-12-27 Jim Evins <evins@snaught.com>
4498 Updated to work with latest gnome-common package from CVS.
4499 Removed recursive configuration of barcode-0.98.
4506 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4508 * barcode-0.98/Makefile.in:
4509 * barcode-0.98/configure.in:
4510 * barcode-0.98/Makefile.am:
4511 * barcode-0.98/README.glabels:
4512 Modified to ignore the barcode package's build system, and build
4513 as a part of glabels.
4514 Renamed Makefile.in to Makefile.in.dist.
4515 Renamed configure.in to configure.in.dist.
4516 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4519 * src/mygal/Makefile.am:
4520 * src/recent-files/Makefile.am:
4521 In order to build against the GNOME 2.5 platform,
4522 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4524 * src/mygal/Makefile.am:
4525 * src/mygal/mygal-combo-box.c:
4526 * src/mygal/mygal-combo-box.h:
4527 * src/mygal/widget-color-combo.c:
4528 * src/mygal/widget-color-combo.h:
4530 In order to build against the GNOME 2.5 platform,
4531 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4532 collisions with the real gtk_combo_box widget, now a part of gtk.
4534 2003-12-26 Jim Evins <evins@snaught.com>
4540 Moved local versions of get_home_data_dir() in paper.c and
4541 template.c to util package. Cleaned up formatting in
4545 In gl_template_register() save a copy of the template in
4546 ~/.glabels if the template is not known. Still need to
4547 handle duplicate filename case and duplicate name but
4548 different template case.
4552 Moved local definition of NAME_SPACE macro from xml-label.c
4555 * src/xml-template.c:
4556 * src/xml-template.h:
4557 Added function gl_xml_template_write_template_to_file(), used
4558 in gl_template_register().