1 2008-12-18 Jim Evins <evins@snaught.com>
3 * src/view.c: (selection_received_cb):
4 Fixed paste bug that caused a duplicate phantom view_object to be created for
5 each new label_object. This is because the view now (as of r673) the view
6 monitiors the label for new objects and creates view_objects automatically.
8 2008-12-14 Jim Evins <evins@snaught.com>
10 * src/ui.c: (gl_ui_new):
11 Bug #2395628. Fixed i18n for application shell.
13 Bug #2395628. Reconciled POTFILES.in with current files.
15 2008-12-14 Jim Evins <evins@snaught.com>
18 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
20 2008-11-15 Jim Evins <evins@snaught.com>
22 * libglabels/db.c: (lgl_db_register_template):
23 * libglabels/xml-template.c:
24 (lgl_xml_template_parse_template_node):
25 * src/glabels-batch.c:
26 * src/view-text.c: (gl_view_text_create_button_press_event):
27 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
29 2008-11-09 Jim Evins <evins@snaught.com>
31 * data/templates/misc-iso-templates.xml:
32 Another user submitted template.
34 2008-10-27 Jim Evins <evins@snaught.com>
36 * data/templates/avery-us-templates.xml:
37 * data/templates/misc-iso-templates.xml:
38 * data/templates/zweckform-iso-templates.xml:
39 Caught up on user submitted templates.
41 Acknowledgements for above templates.
43 2008-10-23 Jim Evins <evins@snaught.com>
45 * src/label-text.c: (set_font_family):
46 * src/object-editor-text-page.c:
47 (gl_object_editor_prepare_text_page),
48 (gl_object_editor_set_font_family):
49 * src/prefs-dialog.c: (construct_object_page),
50 (update_object_page_from_prefs):
51 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
52 (reset_to_default_properties):
53 * src/util.c: (gl_util_get_font_family_list):
55 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
56 everytime the list is requested.
57 * src/object-editor-text-page.c:
58 (gl_object_editor_set_font_family):
59 Don't change font-family if it hasn't actually changed.
61 2008-10-19 Jim Evins <evins@snaught.com>
63 * data/builder/object-editor.glade:
64 Some tweaking of builder/glade widgets.
66 2008-10-18 Jim Evins <evins@snaught.com>
68 Migrated all use of libglade to GtkBuilder.
70 * data/glade/Makefile.am:
71 * data/glade/merge-properties-dialog.glade:
72 * data/glade/new-label-dialog.glade:
73 * data/glade/object-editor.glade:
74 * data/glade/prefs-dialog.glade:
75 * data/glade/print-custom-widget.glade:
76 * data/glade/property-bar.glade:
77 * data/glade/template-designer.glade:
78 * data/glade/wdgt-media-select.glade:
79 Removed data/glade directory.
80 * data/builder/Makefile.am:
81 * data/builder/merge-properties-dialog.glade:
82 * data/builder/new-label-dialog.glade:
83 * data/builder/object-editor.glade:
84 * data/builder/prefs-dialog.glade:
85 * data/builder/print-custom-widget.glade:
86 * data/builder/property-bar.glade:
87 * data/builder/template-designer.glade:
88 * data/builder/wdgt-media-select.glade:
89 Added data/builder directory.
93 Change glade to builder.
94 * src/merge-properties-dialog.c:
95 (gl_merge_properties_dialog_finalize),
96 (gl_merge_properties_dialog_construct):
97 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
98 (gl_new_label_dialog_construct):
99 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
100 * src/object-editor-data-page.c:
101 (gl_object_editor_prepare_data_page):
102 * src/object-editor-edit-page.c:
103 (gl_object_editor_prepare_edit_page):
104 * src/object-editor-fill-page.c:
105 (gl_object_editor_prepare_fill_page):
106 * src/object-editor-image-page.c:
107 (gl_object_editor_prepare_image_page):
108 * src/object-editor-line-page.c:
109 (gl_object_editor_prepare_line_page):
110 * src/object-editor-lsize-page.c:
111 (gl_object_editor_prepare_lsize_page):
112 * src/object-editor-position-page.c:
113 (gl_object_editor_prepare_position_page):
114 * src/object-editor-private.h:
115 * src/object-editor-shadow-page.c:
116 (gl_object_editor_prepare_shadow_page):
117 * src/object-editor-size-page.c:
118 (gl_object_editor_prepare_size_page):
119 * src/object-editor-text-page.c:
120 (gl_object_editor_prepare_text_page):
121 * src/object-editor.c: (gl_object_editor_init):
122 * src/prefs-dialog.c: (gl_prefs_dialog_init),
123 (gl_prefs_dialog_construct), (construct_locale_page),
124 (construct_object_page):
125 * src/print-op.c: (gl_print_op_finalize),
126 (create_custom_widget_cb):
127 * src/template-designer.c: (gl_template_designer_class_init),
128 (gl_template_designer_finalize), (gl_template_designer_construct),
129 (construct_start_page), (construct_name_page),
130 (construct_pg_size_page), (construct_shape_page),
131 (construct_rect_size_page), (construct_round_size_page),
132 (construct_cd_size_page), (construct_nlayouts_page),
133 (construct_layout_page), (construct_finish_page):
134 * src/template-designer.h:
135 * src/ui-property-bar.c: (gl_ui_property_bar_init),
136 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
137 (gl_ui_property_bar_construct), (reset_to_default_properties),
138 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
139 (update_text_properties), (update_fill_color), (update_line_color),
140 (update_line_width), (selection_changed_cb),
141 (font_family_changed_cb), (font_size_changed_cb),
142 (text_color_changed_cb), (fill_color_changed_cb),
143 (line_color_changed_cb), (line_width_changed_cb),
144 (font_bold_toggled_cb), (font_italic_toggled_cb),
145 (text_align_toggled_cb), (set_doc_items_sensitive),
146 (set_text_items_sensitive), (set_fill_items_sensitive),
147 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
148 * src/ui-property-bar.h:
149 * src/util.c: (gl_util_get_builder_widgets):
151 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
152 (gl_wdgt_media_select_construct):
153 Migration of glade to builder.
155 New macros for color combo initialization.
157 Added idea for internal merge database.
158 * docs/libglabels/libglabels-undocumented.txt:
159 * docs/libglabels/tmpl/paper.sgml:
163 2008-10-12 Jim Evins <evins@snaught.com>
165 * src/mygal/Makefile.am:
166 * src/mygal/color-group.c:
167 * src/mygal/color-group.h:
168 * src/mygal/color-palette.c:
169 * src/mygal/color-palette.h:
170 * src/mygal/e-colors.c:
171 * src/mygal/e-colors.h:
172 * src/mygal/e-marshal.list:
173 * src/mygal/e-util.h:
174 * src/mygal/mygal-combo-box.c:
175 * src/mygal/mygal-combo-box.h:
176 * src/mygal/widget-color-combo.c:
177 * src/mygal/widget-color-combo.h:
183 * src/color-combo-color-menu-item.c:
184 * src/color-combo-color-menu-item.h:
185 * src/color-combo-history.c:
186 * src/color-combo-history.h:
187 * src/color-combo-menu.c:
188 * src/color-combo-menu.h:
193 Created new glColorCombo widget.
194 * src/object-editor-bc-page.c:
195 * src/object-editor-edit-page.c:
196 * src/object-editor-fill-page.c:
197 * src/object-editor-line-page.c:
198 * src/object-editor-shadow-page.c:
199 * src/object-editor-text-page.c:
200 * src/object-editor.c:
201 * src/prefs-dialog.c:
202 * src/ui-property-bar.c:
203 Replaced use of mygal color combo with new glColorCombo widget.
205 2008-08-29 Jim Evins <evins@snaught.com>
207 * src/file.c: (gl_file_open), (gl_file_save_as):
208 Bug #2069668. Corrected button order in Open and "Save as"
211 2008-08-17 Jim Evins <evins@snaught.com>
213 * data/dtd/glabels-2.2.dtd:
214 * data/templates/paper-sizes.xml:
215 * libglabels/db.c: (lgl_db_init):
216 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
217 * libglabels/paper.h:
218 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
219 * src/print-op.c: (set_page_size):
220 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
221 size specification) to the libglabels paper database to allow the page size to be
222 communicated to GtkPrintOp un-ambiguously.
224 2008-07-25 Jim Evins <evins@snaught.com>
226 * src/object-editor-size-page.c: (size_reset_cb),
227 (gl_object_editor_set_max_size):
228 Bug #1993550. Set size limits based on longest side of label.
230 2008-07-19 Jim Evins <evins@snaught.com>
233 * src/mygal/Makefile.am:
234 Make sure libtool handles library dependencies for mygal
237 2008-05-21 Jim Evins <evins@snaught.com>
239 * src/glabels-batch.c: (main):
240 Bug #1968653. Initialize prefs subsystem.
242 2008-05-09 Jim Evins <evins@snaught.com>
244 * data/glade/object-editor.glade:
245 Bug #1959135. A couple of radio buttons somehow became
248 2008-04-07 Jim Evins <evins@snaught.com>
250 * src/wdgt-rotate-label.h:
251 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
252 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
253 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
254 (gl_wdgt_rotate_label_set_template_name):
255 Modified wdgt-rotate-label to better indicate the rotation choices.
256 * data/glade/Makefile.am:
257 * data/glade/wdgt-rotate-label.glade:
258 Deleted wdgt-rotate-label.glade.
260 2008-04-04 Jim Evins <evins@snaught.com>
262 * data/templates/brother-other-templates.xml:
263 Added categories to existing templates.
264 * data/templates/misc-other-templates.xml:
265 Moved dymo templates to their own file.
266 * data/templates/Makefile.am:
267 * data/templates/dymo-other-templates.xml:
268 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
270 Acknowledgement for above templates.
272 2008-03-24 Jim Evins <evins@snaught.com>
274 * src/xml-label.c: (xml_doc_to_label):
275 Bug #1872584. Don't refuse to parse label file if namespace is
276 unrecognized -- it may be from a newer version of glabels.
278 2008-03-15 Jim Evins <evins@snaught.com>
280 * data/templates/Makefile.am:
281 * data/templates/brother-other-templates.xml:
282 Added brother templates.
283 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
284 (gl_cairo_markup_margin_cd_path):
285 * src/view.c: (draw_markup_layer):
286 Fixed markup drawing errors when label is rotated.
288 2008-03-03 Jim Evins <evins@snaught.com>
292 Added korean translation provided by xein@naver.com.
294 2008-02-21 Jim Evins <evins@snaught.com>
297 Fixed typo that prevented "Save" from being deactivated when
298 document is not modified.
300 2008-02-18 Jim Evins <evins@snaught.com>
302 * src/prefs-model.c: (gl_prefs_model_save_settings),
303 (gl_prefs_model_load_settings):
304 Set default units for file output.
306 2008-02-18 Jim Evins <evins@snaught.com>
308 * help/C/glabels.xml:
309 Fixed example template.
311 2008-02-16 Jim Evins <evins@snaught.com>
314 * data/templates/avery-iso-templates.xml:
315 * data/templates/avery-us-templates.xml:
316 * data/templates/misc-iso-templates.xml:
317 * data/templates/misc-us-templates.xml:
318 Caught up on user submitted templates.
320 2008-02-04 Jim Evins <evins@snaught.com>
322 * src/view-image.c: (update_object_from_editor_cb):
323 Bug #1886438. Don't update the image size unless it is actually
324 triggered by a change in image source. The result of this bug
325 was that any attempt to edit the size spinboxes, immediately
328 2008-02-03 Jim Evins <evins@snaught.com>
330 * src/label-image.c: (gl_label_image_class_init), (set_size):
331 Enforce minimum size for images.
333 2008-02-03 Jim Evins <evins@snaught.com>
335 * src/object-editor-edit-page.c: (field_selected_cb):
336 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
337 * src/object-editor-private.h:
338 * src/object-editor-shadow-page.c:
339 (gl_object_editor_set_max_shadow_offset):
340 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
341 * src/object-editor.c: (gl_object_editor_finalize),
342 (gl_object_editor_new), (gl_object_notebook_construct_valist),
344 * src/object-editor.h:
345 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
346 * src/view-barcode.c: (construct_properties_editor):
347 * src/view-box.c: (construct_properties_editor):
348 * src/view-ellipse.c: (construct_properties_editor):
349 * src/view-image.c: (construct_properties_editor):
350 * src/view-line.c: (construct_properties_editor):
351 * src/view-object.c: (gl_view_object_finalize):
352 * src/view-text.c: (construct_properties_editor),
353 Move update_editor_from_label callback from individual view objects
354 to the object editor, so that signals can be disconnected when
355 object editor is finalized.
356 * src/view-text.c: (gl_view_text_create_button_press_event):
357 Fixed bug that caused multiple view objects to be created for a
358 single text object. This bug would manifest itself as a crash
359 when deleting multi-object selections which included text objects.
361 2008-02-02 Jim Evins <evins@snaught.com>
364 * src/wdgt-merge-menu.c:
365 * src/wdgt-merge-menu.h:
366 * src/debug.c: (gl_debug_init):
369 New merge menu widget.
370 * data/glade/object-editor.glade:
371 * src/object-editor-private.h:
372 * src/object-editor.c: (gl_object_editor_set_key_names):
373 * src/object-editor-edit-page.c:
374 (gl_object_editor_prepare_edit_page), (field_selected_cb),
376 Simplified UI for inserting fields into text objects by launching
377 a merge menu and directly inserting fields from the menu. No more
378 selecting field in combobox, then pressing insert button.
380 2008-01-31 Jim Evins <evins@snaught.com>
382 * src/label-barcode.c: (draw_object):
383 Fixed rendering problem when "Invalid data" is displayed when text
384 object is lower in stacking order.
386 2008-01-30 Jim Evins <evins@snaught.com>
388 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
389 Don't turn off cairo_hint_metrics. This causes serious issues with
392 2008-01-29 Jim Evins <evins@snaught.com>
394 * src/print-op.c: (gl_print_op_construct),
395 (gl_print_op_construct_batch), (set_page_size):
396 Explicitly set page size for "other" page sizes.
398 2008-01-25 Jim Evins <evins@snaught.com>
401 Fixed Code128C backend parameters.
402 * src/label-barcode.c: (get_size):
403 Bug #1766425. If barcode is not renderable with either
404 input data or default data, use a default size. Also
407 2008-01-16 Jim Evins <evins@snaught.com>
409 * src/print.c: (print_label):
410 Bug #1872568. Don't apply special transforms (rotate and
411 mirror) to clipping region or outline.
413 2008-01-01 Jim Evins <evins@snaught.com>
416 Sort font lists alphabetically.
418 2008-01-01 Jim Evins <evins@snaught.com>
420 * src/merge-evolution.c:
421 Do a case-insensitive sort.
423 2008-01-01 Jim Evins <evins@snaught.com>
425 * src/merge-evolution.c:
426 Sort evolution by "file_under" field. Original patch provided
427 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
430 Added acknowledgement for above patch.
432 2008-01-01 Jim Evins <evins@snaught.com>
437 Reconcile with 2.2 branch.
440 2007-12-21 Jim Evins <evins@snaught.com>
442 * COPYING.LIBGLABELS:
443 * COPYING.README_FIRST:
445 Updating license information to make more complete and understandable.
447 2007-12-16 Jim Evins <evins@snaught.com>
450 Updated version to 2.pre2.
451 * help/C/glabels.xml:
452 Updated documentation.
453 * src/ui-commands.c: (gl_ui_cmd_help_about):
454 Updated copyright string.
456 2007-12-15 Jim Evins <evins@snaught.com>
458 * data/glade/object-editor.glade:
459 Removed any GtkTable that contained a GtkComboBox because the size of
460 the combo box was not constrained properly. This sacrifices the nice
461 orderly labels for combo boxes that don't extend beyond the edge of the
464 2007-12-15 Jim Evins <evins@snaught.com>
466 * libglabels/db.c: (lgl_db_lookup_template_from_name):
467 * src/object-editor.c: (gl_object_editor_finalize):
468 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
469 Fixed several small memory leaks.
471 2007-12-14 Jim Evins <evins@snaught.com>
474 Optimize template search by name by using a GHashTable.
475 * src/mini-preview-pixbuf-cache.c:
476 * src/mini-preview-pixbuf-cache.h:
477 Store one pixbuf per template, but use a key for each alias.
478 * src/wdgt-media-select.c:
479 Optimize loading of tree data, thus optimizing the "new label" dialog.
481 2007-12-12 Jim Evins <evins@snaught.com>
483 * data/templates/avery-us-templates.xml:
484 More templates and aliases.
486 2007-12-08 Jim Evins <evins@snaught.com>
489 More prep for 2.1.5/2.2.0.
491 2007-12-08 Jim Evins <evins@snaught.com>
497 Preparation for 2.1.5.
499 2007-12-08 Jim Evins <evins@snaught.com>
501 * docs/libglabels/libglabels-decl-list.txt:
502 * docs/libglabels/libglabels-docs.sgml:
503 * docs/libglabels/libglabels-sections.txt:
504 * docs/libglabels/libglabels-undocumented.txt:
505 * docs/libglabels/tmpl/db.sgml:
506 * docs/libglabels/tmpl/str.sgml:
508 Documentation cleanup for libglabels.
510 2007-11-29 Jim Evins <evins@snaught.com>
514 Added lgl_db_does_template_name_exist().
515 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
518 Proof read recent templates -- make sure they still exist.
519 * src/wdgt-media-select.c:
520 Default to "search all templates" tab if no recent templates found.
522 2007-11-28 Jim Evins <evins@snaught.com>
524 * data/glade/wdgt-media-select.glade:
525 * src/wdgt-media-select.c:
526 Added tabbed notebook to allow selection of recent template versus searching the
530 2007-11-26 Jim Evins <evins@snaught.com>
532 * libglabels/Makefile.am:
533 * libglabels/libglabels.h:
536 * src/prefs-dialog.c:
541 Added tracking of recently used templates.
543 2007-11-20 Jim Evins <evins@snaught.com>
545 * data/glade/template-designer.glade:
546 * src/template-designer.c:
547 Added warning icon when match brand and part match an existing template.
549 2007-11-18 Jim Evins <evins@snaught.com>
551 * libglabels/Makefile.am:
554 Added lgl_str_utf8_casecmp().
555 * libglabels/libglabels-private.h:
556 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
557 * libglabels/db.c: (lgl_db_get_brand_list):
558 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
561 2007-11-18 Jim Evins <evins@snaught.com>
563 * data/glade/template-designer.glade:
564 * src/template-designer.c:
565 Don't advance past name page, if brand and part match an existing template.
567 2007-11-18 Jim Evins <evins@snaught.com>
569 * libglabels/db.c: (lgl_db_register_template), (read_templates):
570 When registering a new template, don't add to "User defined" category before
571 writing to file. Add to "User defined" category when reading from "~/.glabels"
572 directory instead. This will allow legacy templates (and manually created
573 templates) to be automatically added to the "user defined" category.
574 * libglabels/xml-template.c:
575 (lgl_xml_template_create_template_node):
576 Fixed typo/bug causing brand to be wrong.
578 2007-11-16 Jim Evins <evins@snaught.com>
582 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
583 function. Automatically create "User defined" category and add to all user
584 registered templates.
585 * libglabels/xml-template.c:
586 * libglabels/xml-template.h:
587 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
588 lgl_xml_template_write_template_to_file().
589 * docs/libglabels/libglabels-decl-list.txt:
590 * docs/libglabels/libglabels-sections.txt:
591 * docs/libglabels/libglabels-undocumented.txt:
592 * docs/libglabels/tmpl/db.sgml:
593 * docs/libglabels/tmpl/xml-template.sgml:
594 Update documentation to reflect above changes.
596 2007-10-28 Jim Evins <evins@snaught.com>
598 * libglabels/xml-template.c:
599 Remove any leading white space from part #s when parsing old names.
600 * src/mini-preview-pixbuf-cache.c:
601 If name isn't in cache add it.
603 2007-10-26 Jim Evins <evins@snaught.com>
605 * libglabels/Makefile.am:
606 * libglabels/category.c:
607 * libglabels/category.h:
610 * libglabels/libglabels-private.h:
611 * libglabels/libglabels.h:
612 * libglabels/paper.c:
613 * libglabels/paper.h:
614 * libglabels/template.c:
615 * libglabels/template.h:
616 * libglabels/xml-template.c:
617 Another pass at screwing with the libglabels API. Moved all
618 database related stuff to db.[ch].
619 * docs/libglabels/libglabels-decl-list.txt:
620 * docs/libglabels/libglabels-docs.sgml:
621 * docs/libglabels/libglabels-sections.txt:
622 * docs/libglabels/libglabels-undocumented.txt:
623 * docs/libglabels/tmpl/category.sgml:
624 * docs/libglabels/tmpl/db.sgml:
625 * docs/libglabels/tmpl/init.sgml:
626 * docs/libglabels/tmpl/libglabels-unused.sgml:
627 * docs/libglabels/tmpl/paper.sgml:
628 * docs/libglabels/tmpl/template-construction.sgml:
629 * docs/libglabels/tmpl/template-db.sgml:
630 * docs/libglabels/tmpl/template-misc.sgml:
631 * docs/libglabels/tmpl/template-struct.sgml:
632 * docs/libglabels/tmpl/template.sgml:
633 Updated documentation to reflect above changes to libglabels API.
635 * src/glabels-batch.c:
637 * src/mini-preview-pixbuf-cache.c:
640 * src/template-designer.c:
641 * src/wdgt-media-select.c:
642 * src/wdgt-mini-preview.c:
643 * src/wdgt-rotate-label.c:
644 * src/xml-label-04.c:
646 Reconciled usage with above libglabels API changes.
648 2007-10-21 Jim Evins <evins@snaught.com>
650 * data/glade/wdgt-media-select.glade:
651 * src/wdgt-media-select.c:
652 Added brand to filter settings.
654 2007-10-21 Jim Evins <evins@snaught.com>
656 * data/dtd/glabels-2.2.dtd:
657 Forgot to replace Alias name attribute with brand and part attributes.
658 * data/templates/avery-iso-templates.xml:
659 * data/templates/avery-other-templates.xml:
660 * data/templates/avery-us-templates.xml:
661 * data/templates/misc-iso-templates.xml:
662 * data/templates/misc-other-templates.xml:
663 * data/templates/misc-us-templates.xml:
664 * data/templates/zweckform-iso-templates.xml:
665 Replaced all name attributes with brand/part attribute pairs.
667 2007-10-20 Jim Evins <evins@snaught.com>
669 * src/stock-pixmaps/*.png
670 Updated icons to use Tango color palette.
672 2007-10-20 Jim Evins <evins@snaught.com>
674 * data/dtd/Makefile.am:
675 * data/dtd/glabels-2.0.dtd:
676 * data/dtd/glabels-2.2.dtd:
677 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
679 * libglabels/template.c:
680 * libglabels/template.h:
681 * libglabels/xml-template.c:
683 Added brand and part attributes to template and alias structures and nodes.
686 * src/mini-preview-pixbuf-cache.c:
687 * src/template-designer.c:
688 * src/wdgt-media-select.c:
689 Use modified libglabels API.
690 * docs/libglabels/libglabels-decl-list.txt:
691 * docs/libglabels/libglabels-sections.txt:
692 * docs/libglabels/libglabels-undocumented.txt:
693 * docs/libglabels/tmpl/template-construction.sgml:
694 * docs/libglabels/tmpl/template-db.sgml:
695 * docs/libglabels/tmpl/template-struct.sgml:
696 Update libglabels documentation to reflect above modifications.
698 2007-10-14 Jim Evins <evins@snaught.com>
700 * docs/libglabels/libglabels-decl-list.txt:
701 * docs/libglabels/libglabels-sections.txt:
702 * docs/libglabels/libglabels-undocumented.txt:
703 * docs/libglabels/tmpl/category.sgml:
704 * libglabels/category.c:
705 * libglabels/category.h:
706 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
707 parity with paper functions.
709 2007-10-12 Jim Evins <evins@snaught.com>
711 * docs/libglabels/libglabels-decl-list.txt:
712 * docs/libglabels/libglabels-sections.txt:
713 * docs/libglabels/libglabels-undocumented.txt:
714 * docs/libglabels/tmpl/category.sgml:
715 * docs/libglabels/tmpl/enums.sgml:
716 * docs/libglabels/tmpl/libglabels-unused.sgml:
717 * docs/libglabels/tmpl/paper.sgml:
718 * docs/libglabels/tmpl/template-struct.sgml:
720 * libglabels/template.c:
721 * libglabels/template.h:
722 Another pass at fleshing out the libglabels documentation.
723 * src/cairo-label-path.c:
724 * src/cairo-markup-path.c:
726 * src/mini-preview-pixbuf.c:
730 * src/wdgt-media-select.c:
731 * src/wdgt-mini-preview.c:
732 * src/wdgt-print-copies.c:
733 * src/wdgt-print-merge.c:
734 * src/wdgt-rotate-label.c:
735 Removed lgl_template_get_first_frame() from libglabels API and all references.
737 2007-10-11 Jim Evins <evins@snaught.com>
739 Extended checks for deprecated symbols.
740 * libglabels/template.c:
741 Removed g_strcasecmp references, which are deprecated.
743 2007-10-09 Jim Evins <evins@snaught.com>
745 * src/merge-evolution.c:
746 Create address book if it does not exist. Also, be more robust about handling
747 error conditions -- don't just assume GError has been set.
749 2007-10-08 Jim Evins <evins@snaught.com>
751 * libglabels/template.c:
752 * libglabels/xml-template.c:
753 * src/template-designer.c:
754 Missed some symbols with libglabels API work.
756 2007-10-01 Jim Evins <evins@snaught.com>
758 * docs/libglabels/libglabels-decl-list.txt:
759 * docs/libglabels/libglabels-docs.sgml:
760 * docs/libglabels/libglabels-sections.txt:
761 * docs/libglabels/libglabels-undocumented.txt:
762 * docs/libglabels/tmpl/category.sgml:
763 * docs/libglabels/tmpl/enums.sgml:
764 * docs/libglabels/tmpl/init.sgml:
765 * docs/libglabels/tmpl/libglabels-unused.sgml:
766 * docs/libglabels/tmpl/paper.sgml:
767 * docs/libglabels/tmpl/template-construction.sgml:
768 * docs/libglabels/tmpl/template-db.sgml:
769 * docs/libglabels/tmpl/template-misc.sgml:
770 * docs/libglabels/tmpl/template-struct.sgml:
771 * docs/libglabels/tmpl/template.sgml:
772 * docs/libglabels/tmpl/xml-category.sgml:
773 * docs/libglabels/tmpl/xml-template.sgml:
774 * libglabels/category.h:
776 * libglabels/libglabels-private.h:
777 * libglabels/paper.h:
778 * libglabels/template.c:
779 * libglabels/template.h:
780 * libglabels/xml-template.h:
781 Basic documentation framework for libglabels updated. This still needs some
784 2007-09-27 Jim Evins <evins@snaught.com>
786 * docs/libglabels/libglabels-decl-list.txt:
787 * docs/libglabels/libglabels-docs.sgml:
788 * docs/libglabels/libglabels-sections.txt:
789 * docs/libglabels/libglabels-undocumented.txt:
790 * docs/libglabels/tmpl/enums.sgml:
791 * docs/libglabels/tmpl/init.sgml:
792 * docs/libglabels/tmpl/libglabels-unused.sgml:
793 * docs/libglabels/tmpl/paper.sgml:
794 * docs/libglabels/tmpl/template.sgml:
795 * docs/libglabels/tmpl/xml-paper.sgml:
796 * docs/libglabels/tmpl/xml-template.sgml:
797 * docs/libglabels/tmpl/xml.sgml:
798 * libglabels/Makefile.am:
799 * libglabels/category.c:
800 * libglabels/category.h:
801 * libglabels/enums.h:
804 * libglabels/libglabels-private.h:
805 * libglabels/libglabels.h:
806 * libglabels/paper.c:
807 * libglabels/paper.h:
808 * libglabels/template.c:
809 * libglabels/template.h:
810 * libglabels/xml-category.c:
811 * libglabels/xml-category.h:
812 * libglabels/xml-paper.c:
813 * libglabels/xml-paper.h:
814 * libglabels/xml-template.c:
815 * libglabels/xml-template.h:
818 * src/cairo-label-path.c:
819 * src/cairo-label-path.h:
820 * src/cairo-markup-path.c:
821 * src/cairo-markup-path.h:
823 * src/glabels-batch.c:
825 * src/label-object.c:
828 * src/mini-preview-pixbuf-cache.c:
829 * src/mini-preview-pixbuf.c:
830 * src/mini-preview-pixbuf.h:
831 * src/prefs-dialog.c:
838 * src/template-designer.c:
839 * src/view-barcode.c:
841 * src/view-ellipse.c:
845 * src/wdgt-media-select.c:
846 * src/wdgt-mini-preview.c:
847 * src/wdgt-mini-preview.h:
848 * src/wdgt-print-copies.c:
849 * src/wdgt-print-merge.c:
850 * src/wdgt-rotate-label.c:
851 * src/xml-label-04.c:
853 Major cleanup of libglabels API -- this breaks API compatibility with older
854 development and stable versions -- as far as I know, there are currently
855 no external users of this library yet.
857 2007-09-14 Jim Evins <evins@snaught.com>
862 * src/label-object.c:
863 * src/label-object.h:
864 * src/label-barcode.c:
865 * src/label-ellipse.c:
868 * src/view-barcode.c:
870 * src/view-ellipse.c:
874 Better separation of model from view.
876 2007-08-21 Jim Evins <evins@snaught.com>
878 * src/print-op.c: (create_custom_widget_cb):
879 Fix problem with force_outline_flag -- don't override with default.
881 2007-08-21 Jim Evins <evins@snaught.com>
883 * data/dtd/glabels-2.0.dtd:
884 * libglabels/template.c:
885 * libglabels/template.h:
886 * libglabels/xml-template.c:
887 * src/cairo-markup-path.c:
888 Added "Markup-rect" element to template format.
890 2007-08-21 Jim Evins <evins@snaught.com>
893 Changed version to 2.1.pre5svn.
894 * src/view.c: (draw_markup_layer):
895 Do a stroke for each markup path, otherwise multiple markups
898 2007-08-17 Jim Evins <evins@snaught.com>
901 Bump libglabels revision numbers for 2.1.4 release.
903 2007-08-16 Jim Evins <evins@snaught.com>
906 Include subdir iec16022-0.2.1.
910 Preparation for 2.1.4.
913 2007-08-11 Jim Evins <evins@snaught.com>
919 Added Esperanto translation. Provided by Antonio C.
920 Codazzi "la Filozofo" <f_sophia@libero.it>.
922 Updated French translation. Provided by Claude Paroz
923 <claude@2xlibre.net>.
925 Updated to reflect above translations.
927 2007-08-11 Jim Evins <evins@snaught.com>
930 * data/templates/avery-iso-templates.xml:
931 * data/templates/avery-us-templates.xml:
932 * data/templates/misc-iso-templates.xml:
933 * data/templates/misc-other-templates.xml:
934 * data/templates/misc-us-templates.xml:
935 * data/templates/zweckform-iso-templates.xml:
936 Caught up with backlog of template submissions.
938 2007-08-10 Jim Evins <evins@snaught.com>
940 * src/bc-postnet.c: (gl_barcode_postnet_new):
942 Added support for Brazilian CEPNet barcodes. This is simply an
943 instance of the US POSTNET format with 8 digits. Patch supplied
944 by Mário Meyer in bug # 1768792.
946 Updated acknowledgments to reflect above patch and recent shuffling
947 of underlying technology.
949 2007-05-13 Jim Evins <evins@snaught.com>
951 * src/merge-text.c: (parse_line), (parse_field):
952 Remove leading and trailing spaces from CSV fields, unless quoted.
954 2007-05-09 Jim Evins <evins@snaught.com>
956 * src/object-editor-bc-page.c:
957 * src/object-editor-data-page.c:
958 * src/object-editor-fill-page.c:
959 * src/object-editor-image-page.c:
960 * src/object-editor-line-page.c:
961 * src/object-editor-lsize-page.c:
962 * src/object-editor-position-page.c:
963 * src/object-editor-private.h:
964 * src/object-editor-shadow-page.c:
965 * src/object-editor-size-page.c:
966 * src/object-editor-text-page.c:
967 * src/object-editor.c:
968 * src/prefs-dialog.c:
969 * src/template-designer.c:
970 * src/ui-property-bar.c:
971 * src/wdgt-media-select.c:
972 Replaced signal block/unblock pairs with simple flags. This reduces
973 some code clutter, hopefully making it easier to read.
975 2007-05-05 Jim Evins <evins@snaught.com>
977 * src/template-designer.c: (apply_cb):
978 Add new template to mini-preview pixbuf cache.
980 2007-05-03 Jim Evins <evins@snaught.com>
982 * src/label-image.c: (gl_label_image_init), (draw_object):
983 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
986 2007-05-02 Jim Evins <evins@snaught.com>
988 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
989 (button_release_event_cb):
990 Removed attempt at rendering optimization by clipping the updates
991 to areas affected -- this actually seemed to hurt update performance.
993 2007-04-30 Jim Evins <evins@snaught.com>
996 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
997 (gl_color_node_equal), (gl_color_node_expand):
998 * src/label-barcode.c: (draw_object):
999 * src/label-box.c: (draw_object), (draw_shadow):
1000 * src/label-ellipse.c: (draw_object), (draw_shadow):
1001 * src/label-line.c: (draw_object), (draw_shadow):
1002 * src/label-text.c: (draw_object), (draw_shadow):
1003 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1004 * src/wdgt-rotate-label.c: (drawingarea_update):
1005 Some cleanup to color related code.
1007 2007-04-30 Jim Evins <evins@snaught.com>
1010 Added glLabelRegion structure type.
1011 * src/label-object.c: (gl_label_object_get_extent):
1012 * src/label-object.h:
1013 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1015 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1016 (gl_view_select_region), (gl_view_align_selection_left),
1017 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1018 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1019 (gl_view_align_selection_vcenter),
1020 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1021 (gl_view_move_selection), (gl_view_can_selection_text),
1022 (motion_notify_event_cb), (button_press_event_cb),
1023 (button_release_event_cb):
1024 - Reconcile with new gl_label_object_get_extent() API.
1025 - Use glLabelRegion for view->select_region.
1026 - Added gl_view_update_region() to clip updates to region.
1027 - Use gl_view_update_region() during manipulation of view->select_region.
1029 2007-04-26 Jim Evins <evins@snaught.com>
1031 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1032 (draw_label_outline):
1033 * src/print.c: (print_crop_marks), (draw_outline):
1034 * src/view-object.c: (gl_view_object_draw_handles):
1035 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1036 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1037 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1038 * src/wdgt-rotate-label.c: (drawingarea_update):
1039 Added defines for various magic numbers.
1041 2007-04-25 Jim Evins <evins@snaught.com>
1043 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1044 Scale text down. Cairo seems to render text too large.
1046 2007-04-25 Jim Evins <evins@snaught.com>
1049 * src/view.c: (gl_view_update), (expose_cb),
1050 (motion_notify_event_cb), (button_press_event_cb),
1051 (button_release_event_cb):
1052 - Try not to let updates get backed up.
1053 - Grab pointer when doing any drag operations.
1055 2007-04-11 Jim Evins <evins@snaught.com>
1057 * src/cairo-label-path.c: (gl_cairo_label_path),
1058 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1059 (gl_cairo_cd_label_path):
1060 * src/cairo-label-path.h:
1061 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1062 (draw_label_outline):
1063 * src/print.c: (draw_outline), (clip_to_outline):
1064 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1065 * src/wdgt-mini-preview.c: (draw_labels):
1066 * src/wdgt-rotate-label.c: (drawingarea_update):
1067 Modified to universally use gl_cairo_label_path() to create paths
1068 for labels. Added shadow to mini preview in rotate widget.
1070 2007-04-10 Jim Evins <evins@snaught.com>
1072 * libglabels/template.h:
1073 * libglabels/template.c: (gl_template_get_name_list_unique),
1074 (gl_template_get_name_list_all), (gl_template_from_name):
1075 Modified libglabels to allow you to get a list of all template names
1076 including all aliases or just a list of primary names of each unique
1079 * src/file.c: (gl_file_properties):
1080 * src/glabels.c: (main):
1081 * src/mini-preview-pixbuf-cache.h:
1082 * src/mini-preview-pixbuf-cache.c:
1083 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1084 (filter_changed_cb), (load_list):
1085 Added mini-preview pixbuf cache, so that only one mini-preview is
1086 needed for a unique template and gets reused for all aliases. These
1087 pixbufs will also live for the life of the program so they are not
1088 rebuilt everytime a new label dialog is invoked.
1089 * src/mini-preview-pixbuf.c: (draw_paper),
1090 (draw_rect_label_outline), (draw_round_label_outline),
1091 (draw_cd_label_outline):
1092 Removed some comment artifacts.
1094 2007-04-04 Jim Evins <evins@snaught.com>
1096 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1097 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1098 (draw_round_label_outline), (draw_cd_label_outline):
1099 * src/wdgt-media-select.c: (load_list):
1100 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1101 Cosmetic enhancments to mini previews.
1103 2007-04-04 Jim Evins <evins@snaught.com>
1105 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1106 (gl_ui_property_bar_construct):
1107 Save copy of GladeXML tree so that we don't lose tooltips.
1109 2007-04-02 Jim Evins <evins@snaught.com>
1111 * src/merge-properties-dialog.c:
1112 * src/new-label-dialog.c:
1113 * src/object-editor.c:
1114 * src/prefs-dialog.c:
1116 * src/template-designer.c:
1117 * src/ui-property-bar.c:
1118 * src/wdgt-media-select.c:
1119 * src/wdgt-rotate-label.c:
1120 Fixed several memory leaks.
1122 2007-04-01 Jim Evins <evins@snaught.com>
1124 * src/label-text.c: (gl_label_text_init), (copy),
1125 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1126 (set_font_family), (set_font_size), (set_font_weight),
1127 (set_font_italic_flag), (set_text_alignment),
1128 (set_text_line_spacing):
1129 Cache object size, so that expensive extent calculations are only done
1132 2007-03-30 Jim Evins <evins@snaught.com>
1134 * src/prefs-model.c: (gl_prefs_model_load_settings):
1135 Default to an unlimited list of recent documents, since this parameter
1136 seems to be pre-filter anyway.
1138 2007-03-30 Jim Evins <evins@snaught.com>
1140 * src/label-box.c: (draw_shadow):
1141 * src/label-ellipse.c: (draw_shadow):
1142 Added missing shadow fill.
1144 2007-03-28 Jim Evins <evins@snaught.com>
1146 * src/ui-commands.c: (gl_ui_cmd_file_print):
1147 Unreferencing the print operation sometimes crashes. Just don't do it
1150 2007-03-28 Jim Evins <evins@snaught.com>
1152 * src/print-op.c: (gl_print_op_construct),
1153 (gl_print_op_get_settings), (gl_print_op_set_settings),
1154 (gl_print_op_free_settings), (create_custom_widget_cb):
1156 * src/ui-commands.c: (gl_ui_cmd_file_print):
1157 * src/window.c: (gl_window_init):
1159 Save print settings and custom settings between print operations
1162 2007-03-24 Jim Evins <evins@snaught.com>
1164 * src/object-editor-image-page.c:
1165 (gl_object_editor_prepare_image_page),
1166 (gl_object_editor_set_image), (img_selection_changed_cb):
1167 Workaround for GtkFileChooserButton bug # 327243. This the root
1168 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1169 "selection-changed" signals -- the first 2 return NULL -- this is
1170 what caused the image to reset to the default followed by setting
1171 it back to the original image, trying to fit it into a new bounding
1172 box. This sequence of events is much more evident with the new
1175 2007-03-23 Jim Evins <evins@snaught.com>
1177 Merged all changes from experimental cairo branch to trunk.
1178 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1180 2007-03-23 Jim Evins <evins@snaught.com>
1182 * src/label-object.h:
1183 * src/label-object.c: (gl_label_object_class_init),
1184 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1185 Created "get_raw_size" method.
1186 * src/label-barcode.c: (get_size):
1187 * src/xml-label.c: (xml_create_object_text),
1188 (xml_create_object_barcode):
1189 Use new "get_raw_size" method on label-objects when apropos.
1191 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1192 (auto_shrink_font_size):
1193 Added "auto shrink" functionality back.
1195 2007-03-19 Jim Evins <evins@snaught.com>
1197 * src/label-text.c: (draw_object), (draw_shadow):
1198 Don't use negative scales in workaround from previous commit.
1201 2007-03-18 Jim Evins <evins@snaught.com>
1204 Forgot to remove include of xml-lable-191 in previous commit.
1205 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1206 Workaround for pango Bug #341481. Render text at device scale,
1207 and scale font size accordingly. Also, don't do any hinting.
1209 2007-03-18 Jim Evins <evins@snaught.com>
1211 * src/cairo-ellipse-path.c:
1212 * src/cairo-ellipse-path.h:
1213 Forgot to add these new files during last mass commit.
1215 2007-03-18 Jim Evins <evins@snaught.com>
1218 * src/xml-label-191.c:
1219 * src/xml-label-191.h:
1220 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1221 so there is no need to keep compatability.
1223 * src/bc-iec16022.c:
1224 * src/cairo-label-path.c:
1225 * src/cairo-label-path.h:
1226 * src/cairo-markup-path.c:
1230 * src/glabels-batch.c:
1232 * src/label-barcode.c:
1234 * src/label-ellipse.c:
1235 * src/label-image.c:
1237 * src/label-object.c:
1238 * src/label-object.h:
1242 * src/merge-properties-dialog.c:
1244 * src/new-label-dialog.c:
1245 * src/object-editor-bc-page.c:
1246 * src/object-editor-data-page.c:
1247 * src/object-editor-edit-page.c:
1248 * src/object-editor-fill-page.c:
1249 * src/object-editor-image-page.c:
1250 * src/object-editor-line-page.c:
1251 * src/object-editor-private.h:
1252 * src/object-editor-shadow-page.c:
1253 * src/object-editor-text-page.c:
1254 * src/object-editor.c:
1255 * src/pixbuf-cache.c:
1260 * src/template-designer.c:
1262 * src/ui-property-bar.c:
1264 * src/view-barcode.c:
1266 * src/view-ellipse.c:
1269 * src/view-object.c:
1270 * src/view-object.h:
1273 * src/wdgt-media-select.c:
1274 * src/wdgt-print-copies.c:
1275 * src/wdgt-print-merge.c:
1277 * src/xml-label-04.c:
1279 Many changes, including:
1280 - Move draw methods from view-*() to label-*().
1281 - Use same drawing code for on screen view and printing.
1282 - Fix all issues exposed with '-Wall -Werror'.
1284 2007-03-14 Jim Evins <evins@snaught.com>
1287 * src/cairo-handle-path.c:
1288 * src/cairo-handle-path.h:
1289 * src/cairo-object-path.c:
1290 * src/cairo-object-path.h:
1291 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1292 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1294 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1295 (draw_shadow), (object_at):
1296 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1297 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1298 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1300 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1301 (draw_shadow), (object_at):
1302 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1303 (create_handle_path), (gl_view_object_draw_handles),
1304 (gl_view_object_handle_at):
1305 * src/view-object.h:
1306 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1307 (draw_shadow), (object_at):
1308 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1309 Some restructuring of new code.
1311 2007-03-12 Jim Evins <evins@snaught.com>
1314 * src/cairo-object-path.c:
1315 * src/view-barcode.c:
1316 * src/view-barcode.h:
1318 Added barcode object support to view.
1320 2007-03-12 Jim Evins <evins@snaught.com>
1326 * src/cairo-object-path.c:
1327 * src/cairo-object-path.h:
1329 * src/view-ellipse.c:
1332 * src/view-object.c:
1333 * src/view-object.h:
1334 Added text object support to view. Added object_at method to all
1337 2007-03-11 Jim Evins <evins@snaught.com>
1340 * src/cairo-object-path.c: (gl_cairo_object_path),
1341 (gl_cairo_image_object_path):
1342 * src/view-image.c: (gl_view_image_class_init),
1343 (gl_view_image_finalize), (gl_view_image_new),
1344 (update_editor_from_label_cb), (draw),
1345 (gl_view_image_get_create_cursor),
1346 (gl_view_image_create_button_press_event),
1347 (gl_view_image_create_motion_event),
1348 (gl_view_image_create_button_release_event):
1350 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1351 (selection_received_cb), (motion_notify_event_cb),
1352 (button_press_event_cb), (button_release_event_cb):
1353 Added image object support to view.
1355 2007-03-11 Jim Evins <evins@snaught.com>
1358 * src/cairo-object-path.c: (gl_cairo_object_path),
1359 (gl_cairo_line_object_path):
1360 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1361 (update_object_from_editor_cb), (update_editor_from_object_cb),
1362 (update_editor_from_label_cb), (draw),
1363 (gl_view_line_get_create_cursor),
1364 (gl_view_line_create_button_press_event),
1365 (gl_view_line_create_motion_event),
1366 (gl_view_line_create_button_release_event):
1368 * src/view-object.c: (gl_view_object_resize_event):
1369 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1370 (selection_received_cb), (motion_notify_event_cb),
1371 (button_press_event_cb), (button_release_event_cb):
1372 Added line object support to view.
1373 * src/cairo-handle-path.c:
1374 Made handles slightly larger.
1377 2007-03-11 Jim Evins <evins@snaught.com>
1380 * src/cairo-handle-path.c:
1381 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1382 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1383 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1384 (gl_cairo_markup_margin_round_path),
1385 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1386 * src/cairo-object-path.c: (gl_cairo_object_path),
1387 (gl_cairo_ellipse_object_path):
1388 * src/label-object.c: (gl_label_object_rotate):
1391 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1392 (gl_view_ellipse_new), (update_object_from_editor_cb),
1393 (update_editor_from_object_cb), (update_editor_from_label_cb),
1394 (draw), (gl_view_ellipse_get_create_cursor),
1395 (gl_view_ellipse_create_button_press_event),
1396 (gl_view_ellipse_create_motion_event),
1397 (gl_view_ellipse_create_button_release_event):
1398 * src/view-ellipse.h:
1399 * src/view-object.c:
1400 * src/view-object.h:
1401 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1402 (select_object_real), (selection_received_cb),
1403 (motion_notify_event_cb), (button_press_event_cb),
1404 (button_release_event_cb):
1406 Added ellipse object support to view. Plus other cleanup.
1408 2007-03-11 Jim Evins <evins@snaught.com>
1411 * src/view-box.c: (gl_view_box_get_create_cursor),
1412 (gl_view_box_create_button_press_event),
1413 (gl_view_box_create_motion_event),
1414 (gl_view_box_create_button_release_event):
1415 * src/view-object.c: (gl_view_object_set_view),
1416 (gl_view_object_handle_at):
1418 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1419 (motion_notify_event_cb), (button_press_event_cb),
1420 (button_release_event_cb), (key_press_event_cb):
1421 Added creation code for box object.
1423 2007-03-09 Jim Evins <evins@snaught.com>
1425 * src/view-object.c: (gl_view_object_resize_event):
1426 * src/view-object.h:
1427 * src/view.c: (motion_notify_event_cb):
1428 Fix bugs with resizing transformed objects.
1429 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1430 * src/cairo-object-path.c: (gl_cairo_object_path):
1431 * src/cairo-object-path.h:
1432 * src/label-object.c: (gl_label_object_init),
1433 (gl_label_object_dup), (gl_label_object_get_extent),
1434 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1435 (gl_label_object_rotate), (gl_label_object_set_matrix),
1436 (gl_label_object_get_matrix):
1437 * src/label-object.h:
1438 * src/print.c: (draw_object):
1440 * src/view-highlight.c:
1441 * src/view-highlight.h:
1442 * src/xml-label-191.c: (xml191_parse_object):
1443 * src/xml-label.c: (xml_parse_affine_attrs),
1444 (xml_create_affine_attrs):
1445 Replace libart affine matrices with cairo matrices.
1447 2007-03-08 Jim Evins <evins@snaught.com>
1449 * src/view-object.h:
1450 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1451 * src/view-object.c: (gl_view_object_handle_at),
1452 (gl_view_object_resize_event):
1453 Added resize code -- still a bit buggy.
1455 2007-03-07 Jim Evins <evins@snaught.com>
1458 * src/cairo-handle-path.c:
1459 * src/cairo-handle-path.h:
1460 * src/view-box.c: (gl_view_box_new):
1461 * src/view-object.c: (gl_view_object_set_object),
1462 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1463 * src/view-object.h:
1464 * src/view.c: (draw_highlight_layer), (select_object_real),
1465 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1466 (button_press_event_cb), (button_release_event_cb),
1467 (key_press_event_cb):
1469 Added beginnings of object resize handles.
1471 2007-03-07 Jim Evins <evins@snaught.com>
1474 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1475 (gl_view_object_create_mode), (motion_notify_event_cb),
1476 (button_press_event_cb), (button_release_event_cb),
1477 (key_press_event_cb):
1478 Added move selection support.
1480 2007-03-05 Jim Evins <evins@snaught.com>
1482 * src/cairo-object-path.c: (gl_cairo_object_path):
1483 * src/view-object.c: (gl_view_object_draw),
1484 (gl_view_object_draw_highlight):
1485 * src/view.c: (view_object_at), (motion_notify_event_cb),
1486 (button_press_event_cb), (button_release_event_cb):
1487 Additional refinements to select logic.
1489 2007-03-05 Jim Evins <evins@snaught.com>
1492 * src/view.c: (gl_view_init), (gl_view_construct),
1493 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1494 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1495 (button_press_event_cb), (button_release_event_cb):
1496 Added initial select region support and context menu.
1498 2007-03-04 Jim Evins <evins@snaught.com>
1509 * src/ui-commands.c:
1512 * src/view-object.c:
1513 * src/view-object.h:
1516 * src/wdgt-print-copies.c:
1517 * src/wdgt-print-merge.c:
1519 Initial port to a raw Cairo canvas. This removes all remaining
1520 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1521 the view is becoming a canvas widget in its own right. Still needs
1523 * src/cairo-label-path.c:
1524 * src/cairo-label-path.h:
1525 * src/cairo-markup-path.c:
1526 * src/cairo-markup-path.h:
1527 * src/cairo-object-path.c:
1528 * src/cairo-object-path.h:
1529 New files to support cairo canvas.
1530 * src/canvas-hacktext.c:
1531 * src/canvas-hacktext.h:
1534 2007-02-18 Jim Evins <evins@snaught.com>
1537 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1539 2007-02-14 Jim Evins <evins@snaught.com>
1543 * src/bc-gnubarcode.c:
1544 * src/bc-gnubarcode.h:
1549 * src/canvas-hacktext.c:
1550 * src/canvas-hacktext.h:
1557 * src/label-barcode.c:
1558 * src/label-barcode.h:
1561 * src/label-ellipse.c:
1562 * src/label-ellipse.h:
1563 * src/label-image.c:
1564 * src/label-image.h:
1567 * src/label-object.c:
1568 * src/label-object.h:
1573 * src/merge-evolution.c:
1574 * src/merge-evolution.h:
1577 * src/merge-properties-dialog.c:
1578 * src/merge-properties-dialog.h:
1581 * src/merge-vcard.c:
1582 * src/merge-vcard.h:
1585 * src/mini-preview-pixbuf.h:
1586 * src/new-label-dialog.c:
1587 * src/new-label-dialog.h:
1588 * src/object-editor-bc-page.c:
1589 * src/object-editor-data-page.c:
1590 * src/object-editor-edit-page.c:
1591 * src/object-editor-fill-page.c:
1592 * src/object-editor-image-page.c:
1593 * src/object-editor-line-page.c:
1594 * src/object-editor-lsize-page.c:
1595 * src/object-editor-position-page.c:
1596 * src/object-editor-private.h:
1597 * src/object-editor-size-page.c:
1598 * src/object-editor-text-page.c:
1599 * src/object-editor.c:
1600 * src/object-editor.h:
1601 * src/pixbuf-cache.c:
1602 * src/pixbuf-cache.h:
1603 * src/prefs-dialog.c:
1604 * src/prefs-dialog.h:
1605 * src/prefs-model.c:
1606 * src/prefs-model.h:
1612 * src/template-designer.c:
1615 * src/ui-commands.c:
1616 * src/ui-commands.h:
1617 * src/ui-property-bar.c:
1618 * src/ui-property-bar.h:
1627 * src/view-barcode.c:
1628 * src/view-barcode.h:
1631 * src/view-ellipse.c:
1632 * src/view-ellipse.h:
1633 * src/view-highlight.c:
1634 * src/view-highlight.h:
1639 * src/view-object.c:
1640 * src/view-object.h:
1645 * src/wdgt-chain-button.c:
1646 * src/wdgt-chain-button.h:
1647 * src/wdgt-media-select.c:
1648 * src/wdgt-mini-preview.c:
1649 * src/wdgt-print-copies.c:
1650 * src/wdgt-print-copies.h:
1651 * src/wdgt-print-merge.c:
1652 * src/wdgt-print-merge.h:
1653 * src/wdgt-rotate-label.c:
1655 * src/xml-label-04.c:
1656 * src/xml-label-04.h:
1657 * src/xml-label-191.c:
1658 * src/xml-label-191.h:
1662 Assorted superficial cleanup. Including:
1663 - Use G_DEFINE_TYPE for all objects.
1664 - Reconcile style of all class initializer functions
1665 - Reconcile style of all finalize functions
1666 - Add emacs mode line to all source files
1668 2007-02-06 Jim Evins <evins@snaught.com>
1670 Assorted cleanup and removal of deprecated items.
1675 Removed annoying splash screen.
1676 * src/glabels-batch.c: (main):
1677 * src/glabels.c: (main):
1678 Converted from popt to GOption.
1679 * src/object-editor-shadow-page.c:
1680 (gl_object_editor_set_shadow_state):
1681 Removed deprecated method on GtkToggleButton.
1682 * src/ui-commands.c: (gl_ui_cmd_help_about):
1683 Removed dependency on libgnomui/qnome-url.h.
1684 * src/template-designer.c:
1685 Removed dependency on libgnome/gnome-program.h.
1688 2007-02-04 Jim Evins <evins@snaught.com>
1692 * src/prefs-model.c:
1693 * src/print.c: (draw_text_object):
1694 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1695 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1697 2007-02-04 Jim Evins <evins@snaught.com>
1699 * src/wdgt-mini-preview.c:
1700 * src/wdgt-mini-preview.h:
1701 Ported widget from GnomeCanvas to Cairo.
1703 2007-02-03 Jim Evins <evins@snaught.com>
1705 * data/glade/template-designer.glade:
1706 * src/template-designer.c:
1707 * src/template-designer.h:
1708 Ported GnomeDruid to GtkAssistant. Since libglade does not
1709 yet support the GtkAssistant and we derive directly from
1710 the Assistant, the pages are layed out in a GtkNotebook in
1711 the glade description -- we then append each page to the
1714 2007-01-25 Jim Evins <evins@snaught.com>
1716 * data/glade/object-editor.glade:
1717 Added dummy page to notebook, to prevent shadow page from
1718 becoming the default current page at creation.
1719 * src/view-box.c: (construct_properties_editor):
1720 * src/view-ellipse.c: (construct_properties_editor):
1721 * src/view-line.c: (construct_properties_editor):
1722 * src/view-text.c: (construct_properties_editor):
1723 Reconciled order of params.
1725 2007-01-19 Jim Evins <evins@snaught.com>
1727 * src/label-barcode.h:
1728 * src/label-object.c: (gl_label_object_set_font_weight),
1729 (gl_label_object_set_text_alignment),
1730 (gl_label_object_get_font_weight),
1731 (gl_label_object_get_text_alignment):
1732 * src/label-object.h:
1733 * src/label-text.c: (gl_label_text_instance_init), (copy),
1734 (get_size), (set_font_family), (set_font_weight),
1735 (set_text_alignment), (get_font_weight), (get_text_alignment):
1737 * src/object-editor-text-page.c:
1738 (gl_object_editor_prepare_text_page),
1739 (gl_object_editor_set_font_family),
1740 (gl_object_editor_set_font_weight),
1741 (gl_object_editor_get_font_weight),
1742 (gl_object_editor_set_text_alignment),
1743 (gl_object_editor_get_text_alignment),
1744 (gl_object_editor_set_text_color):
1745 * src/object-editor.h:
1746 * src/prefs-dialog.c: (construct_object_page),
1747 (update_object_page_from_prefs), (update_prefs_from_object_page):
1748 * src/prefs-model.c: (gl_prefs_model_save_settings),
1749 (gl_prefs_model_load_settings):
1750 * src/prefs-model.h:
1751 * src/print.c: (draw_text_object):
1752 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1753 (reset_to_default_properties), (update_text_properties),
1754 (font_bold_toggled_cb), (text_align_toggled_cb):
1756 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1757 (gl_util_weight_to_string), (gl_util_string_to_weight),
1758 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1760 * src/view-text.c: (update_object_from_editor_cb),
1761 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1762 * src/view.c: (gl_view_set_selection_text_alignment),
1763 (gl_view_set_default_text_alignment),
1764 (gl_view_get_default_text_alignment):
1766 * src/xml-label-04.c: (xml04_parse_text_props):
1767 * src/xml-label-191.c: (xml191_parse_text_props):
1768 * src/xml-label.c: (xml_parse_object_text),
1769 (xml_parse_toplevel_span), (xml_create_object_text),
1770 (xml_create_toplevel_span):
1771 Converted all model internals to Pango. GnomeFont remains in
1772 view until GnomeCanvas can be replaced with a cairo-based canvas.
1774 2007-01-17 Jim Evins <evins@snaught.com>
1780 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1781 (gl_wdgt_print_copies_construct):
1782 * src/wdgt-print-copies.h:
1783 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1784 (gl_wdgt_print_merge_construct):
1785 * src/wdgt-print-merge.h:
1786 Removed all remaining HIG wrapper widgets.
1788 2007-01-16 Jim Evins <evins@snaught.com>
1791 * src/print-dialog.c:
1792 * src/print-dialog.h:
1795 * src/template-designer.c: (print_test_cb):
1796 * src/ui-commands.c: (gl_ui_cmd_file_print):
1798 Renamed PrintDialog to PrintOp. Added constructor for batch
1800 * src/glabels-batch.c: (main):
1801 Converted to use new PrintOp object for printing.
1803 2007-01-15 Jim Evins <evins@snaught.com>
1805 * data/glade/Makefile.am:
1806 * data/glade/print-custom-widget.glade:
1807 * src/print-dialog.c:
1808 * src/print-dialog.h:
1811 * src/template-designer.c: (print_test_cb):
1812 * src/ui-commands.c: (gl_ui_cmd_file_print):
1813 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1814 * src/wdgt-print-merge.h:
1815 * src/window.c: (gl_window_init):
1817 Initial conversion to GtkPrintOperation.
1819 - Remove font and other libgnomeprint[ui] from elsewhere
1820 - Add batch initialization of print operation
1822 2007-01-08 Jim Evins <evins@snaught.com>
1824 Updated dependencies. Set version to 2.1.pre4cvs.
1826 2007-01-03 Jim Evins <evins@snaught.com>
1828 * src/recent-files/*
1829 Removed EggRecent stuff.
1835 * src/ui-commands.c:
1836 * src/ui-commands.h:
1838 Ported from EggRecent to GtkRecentManager.
1841 2007-01-02 Jim Evins <evins@snaught.com>
1844 * iec16022-0.2.1/BUGS:
1845 * iec16022-0.2.1/CHANGELOG:
1846 * iec16022-0.2.1/CREDITS:
1847 * iec16022-0.2.1/INSTALL:
1848 * iec16022-0.2.1/LICENSE:
1849 * iec16022-0.2.1/Makefile.am:
1850 * iec16022-0.2.1/Makefile.dist:
1851 * iec16022-0.2.1/README:
1852 * iec16022-0.2.1/README.glabels:
1853 * iec16022-0.2.1/TODO:
1854 * iec16022-0.2.1/iec16022.1:
1855 * iec16022-0.2.1/iec16022.c:
1856 * iec16022-0.2.1/iec16022ecc200.c:
1857 * iec16022-0.2.1/iec16022ecc200.h:
1858 * iec16022-0.2.1/image.c:
1859 * iec16022-0.2.1/image.h:
1860 * iec16022-0.2.1/reedsol.c:
1861 * iec16022-0.2.1/reedsol.h:
1862 * iec16022-0.2.1/test/testsuite-example.bin:
1863 * iec16022-0.2.1/test/testsuite-example.eps:
1864 * iec16022-0.2.1/test/testsuite-example.hex:
1865 * iec16022-0.2.1/test/testsuite-example.png:
1866 * iec16022-0.2.1/test/testsuite-example.text:
1867 * iec16022-0.2.1/test/testsuite.sh:
1868 Include modified copy of iec16022-0.2.1 to provide encoding
1869 support for datamatrix 2D barcodes.
1871 * src/bc-iec16022.c:
1872 * src/bc-iec16022.h:
1874 Added initial datamatrix 2D barcode backend to barcode code.
1877 Automatic updates to later versions of these files.
1879 2006-11-28 Jim Evins <evins@snaught.com>
1881 * data/templates/avery-iso-templates.xml:
1882 * data/templates/avery-us-templates.xml:
1883 * data/templates/categories.xml:
1884 * data/templates/misc-iso-templates.xml:
1885 * data/templates/misc-us-templates.xml:
1886 * data/templates/zweckform-iso-templates.xml:
1887 More categorization.
1889 2006-09-12 Jim Evins <evins@snaught.com>
1891 * data/dtd/glabels-2.0.dtd:
1892 * data/templates/Makefile.am:
1893 * data/templates/avery-iso-templates.xml:
1894 * data/templates/avery-other-templates.xml:
1895 * data/templates/avery-us-templates.xml:
1896 * data/templates/categories.xml:
1897 * data/templates/misc-iso-templates.xml:
1898 * data/templates/misc-other-templates.xml:
1899 * data/templates/zweckform-iso-templates.xml:
1900 * data/glade/Makefile.am:
1901 * data/glade/new-label-dialog.glade:
1902 * data/glade/wdgt-media-select.glade:
1903 * data/glade/wdgt-rotate-label.glade:
1904 * libglabels/Makefile.am:
1905 * libglabels/category.c:
1906 * libglabels/category.h:
1907 * libglabels/libglabels.h:
1908 * libglabels/paper.c:
1909 * libglabels/template.c:
1910 * libglabels/template.h:
1911 * libglabels/xml-category.c:
1912 * libglabels/xml-category.h:
1913 * libglabels/xml-template.c:
1914 Added support for category meta data.
1917 * src/mini-preview-pixbuf.c:
1918 * src/mini-preview-pixbuf.h:
1919 * src/new-label-dialog.c:
1920 * src/new-label-dialog.h:
1921 * src/wdgt-media-select.c:
1922 * src/wdgt-media-select.h:
1923 * src/wdgt-rotate-label.c:
1924 * src/wdgt-rotate-label.h:
1925 New "new label" dialog.
1927 2006-05-27 Jim Evins <evins@snaught.com>
1932 Preparation for 2.1.3.
1938 2006-05-22 Jim Evins <evins@snaught.com>
1940 * src/print.c: (draw_barcode_object):
1941 Don't print "Invalid barcode data" if data field is empty. Patch provided
1942 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1944 Added acknowledgment for above patch.
1945 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1946 * src/bc-postnet.c: (postnet_code):
1947 Removed "Invalid barcode data" warnings from stderr.
1948 * src/view-barcode.c: (draw_barcode):
1949 Draw box around barcode extent if data empty or invalid. Center a
1950 message whether the data is empty or invalid in box.
1952 2006-05-22 Jim Evins <evins@snaught.com>
1954 * src/print.c: (draw_text_object):
1955 Check shadow state when printing text.
1957 2006-05-20 Jim Evins <evins@snaught.com>
1959 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1960 (gl_ui_cmd_view_markup_toggle):
1961 Fixed crash when grid or markup have been toggled off during
1962 a previous session. Bug #1434324.
1964 2006-04-05 Jim Evins <evins@snaught.com>
1966 * src/object-editor.c: (gl_object_editor_set_key_names):
1967 Fixed potential crash when freeing empty key list.
1969 2006-03-11 Jim Evins <evins@snaught.com>
1971 * src/print.c: (draw_text_object):
1972 * src/view-text.c: (gl_view_text_new),
1973 (construct_properties_editor), (update_object_from_editor_cb),
1974 (update_editor_from_object_cb), (update_editor_from_label_cb),
1976 Added shadow support to text object.
1978 2006-02-18 Jim Evins <evins@snaught.com>
1980 * src/print.c: (draw_line_object):
1981 * src/view-line.c: (gl_view_line_new),
1982 (construct_properties_editor), (update_canvas_item_from_object_cb),
1983 (update_object_from_editor_cb), (update_editor_from_object_cb),
1984 (update_editor_from_label_cb):
1985 Added shadow support to line object.
1987 2006-02-16 Jim Evins <evins@snaught.com>
1991 * src/print.c: (draw_ellipse_object):
1992 * src/view-ellipse.c: (gl_view_ellipse_new),
1993 (construct_properties_editor), (update_canvas_item_from_object_cb),
1994 (update_object_from_editor_cb), (update_editor_from_object_cb),
1995 (update_editor_from_label_cb):
1996 Added shadow support to ellipse object.
1998 2006-02-15 Jim Evins <evins@snaught.com>
2000 * src/label-object.c:
2001 Changed default shadow offsets.
2002 * src/view-box.c: (gl_view_box_new):
2003 Simplified gl_view_box_new() so that is does not duplicate code
2004 in update_canvas_item_from_object_cb().
2006 2006-02-07 Jim Evins <evins@snaught.com>
2008 * data/glade/object-editor.glade:
2009 Fixed color groups of color combos.
2011 Added default shadow color.
2012 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2013 Added shadow color group.
2015 2006-02-06 Jim Evins <evins@snaught.com>
2017 * src/object-editor-shadow-page.c:
2018 Forgot to add this file.
2019 * src/view-box.c: (gl_view_box_new),
2020 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2021 Update limits on shadow offset spinbuttons.
2023 2006-01-19 Jim Evins <evins@snaught.com>
2025 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2026 Initialize key_list to NULL.
2027 * data/glade/object-editor.glade:
2031 * src/label-object.c:
2032 * src/label-object.h:
2033 * src/object-editor-fill-page.c:
2034 * src/object-editor-private.h:
2035 * src/object-editor.c:
2036 * src/object-editor.h:
2038 Created infrastructure for shadow support.
2041 Initial shadow support in box object only.
2043 2006-01-05 Jim Evins <evins@snaught.com>
2045 * src/merge-properties-dialog.c: (src_changed_cb):
2046 Be extra paranoid before calling strcmp().
2047 * src/merge.c: (gl_merge_set_src):
2048 Don't make (merge == NULL) a critical error.
2050 2005-12-22 Jim Evins <evins@snaught.com>
2052 * src/glabels-batch.c: (main):
2053 Compile warning free with gcc 4.0.
2055 2005-12-21 Jim Evins <evins@snaught.com>
2058 Updated example RPM spec file.
2060 2005-12-21 Jim Evins <evins@snaught.com>
2064 Preparation for 2.1.2.
2066 2005-12-20 Jim Evins <evins@snaught.com>
2069 Define unique G_LOG_DOMAIN for glabels.
2070 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2071 * src/warning-handler.c: (gl_warning_handler_init),
2073 Register for G_LOG_DOMAIN instead of NULL.
2075 2005-12-10 Jim Evins <evins@snaught.com>
2077 * src/merge-evolution.c:
2078 * src/merge-vcard.c:
2081 2005-12-08 Jim Evins <evins@snaught.com>
2083 * libglabels/paper.c: (read_paper_files_from_dir):
2084 * libglabels/template.c: (gl_template_register),
2085 (read_template_files_from_dir):
2086 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2087 (gl_xml_paper_parse_papers_doc):
2088 * libglabels/xml-template.c:
2089 (gl_xml_template_read_templates_from_file),
2090 (gl_xml_template_parse_templates_doc),
2091 (gl_xml_template_parse_template_node),
2092 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2093 (xml_parse_label_cd_node), (xml_parse_layout_node),
2094 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2095 (xml_parse_markup_circle_node),
2096 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2097 * libglabels/xml.c: (gl_xml_get_prop_length):
2098 Re-classified g_warnings to g_messages.
2100 * src/glabels.c: (main):
2101 * src/warning-handler.c: (gl_warning_handler_init),
2103 * src/warning-handler.h:
2104 Added warning message handler to make sure the user is
2105 presented with appropriate non-fatal errors.
2106 * src/critical-error-handler.c: (critical_error_handler):
2107 Changed exit to abort.
2108 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2109 * src/bc-postnet.c: (postnet_code):
2110 * src/bc.c: (id_to_index), (name_to_index):
2111 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2112 * src/object-editor.c: (gl_object_notebook_construct_valist):
2113 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2114 * src/prefs.c: (gl_prefs_get_units_per_point),
2115 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2116 (gl_prefs_get_units_string):
2117 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2118 * src/splash.c: (gl_splash):
2119 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2120 * src/view-highlight.c: (gl_view_highlight_new),
2121 (highlight_resizable_box_construct), (object_changed_cb),
2122 (view_scale_changed_cb):
2123 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2124 (draw_markup_layer), (draw_markup_margin),
2125 (gl_view_object_create_mode), (canvas_event),
2126 (selection_received_cb):
2127 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2128 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2129 * src/xml-label-04.c: (gl_xml_label_04_parse),
2130 (xml04_parse_media_description), (xml04_parse_text_props),
2131 (xml04_parse_barcode_props):
2132 * src/xml-label-191.c: (gl_xml_label_191_parse),
2133 (xml191_parse_objects), (xml191_parse_object),
2134 (xml191_parse_text_props), (xml191_parse_image_props),
2135 (xml191_parse_barcode_props), (xml191_parse_data),
2136 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2137 (xml191_parse_markup):
2138 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2139 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2140 (xml_parse_object_text), (xml_parse_object_image),
2141 (xml_parse_object_barcode), (xml_parse_data),
2142 (xml_parse_toplevel_span), (gl_xml_label_save),
2143 (xml_create_objects):
2144 Re-classified g_warnings to g_messages.
2145 * src/merge-evolution.c: (gl_merge_evolution_open),
2146 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2147 Use g_warning to output errors encountered while
2148 communicating with the evolution data server
2149 instead of embedding them in the data.
2151 2005-12-08 Jim Evins <evins@snaught.com>
2153 * libglabels/libglabels-private.h:
2155 * libglabels/paper.c: (read_papers):
2156 * libglabels/template.c: (read_templates):
2157 Made appropriate warnings critical.
2159 * src/critical-error-handler.h:
2160 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2161 (critical_error_handler):
2162 Created critical error handler.
2163 * src/glabels.c: (main):
2164 Register critical error handler.
2165 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2166 * src/object-editor.c: (gl_object_editor_init):
2167 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2168 * src/template-designer.c: (gl_template_designer_init):
2169 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2170 Made appropriate warnings critical.
2172 2005-11-27 Jim Evins <evins@snaught.com>
2174 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2175 (gl_merge_evolution_get_primary_key),
2176 (gl_merge_evolution_get_record):
2177 Don't create "record_key" pseudo-key. Don't populate
2178 fields with null data.
2180 2005-11-25 Jim Evins <evins@snaught.com>
2182 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2183 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2184 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2186 Query EDS for all supported fields. Patch provided by
2187 Austin Henry <ahenry@users.sourceforge.net>.
2189 2005-10-29 Jim Evins <evins@snaught.com>
2191 * src/glabels.c: (main):
2192 * src/label-barcode.c: (gl_label_barcode_finalize):
2193 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2194 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2195 * src/object-editor.c: (gl_object_editor_finalize):
2196 Another pass at valgrinding -- plugged several memory leaks.
2197 * src/view-text.c: (gl_view_text_new),
2198 (update_canvas_item_from_object_cb), (draw_hacktext):
2199 Commented out artifacts of edit-in-place code.
2201 2005-10-28 Jim Evins <evins@snaught.com>
2203 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2204 Fixed use of uninitialized variable. Caught by
2205 d binderman <dcb314@hotmail.com>.
2207 2005-10-27 Jim Evins <evins@snaught.com>
2209 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2210 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2212 Additional cleanup of EDS and vcard backends. Provided by
2213 Austin Henry <ahenry@users.sourceforge.net>.
2215 2005-10-24 Jim Evins <evins@snaught.com>
2219 * src/merge-evolution.c:
2220 * src/merge-evolution.h:
2221 * src/merge-init.c: (gl_merge_init):
2222 * src/merge-properties-dialog.c: (type_changed_cb):
2223 * src/merge-vcard.c:
2224 * src/merge-vcard.h:
2225 * src/ui-commands.c: (gl_ui_cmd_help_about):
2226 Added Evolution Data Server and VCard merge backends. Original patch
2227 provided by Austin Henry <ahenry@users.sourceforge.net>.
2229 Only support EDS and VCard backends if libebook is installed. Allow
2230 user to disable support, even if installed.
2232 2005-10-24 Jim Evins <evins@snaught.com>
2235 * data/templates/avery-iso-templates.xml:
2236 * data/templates/avery-us-templates.xml:
2237 * data/templates/misc-iso-templates.xml:
2238 * data/templates/zweckform-iso-templates.xml:
2239 Collected all template changes and submissions since last
2242 2005-10-23 Jim Evins <evins@snaught.com>
2245 * data/mime/Makefile.am:
2246 Added configure options to disable update-mime-database and
2247 update-desktop-database as part of the install. Patch
2248 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2250 2005-10-23 Jim Evins <evins@snaught.com>
2253 * libglabels/xml.c: (gl_xml_get_prop_string),
2254 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2255 (gl_xml_is_node), (gl_xml_get_node_content):
2256 Added new XML utility functions.
2257 * libglabels/xml-paper.c:
2258 * libglabels/xml-template.c:
2260 Cleanup by using new xml utilities created above.
2261 * libglabels/paper.c: (gl_paper_free):
2262 * src/file.c: (new_response):
2263 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2264 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2265 (gl_pixbuf_cache_get_pixbuf):
2266 * src/ui-property-bar.c:
2267 (gl_ui_property_bar_construct_color_combo):
2268 * src/view-highlight.c: (gl_view_highlight_finalize):
2269 * src/view-image.c: (update_object_from_editor_cb):
2270 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2271 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2272 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2273 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2274 (draw_markup_margin_round), (draw_markup_margin_cd),
2275 (draw_markup_margin_cd_bc):
2276 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2277 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2278 Plugged various memory leaks located with valgrind.
2279 * src/view-image.c: (update_canvas_item_from_object_cb):
2280 Don't allow a width or height of zero when drawing pixbuf.
2282 2005-10-22 Jim Evins <evins@snaught.com>
2284 * libglabels/xml-paper.c:
2285 * libglabels/xml-template.c:
2288 * src/bc-gnubarcode.c:
2289 * src/canvas-hacktext.c:
2291 * src/object-editor-data-page.c:
2292 * src/print-dialog.c:
2295 * src/template-designer.c:
2297 * src/ui-property-bar.c:
2299 * src/view-barcode.c:
2301 * src/view-ellipse.c:
2306 * src/wdgt-media-select.c:
2307 * src/xml-label-04.c:
2308 * src/xml-label-191.c:
2310 Modified to compile warning free with gcc-4.0. Mostly
2311 casting to change signedness of characters. Did not
2312 attack gnu-barcode library yet.
2314 2005-10-22 Jim Evins <evins@snaught.com>
2316 * src/glabels.c: (main):
2317 * src/splash.c: (gl_splash):
2318 Removed some small memory leaks.
2322 2005-09-19 Jim Evins <evins@snaught.com>
2324 * data/glade/property-bar.glade:
2325 Remove items from font_family_combo. This prevents the
2326 double entry after adding text model and list of fonts.
2327 * src/ui-property-bar.c: (reset_to_default_properties):
2328 Free font_family_list.
2330 2005-07-01 Jim Evins <evins@snaught.com>
2333 Updated italian translation (Daniele Medri)
2335 2005-06-26 Jim Evins <evins@snaught.com>
2337 * docs/libglabels/libglabels-decl-list.txt:
2338 Somehow never got checked in before.
2339 * docs/libglabels/libglabels.types:
2340 Removed -- don't need it afterall.
2342 2005-06-20 Jim Evins <evins@snaught.com>
2345 Final prep for 2.1.1 release.
2347 2005-06-20 Jim Evins <evins@snaught.com>
2350 Final preps for 2.1.1 release.
2351 * docs/libglabels/libglabels.types:
2352 Somehow never got checked in before.
2354 Bring up-to-date with recent reorg of ui code.
2357 2005-06-19 Jim Evins <evins@snaught.com>
2359 * src/template-designer.c: (construct_layout_page):
2360 Removed attempt to match background color of mini preview widget to
2363 2005-06-17 Jim Evins <evins@snaught.com>
2365 * help/C/figures/merge-ex2-4.png:
2366 * help/C/glabels.xml:
2367 Fixed spelling error.
2369 2005-06-13 Jim Evins <evins@snaught.com>
2371 * help/C/figures/merge-ex1-1.png:
2372 * help/C/figures/merge-ex1-2.png:
2373 * help/C/figures/merge-ex1-3.png:
2374 * help/C/figures/merge-ex1-4.png:
2375 * help/C/figures/merge-ex2-1.png:
2376 * help/C/figures/merge-ex2-2.png:
2377 * help/C/figures/merge-ex2-3.png:
2378 * help/C/figures/merge-ex2-4.png:
2379 Added figures for document merge tutorial.
2380 * help/C/glabels.xml:
2381 Added document merge tutorial.
2383 2005-05-19 Jim Evins <evins@snaught.com>
2385 * data/glade/merge-properties-dialog.glade:
2386 Fixed irregular spacing.
2387 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2388 (gl_merge_properties_dialog_construct):
2389 Set outer padding and remove separator.
2391 2005-05-18 Jim Evins <evins@snaught.com>
2395 Removed glHigDialog class.
2396 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2397 (gl_file_properties), (create_properties_dialog_widgets):
2398 * src/prefs-dialog.h:
2399 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2400 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2401 * src/print-dialog.h:
2402 * src/prefs-dialog.h:
2403 * src/print-dialog.c: (gl_print_dialog_get_type),
2404 (gl_print_dialog_init), (gl_print_dialog_construct):
2405 Replaced all instances of glHigDialog with GtkDialog.
2407 2005-05-17 Jim Evins <evins@snaught.com>
2411 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2412 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2413 (save_as_response), (gl_file_close):
2414 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2416 2005-05-15 Jim Evins <evins@snaught.com>
2418 * src/ui-commands.h:
2426 A little code reformatting -- no functional changes.
2428 2005-05-14 Jim Evins <evins@snaught.com>
2431 Removed obsolete macros.
2433 Added marshalling template to support new view signal: "context_menu_activate."
2435 * src/view.c: (gl_view_class_init), (gl_view_construct),
2436 (canvas_event_arrow_mode):
2437 - Removed hardcoded context menus and added new signal "context_menu_activate"
2438 to push this up to the uimanager.
2439 - Removed merge properties and print dialogs so that they can be managed with
2440 the window by the uimanager.
2441 * src/merge-properties-dialog.h:
2442 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2443 (gl_merge_properties_dialog_construct):
2444 Changed calling convention of gl_merge_properties_dialog_new() to use
2445 glLabel and GtkWindow instead of view to make more consistent with other
2447 * src/print-dialog.h:
2448 * src/print-dialog.c: (gl_print_dialog_new),
2449 (gl_print_dialog_construct):
2450 Removed last artifact of libbonoboui.
2451 * src/ui-commands.c: (gl_ui_cmd_file_print),
2452 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2453 Reconciled style for launching dialogs.
2454 * src/ui.c: (gl_ui_new):
2455 Added context menus to ui manager.
2456 * src/view-object.c: (item_event_arrow_mode):
2457 No longer try to select objects with right-click.
2459 * src/window.c: (gl_window_init), (gl_window_set_label),
2460 (context_menu_activate_cb):
2461 Context menus and all dialogs are now managed in a consistent way in window
2464 2005-05-11 Jim Evins <evins@snaught.com>
2467 * src/window.c: (gl_window_init), (gl_window_destroy):
2468 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2469 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2470 Moved management of recent_view back from window.c to ui.c -- it just feels
2473 2005-05-10 Jim Evins <evins@snaught.com>
2476 * src/window.c: (gl_window_init):
2478 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2479 (menu_item_select_cb), (menu_item_deselect_cb):
2480 Added GtkStatusbar which displays menu tooltips.
2482 2005-05-09 Jim Evins <evins@snaught.com>
2484 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2489 Removed dependencies on libbonoboui.
2491 * data/ui/Makefile.am:
2492 * data/ui/glabels-ui.xml:
2493 Removed data/ui directory.
2494 * data/glade/Makefile.am:
2495 * data/property-bar.glade:
2496 Added glade description of property-bar for new libglade implementation
2503 * src/ui-commands.h:
2504 * src/ui-commands.c:
2505 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2506 since the distinction between "commands" and "tools" is no longer that clear.
2509 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2510 no longer has knowledge of eggRecent*.
2511 * src/glabels.c: (main):
2512 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2514 * src/object-editor.c: (gl_object_editor_init):
2515 Make sure notebook does not respond to a "show_all" on the parent.
2516 * src/recent-files/Makefile.am:
2517 * src/recent-files/*.[ch]
2518 Updated from latest version of libegg which now has a view based on
2519 GtkUIManager. Removed unused bonobo and gtk views.
2520 * src/ui-property-bar.h:
2521 * src/ui-property-bar.c:
2522 New implementation based on libglade.
2525 Sidebar is now simply a GtkWidget and does not expect to be a part of
2526 a libbonoboui interface.
2531 Converted for use with GtkUIManager.
2534 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2535 to create menus and toolbars.
2537 2005-04-25 Jim Evins <evins@snaught.com>
2539 * data/templates/misc-iso-templates.xml:
2540 Added Fellows 04715 template provided by Steve Saxon.
2542 Updated acknowledgement for above.
2544 2005-04-23 Jim Evins <evins@snaught.com>
2546 * src/util.c: (gl_util_combo_box_set_strings):
2547 Make sure to clear model before loading a new list of strings.
2548 * src/wdgt-media-select.h:
2549 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2550 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2551 (template_combo_changed_cb), (prefs_changed_cb),
2552 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2553 (gl_wdgt_media_select_get_page_size),
2554 (gl_wdgt_media_select_set_page_size):
2555 Replaced the deprecated GtkCombo widget with the new
2558 2005-04-21 Jim Evins <evins@snaught.com>
2560 * data/glade/template-designer.glade:
2561 * src/template-designer.c: (construct_pg_size_page),
2562 (pg_size_page_changed_cb), (build_template):
2563 Replaced the deprecated GtkCombo widget with the new
2566 2005-04-20 Jim Evins <evins@snaught.com>
2568 * data/glade/prefs-dialog.glade:
2569 * src/prefs-dialog.c: (construct_object_page),
2570 (update_object_page_from_prefs), (update_prefs_from_object_page):
2571 Replaced the deprecated GtkCombo widget with the new
2574 2005-04-19 Jim Evins <evins@snaught.com>
2576 * data/glade/object-editor.glade:
2577 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2578 (style_changed_cb), (gl_object_editor_set_bc_style),
2579 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2580 (gl_object_editor_get_bc_color):
2581 * src/object-editor-data-page.c:
2582 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2583 (gl_object_editor_get_data):
2584 * src/object-editor-edit-page.c:
2585 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2586 * src/object-editor-fill-page.c:
2587 (gl_object_editor_prepare_fill_page),
2588 (gl_object_editor_set_fill_color),
2589 (gl_object_editor_get_fill_color):
2590 * src/object-editor-image-page.c:
2591 (gl_object_editor_prepare_image_page),
2592 (gl_object_editor_set_image), (gl_object_editor_get_image):
2593 * src/object-editor-line-page.c:
2594 (gl_object_editor_prepare_line_page),
2595 (gl_object_editor_set_line_color),
2596 (gl_object_editor_get_line_color):
2597 * src/object-editor-private.h:
2598 * src/object-editor-text-page.c:
2599 (gl_object_editor_prepare_text_page),
2600 (gl_object_editor_set_font_family),
2601 (gl_object_editor_get_font_family),
2602 (gl_object_editor_set_text_color),
2603 (gl_object_editor_get_text_color):
2604 * src/object-editor.c: (gl_object_editor_set_key_names):
2606 In the object editor: replaced all instances of the deprecated
2607 GtkCombo widget with the new GtkComboBox.
2609 2005-04-18 Jim Evins <evins@snaught.com>
2612 Neglected to save this one in previous checkin to support
2615 2005-04-17 Jim Evins <evins@snaught.com>
2617 * libglabels/libglabels-private.h:
2618 * libglabels/paper.c:
2619 * libglabels/paper.h:
2620 * libglabels/template.c:
2621 * libglabels/template.h:
2622 * libglabels/xml-paper.c:
2623 * libglabels/xml-paper.h:
2624 * libglabels/xml-template.c:
2629 * src/bc-gnubarcode.c:
2640 * src/label-barcode.c:
2642 * src/label-ellipse.c:
2643 * src/label-image.c:
2644 * src/label-image.h:
2646 * src/label-object.c:
2650 * src/merge-properties-dialog.c:
2651 * src/object-editor-bc-page.c:
2652 * src/object-editor-data-page.c:
2653 * src/object-editor-edit-page.c:
2654 * src/object-editor-fill-page.c:
2655 * src/object-editor-image-page.c:
2656 * src/object-editor-line-page.c:
2657 * src/object-editor-lsize-page.c:
2658 * src/object-editor-position-page.c:
2659 * src/object-editor-private.h:
2660 * src/object-editor-size-page.c:
2661 * src/object-editor-text-page.c:
2662 * src/object-editor.c:
2663 * src/object-editor.h:
2664 * src/pixbuf-cache.h:
2665 * src/prefs-dialog.c:
2666 * src/prefs-dialog.h:
2667 * src/prefs-model.c:
2668 * src/prefs-model.h:
2670 * src/print-dialog.c:
2671 * src/print-dialog.h:
2679 * src/template-designer.c:
2680 * src/template-designer.h:
2683 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2689 * src/view-barcode.c:
2691 * src/view-ellipse.c:
2692 * src/view-highlight.c:
2693 * src/view-highlight.h:
2696 * src/view-object.c:
2697 * src/view-object.h:
2701 * src/wdgt-chain-button.c:
2702 * src/wdgt-media-select.c:
2703 * src/wdgt-media-select.h:
2704 * src/wdgt-mini-preview.c:
2705 * src/wdgt-mini-preview.h:
2706 * src/wdgt-print-copies.c:
2707 * src/wdgt-print-copies.h:
2708 * src/wdgt-print-merge.c:
2709 * src/wdgt-print-merge.h:
2710 * src/wdgt-rotate-label.c:
2711 * src/wdgt-rotate-label.h:
2714 * src/xml-label-04.c:
2715 * src/xml-label-191.c:
2717 Cleanup of header files:
2718 - all header files are now stand-alone, verified by including
2719 first in corresponding "c" files
2720 - replaced blanket includes of gnome, gtk, and glib with
2723 2005-04-16 Jim Evins <evins@snaught.com>
2725 * data/glade/Makefile.am:
2726 * data/glade/merge-properties-dialog.glade:
2727 Added merge properties dialog glade description file.
2728 * src/merge-properties-dialog.h:
2729 * src/merge-properties-dialog.c:
2730 (gl_merge_properties_dialog_get_type),
2731 (gl_merge_properties_dialog_init),
2732 (gl_merge_properties_dialog_finalize),
2733 (gl_merge_properties_dialog_new),
2734 (gl_merge_properties_dialog_construct), (type_changed_cb),
2735 (src_changed_cb), (response_cb), (load_tree),
2736 (record_select_toggled_cb), (select_all_button_clicked_cb),
2737 (unselect_all_button_clicked_cb):
2738 Modified merge properties dialog to use libglade. Added
2739 "select all" and "unselect all" buttons.
2740 * src/merge-text.c: (parse_line):
2741 Handle empty lines better.
2742 * src/merge.c: (gl_merge_eval_key):
2743 Evaluate the key whether the record is selected or not.
2745 * src/util.c: (gl_util_combo_box_add_text_model):
2746 Since libglade does not use the gtk_combo_box_new_text()
2747 constructor for GtkComboBoxes, a utility function was created
2748 to add an appropriate text model to a GtkComboBox.
2749 * src/view.c: (gl_view_edit_merge_props):
2750 Removed unnecessary "show all's".
2752 2005-04-15 Jim Evins <evins@snaught.com>
2755 Updated russian translation (Vitaly Lipatov)
2756 * data/templates/misc-iso-templates.xml:
2757 Added templates for russian business cards provided by Vitaly Lipatov.
2759 Updated acknowledgements for above.
2761 2005-04-15 Jim Evins <evins@snaught.com>
2763 * data/templates/avery-us-templates.xml:
2764 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2765 * data/templates/misc-iso-templates.xml:
2766 Added Ryman standard CD/DVD template, provided by Dan Clark.
2768 Added acknowledgements for above.
2770 2005-04-10 Jim Evins <evins@snaught.com>
2772 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2773 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2774 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2775 (xml_parse_label_cd_node), (xml_parse_alias_node):
2776 * libglabels/xml.c: (gl_xml_get_prop_double),
2777 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2778 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2779 * src/xml-label-04.c: (xml04_parse_media_description),
2780 (xml04_parse_text_props), (xml04_parse_barcode_props),
2781 (xml04_parse_merge_properties):
2782 * src/xml-label-191.c: (xml191_parse_object),
2783 (xml191_parse_text_props), (xml191_parse_barcode_props),
2784 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2785 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2786 (xml191_parse_alias):
2787 * src/xml-label.c: (xml_parse_object_text),
2788 (xml_parse_object_barcode), (xml_parse_merge_fields),
2789 (xml_parse_pixdata), (xml_parse_toplevel_span):
2790 Make sure to use xmlFree for anything obtained from libxml
2791 in case libxml and glib use different memory management
2794 2005-04-08 Jim Evins <evins@snaught.com>
2797 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2798 (gl_util_combo_box_set_active_text):
2799 Added utility functions to simplify working with GtkComboBox
2801 * src/ui-property-bar.h:
2802 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2803 (reset_to_default_properties), (update_text_properties),
2804 (font_family_changed_cb):
2805 Replaced deprecated GtkCombo with GtkComboBox.
2808 2005-04-03 Jim Evins <evins@snaught.com>
2811 * src/wdgt-image-select.h:
2812 * src/wdgt-image-select.c:
2813 Removed obsolete wdgt-image-select.[ch] files.
2814 * libglabels/paper.c: (gl_paper_dup):
2815 Fixed rename of parameter introduced during documentation
2817 * data/glade/object-editor.glade:
2818 * src/object-editor-image-page.c:
2819 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2820 (gl_object_editor_set_image), (gl_object_editor_get_image),
2821 (update_preview_cb), (add_image_filters_to_chooser):
2822 * src/object-editor-private.h:
2823 Replaced deprecated GnomePixmapEntry with
2824 GtkFileChooserButton.
2826 2005-04-02 Jim Evins <evins@snaught.com>
2828 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2829 (mygal_combo_box_popup_hide_unconditional),
2830 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2831 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2832 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2833 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2834 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2835 Renamed all internal gtk_combo functions to mygal_combo
2836 to prevent namespace confusion.
2838 2005-04-02 Jim Evins <evins@snaught.com>
2840 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2841 (cust_color_set), (color_palette_setup):
2842 * src/mygal/color-palette.h:
2843 Replaced deprecated GnomeColorPicker with GtkColorButton.
2845 2005-04-02 Jim Evins <evins@snaught.com>
2847 * docs/libglabels/libglabels-sections.txt:
2848 * docs/libglabels/libglabels-undocumented.txt:
2849 * docs/libglabels/tmpl/enums.sgml:
2850 * docs/libglabels/tmpl/paper.sgml:
2851 * docs/libglabels/tmpl/xml-paper.sgml:
2852 * docs/libglabels/tmpl/xml-template.sgml:
2853 * libglabels/enums.h:
2854 * libglabels/paper.c: (gl_paper_dup):
2855 * libglabels/paper.h:
2856 * libglabels/xml-paper.c:
2857 * libglabels/xml-template.c:
2858 More documentation updates for libglabels.
2860 2005-03-23 Jim Evins <evins@snaught.com>
2863 Automatically updated.
2868 * docs/libglabels/Makefile.am:
2869 * docs/libglabels/libglabels-docs.sgml:
2870 * docs/libglabels/libglabels-sections.txt:
2871 * docs/libglabels/libglabels-undocumented.txt:
2872 * docs/libglabels/tmpl/enums.sgml:
2873 * docs/libglabels/tmpl/libglabels-unused.sgml:
2874 * docs/libglabels/tmpl/libglabels.sgml:
2875 * docs/libglabels/tmpl/paper.sgml:
2876 * docs/libglabels/tmpl/template.sgml:
2877 * docs/libglabels/tmpl/xml-paper.sgml:
2878 * docs/libglabels/tmpl/xml-template.sgml:
2879 * docs/libglabels/tmpl/xml.sgml:
2880 Added basic gtk-doc stuff to support documenting libglabels
2883 Updated function comments with gtk-doc markup.
2887 2005-03-22 Jim Evins <evins@snaught.com>
2889 Since the development version now requires gtk-2.6/gnome-2.10, I
2890 have made a first pass at removing deprecations.
2893 * libglabels/Makefile.am:
2895 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2896 Also removed all remnants of HAVE_FILECHOOSER.
2897 * src/file.c: (gl_file_open_real):
2898 Removed code for old GtkFileSelection.
2899 * libglabels/libglabels-private.h:
2900 * libglabels/paper.c:
2901 * libglabels/template.c:
2902 * libglabels/xml-paper.c:
2903 * libglabels/xml-template.c:
2907 * src/glabels-batch.c:
2911 * src/merge-properties-dialog.c:
2913 * src/object-editor.c:
2914 * src/prefs-dialog.c:
2916 * src/print-dialog.c:
2919 * src/template-designer.c:
2920 * src/ui-property-bar.c:
2922 * src/view-barcode.c:
2924 * src/view-ellipse.c:
2929 * src/wdgt-image-select.c:
2930 * src/wdgt-media-select.c:
2931 * src/wdgt-print-copies.c:
2932 * src/wdgt-print-merge.c:
2933 * src/wdgt-rotate-label.c:
2935 * src/xml-label-04.c:
2936 * src/xml-label-191.c:
2938 Added '#include <glib/gi18n.h>" where needed.
2939 Removed any unused '#include <gnome.h>"s.
2941 2005-03-22 Jim Evins <evins@snaught.com>
2943 * src/commands.c: (activate_url), (gl_cmd_help_about):
2944 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2945 development version of glabels now depends on GTK 2.6 and
2948 Updated library dependencies.
2950 2005-02-28 Jim Evins <evins@snaught.com>
2953 * data/templates/misc-iso-templates.xml:
2954 Added 'Ednet 45021' template provided by Ali Akcaagac
2957 2005-02-14 Jim Evins <evins@snaught.com>
2959 * data/templates/avery-us-templates.xml:
2960 Updated templates to use inches instead of points.
2961 * src/print-dialog.c: (printer_page_new):
2962 Changed packing style when adding printer selector widget. This fixes
2965 2005-02-13 Jim Evins <evins@snaught.com>
2969 Updated spanish translations. (sergio rivadero)
2971 2005-02-05 Jim Evins <evins@snaught.com>
2973 Some cleanup to libglabels.
2976 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2977 * libglabels/libglabels.pc.in
2979 * libglabels/enums.h
2980 Created. Currently only contains glUnitsType which provides enumerations
2981 for all possible units of distance.
2982 * libglabels/Makefile.am:
2983 Incorporated new files enums.h and libglabels.pc[.in].
2984 * libglabels/libglabels.h:
2986 * libglabels/template.h:
2987 * libglabels/template.c: (gl_template_layout_new):
2988 Changed parameters nx and ny to gint from gdouble.
2990 * libglabels/xml.c: (gl_xml_get_prop_length),
2991 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2992 Added support for different output units.
2993 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2994 (update_prefs_from_locale_page):
2995 * src/prefs-model.c: (string_to_units), (units_to_string):
2996 * src/prefs-model.h:
2997 * src/prefs.c: (gl_prefs_get_units_per_point),
2998 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2999 (gl_prefs_get_units_string):
3001 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3002 Reconciled all length enumerations with the new enumerations provided
3003 in libglabels/enums.h.
3005 2005-02-03 Jim Evins <evins@snaught.com>
3008 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3010 Updated Italian translations. (Daniele Medri)
3012 Updated credits to reflect above translations.
3015 2005-01-22 Jim Evins <evins@snaught.com>
3020 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3022 Final prep for 2.1.0.
3024 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3026 Added '--remove-original' flag to desktop-file-install, so that there is
3027 only one menu entry.
3029 2005-01-20 Jim Evins <evins@snaught.com>
3031 * data/glade/object-editor.glade:
3032 - Font family entry should not be editable.
3033 - img_key_entry should have sensitivity=YES, so that it follows the
3034 sensitivity of img_key_combo.
3036 2005-01-19 Jim Evins <evins@snaught.com>
3039 Give credit to Frederic Ruaudel for the color merge patches.
3041 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3043 Add support to merge color for all other color attribute (Feature
3044 Requests item #1008635. If the data is invalid, the color used is transparent
3045 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3046 by gdk_color_parse() these include name for a color from rgb.txt, such as
3047 DarkSlateGray, or a hex specification such as #305050. File format has been
3048 changed but backward compatibility is preserved for all format. For
3049 box/ellipse/line, keep attribute "line_color" for static color or replace by
3050 "line_color_field" for merge data. For text/barcode objects, keep attribute
3051 "color" for static color or replace by "color_field" for merge data. In the
3052 edit canvas window, merged color are represented by half-transparent black
3055 * data/dtd/glabels-2.0.dtd:
3056 Added line_color_field to line_attrs. Added color_field to
3057 Object-barcode and Span.
3058 * data/glade/object-editor.glade:
3059 Modify the layout of the editor to add merge possibility to color options
3061 Fix a copy/paste error in a comment
3063 Add default color for merge color representation in the editor canvas.
3064 * src/label-barcode.c:
3065 * src/object-editor-bc-page.c:
3066 * src/view-barcode.c:
3067 Add merge color support for barcode color.
3070 Add merge color support for box border color.
3071 * src/label-ellipse.c:
3072 * src/view-ellipse.c:
3073 Add merge color support for ellipse border color.
3076 Add merge color support for line color.
3077 * src/label-object.c:
3078 * src/label-object.h:
3079 * src/object-editor.c:
3080 * src/object-editor.h:
3081 * src/ui-property-bar.c:
3084 * src/xml-label-04.c:
3085 * src/xml-label-191.c:
3086 Add support for merging to other color attribute.
3088 * src/object-editor-text-page.c:
3090 Add merge color support for text color.
3091 * src/object-editor-fill-page.c:
3092 Change a blocked handler that didn't match the good widget. Fix the type
3093 of some debug message.
3094 * src/object-editor-line-page.c:
3095 Add merging support to line color option.
3096 * src/object-editor-private.h:
3097 Add variables for new widget.
3099 Modify the draw functions to get merge data if needed.
3101 Change the default size of the window in order to see all widget in the
3102 "text style tab" of the editor.
3104 Modify the parser to record/retreive the field value for objects that need
3105 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3106 static color or replace by "line_color_field" for merge data. For
3107 text/barcode objects, keep attribute "color" for static color or replace
3108 by "color_field" for merge data.
3110 2005-01-17 Jim Evins <evins@snaught.com>
3112 * src/view.c: (screen_changed_cb):
3113 Don't do anything if we don't have a screen.
3115 2005-01-06 Jim Evins <evins@snaught.com>
3117 * src/view.c: (get_home_scale):
3118 Fixed bad call to gtk_widget_has_screen() -- huh?.
3120 2005-01-06 Jim Evins <evins@snaught.com>
3122 * data/dtd/glabels-2.0.dtd:
3123 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3126 2005-01-06 Jim Evins <evins@snaught.com>
3128 * data/glade/object-editor.glade:
3129 Set entries for fill and data field key dropdowns to NOT editable.
3130 * src/view-box.c: (construct_properties_editor):
3131 * src/view-ellipse.c: (construct_properties_editor):
3132 Update object editor when label's merge property has changed.
3133 * src/xml-label.c: (xml_parse_object_ellipse):
3134 Completed the merge color support for the ellipse item.
3136 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3138 Add support to merge color for object that have a "Fill color" attribute (Feature
3139 Requests item #1008635. If the data is invalid, the color used is transparent
3140 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3141 by gdk_color_parse() these include name for a color from rgb.txt, such as
3142 DarkSlateGray, or a hex specification such as #305050. File format has been
3143 changed but backward compatibility is preserved for all format. For box/ellipse,
3144 keep attribute "fill_color" for static color or replace by "fill_color_field"
3147 * data/glade/object-editor.glade:
3148 Modify "Fill" tab to add the merge key combo and convert the labels into
3152 Add "glColorNode" structure and associated functions to manage it. This
3153 structure is equivalent for color than the "glTextNode". It holds the color
3155 * src/label-object.h:
3156 * src/label-object.c:
3158 * src/label-ellipse.c:
3159 * src/ui-property-bar.c:
3163 * src/view-ellipse.c:
3164 * src/xml-label-04.c:
3165 * src/xml-label-191.c:
3166 Change functions of objects that have a "fill color" attribute to use the
3167 new "glColorNode" structure. Use barcode code as example.
3169 Add the color.[ch] file to glabels_batch binary that now need support for
3171 * src/object-editor.h:
3172 * src/object-editor.c:
3173 * src/object-editor-fill-page.c:
3174 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3175 to choose between static color or merge key. Use barcode code as example.
3176 * src/object-editor-private.h:
3177 Add new widget in the "_glObjectEditorPrivate" structure.
3179 Modify the draw functions to get merge data if needed.
3181 Modify the parser to record/retreive the field value for objects that need
3182 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3183 color or "fill_color_field" for merge data.
3185 2005-01-04 Jim Evins <evins@snaught.com>
3188 * data/templates/avery-iso-templates.xml:
3189 * data/templates/misc-iso-templates.xml:
3190 * data/templates/misc-us-templates.xml:
3191 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3194 2004-11-26 Jim Evins <evins@snaught.com>
3198 Updated french translations provided by Florent Morel <florent@taket.org>.
3199 * src/view-barcode.c:
3201 * src/view-ellipse.c:
3205 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3206 thus _() strings were not being translated.
3208 2004-11-14 Jim Evins <evins@snaught.com>
3211 * src/debug.c: (gl_debug_init), (gl_debug):
3212 Borrowed from gedit: use environmental variables to select debug
3215 Removed unused include of debug.h.
3216 * src/glabels.c: (main):
3217 Added call to gl_debug_init(), and removed debug clutter from command line
3219 * src/glabels-batch.c: (main):
3220 Added call to gl_debug_init().
3222 2004-11-13 Jim Evins <evins@snaught.com>
3224 Drawing and property toolbars were being initialized with the "icons and text"
3225 look in Fedora Core 3. Even though none of the buttons had any text attached to
3226 them, the buttons were being sized as if they were. This led to less real estate
3227 for the property editor, leading to Bug #1064630. The
3229 * data/ui/glabels-ui.xml:
3230 Added explicit "look" property to both drawing and property toolbars.
3231 * src/prefs-model.c: (gl_prefs_model_save_settings),
3232 (gl_prefs_model_load_settings):
3233 * src/prefs-model.h:
3234 Removed drawing_toolbar_button_style configuration parameter.
3235 * src/ui.c: (view_menu_item_toggled_cb),
3236 (set_app_drawing_toolbar_style):
3237 Do not attempt to adjust look property of the drawing toolbar.
3239 2004-10-28 Jim Evins <evins@snaught.com>
3241 * data/pixmaps/glabels-about-logo.png:
3244 2004-10-28 Jim Evins <evins@snaught.com>
3246 * data/man/glabels.1:
3247 * src/glabels-batch.c: (main):
3249 * src/print.c: (gl_print_batch):
3251 Added option to glabels-batch to select the first label to begin
3254 2004-09-26 Jim Evins <evins@snaught.com>
3256 * data/desktop/glabels.desktop.in:
3257 Point to app icon, "glabels.png"
3258 * data/mime/glabels.keys.in:
3259 Point at mime icon, "glabels-application-x-glabels.png"
3260 * data/pixmaps/Makefile.am:
3261 Added glabels_app_icondir. Renamed icons.
3262 * data/pixmaps/glabels.png:
3263 New cleaned up app icon. Deleted glabels-icon.png.
3264 * data/pixmaps/glabels-application-x-glabels.png:
3266 * data/pixmaps/glabels-splash.png:
3267 Renamed glabels-logo to glabels-splash to be more correct about role.
3269 * src/template-designer.c:
3270 Point at app icon, "glabels.png"
3272 Point at renamed splash image, "glabels-splash.png"
3274 2004-08-22 Jim Evins <evins@snaught.com>
3277 * src/glabels-batch.c: (main):
3278 Applied patch with minor mods to allow selecting merge source and
3279 crop-marks on glabels-batch's command line. Original patch provided by
3280 José Dapena Paz <jdapena@igalia.com>.
3282 2004-08-15 Jim Evins <evins@snaught.com>
3284 * data/desktop/glabels.desktop.in:
3285 - Added encoding line
3286 - Removed period from comment
3287 - Fixed Terminal line, changed "0" to "false"
3288 - Added semicolen to Categories line
3290 - Made sure desktop.in comment string above still translated properly
3292 2004-08-14 Jim Evins <evins@snaught.com>
3294 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3295 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3296 * src/xml-label-191.c: (xml191_parse_sheet):
3297 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3299 Reconciled libglabels versioning with 2.0.1.
3302 2004-08-14 Jim Evins <evins@snaught.com>
3305 Updated version to 2.1cvs.
3307 2004-08-14 Jim Evins <evins@snaught.com>
3310 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3312 2004-08-14 Jim Evins <evins@snaught.com>
3314 Fixes for Bug #1008181.
3316 * src/bc.c: (gl_barcode_default_digits):
3317 Make a format of zero digits, harmless.
3318 * src/xml-label.c: (xml_parse_object_barcode):
3319 Set default value of the format property of barcode objects to 10, not
3320 zero. This will prevent crashes when reading pre 2.0.x files.
3322 2004-08-09 Jim Evins <evins@snaught.com>
3326 * help/C/glabels-C.omf:
3327 * help/C/glabels.xml:
3328 Brought documentation up-to-date for 2.0.0 release.
3330 2004-08-09 Jim Evins <evins@snaught.com>
3332 These are hopefully the final preparations for 2.0.0.
3334 * data/mime/Makefile.am:
3335 Include glabels.xml in EXTRA_DIST.
3337 - Updated comment style.
3338 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3339 - Added package and version info to configuration printout
3340 - Update version to 2.0.0
3341 * libglabels/Makefile.am:
3342 Use the new LIBGLABELS_VERSION_INFO macro.
3344 2004-08-09 Jim Evins <evins@snaught.com>
3348 Cleanup of required library macros.
3350 2004-08-08 Jim Evins <evins@snaught.com>
3354 - More specific of what to install in /usr/bin and /usr/lib
3355 - Remove built mime registration files from staging directory
3357 2004-08-08 Jim Evins <evins@snaught.com>
3359 * data/mime/Makefile.am:
3360 Fixed typo: key_files should have been keys_files.
3362 2004-08-08 Jim Evins <evins@snaught.com>
3364 Reorganization of runtime data files. Also added registration of mimetype with
3365 new freedesktop.org mime database if available.
3368 Moved files to appropriate subdirectories, creating local Makefile.am
3369 in each subdirectory.
3370 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3371 These are now installed at $datadir/glabels/templates.
3372 - Moved glabels.1 to man subdirectory.
3373 - Moved glabels-2.0.dtd to dtd subdirectory.
3374 - Moved glabels.desktop.in to desktop subdirectory.
3375 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3377 Moved "./pixmaps" to "./data/pixmaps"
3379 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3381 Moved libglade files from src to data/glade. Created Makefile.am.
3383 Removed pixmaps from SUBDIRS.
3385 - Removed pixmaps from makefiles.
3386 - Added makefiles for new subdirs of data.
3387 - Added tests for freedesktop.org mime database.
3389 - Added tests for freedesktop.org mime database for post install and
3390 post un-install actions.
3391 * libglabels/Makefile.am:
3392 Moved system template files to $(datadir)/glabels/templates.
3393 * libglabels/libglabels-private.h:
3394 Moved system template files to $(datadir)/glabels/templates.
3396 - Accounted for movement of ui and libglade files.
3397 - Added missing .in files.
3398 - Reorganized by directory.
3400 Accounted for movement of ui and libglade files.
3401 * data/mime/glabels.xml.in:
3402 New file for registering with freedesktop.org mime database.
3404 2004-08-07 Jim Evins <evins@snaught.com>
3406 * src/recent-files/*:
3407 Re-synced to latest libegg/recent-files.
3409 2004-08-07 Jim Evins <evins@snaught.com>
3414 Renamed "./doc" directory to "./help" which contains user documentation,
3415 to be more consistent with other GNOME applications.
3418 2004-07-26 Jim Evins <evins@snaught.com>
3420 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3421 Corrected button order of merge properties dialog.
3423 2004-07-18 Jim Evins <evins@snaught.com>
3425 * data/glabels-2.0.dtd:
3426 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3427 (gl_barcode_get_prefered_n):
3429 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3430 (gl_label_barcode_get_props), (get_size):
3431 * src/label-barcode.h:
3432 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3433 (style_changed_cb), (gl_object_editor_set_bc_style),
3434 (gl_object_editor_get_bc_style):
3435 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3436 (gl_object_editor_set_data), (gl_object_editor_get_data):
3437 * src/object-editor-private.h:
3438 * src/object-editor.c: (gl_object_editor_set_key_names):
3439 * src/object-editor.glade:
3440 * src/object-editor.h:
3441 * src/print.c: (draw_barcode_object):
3442 * src/view-barcode.c: (update_object_from_editor_cb),
3443 (update_editor_from_object_cb),
3444 (gl_view_barcode_create_event_handler), (draw_barcode):
3445 * src/xml-label-04.c: (xml04_parse_barcode_props):
3446 * src/xml-label-191.c: (xml191_parse_barcode_props):
3447 * src/xml-label.c: (xml_parse_object_barcode),
3448 (xml_create_object_barcode):
3449 Added "format" attribute to barcode objects. This attribute is used
3450 to properly format freeform barcodes barcodes prior to merge data is
3451 applied, so that barcodes can be accurately layed out. This addresses
3452 remaining issues of feature request #824787. Also added an example of
3453 the format in the object editor.
3455 2004-07-12 Jim Evins <evins@snaught.com>
3457 Various code cleanups.
3459 * src/label-barcode.c:
3460 Removed unneeded include of gnome-glyphlist.h.
3462 * src/label-text.c: (get_size):
3463 Fixed memory leak: unref glyphlists when done with them.
3465 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3466 * src/object-editor-data-page.c:
3467 (gl_object_editor_prepare_data_page):
3468 * src/object-editor-image-page.c:
3469 (gl_object_editor_prepare_image_page):
3470 * src/object-editor-line-page.c:
3471 (gl_object_editor_prepare_line_page):
3472 * src/object-editor-lsize-page.c:
3473 (gl_object_editor_prepare_lsize_page):
3474 * src/object-editor-position-page.c:
3475 (gl_object_editor_prepare_position_page):
3476 * src/object-editor-size-page.c:
3477 (gl_object_editor_prepare_size_page):
3478 * src/object-editor-text-page.c:
3479 (gl_object_editor_prepare_text_page):
3480 Removed unneeded size groups, originally intended to keep widgets aligned.
3481 Now use tables to lay these out in object-editor.glade.
3483 * src/print.c: (draw_text_object):
3484 Fixed memory leak: unref glyphlists when done with them.
3486 * src/view-barcode.c: (draw_barcode):
3487 Fixed memory leak: unref glyphlists when done with them.
3489 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3490 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3492 - Fixed memory leak: unref glyphlists when done with them.
3494 2004-07-11 Jim Evins <evins@snaught.com>
3496 * data/glabels-2.0.dtd:
3497 * src/label-text.c: (gl_label_text_instance_init), (copy),
3498 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3500 * src/object-editor-private.h:
3501 * src/object-editor-text-page.c:
3502 (gl_object_editor_prepare_text_page),
3503 (gl_object_editor_set_text_auto_shrink),
3504 (gl_object_editor_get_text_auto_shrink):
3505 * src/object-editor.c: (gl_object_editor_set_key_names):
3506 * src/object-editor.glade:
3507 * src/object-editor.h:
3508 * src/print.c: (draw_text_object):
3509 * src/view-text.c: (update_object_from_editor_cb),
3510 (update_editor_from_object_cb):
3511 * src/xml-label.c: (xml_parse_object_text),
3512 (xml_create_object_text):
3513 Added option to allow document merge to auto shrink text size to fit
3514 within the text box. The code in print.c that actually shrinks the
3515 text is loosely based on a patch submitted by Mark Harrison
3516 <mark.harrison@velocitynet.com.au>. This addresses feature request
3519 2004-07-11 Jim Evins <evins@snaught.com>
3521 * data/glabels-2.0.dtd:
3522 * libglabels/template.c: (gl_template_rect_label_type_new),
3523 (gl_template_round_label_type_new),
3524 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3525 (template_full_page):
3526 * libglabels/template.h:
3527 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3528 (xml_create_label_node):
3529 * pixmaps/ex-rect-size.png:
3530 * src/print.c: (clip_to_outline), (clip_punchouts):
3531 * src/template-designer.c: (construct_rect_size_page),
3532 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3534 * src/template-designer.glade:
3535 * src/xml-label-191.c: (xml191_parse_label):
3536 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3537 properties for rectangular labels. Templates remain backwards compatible,
3538 but this breaks the libglabels API (I don't know of anyone outside of
3539 glabels using libglabels at this time -- what can I say, the program is
3540 is still "unstable"). This addresses the suggestion in Feature Request
3543 2004-07-05 Jim Evins <evins@snaught.com>
3544 * src/print.c: (print_crop_marks), (draw_outline):
3545 Changed crop marks and label outlines to black, instead of 25% gray.
3546 This addresses debian Bug #257460.
3548 2004-07-05 Jim Evins <evins@snaught.com>
3550 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3551 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3552 Preserve "is_default" of fill and line color_combos when creating from
3555 2004-07-02 Jim Evins <evins@snaught.com>
3558 Created man page. Based on page submitted by Matthew J. Lockner, however
3559 it has been severely edited.
3561 * data/avery-other-templates.xml
3562 * data/misc-other-templates.xml:
3563 Started new files for predefined templates with non-standard sheet sizes.
3564 These have been initially populated with the Avery 06141 and
3565 OfficeMax #86112, both provided by Matthew J. Lockner.
3568 Install above manpage and template files.
3571 Make sure we install man pages.
3573 * src/glabels-batch.c:
3574 Changed short form of help option to '-?' to be consistent with glabels.
3577 Added acknowledgement for above labels.
3579 2004-07-02 Jim Evins <evins@snaught.com>
3581 * src/glabels.c: (main), (save_session_cb):
3582 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3584 - save_session_cb() now returns gboolean.
3585 - Minor formatting changes.
3589 - Now include file.h to provide missing prototype.
3590 - gl_window_get_type() now returns GType, not guint. I believe this may
3591 ultimately be cause of the segfault reported in Bug #982287, since
3592 GType is actually a gulong, which may not be compatible on other
3593 architectures (64bit) -- I cannot personally test this at this time.
3594 I was sloppy in several other xxx_get_type() functions which also
3595 returned guint -- see next group of files:
3597 * src/window.c: (gl_window_get_type):
3598 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3599 * src/canvas-hacktext.h:
3600 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3601 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3602 (gl_hig_hbox_get_type):
3604 * src/label-barcode.c: (gl_label_barcode_get_type):
3605 * src/label-barcode.h:
3606 * src/label-box.c: (gl_label_box_get_type):
3608 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3609 * src/label-ellipse.h:
3610 * src/label-image.c: (gl_label_image_get_type):
3611 * src/label-image.h:
3612 * src/label-line.c: (gl_label_line_get_type):
3614 * src/label-object.c: (gl_label_object_get_type):
3615 * src/label-object.h:
3616 * src/label-text.c: (gl_label_text_get_type):
3618 * src/label.c: (gl_label_get_type):
3620 * src/merge-properties-dialog.c:
3621 (gl_merge_properties_dialog_get_type):
3622 * src/merge-properties-dialog.h:
3623 * src/merge-text.c: (gl_merge_text_get_type):
3625 * src/merge.c: (gl_merge_get_type):
3627 * src/object-editor.c: (gl_object_editor_get_type):
3628 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3629 * src/prefs-dialog.h:
3630 * src/prefs-model.c: (gl_prefs_model_get_type):
3631 * src/prefs-model.h:
3632 * src/print-dialog.c: (gl_print_dialog_get_type):
3633 * src/print-dialog.h:
3634 * src/template-designer.c: (gl_template_designer_get_type):
3635 * src/template-designer.h:
3636 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3637 * src/ui-property-bar.h:
3638 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3640 * src/view-barcode.c: (gl_view_barcode_get_type):
3641 * src/view-barcode.h:
3642 * src/view-box.c: (gl_view_box_get_type):
3644 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3645 * src/view-ellipse.h:
3646 * src/view-highlight.c: (gl_view_highlight_get_type):
3647 * src/view-highlight.h:
3648 * src/view-image.c: (gl_view_image_get_type):
3650 * src/view-line.c: (gl_view_line_get_type):
3652 * src/view-object.c: (gl_view_object_get_type):
3653 * src/view-object.h:
3654 * src/view-text.c: (gl_view_text_get_type):
3656 * src/view.c: (gl_view_get_type):
3658 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3659 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3660 * src/wdgt-image-select.h:
3661 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3662 * src/wdgt-media-select.h:
3663 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3664 * src/wdgt-mini-preview.h:
3665 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3666 * src/wdgt-print-copies.h:
3667 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3668 * src/wdgt-print-merge.h:
3669 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3670 * src/wdgt-rotate-label.h:
3671 - Made sure all xxx_get_type functions returned GType, not guint. This
3672 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3673 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3674 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3675 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3676 window.[ch] details above for more info.
3677 - Reconciled various coding style differences in all xxx_get_type()
3679 * All prototypes include G_GNUC_CONST.
3680 * All prototypes specify the return value as GType, not GtkType
3682 * Info structures are all declared as "static const."
3683 * Generalized the names of type and info variables.
3684 * Miscelaneous formatting.
3686 2004-06-08 Jim Evins <evins@snaught.com>
3692 Don't touch compression of original file -- still defaults to 9 for
3693 new files. Original patch provided by Javier Donaire Segarra
3694 (#912252 in patch tracker).
3696 2004-05-05 Jim Evins <evins@snaught.com>
3698 * data/glabels-2.0.dtd:
3699 Broke DTD previously when adding new barcode types that contain a
3700 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3701 to avoid the problem.
3702 * data/avery-iso-templates.xml:
3703 * data/zweckform-iso-templates.xml:
3705 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3706 provided by Frank Altpeter.
3707 * libglabels/xml-template.c: (xml_create_label_node):
3708 Reordered markup and layout sub-nodes so that resulting templates will
3709 validate against DTD.
3711 2004-03-13 Jim Evins <evins@snaught.com>
3713 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3714 Changed spin callback signals from "value-changed" back to "changed."
3715 This was accidentally introduced in a previous revision, and can cause
3716 size changes just by selecting the size tab.
3718 2004-03-06 Jim Evins <evins@snaught.com>
3720 * src/view.c: (draw_grid_layer):
3721 For round labels (round and cd) adjust grid so that it lines up with
3722 center of label. Also, no longer draw box around label in the grid layer,
3723 it is hidden by he fg layer anyway. Feature suggested by
3724 nemolivier@free.fr. Although the grid is aligned with the center of the
3725 label, the coordinate system is still relative to the upper left corner
3726 of the rectangle containing the label.
3728 2004-02-25 Jim Evins <evins@snaught.com>
3731 Changed version to 2.0pre1cvs
3733 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3734 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3735 instead of doc->name fields when errors encountered.
3737 2004-02-21 Jim Evins <evins@snaught.com>
3739 * data/avery-iso-templates.xml:
3740 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3743 Added libglabels library and include file to installed files.
3746 Final prep for 1.93.3.
3748 2004-02-20 Jim Evins <evins@snaught.com>
3750 * src/glabels-batch.c: (main):
3751 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3752 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3754 2004-02-16 Jim Evins <evins@snaught.com>
3757 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3760 Added HAVE_FILE_CHOOSER to INCLUDES.
3762 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3763 (gl_file_save_as), (save_as_response):
3764 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3766 2004-02-16 Jim Evins <evins@snaught.com>
3768 * src/xml-label-04.c: (xml04_parse_image_props):
3769 * src/xml-label-191.c: (xml191_parse_image_props):
3770 * src/xml-label.c: (xml_parse_object_image):
3771 Delay setting image size until after image has been applied to new
3774 2004-02-15 Jim Evins <evins@snaught.com>
3776 * src/label-barcode.c: (gl_label_barcode_set_data),
3777 (gl_label_barcode_set_props):
3778 Don't emit "changed" signal, if no change actually made for these
3779 methods. Reduces number of unnecessary redraws of barcodes.
3781 * src/label-object.h:
3782 * src/label-object.c: (gl_label_object_set_position),
3783 (gl_label_object_set_position_relative), (set_size),
3784 (gl_label_object_set_size),
3785 (gl_label_object_set_size_honor_aspect):
3786 Don't emit "changed" signal, if no change actually made for these
3789 2004-02-15 Jim Evins <evins@snaught.com>
3791 * data/glabels-2.0.dtd:
3792 Added specific subtypes for various barcode types.
3795 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3796 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3797 (gl_barcode_can_text), (gl_barcode_text_optional),
3798 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3799 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3800 Changed API to use a string id, rather than a fixed enumeration. Id and
3801 name are separate strings. Added entries to backend table for specific
3802 subtypes for various barcode types.
3805 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3807 Modified to conform to above API. Now more stringent with data length
3808 for various subtypes.
3810 * src/bc-gnubarcode.h:
3811 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3812 (is_length_valid), (is_length1_valid), (is_length2_valid):
3813 Modified to conform to above API. Now more stringent with data length
3814 for various subtypes.
3816 * src/label-barcode.h:
3817 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3818 (gl_label_barcode_get_props), (get_size):
3819 Modified to use above API for storing barcode type.
3821 * src/object-editor.h:
3822 * src/object-editor-bc-page.c: (style_changed_cb),
3823 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3824 Modified to use above API for storing barcode type.
3826 * src/object-editor-size-page.c:
3827 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3828 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3829 Added debug markers.
3831 * src/object-editor.glade:
3832 Made barcode style combo's text entry non-editable.
3834 * src/print.c: (draw_barcode_object):
3835 Modified to use above API for barcode type.
3837 * src/view-barcode.c: (update_object_from_editor_cb),
3838 (update_editor_from_object_cb),
3839 (gl_view_barcode_create_event_handler), (draw_barcode):
3840 Modified to use above API for barcode type.
3842 * src/xml-label-04.c: (xml04_parse_barcode_props):
3843 * src/xml-label-191.c: (xml191_parse_barcode_props):
3844 * src/xml-label.c: (xml_parse_object_barcode),
3845 (xml_create_object_barcode):
3846 Modified to use above API for barcode type.
3848 2004-02-07 Jim Evins <evins@snaught.com>
3850 * src/stock-pixmaps/Makefile.am:
3851 * src/stock-pixmaps/stock_hchain_24.png:
3852 * src/stock-pixmaps/stock_hchain_broken_24.png:
3853 * src/stock-pixmaps/stock_vchain_24.png:
3854 * src/stock-pixmaps/stock_vchain_broken_24.png:
3855 Added chain pixmaps borrowed from the gimp's default theme.
3858 * src/stock.c: (gl_stock_init), (add_button_icon):
3859 Added above pixmaps to stock icon sets. Created add_button_icon() to
3860 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3862 * src/wdgt-chain-button.h
3863 * src/wdgt-chain-button.c
3866 Added this Modified version of gimpchainbutton widget, borrowed from
3870 Added acknowledgements of the above borrowing from the gimp.
3872 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3874 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3875 * src/object-editor.glade:
3876 Replaced the keep aspect ratio check box with the above chain-button
3879 * src/text-node.c: (gl_text_node_equal):
3881 Added function gl_text_node_equal() to compare text_nodes.
3883 * src/label-image.c: (gl_label_image_set_filename):
3884 Replaced incomplete text_node comparison code with invocation of
3885 gl_text_node_equal. This fixed the problem of not being able to
3886 resize an image using the object_editor if the aspect ratio is not
3889 2004-02-04 Jim Evins <evins@snaught.com>
3891 * src/object-editor-image-page.c:
3892 (gl_object_editor_prepare_image_page):
3893 Track "changed" signal of pixmap entry's GtkEntry rather than its
3894 "activate" signal -- this catches all changes to the entry rather than
3895 just changes resulting from a browse, so one can easily pull previous
3896 entries from the history. (This change is marked below on 2004-02-03,
3897 but somehow never got checked in.)
3899 * src/view-highlight.c: (sl_resize_event_handler),
3900 (sr_resize_event_handler), (st_resize_event_handler),
3901 (sb_resize_event_handler):
3902 Side resize handles will now confirm the actual resize that the object
3903 accepted before adjusting position parameters. Previously some interesting
3904 things happened when resizing a barcode to its minimum size.
3906 2004-02-03 Jim Evins <evins@snaught.com>
3908 * src/object-editor-image-page.c:
3909 (gl_object_editor_prepare_image_page):
3910 Track "changed" signal of pixmap entry's GtkEntry rather than its
3911 "activate" signal -- this catches all changes to the entry rather than
3912 just changes resulting from a browse, so one can easily pull previous
3913 entries from the history.
3915 * src/view-highlight.c: (tl_resize_event_handler),
3916 (tr_resize_event_handler), (bl_resize_event_handler),
3917 (br_resize_event_handler):
3918 Allow control key to be dropped while dragging a corner resize handle
3919 without losing the aspect ratio lock.
3921 2004-02-02 Jim Evins <evins@snaught.com>
3923 * src/label-image.c: (gl_label_image_set_filename):
3924 When setting a new filename adjust size such that the aspect ratio of
3925 the image is preserved using the current size as a bounding box.
3927 * src/view-image.c: (update_object_from_editor_cb):
3928 When updating object from editor, feed back possible size changes to
3929 editor as a result of a possible change in image.
3931 * src/object-editor-size-page.c: (size_reset_cb):
3932 Fixed typo when blocking spin handlers. If the base size is larger than
3933 the max size, treat max size as a bounding box while keeping aspect
3937 2004-02-02 Jim Evins <evins@snaught.com>
3939 * src/label-object.h:
3940 * src/label-object.c: (gl_label_object_set_size),
3941 (gl_label_object_set_size_honor_aspect):
3942 Added gl_label_object_set_size_honor_aspect() which will maintain the
3943 current aspect ratio by modifying the supplied w or h apropriately.
3945 * src/view-highlight.c: (tl_resize_event_handler),
3946 (tr_resize_event_handler), (bl_resize_event_handler),
3947 (br_resize_event_handler):
3948 Corner handles will now maintain the current aspect ratio if the
3949 control key is pressed while resizing. This addresses feature
3953 2004-01-31 Jim Evins <evins@snaught.com>
3956 * data/avery-us-templates.xml:
3957 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3959 * libglabels/template.c: (read_template_files_from_dir):
3960 Corrected problem with testing for extensions.
3962 * src/object-editor.glade:
3963 Corrected grouping of radio buttons in barcode data page.
3965 * src/print.c: (draw_barcode_object):
3966 * src/view-barcode.c: (draw_barcode):
3967 Corrected problem with calculation of y_offset for locating characters.
3969 2004-01-24 Jim Evins <evins@snaught.com>
3972 * data/avery-us-templates.xml:
3973 Added Avery 5824, submitted by Fred Bacon.
3975 2004-01-20 Jim Evins <evins@snaught.com>
3977 Catching up on a couple of backlogged user template submissions.
3979 * data/avery-iso-templates.xml:
3980 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3981 Suggested by Linas Jakucionis.
3983 * data/zweckform-iso-templates.xml:
3984 Added Zweckform 4760, submitted by Thomas Vill.
3987 Updated to reflect above submissions.
3989 2004-01-06 Jim Evins <evins@snaught.com>
3991 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3992 xml.[ch] into a separate library called libglabels, to facilitate third
3993 party use of glabels template files. This was suggested by Wayne Schuller.
3994 Once split-out, some modifications to the structures and functions to
3995 make a cleaner more useful API, hopefully. Rather extensive changes have
3996 propogated to other modules.
4004 * src/xml-template.h:
4005 * src/xml-template.c:
4008 These files have been moved to libglabels/. API cleanup performed.
4010 * libglabels/libglabels.h:
4011 * libglabels/libglabels-private.h:
4012 * libglabels/Makefile.am:
4013 These files have been added to finish out libglabels.
4020 Modified to reflect new sets of files in src/ and libglabels/.
4022 * COPYING.LIBGLABELS:
4024 Added copy of the LGPL for libglabels, and a copy the GFDL for
4027 * src/glabels-batch.c:
4029 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4030 (gl_label_get_size):
4032 * src/prefs-model.c: (gl_prefs_model_load_settings):
4033 * src/print-dialog.c:
4034 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4035 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4036 (print_crop_marks), (print_label), (draw_outline),
4037 (clip_to_outline), (clip_punchouts):
4038 * src/template-designer.c: (construct_pg_size_page),
4039 (pg_size_page_changed_cb), (layout_page_changed_cb),
4040 (print_test_cb), (build_template):
4041 * src/util.c: (gl_util_fraction):
4043 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4044 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4045 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4046 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4047 (draw_markup_margin_round), (draw_markup_margin_cd),
4048 (draw_markup_margin_cd_bc), (draw_markup_line),
4049 (draw_markup_circle), (gl_view_copy):
4050 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4051 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4052 (get_label_size_desc):
4053 * src/wdgt-mini-preview.c:
4054 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4056 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4057 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4058 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4059 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4060 * src/wdgt-rotate-label.h:
4061 * src/xml-label-04.c: (xml04_parse_media_description):
4062 * src/xml-label-191.c: (gl_xml_label_191_parse),
4063 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4064 (xml191_parse_markup), (xml191_parse_alias):
4065 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4067 Various changes to accomodate new libglabels API.
4069 2004-01-03 Jim Evins <evins@snaught.com>
4074 2004-01-03 Jim Evins <evins@snaught.com>
4077 Added acknowledgement of contributions by Wayne Schuller.
4079 * src/commands.c: (gl_cmd_file_print):
4080 Create extra reference to print dialog, so that it can be properly re-used.
4082 * src/mygal/mygal-combo-box.h:
4083 * src/mygal/mygal-combo-box.c:
4084 (mygal_combo_box_popup_hide_unconditional),
4085 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4086 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4087 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4088 (mygal_combo_box_set_tearable):
4089 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4090 complete the rename of this widget to prevent namespace collisions
4093 * src/prefs-dialog.glade:
4094 Fixed alignment of Fill/Color widgets.
4096 2004-01-03 Jim Evins <evins@snaught.com>
4098 * data/avery-iso-templates.xml:
4099 Added user submitted templates.
4100 Avery 8435A & 8435B, submitted by Ludger Solbach.
4102 * doc/C/glabels.xml:
4103 Added minimal documentation, noting the new template designer.
4105 2004-01-03 Jim Evins <evins@snaught.com>
4107 * pixmaps/ex-rect-size.png:
4108 * pixmaps/ex-round-size.png:
4109 * pixmaps/ex-cd-size.png:
4110 * pixmaps/Makefile.am:
4111 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4112 files to be used as illustrations/examples in the template-designer.
4114 * src/template-designer.c: (construct_rect_size_page),
4115 (construct_round_size_page), (construct_cd_size_page),
4116 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4117 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4118 (layout_page_prepare_cb), (build_template):
4119 * src/template-designer.glade:
4120 Added illustrations for rectangle, round, and cd label size pages.
4121 Added margin spinboxes to these pages, and now add a margin markup
4122 to the constructed template. Added realistic default values for
4123 some of the size spinboxes. Cleaned up the code for setting spinbox
4124 ranges on the layouts page.
4126 2004-01-02 Jim Evins <evins@snaught.com>
4128 * src/object-editor-size-page.c: (h_spin_cb):
4129 Fixed cut-n-paste error in h_spin_cb that loaded h from
4130 the wrong spinbutton.
4132 * src/object-editor.h:
4133 * src/object-editor.c: (gl_object_editor_class_init),
4134 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4135 * src/object-editor-private.h:
4136 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4138 Added "size_changed" signal.
4140 * src/view-text.c: (construct_properties_editor),
4141 (update_object_from_editor_cb),
4142 (update_object_from_editor_size_cb):
4143 Track size changes from object editor separately from other
4144 properties. This is so the default size (0,0) of a text
4145 object is not modified unintentionally.
4147 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4149 Added feature: line spacing - allows you to comfortably space a text box to
4150 fit a label perfectly.
4152 * data/glabels-2.0.dtd:
4153 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4154 (gl_label_object_get_text_alignment),
4155 (gl_label_object_get_text_line_spacing):
4156 * src/label-object.h:
4157 * src/label-text.c: (gl_label_text_class_init),
4158 (gl_label_text_instance_init), (copy), (get_size),
4159 (set_text_line_spacing), (get_text_alignment),
4160 (get_text_line_spacing):
4161 * src/object-editor-private.h:
4162 * src/object-editor-text-page.c:
4163 (gl_object_editor_prepare_text_page),
4164 (gl_object_editor_set_text_line_spacing),
4165 (gl_object_editor_get_text_line_spacing):
4166 * src/object-editor.glade:
4167 * src/object-editor.h:
4168 * src/prefs-dialog.c: (construct_object_page),
4169 (update_object_page_from_prefs), (update_prefs_from_object_page):
4170 * src/prefs-dialog.glade:
4171 * src/prefs-model.c: (gl_prefs_model_save_settings),
4172 (gl_prefs_model_load_settings), (get_float):
4173 * src/prefs-model.h:
4174 * src/print.c: (draw_text_object):
4176 * src/view-text.c: (update_object_from_editor_cb),
4177 (update_editor_from_object_cb),
4178 (gl_view_text_create_event_handler), (draw_hacktext):
4179 * src/view.c: (gl_view_construct),
4180 (gl_view_set_selection_text_line_spacing),
4181 (gl_view_set_default_text_line_spacing),
4182 (gl_view_get_default_text_line_spacing):
4184 * src/xml-label.c: (xml_parse_toplevel_span),
4185 (xml_create_toplevel_span):
4187 2003-12-30 Jim Evins <evins@snaught.com>
4189 * src/template-designer.c:
4190 * src/template-designer.h:
4191 * src/template-designer.glade:
4192 New template designer assistant.
4196 Added entries for src/template-designer.* files.
4198 * pixmaps/ex-1layout.png
4199 * pixmaps/ex-2layouts.png
4200 * pixmaps/Makefile.am:
4201 Added the new image files ex-*.png used as illustrations in the
4202 template designer assistant.
4204 * src/print-dialog.h:
4205 * src/print-dialog.c: (gl_print_dialog_finalize),
4206 (gl_print_dialog_new), (gl_print_dialog_construct),
4207 (gl_print_dialog_force_outline_flag):
4208 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4209 to support printing from the template designer assistant which does not
4210 have a full-fledged view. Nothing else from the view object was being
4211 used by the dialog anyway.
4213 Added the gl_print_dialog_force_outline_flag() method, for better
4214 integration with the template designer assistant.
4218 * src/commands.c: (gl_cmd_file_template_designer),
4219 (gl_cmd_file_print):
4220 Modified print command to provide label instead of view to dialog.
4221 Added the gl_cmd_file_template_designer() command to invoke the
4222 template designer assistant.
4225 * src/glabels-ui.xml:
4226 Added support for template designer assistant.
4228 * src/wdgt-mini-preview.h:
4229 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4230 (gl_wdgt_mini_preview_set_bg_color):
4231 Preview is now centered in canvas. Added
4232 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4233 assistant to match the background color with its own.
4235 * src/print.c: (clip_to_outline):
4236 Fixed really stupid bug when adding waste to clip region of rectangular
4237 labels/cards. Each side of the clip region needs to be extended by
4238 twice the waste margin, as well as negatively offset by the waste
4241 2003-12-28 Jim Evins <evins@snaught.com>
4243 * src/prefs-dialog.c: (update_object_page_from_prefs):
4244 Block intermediary function align_toggle_cb() instead of
4245 update_prefs_from_object_page() for the three alignment
4248 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4250 * src/file.c: (gl_file_new), (gl_file_properties):
4251 Swap button order and set default for higificatory pleasure.
4253 2003-12-27 Jim Evins <evins@snaught.com>
4255 * barcode-0.98/Makefile.am:
4256 One last time: removed doc/Makefile and po/Makefile.in.in from
4259 2003-12-27 Jim Evins <evins@snaught.com>
4261 * barcode-0.98/Makefile.am:
4262 Removed config.stat entry from EXTRA_DIST files.
4264 * barcode-0.98/Makefile.in:
4267 2003-12-27 Jim Evins <evins@snaught.com>
4270 Updated to work with latest gnome-common package from CVS.
4271 Removed recursive configuration of barcode-0.98.
4278 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4280 * barcode-0.98/Makefile.in:
4281 * barcode-0.98/configure.in:
4282 * barcode-0.98/Makefile.am:
4283 * barcode-0.98/README.glabels:
4284 Modified to ignore the barcode package's build system, and build
4285 as a part of glabels.
4286 Renamed Makefile.in to Makefile.in.dist.
4287 Renamed configure.in to configure.in.dist.
4288 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4291 * src/mygal/Makefile.am:
4292 * src/recent-files/Makefile.am:
4293 In order to build against the GNOME 2.5 platform,
4294 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4296 * src/mygal/Makefile.am:
4297 * src/mygal/mygal-combo-box.c:
4298 * src/mygal/mygal-combo-box.h:
4299 * src/mygal/widget-color-combo.c:
4300 * src/mygal/widget-color-combo.h:
4302 In order to build against the GNOME 2.5 platform,
4303 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4304 collisions with the real gtk_combo_box widget, now a part of gtk.
4306 2003-12-26 Jim Evins <evins@snaught.com>
4312 Moved local versions of get_home_data_dir() in paper.c and
4313 template.c to util package. Cleaned up formatting in
4317 In gl_template_register() save a copy of the template in
4318 ~/.glabels if the template is not known. Still need to
4319 handle duplicate filename case and duplicate name but
4320 different template case.
4324 Moved local definition of NAME_SPACE macro from xml-label.c
4327 * src/xml-template.c:
4328 * src/xml-template.h:
4329 Added function gl_xml_template_write_template_to_file(), used
4330 in gl_template_register().