1 2008-12-20 Jim Evins <evins@snaught.com>
4 Updated prerequisite library versions required.
6 2008-12-18 Jim Evins <evins@snaught.com>
8 * src/view.c: (selection_received_cb):
9 Fixed paste bug that caused a duplicate phantom view_object to be created for
10 each new label_object. This is because the view now (as of r673) the view
11 monitiors the label for new objects and creates view_objects automatically.
13 2008-12-14 Jim Evins <evins@snaught.com>
15 * src/ui.c: (gl_ui_new):
16 Bug #2395628. Fixed i18n for application shell.
18 Bug #2395628. Reconciled POTFILES.in with current files.
20 2008-12-14 Jim Evins <evins@snaught.com>
23 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
25 2008-11-15 Jim Evins <evins@snaught.com>
27 * libglabels/db.c: (lgl_db_register_template):
28 * libglabels/xml-template.c:
29 (lgl_xml_template_parse_template_node):
30 * src/glabels-batch.c:
31 * src/view-text.c: (gl_view_text_create_button_press_event):
32 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
34 2008-11-09 Jim Evins <evins@snaught.com>
36 * data/templates/misc-iso-templates.xml:
37 Another user submitted template.
39 2008-10-27 Jim Evins <evins@snaught.com>
41 * data/templates/avery-us-templates.xml:
42 * data/templates/misc-iso-templates.xml:
43 * data/templates/zweckform-iso-templates.xml:
44 Caught up on user submitted templates.
46 Acknowledgements for above templates.
48 2008-10-23 Jim Evins <evins@snaught.com>
50 * src/label-text.c: (set_font_family):
51 * src/object-editor-text-page.c:
52 (gl_object_editor_prepare_text_page),
53 (gl_object_editor_set_font_family):
54 * src/prefs-dialog.c: (construct_object_page),
55 (update_object_page_from_prefs):
56 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
57 (reset_to_default_properties):
58 * src/util.c: (gl_util_get_font_family_list):
60 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
61 everytime the list is requested.
62 * src/object-editor-text-page.c:
63 (gl_object_editor_set_font_family):
64 Don't change font-family if it hasn't actually changed.
66 2008-10-19 Jim Evins <evins@snaught.com>
68 * data/builder/object-editor.glade:
69 Some tweaking of builder/glade widgets.
71 2008-10-18 Jim Evins <evins@snaught.com>
73 Migrated all use of libglade to GtkBuilder.
75 * data/glade/Makefile.am:
76 * data/glade/merge-properties-dialog.glade:
77 * data/glade/new-label-dialog.glade:
78 * data/glade/object-editor.glade:
79 * data/glade/prefs-dialog.glade:
80 * data/glade/print-custom-widget.glade:
81 * data/glade/property-bar.glade:
82 * data/glade/template-designer.glade:
83 * data/glade/wdgt-media-select.glade:
84 Removed data/glade directory.
85 * data/builder/Makefile.am:
86 * data/builder/merge-properties-dialog.glade:
87 * data/builder/new-label-dialog.glade:
88 * data/builder/object-editor.glade:
89 * data/builder/prefs-dialog.glade:
90 * data/builder/print-custom-widget.glade:
91 * data/builder/property-bar.glade:
92 * data/builder/template-designer.glade:
93 * data/builder/wdgt-media-select.glade:
94 Added data/builder directory.
98 Change glade to builder.
99 * src/merge-properties-dialog.c:
100 (gl_merge_properties_dialog_finalize),
101 (gl_merge_properties_dialog_construct):
102 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
103 (gl_new_label_dialog_construct):
104 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
105 * src/object-editor-data-page.c:
106 (gl_object_editor_prepare_data_page):
107 * src/object-editor-edit-page.c:
108 (gl_object_editor_prepare_edit_page):
109 * src/object-editor-fill-page.c:
110 (gl_object_editor_prepare_fill_page):
111 * src/object-editor-image-page.c:
112 (gl_object_editor_prepare_image_page):
113 * src/object-editor-line-page.c:
114 (gl_object_editor_prepare_line_page):
115 * src/object-editor-lsize-page.c:
116 (gl_object_editor_prepare_lsize_page):
117 * src/object-editor-position-page.c:
118 (gl_object_editor_prepare_position_page):
119 * src/object-editor-private.h:
120 * src/object-editor-shadow-page.c:
121 (gl_object_editor_prepare_shadow_page):
122 * src/object-editor-size-page.c:
123 (gl_object_editor_prepare_size_page):
124 * src/object-editor-text-page.c:
125 (gl_object_editor_prepare_text_page):
126 * src/object-editor.c: (gl_object_editor_init):
127 * src/prefs-dialog.c: (gl_prefs_dialog_init),
128 (gl_prefs_dialog_construct), (construct_locale_page),
129 (construct_object_page):
130 * src/print-op.c: (gl_print_op_finalize),
131 (create_custom_widget_cb):
132 * src/template-designer.c: (gl_template_designer_class_init),
133 (gl_template_designer_finalize), (gl_template_designer_construct),
134 (construct_start_page), (construct_name_page),
135 (construct_pg_size_page), (construct_shape_page),
136 (construct_rect_size_page), (construct_round_size_page),
137 (construct_cd_size_page), (construct_nlayouts_page),
138 (construct_layout_page), (construct_finish_page):
139 * src/template-designer.h:
140 * src/ui-property-bar.c: (gl_ui_property_bar_init),
141 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
142 (gl_ui_property_bar_construct), (reset_to_default_properties),
143 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
144 (update_text_properties), (update_fill_color), (update_line_color),
145 (update_line_width), (selection_changed_cb),
146 (font_family_changed_cb), (font_size_changed_cb),
147 (text_color_changed_cb), (fill_color_changed_cb),
148 (line_color_changed_cb), (line_width_changed_cb),
149 (font_bold_toggled_cb), (font_italic_toggled_cb),
150 (text_align_toggled_cb), (set_doc_items_sensitive),
151 (set_text_items_sensitive), (set_fill_items_sensitive),
152 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
153 * src/ui-property-bar.h:
154 * src/util.c: (gl_util_get_builder_widgets):
156 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
157 (gl_wdgt_media_select_construct):
158 Migration of glade to builder.
160 New macros for color combo initialization.
162 Added idea for internal merge database.
163 * docs/libglabels/libglabels-undocumented.txt:
164 * docs/libglabels/tmpl/paper.sgml:
168 2008-10-12 Jim Evins <evins@snaught.com>
170 * src/mygal/Makefile.am:
171 * src/mygal/color-group.c:
172 * src/mygal/color-group.h:
173 * src/mygal/color-palette.c:
174 * src/mygal/color-palette.h:
175 * src/mygal/e-colors.c:
176 * src/mygal/e-colors.h:
177 * src/mygal/e-marshal.list:
178 * src/mygal/e-util.h:
179 * src/mygal/mygal-combo-box.c:
180 * src/mygal/mygal-combo-box.h:
181 * src/mygal/widget-color-combo.c:
182 * src/mygal/widget-color-combo.h:
188 * src/color-combo-color-menu-item.c:
189 * src/color-combo-color-menu-item.h:
190 * src/color-combo-history.c:
191 * src/color-combo-history.h:
192 * src/color-combo-menu.c:
193 * src/color-combo-menu.h:
198 Created new glColorCombo widget.
199 * src/object-editor-bc-page.c:
200 * src/object-editor-edit-page.c:
201 * src/object-editor-fill-page.c:
202 * src/object-editor-line-page.c:
203 * src/object-editor-shadow-page.c:
204 * src/object-editor-text-page.c:
205 * src/object-editor.c:
206 * src/prefs-dialog.c:
207 * src/ui-property-bar.c:
208 Replaced use of mygal color combo with new glColorCombo widget.
210 2008-08-29 Jim Evins <evins@snaught.com>
212 * src/file.c: (gl_file_open), (gl_file_save_as):
213 Bug #2069668. Corrected button order in Open and "Save as"
216 2008-08-17 Jim Evins <evins@snaught.com>
218 * data/dtd/glabels-2.2.dtd:
219 * data/templates/paper-sizes.xml:
220 * libglabels/db.c: (lgl_db_init):
221 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
222 * libglabels/paper.h:
223 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
224 * src/print-op.c: (set_page_size):
225 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
226 size specification) to the libglabels paper database to allow the page size to be
227 communicated to GtkPrintOp un-ambiguously.
229 2008-07-25 Jim Evins <evins@snaught.com>
231 * src/object-editor-size-page.c: (size_reset_cb),
232 (gl_object_editor_set_max_size):
233 Bug #1993550. Set size limits based on longest side of label.
235 2008-07-19 Jim Evins <evins@snaught.com>
238 * src/mygal/Makefile.am:
239 Make sure libtool handles library dependencies for mygal
242 2008-05-21 Jim Evins <evins@snaught.com>
244 * src/glabels-batch.c: (main):
245 Bug #1968653. Initialize prefs subsystem.
247 2008-05-09 Jim Evins <evins@snaught.com>
249 * data/glade/object-editor.glade:
250 Bug #1959135. A couple of radio buttons somehow became
253 2008-04-07 Jim Evins <evins@snaught.com>
255 * src/wdgt-rotate-label.h:
256 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
257 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
258 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
259 (gl_wdgt_rotate_label_set_template_name):
260 Modified wdgt-rotate-label to better indicate the rotation choices.
261 * data/glade/Makefile.am:
262 * data/glade/wdgt-rotate-label.glade:
263 Deleted wdgt-rotate-label.glade.
265 2008-04-04 Jim Evins <evins@snaught.com>
267 * data/templates/brother-other-templates.xml:
268 Added categories to existing templates.
269 * data/templates/misc-other-templates.xml:
270 Moved dymo templates to their own file.
271 * data/templates/Makefile.am:
272 * data/templates/dymo-other-templates.xml:
273 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
275 Acknowledgement for above templates.
277 2008-03-24 Jim Evins <evins@snaught.com>
279 * src/xml-label.c: (xml_doc_to_label):
280 Bug #1872584. Don't refuse to parse label file if namespace is
281 unrecognized -- it may be from a newer version of glabels.
283 2008-03-15 Jim Evins <evins@snaught.com>
285 * data/templates/Makefile.am:
286 * data/templates/brother-other-templates.xml:
287 Added brother templates.
288 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
289 (gl_cairo_markup_margin_cd_path):
290 * src/view.c: (draw_markup_layer):
291 Fixed markup drawing errors when label is rotated.
293 2008-03-03 Jim Evins <evins@snaught.com>
297 Added korean translation provided by xein@naver.com.
299 2008-02-21 Jim Evins <evins@snaught.com>
302 Fixed typo that prevented "Save" from being deactivated when
303 document is not modified.
305 2008-02-18 Jim Evins <evins@snaught.com>
307 * src/prefs-model.c: (gl_prefs_model_save_settings),
308 (gl_prefs_model_load_settings):
309 Set default units for file output.
311 2008-02-18 Jim Evins <evins@snaught.com>
313 * help/C/glabels.xml:
314 Fixed example template.
316 2008-02-16 Jim Evins <evins@snaught.com>
319 * data/templates/avery-iso-templates.xml:
320 * data/templates/avery-us-templates.xml:
321 * data/templates/misc-iso-templates.xml:
322 * data/templates/misc-us-templates.xml:
323 Caught up on user submitted templates.
325 2008-02-04 Jim Evins <evins@snaught.com>
327 * src/view-image.c: (update_object_from_editor_cb):
328 Bug #1886438. Don't update the image size unless it is actually
329 triggered by a change in image source. The result of this bug
330 was that any attempt to edit the size spinboxes, immediately
333 2008-02-03 Jim Evins <evins@snaught.com>
335 * src/label-image.c: (gl_label_image_class_init), (set_size):
336 Enforce minimum size for images.
338 2008-02-03 Jim Evins <evins@snaught.com>
340 * src/object-editor-edit-page.c: (field_selected_cb):
341 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
342 * src/object-editor-private.h:
343 * src/object-editor-shadow-page.c:
344 (gl_object_editor_set_max_shadow_offset):
345 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
346 * src/object-editor.c: (gl_object_editor_finalize),
347 (gl_object_editor_new), (gl_object_notebook_construct_valist),
349 * src/object-editor.h:
350 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
351 * src/view-barcode.c: (construct_properties_editor):
352 * src/view-box.c: (construct_properties_editor):
353 * src/view-ellipse.c: (construct_properties_editor):
354 * src/view-image.c: (construct_properties_editor):
355 * src/view-line.c: (construct_properties_editor):
356 * src/view-object.c: (gl_view_object_finalize):
357 * src/view-text.c: (construct_properties_editor),
358 Move update_editor_from_label callback from individual view objects
359 to the object editor, so that signals can be disconnected when
360 object editor is finalized.
361 * src/view-text.c: (gl_view_text_create_button_press_event):
362 Fixed bug that caused multiple view objects to be created for a
363 single text object. This bug would manifest itself as a crash
364 when deleting multi-object selections which included text objects.
366 2008-02-02 Jim Evins <evins@snaught.com>
369 * src/wdgt-merge-menu.c:
370 * src/wdgt-merge-menu.h:
371 * src/debug.c: (gl_debug_init):
374 New merge menu widget.
375 * data/glade/object-editor.glade:
376 * src/object-editor-private.h:
377 * src/object-editor.c: (gl_object_editor_set_key_names):
378 * src/object-editor-edit-page.c:
379 (gl_object_editor_prepare_edit_page), (field_selected_cb),
381 Simplified UI for inserting fields into text objects by launching
382 a merge menu and directly inserting fields from the menu. No more
383 selecting field in combobox, then pressing insert button.
385 2008-01-31 Jim Evins <evins@snaught.com>
387 * src/label-barcode.c: (draw_object):
388 Fixed rendering problem when "Invalid data" is displayed when text
389 object is lower in stacking order.
391 2008-01-30 Jim Evins <evins@snaught.com>
393 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
394 Don't turn off cairo_hint_metrics. This causes serious issues with
397 2008-01-29 Jim Evins <evins@snaught.com>
399 * src/print-op.c: (gl_print_op_construct),
400 (gl_print_op_construct_batch), (set_page_size):
401 Explicitly set page size for "other" page sizes.
403 2008-01-25 Jim Evins <evins@snaught.com>
406 Fixed Code128C backend parameters.
407 * src/label-barcode.c: (get_size):
408 Bug #1766425. If barcode is not renderable with either
409 input data or default data, use a default size. Also
412 2008-01-16 Jim Evins <evins@snaught.com>
414 * src/print.c: (print_label):
415 Bug #1872568. Don't apply special transforms (rotate and
416 mirror) to clipping region or outline.
418 2008-01-01 Jim Evins <evins@snaught.com>
421 Sort font lists alphabetically.
423 2008-01-01 Jim Evins <evins@snaught.com>
425 * src/merge-evolution.c:
426 Do a case-insensitive sort.
428 2008-01-01 Jim Evins <evins@snaught.com>
430 * src/merge-evolution.c:
431 Sort evolution by "file_under" field. Original patch provided
432 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
435 Added acknowledgement for above patch.
437 2008-01-01 Jim Evins <evins@snaught.com>
442 Reconcile with 2.2 branch.
445 2007-12-21 Jim Evins <evins@snaught.com>
447 * COPYING.LIBGLABELS:
448 * COPYING.README_FIRST:
450 Updating license information to make more complete and understandable.
452 2007-12-16 Jim Evins <evins@snaught.com>
455 Updated version to 2.pre2.
456 * help/C/glabels.xml:
457 Updated documentation.
458 * src/ui-commands.c: (gl_ui_cmd_help_about):
459 Updated copyright string.
461 2007-12-15 Jim Evins <evins@snaught.com>
463 * data/glade/object-editor.glade:
464 Removed any GtkTable that contained a GtkComboBox because the size of
465 the combo box was not constrained properly. This sacrifices the nice
466 orderly labels for combo boxes that don't extend beyond the edge of the
469 2007-12-15 Jim Evins <evins@snaught.com>
471 * libglabels/db.c: (lgl_db_lookup_template_from_name):
472 * src/object-editor.c: (gl_object_editor_finalize):
473 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
474 Fixed several small memory leaks.
476 2007-12-14 Jim Evins <evins@snaught.com>
479 Optimize template search by name by using a GHashTable.
480 * src/mini-preview-pixbuf-cache.c:
481 * src/mini-preview-pixbuf-cache.h:
482 Store one pixbuf per template, but use a key for each alias.
483 * src/wdgt-media-select.c:
484 Optimize loading of tree data, thus optimizing the "new label" dialog.
486 2007-12-12 Jim Evins <evins@snaught.com>
488 * data/templates/avery-us-templates.xml:
489 More templates and aliases.
491 2007-12-08 Jim Evins <evins@snaught.com>
494 More prep for 2.1.5/2.2.0.
496 2007-12-08 Jim Evins <evins@snaught.com>
502 Preparation for 2.1.5.
504 2007-12-08 Jim Evins <evins@snaught.com>
506 * docs/libglabels/libglabels-decl-list.txt:
507 * docs/libglabels/libglabels-docs.sgml:
508 * docs/libglabels/libglabels-sections.txt:
509 * docs/libglabels/libglabels-undocumented.txt:
510 * docs/libglabels/tmpl/db.sgml:
511 * docs/libglabels/tmpl/str.sgml:
513 Documentation cleanup for libglabels.
515 2007-11-29 Jim Evins <evins@snaught.com>
519 Added lgl_db_does_template_name_exist().
520 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
523 Proof read recent templates -- make sure they still exist.
524 * src/wdgt-media-select.c:
525 Default to "search all templates" tab if no recent templates found.
527 2007-11-28 Jim Evins <evins@snaught.com>
529 * data/glade/wdgt-media-select.glade:
530 * src/wdgt-media-select.c:
531 Added tabbed notebook to allow selection of recent template versus searching the
535 2007-11-26 Jim Evins <evins@snaught.com>
537 * libglabels/Makefile.am:
538 * libglabels/libglabels.h:
541 * src/prefs-dialog.c:
546 Added tracking of recently used templates.
548 2007-11-20 Jim Evins <evins@snaught.com>
550 * data/glade/template-designer.glade:
551 * src/template-designer.c:
552 Added warning icon when match brand and part match an existing template.
554 2007-11-18 Jim Evins <evins@snaught.com>
556 * libglabels/Makefile.am:
559 Added lgl_str_utf8_casecmp().
560 * libglabels/libglabels-private.h:
561 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
562 * libglabels/db.c: (lgl_db_get_brand_list):
563 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
566 2007-11-18 Jim Evins <evins@snaught.com>
568 * data/glade/template-designer.glade:
569 * src/template-designer.c:
570 Don't advance past name page, if brand and part match an existing template.
572 2007-11-18 Jim Evins <evins@snaught.com>
574 * libglabels/db.c: (lgl_db_register_template), (read_templates):
575 When registering a new template, don't add to "User defined" category before
576 writing to file. Add to "User defined" category when reading from "~/.glabels"
577 directory instead. This will allow legacy templates (and manually created
578 templates) to be automatically added to the "user defined" category.
579 * libglabels/xml-template.c:
580 (lgl_xml_template_create_template_node):
581 Fixed typo/bug causing brand to be wrong.
583 2007-11-16 Jim Evins <evins@snaught.com>
587 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
588 function. Automatically create "User defined" category and add to all user
589 registered templates.
590 * libglabels/xml-template.c:
591 * libglabels/xml-template.h:
592 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
593 lgl_xml_template_write_template_to_file().
594 * docs/libglabels/libglabels-decl-list.txt:
595 * docs/libglabels/libglabels-sections.txt:
596 * docs/libglabels/libglabels-undocumented.txt:
597 * docs/libglabels/tmpl/db.sgml:
598 * docs/libglabels/tmpl/xml-template.sgml:
599 Update documentation to reflect above changes.
601 2007-10-28 Jim Evins <evins@snaught.com>
603 * libglabels/xml-template.c:
604 Remove any leading white space from part #s when parsing old names.
605 * src/mini-preview-pixbuf-cache.c:
606 If name isn't in cache add it.
608 2007-10-26 Jim Evins <evins@snaught.com>
610 * libglabels/Makefile.am:
611 * libglabels/category.c:
612 * libglabels/category.h:
615 * libglabels/libglabels-private.h:
616 * libglabels/libglabels.h:
617 * libglabels/paper.c:
618 * libglabels/paper.h:
619 * libglabels/template.c:
620 * libglabels/template.h:
621 * libglabels/xml-template.c:
622 Another pass at screwing with the libglabels API. Moved all
623 database related stuff to db.[ch].
624 * docs/libglabels/libglabels-decl-list.txt:
625 * docs/libglabels/libglabels-docs.sgml:
626 * docs/libglabels/libglabels-sections.txt:
627 * docs/libglabels/libglabels-undocumented.txt:
628 * docs/libglabels/tmpl/category.sgml:
629 * docs/libglabels/tmpl/db.sgml:
630 * docs/libglabels/tmpl/init.sgml:
631 * docs/libglabels/tmpl/libglabels-unused.sgml:
632 * docs/libglabels/tmpl/paper.sgml:
633 * docs/libglabels/tmpl/template-construction.sgml:
634 * docs/libglabels/tmpl/template-db.sgml:
635 * docs/libglabels/tmpl/template-misc.sgml:
636 * docs/libglabels/tmpl/template-struct.sgml:
637 * docs/libglabels/tmpl/template.sgml:
638 Updated documentation to reflect above changes to libglabels API.
640 * src/glabels-batch.c:
642 * src/mini-preview-pixbuf-cache.c:
645 * src/template-designer.c:
646 * src/wdgt-media-select.c:
647 * src/wdgt-mini-preview.c:
648 * src/wdgt-rotate-label.c:
649 * src/xml-label-04.c:
651 Reconciled usage with above libglabels API changes.
653 2007-10-21 Jim Evins <evins@snaught.com>
655 * data/glade/wdgt-media-select.glade:
656 * src/wdgt-media-select.c:
657 Added brand to filter settings.
659 2007-10-21 Jim Evins <evins@snaught.com>
661 * data/dtd/glabels-2.2.dtd:
662 Forgot to replace Alias name attribute with brand and part attributes.
663 * data/templates/avery-iso-templates.xml:
664 * data/templates/avery-other-templates.xml:
665 * data/templates/avery-us-templates.xml:
666 * data/templates/misc-iso-templates.xml:
667 * data/templates/misc-other-templates.xml:
668 * data/templates/misc-us-templates.xml:
669 * data/templates/zweckform-iso-templates.xml:
670 Replaced all name attributes with brand/part attribute pairs.
672 2007-10-20 Jim Evins <evins@snaught.com>
674 * src/stock-pixmaps/*.png
675 Updated icons to use Tango color palette.
677 2007-10-20 Jim Evins <evins@snaught.com>
679 * data/dtd/Makefile.am:
680 * data/dtd/glabels-2.0.dtd:
681 * data/dtd/glabels-2.2.dtd:
682 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
684 * libglabels/template.c:
685 * libglabels/template.h:
686 * libglabels/xml-template.c:
688 Added brand and part attributes to template and alias structures and nodes.
691 * src/mini-preview-pixbuf-cache.c:
692 * src/template-designer.c:
693 * src/wdgt-media-select.c:
694 Use modified libglabels API.
695 * docs/libglabels/libglabels-decl-list.txt:
696 * docs/libglabels/libglabels-sections.txt:
697 * docs/libglabels/libglabels-undocumented.txt:
698 * docs/libglabels/tmpl/template-construction.sgml:
699 * docs/libglabels/tmpl/template-db.sgml:
700 * docs/libglabels/tmpl/template-struct.sgml:
701 Update libglabels documentation to reflect above modifications.
703 2007-10-14 Jim Evins <evins@snaught.com>
705 * docs/libglabels/libglabels-decl-list.txt:
706 * docs/libglabels/libglabels-sections.txt:
707 * docs/libglabels/libglabels-undocumented.txt:
708 * docs/libglabels/tmpl/category.sgml:
709 * libglabels/category.c:
710 * libglabels/category.h:
711 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
712 parity with paper functions.
714 2007-10-12 Jim Evins <evins@snaught.com>
716 * docs/libglabels/libglabels-decl-list.txt:
717 * docs/libglabels/libglabels-sections.txt:
718 * docs/libglabels/libglabels-undocumented.txt:
719 * docs/libglabels/tmpl/category.sgml:
720 * docs/libglabels/tmpl/enums.sgml:
721 * docs/libglabels/tmpl/libglabels-unused.sgml:
722 * docs/libglabels/tmpl/paper.sgml:
723 * docs/libglabels/tmpl/template-struct.sgml:
725 * libglabels/template.c:
726 * libglabels/template.h:
727 Another pass at fleshing out the libglabels documentation.
728 * src/cairo-label-path.c:
729 * src/cairo-markup-path.c:
731 * src/mini-preview-pixbuf.c:
735 * src/wdgt-media-select.c:
736 * src/wdgt-mini-preview.c:
737 * src/wdgt-print-copies.c:
738 * src/wdgt-print-merge.c:
739 * src/wdgt-rotate-label.c:
740 Removed lgl_template_get_first_frame() from libglabels API and all references.
742 2007-10-11 Jim Evins <evins@snaught.com>
744 Extended checks for deprecated symbols.
745 * libglabels/template.c:
746 Removed g_strcasecmp references, which are deprecated.
748 2007-10-09 Jim Evins <evins@snaught.com>
750 * src/merge-evolution.c:
751 Create address book if it does not exist. Also, be more robust about handling
752 error conditions -- don't just assume GError has been set.
754 2007-10-08 Jim Evins <evins@snaught.com>
756 * libglabels/template.c:
757 * libglabels/xml-template.c:
758 * src/template-designer.c:
759 Missed some symbols with libglabels API work.
761 2007-10-01 Jim Evins <evins@snaught.com>
763 * docs/libglabels/libglabels-decl-list.txt:
764 * docs/libglabels/libglabels-docs.sgml:
765 * docs/libglabels/libglabels-sections.txt:
766 * docs/libglabels/libglabels-undocumented.txt:
767 * docs/libglabels/tmpl/category.sgml:
768 * docs/libglabels/tmpl/enums.sgml:
769 * docs/libglabels/tmpl/init.sgml:
770 * docs/libglabels/tmpl/libglabels-unused.sgml:
771 * docs/libglabels/tmpl/paper.sgml:
772 * docs/libglabels/tmpl/template-construction.sgml:
773 * docs/libglabels/tmpl/template-db.sgml:
774 * docs/libglabels/tmpl/template-misc.sgml:
775 * docs/libglabels/tmpl/template-struct.sgml:
776 * docs/libglabels/tmpl/template.sgml:
777 * docs/libglabels/tmpl/xml-category.sgml:
778 * docs/libglabels/tmpl/xml-template.sgml:
779 * libglabels/category.h:
781 * libglabels/libglabels-private.h:
782 * libglabels/paper.h:
783 * libglabels/template.c:
784 * libglabels/template.h:
785 * libglabels/xml-template.h:
786 Basic documentation framework for libglabels updated. This still needs some
789 2007-09-27 Jim Evins <evins@snaught.com>
791 * docs/libglabels/libglabels-decl-list.txt:
792 * docs/libglabels/libglabels-docs.sgml:
793 * docs/libglabels/libglabels-sections.txt:
794 * docs/libglabels/libglabels-undocumented.txt:
795 * docs/libglabels/tmpl/enums.sgml:
796 * docs/libglabels/tmpl/init.sgml:
797 * docs/libglabels/tmpl/libglabels-unused.sgml:
798 * docs/libglabels/tmpl/paper.sgml:
799 * docs/libglabels/tmpl/template.sgml:
800 * docs/libglabels/tmpl/xml-paper.sgml:
801 * docs/libglabels/tmpl/xml-template.sgml:
802 * docs/libglabels/tmpl/xml.sgml:
803 * libglabels/Makefile.am:
804 * libglabels/category.c:
805 * libglabels/category.h:
806 * libglabels/enums.h:
809 * libglabels/libglabels-private.h:
810 * libglabels/libglabels.h:
811 * libglabels/paper.c:
812 * libglabels/paper.h:
813 * libglabels/template.c:
814 * libglabels/template.h:
815 * libglabels/xml-category.c:
816 * libglabels/xml-category.h:
817 * libglabels/xml-paper.c:
818 * libglabels/xml-paper.h:
819 * libglabels/xml-template.c:
820 * libglabels/xml-template.h:
823 * src/cairo-label-path.c:
824 * src/cairo-label-path.h:
825 * src/cairo-markup-path.c:
826 * src/cairo-markup-path.h:
828 * src/glabels-batch.c:
830 * src/label-object.c:
833 * src/mini-preview-pixbuf-cache.c:
834 * src/mini-preview-pixbuf.c:
835 * src/mini-preview-pixbuf.h:
836 * src/prefs-dialog.c:
843 * src/template-designer.c:
844 * src/view-barcode.c:
846 * src/view-ellipse.c:
850 * src/wdgt-media-select.c:
851 * src/wdgt-mini-preview.c:
852 * src/wdgt-mini-preview.h:
853 * src/wdgt-print-copies.c:
854 * src/wdgt-print-merge.c:
855 * src/wdgt-rotate-label.c:
856 * src/xml-label-04.c:
858 Major cleanup of libglabels API -- this breaks API compatibility with older
859 development and stable versions -- as far as I know, there are currently
860 no external users of this library yet.
862 2007-09-14 Jim Evins <evins@snaught.com>
867 * src/label-object.c:
868 * src/label-object.h:
869 * src/label-barcode.c:
870 * src/label-ellipse.c:
873 * src/view-barcode.c:
875 * src/view-ellipse.c:
879 Better separation of model from view.
881 2007-08-21 Jim Evins <evins@snaught.com>
883 * src/print-op.c: (create_custom_widget_cb):
884 Fix problem with force_outline_flag -- don't override with default.
886 2007-08-21 Jim Evins <evins@snaught.com>
888 * data/dtd/glabels-2.0.dtd:
889 * libglabels/template.c:
890 * libglabels/template.h:
891 * libglabels/xml-template.c:
892 * src/cairo-markup-path.c:
893 Added "Markup-rect" element to template format.
895 2007-08-21 Jim Evins <evins@snaught.com>
898 Changed version to 2.1.pre5svn.
899 * src/view.c: (draw_markup_layer):
900 Do a stroke for each markup path, otherwise multiple markups
903 2007-08-17 Jim Evins <evins@snaught.com>
906 Bump libglabels revision numbers for 2.1.4 release.
908 2007-08-16 Jim Evins <evins@snaught.com>
911 Include subdir iec16022-0.2.1.
915 Preparation for 2.1.4.
918 2007-08-11 Jim Evins <evins@snaught.com>
924 Added Esperanto translation. Provided by Antonio C.
925 Codazzi "la Filozofo" <f_sophia@libero.it>.
927 Updated French translation. Provided by Claude Paroz
928 <claude@2xlibre.net>.
930 Updated to reflect above translations.
932 2007-08-11 Jim Evins <evins@snaught.com>
935 * data/templates/avery-iso-templates.xml:
936 * data/templates/avery-us-templates.xml:
937 * data/templates/misc-iso-templates.xml:
938 * data/templates/misc-other-templates.xml:
939 * data/templates/misc-us-templates.xml:
940 * data/templates/zweckform-iso-templates.xml:
941 Caught up with backlog of template submissions.
943 2007-08-10 Jim Evins <evins@snaught.com>
945 * src/bc-postnet.c: (gl_barcode_postnet_new):
947 Added support for Brazilian CEPNet barcodes. This is simply an
948 instance of the US POSTNET format with 8 digits. Patch supplied
949 by Mário Meyer in bug # 1768792.
951 Updated acknowledgments to reflect above patch and recent shuffling
952 of underlying technology.
954 2007-05-13 Jim Evins <evins@snaught.com>
956 * src/merge-text.c: (parse_line), (parse_field):
957 Remove leading and trailing spaces from CSV fields, unless quoted.
959 2007-05-09 Jim Evins <evins@snaught.com>
961 * src/object-editor-bc-page.c:
962 * src/object-editor-data-page.c:
963 * src/object-editor-fill-page.c:
964 * src/object-editor-image-page.c:
965 * src/object-editor-line-page.c:
966 * src/object-editor-lsize-page.c:
967 * src/object-editor-position-page.c:
968 * src/object-editor-private.h:
969 * src/object-editor-shadow-page.c:
970 * src/object-editor-size-page.c:
971 * src/object-editor-text-page.c:
972 * src/object-editor.c:
973 * src/prefs-dialog.c:
974 * src/template-designer.c:
975 * src/ui-property-bar.c:
976 * src/wdgt-media-select.c:
977 Replaced signal block/unblock pairs with simple flags. This reduces
978 some code clutter, hopefully making it easier to read.
980 2007-05-05 Jim Evins <evins@snaught.com>
982 * src/template-designer.c: (apply_cb):
983 Add new template to mini-preview pixbuf cache.
985 2007-05-03 Jim Evins <evins@snaught.com>
987 * src/label-image.c: (gl_label_image_init), (draw_object):
988 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
991 2007-05-02 Jim Evins <evins@snaught.com>
993 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
994 (button_release_event_cb):
995 Removed attempt at rendering optimization by clipping the updates
996 to areas affected -- this actually seemed to hurt update performance.
998 2007-04-30 Jim Evins <evins@snaught.com>
1001 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1002 (gl_color_node_equal), (gl_color_node_expand):
1003 * src/label-barcode.c: (draw_object):
1004 * src/label-box.c: (draw_object), (draw_shadow):
1005 * src/label-ellipse.c: (draw_object), (draw_shadow):
1006 * src/label-line.c: (draw_object), (draw_shadow):
1007 * src/label-text.c: (draw_object), (draw_shadow):
1008 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1009 * src/wdgt-rotate-label.c: (drawingarea_update):
1010 Some cleanup to color related code.
1012 2007-04-30 Jim Evins <evins@snaught.com>
1015 Added glLabelRegion structure type.
1016 * src/label-object.c: (gl_label_object_get_extent):
1017 * src/label-object.h:
1018 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1020 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1021 (gl_view_select_region), (gl_view_align_selection_left),
1022 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1023 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1024 (gl_view_align_selection_vcenter),
1025 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1026 (gl_view_move_selection), (gl_view_can_selection_text),
1027 (motion_notify_event_cb), (button_press_event_cb),
1028 (button_release_event_cb):
1029 - Reconcile with new gl_label_object_get_extent() API.
1030 - Use glLabelRegion for view->select_region.
1031 - Added gl_view_update_region() to clip updates to region.
1032 - Use gl_view_update_region() during manipulation of view->select_region.
1034 2007-04-26 Jim Evins <evins@snaught.com>
1036 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1037 (draw_label_outline):
1038 * src/print.c: (print_crop_marks), (draw_outline):
1039 * src/view-object.c: (gl_view_object_draw_handles):
1040 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1041 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1042 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1043 * src/wdgt-rotate-label.c: (drawingarea_update):
1044 Added defines for various magic numbers.
1046 2007-04-25 Jim Evins <evins@snaught.com>
1048 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1049 Scale text down. Cairo seems to render text too large.
1051 2007-04-25 Jim Evins <evins@snaught.com>
1054 * src/view.c: (gl_view_update), (expose_cb),
1055 (motion_notify_event_cb), (button_press_event_cb),
1056 (button_release_event_cb):
1057 - Try not to let updates get backed up.
1058 - Grab pointer when doing any drag operations.
1060 2007-04-11 Jim Evins <evins@snaught.com>
1062 * src/cairo-label-path.c: (gl_cairo_label_path),
1063 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1064 (gl_cairo_cd_label_path):
1065 * src/cairo-label-path.h:
1066 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1067 (draw_label_outline):
1068 * src/print.c: (draw_outline), (clip_to_outline):
1069 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1070 * src/wdgt-mini-preview.c: (draw_labels):
1071 * src/wdgt-rotate-label.c: (drawingarea_update):
1072 Modified to universally use gl_cairo_label_path() to create paths
1073 for labels. Added shadow to mini preview in rotate widget.
1075 2007-04-10 Jim Evins <evins@snaught.com>
1077 * libglabels/template.h:
1078 * libglabels/template.c: (gl_template_get_name_list_unique),
1079 (gl_template_get_name_list_all), (gl_template_from_name):
1080 Modified libglabels to allow you to get a list of all template names
1081 including all aliases or just a list of primary names of each unique
1084 * src/file.c: (gl_file_properties):
1085 * src/glabels.c: (main):
1086 * src/mini-preview-pixbuf-cache.h:
1087 * src/mini-preview-pixbuf-cache.c:
1088 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1089 (filter_changed_cb), (load_list):
1090 Added mini-preview pixbuf cache, so that only one mini-preview is
1091 needed for a unique template and gets reused for all aliases. These
1092 pixbufs will also live for the life of the program so they are not
1093 rebuilt everytime a new label dialog is invoked.
1094 * src/mini-preview-pixbuf.c: (draw_paper),
1095 (draw_rect_label_outline), (draw_round_label_outline),
1096 (draw_cd_label_outline):
1097 Removed some comment artifacts.
1099 2007-04-04 Jim Evins <evins@snaught.com>
1101 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1102 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1103 (draw_round_label_outline), (draw_cd_label_outline):
1104 * src/wdgt-media-select.c: (load_list):
1105 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1106 Cosmetic enhancments to mini previews.
1108 2007-04-04 Jim Evins <evins@snaught.com>
1110 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1111 (gl_ui_property_bar_construct):
1112 Save copy of GladeXML tree so that we don't lose tooltips.
1114 2007-04-02 Jim Evins <evins@snaught.com>
1116 * src/merge-properties-dialog.c:
1117 * src/new-label-dialog.c:
1118 * src/object-editor.c:
1119 * src/prefs-dialog.c:
1121 * src/template-designer.c:
1122 * src/ui-property-bar.c:
1123 * src/wdgt-media-select.c:
1124 * src/wdgt-rotate-label.c:
1125 Fixed several memory leaks.
1127 2007-04-01 Jim Evins <evins@snaught.com>
1129 * src/label-text.c: (gl_label_text_init), (copy),
1130 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1131 (set_font_family), (set_font_size), (set_font_weight),
1132 (set_font_italic_flag), (set_text_alignment),
1133 (set_text_line_spacing):
1134 Cache object size, so that expensive extent calculations are only done
1137 2007-03-30 Jim Evins <evins@snaught.com>
1139 * src/prefs-model.c: (gl_prefs_model_load_settings):
1140 Default to an unlimited list of recent documents, since this parameter
1141 seems to be pre-filter anyway.
1143 2007-03-30 Jim Evins <evins@snaught.com>
1145 * src/label-box.c: (draw_shadow):
1146 * src/label-ellipse.c: (draw_shadow):
1147 Added missing shadow fill.
1149 2007-03-28 Jim Evins <evins@snaught.com>
1151 * src/ui-commands.c: (gl_ui_cmd_file_print):
1152 Unreferencing the print operation sometimes crashes. Just don't do it
1155 2007-03-28 Jim Evins <evins@snaught.com>
1157 * src/print-op.c: (gl_print_op_construct),
1158 (gl_print_op_get_settings), (gl_print_op_set_settings),
1159 (gl_print_op_free_settings), (create_custom_widget_cb):
1161 * src/ui-commands.c: (gl_ui_cmd_file_print):
1162 * src/window.c: (gl_window_init):
1164 Save print settings and custom settings between print operations
1167 2007-03-24 Jim Evins <evins@snaught.com>
1169 * src/object-editor-image-page.c:
1170 (gl_object_editor_prepare_image_page),
1171 (gl_object_editor_set_image), (img_selection_changed_cb):
1172 Workaround for GtkFileChooserButton bug # 327243. This the root
1173 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1174 "selection-changed" signals -- the first 2 return NULL -- this is
1175 what caused the image to reset to the default followed by setting
1176 it back to the original image, trying to fit it into a new bounding
1177 box. This sequence of events is much more evident with the new
1180 2007-03-23 Jim Evins <evins@snaught.com>
1182 Merged all changes from experimental cairo branch to trunk.
1183 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1185 2007-03-23 Jim Evins <evins@snaught.com>
1187 * src/label-object.h:
1188 * src/label-object.c: (gl_label_object_class_init),
1189 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1190 Created "get_raw_size" method.
1191 * src/label-barcode.c: (get_size):
1192 * src/xml-label.c: (xml_create_object_text),
1193 (xml_create_object_barcode):
1194 Use new "get_raw_size" method on label-objects when apropos.
1196 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1197 (auto_shrink_font_size):
1198 Added "auto shrink" functionality back.
1200 2007-03-19 Jim Evins <evins@snaught.com>
1202 * src/label-text.c: (draw_object), (draw_shadow):
1203 Don't use negative scales in workaround from previous commit.
1206 2007-03-18 Jim Evins <evins@snaught.com>
1209 Forgot to remove include of xml-lable-191 in previous commit.
1210 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1211 Workaround for pango Bug #341481. Render text at device scale,
1212 and scale font size accordingly. Also, don't do any hinting.
1214 2007-03-18 Jim Evins <evins@snaught.com>
1216 * src/cairo-ellipse-path.c:
1217 * src/cairo-ellipse-path.h:
1218 Forgot to add these new files during last mass commit.
1220 2007-03-18 Jim Evins <evins@snaught.com>
1223 * src/xml-label-191.c:
1224 * src/xml-label-191.h:
1225 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1226 so there is no need to keep compatability.
1228 * src/bc-iec16022.c:
1229 * src/cairo-label-path.c:
1230 * src/cairo-label-path.h:
1231 * src/cairo-markup-path.c:
1235 * src/glabels-batch.c:
1237 * src/label-barcode.c:
1239 * src/label-ellipse.c:
1240 * src/label-image.c:
1242 * src/label-object.c:
1243 * src/label-object.h:
1247 * src/merge-properties-dialog.c:
1249 * src/new-label-dialog.c:
1250 * src/object-editor-bc-page.c:
1251 * src/object-editor-data-page.c:
1252 * src/object-editor-edit-page.c:
1253 * src/object-editor-fill-page.c:
1254 * src/object-editor-image-page.c:
1255 * src/object-editor-line-page.c:
1256 * src/object-editor-private.h:
1257 * src/object-editor-shadow-page.c:
1258 * src/object-editor-text-page.c:
1259 * src/object-editor.c:
1260 * src/pixbuf-cache.c:
1265 * src/template-designer.c:
1267 * src/ui-property-bar.c:
1269 * src/view-barcode.c:
1271 * src/view-ellipse.c:
1274 * src/view-object.c:
1275 * src/view-object.h:
1278 * src/wdgt-media-select.c:
1279 * src/wdgt-print-copies.c:
1280 * src/wdgt-print-merge.c:
1282 * src/xml-label-04.c:
1284 Many changes, including:
1285 - Move draw methods from view-*() to label-*().
1286 - Use same drawing code for on screen view and printing.
1287 - Fix all issues exposed with '-Wall -Werror'.
1289 2007-03-14 Jim Evins <evins@snaught.com>
1292 * src/cairo-handle-path.c:
1293 * src/cairo-handle-path.h:
1294 * src/cairo-object-path.c:
1295 * src/cairo-object-path.h:
1296 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1297 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1299 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1300 (draw_shadow), (object_at):
1301 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1302 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1303 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1305 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1306 (draw_shadow), (object_at):
1307 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1308 (create_handle_path), (gl_view_object_draw_handles),
1309 (gl_view_object_handle_at):
1310 * src/view-object.h:
1311 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1312 (draw_shadow), (object_at):
1313 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1314 Some restructuring of new code.
1316 2007-03-12 Jim Evins <evins@snaught.com>
1319 * src/cairo-object-path.c:
1320 * src/view-barcode.c:
1321 * src/view-barcode.h:
1323 Added barcode object support to view.
1325 2007-03-12 Jim Evins <evins@snaught.com>
1331 * src/cairo-object-path.c:
1332 * src/cairo-object-path.h:
1334 * src/view-ellipse.c:
1337 * src/view-object.c:
1338 * src/view-object.h:
1339 Added text object support to view. Added object_at method to all
1342 2007-03-11 Jim Evins <evins@snaught.com>
1345 * src/cairo-object-path.c: (gl_cairo_object_path),
1346 (gl_cairo_image_object_path):
1347 * src/view-image.c: (gl_view_image_class_init),
1348 (gl_view_image_finalize), (gl_view_image_new),
1349 (update_editor_from_label_cb), (draw),
1350 (gl_view_image_get_create_cursor),
1351 (gl_view_image_create_button_press_event),
1352 (gl_view_image_create_motion_event),
1353 (gl_view_image_create_button_release_event):
1355 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1356 (selection_received_cb), (motion_notify_event_cb),
1357 (button_press_event_cb), (button_release_event_cb):
1358 Added image object support to view.
1360 2007-03-11 Jim Evins <evins@snaught.com>
1363 * src/cairo-object-path.c: (gl_cairo_object_path),
1364 (gl_cairo_line_object_path):
1365 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1366 (update_object_from_editor_cb), (update_editor_from_object_cb),
1367 (update_editor_from_label_cb), (draw),
1368 (gl_view_line_get_create_cursor),
1369 (gl_view_line_create_button_press_event),
1370 (gl_view_line_create_motion_event),
1371 (gl_view_line_create_button_release_event):
1373 * src/view-object.c: (gl_view_object_resize_event):
1374 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1375 (selection_received_cb), (motion_notify_event_cb),
1376 (button_press_event_cb), (button_release_event_cb):
1377 Added line object support to view.
1378 * src/cairo-handle-path.c:
1379 Made handles slightly larger.
1382 2007-03-11 Jim Evins <evins@snaught.com>
1385 * src/cairo-handle-path.c:
1386 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1387 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1388 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1389 (gl_cairo_markup_margin_round_path),
1390 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1391 * src/cairo-object-path.c: (gl_cairo_object_path),
1392 (gl_cairo_ellipse_object_path):
1393 * src/label-object.c: (gl_label_object_rotate):
1396 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1397 (gl_view_ellipse_new), (update_object_from_editor_cb),
1398 (update_editor_from_object_cb), (update_editor_from_label_cb),
1399 (draw), (gl_view_ellipse_get_create_cursor),
1400 (gl_view_ellipse_create_button_press_event),
1401 (gl_view_ellipse_create_motion_event),
1402 (gl_view_ellipse_create_button_release_event):
1403 * src/view-ellipse.h:
1404 * src/view-object.c:
1405 * src/view-object.h:
1406 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1407 (select_object_real), (selection_received_cb),
1408 (motion_notify_event_cb), (button_press_event_cb),
1409 (button_release_event_cb):
1411 Added ellipse object support to view. Plus other cleanup.
1413 2007-03-11 Jim Evins <evins@snaught.com>
1416 * src/view-box.c: (gl_view_box_get_create_cursor),
1417 (gl_view_box_create_button_press_event),
1418 (gl_view_box_create_motion_event),
1419 (gl_view_box_create_button_release_event):
1420 * src/view-object.c: (gl_view_object_set_view),
1421 (gl_view_object_handle_at):
1423 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1424 (motion_notify_event_cb), (button_press_event_cb),
1425 (button_release_event_cb), (key_press_event_cb):
1426 Added creation code for box object.
1428 2007-03-09 Jim Evins <evins@snaught.com>
1430 * src/view-object.c: (gl_view_object_resize_event):
1431 * src/view-object.h:
1432 * src/view.c: (motion_notify_event_cb):
1433 Fix bugs with resizing transformed objects.
1434 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1435 * src/cairo-object-path.c: (gl_cairo_object_path):
1436 * src/cairo-object-path.h:
1437 * src/label-object.c: (gl_label_object_init),
1438 (gl_label_object_dup), (gl_label_object_get_extent),
1439 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1440 (gl_label_object_rotate), (gl_label_object_set_matrix),
1441 (gl_label_object_get_matrix):
1442 * src/label-object.h:
1443 * src/print.c: (draw_object):
1445 * src/view-highlight.c:
1446 * src/view-highlight.h:
1447 * src/xml-label-191.c: (xml191_parse_object):
1448 * src/xml-label.c: (xml_parse_affine_attrs),
1449 (xml_create_affine_attrs):
1450 Replace libart affine matrices with cairo matrices.
1452 2007-03-08 Jim Evins <evins@snaught.com>
1454 * src/view-object.h:
1455 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1456 * src/view-object.c: (gl_view_object_handle_at),
1457 (gl_view_object_resize_event):
1458 Added resize code -- still a bit buggy.
1460 2007-03-07 Jim Evins <evins@snaught.com>
1463 * src/cairo-handle-path.c:
1464 * src/cairo-handle-path.h:
1465 * src/view-box.c: (gl_view_box_new):
1466 * src/view-object.c: (gl_view_object_set_object),
1467 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1468 * src/view-object.h:
1469 * src/view.c: (draw_highlight_layer), (select_object_real),
1470 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1471 (button_press_event_cb), (button_release_event_cb),
1472 (key_press_event_cb):
1474 Added beginnings of object resize handles.
1476 2007-03-07 Jim Evins <evins@snaught.com>
1479 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1480 (gl_view_object_create_mode), (motion_notify_event_cb),
1481 (button_press_event_cb), (button_release_event_cb),
1482 (key_press_event_cb):
1483 Added move selection support.
1485 2007-03-05 Jim Evins <evins@snaught.com>
1487 * src/cairo-object-path.c: (gl_cairo_object_path):
1488 * src/view-object.c: (gl_view_object_draw),
1489 (gl_view_object_draw_highlight):
1490 * src/view.c: (view_object_at), (motion_notify_event_cb),
1491 (button_press_event_cb), (button_release_event_cb):
1492 Additional refinements to select logic.
1494 2007-03-05 Jim Evins <evins@snaught.com>
1497 * src/view.c: (gl_view_init), (gl_view_construct),
1498 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1499 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1500 (button_press_event_cb), (button_release_event_cb):
1501 Added initial select region support and context menu.
1503 2007-03-04 Jim Evins <evins@snaught.com>
1514 * src/ui-commands.c:
1517 * src/view-object.c:
1518 * src/view-object.h:
1521 * src/wdgt-print-copies.c:
1522 * src/wdgt-print-merge.c:
1524 Initial port to a raw Cairo canvas. This removes all remaining
1525 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1526 the view is becoming a canvas widget in its own right. Still needs
1528 * src/cairo-label-path.c:
1529 * src/cairo-label-path.h:
1530 * src/cairo-markup-path.c:
1531 * src/cairo-markup-path.h:
1532 * src/cairo-object-path.c:
1533 * src/cairo-object-path.h:
1534 New files to support cairo canvas.
1535 * src/canvas-hacktext.c:
1536 * src/canvas-hacktext.h:
1539 2007-02-18 Jim Evins <evins@snaught.com>
1542 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1544 2007-02-14 Jim Evins <evins@snaught.com>
1548 * src/bc-gnubarcode.c:
1549 * src/bc-gnubarcode.h:
1554 * src/canvas-hacktext.c:
1555 * src/canvas-hacktext.h:
1562 * src/label-barcode.c:
1563 * src/label-barcode.h:
1566 * src/label-ellipse.c:
1567 * src/label-ellipse.h:
1568 * src/label-image.c:
1569 * src/label-image.h:
1572 * src/label-object.c:
1573 * src/label-object.h:
1578 * src/merge-evolution.c:
1579 * src/merge-evolution.h:
1582 * src/merge-properties-dialog.c:
1583 * src/merge-properties-dialog.h:
1586 * src/merge-vcard.c:
1587 * src/merge-vcard.h:
1590 * src/mini-preview-pixbuf.h:
1591 * src/new-label-dialog.c:
1592 * src/new-label-dialog.h:
1593 * src/object-editor-bc-page.c:
1594 * src/object-editor-data-page.c:
1595 * src/object-editor-edit-page.c:
1596 * src/object-editor-fill-page.c:
1597 * src/object-editor-image-page.c:
1598 * src/object-editor-line-page.c:
1599 * src/object-editor-lsize-page.c:
1600 * src/object-editor-position-page.c:
1601 * src/object-editor-private.h:
1602 * src/object-editor-size-page.c:
1603 * src/object-editor-text-page.c:
1604 * src/object-editor.c:
1605 * src/object-editor.h:
1606 * src/pixbuf-cache.c:
1607 * src/pixbuf-cache.h:
1608 * src/prefs-dialog.c:
1609 * src/prefs-dialog.h:
1610 * src/prefs-model.c:
1611 * src/prefs-model.h:
1617 * src/template-designer.c:
1620 * src/ui-commands.c:
1621 * src/ui-commands.h:
1622 * src/ui-property-bar.c:
1623 * src/ui-property-bar.h:
1632 * src/view-barcode.c:
1633 * src/view-barcode.h:
1636 * src/view-ellipse.c:
1637 * src/view-ellipse.h:
1638 * src/view-highlight.c:
1639 * src/view-highlight.h:
1644 * src/view-object.c:
1645 * src/view-object.h:
1650 * src/wdgt-chain-button.c:
1651 * src/wdgt-chain-button.h:
1652 * src/wdgt-media-select.c:
1653 * src/wdgt-mini-preview.c:
1654 * src/wdgt-print-copies.c:
1655 * src/wdgt-print-copies.h:
1656 * src/wdgt-print-merge.c:
1657 * src/wdgt-print-merge.h:
1658 * src/wdgt-rotate-label.c:
1660 * src/xml-label-04.c:
1661 * src/xml-label-04.h:
1662 * src/xml-label-191.c:
1663 * src/xml-label-191.h:
1667 Assorted superficial cleanup. Including:
1668 - Use G_DEFINE_TYPE for all objects.
1669 - Reconcile style of all class initializer functions
1670 - Reconcile style of all finalize functions
1671 - Add emacs mode line to all source files
1673 2007-02-06 Jim Evins <evins@snaught.com>
1675 Assorted cleanup and removal of deprecated items.
1680 Removed annoying splash screen.
1681 * src/glabels-batch.c: (main):
1682 * src/glabels.c: (main):
1683 Converted from popt to GOption.
1684 * src/object-editor-shadow-page.c:
1685 (gl_object_editor_set_shadow_state):
1686 Removed deprecated method on GtkToggleButton.
1687 * src/ui-commands.c: (gl_ui_cmd_help_about):
1688 Removed dependency on libgnomui/qnome-url.h.
1689 * src/template-designer.c:
1690 Removed dependency on libgnome/gnome-program.h.
1693 2007-02-04 Jim Evins <evins@snaught.com>
1697 * src/prefs-model.c:
1698 * src/print.c: (draw_text_object):
1699 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1700 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1702 2007-02-04 Jim Evins <evins@snaught.com>
1704 * src/wdgt-mini-preview.c:
1705 * src/wdgt-mini-preview.h:
1706 Ported widget from GnomeCanvas to Cairo.
1708 2007-02-03 Jim Evins <evins@snaught.com>
1710 * data/glade/template-designer.glade:
1711 * src/template-designer.c:
1712 * src/template-designer.h:
1713 Ported GnomeDruid to GtkAssistant. Since libglade does not
1714 yet support the GtkAssistant and we derive directly from
1715 the Assistant, the pages are layed out in a GtkNotebook in
1716 the glade description -- we then append each page to the
1719 2007-01-25 Jim Evins <evins@snaught.com>
1721 * data/glade/object-editor.glade:
1722 Added dummy page to notebook, to prevent shadow page from
1723 becoming the default current page at creation.
1724 * src/view-box.c: (construct_properties_editor):
1725 * src/view-ellipse.c: (construct_properties_editor):
1726 * src/view-line.c: (construct_properties_editor):
1727 * src/view-text.c: (construct_properties_editor):
1728 Reconciled order of params.
1730 2007-01-19 Jim Evins <evins@snaught.com>
1732 * src/label-barcode.h:
1733 * src/label-object.c: (gl_label_object_set_font_weight),
1734 (gl_label_object_set_text_alignment),
1735 (gl_label_object_get_font_weight),
1736 (gl_label_object_get_text_alignment):
1737 * src/label-object.h:
1738 * src/label-text.c: (gl_label_text_instance_init), (copy),
1739 (get_size), (set_font_family), (set_font_weight),
1740 (set_text_alignment), (get_font_weight), (get_text_alignment):
1742 * src/object-editor-text-page.c:
1743 (gl_object_editor_prepare_text_page),
1744 (gl_object_editor_set_font_family),
1745 (gl_object_editor_set_font_weight),
1746 (gl_object_editor_get_font_weight),
1747 (gl_object_editor_set_text_alignment),
1748 (gl_object_editor_get_text_alignment),
1749 (gl_object_editor_set_text_color):
1750 * src/object-editor.h:
1751 * src/prefs-dialog.c: (construct_object_page),
1752 (update_object_page_from_prefs), (update_prefs_from_object_page):
1753 * src/prefs-model.c: (gl_prefs_model_save_settings),
1754 (gl_prefs_model_load_settings):
1755 * src/prefs-model.h:
1756 * src/print.c: (draw_text_object):
1757 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1758 (reset_to_default_properties), (update_text_properties),
1759 (font_bold_toggled_cb), (text_align_toggled_cb):
1761 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1762 (gl_util_weight_to_string), (gl_util_string_to_weight),
1763 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1765 * src/view-text.c: (update_object_from_editor_cb),
1766 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1767 * src/view.c: (gl_view_set_selection_text_alignment),
1768 (gl_view_set_default_text_alignment),
1769 (gl_view_get_default_text_alignment):
1771 * src/xml-label-04.c: (xml04_parse_text_props):
1772 * src/xml-label-191.c: (xml191_parse_text_props):
1773 * src/xml-label.c: (xml_parse_object_text),
1774 (xml_parse_toplevel_span), (xml_create_object_text),
1775 (xml_create_toplevel_span):
1776 Converted all model internals to Pango. GnomeFont remains in
1777 view until GnomeCanvas can be replaced with a cairo-based canvas.
1779 2007-01-17 Jim Evins <evins@snaught.com>
1785 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1786 (gl_wdgt_print_copies_construct):
1787 * src/wdgt-print-copies.h:
1788 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1789 (gl_wdgt_print_merge_construct):
1790 * src/wdgt-print-merge.h:
1791 Removed all remaining HIG wrapper widgets.
1793 2007-01-16 Jim Evins <evins@snaught.com>
1796 * src/print-dialog.c:
1797 * src/print-dialog.h:
1800 * src/template-designer.c: (print_test_cb):
1801 * src/ui-commands.c: (gl_ui_cmd_file_print):
1803 Renamed PrintDialog to PrintOp. Added constructor for batch
1805 * src/glabels-batch.c: (main):
1806 Converted to use new PrintOp object for printing.
1808 2007-01-15 Jim Evins <evins@snaught.com>
1810 * data/glade/Makefile.am:
1811 * data/glade/print-custom-widget.glade:
1812 * src/print-dialog.c:
1813 * src/print-dialog.h:
1816 * src/template-designer.c: (print_test_cb):
1817 * src/ui-commands.c: (gl_ui_cmd_file_print):
1818 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1819 * src/wdgt-print-merge.h:
1820 * src/window.c: (gl_window_init):
1822 Initial conversion to GtkPrintOperation.
1824 - Remove font and other libgnomeprint[ui] from elsewhere
1825 - Add batch initialization of print operation
1827 2007-01-08 Jim Evins <evins@snaught.com>
1829 Updated dependencies. Set version to 2.1.pre4cvs.
1831 2007-01-03 Jim Evins <evins@snaught.com>
1833 * src/recent-files/*
1834 Removed EggRecent stuff.
1840 * src/ui-commands.c:
1841 * src/ui-commands.h:
1843 Ported from EggRecent to GtkRecentManager.
1846 2007-01-02 Jim Evins <evins@snaught.com>
1849 * iec16022-0.2.1/BUGS:
1850 * iec16022-0.2.1/CHANGELOG:
1851 * iec16022-0.2.1/CREDITS:
1852 * iec16022-0.2.1/INSTALL:
1853 * iec16022-0.2.1/LICENSE:
1854 * iec16022-0.2.1/Makefile.am:
1855 * iec16022-0.2.1/Makefile.dist:
1856 * iec16022-0.2.1/README:
1857 * iec16022-0.2.1/README.glabels:
1858 * iec16022-0.2.1/TODO:
1859 * iec16022-0.2.1/iec16022.1:
1860 * iec16022-0.2.1/iec16022.c:
1861 * iec16022-0.2.1/iec16022ecc200.c:
1862 * iec16022-0.2.1/iec16022ecc200.h:
1863 * iec16022-0.2.1/image.c:
1864 * iec16022-0.2.1/image.h:
1865 * iec16022-0.2.1/reedsol.c:
1866 * iec16022-0.2.1/reedsol.h:
1867 * iec16022-0.2.1/test/testsuite-example.bin:
1868 * iec16022-0.2.1/test/testsuite-example.eps:
1869 * iec16022-0.2.1/test/testsuite-example.hex:
1870 * iec16022-0.2.1/test/testsuite-example.png:
1871 * iec16022-0.2.1/test/testsuite-example.text:
1872 * iec16022-0.2.1/test/testsuite.sh:
1873 Include modified copy of iec16022-0.2.1 to provide encoding
1874 support for datamatrix 2D barcodes.
1876 * src/bc-iec16022.c:
1877 * src/bc-iec16022.h:
1879 Added initial datamatrix 2D barcode backend to barcode code.
1882 Automatic updates to later versions of these files.
1884 2006-11-28 Jim Evins <evins@snaught.com>
1886 * data/templates/avery-iso-templates.xml:
1887 * data/templates/avery-us-templates.xml:
1888 * data/templates/categories.xml:
1889 * data/templates/misc-iso-templates.xml:
1890 * data/templates/misc-us-templates.xml:
1891 * data/templates/zweckform-iso-templates.xml:
1892 More categorization.
1894 2006-09-12 Jim Evins <evins@snaught.com>
1896 * data/dtd/glabels-2.0.dtd:
1897 * data/templates/Makefile.am:
1898 * data/templates/avery-iso-templates.xml:
1899 * data/templates/avery-other-templates.xml:
1900 * data/templates/avery-us-templates.xml:
1901 * data/templates/categories.xml:
1902 * data/templates/misc-iso-templates.xml:
1903 * data/templates/misc-other-templates.xml:
1904 * data/templates/zweckform-iso-templates.xml:
1905 * data/glade/Makefile.am:
1906 * data/glade/new-label-dialog.glade:
1907 * data/glade/wdgt-media-select.glade:
1908 * data/glade/wdgt-rotate-label.glade:
1909 * libglabels/Makefile.am:
1910 * libglabels/category.c:
1911 * libglabels/category.h:
1912 * libglabels/libglabels.h:
1913 * libglabels/paper.c:
1914 * libglabels/template.c:
1915 * libglabels/template.h:
1916 * libglabels/xml-category.c:
1917 * libglabels/xml-category.h:
1918 * libglabels/xml-template.c:
1919 Added support for category meta data.
1922 * src/mini-preview-pixbuf.c:
1923 * src/mini-preview-pixbuf.h:
1924 * src/new-label-dialog.c:
1925 * src/new-label-dialog.h:
1926 * src/wdgt-media-select.c:
1927 * src/wdgt-media-select.h:
1928 * src/wdgt-rotate-label.c:
1929 * src/wdgt-rotate-label.h:
1930 New "new label" dialog.
1932 2006-05-27 Jim Evins <evins@snaught.com>
1937 Preparation for 2.1.3.
1943 2006-05-22 Jim Evins <evins@snaught.com>
1945 * src/print.c: (draw_barcode_object):
1946 Don't print "Invalid barcode data" if data field is empty. Patch provided
1947 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1949 Added acknowledgment for above patch.
1950 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1951 * src/bc-postnet.c: (postnet_code):
1952 Removed "Invalid barcode data" warnings from stderr.
1953 * src/view-barcode.c: (draw_barcode):
1954 Draw box around barcode extent if data empty or invalid. Center a
1955 message whether the data is empty or invalid in box.
1957 2006-05-22 Jim Evins <evins@snaught.com>
1959 * src/print.c: (draw_text_object):
1960 Check shadow state when printing text.
1962 2006-05-20 Jim Evins <evins@snaught.com>
1964 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1965 (gl_ui_cmd_view_markup_toggle):
1966 Fixed crash when grid or markup have been toggled off during
1967 a previous session. Bug #1434324.
1969 2006-04-05 Jim Evins <evins@snaught.com>
1971 * src/object-editor.c: (gl_object_editor_set_key_names):
1972 Fixed potential crash when freeing empty key list.
1974 2006-03-11 Jim Evins <evins@snaught.com>
1976 * src/print.c: (draw_text_object):
1977 * src/view-text.c: (gl_view_text_new),
1978 (construct_properties_editor), (update_object_from_editor_cb),
1979 (update_editor_from_object_cb), (update_editor_from_label_cb),
1981 Added shadow support to text object.
1983 2006-02-18 Jim Evins <evins@snaught.com>
1985 * src/print.c: (draw_line_object):
1986 * src/view-line.c: (gl_view_line_new),
1987 (construct_properties_editor), (update_canvas_item_from_object_cb),
1988 (update_object_from_editor_cb), (update_editor_from_object_cb),
1989 (update_editor_from_label_cb):
1990 Added shadow support to line object.
1992 2006-02-16 Jim Evins <evins@snaught.com>
1996 * src/print.c: (draw_ellipse_object):
1997 * src/view-ellipse.c: (gl_view_ellipse_new),
1998 (construct_properties_editor), (update_canvas_item_from_object_cb),
1999 (update_object_from_editor_cb), (update_editor_from_object_cb),
2000 (update_editor_from_label_cb):
2001 Added shadow support to ellipse object.
2003 2006-02-15 Jim Evins <evins@snaught.com>
2005 * src/label-object.c:
2006 Changed default shadow offsets.
2007 * src/view-box.c: (gl_view_box_new):
2008 Simplified gl_view_box_new() so that is does not duplicate code
2009 in update_canvas_item_from_object_cb().
2011 2006-02-07 Jim Evins <evins@snaught.com>
2013 * data/glade/object-editor.glade:
2014 Fixed color groups of color combos.
2016 Added default shadow color.
2017 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2018 Added shadow color group.
2020 2006-02-06 Jim Evins <evins@snaught.com>
2022 * src/object-editor-shadow-page.c:
2023 Forgot to add this file.
2024 * src/view-box.c: (gl_view_box_new),
2025 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2026 Update limits on shadow offset spinbuttons.
2028 2006-01-19 Jim Evins <evins@snaught.com>
2030 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2031 Initialize key_list to NULL.
2032 * data/glade/object-editor.glade:
2036 * src/label-object.c:
2037 * src/label-object.h:
2038 * src/object-editor-fill-page.c:
2039 * src/object-editor-private.h:
2040 * src/object-editor.c:
2041 * src/object-editor.h:
2043 Created infrastructure for shadow support.
2046 Initial shadow support in box object only.
2048 2006-01-05 Jim Evins <evins@snaught.com>
2050 * src/merge-properties-dialog.c: (src_changed_cb):
2051 Be extra paranoid before calling strcmp().
2052 * src/merge.c: (gl_merge_set_src):
2053 Don't make (merge == NULL) a critical error.
2055 2005-12-22 Jim Evins <evins@snaught.com>
2057 * src/glabels-batch.c: (main):
2058 Compile warning free with gcc 4.0.
2060 2005-12-21 Jim Evins <evins@snaught.com>
2063 Updated example RPM spec file.
2065 2005-12-21 Jim Evins <evins@snaught.com>
2069 Preparation for 2.1.2.
2071 2005-12-20 Jim Evins <evins@snaught.com>
2074 Define unique G_LOG_DOMAIN for glabels.
2075 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2076 * src/warning-handler.c: (gl_warning_handler_init),
2078 Register for G_LOG_DOMAIN instead of NULL.
2080 2005-12-10 Jim Evins <evins@snaught.com>
2082 * src/merge-evolution.c:
2083 * src/merge-vcard.c:
2086 2005-12-08 Jim Evins <evins@snaught.com>
2088 * libglabels/paper.c: (read_paper_files_from_dir):
2089 * libglabels/template.c: (gl_template_register),
2090 (read_template_files_from_dir):
2091 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2092 (gl_xml_paper_parse_papers_doc):
2093 * libglabels/xml-template.c:
2094 (gl_xml_template_read_templates_from_file),
2095 (gl_xml_template_parse_templates_doc),
2096 (gl_xml_template_parse_template_node),
2097 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2098 (xml_parse_label_cd_node), (xml_parse_layout_node),
2099 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2100 (xml_parse_markup_circle_node),
2101 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2102 * libglabels/xml.c: (gl_xml_get_prop_length):
2103 Re-classified g_warnings to g_messages.
2105 * src/glabels.c: (main):
2106 * src/warning-handler.c: (gl_warning_handler_init),
2108 * src/warning-handler.h:
2109 Added warning message handler to make sure the user is
2110 presented with appropriate non-fatal errors.
2111 * src/critical-error-handler.c: (critical_error_handler):
2112 Changed exit to abort.
2113 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2114 * src/bc-postnet.c: (postnet_code):
2115 * src/bc.c: (id_to_index), (name_to_index):
2116 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2117 * src/object-editor.c: (gl_object_notebook_construct_valist):
2118 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2119 * src/prefs.c: (gl_prefs_get_units_per_point),
2120 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2121 (gl_prefs_get_units_string):
2122 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2123 * src/splash.c: (gl_splash):
2124 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2125 * src/view-highlight.c: (gl_view_highlight_new),
2126 (highlight_resizable_box_construct), (object_changed_cb),
2127 (view_scale_changed_cb):
2128 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2129 (draw_markup_layer), (draw_markup_margin),
2130 (gl_view_object_create_mode), (canvas_event),
2131 (selection_received_cb):
2132 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2133 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2134 * src/xml-label-04.c: (gl_xml_label_04_parse),
2135 (xml04_parse_media_description), (xml04_parse_text_props),
2136 (xml04_parse_barcode_props):
2137 * src/xml-label-191.c: (gl_xml_label_191_parse),
2138 (xml191_parse_objects), (xml191_parse_object),
2139 (xml191_parse_text_props), (xml191_parse_image_props),
2140 (xml191_parse_barcode_props), (xml191_parse_data),
2141 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2142 (xml191_parse_markup):
2143 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2144 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2145 (xml_parse_object_text), (xml_parse_object_image),
2146 (xml_parse_object_barcode), (xml_parse_data),
2147 (xml_parse_toplevel_span), (gl_xml_label_save),
2148 (xml_create_objects):
2149 Re-classified g_warnings to g_messages.
2150 * src/merge-evolution.c: (gl_merge_evolution_open),
2151 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2152 Use g_warning to output errors encountered while
2153 communicating with the evolution data server
2154 instead of embedding them in the data.
2156 2005-12-08 Jim Evins <evins@snaught.com>
2158 * libglabels/libglabels-private.h:
2160 * libglabels/paper.c: (read_papers):
2161 * libglabels/template.c: (read_templates):
2162 Made appropriate warnings critical.
2164 * src/critical-error-handler.h:
2165 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2166 (critical_error_handler):
2167 Created critical error handler.
2168 * src/glabels.c: (main):
2169 Register critical error handler.
2170 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2171 * src/object-editor.c: (gl_object_editor_init):
2172 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2173 * src/template-designer.c: (gl_template_designer_init):
2174 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2175 Made appropriate warnings critical.
2177 2005-11-27 Jim Evins <evins@snaught.com>
2179 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2180 (gl_merge_evolution_get_primary_key),
2181 (gl_merge_evolution_get_record):
2182 Don't create "record_key" pseudo-key. Don't populate
2183 fields with null data.
2185 2005-11-25 Jim Evins <evins@snaught.com>
2187 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2188 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2189 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2191 Query EDS for all supported fields. Patch provided by
2192 Austin Henry <ahenry@users.sourceforge.net>.
2194 2005-10-29 Jim Evins <evins@snaught.com>
2196 * src/glabels.c: (main):
2197 * src/label-barcode.c: (gl_label_barcode_finalize):
2198 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2199 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2200 * src/object-editor.c: (gl_object_editor_finalize):
2201 Another pass at valgrinding -- plugged several memory leaks.
2202 * src/view-text.c: (gl_view_text_new),
2203 (update_canvas_item_from_object_cb), (draw_hacktext):
2204 Commented out artifacts of edit-in-place code.
2206 2005-10-28 Jim Evins <evins@snaught.com>
2208 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2209 Fixed use of uninitialized variable. Caught by
2210 d binderman <dcb314@hotmail.com>.
2212 2005-10-27 Jim Evins <evins@snaught.com>
2214 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2215 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2217 Additional cleanup of EDS and vcard backends. Provided by
2218 Austin Henry <ahenry@users.sourceforge.net>.
2220 2005-10-24 Jim Evins <evins@snaught.com>
2224 * src/merge-evolution.c:
2225 * src/merge-evolution.h:
2226 * src/merge-init.c: (gl_merge_init):
2227 * src/merge-properties-dialog.c: (type_changed_cb):
2228 * src/merge-vcard.c:
2229 * src/merge-vcard.h:
2230 * src/ui-commands.c: (gl_ui_cmd_help_about):
2231 Added Evolution Data Server and VCard merge backends. Original patch
2232 provided by Austin Henry <ahenry@users.sourceforge.net>.
2234 Only support EDS and VCard backends if libebook is installed. Allow
2235 user to disable support, even if installed.
2237 2005-10-24 Jim Evins <evins@snaught.com>
2240 * data/templates/avery-iso-templates.xml:
2241 * data/templates/avery-us-templates.xml:
2242 * data/templates/misc-iso-templates.xml:
2243 * data/templates/zweckform-iso-templates.xml:
2244 Collected all template changes and submissions since last
2247 2005-10-23 Jim Evins <evins@snaught.com>
2250 * data/mime/Makefile.am:
2251 Added configure options to disable update-mime-database and
2252 update-desktop-database as part of the install. Patch
2253 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2255 2005-10-23 Jim Evins <evins@snaught.com>
2258 * libglabels/xml.c: (gl_xml_get_prop_string),
2259 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2260 (gl_xml_is_node), (gl_xml_get_node_content):
2261 Added new XML utility functions.
2262 * libglabels/xml-paper.c:
2263 * libglabels/xml-template.c:
2265 Cleanup by using new xml utilities created above.
2266 * libglabels/paper.c: (gl_paper_free):
2267 * src/file.c: (new_response):
2268 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2269 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2270 (gl_pixbuf_cache_get_pixbuf):
2271 * src/ui-property-bar.c:
2272 (gl_ui_property_bar_construct_color_combo):
2273 * src/view-highlight.c: (gl_view_highlight_finalize):
2274 * src/view-image.c: (update_object_from_editor_cb):
2275 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2276 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2277 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2278 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2279 (draw_markup_margin_round), (draw_markup_margin_cd),
2280 (draw_markup_margin_cd_bc):
2281 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2282 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2283 Plugged various memory leaks located with valgrind.
2284 * src/view-image.c: (update_canvas_item_from_object_cb):
2285 Don't allow a width or height of zero when drawing pixbuf.
2287 2005-10-22 Jim Evins <evins@snaught.com>
2289 * libglabels/xml-paper.c:
2290 * libglabels/xml-template.c:
2293 * src/bc-gnubarcode.c:
2294 * src/canvas-hacktext.c:
2296 * src/object-editor-data-page.c:
2297 * src/print-dialog.c:
2300 * src/template-designer.c:
2302 * src/ui-property-bar.c:
2304 * src/view-barcode.c:
2306 * src/view-ellipse.c:
2311 * src/wdgt-media-select.c:
2312 * src/xml-label-04.c:
2313 * src/xml-label-191.c:
2315 Modified to compile warning free with gcc-4.0. Mostly
2316 casting to change signedness of characters. Did not
2317 attack gnu-barcode library yet.
2319 2005-10-22 Jim Evins <evins@snaught.com>
2321 * src/glabels.c: (main):
2322 * src/splash.c: (gl_splash):
2323 Removed some small memory leaks.
2327 2005-09-19 Jim Evins <evins@snaught.com>
2329 * data/glade/property-bar.glade:
2330 Remove items from font_family_combo. This prevents the
2331 double entry after adding text model and list of fonts.
2332 * src/ui-property-bar.c: (reset_to_default_properties):
2333 Free font_family_list.
2335 2005-07-01 Jim Evins <evins@snaught.com>
2338 Updated italian translation (Daniele Medri)
2340 2005-06-26 Jim Evins <evins@snaught.com>
2342 * docs/libglabels/libglabels-decl-list.txt:
2343 Somehow never got checked in before.
2344 * docs/libglabels/libglabels.types:
2345 Removed -- don't need it afterall.
2347 2005-06-20 Jim Evins <evins@snaught.com>
2350 Final prep for 2.1.1 release.
2352 2005-06-20 Jim Evins <evins@snaught.com>
2355 Final preps for 2.1.1 release.
2356 * docs/libglabels/libglabels.types:
2357 Somehow never got checked in before.
2359 Bring up-to-date with recent reorg of ui code.
2362 2005-06-19 Jim Evins <evins@snaught.com>
2364 * src/template-designer.c: (construct_layout_page):
2365 Removed attempt to match background color of mini preview widget to
2368 2005-06-17 Jim Evins <evins@snaught.com>
2370 * help/C/figures/merge-ex2-4.png:
2371 * help/C/glabels.xml:
2372 Fixed spelling error.
2374 2005-06-13 Jim Evins <evins@snaught.com>
2376 * help/C/figures/merge-ex1-1.png:
2377 * help/C/figures/merge-ex1-2.png:
2378 * help/C/figures/merge-ex1-3.png:
2379 * help/C/figures/merge-ex1-4.png:
2380 * help/C/figures/merge-ex2-1.png:
2381 * help/C/figures/merge-ex2-2.png:
2382 * help/C/figures/merge-ex2-3.png:
2383 * help/C/figures/merge-ex2-4.png:
2384 Added figures for document merge tutorial.
2385 * help/C/glabels.xml:
2386 Added document merge tutorial.
2388 2005-05-19 Jim Evins <evins@snaught.com>
2390 * data/glade/merge-properties-dialog.glade:
2391 Fixed irregular spacing.
2392 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2393 (gl_merge_properties_dialog_construct):
2394 Set outer padding and remove separator.
2396 2005-05-18 Jim Evins <evins@snaught.com>
2400 Removed glHigDialog class.
2401 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2402 (gl_file_properties), (create_properties_dialog_widgets):
2403 * src/prefs-dialog.h:
2404 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2405 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2406 * src/print-dialog.h:
2407 * src/prefs-dialog.h:
2408 * src/print-dialog.c: (gl_print_dialog_get_type),
2409 (gl_print_dialog_init), (gl_print_dialog_construct):
2410 Replaced all instances of glHigDialog with GtkDialog.
2412 2005-05-17 Jim Evins <evins@snaught.com>
2416 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2417 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2418 (save_as_response), (gl_file_close):
2419 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2421 2005-05-15 Jim Evins <evins@snaught.com>
2423 * src/ui-commands.h:
2431 A little code reformatting -- no functional changes.
2433 2005-05-14 Jim Evins <evins@snaught.com>
2436 Removed obsolete macros.
2438 Added marshalling template to support new view signal: "context_menu_activate."
2440 * src/view.c: (gl_view_class_init), (gl_view_construct),
2441 (canvas_event_arrow_mode):
2442 - Removed hardcoded context menus and added new signal "context_menu_activate"
2443 to push this up to the uimanager.
2444 - Removed merge properties and print dialogs so that they can be managed with
2445 the window by the uimanager.
2446 * src/merge-properties-dialog.h:
2447 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2448 (gl_merge_properties_dialog_construct):
2449 Changed calling convention of gl_merge_properties_dialog_new() to use
2450 glLabel and GtkWindow instead of view to make more consistent with other
2452 * src/print-dialog.h:
2453 * src/print-dialog.c: (gl_print_dialog_new),
2454 (gl_print_dialog_construct):
2455 Removed last artifact of libbonoboui.
2456 * src/ui-commands.c: (gl_ui_cmd_file_print),
2457 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2458 Reconciled style for launching dialogs.
2459 * src/ui.c: (gl_ui_new):
2460 Added context menus to ui manager.
2461 * src/view-object.c: (item_event_arrow_mode):
2462 No longer try to select objects with right-click.
2464 * src/window.c: (gl_window_init), (gl_window_set_label),
2465 (context_menu_activate_cb):
2466 Context menus and all dialogs are now managed in a consistent way in window
2469 2005-05-11 Jim Evins <evins@snaught.com>
2472 * src/window.c: (gl_window_init), (gl_window_destroy):
2473 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2474 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2475 Moved management of recent_view back from window.c to ui.c -- it just feels
2478 2005-05-10 Jim Evins <evins@snaught.com>
2481 * src/window.c: (gl_window_init):
2483 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2484 (menu_item_select_cb), (menu_item_deselect_cb):
2485 Added GtkStatusbar which displays menu tooltips.
2487 2005-05-09 Jim Evins <evins@snaught.com>
2489 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2494 Removed dependencies on libbonoboui.
2496 * data/ui/Makefile.am:
2497 * data/ui/glabels-ui.xml:
2498 Removed data/ui directory.
2499 * data/glade/Makefile.am:
2500 * data/property-bar.glade:
2501 Added glade description of property-bar for new libglade implementation
2508 * src/ui-commands.h:
2509 * src/ui-commands.c:
2510 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2511 since the distinction between "commands" and "tools" is no longer that clear.
2514 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2515 no longer has knowledge of eggRecent*.
2516 * src/glabels.c: (main):
2517 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2519 * src/object-editor.c: (gl_object_editor_init):
2520 Make sure notebook does not respond to a "show_all" on the parent.
2521 * src/recent-files/Makefile.am:
2522 * src/recent-files/*.[ch]
2523 Updated from latest version of libegg which now has a view based on
2524 GtkUIManager. Removed unused bonobo and gtk views.
2525 * src/ui-property-bar.h:
2526 * src/ui-property-bar.c:
2527 New implementation based on libglade.
2530 Sidebar is now simply a GtkWidget and does not expect to be a part of
2531 a libbonoboui interface.
2536 Converted for use with GtkUIManager.
2539 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2540 to create menus and toolbars.
2542 2005-04-25 Jim Evins <evins@snaught.com>
2544 * data/templates/misc-iso-templates.xml:
2545 Added Fellows 04715 template provided by Steve Saxon.
2547 Updated acknowledgement for above.
2549 2005-04-23 Jim Evins <evins@snaught.com>
2551 * src/util.c: (gl_util_combo_box_set_strings):
2552 Make sure to clear model before loading a new list of strings.
2553 * src/wdgt-media-select.h:
2554 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2555 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2556 (template_combo_changed_cb), (prefs_changed_cb),
2557 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2558 (gl_wdgt_media_select_get_page_size),
2559 (gl_wdgt_media_select_set_page_size):
2560 Replaced the deprecated GtkCombo widget with the new
2563 2005-04-21 Jim Evins <evins@snaught.com>
2565 * data/glade/template-designer.glade:
2566 * src/template-designer.c: (construct_pg_size_page),
2567 (pg_size_page_changed_cb), (build_template):
2568 Replaced the deprecated GtkCombo widget with the new
2571 2005-04-20 Jim Evins <evins@snaught.com>
2573 * data/glade/prefs-dialog.glade:
2574 * src/prefs-dialog.c: (construct_object_page),
2575 (update_object_page_from_prefs), (update_prefs_from_object_page):
2576 Replaced the deprecated GtkCombo widget with the new
2579 2005-04-19 Jim Evins <evins@snaught.com>
2581 * data/glade/object-editor.glade:
2582 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2583 (style_changed_cb), (gl_object_editor_set_bc_style),
2584 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2585 (gl_object_editor_get_bc_color):
2586 * src/object-editor-data-page.c:
2587 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2588 (gl_object_editor_get_data):
2589 * src/object-editor-edit-page.c:
2590 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2591 * src/object-editor-fill-page.c:
2592 (gl_object_editor_prepare_fill_page),
2593 (gl_object_editor_set_fill_color),
2594 (gl_object_editor_get_fill_color):
2595 * src/object-editor-image-page.c:
2596 (gl_object_editor_prepare_image_page),
2597 (gl_object_editor_set_image), (gl_object_editor_get_image):
2598 * src/object-editor-line-page.c:
2599 (gl_object_editor_prepare_line_page),
2600 (gl_object_editor_set_line_color),
2601 (gl_object_editor_get_line_color):
2602 * src/object-editor-private.h:
2603 * src/object-editor-text-page.c:
2604 (gl_object_editor_prepare_text_page),
2605 (gl_object_editor_set_font_family),
2606 (gl_object_editor_get_font_family),
2607 (gl_object_editor_set_text_color),
2608 (gl_object_editor_get_text_color):
2609 * src/object-editor.c: (gl_object_editor_set_key_names):
2611 In the object editor: replaced all instances of the deprecated
2612 GtkCombo widget with the new GtkComboBox.
2614 2005-04-18 Jim Evins <evins@snaught.com>
2617 Neglected to save this one in previous checkin to support
2620 2005-04-17 Jim Evins <evins@snaught.com>
2622 * libglabels/libglabels-private.h:
2623 * libglabels/paper.c:
2624 * libglabels/paper.h:
2625 * libglabels/template.c:
2626 * libglabels/template.h:
2627 * libglabels/xml-paper.c:
2628 * libglabels/xml-paper.h:
2629 * libglabels/xml-template.c:
2634 * src/bc-gnubarcode.c:
2645 * src/label-barcode.c:
2647 * src/label-ellipse.c:
2648 * src/label-image.c:
2649 * src/label-image.h:
2651 * src/label-object.c:
2655 * src/merge-properties-dialog.c:
2656 * src/object-editor-bc-page.c:
2657 * src/object-editor-data-page.c:
2658 * src/object-editor-edit-page.c:
2659 * src/object-editor-fill-page.c:
2660 * src/object-editor-image-page.c:
2661 * src/object-editor-line-page.c:
2662 * src/object-editor-lsize-page.c:
2663 * src/object-editor-position-page.c:
2664 * src/object-editor-private.h:
2665 * src/object-editor-size-page.c:
2666 * src/object-editor-text-page.c:
2667 * src/object-editor.c:
2668 * src/object-editor.h:
2669 * src/pixbuf-cache.h:
2670 * src/prefs-dialog.c:
2671 * src/prefs-dialog.h:
2672 * src/prefs-model.c:
2673 * src/prefs-model.h:
2675 * src/print-dialog.c:
2676 * src/print-dialog.h:
2684 * src/template-designer.c:
2685 * src/template-designer.h:
2688 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2694 * src/view-barcode.c:
2696 * src/view-ellipse.c:
2697 * src/view-highlight.c:
2698 * src/view-highlight.h:
2701 * src/view-object.c:
2702 * src/view-object.h:
2706 * src/wdgt-chain-button.c:
2707 * src/wdgt-media-select.c:
2708 * src/wdgt-media-select.h:
2709 * src/wdgt-mini-preview.c:
2710 * src/wdgt-mini-preview.h:
2711 * src/wdgt-print-copies.c:
2712 * src/wdgt-print-copies.h:
2713 * src/wdgt-print-merge.c:
2714 * src/wdgt-print-merge.h:
2715 * src/wdgt-rotate-label.c:
2716 * src/wdgt-rotate-label.h:
2719 * src/xml-label-04.c:
2720 * src/xml-label-191.c:
2722 Cleanup of header files:
2723 - all header files are now stand-alone, verified by including
2724 first in corresponding "c" files
2725 - replaced blanket includes of gnome, gtk, and glib with
2728 2005-04-16 Jim Evins <evins@snaught.com>
2730 * data/glade/Makefile.am:
2731 * data/glade/merge-properties-dialog.glade:
2732 Added merge properties dialog glade description file.
2733 * src/merge-properties-dialog.h:
2734 * src/merge-properties-dialog.c:
2735 (gl_merge_properties_dialog_get_type),
2736 (gl_merge_properties_dialog_init),
2737 (gl_merge_properties_dialog_finalize),
2738 (gl_merge_properties_dialog_new),
2739 (gl_merge_properties_dialog_construct), (type_changed_cb),
2740 (src_changed_cb), (response_cb), (load_tree),
2741 (record_select_toggled_cb), (select_all_button_clicked_cb),
2742 (unselect_all_button_clicked_cb):
2743 Modified merge properties dialog to use libglade. Added
2744 "select all" and "unselect all" buttons.
2745 * src/merge-text.c: (parse_line):
2746 Handle empty lines better.
2747 * src/merge.c: (gl_merge_eval_key):
2748 Evaluate the key whether the record is selected or not.
2750 * src/util.c: (gl_util_combo_box_add_text_model):
2751 Since libglade does not use the gtk_combo_box_new_text()
2752 constructor for GtkComboBoxes, a utility function was created
2753 to add an appropriate text model to a GtkComboBox.
2754 * src/view.c: (gl_view_edit_merge_props):
2755 Removed unnecessary "show all's".
2757 2005-04-15 Jim Evins <evins@snaught.com>
2760 Updated russian translation (Vitaly Lipatov)
2761 * data/templates/misc-iso-templates.xml:
2762 Added templates for russian business cards provided by Vitaly Lipatov.
2764 Updated acknowledgements for above.
2766 2005-04-15 Jim Evins <evins@snaught.com>
2768 * data/templates/avery-us-templates.xml:
2769 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2770 * data/templates/misc-iso-templates.xml:
2771 Added Ryman standard CD/DVD template, provided by Dan Clark.
2773 Added acknowledgements for above.
2775 2005-04-10 Jim Evins <evins@snaught.com>
2777 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2778 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2779 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2780 (xml_parse_label_cd_node), (xml_parse_alias_node):
2781 * libglabels/xml.c: (gl_xml_get_prop_double),
2782 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2783 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2784 * src/xml-label-04.c: (xml04_parse_media_description),
2785 (xml04_parse_text_props), (xml04_parse_barcode_props),
2786 (xml04_parse_merge_properties):
2787 * src/xml-label-191.c: (xml191_parse_object),
2788 (xml191_parse_text_props), (xml191_parse_barcode_props),
2789 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2790 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2791 (xml191_parse_alias):
2792 * src/xml-label.c: (xml_parse_object_text),
2793 (xml_parse_object_barcode), (xml_parse_merge_fields),
2794 (xml_parse_pixdata), (xml_parse_toplevel_span):
2795 Make sure to use xmlFree for anything obtained from libxml
2796 in case libxml and glib use different memory management
2799 2005-04-08 Jim Evins <evins@snaught.com>
2802 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2803 (gl_util_combo_box_set_active_text):
2804 Added utility functions to simplify working with GtkComboBox
2806 * src/ui-property-bar.h:
2807 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2808 (reset_to_default_properties), (update_text_properties),
2809 (font_family_changed_cb):
2810 Replaced deprecated GtkCombo with GtkComboBox.
2813 2005-04-03 Jim Evins <evins@snaught.com>
2816 * src/wdgt-image-select.h:
2817 * src/wdgt-image-select.c:
2818 Removed obsolete wdgt-image-select.[ch] files.
2819 * libglabels/paper.c: (gl_paper_dup):
2820 Fixed rename of parameter introduced during documentation
2822 * data/glade/object-editor.glade:
2823 * src/object-editor-image-page.c:
2824 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2825 (gl_object_editor_set_image), (gl_object_editor_get_image),
2826 (update_preview_cb), (add_image_filters_to_chooser):
2827 * src/object-editor-private.h:
2828 Replaced deprecated GnomePixmapEntry with
2829 GtkFileChooserButton.
2831 2005-04-02 Jim Evins <evins@snaught.com>
2833 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2834 (mygal_combo_box_popup_hide_unconditional),
2835 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2836 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2837 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2838 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2839 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2840 Renamed all internal gtk_combo functions to mygal_combo
2841 to prevent namespace confusion.
2843 2005-04-02 Jim Evins <evins@snaught.com>
2845 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2846 (cust_color_set), (color_palette_setup):
2847 * src/mygal/color-palette.h:
2848 Replaced deprecated GnomeColorPicker with GtkColorButton.
2850 2005-04-02 Jim Evins <evins@snaught.com>
2852 * docs/libglabels/libglabels-sections.txt:
2853 * docs/libglabels/libglabels-undocumented.txt:
2854 * docs/libglabels/tmpl/enums.sgml:
2855 * docs/libglabels/tmpl/paper.sgml:
2856 * docs/libglabels/tmpl/xml-paper.sgml:
2857 * docs/libglabels/tmpl/xml-template.sgml:
2858 * libglabels/enums.h:
2859 * libglabels/paper.c: (gl_paper_dup):
2860 * libglabels/paper.h:
2861 * libglabels/xml-paper.c:
2862 * libglabels/xml-template.c:
2863 More documentation updates for libglabels.
2865 2005-03-23 Jim Evins <evins@snaught.com>
2868 Automatically updated.
2873 * docs/libglabels/Makefile.am:
2874 * docs/libglabels/libglabels-docs.sgml:
2875 * docs/libglabels/libglabels-sections.txt:
2876 * docs/libglabels/libglabels-undocumented.txt:
2877 * docs/libglabels/tmpl/enums.sgml:
2878 * docs/libglabels/tmpl/libglabels-unused.sgml:
2879 * docs/libglabels/tmpl/libglabels.sgml:
2880 * docs/libglabels/tmpl/paper.sgml:
2881 * docs/libglabels/tmpl/template.sgml:
2882 * docs/libglabels/tmpl/xml-paper.sgml:
2883 * docs/libglabels/tmpl/xml-template.sgml:
2884 * docs/libglabels/tmpl/xml.sgml:
2885 Added basic gtk-doc stuff to support documenting libglabels
2888 Updated function comments with gtk-doc markup.
2892 2005-03-22 Jim Evins <evins@snaught.com>
2894 Since the development version now requires gtk-2.6/gnome-2.10, I
2895 have made a first pass at removing deprecations.
2898 * libglabels/Makefile.am:
2900 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2901 Also removed all remnants of HAVE_FILECHOOSER.
2902 * src/file.c: (gl_file_open_real):
2903 Removed code for old GtkFileSelection.
2904 * libglabels/libglabels-private.h:
2905 * libglabels/paper.c:
2906 * libglabels/template.c:
2907 * libglabels/xml-paper.c:
2908 * libglabels/xml-template.c:
2912 * src/glabels-batch.c:
2916 * src/merge-properties-dialog.c:
2918 * src/object-editor.c:
2919 * src/prefs-dialog.c:
2921 * src/print-dialog.c:
2924 * src/template-designer.c:
2925 * src/ui-property-bar.c:
2927 * src/view-barcode.c:
2929 * src/view-ellipse.c:
2934 * src/wdgt-image-select.c:
2935 * src/wdgt-media-select.c:
2936 * src/wdgt-print-copies.c:
2937 * src/wdgt-print-merge.c:
2938 * src/wdgt-rotate-label.c:
2940 * src/xml-label-04.c:
2941 * src/xml-label-191.c:
2943 Added '#include <glib/gi18n.h>" where needed.
2944 Removed any unused '#include <gnome.h>"s.
2946 2005-03-22 Jim Evins <evins@snaught.com>
2948 * src/commands.c: (activate_url), (gl_cmd_help_about):
2949 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2950 development version of glabels now depends on GTK 2.6 and
2953 Updated library dependencies.
2955 2005-02-28 Jim Evins <evins@snaught.com>
2958 * data/templates/misc-iso-templates.xml:
2959 Added 'Ednet 45021' template provided by Ali Akcaagac
2962 2005-02-14 Jim Evins <evins@snaught.com>
2964 * data/templates/avery-us-templates.xml:
2965 Updated templates to use inches instead of points.
2966 * src/print-dialog.c: (printer_page_new):
2967 Changed packing style when adding printer selector widget. This fixes
2970 2005-02-13 Jim Evins <evins@snaught.com>
2974 Updated spanish translations. (sergio rivadero)
2976 2005-02-05 Jim Evins <evins@snaught.com>
2978 Some cleanup to libglabels.
2981 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2982 * libglabels/libglabels.pc.in
2984 * libglabels/enums.h
2985 Created. Currently only contains glUnitsType which provides enumerations
2986 for all possible units of distance.
2987 * libglabels/Makefile.am:
2988 Incorporated new files enums.h and libglabels.pc[.in].
2989 * libglabels/libglabels.h:
2991 * libglabels/template.h:
2992 * libglabels/template.c: (gl_template_layout_new):
2993 Changed parameters nx and ny to gint from gdouble.
2995 * libglabels/xml.c: (gl_xml_get_prop_length),
2996 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2997 Added support for different output units.
2998 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2999 (update_prefs_from_locale_page):
3000 * src/prefs-model.c: (string_to_units), (units_to_string):
3001 * src/prefs-model.h:
3002 * src/prefs.c: (gl_prefs_get_units_per_point),
3003 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3004 (gl_prefs_get_units_string):
3006 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3007 Reconciled all length enumerations with the new enumerations provided
3008 in libglabels/enums.h.
3010 2005-02-03 Jim Evins <evins@snaught.com>
3013 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3015 Updated Italian translations. (Daniele Medri)
3017 Updated credits to reflect above translations.
3020 2005-01-22 Jim Evins <evins@snaught.com>
3025 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3027 Final prep for 2.1.0.
3029 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3031 Added '--remove-original' flag to desktop-file-install, so that there is
3032 only one menu entry.
3034 2005-01-20 Jim Evins <evins@snaught.com>
3036 * data/glade/object-editor.glade:
3037 - Font family entry should not be editable.
3038 - img_key_entry should have sensitivity=YES, so that it follows the
3039 sensitivity of img_key_combo.
3041 2005-01-19 Jim Evins <evins@snaught.com>
3044 Give credit to Frederic Ruaudel for the color merge patches.
3046 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3048 Add support to merge color for all other color attribute (Feature
3049 Requests item #1008635. If the data is invalid, the color used is transparent
3050 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3051 by gdk_color_parse() these include name for a color from rgb.txt, such as
3052 DarkSlateGray, or a hex specification such as #305050. File format has been
3053 changed but backward compatibility is preserved for all format. For
3054 box/ellipse/line, keep attribute "line_color" for static color or replace by
3055 "line_color_field" for merge data. For text/barcode objects, keep attribute
3056 "color" for static color or replace by "color_field" for merge data. In the
3057 edit canvas window, merged color are represented by half-transparent black
3060 * data/dtd/glabels-2.0.dtd:
3061 Added line_color_field to line_attrs. Added color_field to
3062 Object-barcode and Span.
3063 * data/glade/object-editor.glade:
3064 Modify the layout of the editor to add merge possibility to color options
3066 Fix a copy/paste error in a comment
3068 Add default color for merge color representation in the editor canvas.
3069 * src/label-barcode.c:
3070 * src/object-editor-bc-page.c:
3071 * src/view-barcode.c:
3072 Add merge color support for barcode color.
3075 Add merge color support for box border color.
3076 * src/label-ellipse.c:
3077 * src/view-ellipse.c:
3078 Add merge color support for ellipse border color.
3081 Add merge color support for line color.
3082 * src/label-object.c:
3083 * src/label-object.h:
3084 * src/object-editor.c:
3085 * src/object-editor.h:
3086 * src/ui-property-bar.c:
3089 * src/xml-label-04.c:
3090 * src/xml-label-191.c:
3091 Add support for merging to other color attribute.
3093 * src/object-editor-text-page.c:
3095 Add merge color support for text color.
3096 * src/object-editor-fill-page.c:
3097 Change a blocked handler that didn't match the good widget. Fix the type
3098 of some debug message.
3099 * src/object-editor-line-page.c:
3100 Add merging support to line color option.
3101 * src/object-editor-private.h:
3102 Add variables for new widget.
3104 Modify the draw functions to get merge data if needed.
3106 Change the default size of the window in order to see all widget in the
3107 "text style tab" of the editor.
3109 Modify the parser to record/retreive the field value for objects that need
3110 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3111 static color or replace by "line_color_field" for merge data. For
3112 text/barcode objects, keep attribute "color" for static color or replace
3113 by "color_field" for merge data.
3115 2005-01-17 Jim Evins <evins@snaught.com>
3117 * src/view.c: (screen_changed_cb):
3118 Don't do anything if we don't have a screen.
3120 2005-01-06 Jim Evins <evins@snaught.com>
3122 * src/view.c: (get_home_scale):
3123 Fixed bad call to gtk_widget_has_screen() -- huh?.
3125 2005-01-06 Jim Evins <evins@snaught.com>
3127 * data/dtd/glabels-2.0.dtd:
3128 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3131 2005-01-06 Jim Evins <evins@snaught.com>
3133 * data/glade/object-editor.glade:
3134 Set entries for fill and data field key dropdowns to NOT editable.
3135 * src/view-box.c: (construct_properties_editor):
3136 * src/view-ellipse.c: (construct_properties_editor):
3137 Update object editor when label's merge property has changed.
3138 * src/xml-label.c: (xml_parse_object_ellipse):
3139 Completed the merge color support for the ellipse item.
3141 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3143 Add support to merge color for object that have a "Fill color" attribute (Feature
3144 Requests item #1008635. If the data is invalid, the color used is transparent
3145 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3146 by gdk_color_parse() these include name for a color from rgb.txt, such as
3147 DarkSlateGray, or a hex specification such as #305050. File format has been
3148 changed but backward compatibility is preserved for all format. For box/ellipse,
3149 keep attribute "fill_color" for static color or replace by "fill_color_field"
3152 * data/glade/object-editor.glade:
3153 Modify "Fill" tab to add the merge key combo and convert the labels into
3157 Add "glColorNode" structure and associated functions to manage it. This
3158 structure is equivalent for color than the "glTextNode". It holds the color
3160 * src/label-object.h:
3161 * src/label-object.c:
3163 * src/label-ellipse.c:
3164 * src/ui-property-bar.c:
3168 * src/view-ellipse.c:
3169 * src/xml-label-04.c:
3170 * src/xml-label-191.c:
3171 Change functions of objects that have a "fill color" attribute to use the
3172 new "glColorNode" structure. Use barcode code as example.
3174 Add the color.[ch] file to glabels_batch binary that now need support for
3176 * src/object-editor.h:
3177 * src/object-editor.c:
3178 * src/object-editor-fill-page.c:
3179 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3180 to choose between static color or merge key. Use barcode code as example.
3181 * src/object-editor-private.h:
3182 Add new widget in the "_glObjectEditorPrivate" structure.
3184 Modify the draw functions to get merge data if needed.
3186 Modify the parser to record/retreive the field value for objects that need
3187 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3188 color or "fill_color_field" for merge data.
3190 2005-01-04 Jim Evins <evins@snaught.com>
3193 * data/templates/avery-iso-templates.xml:
3194 * data/templates/misc-iso-templates.xml:
3195 * data/templates/misc-us-templates.xml:
3196 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3199 2004-11-26 Jim Evins <evins@snaught.com>
3203 Updated french translations provided by Florent Morel <florent@taket.org>.
3204 * src/view-barcode.c:
3206 * src/view-ellipse.c:
3210 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3211 thus _() strings were not being translated.
3213 2004-11-14 Jim Evins <evins@snaught.com>
3216 * src/debug.c: (gl_debug_init), (gl_debug):
3217 Borrowed from gedit: use environmental variables to select debug
3220 Removed unused include of debug.h.
3221 * src/glabels.c: (main):
3222 Added call to gl_debug_init(), and removed debug clutter from command line
3224 * src/glabels-batch.c: (main):
3225 Added call to gl_debug_init().
3227 2004-11-13 Jim Evins <evins@snaught.com>
3229 Drawing and property toolbars were being initialized with the "icons and text"
3230 look in Fedora Core 3. Even though none of the buttons had any text attached to
3231 them, the buttons were being sized as if they were. This led to less real estate
3232 for the property editor, leading to Bug #1064630. The
3234 * data/ui/glabels-ui.xml:
3235 Added explicit "look" property to both drawing and property toolbars.
3236 * src/prefs-model.c: (gl_prefs_model_save_settings),
3237 (gl_prefs_model_load_settings):
3238 * src/prefs-model.h:
3239 Removed drawing_toolbar_button_style configuration parameter.
3240 * src/ui.c: (view_menu_item_toggled_cb),
3241 (set_app_drawing_toolbar_style):
3242 Do not attempt to adjust look property of the drawing toolbar.
3244 2004-10-28 Jim Evins <evins@snaught.com>
3246 * data/pixmaps/glabels-about-logo.png:
3249 2004-10-28 Jim Evins <evins@snaught.com>
3251 * data/man/glabels.1:
3252 * src/glabels-batch.c: (main):
3254 * src/print.c: (gl_print_batch):
3256 Added option to glabels-batch to select the first label to begin
3259 2004-09-26 Jim Evins <evins@snaught.com>
3261 * data/desktop/glabels.desktop.in:
3262 Point to app icon, "glabels.png"
3263 * data/mime/glabels.keys.in:
3264 Point at mime icon, "glabels-application-x-glabels.png"
3265 * data/pixmaps/Makefile.am:
3266 Added glabels_app_icondir. Renamed icons.
3267 * data/pixmaps/glabels.png:
3268 New cleaned up app icon. Deleted glabels-icon.png.
3269 * data/pixmaps/glabels-application-x-glabels.png:
3271 * data/pixmaps/glabels-splash.png:
3272 Renamed glabels-logo to glabels-splash to be more correct about role.
3274 * src/template-designer.c:
3275 Point at app icon, "glabels.png"
3277 Point at renamed splash image, "glabels-splash.png"
3279 2004-08-22 Jim Evins <evins@snaught.com>
3282 * src/glabels-batch.c: (main):
3283 Applied patch with minor mods to allow selecting merge source and
3284 crop-marks on glabels-batch's command line. Original patch provided by
3285 José Dapena Paz <jdapena@igalia.com>.
3287 2004-08-15 Jim Evins <evins@snaught.com>
3289 * data/desktop/glabels.desktop.in:
3290 - Added encoding line
3291 - Removed period from comment
3292 - Fixed Terminal line, changed "0" to "false"
3293 - Added semicolen to Categories line
3295 - Made sure desktop.in comment string above still translated properly
3297 2004-08-14 Jim Evins <evins@snaught.com>
3299 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3300 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3301 * src/xml-label-191.c: (xml191_parse_sheet):
3302 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3304 Reconciled libglabels versioning with 2.0.1.
3307 2004-08-14 Jim Evins <evins@snaught.com>
3310 Updated version to 2.1cvs.
3312 2004-08-14 Jim Evins <evins@snaught.com>
3315 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3317 2004-08-14 Jim Evins <evins@snaught.com>
3319 Fixes for Bug #1008181.
3321 * src/bc.c: (gl_barcode_default_digits):
3322 Make a format of zero digits, harmless.
3323 * src/xml-label.c: (xml_parse_object_barcode):
3324 Set default value of the format property of barcode objects to 10, not
3325 zero. This will prevent crashes when reading pre 2.0.x files.
3327 2004-08-09 Jim Evins <evins@snaught.com>
3331 * help/C/glabels-C.omf:
3332 * help/C/glabels.xml:
3333 Brought documentation up-to-date for 2.0.0 release.
3335 2004-08-09 Jim Evins <evins@snaught.com>
3337 These are hopefully the final preparations for 2.0.0.
3339 * data/mime/Makefile.am:
3340 Include glabels.xml in EXTRA_DIST.
3342 - Updated comment style.
3343 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3344 - Added package and version info to configuration printout
3345 - Update version to 2.0.0
3346 * libglabels/Makefile.am:
3347 Use the new LIBGLABELS_VERSION_INFO macro.
3349 2004-08-09 Jim Evins <evins@snaught.com>
3353 Cleanup of required library macros.
3355 2004-08-08 Jim Evins <evins@snaught.com>
3359 - More specific of what to install in /usr/bin and /usr/lib
3360 - Remove built mime registration files from staging directory
3362 2004-08-08 Jim Evins <evins@snaught.com>
3364 * data/mime/Makefile.am:
3365 Fixed typo: key_files should have been keys_files.
3367 2004-08-08 Jim Evins <evins@snaught.com>
3369 Reorganization of runtime data files. Also added registration of mimetype with
3370 new freedesktop.org mime database if available.
3373 Moved files to appropriate subdirectories, creating local Makefile.am
3374 in each subdirectory.
3375 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3376 These are now installed at $datadir/glabels/templates.
3377 - Moved glabels.1 to man subdirectory.
3378 - Moved glabels-2.0.dtd to dtd subdirectory.
3379 - Moved glabels.desktop.in to desktop subdirectory.
3380 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3382 Moved "./pixmaps" to "./data/pixmaps"
3384 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3386 Moved libglade files from src to data/glade. Created Makefile.am.
3388 Removed pixmaps from SUBDIRS.
3390 - Removed pixmaps from makefiles.
3391 - Added makefiles for new subdirs of data.
3392 - Added tests for freedesktop.org mime database.
3394 - Added tests for freedesktop.org mime database for post install and
3395 post un-install actions.
3396 * libglabels/Makefile.am:
3397 Moved system template files to $(datadir)/glabels/templates.
3398 * libglabels/libglabels-private.h:
3399 Moved system template files to $(datadir)/glabels/templates.
3401 - Accounted for movement of ui and libglade files.
3402 - Added missing .in files.
3403 - Reorganized by directory.
3405 Accounted for movement of ui and libglade files.
3406 * data/mime/glabels.xml.in:
3407 New file for registering with freedesktop.org mime database.
3409 2004-08-07 Jim Evins <evins@snaught.com>
3411 * src/recent-files/*:
3412 Re-synced to latest libegg/recent-files.
3414 2004-08-07 Jim Evins <evins@snaught.com>
3419 Renamed "./doc" directory to "./help" which contains user documentation,
3420 to be more consistent with other GNOME applications.
3423 2004-07-26 Jim Evins <evins@snaught.com>
3425 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3426 Corrected button order of merge properties dialog.
3428 2004-07-18 Jim Evins <evins@snaught.com>
3430 * data/glabels-2.0.dtd:
3431 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3432 (gl_barcode_get_prefered_n):
3434 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3435 (gl_label_barcode_get_props), (get_size):
3436 * src/label-barcode.h:
3437 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3438 (style_changed_cb), (gl_object_editor_set_bc_style),
3439 (gl_object_editor_get_bc_style):
3440 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3441 (gl_object_editor_set_data), (gl_object_editor_get_data):
3442 * src/object-editor-private.h:
3443 * src/object-editor.c: (gl_object_editor_set_key_names):
3444 * src/object-editor.glade:
3445 * src/object-editor.h:
3446 * src/print.c: (draw_barcode_object):
3447 * src/view-barcode.c: (update_object_from_editor_cb),
3448 (update_editor_from_object_cb),
3449 (gl_view_barcode_create_event_handler), (draw_barcode):
3450 * src/xml-label-04.c: (xml04_parse_barcode_props):
3451 * src/xml-label-191.c: (xml191_parse_barcode_props):
3452 * src/xml-label.c: (xml_parse_object_barcode),
3453 (xml_create_object_barcode):
3454 Added "format" attribute to barcode objects. This attribute is used
3455 to properly format freeform barcodes barcodes prior to merge data is
3456 applied, so that barcodes can be accurately layed out. This addresses
3457 remaining issues of feature request #824787. Also added an example of
3458 the format in the object editor.
3460 2004-07-12 Jim Evins <evins@snaught.com>
3462 Various code cleanups.
3464 * src/label-barcode.c:
3465 Removed unneeded include of gnome-glyphlist.h.
3467 * src/label-text.c: (get_size):
3468 Fixed memory leak: unref glyphlists when done with them.
3470 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3471 * src/object-editor-data-page.c:
3472 (gl_object_editor_prepare_data_page):
3473 * src/object-editor-image-page.c:
3474 (gl_object_editor_prepare_image_page):
3475 * src/object-editor-line-page.c:
3476 (gl_object_editor_prepare_line_page):
3477 * src/object-editor-lsize-page.c:
3478 (gl_object_editor_prepare_lsize_page):
3479 * src/object-editor-position-page.c:
3480 (gl_object_editor_prepare_position_page):
3481 * src/object-editor-size-page.c:
3482 (gl_object_editor_prepare_size_page):
3483 * src/object-editor-text-page.c:
3484 (gl_object_editor_prepare_text_page):
3485 Removed unneeded size groups, originally intended to keep widgets aligned.
3486 Now use tables to lay these out in object-editor.glade.
3488 * src/print.c: (draw_text_object):
3489 Fixed memory leak: unref glyphlists when done with them.
3491 * src/view-barcode.c: (draw_barcode):
3492 Fixed memory leak: unref glyphlists when done with them.
3494 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3495 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3497 - Fixed memory leak: unref glyphlists when done with them.
3499 2004-07-11 Jim Evins <evins@snaught.com>
3501 * data/glabels-2.0.dtd:
3502 * src/label-text.c: (gl_label_text_instance_init), (copy),
3503 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3505 * src/object-editor-private.h:
3506 * src/object-editor-text-page.c:
3507 (gl_object_editor_prepare_text_page),
3508 (gl_object_editor_set_text_auto_shrink),
3509 (gl_object_editor_get_text_auto_shrink):
3510 * src/object-editor.c: (gl_object_editor_set_key_names):
3511 * src/object-editor.glade:
3512 * src/object-editor.h:
3513 * src/print.c: (draw_text_object):
3514 * src/view-text.c: (update_object_from_editor_cb),
3515 (update_editor_from_object_cb):
3516 * src/xml-label.c: (xml_parse_object_text),
3517 (xml_create_object_text):
3518 Added option to allow document merge to auto shrink text size to fit
3519 within the text box. The code in print.c that actually shrinks the
3520 text is loosely based on a patch submitted by Mark Harrison
3521 <mark.harrison@velocitynet.com.au>. This addresses feature request
3524 2004-07-11 Jim Evins <evins@snaught.com>
3526 * data/glabels-2.0.dtd:
3527 * libglabels/template.c: (gl_template_rect_label_type_new),
3528 (gl_template_round_label_type_new),
3529 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3530 (template_full_page):
3531 * libglabels/template.h:
3532 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3533 (xml_create_label_node):
3534 * pixmaps/ex-rect-size.png:
3535 * src/print.c: (clip_to_outline), (clip_punchouts):
3536 * src/template-designer.c: (construct_rect_size_page),
3537 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3539 * src/template-designer.glade:
3540 * src/xml-label-191.c: (xml191_parse_label):
3541 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3542 properties for rectangular labels. Templates remain backwards compatible,
3543 but this breaks the libglabels API (I don't know of anyone outside of
3544 glabels using libglabels at this time -- what can I say, the program is
3545 is still "unstable"). This addresses the suggestion in Feature Request
3548 2004-07-05 Jim Evins <evins@snaught.com>
3549 * src/print.c: (print_crop_marks), (draw_outline):
3550 Changed crop marks and label outlines to black, instead of 25% gray.
3551 This addresses debian Bug #257460.
3553 2004-07-05 Jim Evins <evins@snaught.com>
3555 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3556 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3557 Preserve "is_default" of fill and line color_combos when creating from
3560 2004-07-02 Jim Evins <evins@snaught.com>
3563 Created man page. Based on page submitted by Matthew J. Lockner, however
3564 it has been severely edited.
3566 * data/avery-other-templates.xml
3567 * data/misc-other-templates.xml:
3568 Started new files for predefined templates with non-standard sheet sizes.
3569 These have been initially populated with the Avery 06141 and
3570 OfficeMax #86112, both provided by Matthew J. Lockner.
3573 Install above manpage and template files.
3576 Make sure we install man pages.
3578 * src/glabels-batch.c:
3579 Changed short form of help option to '-?' to be consistent with glabels.
3582 Added acknowledgement for above labels.
3584 2004-07-02 Jim Evins <evins@snaught.com>
3586 * src/glabels.c: (main), (save_session_cb):
3587 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3589 - save_session_cb() now returns gboolean.
3590 - Minor formatting changes.
3594 - Now include file.h to provide missing prototype.
3595 - gl_window_get_type() now returns GType, not guint. I believe this may
3596 ultimately be cause of the segfault reported in Bug #982287, since
3597 GType is actually a gulong, which may not be compatible on other
3598 architectures (64bit) -- I cannot personally test this at this time.
3599 I was sloppy in several other xxx_get_type() functions which also
3600 returned guint -- see next group of files:
3602 * src/window.c: (gl_window_get_type):
3603 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3604 * src/canvas-hacktext.h:
3605 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3606 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3607 (gl_hig_hbox_get_type):
3609 * src/label-barcode.c: (gl_label_barcode_get_type):
3610 * src/label-barcode.h:
3611 * src/label-box.c: (gl_label_box_get_type):
3613 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3614 * src/label-ellipse.h:
3615 * src/label-image.c: (gl_label_image_get_type):
3616 * src/label-image.h:
3617 * src/label-line.c: (gl_label_line_get_type):
3619 * src/label-object.c: (gl_label_object_get_type):
3620 * src/label-object.h:
3621 * src/label-text.c: (gl_label_text_get_type):
3623 * src/label.c: (gl_label_get_type):
3625 * src/merge-properties-dialog.c:
3626 (gl_merge_properties_dialog_get_type):
3627 * src/merge-properties-dialog.h:
3628 * src/merge-text.c: (gl_merge_text_get_type):
3630 * src/merge.c: (gl_merge_get_type):
3632 * src/object-editor.c: (gl_object_editor_get_type):
3633 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3634 * src/prefs-dialog.h:
3635 * src/prefs-model.c: (gl_prefs_model_get_type):
3636 * src/prefs-model.h:
3637 * src/print-dialog.c: (gl_print_dialog_get_type):
3638 * src/print-dialog.h:
3639 * src/template-designer.c: (gl_template_designer_get_type):
3640 * src/template-designer.h:
3641 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3642 * src/ui-property-bar.h:
3643 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3645 * src/view-barcode.c: (gl_view_barcode_get_type):
3646 * src/view-barcode.h:
3647 * src/view-box.c: (gl_view_box_get_type):
3649 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3650 * src/view-ellipse.h:
3651 * src/view-highlight.c: (gl_view_highlight_get_type):
3652 * src/view-highlight.h:
3653 * src/view-image.c: (gl_view_image_get_type):
3655 * src/view-line.c: (gl_view_line_get_type):
3657 * src/view-object.c: (gl_view_object_get_type):
3658 * src/view-object.h:
3659 * src/view-text.c: (gl_view_text_get_type):
3661 * src/view.c: (gl_view_get_type):
3663 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3664 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3665 * src/wdgt-image-select.h:
3666 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3667 * src/wdgt-media-select.h:
3668 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3669 * src/wdgt-mini-preview.h:
3670 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3671 * src/wdgt-print-copies.h:
3672 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3673 * src/wdgt-print-merge.h:
3674 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3675 * src/wdgt-rotate-label.h:
3676 - Made sure all xxx_get_type functions returned GType, not guint. This
3677 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3678 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3679 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3680 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3681 window.[ch] details above for more info.
3682 - Reconciled various coding style differences in all xxx_get_type()
3684 * All prototypes include G_GNUC_CONST.
3685 * All prototypes specify the return value as GType, not GtkType
3687 * Info structures are all declared as "static const."
3688 * Generalized the names of type and info variables.
3689 * Miscelaneous formatting.
3691 2004-06-08 Jim Evins <evins@snaught.com>
3697 Don't touch compression of original file -- still defaults to 9 for
3698 new files. Original patch provided by Javier Donaire Segarra
3699 (#912252 in patch tracker).
3701 2004-05-05 Jim Evins <evins@snaught.com>
3703 * data/glabels-2.0.dtd:
3704 Broke DTD previously when adding new barcode types that contain a
3705 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3706 to avoid the problem.
3707 * data/avery-iso-templates.xml:
3708 * data/zweckform-iso-templates.xml:
3710 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3711 provided by Frank Altpeter.
3712 * libglabels/xml-template.c: (xml_create_label_node):
3713 Reordered markup and layout sub-nodes so that resulting templates will
3714 validate against DTD.
3716 2004-03-13 Jim Evins <evins@snaught.com>
3718 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3719 Changed spin callback signals from "value-changed" back to "changed."
3720 This was accidentally introduced in a previous revision, and can cause
3721 size changes just by selecting the size tab.
3723 2004-03-06 Jim Evins <evins@snaught.com>
3725 * src/view.c: (draw_grid_layer):
3726 For round labels (round and cd) adjust grid so that it lines up with
3727 center of label. Also, no longer draw box around label in the grid layer,
3728 it is hidden by he fg layer anyway. Feature suggested by
3729 nemolivier@free.fr. Although the grid is aligned with the center of the
3730 label, the coordinate system is still relative to the upper left corner
3731 of the rectangle containing the label.
3733 2004-02-25 Jim Evins <evins@snaught.com>
3736 Changed version to 2.0pre1cvs
3738 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3739 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3740 instead of doc->name fields when errors encountered.
3742 2004-02-21 Jim Evins <evins@snaught.com>
3744 * data/avery-iso-templates.xml:
3745 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3748 Added libglabels library and include file to installed files.
3751 Final prep for 1.93.3.
3753 2004-02-20 Jim Evins <evins@snaught.com>
3755 * src/glabels-batch.c: (main):
3756 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3757 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3759 2004-02-16 Jim Evins <evins@snaught.com>
3762 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3765 Added HAVE_FILE_CHOOSER to INCLUDES.
3767 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3768 (gl_file_save_as), (save_as_response):
3769 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3771 2004-02-16 Jim Evins <evins@snaught.com>
3773 * src/xml-label-04.c: (xml04_parse_image_props):
3774 * src/xml-label-191.c: (xml191_parse_image_props):
3775 * src/xml-label.c: (xml_parse_object_image):
3776 Delay setting image size until after image has been applied to new
3779 2004-02-15 Jim Evins <evins@snaught.com>
3781 * src/label-barcode.c: (gl_label_barcode_set_data),
3782 (gl_label_barcode_set_props):
3783 Don't emit "changed" signal, if no change actually made for these
3784 methods. Reduces number of unnecessary redraws of barcodes.
3786 * src/label-object.h:
3787 * src/label-object.c: (gl_label_object_set_position),
3788 (gl_label_object_set_position_relative), (set_size),
3789 (gl_label_object_set_size),
3790 (gl_label_object_set_size_honor_aspect):
3791 Don't emit "changed" signal, if no change actually made for these
3794 2004-02-15 Jim Evins <evins@snaught.com>
3796 * data/glabels-2.0.dtd:
3797 Added specific subtypes for various barcode types.
3800 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3801 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3802 (gl_barcode_can_text), (gl_barcode_text_optional),
3803 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3804 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3805 Changed API to use a string id, rather than a fixed enumeration. Id and
3806 name are separate strings. Added entries to backend table for specific
3807 subtypes for various barcode types.
3810 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3812 Modified to conform to above API. Now more stringent with data length
3813 for various subtypes.
3815 * src/bc-gnubarcode.h:
3816 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3817 (is_length_valid), (is_length1_valid), (is_length2_valid):
3818 Modified to conform to above API. Now more stringent with data length
3819 for various subtypes.
3821 * src/label-barcode.h:
3822 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3823 (gl_label_barcode_get_props), (get_size):
3824 Modified to use above API for storing barcode type.
3826 * src/object-editor.h:
3827 * src/object-editor-bc-page.c: (style_changed_cb),
3828 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3829 Modified to use above API for storing barcode type.
3831 * src/object-editor-size-page.c:
3832 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3833 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3834 Added debug markers.
3836 * src/object-editor.glade:
3837 Made barcode style combo's text entry non-editable.
3839 * src/print.c: (draw_barcode_object):
3840 Modified to use above API for barcode type.
3842 * src/view-barcode.c: (update_object_from_editor_cb),
3843 (update_editor_from_object_cb),
3844 (gl_view_barcode_create_event_handler), (draw_barcode):
3845 Modified to use above API for barcode type.
3847 * src/xml-label-04.c: (xml04_parse_barcode_props):
3848 * src/xml-label-191.c: (xml191_parse_barcode_props):
3849 * src/xml-label.c: (xml_parse_object_barcode),
3850 (xml_create_object_barcode):
3851 Modified to use above API for barcode type.
3853 2004-02-07 Jim Evins <evins@snaught.com>
3855 * src/stock-pixmaps/Makefile.am:
3856 * src/stock-pixmaps/stock_hchain_24.png:
3857 * src/stock-pixmaps/stock_hchain_broken_24.png:
3858 * src/stock-pixmaps/stock_vchain_24.png:
3859 * src/stock-pixmaps/stock_vchain_broken_24.png:
3860 Added chain pixmaps borrowed from the gimp's default theme.
3863 * src/stock.c: (gl_stock_init), (add_button_icon):
3864 Added above pixmaps to stock icon sets. Created add_button_icon() to
3865 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3867 * src/wdgt-chain-button.h
3868 * src/wdgt-chain-button.c
3871 Added this Modified version of gimpchainbutton widget, borrowed from
3875 Added acknowledgements of the above borrowing from the gimp.
3877 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3879 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3880 * src/object-editor.glade:
3881 Replaced the keep aspect ratio check box with the above chain-button
3884 * src/text-node.c: (gl_text_node_equal):
3886 Added function gl_text_node_equal() to compare text_nodes.
3888 * src/label-image.c: (gl_label_image_set_filename):
3889 Replaced incomplete text_node comparison code with invocation of
3890 gl_text_node_equal. This fixed the problem of not being able to
3891 resize an image using the object_editor if the aspect ratio is not
3894 2004-02-04 Jim Evins <evins@snaught.com>
3896 * src/object-editor-image-page.c:
3897 (gl_object_editor_prepare_image_page):
3898 Track "changed" signal of pixmap entry's GtkEntry rather than its
3899 "activate" signal -- this catches all changes to the entry rather than
3900 just changes resulting from a browse, so one can easily pull previous
3901 entries from the history. (This change is marked below on 2004-02-03,
3902 but somehow never got checked in.)
3904 * src/view-highlight.c: (sl_resize_event_handler),
3905 (sr_resize_event_handler), (st_resize_event_handler),
3906 (sb_resize_event_handler):
3907 Side resize handles will now confirm the actual resize that the object
3908 accepted before adjusting position parameters. Previously some interesting
3909 things happened when resizing a barcode to its minimum size.
3911 2004-02-03 Jim Evins <evins@snaught.com>
3913 * src/object-editor-image-page.c:
3914 (gl_object_editor_prepare_image_page):
3915 Track "changed" signal of pixmap entry's GtkEntry rather than its
3916 "activate" signal -- this catches all changes to the entry rather than
3917 just changes resulting from a browse, so one can easily pull previous
3918 entries from the history.
3920 * src/view-highlight.c: (tl_resize_event_handler),
3921 (tr_resize_event_handler), (bl_resize_event_handler),
3922 (br_resize_event_handler):
3923 Allow control key to be dropped while dragging a corner resize handle
3924 without losing the aspect ratio lock.
3926 2004-02-02 Jim Evins <evins@snaught.com>
3928 * src/label-image.c: (gl_label_image_set_filename):
3929 When setting a new filename adjust size such that the aspect ratio of
3930 the image is preserved using the current size as a bounding box.
3932 * src/view-image.c: (update_object_from_editor_cb):
3933 When updating object from editor, feed back possible size changes to
3934 editor as a result of a possible change in image.
3936 * src/object-editor-size-page.c: (size_reset_cb):
3937 Fixed typo when blocking spin handlers. If the base size is larger than
3938 the max size, treat max size as a bounding box while keeping aspect
3942 2004-02-02 Jim Evins <evins@snaught.com>
3944 * src/label-object.h:
3945 * src/label-object.c: (gl_label_object_set_size),
3946 (gl_label_object_set_size_honor_aspect):
3947 Added gl_label_object_set_size_honor_aspect() which will maintain the
3948 current aspect ratio by modifying the supplied w or h apropriately.
3950 * src/view-highlight.c: (tl_resize_event_handler),
3951 (tr_resize_event_handler), (bl_resize_event_handler),
3952 (br_resize_event_handler):
3953 Corner handles will now maintain the current aspect ratio if the
3954 control key is pressed while resizing. This addresses feature
3958 2004-01-31 Jim Evins <evins@snaught.com>
3961 * data/avery-us-templates.xml:
3962 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3964 * libglabels/template.c: (read_template_files_from_dir):
3965 Corrected problem with testing for extensions.
3967 * src/object-editor.glade:
3968 Corrected grouping of radio buttons in barcode data page.
3970 * src/print.c: (draw_barcode_object):
3971 * src/view-barcode.c: (draw_barcode):
3972 Corrected problem with calculation of y_offset for locating characters.
3974 2004-01-24 Jim Evins <evins@snaught.com>
3977 * data/avery-us-templates.xml:
3978 Added Avery 5824, submitted by Fred Bacon.
3980 2004-01-20 Jim Evins <evins@snaught.com>
3982 Catching up on a couple of backlogged user template submissions.
3984 * data/avery-iso-templates.xml:
3985 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3986 Suggested by Linas Jakucionis.
3988 * data/zweckform-iso-templates.xml:
3989 Added Zweckform 4760, submitted by Thomas Vill.
3992 Updated to reflect above submissions.
3994 2004-01-06 Jim Evins <evins@snaught.com>
3996 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3997 xml.[ch] into a separate library called libglabels, to facilitate third
3998 party use of glabels template files. This was suggested by Wayne Schuller.
3999 Once split-out, some modifications to the structures and functions to
4000 make a cleaner more useful API, hopefully. Rather extensive changes have
4001 propogated to other modules.
4009 * src/xml-template.h:
4010 * src/xml-template.c:
4013 These files have been moved to libglabels/. API cleanup performed.
4015 * libglabels/libglabels.h:
4016 * libglabels/libglabels-private.h:
4017 * libglabels/Makefile.am:
4018 These files have been added to finish out libglabels.
4025 Modified to reflect new sets of files in src/ and libglabels/.
4027 * COPYING.LIBGLABELS:
4029 Added copy of the LGPL for libglabels, and a copy the GFDL for
4032 * src/glabels-batch.c:
4034 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4035 (gl_label_get_size):
4037 * src/prefs-model.c: (gl_prefs_model_load_settings):
4038 * src/print-dialog.c:
4039 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4040 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4041 (print_crop_marks), (print_label), (draw_outline),
4042 (clip_to_outline), (clip_punchouts):
4043 * src/template-designer.c: (construct_pg_size_page),
4044 (pg_size_page_changed_cb), (layout_page_changed_cb),
4045 (print_test_cb), (build_template):
4046 * src/util.c: (gl_util_fraction):
4048 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4049 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4050 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4051 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4052 (draw_markup_margin_round), (draw_markup_margin_cd),
4053 (draw_markup_margin_cd_bc), (draw_markup_line),
4054 (draw_markup_circle), (gl_view_copy):
4055 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4056 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4057 (get_label_size_desc):
4058 * src/wdgt-mini-preview.c:
4059 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4061 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4062 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4063 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4064 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4065 * src/wdgt-rotate-label.h:
4066 * src/xml-label-04.c: (xml04_parse_media_description):
4067 * src/xml-label-191.c: (gl_xml_label_191_parse),
4068 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4069 (xml191_parse_markup), (xml191_parse_alias):
4070 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4072 Various changes to accomodate new libglabels API.
4074 2004-01-03 Jim Evins <evins@snaught.com>
4079 2004-01-03 Jim Evins <evins@snaught.com>
4082 Added acknowledgement of contributions by Wayne Schuller.
4084 * src/commands.c: (gl_cmd_file_print):
4085 Create extra reference to print dialog, so that it can be properly re-used.
4087 * src/mygal/mygal-combo-box.h:
4088 * src/mygal/mygal-combo-box.c:
4089 (mygal_combo_box_popup_hide_unconditional),
4090 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4091 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4092 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4093 (mygal_combo_box_set_tearable):
4094 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4095 complete the rename of this widget to prevent namespace collisions
4098 * src/prefs-dialog.glade:
4099 Fixed alignment of Fill/Color widgets.
4101 2004-01-03 Jim Evins <evins@snaught.com>
4103 * data/avery-iso-templates.xml:
4104 Added user submitted templates.
4105 Avery 8435A & 8435B, submitted by Ludger Solbach.
4107 * doc/C/glabels.xml:
4108 Added minimal documentation, noting the new template designer.
4110 2004-01-03 Jim Evins <evins@snaught.com>
4112 * pixmaps/ex-rect-size.png:
4113 * pixmaps/ex-round-size.png:
4114 * pixmaps/ex-cd-size.png:
4115 * pixmaps/Makefile.am:
4116 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4117 files to be used as illustrations/examples in the template-designer.
4119 * src/template-designer.c: (construct_rect_size_page),
4120 (construct_round_size_page), (construct_cd_size_page),
4121 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4122 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4123 (layout_page_prepare_cb), (build_template):
4124 * src/template-designer.glade:
4125 Added illustrations for rectangle, round, and cd label size pages.
4126 Added margin spinboxes to these pages, and now add a margin markup
4127 to the constructed template. Added realistic default values for
4128 some of the size spinboxes. Cleaned up the code for setting spinbox
4129 ranges on the layouts page.
4131 2004-01-02 Jim Evins <evins@snaught.com>
4133 * src/object-editor-size-page.c: (h_spin_cb):
4134 Fixed cut-n-paste error in h_spin_cb that loaded h from
4135 the wrong spinbutton.
4137 * src/object-editor.h:
4138 * src/object-editor.c: (gl_object_editor_class_init),
4139 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4140 * src/object-editor-private.h:
4141 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4143 Added "size_changed" signal.
4145 * src/view-text.c: (construct_properties_editor),
4146 (update_object_from_editor_cb),
4147 (update_object_from_editor_size_cb):
4148 Track size changes from object editor separately from other
4149 properties. This is so the default size (0,0) of a text
4150 object is not modified unintentionally.
4152 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4154 Added feature: line spacing - allows you to comfortably space a text box to
4155 fit a label perfectly.
4157 * data/glabels-2.0.dtd:
4158 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4159 (gl_label_object_get_text_alignment),
4160 (gl_label_object_get_text_line_spacing):
4161 * src/label-object.h:
4162 * src/label-text.c: (gl_label_text_class_init),
4163 (gl_label_text_instance_init), (copy), (get_size),
4164 (set_text_line_spacing), (get_text_alignment),
4165 (get_text_line_spacing):
4166 * src/object-editor-private.h:
4167 * src/object-editor-text-page.c:
4168 (gl_object_editor_prepare_text_page),
4169 (gl_object_editor_set_text_line_spacing),
4170 (gl_object_editor_get_text_line_spacing):
4171 * src/object-editor.glade:
4172 * src/object-editor.h:
4173 * src/prefs-dialog.c: (construct_object_page),
4174 (update_object_page_from_prefs), (update_prefs_from_object_page):
4175 * src/prefs-dialog.glade:
4176 * src/prefs-model.c: (gl_prefs_model_save_settings),
4177 (gl_prefs_model_load_settings), (get_float):
4178 * src/prefs-model.h:
4179 * src/print.c: (draw_text_object):
4181 * src/view-text.c: (update_object_from_editor_cb),
4182 (update_editor_from_object_cb),
4183 (gl_view_text_create_event_handler), (draw_hacktext):
4184 * src/view.c: (gl_view_construct),
4185 (gl_view_set_selection_text_line_spacing),
4186 (gl_view_set_default_text_line_spacing),
4187 (gl_view_get_default_text_line_spacing):
4189 * src/xml-label.c: (xml_parse_toplevel_span),
4190 (xml_create_toplevel_span):
4192 2003-12-30 Jim Evins <evins@snaught.com>
4194 * src/template-designer.c:
4195 * src/template-designer.h:
4196 * src/template-designer.glade:
4197 New template designer assistant.
4201 Added entries for src/template-designer.* files.
4203 * pixmaps/ex-1layout.png
4204 * pixmaps/ex-2layouts.png
4205 * pixmaps/Makefile.am:
4206 Added the new image files ex-*.png used as illustrations in the
4207 template designer assistant.
4209 * src/print-dialog.h:
4210 * src/print-dialog.c: (gl_print_dialog_finalize),
4211 (gl_print_dialog_new), (gl_print_dialog_construct),
4212 (gl_print_dialog_force_outline_flag):
4213 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4214 to support printing from the template designer assistant which does not
4215 have a full-fledged view. Nothing else from the view object was being
4216 used by the dialog anyway.
4218 Added the gl_print_dialog_force_outline_flag() method, for better
4219 integration with the template designer assistant.
4223 * src/commands.c: (gl_cmd_file_template_designer),
4224 (gl_cmd_file_print):
4225 Modified print command to provide label instead of view to dialog.
4226 Added the gl_cmd_file_template_designer() command to invoke the
4227 template designer assistant.
4230 * src/glabels-ui.xml:
4231 Added support for template designer assistant.
4233 * src/wdgt-mini-preview.h:
4234 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4235 (gl_wdgt_mini_preview_set_bg_color):
4236 Preview is now centered in canvas. Added
4237 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4238 assistant to match the background color with its own.
4240 * src/print.c: (clip_to_outline):
4241 Fixed really stupid bug when adding waste to clip region of rectangular
4242 labels/cards. Each side of the clip region needs to be extended by
4243 twice the waste margin, as well as negatively offset by the waste
4246 2003-12-28 Jim Evins <evins@snaught.com>
4248 * src/prefs-dialog.c: (update_object_page_from_prefs):
4249 Block intermediary function align_toggle_cb() instead of
4250 update_prefs_from_object_page() for the three alignment
4253 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4255 * src/file.c: (gl_file_new), (gl_file_properties):
4256 Swap button order and set default for higificatory pleasure.
4258 2003-12-27 Jim Evins <evins@snaught.com>
4260 * barcode-0.98/Makefile.am:
4261 One last time: removed doc/Makefile and po/Makefile.in.in from
4264 2003-12-27 Jim Evins <evins@snaught.com>
4266 * barcode-0.98/Makefile.am:
4267 Removed config.stat entry from EXTRA_DIST files.
4269 * barcode-0.98/Makefile.in:
4272 2003-12-27 Jim Evins <evins@snaught.com>
4275 Updated to work with latest gnome-common package from CVS.
4276 Removed recursive configuration of barcode-0.98.
4283 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4285 * barcode-0.98/Makefile.in:
4286 * barcode-0.98/configure.in:
4287 * barcode-0.98/Makefile.am:
4288 * barcode-0.98/README.glabels:
4289 Modified to ignore the barcode package's build system, and build
4290 as a part of glabels.
4291 Renamed Makefile.in to Makefile.in.dist.
4292 Renamed configure.in to configure.in.dist.
4293 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4296 * src/mygal/Makefile.am:
4297 * src/recent-files/Makefile.am:
4298 In order to build against the GNOME 2.5 platform,
4299 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4301 * src/mygal/Makefile.am:
4302 * src/mygal/mygal-combo-box.c:
4303 * src/mygal/mygal-combo-box.h:
4304 * src/mygal/widget-color-combo.c:
4305 * src/mygal/widget-color-combo.h:
4307 In order to build against the GNOME 2.5 platform,
4308 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4309 collisions with the real gtk_combo_box widget, now a part of gtk.
4311 2003-12-26 Jim Evins <evins@snaught.com>
4317 Moved local versions of get_home_data_dir() in paper.c and
4318 template.c to util package. Cleaned up formatting in
4322 In gl_template_register() save a copy of the template in
4323 ~/.glabels if the template is not known. Still need to
4324 handle duplicate filename case and duplicate name but
4325 different template case.
4329 Moved local definition of NAME_SPACE macro from xml-label.c
4332 * src/xml-template.c:
4333 * src/xml-template.h:
4334 Added function gl_xml_template_write_template_to_file(), used
4335 in gl_template_register().