1 2009-07-26 Jim Evins <evins@snaught.com>
4 * COPYING.README_FIRST:
8 Added 3rd party qrencode library.
10 * src/bc-iec18004.c: (gl_barcode_iec18004_new), (render_iec18004):
13 Added IEC18004 (QRCode) 2 dimensional barcode backend.
14 Patch provided by Daniel Mueller <daniel@danm.de>.
16 2009-07-25 Jim Evins <evins@snaught.com>
18 * src/xml-label.c: (gl_xml_label_open):
19 Relax limits when parsing file. Allows large embedded image
22 2009-05-19 Jim Evins <evins@snaught.com>
26 Moved translation list from configure.in to po/LINGUAS.
28 2009-05-19 Jim Evins <evins@snaught.com>
32 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
34 Added above translation to acknowledgements.
36 2009-05-18 Jim Evins <evins@snaught.com>
38 * src/prefs-model.c: (gl_prefs_model_load_settings):
39 Make an educated guess at locale settings when run for the
42 2009-05-17 Jim Evins <evins@snaught.com>
45 * help/glabels.omf.in:
46 Adding missing files from last checkin.
48 2009-05-17 Jim Evins <evins@snaught.com>
52 * help/C/glabels-C.omf:
56 Updated german translation, gnome-doc-utils support and
57 german translation of glabels manual (Mario Blättermann).
59 2009-05-01 Jim Evins <evins@snaught.com>
64 Added catalan translation (David Planella).
66 2009-04-29 Jim Evins <evins@snaught.com>
68 * data/templates/avery-iso-templates.xml:
69 * data/templates/misc-iso-templates.xml:
70 * data/templates/misc-us-templates.xml:
71 Caught up on user submitted templates.
73 Acknowledgements for above templates.
75 2009-04-29 Jim Evins <evins@snaught.com>
79 Updated german translation (Mario Blättermann).
81 2009-03-23 Jim Evins <evins@snaught.com>
83 * src/glabels-batch.c: (main):
84 * src/glabels.c: (main):
85 Tidy up help option output.
87 2009-02-28 Jim Evins <evins@snaught.com>
92 Deleted base64 module.
93 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
94 Use base64 encode/decode from glib.
96 2009-02-22 Jim Evins <evins@snaught.com>
98 * src/merge-properties-dialog.h:
99 * src/new-label-dialog.h:
100 * src/object-editor.h:
101 * src/prefs-dialog.h:
103 * src/template-designer.h:
104 Corrected cut&paste errors.
106 2009-02-21 JimEvins <evins@snaught.com>
108 * src/prefs-model.c: (gl_prefs_model_save_settings),
109 (gl_prefs_model_load_settings):
112 * src/ui-property-bar.c:
113 * src/ui.c: (view_ui_item_toggled_cb),
114 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
115 Removed tooltip toggling capability, which wasn't working
118 2009-02-21 JimEvins <evins@snaught.com>
122 * data/builder/object-editor.glade:
123 * data/builder/prefs-dialog.glade:
124 * data/builder/property-bar.glade:
125 * data/builder/template-designer.glade:
127 * src/color-combo-color-menu-item.c:
128 * src/color-combo-color-menu-item.h:
129 * src/color-combo-menu.h:
130 * src/glabels-batch.c: (main):
131 * src/glabels.c: (main):
132 * src/merge-properties-dialog.h:
133 * src/new-label-dialog.h:
134 * src/object-editor-lsize-page.c:
135 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
136 * src/object-editor.h:
137 * src/prefs-dialog.h:
139 * src/template-designer.h:
140 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
141 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
142 * src/ui-property-bar.c:
143 * src/ui-property-bar.h:
144 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
145 (selection_changed_cb):
148 * src/wdgt-media-select.h:
149 * src/wdgt-merge-menu.h:
150 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
151 * src/wdgt-mini-preview.h:
152 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
153 * src/wdgt-print-copies.h:
154 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
155 * src/wdgt-print-merge.h:
156 * src/wdgt-rotate-label.h:
158 Removed final dependencies on libgnome and libgnomeui.
159 Removed all currently deprecated symbols as of GTK 2.14.
161 2009-01-07 Jim Evins <evins@snaught.com>
163 * src/critical-error-handler.c: (critical_error_handler):
164 * src/ui-commands.c: (gl_ui_cmd_help_contents):
165 * src/warning-handler.c: (warning_handler):
166 * src/view.c: (selection_received_cb):
167 Compile without warning with additional CFLAGS of
168 -O1 -Wall -Wformat=2.
170 2009-01-02 Jim Evins <evins@snaught.com>
172 * COPYING.README_FIRST:
175 2008-12-27 Jim Evins <evins@snaught.com>
177 * data/templates/avery-iso-templates.xml:
178 * data/templates/avery-other-templates.xml:
179 * data/templates/avery-us-templates.xml:
180 * data/templates/brother-other-templates.xml:
181 * data/templates/misc-iso-templates.xml:
182 * data/templates/misc-other-templates.xml:
183 * data/templates/zweckform-iso-templates.xml:
184 Make sure all descriptions are marked as translatable.
186 2008-12-27 Jim Evins <evins@snaught.com>
189 Updated german translation (Mario Blättermann)
191 Updated credits to reflect above translation.
192 * data/builder/object-editor.glade:
193 * data/builder/prefs-dialog.glade:
194 * data/builder/template-designer.glade:
195 Removed "translatable" attribute from whitespace strings,
196 which are used only to help layout.
198 2008-12-21 Jim Evins <evins@snaught.com>
200 * data/templates/avery-us-templates.xml:
201 * data/templates/misc-iso-templates.xml:
202 A couple of recent template submissions.
204 Acknowledgements for above templates.
206 2008-12-21 Jim Evins <evins@snaught.com>
208 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
209 Don't check for handles on aggregate selections.
211 2008-12-20 Jim Evins <evins@snaught.com>
214 Updated prerequisite library versions required.
216 2008-12-18 Jim Evins <evins@snaught.com>
218 * src/view.c: (selection_received_cb):
219 Fixed paste bug that caused a duplicate phantom view_object to be created for
220 each new label_object. This is because the view now (as of r673) the view
221 monitiors the label for new objects and creates view_objects automatically.
223 2008-12-14 Jim Evins <evins@snaught.com>
225 * src/ui.c: (gl_ui_new):
226 Bug #2395628. Fixed i18n for application shell.
228 Bug #2395628. Reconciled POTFILES.in with current files.
230 2008-12-14 Jim Evins <evins@snaught.com>
233 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
235 2008-11-15 Jim Evins <evins@snaught.com>
237 * libglabels/db.c: (lgl_db_register_template):
238 * libglabels/xml-template.c:
239 (lgl_xml_template_parse_template_node):
240 * src/glabels-batch.c:
241 * src/view-text.c: (gl_view_text_create_button_press_event):
242 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
244 2008-11-09 Jim Evins <evins@snaught.com>
246 * data/templates/misc-iso-templates.xml:
247 Another user submitted template.
249 2008-10-27 Jim Evins <evins@snaught.com>
251 * data/templates/avery-us-templates.xml:
252 * data/templates/misc-iso-templates.xml:
253 * data/templates/zweckform-iso-templates.xml:
254 Caught up on user submitted templates.
256 Acknowledgements for above templates.
258 2008-10-23 Jim Evins <evins@snaught.com>
260 * src/label-text.c: (set_font_family):
261 * src/object-editor-text-page.c:
262 (gl_object_editor_prepare_text_page),
263 (gl_object_editor_set_font_family):
264 * src/prefs-dialog.c: (construct_object_page),
265 (update_object_page_from_prefs):
266 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
267 (reset_to_default_properties):
268 * src/util.c: (gl_util_get_font_family_list):
270 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
271 everytime the list is requested.
272 * src/object-editor-text-page.c:
273 (gl_object_editor_set_font_family):
274 Don't change font-family if it hasn't actually changed.
276 2008-10-19 Jim Evins <evins@snaught.com>
278 * data/builder/object-editor.glade:
279 Some tweaking of builder/glade widgets.
281 2008-10-18 Jim Evins <evins@snaught.com>
283 Migrated all use of libglade to GtkBuilder.
285 * data/glade/Makefile.am:
286 * data/glade/merge-properties-dialog.glade:
287 * data/glade/new-label-dialog.glade:
288 * data/glade/object-editor.glade:
289 * data/glade/prefs-dialog.glade:
290 * data/glade/print-custom-widget.glade:
291 * data/glade/property-bar.glade:
292 * data/glade/template-designer.glade:
293 * data/glade/wdgt-media-select.glade:
294 Removed data/glade directory.
295 * data/builder/Makefile.am:
296 * data/builder/merge-properties-dialog.glade:
297 * data/builder/new-label-dialog.glade:
298 * data/builder/object-editor.glade:
299 * data/builder/prefs-dialog.glade:
300 * data/builder/print-custom-widget.glade:
301 * data/builder/property-bar.glade:
302 * data/builder/template-designer.glade:
303 * data/builder/wdgt-media-select.glade:
304 Added data/builder directory.
308 Change glade to builder.
309 * src/merge-properties-dialog.c:
310 (gl_merge_properties_dialog_finalize),
311 (gl_merge_properties_dialog_construct):
312 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
313 (gl_new_label_dialog_construct):
314 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
315 * src/object-editor-data-page.c:
316 (gl_object_editor_prepare_data_page):
317 * src/object-editor-edit-page.c:
318 (gl_object_editor_prepare_edit_page):
319 * src/object-editor-fill-page.c:
320 (gl_object_editor_prepare_fill_page):
321 * src/object-editor-image-page.c:
322 (gl_object_editor_prepare_image_page):
323 * src/object-editor-line-page.c:
324 (gl_object_editor_prepare_line_page):
325 * src/object-editor-lsize-page.c:
326 (gl_object_editor_prepare_lsize_page):
327 * src/object-editor-position-page.c:
328 (gl_object_editor_prepare_position_page):
329 * src/object-editor-private.h:
330 * src/object-editor-shadow-page.c:
331 (gl_object_editor_prepare_shadow_page):
332 * src/object-editor-size-page.c:
333 (gl_object_editor_prepare_size_page):
334 * src/object-editor-text-page.c:
335 (gl_object_editor_prepare_text_page):
336 * src/object-editor.c: (gl_object_editor_init):
337 * src/prefs-dialog.c: (gl_prefs_dialog_init),
338 (gl_prefs_dialog_construct), (construct_locale_page),
339 (construct_object_page):
340 * src/print-op.c: (gl_print_op_finalize),
341 (create_custom_widget_cb):
342 * src/template-designer.c: (gl_template_designer_class_init),
343 (gl_template_designer_finalize), (gl_template_designer_construct),
344 (construct_start_page), (construct_name_page),
345 (construct_pg_size_page), (construct_shape_page),
346 (construct_rect_size_page), (construct_round_size_page),
347 (construct_cd_size_page), (construct_nlayouts_page),
348 (construct_layout_page), (construct_finish_page):
349 * src/template-designer.h:
350 * src/ui-property-bar.c: (gl_ui_property_bar_init),
351 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
352 (gl_ui_property_bar_construct), (reset_to_default_properties),
353 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
354 (update_text_properties), (update_fill_color), (update_line_color),
355 (update_line_width), (selection_changed_cb),
356 (font_family_changed_cb), (font_size_changed_cb),
357 (text_color_changed_cb), (fill_color_changed_cb),
358 (line_color_changed_cb), (line_width_changed_cb),
359 (font_bold_toggled_cb), (font_italic_toggled_cb),
360 (text_align_toggled_cb), (set_doc_items_sensitive),
361 (set_text_items_sensitive), (set_fill_items_sensitive),
362 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
363 * src/ui-property-bar.h:
364 * src/util.c: (gl_util_get_builder_widgets):
366 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
367 (gl_wdgt_media_select_construct):
368 Migration of glade to builder.
370 New macros for color combo initialization.
372 Added idea for internal merge database.
373 * docs/libglabels/libglabels-undocumented.txt:
374 * docs/libglabels/tmpl/paper.sgml:
378 2008-10-12 Jim Evins <evins@snaught.com>
380 * src/mygal/Makefile.am:
381 * src/mygal/color-group.c:
382 * src/mygal/color-group.h:
383 * src/mygal/color-palette.c:
384 * src/mygal/color-palette.h:
385 * src/mygal/e-colors.c:
386 * src/mygal/e-colors.h:
387 * src/mygal/e-marshal.list:
388 * src/mygal/e-util.h:
389 * src/mygal/mygal-combo-box.c:
390 * src/mygal/mygal-combo-box.h:
391 * src/mygal/widget-color-combo.c:
392 * src/mygal/widget-color-combo.h:
398 * src/color-combo-color-menu-item.c:
399 * src/color-combo-color-menu-item.h:
400 * src/color-combo-history.c:
401 * src/color-combo-history.h:
402 * src/color-combo-menu.c:
403 * src/color-combo-menu.h:
408 Created new glColorCombo widget.
409 * src/object-editor-bc-page.c:
410 * src/object-editor-edit-page.c:
411 * src/object-editor-fill-page.c:
412 * src/object-editor-line-page.c:
413 * src/object-editor-shadow-page.c:
414 * src/object-editor-text-page.c:
415 * src/object-editor.c:
416 * src/prefs-dialog.c:
417 * src/ui-property-bar.c:
418 Replaced use of mygal color combo with new glColorCombo widget.
420 2008-08-29 Jim Evins <evins@snaught.com>
422 * src/file.c: (gl_file_open), (gl_file_save_as):
423 Bug #2069668. Corrected button order in Open and "Save as"
426 2008-08-17 Jim Evins <evins@snaught.com>
428 * data/dtd/glabels-2.2.dtd:
429 * data/templates/paper-sizes.xml:
430 * libglabels/db.c: (lgl_db_init):
431 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
432 * libglabels/paper.h:
433 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
434 * src/print-op.c: (set_page_size):
435 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
436 size specification) to the libglabels paper database to allow the page size to be
437 communicated to GtkPrintOp un-ambiguously.
439 2008-07-25 Jim Evins <evins@snaught.com>
441 * src/object-editor-size-page.c: (size_reset_cb),
442 (gl_object_editor_set_max_size):
443 Bug #1993550. Set size limits based on longest side of label.
445 2008-07-19 Jim Evins <evins@snaught.com>
448 * src/mygal/Makefile.am:
449 Make sure libtool handles library dependencies for mygal
452 2008-05-21 Jim Evins <evins@snaught.com>
454 * src/glabels-batch.c: (main):
455 Bug #1968653. Initialize prefs subsystem.
457 2008-05-09 Jim Evins <evins@snaught.com>
459 * data/glade/object-editor.glade:
460 Bug #1959135. A couple of radio buttons somehow became
463 2008-04-07 Jim Evins <evins@snaught.com>
465 * src/wdgt-rotate-label.h:
466 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
467 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
468 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
469 (gl_wdgt_rotate_label_set_template_name):
470 Modified wdgt-rotate-label to better indicate the rotation choices.
471 * data/glade/Makefile.am:
472 * data/glade/wdgt-rotate-label.glade:
473 Deleted wdgt-rotate-label.glade.
475 2008-04-04 Jim Evins <evins@snaught.com>
477 * data/templates/brother-other-templates.xml:
478 Added categories to existing templates.
479 * data/templates/misc-other-templates.xml:
480 Moved dymo templates to their own file.
481 * data/templates/Makefile.am:
482 * data/templates/dymo-other-templates.xml:
483 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
485 Acknowledgement for above templates.
487 2008-03-24 Jim Evins <evins@snaught.com>
489 * src/xml-label.c: (xml_doc_to_label):
490 Bug #1872584. Don't refuse to parse label file if namespace is
491 unrecognized -- it may be from a newer version of glabels.
493 2008-03-15 Jim Evins <evins@snaught.com>
495 * data/templates/Makefile.am:
496 * data/templates/brother-other-templates.xml:
497 Added brother templates.
498 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
499 (gl_cairo_markup_margin_cd_path):
500 * src/view.c: (draw_markup_layer):
501 Fixed markup drawing errors when label is rotated.
503 2008-03-03 Jim Evins <evins@snaught.com>
507 Added korean translation provided by xein@naver.com.
509 2008-02-21 Jim Evins <evins@snaught.com>
512 Fixed typo that prevented "Save" from being deactivated when
513 document is not modified.
515 2008-02-18 Jim Evins <evins@snaught.com>
517 * src/prefs-model.c: (gl_prefs_model_save_settings),
518 (gl_prefs_model_load_settings):
519 Set default units for file output.
521 2008-02-18 Jim Evins <evins@snaught.com>
523 * help/C/glabels.xml:
524 Fixed example template.
526 2008-02-16 Jim Evins <evins@snaught.com>
529 * data/templates/avery-iso-templates.xml:
530 * data/templates/avery-us-templates.xml:
531 * data/templates/misc-iso-templates.xml:
532 * data/templates/misc-us-templates.xml:
533 Caught up on user submitted templates.
535 2008-02-04 Jim Evins <evins@snaught.com>
537 * src/view-image.c: (update_object_from_editor_cb):
538 Bug #1886438. Don't update the image size unless it is actually
539 triggered by a change in image source. The result of this bug
540 was that any attempt to edit the size spinboxes, immediately
543 2008-02-03 Jim Evins <evins@snaught.com>
545 * src/label-image.c: (gl_label_image_class_init), (set_size):
546 Enforce minimum size for images.
548 2008-02-03 Jim Evins <evins@snaught.com>
550 * src/object-editor-edit-page.c: (field_selected_cb):
551 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
552 * src/object-editor-private.h:
553 * src/object-editor-shadow-page.c:
554 (gl_object_editor_set_max_shadow_offset):
555 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
556 * src/object-editor.c: (gl_object_editor_finalize),
557 (gl_object_editor_new), (gl_object_notebook_construct_valist),
559 * src/object-editor.h:
560 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
561 * src/view-barcode.c: (construct_properties_editor):
562 * src/view-box.c: (construct_properties_editor):
563 * src/view-ellipse.c: (construct_properties_editor):
564 * src/view-image.c: (construct_properties_editor):
565 * src/view-line.c: (construct_properties_editor):
566 * src/view-object.c: (gl_view_object_finalize):
567 * src/view-text.c: (construct_properties_editor),
568 Move update_editor_from_label callback from individual view objects
569 to the object editor, so that signals can be disconnected when
570 object editor is finalized.
571 * src/view-text.c: (gl_view_text_create_button_press_event):
572 Fixed bug that caused multiple view objects to be created for a
573 single text object. This bug would manifest itself as a crash
574 when deleting multi-object selections which included text objects.
576 2008-02-02 Jim Evins <evins@snaught.com>
579 * src/wdgt-merge-menu.c:
580 * src/wdgt-merge-menu.h:
581 * src/debug.c: (gl_debug_init):
584 New merge menu widget.
585 * data/glade/object-editor.glade:
586 * src/object-editor-private.h:
587 * src/object-editor.c: (gl_object_editor_set_key_names):
588 * src/object-editor-edit-page.c:
589 (gl_object_editor_prepare_edit_page), (field_selected_cb),
591 Simplified UI for inserting fields into text objects by launching
592 a merge menu and directly inserting fields from the menu. No more
593 selecting field in combobox, then pressing insert button.
595 2008-01-31 Jim Evins <evins@snaught.com>
597 * src/label-barcode.c: (draw_object):
598 Fixed rendering problem when "Invalid data" is displayed when text
599 object is lower in stacking order.
601 2008-01-30 Jim Evins <evins@snaught.com>
603 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
604 Don't turn off cairo_hint_metrics. This causes serious issues with
607 2008-01-29 Jim Evins <evins@snaught.com>
609 * src/print-op.c: (gl_print_op_construct),
610 (gl_print_op_construct_batch), (set_page_size):
611 Explicitly set page size for "other" page sizes.
613 2008-01-25 Jim Evins <evins@snaught.com>
616 Fixed Code128C backend parameters.
617 * src/label-barcode.c: (get_size):
618 Bug #1766425. If barcode is not renderable with either
619 input data or default data, use a default size. Also
622 2008-01-16 Jim Evins <evins@snaught.com>
624 * src/print.c: (print_label):
625 Bug #1872568. Don't apply special transforms (rotate and
626 mirror) to clipping region or outline.
628 2008-01-01 Jim Evins <evins@snaught.com>
631 Sort font lists alphabetically.
633 2008-01-01 Jim Evins <evins@snaught.com>
635 * src/merge-evolution.c:
636 Do a case-insensitive sort.
638 2008-01-01 Jim Evins <evins@snaught.com>
640 * src/merge-evolution.c:
641 Sort evolution by "file_under" field. Original patch provided
642 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
645 Added acknowledgement for above patch.
647 2008-01-01 Jim Evins <evins@snaught.com>
652 Reconcile with 2.2 branch.
655 2007-12-21 Jim Evins <evins@snaught.com>
657 * COPYING.LIBGLABELS:
658 * COPYING.README_FIRST:
660 Updating license information to make more complete and understandable.
662 2007-12-16 Jim Evins <evins@snaught.com>
665 Updated version to 2.pre2.
666 * help/C/glabels.xml:
667 Updated documentation.
668 * src/ui-commands.c: (gl_ui_cmd_help_about):
669 Updated copyright string.
671 2007-12-15 Jim Evins <evins@snaught.com>
673 * data/glade/object-editor.glade:
674 Removed any GtkTable that contained a GtkComboBox because the size of
675 the combo box was not constrained properly. This sacrifices the nice
676 orderly labels for combo boxes that don't extend beyond the edge of the
679 2007-12-15 Jim Evins <evins@snaught.com>
681 * libglabels/db.c: (lgl_db_lookup_template_from_name):
682 * src/object-editor.c: (gl_object_editor_finalize):
683 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
684 Fixed several small memory leaks.
686 2007-12-14 Jim Evins <evins@snaught.com>
689 Optimize template search by name by using a GHashTable.
690 * src/mini-preview-pixbuf-cache.c:
691 * src/mini-preview-pixbuf-cache.h:
692 Store one pixbuf per template, but use a key for each alias.
693 * src/wdgt-media-select.c:
694 Optimize loading of tree data, thus optimizing the "new label" dialog.
696 2007-12-12 Jim Evins <evins@snaught.com>
698 * data/templates/avery-us-templates.xml:
699 More templates and aliases.
701 2007-12-08 Jim Evins <evins@snaught.com>
704 More prep for 2.1.5/2.2.0.
706 2007-12-08 Jim Evins <evins@snaught.com>
712 Preparation for 2.1.5.
714 2007-12-08 Jim Evins <evins@snaught.com>
716 * docs/libglabels/libglabels-decl-list.txt:
717 * docs/libglabels/libglabels-docs.sgml:
718 * docs/libglabels/libglabels-sections.txt:
719 * docs/libglabels/libglabels-undocumented.txt:
720 * docs/libglabels/tmpl/db.sgml:
721 * docs/libglabels/tmpl/str.sgml:
723 Documentation cleanup for libglabels.
725 2007-11-29 Jim Evins <evins@snaught.com>
729 Added lgl_db_does_template_name_exist().
730 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
733 Proof read recent templates -- make sure they still exist.
734 * src/wdgt-media-select.c:
735 Default to "search all templates" tab if no recent templates found.
737 2007-11-28 Jim Evins <evins@snaught.com>
739 * data/glade/wdgt-media-select.glade:
740 * src/wdgt-media-select.c:
741 Added tabbed notebook to allow selection of recent template versus searching the
745 2007-11-26 Jim Evins <evins@snaught.com>
747 * libglabels/Makefile.am:
748 * libglabels/libglabels.h:
751 * src/prefs-dialog.c:
756 Added tracking of recently used templates.
758 2007-11-20 Jim Evins <evins@snaught.com>
760 * data/glade/template-designer.glade:
761 * src/template-designer.c:
762 Added warning icon when match brand and part match an existing template.
764 2007-11-18 Jim Evins <evins@snaught.com>
766 * libglabels/Makefile.am:
769 Added lgl_str_utf8_casecmp().
770 * libglabels/libglabels-private.h:
771 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
772 * libglabels/db.c: (lgl_db_get_brand_list):
773 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
776 2007-11-18 Jim Evins <evins@snaught.com>
778 * data/glade/template-designer.glade:
779 * src/template-designer.c:
780 Don't advance past name page, if brand and part match an existing template.
782 2007-11-18 Jim Evins <evins@snaught.com>
784 * libglabels/db.c: (lgl_db_register_template), (read_templates):
785 When registering a new template, don't add to "User defined" category before
786 writing to file. Add to "User defined" category when reading from "~/.glabels"
787 directory instead. This will allow legacy templates (and manually created
788 templates) to be automatically added to the "user defined" category.
789 * libglabels/xml-template.c:
790 (lgl_xml_template_create_template_node):
791 Fixed typo/bug causing brand to be wrong.
793 2007-11-16 Jim Evins <evins@snaught.com>
797 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
798 function. Automatically create "User defined" category and add to all user
799 registered templates.
800 * libglabels/xml-template.c:
801 * libglabels/xml-template.h:
802 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
803 lgl_xml_template_write_template_to_file().
804 * docs/libglabels/libglabels-decl-list.txt:
805 * docs/libglabels/libglabels-sections.txt:
806 * docs/libglabels/libglabels-undocumented.txt:
807 * docs/libglabels/tmpl/db.sgml:
808 * docs/libglabels/tmpl/xml-template.sgml:
809 Update documentation to reflect above changes.
811 2007-10-28 Jim Evins <evins@snaught.com>
813 * libglabels/xml-template.c:
814 Remove any leading white space from part #s when parsing old names.
815 * src/mini-preview-pixbuf-cache.c:
816 If name isn't in cache add it.
818 2007-10-26 Jim Evins <evins@snaught.com>
820 * libglabels/Makefile.am:
821 * libglabels/category.c:
822 * libglabels/category.h:
825 * libglabels/libglabels-private.h:
826 * libglabels/libglabels.h:
827 * libglabels/paper.c:
828 * libglabels/paper.h:
829 * libglabels/template.c:
830 * libglabels/template.h:
831 * libglabels/xml-template.c:
832 Another pass at screwing with the libglabels API. Moved all
833 database related stuff to db.[ch].
834 * docs/libglabels/libglabels-decl-list.txt:
835 * docs/libglabels/libglabels-docs.sgml:
836 * docs/libglabels/libglabels-sections.txt:
837 * docs/libglabels/libglabels-undocumented.txt:
838 * docs/libglabels/tmpl/category.sgml:
839 * docs/libglabels/tmpl/db.sgml:
840 * docs/libglabels/tmpl/init.sgml:
841 * docs/libglabels/tmpl/libglabels-unused.sgml:
842 * docs/libglabels/tmpl/paper.sgml:
843 * docs/libglabels/tmpl/template-construction.sgml:
844 * docs/libglabels/tmpl/template-db.sgml:
845 * docs/libglabels/tmpl/template-misc.sgml:
846 * docs/libglabels/tmpl/template-struct.sgml:
847 * docs/libglabels/tmpl/template.sgml:
848 Updated documentation to reflect above changes to libglabels API.
850 * src/glabels-batch.c:
852 * src/mini-preview-pixbuf-cache.c:
855 * src/template-designer.c:
856 * src/wdgt-media-select.c:
857 * src/wdgt-mini-preview.c:
858 * src/wdgt-rotate-label.c:
859 * src/xml-label-04.c:
861 Reconciled usage with above libglabels API changes.
863 2007-10-21 Jim Evins <evins@snaught.com>
865 * data/glade/wdgt-media-select.glade:
866 * src/wdgt-media-select.c:
867 Added brand to filter settings.
869 2007-10-21 Jim Evins <evins@snaught.com>
871 * data/dtd/glabels-2.2.dtd:
872 Forgot to replace Alias name attribute with brand and part attributes.
873 * data/templates/avery-iso-templates.xml:
874 * data/templates/avery-other-templates.xml:
875 * data/templates/avery-us-templates.xml:
876 * data/templates/misc-iso-templates.xml:
877 * data/templates/misc-other-templates.xml:
878 * data/templates/misc-us-templates.xml:
879 * data/templates/zweckform-iso-templates.xml:
880 Replaced all name attributes with brand/part attribute pairs.
882 2007-10-20 Jim Evins <evins@snaught.com>
884 * src/stock-pixmaps/*.png
885 Updated icons to use Tango color palette.
887 2007-10-20 Jim Evins <evins@snaught.com>
889 * data/dtd/Makefile.am:
890 * data/dtd/glabels-2.0.dtd:
891 * data/dtd/glabels-2.2.dtd:
892 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
894 * libglabels/template.c:
895 * libglabels/template.h:
896 * libglabels/xml-template.c:
898 Added brand and part attributes to template and alias structures and nodes.
901 * src/mini-preview-pixbuf-cache.c:
902 * src/template-designer.c:
903 * src/wdgt-media-select.c:
904 Use modified libglabels API.
905 * docs/libglabels/libglabels-decl-list.txt:
906 * docs/libglabels/libglabels-sections.txt:
907 * docs/libglabels/libglabels-undocumented.txt:
908 * docs/libglabels/tmpl/template-construction.sgml:
909 * docs/libglabels/tmpl/template-db.sgml:
910 * docs/libglabels/tmpl/template-struct.sgml:
911 Update libglabels documentation to reflect above modifications.
913 2007-10-14 Jim Evins <evins@snaught.com>
915 * docs/libglabels/libglabels-decl-list.txt:
916 * docs/libglabels/libglabels-sections.txt:
917 * docs/libglabels/libglabels-undocumented.txt:
918 * docs/libglabels/tmpl/category.sgml:
919 * libglabels/category.c:
920 * libglabels/category.h:
921 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
922 parity with paper functions.
924 2007-10-12 Jim Evins <evins@snaught.com>
926 * docs/libglabels/libglabels-decl-list.txt:
927 * docs/libglabels/libglabels-sections.txt:
928 * docs/libglabels/libglabels-undocumented.txt:
929 * docs/libglabels/tmpl/category.sgml:
930 * docs/libglabels/tmpl/enums.sgml:
931 * docs/libglabels/tmpl/libglabels-unused.sgml:
932 * docs/libglabels/tmpl/paper.sgml:
933 * docs/libglabels/tmpl/template-struct.sgml:
935 * libglabels/template.c:
936 * libglabels/template.h:
937 Another pass at fleshing out the libglabels documentation.
938 * src/cairo-label-path.c:
939 * src/cairo-markup-path.c:
941 * src/mini-preview-pixbuf.c:
945 * src/wdgt-media-select.c:
946 * src/wdgt-mini-preview.c:
947 * src/wdgt-print-copies.c:
948 * src/wdgt-print-merge.c:
949 * src/wdgt-rotate-label.c:
950 Removed lgl_template_get_first_frame() from libglabels API and all references.
952 2007-10-11 Jim Evins <evins@snaught.com>
954 Extended checks for deprecated symbols.
955 * libglabels/template.c:
956 Removed g_strcasecmp references, which are deprecated.
958 2007-10-09 Jim Evins <evins@snaught.com>
960 * src/merge-evolution.c:
961 Create address book if it does not exist. Also, be more robust about handling
962 error conditions -- don't just assume GError has been set.
964 2007-10-08 Jim Evins <evins@snaught.com>
966 * libglabels/template.c:
967 * libglabels/xml-template.c:
968 * src/template-designer.c:
969 Missed some symbols with libglabels API work.
971 2007-10-01 Jim Evins <evins@snaught.com>
973 * docs/libglabels/libglabels-decl-list.txt:
974 * docs/libglabels/libglabels-docs.sgml:
975 * docs/libglabels/libglabels-sections.txt:
976 * docs/libglabels/libglabels-undocumented.txt:
977 * docs/libglabels/tmpl/category.sgml:
978 * docs/libglabels/tmpl/enums.sgml:
979 * docs/libglabels/tmpl/init.sgml:
980 * docs/libglabels/tmpl/libglabels-unused.sgml:
981 * docs/libglabels/tmpl/paper.sgml:
982 * docs/libglabels/tmpl/template-construction.sgml:
983 * docs/libglabels/tmpl/template-db.sgml:
984 * docs/libglabels/tmpl/template-misc.sgml:
985 * docs/libglabels/tmpl/template-struct.sgml:
986 * docs/libglabels/tmpl/template.sgml:
987 * docs/libglabels/tmpl/xml-category.sgml:
988 * docs/libglabels/tmpl/xml-template.sgml:
989 * libglabels/category.h:
991 * libglabels/libglabels-private.h:
992 * libglabels/paper.h:
993 * libglabels/template.c:
994 * libglabels/template.h:
995 * libglabels/xml-template.h:
996 Basic documentation framework for libglabels updated. This still needs some
999 2007-09-27 Jim Evins <evins@snaught.com>
1001 * docs/libglabels/libglabels-decl-list.txt:
1002 * docs/libglabels/libglabels-docs.sgml:
1003 * docs/libglabels/libglabels-sections.txt:
1004 * docs/libglabels/libglabels-undocumented.txt:
1005 * docs/libglabels/tmpl/enums.sgml:
1006 * docs/libglabels/tmpl/init.sgml:
1007 * docs/libglabels/tmpl/libglabels-unused.sgml:
1008 * docs/libglabels/tmpl/paper.sgml:
1009 * docs/libglabels/tmpl/template.sgml:
1010 * docs/libglabels/tmpl/xml-paper.sgml:
1011 * docs/libglabels/tmpl/xml-template.sgml:
1012 * docs/libglabels/tmpl/xml.sgml:
1013 * libglabels/Makefile.am:
1014 * libglabels/category.c:
1015 * libglabels/category.h:
1016 * libglabels/enums.h:
1017 * libglabels/init.c:
1018 * libglabels/init.h:
1019 * libglabels/libglabels-private.h:
1020 * libglabels/libglabels.h:
1021 * libglabels/paper.c:
1022 * libglabels/paper.h:
1023 * libglabels/template.c:
1024 * libglabels/template.h:
1025 * libglabels/xml-category.c:
1026 * libglabels/xml-category.h:
1027 * libglabels/xml-paper.c:
1028 * libglabels/xml-paper.h:
1029 * libglabels/xml-template.c:
1030 * libglabels/xml-template.h:
1033 * src/cairo-label-path.c:
1034 * src/cairo-label-path.h:
1035 * src/cairo-markup-path.c:
1036 * src/cairo-markup-path.h:
1038 * src/glabels-batch.c:
1040 * src/label-object.c:
1043 * src/mini-preview-pixbuf-cache.c:
1044 * src/mini-preview-pixbuf.c:
1045 * src/mini-preview-pixbuf.h:
1046 * src/prefs-dialog.c:
1047 * src/prefs-model.c:
1048 * src/prefs-model.h:
1053 * src/template-designer.c:
1054 * src/view-barcode.c:
1056 * src/view-ellipse.c:
1060 * src/wdgt-media-select.c:
1061 * src/wdgt-mini-preview.c:
1062 * src/wdgt-mini-preview.h:
1063 * src/wdgt-print-copies.c:
1064 * src/wdgt-print-merge.c:
1065 * src/wdgt-rotate-label.c:
1066 * src/xml-label-04.c:
1068 Major cleanup of libglabels API -- this breaks API compatibility with older
1069 development and stable versions -- as far as I know, there are currently
1070 no external users of this library yet.
1072 2007-09-14 Jim Evins <evins@snaught.com>
1077 * src/label-object.c:
1078 * src/label-object.h:
1079 * src/label-barcode.c:
1080 * src/label-ellipse.c:
1082 * src/view-object.c:
1083 * src/view-barcode.c:
1085 * src/view-ellipse.c:
1089 Better separation of model from view.
1091 2007-08-21 Jim Evins <evins@snaught.com>
1093 * src/print-op.c: (create_custom_widget_cb):
1094 Fix problem with force_outline_flag -- don't override with default.
1096 2007-08-21 Jim Evins <evins@snaught.com>
1098 * data/dtd/glabels-2.0.dtd:
1099 * libglabels/template.c:
1100 * libglabels/template.h:
1101 * libglabels/xml-template.c:
1102 * src/cairo-markup-path.c:
1103 Added "Markup-rect" element to template format.
1105 2007-08-21 Jim Evins <evins@snaught.com>
1108 Changed version to 2.1.pre5svn.
1109 * src/view.c: (draw_markup_layer):
1110 Do a stroke for each markup path, otherwise multiple markups
1113 2007-08-17 Jim Evins <evins@snaught.com>
1116 Bump libglabels revision numbers for 2.1.4 release.
1118 2007-08-16 Jim Evins <evins@snaught.com>
1121 Include subdir iec16022-0.2.1.
1125 Preparation for 2.1.4.
1128 2007-08-11 Jim Evins <evins@snaught.com>
1134 Added Esperanto translation. Provided by Antonio C.
1135 Codazzi "la Filozofo" <f_sophia@libero.it>.
1137 Updated French translation. Provided by Claude Paroz
1138 <claude@2xlibre.net>.
1140 Updated to reflect above translations.
1142 2007-08-11 Jim Evins <evins@snaught.com>
1145 * data/templates/avery-iso-templates.xml:
1146 * data/templates/avery-us-templates.xml:
1147 * data/templates/misc-iso-templates.xml:
1148 * data/templates/misc-other-templates.xml:
1149 * data/templates/misc-us-templates.xml:
1150 * data/templates/zweckform-iso-templates.xml:
1151 Caught up with backlog of template submissions.
1153 2007-08-10 Jim Evins <evins@snaught.com>
1155 * src/bc-postnet.c: (gl_barcode_postnet_new):
1157 Added support for Brazilian CEPNet barcodes. This is simply an
1158 instance of the US POSTNET format with 8 digits. Patch supplied
1159 by Mário Meyer in bug # 1768792.
1161 Updated acknowledgments to reflect above patch and recent shuffling
1162 of underlying technology.
1164 2007-05-13 Jim Evins <evins@snaught.com>
1166 * src/merge-text.c: (parse_line), (parse_field):
1167 Remove leading and trailing spaces from CSV fields, unless quoted.
1169 2007-05-09 Jim Evins <evins@snaught.com>
1171 * src/object-editor-bc-page.c:
1172 * src/object-editor-data-page.c:
1173 * src/object-editor-fill-page.c:
1174 * src/object-editor-image-page.c:
1175 * src/object-editor-line-page.c:
1176 * src/object-editor-lsize-page.c:
1177 * src/object-editor-position-page.c:
1178 * src/object-editor-private.h:
1179 * src/object-editor-shadow-page.c:
1180 * src/object-editor-size-page.c:
1181 * src/object-editor-text-page.c:
1182 * src/object-editor.c:
1183 * src/prefs-dialog.c:
1184 * src/template-designer.c:
1185 * src/ui-property-bar.c:
1186 * src/wdgt-media-select.c:
1187 Replaced signal block/unblock pairs with simple flags. This reduces
1188 some code clutter, hopefully making it easier to read.
1190 2007-05-05 Jim Evins <evins@snaught.com>
1192 * src/template-designer.c: (apply_cb):
1193 Add new template to mini-preview pixbuf cache.
1195 2007-05-03 Jim Evins <evins@snaught.com>
1197 * src/label-image.c: (gl_label_image_init), (draw_object):
1198 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1201 2007-05-02 Jim Evins <evins@snaught.com>
1203 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1204 (button_release_event_cb):
1205 Removed attempt at rendering optimization by clipping the updates
1206 to areas affected -- this actually seemed to hurt update performance.
1208 2007-04-30 Jim Evins <evins@snaught.com>
1211 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1212 (gl_color_node_equal), (gl_color_node_expand):
1213 * src/label-barcode.c: (draw_object):
1214 * src/label-box.c: (draw_object), (draw_shadow):
1215 * src/label-ellipse.c: (draw_object), (draw_shadow):
1216 * src/label-line.c: (draw_object), (draw_shadow):
1217 * src/label-text.c: (draw_object), (draw_shadow):
1218 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1219 * src/wdgt-rotate-label.c: (drawingarea_update):
1220 Some cleanup to color related code.
1222 2007-04-30 Jim Evins <evins@snaught.com>
1225 Added glLabelRegion structure type.
1226 * src/label-object.c: (gl_label_object_get_extent):
1227 * src/label-object.h:
1228 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1230 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1231 (gl_view_select_region), (gl_view_align_selection_left),
1232 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1233 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1234 (gl_view_align_selection_vcenter),
1235 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1236 (gl_view_move_selection), (gl_view_can_selection_text),
1237 (motion_notify_event_cb), (button_press_event_cb),
1238 (button_release_event_cb):
1239 - Reconcile with new gl_label_object_get_extent() API.
1240 - Use glLabelRegion for view->select_region.
1241 - Added gl_view_update_region() to clip updates to region.
1242 - Use gl_view_update_region() during manipulation of view->select_region.
1244 2007-04-26 Jim Evins <evins@snaught.com>
1246 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1247 (draw_label_outline):
1248 * src/print.c: (print_crop_marks), (draw_outline):
1249 * src/view-object.c: (gl_view_object_draw_handles):
1250 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1251 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1252 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1253 * src/wdgt-rotate-label.c: (drawingarea_update):
1254 Added defines for various magic numbers.
1256 2007-04-25 Jim Evins <evins@snaught.com>
1258 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1259 Scale text down. Cairo seems to render text too large.
1261 2007-04-25 Jim Evins <evins@snaught.com>
1264 * src/view.c: (gl_view_update), (expose_cb),
1265 (motion_notify_event_cb), (button_press_event_cb),
1266 (button_release_event_cb):
1267 - Try not to let updates get backed up.
1268 - Grab pointer when doing any drag operations.
1270 2007-04-11 Jim Evins <evins@snaught.com>
1272 * src/cairo-label-path.c: (gl_cairo_label_path),
1273 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1274 (gl_cairo_cd_label_path):
1275 * src/cairo-label-path.h:
1276 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1277 (draw_label_outline):
1278 * src/print.c: (draw_outline), (clip_to_outline):
1279 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1280 * src/wdgt-mini-preview.c: (draw_labels):
1281 * src/wdgt-rotate-label.c: (drawingarea_update):
1282 Modified to universally use gl_cairo_label_path() to create paths
1283 for labels. Added shadow to mini preview in rotate widget.
1285 2007-04-10 Jim Evins <evins@snaught.com>
1287 * libglabels/template.h:
1288 * libglabels/template.c: (gl_template_get_name_list_unique),
1289 (gl_template_get_name_list_all), (gl_template_from_name):
1290 Modified libglabels to allow you to get a list of all template names
1291 including all aliases or just a list of primary names of each unique
1294 * src/file.c: (gl_file_properties):
1295 * src/glabels.c: (main):
1296 * src/mini-preview-pixbuf-cache.h:
1297 * src/mini-preview-pixbuf-cache.c:
1298 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1299 (filter_changed_cb), (load_list):
1300 Added mini-preview pixbuf cache, so that only one mini-preview is
1301 needed for a unique template and gets reused for all aliases. These
1302 pixbufs will also live for the life of the program so they are not
1303 rebuilt everytime a new label dialog is invoked.
1304 * src/mini-preview-pixbuf.c: (draw_paper),
1305 (draw_rect_label_outline), (draw_round_label_outline),
1306 (draw_cd_label_outline):
1307 Removed some comment artifacts.
1309 2007-04-04 Jim Evins <evins@snaught.com>
1311 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1312 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1313 (draw_round_label_outline), (draw_cd_label_outline):
1314 * src/wdgt-media-select.c: (load_list):
1315 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1316 Cosmetic enhancments to mini previews.
1318 2007-04-04 Jim Evins <evins@snaught.com>
1320 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1321 (gl_ui_property_bar_construct):
1322 Save copy of GladeXML tree so that we don't lose tooltips.
1324 2007-04-02 Jim Evins <evins@snaught.com>
1326 * src/merge-properties-dialog.c:
1327 * src/new-label-dialog.c:
1328 * src/object-editor.c:
1329 * src/prefs-dialog.c:
1331 * src/template-designer.c:
1332 * src/ui-property-bar.c:
1333 * src/wdgt-media-select.c:
1334 * src/wdgt-rotate-label.c:
1335 Fixed several memory leaks.
1337 2007-04-01 Jim Evins <evins@snaught.com>
1339 * src/label-text.c: (gl_label_text_init), (copy),
1340 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1341 (set_font_family), (set_font_size), (set_font_weight),
1342 (set_font_italic_flag), (set_text_alignment),
1343 (set_text_line_spacing):
1344 Cache object size, so that expensive extent calculations are only done
1347 2007-03-30 Jim Evins <evins@snaught.com>
1349 * src/prefs-model.c: (gl_prefs_model_load_settings):
1350 Default to an unlimited list of recent documents, since this parameter
1351 seems to be pre-filter anyway.
1353 2007-03-30 Jim Evins <evins@snaught.com>
1355 * src/label-box.c: (draw_shadow):
1356 * src/label-ellipse.c: (draw_shadow):
1357 Added missing shadow fill.
1359 2007-03-28 Jim Evins <evins@snaught.com>
1361 * src/ui-commands.c: (gl_ui_cmd_file_print):
1362 Unreferencing the print operation sometimes crashes. Just don't do it
1365 2007-03-28 Jim Evins <evins@snaught.com>
1367 * src/print-op.c: (gl_print_op_construct),
1368 (gl_print_op_get_settings), (gl_print_op_set_settings),
1369 (gl_print_op_free_settings), (create_custom_widget_cb):
1371 * src/ui-commands.c: (gl_ui_cmd_file_print):
1372 * src/window.c: (gl_window_init):
1374 Save print settings and custom settings between print operations
1377 2007-03-24 Jim Evins <evins@snaught.com>
1379 * src/object-editor-image-page.c:
1380 (gl_object_editor_prepare_image_page),
1381 (gl_object_editor_set_image), (img_selection_changed_cb):
1382 Workaround for GtkFileChooserButton bug # 327243. This the root
1383 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1384 "selection-changed" signals -- the first 2 return NULL -- this is
1385 what caused the image to reset to the default followed by setting
1386 it back to the original image, trying to fit it into a new bounding
1387 box. This sequence of events is much more evident with the new
1390 2007-03-23 Jim Evins <evins@snaught.com>
1392 Merged all changes from experimental cairo branch to trunk.
1393 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1395 2007-03-23 Jim Evins <evins@snaught.com>
1397 * src/label-object.h:
1398 * src/label-object.c: (gl_label_object_class_init),
1399 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1400 Created "get_raw_size" method.
1401 * src/label-barcode.c: (get_size):
1402 * src/xml-label.c: (xml_create_object_text),
1403 (xml_create_object_barcode):
1404 Use new "get_raw_size" method on label-objects when apropos.
1406 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1407 (auto_shrink_font_size):
1408 Added "auto shrink" functionality back.
1410 2007-03-19 Jim Evins <evins@snaught.com>
1412 * src/label-text.c: (draw_object), (draw_shadow):
1413 Don't use negative scales in workaround from previous commit.
1416 2007-03-18 Jim Evins <evins@snaught.com>
1419 Forgot to remove include of xml-lable-191 in previous commit.
1420 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1421 Workaround for pango Bug #341481. Render text at device scale,
1422 and scale font size accordingly. Also, don't do any hinting.
1424 2007-03-18 Jim Evins <evins@snaught.com>
1426 * src/cairo-ellipse-path.c:
1427 * src/cairo-ellipse-path.h:
1428 Forgot to add these new files during last mass commit.
1430 2007-03-18 Jim Evins <evins@snaught.com>
1433 * src/xml-label-191.c:
1434 * src/xml-label-191.h:
1435 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1436 so there is no need to keep compatability.
1438 * src/bc-iec16022.c:
1439 * src/cairo-label-path.c:
1440 * src/cairo-label-path.h:
1441 * src/cairo-markup-path.c:
1445 * src/glabels-batch.c:
1447 * src/label-barcode.c:
1449 * src/label-ellipse.c:
1450 * src/label-image.c:
1452 * src/label-object.c:
1453 * src/label-object.h:
1457 * src/merge-properties-dialog.c:
1459 * src/new-label-dialog.c:
1460 * src/object-editor-bc-page.c:
1461 * src/object-editor-data-page.c:
1462 * src/object-editor-edit-page.c:
1463 * src/object-editor-fill-page.c:
1464 * src/object-editor-image-page.c:
1465 * src/object-editor-line-page.c:
1466 * src/object-editor-private.h:
1467 * src/object-editor-shadow-page.c:
1468 * src/object-editor-text-page.c:
1469 * src/object-editor.c:
1470 * src/pixbuf-cache.c:
1475 * src/template-designer.c:
1477 * src/ui-property-bar.c:
1479 * src/view-barcode.c:
1481 * src/view-ellipse.c:
1484 * src/view-object.c:
1485 * src/view-object.h:
1488 * src/wdgt-media-select.c:
1489 * src/wdgt-print-copies.c:
1490 * src/wdgt-print-merge.c:
1492 * src/xml-label-04.c:
1494 Many changes, including:
1495 - Move draw methods from view-*() to label-*().
1496 - Use same drawing code for on screen view and printing.
1497 - Fix all issues exposed with '-Wall -Werror'.
1499 2007-03-14 Jim Evins <evins@snaught.com>
1502 * src/cairo-handle-path.c:
1503 * src/cairo-handle-path.h:
1504 * src/cairo-object-path.c:
1505 * src/cairo-object-path.h:
1506 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1507 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1509 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1510 (draw_shadow), (object_at):
1511 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1512 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1513 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1515 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1516 (draw_shadow), (object_at):
1517 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1518 (create_handle_path), (gl_view_object_draw_handles),
1519 (gl_view_object_handle_at):
1520 * src/view-object.h:
1521 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1522 (draw_shadow), (object_at):
1523 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1524 Some restructuring of new code.
1526 2007-03-12 Jim Evins <evins@snaught.com>
1529 * src/cairo-object-path.c:
1530 * src/view-barcode.c:
1531 * src/view-barcode.h:
1533 Added barcode object support to view.
1535 2007-03-12 Jim Evins <evins@snaught.com>
1541 * src/cairo-object-path.c:
1542 * src/cairo-object-path.h:
1544 * src/view-ellipse.c:
1547 * src/view-object.c:
1548 * src/view-object.h:
1549 Added text object support to view. Added object_at method to all
1552 2007-03-11 Jim Evins <evins@snaught.com>
1555 * src/cairo-object-path.c: (gl_cairo_object_path),
1556 (gl_cairo_image_object_path):
1557 * src/view-image.c: (gl_view_image_class_init),
1558 (gl_view_image_finalize), (gl_view_image_new),
1559 (update_editor_from_label_cb), (draw),
1560 (gl_view_image_get_create_cursor),
1561 (gl_view_image_create_button_press_event),
1562 (gl_view_image_create_motion_event),
1563 (gl_view_image_create_button_release_event):
1565 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1566 (selection_received_cb), (motion_notify_event_cb),
1567 (button_press_event_cb), (button_release_event_cb):
1568 Added image object support to view.
1570 2007-03-11 Jim Evins <evins@snaught.com>
1573 * src/cairo-object-path.c: (gl_cairo_object_path),
1574 (gl_cairo_line_object_path):
1575 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1576 (update_object_from_editor_cb), (update_editor_from_object_cb),
1577 (update_editor_from_label_cb), (draw),
1578 (gl_view_line_get_create_cursor),
1579 (gl_view_line_create_button_press_event),
1580 (gl_view_line_create_motion_event),
1581 (gl_view_line_create_button_release_event):
1583 * src/view-object.c: (gl_view_object_resize_event):
1584 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1585 (selection_received_cb), (motion_notify_event_cb),
1586 (button_press_event_cb), (button_release_event_cb):
1587 Added line object support to view.
1588 * src/cairo-handle-path.c:
1589 Made handles slightly larger.
1592 2007-03-11 Jim Evins <evins@snaught.com>
1595 * src/cairo-handle-path.c:
1596 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1597 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1598 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1599 (gl_cairo_markup_margin_round_path),
1600 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1601 * src/cairo-object-path.c: (gl_cairo_object_path),
1602 (gl_cairo_ellipse_object_path):
1603 * src/label-object.c: (gl_label_object_rotate):
1606 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1607 (gl_view_ellipse_new), (update_object_from_editor_cb),
1608 (update_editor_from_object_cb), (update_editor_from_label_cb),
1609 (draw), (gl_view_ellipse_get_create_cursor),
1610 (gl_view_ellipse_create_button_press_event),
1611 (gl_view_ellipse_create_motion_event),
1612 (gl_view_ellipse_create_button_release_event):
1613 * src/view-ellipse.h:
1614 * src/view-object.c:
1615 * src/view-object.h:
1616 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1617 (select_object_real), (selection_received_cb),
1618 (motion_notify_event_cb), (button_press_event_cb),
1619 (button_release_event_cb):
1621 Added ellipse object support to view. Plus other cleanup.
1623 2007-03-11 Jim Evins <evins@snaught.com>
1626 * src/view-box.c: (gl_view_box_get_create_cursor),
1627 (gl_view_box_create_button_press_event),
1628 (gl_view_box_create_motion_event),
1629 (gl_view_box_create_button_release_event):
1630 * src/view-object.c: (gl_view_object_set_view),
1631 (gl_view_object_handle_at):
1633 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1634 (motion_notify_event_cb), (button_press_event_cb),
1635 (button_release_event_cb), (key_press_event_cb):
1636 Added creation code for box object.
1638 2007-03-09 Jim Evins <evins@snaught.com>
1640 * src/view-object.c: (gl_view_object_resize_event):
1641 * src/view-object.h:
1642 * src/view.c: (motion_notify_event_cb):
1643 Fix bugs with resizing transformed objects.
1644 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1645 * src/cairo-object-path.c: (gl_cairo_object_path):
1646 * src/cairo-object-path.h:
1647 * src/label-object.c: (gl_label_object_init),
1648 (gl_label_object_dup), (gl_label_object_get_extent),
1649 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1650 (gl_label_object_rotate), (gl_label_object_set_matrix),
1651 (gl_label_object_get_matrix):
1652 * src/label-object.h:
1653 * src/print.c: (draw_object):
1655 * src/view-highlight.c:
1656 * src/view-highlight.h:
1657 * src/xml-label-191.c: (xml191_parse_object):
1658 * src/xml-label.c: (xml_parse_affine_attrs),
1659 (xml_create_affine_attrs):
1660 Replace libart affine matrices with cairo matrices.
1662 2007-03-08 Jim Evins <evins@snaught.com>
1664 * src/view-object.h:
1665 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1666 * src/view-object.c: (gl_view_object_handle_at),
1667 (gl_view_object_resize_event):
1668 Added resize code -- still a bit buggy.
1670 2007-03-07 Jim Evins <evins@snaught.com>
1673 * src/cairo-handle-path.c:
1674 * src/cairo-handle-path.h:
1675 * src/view-box.c: (gl_view_box_new):
1676 * src/view-object.c: (gl_view_object_set_object),
1677 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1678 * src/view-object.h:
1679 * src/view.c: (draw_highlight_layer), (select_object_real),
1680 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1681 (button_press_event_cb), (button_release_event_cb),
1682 (key_press_event_cb):
1684 Added beginnings of object resize handles.
1686 2007-03-07 Jim Evins <evins@snaught.com>
1689 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1690 (gl_view_object_create_mode), (motion_notify_event_cb),
1691 (button_press_event_cb), (button_release_event_cb),
1692 (key_press_event_cb):
1693 Added move selection support.
1695 2007-03-05 Jim Evins <evins@snaught.com>
1697 * src/cairo-object-path.c: (gl_cairo_object_path):
1698 * src/view-object.c: (gl_view_object_draw),
1699 (gl_view_object_draw_highlight):
1700 * src/view.c: (view_object_at), (motion_notify_event_cb),
1701 (button_press_event_cb), (button_release_event_cb):
1702 Additional refinements to select logic.
1704 2007-03-05 Jim Evins <evins@snaught.com>
1707 * src/view.c: (gl_view_init), (gl_view_construct),
1708 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1709 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1710 (button_press_event_cb), (button_release_event_cb):
1711 Added initial select region support and context menu.
1713 2007-03-04 Jim Evins <evins@snaught.com>
1724 * src/ui-commands.c:
1727 * src/view-object.c:
1728 * src/view-object.h:
1731 * src/wdgt-print-copies.c:
1732 * src/wdgt-print-merge.c:
1734 Initial port to a raw Cairo canvas. This removes all remaining
1735 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1736 the view is becoming a canvas widget in its own right. Still needs
1738 * src/cairo-label-path.c:
1739 * src/cairo-label-path.h:
1740 * src/cairo-markup-path.c:
1741 * src/cairo-markup-path.h:
1742 * src/cairo-object-path.c:
1743 * src/cairo-object-path.h:
1744 New files to support cairo canvas.
1745 * src/canvas-hacktext.c:
1746 * src/canvas-hacktext.h:
1749 2007-02-18 Jim Evins <evins@snaught.com>
1752 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1754 2007-02-14 Jim Evins <evins@snaught.com>
1758 * src/bc-gnubarcode.c:
1759 * src/bc-gnubarcode.h:
1764 * src/canvas-hacktext.c:
1765 * src/canvas-hacktext.h:
1772 * src/label-barcode.c:
1773 * src/label-barcode.h:
1776 * src/label-ellipse.c:
1777 * src/label-ellipse.h:
1778 * src/label-image.c:
1779 * src/label-image.h:
1782 * src/label-object.c:
1783 * src/label-object.h:
1788 * src/merge-evolution.c:
1789 * src/merge-evolution.h:
1792 * src/merge-properties-dialog.c:
1793 * src/merge-properties-dialog.h:
1796 * src/merge-vcard.c:
1797 * src/merge-vcard.h:
1800 * src/mini-preview-pixbuf.h:
1801 * src/new-label-dialog.c:
1802 * src/new-label-dialog.h:
1803 * src/object-editor-bc-page.c:
1804 * src/object-editor-data-page.c:
1805 * src/object-editor-edit-page.c:
1806 * src/object-editor-fill-page.c:
1807 * src/object-editor-image-page.c:
1808 * src/object-editor-line-page.c:
1809 * src/object-editor-lsize-page.c:
1810 * src/object-editor-position-page.c:
1811 * src/object-editor-private.h:
1812 * src/object-editor-size-page.c:
1813 * src/object-editor-text-page.c:
1814 * src/object-editor.c:
1815 * src/object-editor.h:
1816 * src/pixbuf-cache.c:
1817 * src/pixbuf-cache.h:
1818 * src/prefs-dialog.c:
1819 * src/prefs-dialog.h:
1820 * src/prefs-model.c:
1821 * src/prefs-model.h:
1827 * src/template-designer.c:
1830 * src/ui-commands.c:
1831 * src/ui-commands.h:
1832 * src/ui-property-bar.c:
1833 * src/ui-property-bar.h:
1842 * src/view-barcode.c:
1843 * src/view-barcode.h:
1846 * src/view-ellipse.c:
1847 * src/view-ellipse.h:
1848 * src/view-highlight.c:
1849 * src/view-highlight.h:
1854 * src/view-object.c:
1855 * src/view-object.h:
1860 * src/wdgt-chain-button.c:
1861 * src/wdgt-chain-button.h:
1862 * src/wdgt-media-select.c:
1863 * src/wdgt-mini-preview.c:
1864 * src/wdgt-print-copies.c:
1865 * src/wdgt-print-copies.h:
1866 * src/wdgt-print-merge.c:
1867 * src/wdgt-print-merge.h:
1868 * src/wdgt-rotate-label.c:
1870 * src/xml-label-04.c:
1871 * src/xml-label-04.h:
1872 * src/xml-label-191.c:
1873 * src/xml-label-191.h:
1877 Assorted superficial cleanup. Including:
1878 - Use G_DEFINE_TYPE for all objects.
1879 - Reconcile style of all class initializer functions
1880 - Reconcile style of all finalize functions
1881 - Add emacs mode line to all source files
1883 2007-02-06 Jim Evins <evins@snaught.com>
1885 Assorted cleanup and removal of deprecated items.
1890 Removed annoying splash screen.
1891 * src/glabels-batch.c: (main):
1892 * src/glabels.c: (main):
1893 Converted from popt to GOption.
1894 * src/object-editor-shadow-page.c:
1895 (gl_object_editor_set_shadow_state):
1896 Removed deprecated method on GtkToggleButton.
1897 * src/ui-commands.c: (gl_ui_cmd_help_about):
1898 Removed dependency on libgnomui/qnome-url.h.
1899 * src/template-designer.c:
1900 Removed dependency on libgnome/gnome-program.h.
1903 2007-02-04 Jim Evins <evins@snaught.com>
1907 * src/prefs-model.c:
1908 * src/print.c: (draw_text_object):
1909 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1910 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1912 2007-02-04 Jim Evins <evins@snaught.com>
1914 * src/wdgt-mini-preview.c:
1915 * src/wdgt-mini-preview.h:
1916 Ported widget from GnomeCanvas to Cairo.
1918 2007-02-03 Jim Evins <evins@snaught.com>
1920 * data/glade/template-designer.glade:
1921 * src/template-designer.c:
1922 * src/template-designer.h:
1923 Ported GnomeDruid to GtkAssistant. Since libglade does not
1924 yet support the GtkAssistant and we derive directly from
1925 the Assistant, the pages are layed out in a GtkNotebook in
1926 the glade description -- we then append each page to the
1929 2007-01-25 Jim Evins <evins@snaught.com>
1931 * data/glade/object-editor.glade:
1932 Added dummy page to notebook, to prevent shadow page from
1933 becoming the default current page at creation.
1934 * src/view-box.c: (construct_properties_editor):
1935 * src/view-ellipse.c: (construct_properties_editor):
1936 * src/view-line.c: (construct_properties_editor):
1937 * src/view-text.c: (construct_properties_editor):
1938 Reconciled order of params.
1940 2007-01-19 Jim Evins <evins@snaught.com>
1942 * src/label-barcode.h:
1943 * src/label-object.c: (gl_label_object_set_font_weight),
1944 (gl_label_object_set_text_alignment),
1945 (gl_label_object_get_font_weight),
1946 (gl_label_object_get_text_alignment):
1947 * src/label-object.h:
1948 * src/label-text.c: (gl_label_text_instance_init), (copy),
1949 (get_size), (set_font_family), (set_font_weight),
1950 (set_text_alignment), (get_font_weight), (get_text_alignment):
1952 * src/object-editor-text-page.c:
1953 (gl_object_editor_prepare_text_page),
1954 (gl_object_editor_set_font_family),
1955 (gl_object_editor_set_font_weight),
1956 (gl_object_editor_get_font_weight),
1957 (gl_object_editor_set_text_alignment),
1958 (gl_object_editor_get_text_alignment),
1959 (gl_object_editor_set_text_color):
1960 * src/object-editor.h:
1961 * src/prefs-dialog.c: (construct_object_page),
1962 (update_object_page_from_prefs), (update_prefs_from_object_page):
1963 * src/prefs-model.c: (gl_prefs_model_save_settings),
1964 (gl_prefs_model_load_settings):
1965 * src/prefs-model.h:
1966 * src/print.c: (draw_text_object):
1967 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1968 (reset_to_default_properties), (update_text_properties),
1969 (font_bold_toggled_cb), (text_align_toggled_cb):
1971 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1972 (gl_util_weight_to_string), (gl_util_string_to_weight),
1973 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1975 * src/view-text.c: (update_object_from_editor_cb),
1976 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1977 * src/view.c: (gl_view_set_selection_text_alignment),
1978 (gl_view_set_default_text_alignment),
1979 (gl_view_get_default_text_alignment):
1981 * src/xml-label-04.c: (xml04_parse_text_props):
1982 * src/xml-label-191.c: (xml191_parse_text_props):
1983 * src/xml-label.c: (xml_parse_object_text),
1984 (xml_parse_toplevel_span), (xml_create_object_text),
1985 (xml_create_toplevel_span):
1986 Converted all model internals to Pango. GnomeFont remains in
1987 view until GnomeCanvas can be replaced with a cairo-based canvas.
1989 2007-01-17 Jim Evins <evins@snaught.com>
1995 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1996 (gl_wdgt_print_copies_construct):
1997 * src/wdgt-print-copies.h:
1998 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1999 (gl_wdgt_print_merge_construct):
2000 * src/wdgt-print-merge.h:
2001 Removed all remaining HIG wrapper widgets.
2003 2007-01-16 Jim Evins <evins@snaught.com>
2006 * src/print-dialog.c:
2007 * src/print-dialog.h:
2010 * src/template-designer.c: (print_test_cb):
2011 * src/ui-commands.c: (gl_ui_cmd_file_print):
2013 Renamed PrintDialog to PrintOp. Added constructor for batch
2015 * src/glabels-batch.c: (main):
2016 Converted to use new PrintOp object for printing.
2018 2007-01-15 Jim Evins <evins@snaught.com>
2020 * data/glade/Makefile.am:
2021 * data/glade/print-custom-widget.glade:
2022 * src/print-dialog.c:
2023 * src/print-dialog.h:
2026 * src/template-designer.c: (print_test_cb):
2027 * src/ui-commands.c: (gl_ui_cmd_file_print):
2028 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2029 * src/wdgt-print-merge.h:
2030 * src/window.c: (gl_window_init):
2032 Initial conversion to GtkPrintOperation.
2034 - Remove font and other libgnomeprint[ui] from elsewhere
2035 - Add batch initialization of print operation
2037 2007-01-08 Jim Evins <evins@snaught.com>
2039 Updated dependencies. Set version to 2.1.pre4cvs.
2041 2007-01-03 Jim Evins <evins@snaught.com>
2043 * src/recent-files/*
2044 Removed EggRecent stuff.
2050 * src/ui-commands.c:
2051 * src/ui-commands.h:
2053 Ported from EggRecent to GtkRecentManager.
2056 2007-01-02 Jim Evins <evins@snaught.com>
2059 * iec16022-0.2.1/BUGS:
2060 * iec16022-0.2.1/CHANGELOG:
2061 * iec16022-0.2.1/CREDITS:
2062 * iec16022-0.2.1/INSTALL:
2063 * iec16022-0.2.1/LICENSE:
2064 * iec16022-0.2.1/Makefile.am:
2065 * iec16022-0.2.1/Makefile.dist:
2066 * iec16022-0.2.1/README:
2067 * iec16022-0.2.1/README.glabels:
2068 * iec16022-0.2.1/TODO:
2069 * iec16022-0.2.1/iec16022.1:
2070 * iec16022-0.2.1/iec16022.c:
2071 * iec16022-0.2.1/iec16022ecc200.c:
2072 * iec16022-0.2.1/iec16022ecc200.h:
2073 * iec16022-0.2.1/image.c:
2074 * iec16022-0.2.1/image.h:
2075 * iec16022-0.2.1/reedsol.c:
2076 * iec16022-0.2.1/reedsol.h:
2077 * iec16022-0.2.1/test/testsuite-example.bin:
2078 * iec16022-0.2.1/test/testsuite-example.eps:
2079 * iec16022-0.2.1/test/testsuite-example.hex:
2080 * iec16022-0.2.1/test/testsuite-example.png:
2081 * iec16022-0.2.1/test/testsuite-example.text:
2082 * iec16022-0.2.1/test/testsuite.sh:
2083 Include modified copy of iec16022-0.2.1 to provide encoding
2084 support for datamatrix 2D barcodes.
2086 * src/bc-iec16022.c:
2087 * src/bc-iec16022.h:
2089 Added initial datamatrix 2D barcode backend to barcode code.
2092 Automatic updates to later versions of these files.
2094 2006-11-28 Jim Evins <evins@snaught.com>
2096 * data/templates/avery-iso-templates.xml:
2097 * data/templates/avery-us-templates.xml:
2098 * data/templates/categories.xml:
2099 * data/templates/misc-iso-templates.xml:
2100 * data/templates/misc-us-templates.xml:
2101 * data/templates/zweckform-iso-templates.xml:
2102 More categorization.
2104 2006-09-12 Jim Evins <evins@snaught.com>
2106 * data/dtd/glabels-2.0.dtd:
2107 * data/templates/Makefile.am:
2108 * data/templates/avery-iso-templates.xml:
2109 * data/templates/avery-other-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-other-templates.xml:
2114 * data/templates/zweckform-iso-templates.xml:
2115 * data/glade/Makefile.am:
2116 * data/glade/new-label-dialog.glade:
2117 * data/glade/wdgt-media-select.glade:
2118 * data/glade/wdgt-rotate-label.glade:
2119 * libglabels/Makefile.am:
2120 * libglabels/category.c:
2121 * libglabels/category.h:
2122 * libglabels/libglabels.h:
2123 * libglabels/paper.c:
2124 * libglabels/template.c:
2125 * libglabels/template.h:
2126 * libglabels/xml-category.c:
2127 * libglabels/xml-category.h:
2128 * libglabels/xml-template.c:
2129 Added support for category meta data.
2132 * src/mini-preview-pixbuf.c:
2133 * src/mini-preview-pixbuf.h:
2134 * src/new-label-dialog.c:
2135 * src/new-label-dialog.h:
2136 * src/wdgt-media-select.c:
2137 * src/wdgt-media-select.h:
2138 * src/wdgt-rotate-label.c:
2139 * src/wdgt-rotate-label.h:
2140 New "new label" dialog.
2142 2006-05-27 Jim Evins <evins@snaught.com>
2147 Preparation for 2.1.3.
2153 2006-05-22 Jim Evins <evins@snaught.com>
2155 * src/print.c: (draw_barcode_object):
2156 Don't print "Invalid barcode data" if data field is empty. Patch provided
2157 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2159 Added acknowledgment for above patch.
2160 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2161 * src/bc-postnet.c: (postnet_code):
2162 Removed "Invalid barcode data" warnings from stderr.
2163 * src/view-barcode.c: (draw_barcode):
2164 Draw box around barcode extent if data empty or invalid. Center a
2165 message whether the data is empty or invalid in box.
2167 2006-05-22 Jim Evins <evins@snaught.com>
2169 * src/print.c: (draw_text_object):
2170 Check shadow state when printing text.
2172 2006-05-20 Jim Evins <evins@snaught.com>
2174 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2175 (gl_ui_cmd_view_markup_toggle):
2176 Fixed crash when grid or markup have been toggled off during
2177 a previous session. Bug #1434324.
2179 2006-04-05 Jim Evins <evins@snaught.com>
2181 * src/object-editor.c: (gl_object_editor_set_key_names):
2182 Fixed potential crash when freeing empty key list.
2184 2006-03-11 Jim Evins <evins@snaught.com>
2186 * src/print.c: (draw_text_object):
2187 * src/view-text.c: (gl_view_text_new),
2188 (construct_properties_editor), (update_object_from_editor_cb),
2189 (update_editor_from_object_cb), (update_editor_from_label_cb),
2191 Added shadow support to text object.
2193 2006-02-18 Jim Evins <evins@snaught.com>
2195 * src/print.c: (draw_line_object):
2196 * src/view-line.c: (gl_view_line_new),
2197 (construct_properties_editor), (update_canvas_item_from_object_cb),
2198 (update_object_from_editor_cb), (update_editor_from_object_cb),
2199 (update_editor_from_label_cb):
2200 Added shadow support to line object.
2202 2006-02-16 Jim Evins <evins@snaught.com>
2206 * src/print.c: (draw_ellipse_object):
2207 * src/view-ellipse.c: (gl_view_ellipse_new),
2208 (construct_properties_editor), (update_canvas_item_from_object_cb),
2209 (update_object_from_editor_cb), (update_editor_from_object_cb),
2210 (update_editor_from_label_cb):
2211 Added shadow support to ellipse object.
2213 2006-02-15 Jim Evins <evins@snaught.com>
2215 * src/label-object.c:
2216 Changed default shadow offsets.
2217 * src/view-box.c: (gl_view_box_new):
2218 Simplified gl_view_box_new() so that is does not duplicate code
2219 in update_canvas_item_from_object_cb().
2221 2006-02-07 Jim Evins <evins@snaught.com>
2223 * data/glade/object-editor.glade:
2224 Fixed color groups of color combos.
2226 Added default shadow color.
2227 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2228 Added shadow color group.
2230 2006-02-06 Jim Evins <evins@snaught.com>
2232 * src/object-editor-shadow-page.c:
2233 Forgot to add this file.
2234 * src/view-box.c: (gl_view_box_new),
2235 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2236 Update limits on shadow offset spinbuttons.
2238 2006-01-19 Jim Evins <evins@snaught.com>
2240 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2241 Initialize key_list to NULL.
2242 * data/glade/object-editor.glade:
2246 * src/label-object.c:
2247 * src/label-object.h:
2248 * src/object-editor-fill-page.c:
2249 * src/object-editor-private.h:
2250 * src/object-editor.c:
2251 * src/object-editor.h:
2253 Created infrastructure for shadow support.
2256 Initial shadow support in box object only.
2258 2006-01-05 Jim Evins <evins@snaught.com>
2260 * src/merge-properties-dialog.c: (src_changed_cb):
2261 Be extra paranoid before calling strcmp().
2262 * src/merge.c: (gl_merge_set_src):
2263 Don't make (merge == NULL) a critical error.
2265 2005-12-22 Jim Evins <evins@snaught.com>
2267 * src/glabels-batch.c: (main):
2268 Compile warning free with gcc 4.0.
2270 2005-12-21 Jim Evins <evins@snaught.com>
2273 Updated example RPM spec file.
2275 2005-12-21 Jim Evins <evins@snaught.com>
2279 Preparation for 2.1.2.
2281 2005-12-20 Jim Evins <evins@snaught.com>
2284 Define unique G_LOG_DOMAIN for glabels.
2285 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2286 * src/warning-handler.c: (gl_warning_handler_init),
2288 Register for G_LOG_DOMAIN instead of NULL.
2290 2005-12-10 Jim Evins <evins@snaught.com>
2292 * src/merge-evolution.c:
2293 * src/merge-vcard.c:
2296 2005-12-08 Jim Evins <evins@snaught.com>
2298 * libglabels/paper.c: (read_paper_files_from_dir):
2299 * libglabels/template.c: (gl_template_register),
2300 (read_template_files_from_dir):
2301 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2302 (gl_xml_paper_parse_papers_doc):
2303 * libglabels/xml-template.c:
2304 (gl_xml_template_read_templates_from_file),
2305 (gl_xml_template_parse_templates_doc),
2306 (gl_xml_template_parse_template_node),
2307 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2308 (xml_parse_label_cd_node), (xml_parse_layout_node),
2309 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2310 (xml_parse_markup_circle_node),
2311 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2312 * libglabels/xml.c: (gl_xml_get_prop_length):
2313 Re-classified g_warnings to g_messages.
2315 * src/glabels.c: (main):
2316 * src/warning-handler.c: (gl_warning_handler_init),
2318 * src/warning-handler.h:
2319 Added warning message handler to make sure the user is
2320 presented with appropriate non-fatal errors.
2321 * src/critical-error-handler.c: (critical_error_handler):
2322 Changed exit to abort.
2323 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2324 * src/bc-postnet.c: (postnet_code):
2325 * src/bc.c: (id_to_index), (name_to_index):
2326 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2327 * src/object-editor.c: (gl_object_notebook_construct_valist):
2328 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2329 * src/prefs.c: (gl_prefs_get_units_per_point),
2330 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2331 (gl_prefs_get_units_string):
2332 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2333 * src/splash.c: (gl_splash):
2334 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2335 * src/view-highlight.c: (gl_view_highlight_new),
2336 (highlight_resizable_box_construct), (object_changed_cb),
2337 (view_scale_changed_cb):
2338 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2339 (draw_markup_layer), (draw_markup_margin),
2340 (gl_view_object_create_mode), (canvas_event),
2341 (selection_received_cb):
2342 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2343 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2344 * src/xml-label-04.c: (gl_xml_label_04_parse),
2345 (xml04_parse_media_description), (xml04_parse_text_props),
2346 (xml04_parse_barcode_props):
2347 * src/xml-label-191.c: (gl_xml_label_191_parse),
2348 (xml191_parse_objects), (xml191_parse_object),
2349 (xml191_parse_text_props), (xml191_parse_image_props),
2350 (xml191_parse_barcode_props), (xml191_parse_data),
2351 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2352 (xml191_parse_markup):
2353 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2354 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2355 (xml_parse_object_text), (xml_parse_object_image),
2356 (xml_parse_object_barcode), (xml_parse_data),
2357 (xml_parse_toplevel_span), (gl_xml_label_save),
2358 (xml_create_objects):
2359 Re-classified g_warnings to g_messages.
2360 * src/merge-evolution.c: (gl_merge_evolution_open),
2361 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2362 Use g_warning to output errors encountered while
2363 communicating with the evolution data server
2364 instead of embedding them in the data.
2366 2005-12-08 Jim Evins <evins@snaught.com>
2368 * libglabels/libglabels-private.h:
2370 * libglabels/paper.c: (read_papers):
2371 * libglabels/template.c: (read_templates):
2372 Made appropriate warnings critical.
2374 * src/critical-error-handler.h:
2375 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2376 (critical_error_handler):
2377 Created critical error handler.
2378 * src/glabels.c: (main):
2379 Register critical error handler.
2380 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2381 * src/object-editor.c: (gl_object_editor_init):
2382 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2383 * src/template-designer.c: (gl_template_designer_init):
2384 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2385 Made appropriate warnings critical.
2387 2005-11-27 Jim Evins <evins@snaught.com>
2389 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2390 (gl_merge_evolution_get_primary_key),
2391 (gl_merge_evolution_get_record):
2392 Don't create "record_key" pseudo-key. Don't populate
2393 fields with null data.
2395 2005-11-25 Jim Evins <evins@snaught.com>
2397 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2398 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2399 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2401 Query EDS for all supported fields. Patch provided by
2402 Austin Henry <ahenry@users.sourceforge.net>.
2404 2005-10-29 Jim Evins <evins@snaught.com>
2406 * src/glabels.c: (main):
2407 * src/label-barcode.c: (gl_label_barcode_finalize):
2408 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2409 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2410 * src/object-editor.c: (gl_object_editor_finalize):
2411 Another pass at valgrinding -- plugged several memory leaks.
2412 * src/view-text.c: (gl_view_text_new),
2413 (update_canvas_item_from_object_cb), (draw_hacktext):
2414 Commented out artifacts of edit-in-place code.
2416 2005-10-28 Jim Evins <evins@snaught.com>
2418 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2419 Fixed use of uninitialized variable. Caught by
2420 d binderman <dcb314@hotmail.com>.
2422 2005-10-27 Jim Evins <evins@snaught.com>
2424 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2425 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2427 Additional cleanup of EDS and vcard backends. Provided by
2428 Austin Henry <ahenry@users.sourceforge.net>.
2430 2005-10-24 Jim Evins <evins@snaught.com>
2434 * src/merge-evolution.c:
2435 * src/merge-evolution.h:
2436 * src/merge-init.c: (gl_merge_init):
2437 * src/merge-properties-dialog.c: (type_changed_cb):
2438 * src/merge-vcard.c:
2439 * src/merge-vcard.h:
2440 * src/ui-commands.c: (gl_ui_cmd_help_about):
2441 Added Evolution Data Server and VCard merge backends. Original patch
2442 provided by Austin Henry <ahenry@users.sourceforge.net>.
2444 Only support EDS and VCard backends if libebook is installed. Allow
2445 user to disable support, even if installed.
2447 2005-10-24 Jim Evins <evins@snaught.com>
2450 * data/templates/avery-iso-templates.xml:
2451 * data/templates/avery-us-templates.xml:
2452 * data/templates/misc-iso-templates.xml:
2453 * data/templates/zweckform-iso-templates.xml:
2454 Collected all template changes and submissions since last
2457 2005-10-23 Jim Evins <evins@snaught.com>
2460 * data/mime/Makefile.am:
2461 Added configure options to disable update-mime-database and
2462 update-desktop-database as part of the install. Patch
2463 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2465 2005-10-23 Jim Evins <evins@snaught.com>
2468 * libglabels/xml.c: (gl_xml_get_prop_string),
2469 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2470 (gl_xml_is_node), (gl_xml_get_node_content):
2471 Added new XML utility functions.
2472 * libglabels/xml-paper.c:
2473 * libglabels/xml-template.c:
2475 Cleanup by using new xml utilities created above.
2476 * libglabels/paper.c: (gl_paper_free):
2477 * src/file.c: (new_response):
2478 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2479 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2480 (gl_pixbuf_cache_get_pixbuf):
2481 * src/ui-property-bar.c:
2482 (gl_ui_property_bar_construct_color_combo):
2483 * src/view-highlight.c: (gl_view_highlight_finalize):
2484 * src/view-image.c: (update_object_from_editor_cb):
2485 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2486 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2487 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2488 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2489 (draw_markup_margin_round), (draw_markup_margin_cd),
2490 (draw_markup_margin_cd_bc):
2491 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2492 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2493 Plugged various memory leaks located with valgrind.
2494 * src/view-image.c: (update_canvas_item_from_object_cb):
2495 Don't allow a width or height of zero when drawing pixbuf.
2497 2005-10-22 Jim Evins <evins@snaught.com>
2499 * libglabels/xml-paper.c:
2500 * libglabels/xml-template.c:
2503 * src/bc-gnubarcode.c:
2504 * src/canvas-hacktext.c:
2506 * src/object-editor-data-page.c:
2507 * src/print-dialog.c:
2510 * src/template-designer.c:
2512 * src/ui-property-bar.c:
2514 * src/view-barcode.c:
2516 * src/view-ellipse.c:
2521 * src/wdgt-media-select.c:
2522 * src/xml-label-04.c:
2523 * src/xml-label-191.c:
2525 Modified to compile warning free with gcc-4.0. Mostly
2526 casting to change signedness of characters. Did not
2527 attack gnu-barcode library yet.
2529 2005-10-22 Jim Evins <evins@snaught.com>
2531 * src/glabels.c: (main):
2532 * src/splash.c: (gl_splash):
2533 Removed some small memory leaks.
2537 2005-09-19 Jim Evins <evins@snaught.com>
2539 * data/glade/property-bar.glade:
2540 Remove items from font_family_combo. This prevents the
2541 double entry after adding text model and list of fonts.
2542 * src/ui-property-bar.c: (reset_to_default_properties):
2543 Free font_family_list.
2545 2005-07-01 Jim Evins <evins@snaught.com>
2548 Updated italian translation (Daniele Medri)
2550 2005-06-26 Jim Evins <evins@snaught.com>
2552 * docs/libglabels/libglabels-decl-list.txt:
2553 Somehow never got checked in before.
2554 * docs/libglabels/libglabels.types:
2555 Removed -- don't need it afterall.
2557 2005-06-20 Jim Evins <evins@snaught.com>
2560 Final prep for 2.1.1 release.
2562 2005-06-20 Jim Evins <evins@snaught.com>
2565 Final preps for 2.1.1 release.
2566 * docs/libglabels/libglabels.types:
2567 Somehow never got checked in before.
2569 Bring up-to-date with recent reorg of ui code.
2572 2005-06-19 Jim Evins <evins@snaught.com>
2574 * src/template-designer.c: (construct_layout_page):
2575 Removed attempt to match background color of mini preview widget to
2578 2005-06-17 Jim Evins <evins@snaught.com>
2580 * help/C/figures/merge-ex2-4.png:
2581 * help/C/glabels.xml:
2582 Fixed spelling error.
2584 2005-06-13 Jim Evins <evins@snaught.com>
2586 * help/C/figures/merge-ex1-1.png:
2587 * help/C/figures/merge-ex1-2.png:
2588 * help/C/figures/merge-ex1-3.png:
2589 * help/C/figures/merge-ex1-4.png:
2590 * help/C/figures/merge-ex2-1.png:
2591 * help/C/figures/merge-ex2-2.png:
2592 * help/C/figures/merge-ex2-3.png:
2593 * help/C/figures/merge-ex2-4.png:
2594 Added figures for document merge tutorial.
2595 * help/C/glabels.xml:
2596 Added document merge tutorial.
2598 2005-05-19 Jim Evins <evins@snaught.com>
2600 * data/glade/merge-properties-dialog.glade:
2601 Fixed irregular spacing.
2602 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2603 (gl_merge_properties_dialog_construct):
2604 Set outer padding and remove separator.
2606 2005-05-18 Jim Evins <evins@snaught.com>
2610 Removed glHigDialog class.
2611 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2612 (gl_file_properties), (create_properties_dialog_widgets):
2613 * src/prefs-dialog.h:
2614 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2615 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2616 * src/print-dialog.h:
2617 * src/prefs-dialog.h:
2618 * src/print-dialog.c: (gl_print_dialog_get_type),
2619 (gl_print_dialog_init), (gl_print_dialog_construct):
2620 Replaced all instances of glHigDialog with GtkDialog.
2622 2005-05-17 Jim Evins <evins@snaught.com>
2626 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2627 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2628 (save_as_response), (gl_file_close):
2629 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2631 2005-05-15 Jim Evins <evins@snaught.com>
2633 * src/ui-commands.h:
2641 A little code reformatting -- no functional changes.
2643 2005-05-14 Jim Evins <evins@snaught.com>
2646 Removed obsolete macros.
2648 Added marshalling template to support new view signal: "context_menu_activate."
2650 * src/view.c: (gl_view_class_init), (gl_view_construct),
2651 (canvas_event_arrow_mode):
2652 - Removed hardcoded context menus and added new signal "context_menu_activate"
2653 to push this up to the uimanager.
2654 - Removed merge properties and print dialogs so that they can be managed with
2655 the window by the uimanager.
2656 * src/merge-properties-dialog.h:
2657 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2658 (gl_merge_properties_dialog_construct):
2659 Changed calling convention of gl_merge_properties_dialog_new() to use
2660 glLabel and GtkWindow instead of view to make more consistent with other
2662 * src/print-dialog.h:
2663 * src/print-dialog.c: (gl_print_dialog_new),
2664 (gl_print_dialog_construct):
2665 Removed last artifact of libbonoboui.
2666 * src/ui-commands.c: (gl_ui_cmd_file_print),
2667 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2668 Reconciled style for launching dialogs.
2669 * src/ui.c: (gl_ui_new):
2670 Added context menus to ui manager.
2671 * src/view-object.c: (item_event_arrow_mode):
2672 No longer try to select objects with right-click.
2674 * src/window.c: (gl_window_init), (gl_window_set_label),
2675 (context_menu_activate_cb):
2676 Context menus and all dialogs are now managed in a consistent way in window
2679 2005-05-11 Jim Evins <evins@snaught.com>
2682 * src/window.c: (gl_window_init), (gl_window_destroy):
2683 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2684 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2685 Moved management of recent_view back from window.c to ui.c -- it just feels
2688 2005-05-10 Jim Evins <evins@snaught.com>
2691 * src/window.c: (gl_window_init):
2693 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2694 (menu_item_select_cb), (menu_item_deselect_cb):
2695 Added GtkStatusbar which displays menu tooltips.
2697 2005-05-09 Jim Evins <evins@snaught.com>
2699 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2704 Removed dependencies on libbonoboui.
2706 * data/ui/Makefile.am:
2707 * data/ui/glabels-ui.xml:
2708 Removed data/ui directory.
2709 * data/glade/Makefile.am:
2710 * data/property-bar.glade:
2711 Added glade description of property-bar for new libglade implementation
2718 * src/ui-commands.h:
2719 * src/ui-commands.c:
2720 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2721 since the distinction between "commands" and "tools" is no longer that clear.
2724 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2725 no longer has knowledge of eggRecent*.
2726 * src/glabels.c: (main):
2727 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2729 * src/object-editor.c: (gl_object_editor_init):
2730 Make sure notebook does not respond to a "show_all" on the parent.
2731 * src/recent-files/Makefile.am:
2732 * src/recent-files/*.[ch]
2733 Updated from latest version of libegg which now has a view based on
2734 GtkUIManager. Removed unused bonobo and gtk views.
2735 * src/ui-property-bar.h:
2736 * src/ui-property-bar.c:
2737 New implementation based on libglade.
2740 Sidebar is now simply a GtkWidget and does not expect to be a part of
2741 a libbonoboui interface.
2746 Converted for use with GtkUIManager.
2749 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2750 to create menus and toolbars.
2752 2005-04-25 Jim Evins <evins@snaught.com>
2754 * data/templates/misc-iso-templates.xml:
2755 Added Fellows 04715 template provided by Steve Saxon.
2757 Updated acknowledgement for above.
2759 2005-04-23 Jim Evins <evins@snaught.com>
2761 * src/util.c: (gl_util_combo_box_set_strings):
2762 Make sure to clear model before loading a new list of strings.
2763 * src/wdgt-media-select.h:
2764 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2765 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2766 (template_combo_changed_cb), (prefs_changed_cb),
2767 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2768 (gl_wdgt_media_select_get_page_size),
2769 (gl_wdgt_media_select_set_page_size):
2770 Replaced the deprecated GtkCombo widget with the new
2773 2005-04-21 Jim Evins <evins@snaught.com>
2775 * data/glade/template-designer.glade:
2776 * src/template-designer.c: (construct_pg_size_page),
2777 (pg_size_page_changed_cb), (build_template):
2778 Replaced the deprecated GtkCombo widget with the new
2781 2005-04-20 Jim Evins <evins@snaught.com>
2783 * data/glade/prefs-dialog.glade:
2784 * src/prefs-dialog.c: (construct_object_page),
2785 (update_object_page_from_prefs), (update_prefs_from_object_page):
2786 Replaced the deprecated GtkCombo widget with the new
2789 2005-04-19 Jim Evins <evins@snaught.com>
2791 * data/glade/object-editor.glade:
2792 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2793 (style_changed_cb), (gl_object_editor_set_bc_style),
2794 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2795 (gl_object_editor_get_bc_color):
2796 * src/object-editor-data-page.c:
2797 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2798 (gl_object_editor_get_data):
2799 * src/object-editor-edit-page.c:
2800 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2801 * src/object-editor-fill-page.c:
2802 (gl_object_editor_prepare_fill_page),
2803 (gl_object_editor_set_fill_color),
2804 (gl_object_editor_get_fill_color):
2805 * src/object-editor-image-page.c:
2806 (gl_object_editor_prepare_image_page),
2807 (gl_object_editor_set_image), (gl_object_editor_get_image):
2808 * src/object-editor-line-page.c:
2809 (gl_object_editor_prepare_line_page),
2810 (gl_object_editor_set_line_color),
2811 (gl_object_editor_get_line_color):
2812 * src/object-editor-private.h:
2813 * src/object-editor-text-page.c:
2814 (gl_object_editor_prepare_text_page),
2815 (gl_object_editor_set_font_family),
2816 (gl_object_editor_get_font_family),
2817 (gl_object_editor_set_text_color),
2818 (gl_object_editor_get_text_color):
2819 * src/object-editor.c: (gl_object_editor_set_key_names):
2821 In the object editor: replaced all instances of the deprecated
2822 GtkCombo widget with the new GtkComboBox.
2824 2005-04-18 Jim Evins <evins@snaught.com>
2827 Neglected to save this one in previous checkin to support
2830 2005-04-17 Jim Evins <evins@snaught.com>
2832 * libglabels/libglabels-private.h:
2833 * libglabels/paper.c:
2834 * libglabels/paper.h:
2835 * libglabels/template.c:
2836 * libglabels/template.h:
2837 * libglabels/xml-paper.c:
2838 * libglabels/xml-paper.h:
2839 * libglabels/xml-template.c:
2844 * src/bc-gnubarcode.c:
2855 * src/label-barcode.c:
2857 * src/label-ellipse.c:
2858 * src/label-image.c:
2859 * src/label-image.h:
2861 * src/label-object.c:
2865 * src/merge-properties-dialog.c:
2866 * src/object-editor-bc-page.c:
2867 * src/object-editor-data-page.c:
2868 * src/object-editor-edit-page.c:
2869 * src/object-editor-fill-page.c:
2870 * src/object-editor-image-page.c:
2871 * src/object-editor-line-page.c:
2872 * src/object-editor-lsize-page.c:
2873 * src/object-editor-position-page.c:
2874 * src/object-editor-private.h:
2875 * src/object-editor-size-page.c:
2876 * src/object-editor-text-page.c:
2877 * src/object-editor.c:
2878 * src/object-editor.h:
2879 * src/pixbuf-cache.h:
2880 * src/prefs-dialog.c:
2881 * src/prefs-dialog.h:
2882 * src/prefs-model.c:
2883 * src/prefs-model.h:
2885 * src/print-dialog.c:
2886 * src/print-dialog.h:
2894 * src/template-designer.c:
2895 * src/template-designer.h:
2898 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2904 * src/view-barcode.c:
2906 * src/view-ellipse.c:
2907 * src/view-highlight.c:
2908 * src/view-highlight.h:
2911 * src/view-object.c:
2912 * src/view-object.h:
2916 * src/wdgt-chain-button.c:
2917 * src/wdgt-media-select.c:
2918 * src/wdgt-media-select.h:
2919 * src/wdgt-mini-preview.c:
2920 * src/wdgt-mini-preview.h:
2921 * src/wdgt-print-copies.c:
2922 * src/wdgt-print-copies.h:
2923 * src/wdgt-print-merge.c:
2924 * src/wdgt-print-merge.h:
2925 * src/wdgt-rotate-label.c:
2926 * src/wdgt-rotate-label.h:
2929 * src/xml-label-04.c:
2930 * src/xml-label-191.c:
2932 Cleanup of header files:
2933 - all header files are now stand-alone, verified by including
2934 first in corresponding "c" files
2935 - replaced blanket includes of gnome, gtk, and glib with
2938 2005-04-16 Jim Evins <evins@snaught.com>
2940 * data/glade/Makefile.am:
2941 * data/glade/merge-properties-dialog.glade:
2942 Added merge properties dialog glade description file.
2943 * src/merge-properties-dialog.h:
2944 * src/merge-properties-dialog.c:
2945 (gl_merge_properties_dialog_get_type),
2946 (gl_merge_properties_dialog_init),
2947 (gl_merge_properties_dialog_finalize),
2948 (gl_merge_properties_dialog_new),
2949 (gl_merge_properties_dialog_construct), (type_changed_cb),
2950 (src_changed_cb), (response_cb), (load_tree),
2951 (record_select_toggled_cb), (select_all_button_clicked_cb),
2952 (unselect_all_button_clicked_cb):
2953 Modified merge properties dialog to use libglade. Added
2954 "select all" and "unselect all" buttons.
2955 * src/merge-text.c: (parse_line):
2956 Handle empty lines better.
2957 * src/merge.c: (gl_merge_eval_key):
2958 Evaluate the key whether the record is selected or not.
2960 * src/util.c: (gl_util_combo_box_add_text_model):
2961 Since libglade does not use the gtk_combo_box_new_text()
2962 constructor for GtkComboBoxes, a utility function was created
2963 to add an appropriate text model to a GtkComboBox.
2964 * src/view.c: (gl_view_edit_merge_props):
2965 Removed unnecessary "show all's".
2967 2005-04-15 Jim Evins <evins@snaught.com>
2970 Updated russian translation (Vitaly Lipatov)
2971 * data/templates/misc-iso-templates.xml:
2972 Added templates for russian business cards provided by Vitaly Lipatov.
2974 Updated acknowledgements for above.
2976 2005-04-15 Jim Evins <evins@snaught.com>
2978 * data/templates/avery-us-templates.xml:
2979 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2980 * data/templates/misc-iso-templates.xml:
2981 Added Ryman standard CD/DVD template, provided by Dan Clark.
2983 Added acknowledgements for above.
2985 2005-04-10 Jim Evins <evins@snaught.com>
2987 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2988 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2989 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2990 (xml_parse_label_cd_node), (xml_parse_alias_node):
2991 * libglabels/xml.c: (gl_xml_get_prop_double),
2992 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2993 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2994 * src/xml-label-04.c: (xml04_parse_media_description),
2995 (xml04_parse_text_props), (xml04_parse_barcode_props),
2996 (xml04_parse_merge_properties):
2997 * src/xml-label-191.c: (xml191_parse_object),
2998 (xml191_parse_text_props), (xml191_parse_barcode_props),
2999 (xml191_parse_merge_fields), (xml191_parse_pixdata),
3000 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
3001 (xml191_parse_alias):
3002 * src/xml-label.c: (xml_parse_object_text),
3003 (xml_parse_object_barcode), (xml_parse_merge_fields),
3004 (xml_parse_pixdata), (xml_parse_toplevel_span):
3005 Make sure to use xmlFree for anything obtained from libxml
3006 in case libxml and glib use different memory management
3009 2005-04-08 Jim Evins <evins@snaught.com>
3012 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
3013 (gl_util_combo_box_set_active_text):
3014 Added utility functions to simplify working with GtkComboBox
3016 * src/ui-property-bar.h:
3017 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
3018 (reset_to_default_properties), (update_text_properties),
3019 (font_family_changed_cb):
3020 Replaced deprecated GtkCombo with GtkComboBox.
3023 2005-04-03 Jim Evins <evins@snaught.com>
3026 * src/wdgt-image-select.h:
3027 * src/wdgt-image-select.c:
3028 Removed obsolete wdgt-image-select.[ch] files.
3029 * libglabels/paper.c: (gl_paper_dup):
3030 Fixed rename of parameter introduced during documentation
3032 * data/glade/object-editor.glade:
3033 * src/object-editor-image-page.c:
3034 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3035 (gl_object_editor_set_image), (gl_object_editor_get_image),
3036 (update_preview_cb), (add_image_filters_to_chooser):
3037 * src/object-editor-private.h:
3038 Replaced deprecated GnomePixmapEntry with
3039 GtkFileChooserButton.
3041 2005-04-02 Jim Evins <evins@snaught.com>
3043 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3044 (mygal_combo_box_popup_hide_unconditional),
3045 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3046 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3047 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3048 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3049 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3050 Renamed all internal gtk_combo functions to mygal_combo
3051 to prevent namespace confusion.
3053 2005-04-02 Jim Evins <evins@snaught.com>
3055 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3056 (cust_color_set), (color_palette_setup):
3057 * src/mygal/color-palette.h:
3058 Replaced deprecated GnomeColorPicker with GtkColorButton.
3060 2005-04-02 Jim Evins <evins@snaught.com>
3062 * docs/libglabels/libglabels-sections.txt:
3063 * docs/libglabels/libglabels-undocumented.txt:
3064 * docs/libglabels/tmpl/enums.sgml:
3065 * docs/libglabels/tmpl/paper.sgml:
3066 * docs/libglabels/tmpl/xml-paper.sgml:
3067 * docs/libglabels/tmpl/xml-template.sgml:
3068 * libglabels/enums.h:
3069 * libglabels/paper.c: (gl_paper_dup):
3070 * libglabels/paper.h:
3071 * libglabels/xml-paper.c:
3072 * libglabels/xml-template.c:
3073 More documentation updates for libglabels.
3075 2005-03-23 Jim Evins <evins@snaught.com>
3078 Automatically updated.
3083 * docs/libglabels/Makefile.am:
3084 * docs/libglabels/libglabels-docs.sgml:
3085 * docs/libglabels/libglabels-sections.txt:
3086 * docs/libglabels/libglabels-undocumented.txt:
3087 * docs/libglabels/tmpl/enums.sgml:
3088 * docs/libglabels/tmpl/libglabels-unused.sgml:
3089 * docs/libglabels/tmpl/libglabels.sgml:
3090 * docs/libglabels/tmpl/paper.sgml:
3091 * docs/libglabels/tmpl/template.sgml:
3092 * docs/libglabels/tmpl/xml-paper.sgml:
3093 * docs/libglabels/tmpl/xml-template.sgml:
3094 * docs/libglabels/tmpl/xml.sgml:
3095 Added basic gtk-doc stuff to support documenting libglabels
3098 Updated function comments with gtk-doc markup.
3102 2005-03-22 Jim Evins <evins@snaught.com>
3104 Since the development version now requires gtk-2.6/gnome-2.10, I
3105 have made a first pass at removing deprecations.
3108 * libglabels/Makefile.am:
3110 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3111 Also removed all remnants of HAVE_FILECHOOSER.
3112 * src/file.c: (gl_file_open_real):
3113 Removed code for old GtkFileSelection.
3114 * libglabels/libglabels-private.h:
3115 * libglabels/paper.c:
3116 * libglabels/template.c:
3117 * libglabels/xml-paper.c:
3118 * libglabels/xml-template.c:
3122 * src/glabels-batch.c:
3126 * src/merge-properties-dialog.c:
3128 * src/object-editor.c:
3129 * src/prefs-dialog.c:
3131 * src/print-dialog.c:
3134 * src/template-designer.c:
3135 * src/ui-property-bar.c:
3137 * src/view-barcode.c:
3139 * src/view-ellipse.c:
3144 * src/wdgt-image-select.c:
3145 * src/wdgt-media-select.c:
3146 * src/wdgt-print-copies.c:
3147 * src/wdgt-print-merge.c:
3148 * src/wdgt-rotate-label.c:
3150 * src/xml-label-04.c:
3151 * src/xml-label-191.c:
3153 Added '#include <glib/gi18n.h>" where needed.
3154 Removed any unused '#include <gnome.h>"s.
3156 2005-03-22 Jim Evins <evins@snaught.com>
3158 * src/commands.c: (activate_url), (gl_cmd_help_about):
3159 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3160 development version of glabels now depends on GTK 2.6 and
3163 Updated library dependencies.
3165 2005-02-28 Jim Evins <evins@snaught.com>
3168 * data/templates/misc-iso-templates.xml:
3169 Added 'Ednet 45021' template provided by Ali Akcaagac
3172 2005-02-14 Jim Evins <evins@snaught.com>
3174 * data/templates/avery-us-templates.xml:
3175 Updated templates to use inches instead of points.
3176 * src/print-dialog.c: (printer_page_new):
3177 Changed packing style when adding printer selector widget. This fixes
3180 2005-02-13 Jim Evins <evins@snaught.com>
3184 Updated spanish translations. (sergio rivadero)
3186 2005-02-05 Jim Evins <evins@snaught.com>
3188 Some cleanup to libglabels.
3191 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3192 * libglabels/libglabels.pc.in
3194 * libglabels/enums.h
3195 Created. Currently only contains glUnitsType which provides enumerations
3196 for all possible units of distance.
3197 * libglabels/Makefile.am:
3198 Incorporated new files enums.h and libglabels.pc[.in].
3199 * libglabels/libglabels.h:
3201 * libglabels/template.h:
3202 * libglabels/template.c: (gl_template_layout_new):
3203 Changed parameters nx and ny to gint from gdouble.
3205 * libglabels/xml.c: (gl_xml_get_prop_length),
3206 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3207 Added support for different output units.
3208 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3209 (update_prefs_from_locale_page):
3210 * src/prefs-model.c: (string_to_units), (units_to_string):
3211 * src/prefs-model.h:
3212 * src/prefs.c: (gl_prefs_get_units_per_point),
3213 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3214 (gl_prefs_get_units_string):
3216 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3217 Reconciled all length enumerations with the new enumerations provided
3218 in libglabels/enums.h.
3220 2005-02-03 Jim Evins <evins@snaught.com>
3223 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3225 Updated Italian translations. (Daniele Medri)
3227 Updated credits to reflect above translations.
3230 2005-01-22 Jim Evins <evins@snaught.com>
3235 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3237 Final prep for 2.1.0.
3239 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3241 Added '--remove-original' flag to desktop-file-install, so that there is
3242 only one menu entry.
3244 2005-01-20 Jim Evins <evins@snaught.com>
3246 * data/glade/object-editor.glade:
3247 - Font family entry should not be editable.
3248 - img_key_entry should have sensitivity=YES, so that it follows the
3249 sensitivity of img_key_combo.
3251 2005-01-19 Jim Evins <evins@snaught.com>
3254 Give credit to Frederic Ruaudel for the color merge patches.
3256 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3258 Add support to merge color for all other color attribute (Feature
3259 Requests item #1008635. If the data is invalid, the color used is transparent
3260 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3261 by gdk_color_parse() these include name for a color from rgb.txt, such as
3262 DarkSlateGray, or a hex specification such as #305050. File format has been
3263 changed but backward compatibility is preserved for all format. For
3264 box/ellipse/line, keep attribute "line_color" for static color or replace by
3265 "line_color_field" for merge data. For text/barcode objects, keep attribute
3266 "color" for static color or replace by "color_field" for merge data. In the
3267 edit canvas window, merged color are represented by half-transparent black
3270 * data/dtd/glabels-2.0.dtd:
3271 Added line_color_field to line_attrs. Added color_field to
3272 Object-barcode and Span.
3273 * data/glade/object-editor.glade:
3274 Modify the layout of the editor to add merge possibility to color options
3276 Fix a copy/paste error in a comment
3278 Add default color for merge color representation in the editor canvas.
3279 * src/label-barcode.c:
3280 * src/object-editor-bc-page.c:
3281 * src/view-barcode.c:
3282 Add merge color support for barcode color.
3285 Add merge color support for box border color.
3286 * src/label-ellipse.c:
3287 * src/view-ellipse.c:
3288 Add merge color support for ellipse border color.
3291 Add merge color support for line color.
3292 * src/label-object.c:
3293 * src/label-object.h:
3294 * src/object-editor.c:
3295 * src/object-editor.h:
3296 * src/ui-property-bar.c:
3299 * src/xml-label-04.c:
3300 * src/xml-label-191.c:
3301 Add support for merging to other color attribute.
3303 * src/object-editor-text-page.c:
3305 Add merge color support for text color.
3306 * src/object-editor-fill-page.c:
3307 Change a blocked handler that didn't match the good widget. Fix the type
3308 of some debug message.
3309 * src/object-editor-line-page.c:
3310 Add merging support to line color option.
3311 * src/object-editor-private.h:
3312 Add variables for new widget.
3314 Modify the draw functions to get merge data if needed.
3316 Change the default size of the window in order to see all widget in the
3317 "text style tab" of the editor.
3319 Modify the parser to record/retreive the field value for objects that need
3320 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3321 static color or replace by "line_color_field" for merge data. For
3322 text/barcode objects, keep attribute "color" for static color or replace
3323 by "color_field" for merge data.
3325 2005-01-17 Jim Evins <evins@snaught.com>
3327 * src/view.c: (screen_changed_cb):
3328 Don't do anything if we don't have a screen.
3330 2005-01-06 Jim Evins <evins@snaught.com>
3332 * src/view.c: (get_home_scale):
3333 Fixed bad call to gtk_widget_has_screen() -- huh?.
3335 2005-01-06 Jim Evins <evins@snaught.com>
3337 * data/dtd/glabels-2.0.dtd:
3338 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3341 2005-01-06 Jim Evins <evins@snaught.com>
3343 * data/glade/object-editor.glade:
3344 Set entries for fill and data field key dropdowns to NOT editable.
3345 * src/view-box.c: (construct_properties_editor):
3346 * src/view-ellipse.c: (construct_properties_editor):
3347 Update object editor when label's merge property has changed.
3348 * src/xml-label.c: (xml_parse_object_ellipse):
3349 Completed the merge color support for the ellipse item.
3351 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3353 Add support to merge color for object that have a "Fill color" attribute (Feature
3354 Requests item #1008635. If the data is invalid, the color used is transparent
3355 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3356 by gdk_color_parse() these include name for a color from rgb.txt, such as
3357 DarkSlateGray, or a hex specification such as #305050. File format has been
3358 changed but backward compatibility is preserved for all format. For box/ellipse,
3359 keep attribute "fill_color" for static color or replace by "fill_color_field"
3362 * data/glade/object-editor.glade:
3363 Modify "Fill" tab to add the merge key combo and convert the labels into
3367 Add "glColorNode" structure and associated functions to manage it. This
3368 structure is equivalent for color than the "glTextNode". It holds the color
3370 * src/label-object.h:
3371 * src/label-object.c:
3373 * src/label-ellipse.c:
3374 * src/ui-property-bar.c:
3378 * src/view-ellipse.c:
3379 * src/xml-label-04.c:
3380 * src/xml-label-191.c:
3381 Change functions of objects that have a "fill color" attribute to use the
3382 new "glColorNode" structure. Use barcode code as example.
3384 Add the color.[ch] file to glabels_batch binary that now need support for
3386 * src/object-editor.h:
3387 * src/object-editor.c:
3388 * src/object-editor-fill-page.c:
3389 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3390 to choose between static color or merge key. Use barcode code as example.
3391 * src/object-editor-private.h:
3392 Add new widget in the "_glObjectEditorPrivate" structure.
3394 Modify the draw functions to get merge data if needed.
3396 Modify the parser to record/retreive the field value for objects that need
3397 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3398 color or "fill_color_field" for merge data.
3400 2005-01-04 Jim Evins <evins@snaught.com>
3403 * data/templates/avery-iso-templates.xml:
3404 * data/templates/misc-iso-templates.xml:
3405 * data/templates/misc-us-templates.xml:
3406 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3409 2004-11-26 Jim Evins <evins@snaught.com>
3413 Updated french translations provided by Florent Morel <florent@taket.org>.
3414 * src/view-barcode.c:
3416 * src/view-ellipse.c:
3420 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3421 thus _() strings were not being translated.
3423 2004-11-14 Jim Evins <evins@snaught.com>
3426 * src/debug.c: (gl_debug_init), (gl_debug):
3427 Borrowed from gedit: use environmental variables to select debug
3430 Removed unused include of debug.h.
3431 * src/glabels.c: (main):
3432 Added call to gl_debug_init(), and removed debug clutter from command line
3434 * src/glabels-batch.c: (main):
3435 Added call to gl_debug_init().
3437 2004-11-13 Jim Evins <evins@snaught.com>
3439 Drawing and property toolbars were being initialized with the "icons and text"
3440 look in Fedora Core 3. Even though none of the buttons had any text attached to
3441 them, the buttons were being sized as if they were. This led to less real estate
3442 for the property editor, leading to Bug #1064630. The
3444 * data/ui/glabels-ui.xml:
3445 Added explicit "look" property to both drawing and property toolbars.
3446 * src/prefs-model.c: (gl_prefs_model_save_settings),
3447 (gl_prefs_model_load_settings):
3448 * src/prefs-model.h:
3449 Removed drawing_toolbar_button_style configuration parameter.
3450 * src/ui.c: (view_menu_item_toggled_cb),
3451 (set_app_drawing_toolbar_style):
3452 Do not attempt to adjust look property of the drawing toolbar.
3454 2004-10-28 Jim Evins <evins@snaught.com>
3456 * data/pixmaps/glabels-about-logo.png:
3459 2004-10-28 Jim Evins <evins@snaught.com>
3461 * data/man/glabels.1:
3462 * src/glabels-batch.c: (main):
3464 * src/print.c: (gl_print_batch):
3466 Added option to glabels-batch to select the first label to begin
3469 2004-09-26 Jim Evins <evins@snaught.com>
3471 * data/desktop/glabels.desktop.in:
3472 Point to app icon, "glabels.png"
3473 * data/mime/glabels.keys.in:
3474 Point at mime icon, "glabels-application-x-glabels.png"
3475 * data/pixmaps/Makefile.am:
3476 Added glabels_app_icondir. Renamed icons.
3477 * data/pixmaps/glabels.png:
3478 New cleaned up app icon. Deleted glabels-icon.png.
3479 * data/pixmaps/glabels-application-x-glabels.png:
3481 * data/pixmaps/glabels-splash.png:
3482 Renamed glabels-logo to glabels-splash to be more correct about role.
3484 * src/template-designer.c:
3485 Point at app icon, "glabels.png"
3487 Point at renamed splash image, "glabels-splash.png"
3489 2004-08-22 Jim Evins <evins@snaught.com>
3492 * src/glabels-batch.c: (main):
3493 Applied patch with minor mods to allow selecting merge source and
3494 crop-marks on glabels-batch's command line. Original patch provided by
3495 José Dapena Paz <jdapena@igalia.com>.
3497 2004-08-15 Jim Evins <evins@snaught.com>
3499 * data/desktop/glabels.desktop.in:
3500 - Added encoding line
3501 - Removed period from comment
3502 - Fixed Terminal line, changed "0" to "false"
3503 - Added semicolen to Categories line
3505 - Made sure desktop.in comment string above still translated properly
3507 2004-08-14 Jim Evins <evins@snaught.com>
3509 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3510 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3511 * src/xml-label-191.c: (xml191_parse_sheet):
3512 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3514 Reconciled libglabels versioning with 2.0.1.
3517 2004-08-14 Jim Evins <evins@snaught.com>
3520 Updated version to 2.1cvs.
3522 2004-08-14 Jim Evins <evins@snaught.com>
3525 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3527 2004-08-14 Jim Evins <evins@snaught.com>
3529 Fixes for Bug #1008181.
3531 * src/bc.c: (gl_barcode_default_digits):
3532 Make a format of zero digits, harmless.
3533 * src/xml-label.c: (xml_parse_object_barcode):
3534 Set default value of the format property of barcode objects to 10, not
3535 zero. This will prevent crashes when reading pre 2.0.x files.
3537 2004-08-09 Jim Evins <evins@snaught.com>
3541 * help/C/glabels-C.omf:
3542 * help/C/glabels.xml:
3543 Brought documentation up-to-date for 2.0.0 release.
3545 2004-08-09 Jim Evins <evins@snaught.com>
3547 These are hopefully the final preparations for 2.0.0.
3549 * data/mime/Makefile.am:
3550 Include glabels.xml in EXTRA_DIST.
3552 - Updated comment style.
3553 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3554 - Added package and version info to configuration printout
3555 - Update version to 2.0.0
3556 * libglabels/Makefile.am:
3557 Use the new LIBGLABELS_VERSION_INFO macro.
3559 2004-08-09 Jim Evins <evins@snaught.com>
3563 Cleanup of required library macros.
3565 2004-08-08 Jim Evins <evins@snaught.com>
3569 - More specific of what to install in /usr/bin and /usr/lib
3570 - Remove built mime registration files from staging directory
3572 2004-08-08 Jim Evins <evins@snaught.com>
3574 * data/mime/Makefile.am:
3575 Fixed typo: key_files should have been keys_files.
3577 2004-08-08 Jim Evins <evins@snaught.com>
3579 Reorganization of runtime data files. Also added registration of mimetype with
3580 new freedesktop.org mime database if available.
3583 Moved files to appropriate subdirectories, creating local Makefile.am
3584 in each subdirectory.
3585 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3586 These are now installed at $datadir/glabels/templates.
3587 - Moved glabels.1 to man subdirectory.
3588 - Moved glabels-2.0.dtd to dtd subdirectory.
3589 - Moved glabels.desktop.in to desktop subdirectory.
3590 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3592 Moved "./pixmaps" to "./data/pixmaps"
3594 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3596 Moved libglade files from src to data/glade. Created Makefile.am.
3598 Removed pixmaps from SUBDIRS.
3600 - Removed pixmaps from makefiles.
3601 - Added makefiles for new subdirs of data.
3602 - Added tests for freedesktop.org mime database.
3604 - Added tests for freedesktop.org mime database for post install and
3605 post un-install actions.
3606 * libglabels/Makefile.am:
3607 Moved system template files to $(datadir)/glabels/templates.
3608 * libglabels/libglabels-private.h:
3609 Moved system template files to $(datadir)/glabels/templates.
3611 - Accounted for movement of ui and libglade files.
3612 - Added missing .in files.
3613 - Reorganized by directory.
3615 Accounted for movement of ui and libglade files.
3616 * data/mime/glabels.xml.in:
3617 New file for registering with freedesktop.org mime database.
3619 2004-08-07 Jim Evins <evins@snaught.com>
3621 * src/recent-files/*:
3622 Re-synced to latest libegg/recent-files.
3624 2004-08-07 Jim Evins <evins@snaught.com>
3629 Renamed "./doc" directory to "./help" which contains user documentation,
3630 to be more consistent with other GNOME applications.
3633 2004-07-26 Jim Evins <evins@snaught.com>
3635 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3636 Corrected button order of merge properties dialog.
3638 2004-07-18 Jim Evins <evins@snaught.com>
3640 * data/glabels-2.0.dtd:
3641 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3642 (gl_barcode_get_prefered_n):
3644 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3645 (gl_label_barcode_get_props), (get_size):
3646 * src/label-barcode.h:
3647 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3648 (style_changed_cb), (gl_object_editor_set_bc_style),
3649 (gl_object_editor_get_bc_style):
3650 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3651 (gl_object_editor_set_data), (gl_object_editor_get_data):
3652 * src/object-editor-private.h:
3653 * src/object-editor.c: (gl_object_editor_set_key_names):
3654 * src/object-editor.glade:
3655 * src/object-editor.h:
3656 * src/print.c: (draw_barcode_object):
3657 * src/view-barcode.c: (update_object_from_editor_cb),
3658 (update_editor_from_object_cb),
3659 (gl_view_barcode_create_event_handler), (draw_barcode):
3660 * src/xml-label-04.c: (xml04_parse_barcode_props):
3661 * src/xml-label-191.c: (xml191_parse_barcode_props):
3662 * src/xml-label.c: (xml_parse_object_barcode),
3663 (xml_create_object_barcode):
3664 Added "format" attribute to barcode objects. This attribute is used
3665 to properly format freeform barcodes barcodes prior to merge data is
3666 applied, so that barcodes can be accurately layed out. This addresses
3667 remaining issues of feature request #824787. Also added an example of
3668 the format in the object editor.
3670 2004-07-12 Jim Evins <evins@snaught.com>
3672 Various code cleanups.
3674 * src/label-barcode.c:
3675 Removed unneeded include of gnome-glyphlist.h.
3677 * src/label-text.c: (get_size):
3678 Fixed memory leak: unref glyphlists when done with them.
3680 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3681 * src/object-editor-data-page.c:
3682 (gl_object_editor_prepare_data_page):
3683 * src/object-editor-image-page.c:
3684 (gl_object_editor_prepare_image_page):
3685 * src/object-editor-line-page.c:
3686 (gl_object_editor_prepare_line_page):
3687 * src/object-editor-lsize-page.c:
3688 (gl_object_editor_prepare_lsize_page):
3689 * src/object-editor-position-page.c:
3690 (gl_object_editor_prepare_position_page):
3691 * src/object-editor-size-page.c:
3692 (gl_object_editor_prepare_size_page):
3693 * src/object-editor-text-page.c:
3694 (gl_object_editor_prepare_text_page):
3695 Removed unneeded size groups, originally intended to keep widgets aligned.
3696 Now use tables to lay these out in object-editor.glade.
3698 * src/print.c: (draw_text_object):
3699 Fixed memory leak: unref glyphlists when done with them.
3701 * src/view-barcode.c: (draw_barcode):
3702 Fixed memory leak: unref glyphlists when done with them.
3704 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3705 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3707 - Fixed memory leak: unref glyphlists when done with them.
3709 2004-07-11 Jim Evins <evins@snaught.com>
3711 * data/glabels-2.0.dtd:
3712 * src/label-text.c: (gl_label_text_instance_init), (copy),
3713 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3715 * src/object-editor-private.h:
3716 * src/object-editor-text-page.c:
3717 (gl_object_editor_prepare_text_page),
3718 (gl_object_editor_set_text_auto_shrink),
3719 (gl_object_editor_get_text_auto_shrink):
3720 * src/object-editor.c: (gl_object_editor_set_key_names):
3721 * src/object-editor.glade:
3722 * src/object-editor.h:
3723 * src/print.c: (draw_text_object):
3724 * src/view-text.c: (update_object_from_editor_cb),
3725 (update_editor_from_object_cb):
3726 * src/xml-label.c: (xml_parse_object_text),
3727 (xml_create_object_text):
3728 Added option to allow document merge to auto shrink text size to fit
3729 within the text box. The code in print.c that actually shrinks the
3730 text is loosely based on a patch submitted by Mark Harrison
3731 <mark.harrison@velocitynet.com.au>. This addresses feature request
3734 2004-07-11 Jim Evins <evins@snaught.com>
3736 * data/glabels-2.0.dtd:
3737 * libglabels/template.c: (gl_template_rect_label_type_new),
3738 (gl_template_round_label_type_new),
3739 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3740 (template_full_page):
3741 * libglabels/template.h:
3742 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3743 (xml_create_label_node):
3744 * pixmaps/ex-rect-size.png:
3745 * src/print.c: (clip_to_outline), (clip_punchouts):
3746 * src/template-designer.c: (construct_rect_size_page),
3747 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3749 * src/template-designer.glade:
3750 * src/xml-label-191.c: (xml191_parse_label):
3751 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3752 properties for rectangular labels. Templates remain backwards compatible,
3753 but this breaks the libglabels API (I don't know of anyone outside of
3754 glabels using libglabels at this time -- what can I say, the program is
3755 is still "unstable"). This addresses the suggestion in Feature Request
3758 2004-07-05 Jim Evins <evins@snaught.com>
3759 * src/print.c: (print_crop_marks), (draw_outline):
3760 Changed crop marks and label outlines to black, instead of 25% gray.
3761 This addresses debian Bug #257460.
3763 2004-07-05 Jim Evins <evins@snaught.com>
3765 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3766 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3767 Preserve "is_default" of fill and line color_combos when creating from
3770 2004-07-02 Jim Evins <evins@snaught.com>
3773 Created man page. Based on page submitted by Matthew J. Lockner, however
3774 it has been severely edited.
3776 * data/avery-other-templates.xml
3777 * data/misc-other-templates.xml:
3778 Started new files for predefined templates with non-standard sheet sizes.
3779 These have been initially populated with the Avery 06141 and
3780 OfficeMax #86112, both provided by Matthew J. Lockner.
3783 Install above manpage and template files.
3786 Make sure we install man pages.
3788 * src/glabels-batch.c:
3789 Changed short form of help option to '-?' to be consistent with glabels.
3792 Added acknowledgement for above labels.
3794 2004-07-02 Jim Evins <evins@snaught.com>
3796 * src/glabels.c: (main), (save_session_cb):
3797 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3799 - save_session_cb() now returns gboolean.
3800 - Minor formatting changes.
3804 - Now include file.h to provide missing prototype.
3805 - gl_window_get_type() now returns GType, not guint. I believe this may
3806 ultimately be cause of the segfault reported in Bug #982287, since
3807 GType is actually a gulong, which may not be compatible on other
3808 architectures (64bit) -- I cannot personally test this at this time.
3809 I was sloppy in several other xxx_get_type() functions which also
3810 returned guint -- see next group of files:
3812 * src/window.c: (gl_window_get_type):
3813 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3814 * src/canvas-hacktext.h:
3815 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3816 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3817 (gl_hig_hbox_get_type):
3819 * src/label-barcode.c: (gl_label_barcode_get_type):
3820 * src/label-barcode.h:
3821 * src/label-box.c: (gl_label_box_get_type):
3823 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3824 * src/label-ellipse.h:
3825 * src/label-image.c: (gl_label_image_get_type):
3826 * src/label-image.h:
3827 * src/label-line.c: (gl_label_line_get_type):
3829 * src/label-object.c: (gl_label_object_get_type):
3830 * src/label-object.h:
3831 * src/label-text.c: (gl_label_text_get_type):
3833 * src/label.c: (gl_label_get_type):
3835 * src/merge-properties-dialog.c:
3836 (gl_merge_properties_dialog_get_type):
3837 * src/merge-properties-dialog.h:
3838 * src/merge-text.c: (gl_merge_text_get_type):
3840 * src/merge.c: (gl_merge_get_type):
3842 * src/object-editor.c: (gl_object_editor_get_type):
3843 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3844 * src/prefs-dialog.h:
3845 * src/prefs-model.c: (gl_prefs_model_get_type):
3846 * src/prefs-model.h:
3847 * src/print-dialog.c: (gl_print_dialog_get_type):
3848 * src/print-dialog.h:
3849 * src/template-designer.c: (gl_template_designer_get_type):
3850 * src/template-designer.h:
3851 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3852 * src/ui-property-bar.h:
3853 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3855 * src/view-barcode.c: (gl_view_barcode_get_type):
3856 * src/view-barcode.h:
3857 * src/view-box.c: (gl_view_box_get_type):
3859 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3860 * src/view-ellipse.h:
3861 * src/view-highlight.c: (gl_view_highlight_get_type):
3862 * src/view-highlight.h:
3863 * src/view-image.c: (gl_view_image_get_type):
3865 * src/view-line.c: (gl_view_line_get_type):
3867 * src/view-object.c: (gl_view_object_get_type):
3868 * src/view-object.h:
3869 * src/view-text.c: (gl_view_text_get_type):
3871 * src/view.c: (gl_view_get_type):
3873 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3874 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3875 * src/wdgt-image-select.h:
3876 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3877 * src/wdgt-media-select.h:
3878 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3879 * src/wdgt-mini-preview.h:
3880 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3881 * src/wdgt-print-copies.h:
3882 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3883 * src/wdgt-print-merge.h:
3884 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3885 * src/wdgt-rotate-label.h:
3886 - Made sure all xxx_get_type functions returned GType, not guint. This
3887 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3888 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3889 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3890 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3891 window.[ch] details above for more info.
3892 - Reconciled various coding style differences in all xxx_get_type()
3894 * All prototypes include G_GNUC_CONST.
3895 * All prototypes specify the return value as GType, not GtkType
3897 * Info structures are all declared as "static const."
3898 * Generalized the names of type and info variables.
3899 * Miscelaneous formatting.
3901 2004-06-08 Jim Evins <evins@snaught.com>
3907 Don't touch compression of original file -- still defaults to 9 for
3908 new files. Original patch provided by Javier Donaire Segarra
3909 (#912252 in patch tracker).
3911 2004-05-05 Jim Evins <evins@snaught.com>
3913 * data/glabels-2.0.dtd:
3914 Broke DTD previously when adding new barcode types that contain a
3915 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3916 to avoid the problem.
3917 * data/avery-iso-templates.xml:
3918 * data/zweckform-iso-templates.xml:
3920 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3921 provided by Frank Altpeter.
3922 * libglabels/xml-template.c: (xml_create_label_node):
3923 Reordered markup and layout sub-nodes so that resulting templates will
3924 validate against DTD.
3926 2004-03-13 Jim Evins <evins@snaught.com>
3928 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3929 Changed spin callback signals from "value-changed" back to "changed."
3930 This was accidentally introduced in a previous revision, and can cause
3931 size changes just by selecting the size tab.
3933 2004-03-06 Jim Evins <evins@snaught.com>
3935 * src/view.c: (draw_grid_layer):
3936 For round labels (round and cd) adjust grid so that it lines up with
3937 center of label. Also, no longer draw box around label in the grid layer,
3938 it is hidden by he fg layer anyway. Feature suggested by
3939 nemolivier@free.fr. Although the grid is aligned with the center of the
3940 label, the coordinate system is still relative to the upper left corner
3941 of the rectangle containing the label.
3943 2004-02-25 Jim Evins <evins@snaught.com>
3946 Changed version to 2.0pre1cvs
3948 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3949 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3950 instead of doc->name fields when errors encountered.
3952 2004-02-21 Jim Evins <evins@snaught.com>
3954 * data/avery-iso-templates.xml:
3955 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3958 Added libglabels library and include file to installed files.
3961 Final prep for 1.93.3.
3963 2004-02-20 Jim Evins <evins@snaught.com>
3965 * src/glabels-batch.c: (main):
3966 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3967 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3969 2004-02-16 Jim Evins <evins@snaught.com>
3972 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3975 Added HAVE_FILE_CHOOSER to INCLUDES.
3977 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3978 (gl_file_save_as), (save_as_response):
3979 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3981 2004-02-16 Jim Evins <evins@snaught.com>
3983 * src/xml-label-04.c: (xml04_parse_image_props):
3984 * src/xml-label-191.c: (xml191_parse_image_props):
3985 * src/xml-label.c: (xml_parse_object_image):
3986 Delay setting image size until after image has been applied to new
3989 2004-02-15 Jim Evins <evins@snaught.com>
3991 * src/label-barcode.c: (gl_label_barcode_set_data),
3992 (gl_label_barcode_set_props):
3993 Don't emit "changed" signal, if no change actually made for these
3994 methods. Reduces number of unnecessary redraws of barcodes.
3996 * src/label-object.h:
3997 * src/label-object.c: (gl_label_object_set_position),
3998 (gl_label_object_set_position_relative), (set_size),
3999 (gl_label_object_set_size),
4000 (gl_label_object_set_size_honor_aspect):
4001 Don't emit "changed" signal, if no change actually made for these
4004 2004-02-15 Jim Evins <evins@snaught.com>
4006 * data/glabels-2.0.dtd:
4007 Added specific subtypes for various barcode types.
4010 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
4011 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
4012 (gl_barcode_can_text), (gl_barcode_text_optional),
4013 (gl_barcode_can_csum), (gl_barcode_csum_optional),
4014 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
4015 Changed API to use a string id, rather than a fixed enumeration. Id and
4016 name are separate strings. Added entries to backend table for specific
4017 subtypes for various barcode types.
4020 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4022 Modified to conform to above API. Now more stringent with data length
4023 for various subtypes.
4025 * src/bc-gnubarcode.h:
4026 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4027 (is_length_valid), (is_length1_valid), (is_length2_valid):
4028 Modified to conform to above API. Now more stringent with data length
4029 for various subtypes.
4031 * src/label-barcode.h:
4032 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4033 (gl_label_barcode_get_props), (get_size):
4034 Modified to use above API for storing barcode type.
4036 * src/object-editor.h:
4037 * src/object-editor-bc-page.c: (style_changed_cb),
4038 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4039 Modified to use above API for storing barcode type.
4041 * src/object-editor-size-page.c:
4042 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4043 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4044 Added debug markers.
4046 * src/object-editor.glade:
4047 Made barcode style combo's text entry non-editable.
4049 * src/print.c: (draw_barcode_object):
4050 Modified to use above API for barcode type.
4052 * src/view-barcode.c: (update_object_from_editor_cb),
4053 (update_editor_from_object_cb),
4054 (gl_view_barcode_create_event_handler), (draw_barcode):
4055 Modified to use above API for barcode type.
4057 * src/xml-label-04.c: (xml04_parse_barcode_props):
4058 * src/xml-label-191.c: (xml191_parse_barcode_props):
4059 * src/xml-label.c: (xml_parse_object_barcode),
4060 (xml_create_object_barcode):
4061 Modified to use above API for barcode type.
4063 2004-02-07 Jim Evins <evins@snaught.com>
4065 * src/stock-pixmaps/Makefile.am:
4066 * src/stock-pixmaps/stock_hchain_24.png:
4067 * src/stock-pixmaps/stock_hchain_broken_24.png:
4068 * src/stock-pixmaps/stock_vchain_24.png:
4069 * src/stock-pixmaps/stock_vchain_broken_24.png:
4070 Added chain pixmaps borrowed from the gimp's default theme.
4073 * src/stock.c: (gl_stock_init), (add_button_icon):
4074 Added above pixmaps to stock icon sets. Created add_button_icon() to
4075 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4077 * src/wdgt-chain-button.h
4078 * src/wdgt-chain-button.c
4081 Added this Modified version of gimpchainbutton widget, borrowed from
4085 Added acknowledgements of the above borrowing from the gimp.
4087 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4089 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4090 * src/object-editor.glade:
4091 Replaced the keep aspect ratio check box with the above chain-button
4094 * src/text-node.c: (gl_text_node_equal):
4096 Added function gl_text_node_equal() to compare text_nodes.
4098 * src/label-image.c: (gl_label_image_set_filename):
4099 Replaced incomplete text_node comparison code with invocation of
4100 gl_text_node_equal. This fixed the problem of not being able to
4101 resize an image using the object_editor if the aspect ratio is not
4104 2004-02-04 Jim Evins <evins@snaught.com>
4106 * src/object-editor-image-page.c:
4107 (gl_object_editor_prepare_image_page):
4108 Track "changed" signal of pixmap entry's GtkEntry rather than its
4109 "activate" signal -- this catches all changes to the entry rather than
4110 just changes resulting from a browse, so one can easily pull previous
4111 entries from the history. (This change is marked below on 2004-02-03,
4112 but somehow never got checked in.)
4114 * src/view-highlight.c: (sl_resize_event_handler),
4115 (sr_resize_event_handler), (st_resize_event_handler),
4116 (sb_resize_event_handler):
4117 Side resize handles will now confirm the actual resize that the object
4118 accepted before adjusting position parameters. Previously some interesting
4119 things happened when resizing a barcode to its minimum size.
4121 2004-02-03 Jim Evins <evins@snaught.com>
4123 * src/object-editor-image-page.c:
4124 (gl_object_editor_prepare_image_page):
4125 Track "changed" signal of pixmap entry's GtkEntry rather than its
4126 "activate" signal -- this catches all changes to the entry rather than
4127 just changes resulting from a browse, so one can easily pull previous
4128 entries from the history.
4130 * src/view-highlight.c: (tl_resize_event_handler),
4131 (tr_resize_event_handler), (bl_resize_event_handler),
4132 (br_resize_event_handler):
4133 Allow control key to be dropped while dragging a corner resize handle
4134 without losing the aspect ratio lock.
4136 2004-02-02 Jim Evins <evins@snaught.com>
4138 * src/label-image.c: (gl_label_image_set_filename):
4139 When setting a new filename adjust size such that the aspect ratio of
4140 the image is preserved using the current size as a bounding box.
4142 * src/view-image.c: (update_object_from_editor_cb):
4143 When updating object from editor, feed back possible size changes to
4144 editor as a result of a possible change in image.
4146 * src/object-editor-size-page.c: (size_reset_cb):
4147 Fixed typo when blocking spin handlers. If the base size is larger than
4148 the max size, treat max size as a bounding box while keeping aspect
4152 2004-02-02 Jim Evins <evins@snaught.com>
4154 * src/label-object.h:
4155 * src/label-object.c: (gl_label_object_set_size),
4156 (gl_label_object_set_size_honor_aspect):
4157 Added gl_label_object_set_size_honor_aspect() which will maintain the
4158 current aspect ratio by modifying the supplied w or h apropriately.
4160 * src/view-highlight.c: (tl_resize_event_handler),
4161 (tr_resize_event_handler), (bl_resize_event_handler),
4162 (br_resize_event_handler):
4163 Corner handles will now maintain the current aspect ratio if the
4164 control key is pressed while resizing. This addresses feature
4168 2004-01-31 Jim Evins <evins@snaught.com>
4171 * data/avery-us-templates.xml:
4172 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4174 * libglabels/template.c: (read_template_files_from_dir):
4175 Corrected problem with testing for extensions.
4177 * src/object-editor.glade:
4178 Corrected grouping of radio buttons in barcode data page.
4180 * src/print.c: (draw_barcode_object):
4181 * src/view-barcode.c: (draw_barcode):
4182 Corrected problem with calculation of y_offset for locating characters.
4184 2004-01-24 Jim Evins <evins@snaught.com>
4187 * data/avery-us-templates.xml:
4188 Added Avery 5824, submitted by Fred Bacon.
4190 2004-01-20 Jim Evins <evins@snaught.com>
4192 Catching up on a couple of backlogged user template submissions.
4194 * data/avery-iso-templates.xml:
4195 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4196 Suggested by Linas Jakucionis.
4198 * data/zweckform-iso-templates.xml:
4199 Added Zweckform 4760, submitted by Thomas Vill.
4202 Updated to reflect above submissions.
4204 2004-01-06 Jim Evins <evins@snaught.com>
4206 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4207 xml.[ch] into a separate library called libglabels, to facilitate third
4208 party use of glabels template files. This was suggested by Wayne Schuller.
4209 Once split-out, some modifications to the structures and functions to
4210 make a cleaner more useful API, hopefully. Rather extensive changes have
4211 propogated to other modules.
4219 * src/xml-template.h:
4220 * src/xml-template.c:
4223 These files have been moved to libglabels/. API cleanup performed.
4225 * libglabels/libglabels.h:
4226 * libglabels/libglabels-private.h:
4227 * libglabels/Makefile.am:
4228 These files have been added to finish out libglabels.
4235 Modified to reflect new sets of files in src/ and libglabels/.
4237 * COPYING.LIBGLABELS:
4239 Added copy of the LGPL for libglabels, and a copy the GFDL for
4242 * src/glabels-batch.c:
4244 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4245 (gl_label_get_size):
4247 * src/prefs-model.c: (gl_prefs_model_load_settings):
4248 * src/print-dialog.c:
4249 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4250 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4251 (print_crop_marks), (print_label), (draw_outline),
4252 (clip_to_outline), (clip_punchouts):
4253 * src/template-designer.c: (construct_pg_size_page),
4254 (pg_size_page_changed_cb), (layout_page_changed_cb),
4255 (print_test_cb), (build_template):
4256 * src/util.c: (gl_util_fraction):
4258 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4259 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4260 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4261 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4262 (draw_markup_margin_round), (draw_markup_margin_cd),
4263 (draw_markup_margin_cd_bc), (draw_markup_line),
4264 (draw_markup_circle), (gl_view_copy):
4265 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4266 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4267 (get_label_size_desc):
4268 * src/wdgt-mini-preview.c:
4269 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4271 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4272 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4273 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4274 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4275 * src/wdgt-rotate-label.h:
4276 * src/xml-label-04.c: (xml04_parse_media_description):
4277 * src/xml-label-191.c: (gl_xml_label_191_parse),
4278 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4279 (xml191_parse_markup), (xml191_parse_alias):
4280 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4282 Various changes to accomodate new libglabels API.
4284 2004-01-03 Jim Evins <evins@snaught.com>
4289 2004-01-03 Jim Evins <evins@snaught.com>
4292 Added acknowledgement of contributions by Wayne Schuller.
4294 * src/commands.c: (gl_cmd_file_print):
4295 Create extra reference to print dialog, so that it can be properly re-used.
4297 * src/mygal/mygal-combo-box.h:
4298 * src/mygal/mygal-combo-box.c:
4299 (mygal_combo_box_popup_hide_unconditional),
4300 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4301 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4302 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4303 (mygal_combo_box_set_tearable):
4304 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4305 complete the rename of this widget to prevent namespace collisions
4308 * src/prefs-dialog.glade:
4309 Fixed alignment of Fill/Color widgets.
4311 2004-01-03 Jim Evins <evins@snaught.com>
4313 * data/avery-iso-templates.xml:
4314 Added user submitted templates.
4315 Avery 8435A & 8435B, submitted by Ludger Solbach.
4317 * doc/C/glabels.xml:
4318 Added minimal documentation, noting the new template designer.
4320 2004-01-03 Jim Evins <evins@snaught.com>
4322 * pixmaps/ex-rect-size.png:
4323 * pixmaps/ex-round-size.png:
4324 * pixmaps/ex-cd-size.png:
4325 * pixmaps/Makefile.am:
4326 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4327 files to be used as illustrations/examples in the template-designer.
4329 * src/template-designer.c: (construct_rect_size_page),
4330 (construct_round_size_page), (construct_cd_size_page),
4331 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4332 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4333 (layout_page_prepare_cb), (build_template):
4334 * src/template-designer.glade:
4335 Added illustrations for rectangle, round, and cd label size pages.
4336 Added margin spinboxes to these pages, and now add a margin markup
4337 to the constructed template. Added realistic default values for
4338 some of the size spinboxes. Cleaned up the code for setting spinbox
4339 ranges on the layouts page.
4341 2004-01-02 Jim Evins <evins@snaught.com>
4343 * src/object-editor-size-page.c: (h_spin_cb):
4344 Fixed cut-n-paste error in h_spin_cb that loaded h from
4345 the wrong spinbutton.
4347 * src/object-editor.h:
4348 * src/object-editor.c: (gl_object_editor_class_init),
4349 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4350 * src/object-editor-private.h:
4351 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4353 Added "size_changed" signal.
4355 * src/view-text.c: (construct_properties_editor),
4356 (update_object_from_editor_cb),
4357 (update_object_from_editor_size_cb):
4358 Track size changes from object editor separately from other
4359 properties. This is so the default size (0,0) of a text
4360 object is not modified unintentionally.
4362 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4364 Added feature: line spacing - allows you to comfortably space a text box to
4365 fit a label perfectly.
4367 * data/glabels-2.0.dtd:
4368 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4369 (gl_label_object_get_text_alignment),
4370 (gl_label_object_get_text_line_spacing):
4371 * src/label-object.h:
4372 * src/label-text.c: (gl_label_text_class_init),
4373 (gl_label_text_instance_init), (copy), (get_size),
4374 (set_text_line_spacing), (get_text_alignment),
4375 (get_text_line_spacing):
4376 * src/object-editor-private.h:
4377 * src/object-editor-text-page.c:
4378 (gl_object_editor_prepare_text_page),
4379 (gl_object_editor_set_text_line_spacing),
4380 (gl_object_editor_get_text_line_spacing):
4381 * src/object-editor.glade:
4382 * src/object-editor.h:
4383 * src/prefs-dialog.c: (construct_object_page),
4384 (update_object_page_from_prefs), (update_prefs_from_object_page):
4385 * src/prefs-dialog.glade:
4386 * src/prefs-model.c: (gl_prefs_model_save_settings),
4387 (gl_prefs_model_load_settings), (get_float):
4388 * src/prefs-model.h:
4389 * src/print.c: (draw_text_object):
4391 * src/view-text.c: (update_object_from_editor_cb),
4392 (update_editor_from_object_cb),
4393 (gl_view_text_create_event_handler), (draw_hacktext):
4394 * src/view.c: (gl_view_construct),
4395 (gl_view_set_selection_text_line_spacing),
4396 (gl_view_set_default_text_line_spacing),
4397 (gl_view_get_default_text_line_spacing):
4399 * src/xml-label.c: (xml_parse_toplevel_span),
4400 (xml_create_toplevel_span):
4402 2003-12-30 Jim Evins <evins@snaught.com>
4404 * src/template-designer.c:
4405 * src/template-designer.h:
4406 * src/template-designer.glade:
4407 New template designer assistant.
4411 Added entries for src/template-designer.* files.
4413 * pixmaps/ex-1layout.png
4414 * pixmaps/ex-2layouts.png
4415 * pixmaps/Makefile.am:
4416 Added the new image files ex-*.png used as illustrations in the
4417 template designer assistant.
4419 * src/print-dialog.h:
4420 * src/print-dialog.c: (gl_print_dialog_finalize),
4421 (gl_print_dialog_new), (gl_print_dialog_construct),
4422 (gl_print_dialog_force_outline_flag):
4423 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4424 to support printing from the template designer assistant which does not
4425 have a full-fledged view. Nothing else from the view object was being
4426 used by the dialog anyway.
4428 Added the gl_print_dialog_force_outline_flag() method, for better
4429 integration with the template designer assistant.
4433 * src/commands.c: (gl_cmd_file_template_designer),
4434 (gl_cmd_file_print):
4435 Modified print command to provide label instead of view to dialog.
4436 Added the gl_cmd_file_template_designer() command to invoke the
4437 template designer assistant.
4440 * src/glabels-ui.xml:
4441 Added support for template designer assistant.
4443 * src/wdgt-mini-preview.h:
4444 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4445 (gl_wdgt_mini_preview_set_bg_color):
4446 Preview is now centered in canvas. Added
4447 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4448 assistant to match the background color with its own.
4450 * src/print.c: (clip_to_outline):
4451 Fixed really stupid bug when adding waste to clip region of rectangular
4452 labels/cards. Each side of the clip region needs to be extended by
4453 twice the waste margin, as well as negatively offset by the waste
4456 2003-12-28 Jim Evins <evins@snaught.com>
4458 * src/prefs-dialog.c: (update_object_page_from_prefs):
4459 Block intermediary function align_toggle_cb() instead of
4460 update_prefs_from_object_page() for the three alignment
4463 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4465 * src/file.c: (gl_file_new), (gl_file_properties):
4466 Swap button order and set default for higificatory pleasure.
4468 2003-12-27 Jim Evins <evins@snaught.com>
4470 * barcode-0.98/Makefile.am:
4471 One last time: removed doc/Makefile and po/Makefile.in.in from
4474 2003-12-27 Jim Evins <evins@snaught.com>
4476 * barcode-0.98/Makefile.am:
4477 Removed config.stat entry from EXTRA_DIST files.
4479 * barcode-0.98/Makefile.in:
4482 2003-12-27 Jim Evins <evins@snaught.com>
4485 Updated to work with latest gnome-common package from CVS.
4486 Removed recursive configuration of barcode-0.98.
4493 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4495 * barcode-0.98/Makefile.in:
4496 * barcode-0.98/configure.in:
4497 * barcode-0.98/Makefile.am:
4498 * barcode-0.98/README.glabels:
4499 Modified to ignore the barcode package's build system, and build
4500 as a part of glabels.
4501 Renamed Makefile.in to Makefile.in.dist.
4502 Renamed configure.in to configure.in.dist.
4503 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4506 * src/mygal/Makefile.am:
4507 * src/recent-files/Makefile.am:
4508 In order to build against the GNOME 2.5 platform,
4509 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4511 * src/mygal/Makefile.am:
4512 * src/mygal/mygal-combo-box.c:
4513 * src/mygal/mygal-combo-box.h:
4514 * src/mygal/widget-color-combo.c:
4515 * src/mygal/widget-color-combo.h:
4517 In order to build against the GNOME 2.5 platform,
4518 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4519 collisions with the real gtk_combo_box widget, now a part of gtk.
4521 2003-12-26 Jim Evins <evins@snaught.com>
4527 Moved local versions of get_home_data_dir() in paper.c and
4528 template.c to util package. Cleaned up formatting in
4532 In gl_template_register() save a copy of the template in
4533 ~/.glabels if the template is not known. Still need to
4534 handle duplicate filename case and duplicate name but
4535 different template case.
4539 Moved local definition of NAME_SPACE macro from xml-label.c
4542 * src/xml-template.c:
4543 * src/xml-template.h:
4544 Added function gl_xml_template_write_template_to_file(), used
4545 in gl_template_register().