1 2008-10-18 Jim Evins <evins@snaught.com>
3 Migrated all use of libglade to GtkBuilder.
5 * data/glade/Makefile.am:
6 * data/glade/merge-properties-dialog.glade:
7 * data/glade/new-label-dialog.glade:
8 * data/glade/object-editor.glade:
9 * data/glade/prefs-dialog.glade:
10 * data/glade/print-custom-widget.glade:
11 * data/glade/property-bar.glade:
12 * data/glade/template-designer.glade:
13 * data/glade/wdgt-media-select.glade:
14 Removed data/glade directory.
15 * data/builder/Makefile.am:
16 * data/builder/merge-properties-dialog.glade:
17 * data/builder/new-label-dialog.glade:
18 * data/builder/object-editor.glade:
19 * data/builder/prefs-dialog.glade:
20 * data/builder/print-custom-widget.glade:
21 * data/builder/property-bar.glade:
22 * data/builder/template-designer.glade:
23 * data/builder/wdgt-media-select.glade:
24 Added data/builder directory.
28 Change glade to builder.
29 * src/merge-properties-dialog.c:
30 (gl_merge_properties_dialog_finalize),
31 (gl_merge_properties_dialog_construct):
32 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
33 (gl_new_label_dialog_construct):
34 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
35 * src/object-editor-data-page.c:
36 (gl_object_editor_prepare_data_page):
37 * src/object-editor-edit-page.c:
38 (gl_object_editor_prepare_edit_page):
39 * src/object-editor-fill-page.c:
40 (gl_object_editor_prepare_fill_page):
41 * src/object-editor-image-page.c:
42 (gl_object_editor_prepare_image_page):
43 * src/object-editor-line-page.c:
44 (gl_object_editor_prepare_line_page):
45 * src/object-editor-lsize-page.c:
46 (gl_object_editor_prepare_lsize_page):
47 * src/object-editor-position-page.c:
48 (gl_object_editor_prepare_position_page):
49 * src/object-editor-private.h:
50 * src/object-editor-shadow-page.c:
51 (gl_object_editor_prepare_shadow_page):
52 * src/object-editor-size-page.c:
53 (gl_object_editor_prepare_size_page):
54 * src/object-editor-text-page.c:
55 (gl_object_editor_prepare_text_page):
56 * src/object-editor.c: (gl_object_editor_init):
57 * src/prefs-dialog.c: (gl_prefs_dialog_init),
58 (gl_prefs_dialog_construct), (construct_locale_page),
59 (construct_object_page):
60 * src/print-op.c: (gl_print_op_finalize),
61 (create_custom_widget_cb):
62 * src/template-designer.c: (gl_template_designer_class_init),
63 (gl_template_designer_finalize), (gl_template_designer_construct),
64 (construct_start_page), (construct_name_page),
65 (construct_pg_size_page), (construct_shape_page),
66 (construct_rect_size_page), (construct_round_size_page),
67 (construct_cd_size_page), (construct_nlayouts_page),
68 (construct_layout_page), (construct_finish_page):
69 * src/template-designer.h:
70 * src/ui-property-bar.c: (gl_ui_property_bar_init),
71 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
72 (gl_ui_property_bar_construct), (reset_to_default_properties),
73 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
74 (update_text_properties), (update_fill_color), (update_line_color),
75 (update_line_width), (selection_changed_cb),
76 (font_family_changed_cb), (font_size_changed_cb),
77 (text_color_changed_cb), (fill_color_changed_cb),
78 (line_color_changed_cb), (line_width_changed_cb),
79 (font_bold_toggled_cb), (font_italic_toggled_cb),
80 (text_align_toggled_cb), (set_doc_items_sensitive),
81 (set_text_items_sensitive), (set_fill_items_sensitive),
82 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
83 * src/ui-property-bar.h:
84 * src/util.c: (gl_util_get_builder_widgets):
86 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
87 (gl_wdgt_media_select_construct):
88 Migration of glade to builder.
90 New macros for color combo initialization.
92 Added idea for internal merge database.
93 * docs/libglabels/libglabels-undocumented.txt:
94 * docs/libglabels/tmpl/paper.sgml:
98 2008-10-12 Jim Evins <evins@snaught.com>
100 * src/mygal/Makefile.am:
101 * src/mygal/color-group.c:
102 * src/mygal/color-group.h:
103 * src/mygal/color-palette.c:
104 * src/mygal/color-palette.h:
105 * src/mygal/e-colors.c:
106 * src/mygal/e-colors.h:
107 * src/mygal/e-marshal.list:
108 * src/mygal/e-util.h:
109 * src/mygal/mygal-combo-box.c:
110 * src/mygal/mygal-combo-box.h:
111 * src/mygal/widget-color-combo.c:
112 * src/mygal/widget-color-combo.h:
118 * src/color-combo-color-menu-item.c:
119 * src/color-combo-color-menu-item.h:
120 * src/color-combo-history.c:
121 * src/color-combo-history.h:
122 * src/color-combo-menu.c:
123 * src/color-combo-menu.h:
128 Created new glColorCombo widget.
129 * src/object-editor-bc-page.c:
130 * src/object-editor-edit-page.c:
131 * src/object-editor-fill-page.c:
132 * src/object-editor-line-page.c:
133 * src/object-editor-shadow-page.c:
134 * src/object-editor-text-page.c:
135 * src/object-editor.c:
136 * src/prefs-dialog.c:
137 * src/ui-property-bar.c:
138 Replaced use of mygal color combo with new glColorCombo widget.
140 2008-08-29 Jim Evins <evins@snaught.com>
142 * src/file.c: (gl_file_open), (gl_file_save_as):
143 Bug #2069668. Corrected button order in Open and "Save as"
146 2008-08-17 Jim Evins <evins@snaught.com>
148 * data/dtd/glabels-2.2.dtd:
149 * data/templates/paper-sizes.xml:
150 * libglabels/db.c: (lgl_db_init):
151 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
152 * libglabels/paper.h:
153 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
154 * src/print-op.c: (set_page_size):
155 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
156 size specification) to the libglabels paper database to allow the page size to be
157 communicated to GtkPrintOp un-ambiguously.
159 2008-07-25 Jim Evins <evins@snaught.com>
161 * src/object-editor-size-page.c: (size_reset_cb),
162 (gl_object_editor_set_max_size):
163 Bug #1993550. Set size limits based on longest side of label.
165 2008-07-19 Jim Evins <evins@snaught.com>
168 * src/mygal/Makefile.am:
169 Make sure libtool handles library dependencies for mygal
172 2008-05-21 Jim Evins <evins@snaught.com>
174 * src/glabels-batch.c: (main):
175 Bug #1968653. Initialize prefs subsystem.
177 2008-05-09 Jim Evins <evins@snaught.com>
179 * data/glade/object-editor.glade:
180 Bug #1959135. A couple of radio buttons somehow became
183 2008-04-07 Jim Evins <evins@snaught.com>
185 * src/wdgt-rotate-label.h:
186 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
187 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
188 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
189 (gl_wdgt_rotate_label_set_template_name):
190 Modified wdgt-rotate-label to better indicate the rotation choices.
191 * data/glade/Makefile.am:
192 * data/glade/wdgt-rotate-label.glade:
193 Deleted wdgt-rotate-label.glade.
195 2008-04-04 Jim Evins <evins@snaught.com>
197 * data/templates/brother-other-templates.xml:
198 Added categories to existing templates.
199 * data/templates/misc-other-templates.xml:
200 Moved dymo templates to their own file.
201 * data/templates/Makefile.am:
202 * data/templates/dymo-other-templates.xml:
203 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
205 Acknowledgement for above templates.
207 2008-03-24 Jim Evins <evins@snaught.com>
209 * src/xml-label.c: (xml_doc_to_label):
210 Bug #1872584. Don't refuse to parse label file if namespace is
211 unrecognized -- it may be from a newer version of glabels.
213 2008-03-15 Jim Evins <evins@snaught.com>
215 * data/templates/Makefile.am:
216 * data/templates/brother-other-templates.xml:
217 Added brother templates.
218 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
219 (gl_cairo_markup_margin_cd_path):
220 * src/view.c: (draw_markup_layer):
221 Fixed markup drawing errors when label is rotated.
223 2008-03-03 Jim Evins <evins@snaught.com>
227 Added korean translation provided by xein@naver.com.
229 2008-02-21 Jim Evins <evins@snaught.com>
232 Fixed typo that prevented "Save" from being deactivated when
233 document is not modified.
235 2008-02-18 Jim Evins <evins@snaught.com>
237 * src/prefs-model.c: (gl_prefs_model_save_settings),
238 (gl_prefs_model_load_settings):
239 Set default units for file output.
241 2008-02-18 Jim Evins <evins@snaught.com>
243 * help/C/glabels.xml:
244 Fixed example template.
246 2008-02-16 Jim Evins <evins@snaught.com>
249 * data/templates/avery-iso-templates.xml:
250 * data/templates/avery-us-templates.xml:
251 * data/templates/misc-iso-templates.xml:
252 * data/templates/misc-us-templates.xml:
253 Caught up on user submitted templates.
255 2008-02-04 Jim Evins <evins@snaught.com>
257 * src/view-image.c: (update_object_from_editor_cb):
258 Bug #1886438. Don't update the image size unless it is actually
259 triggered by a change in image source. The result of this bug
260 was that any attempt to edit the size spinboxes, immediately
263 2008-02-03 Jim Evins <evins@snaught.com>
265 * src/label-image.c: (gl_label_image_class_init), (set_size):
266 Enforce minimum size for images.
268 2008-02-03 Jim Evins <evins@snaught.com>
270 * src/object-editor-edit-page.c: (field_selected_cb):
271 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
272 * src/object-editor-private.h:
273 * src/object-editor-shadow-page.c:
274 (gl_object_editor_set_max_shadow_offset):
275 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
276 * src/object-editor.c: (gl_object_editor_finalize),
277 (gl_object_editor_new), (gl_object_notebook_construct_valist),
279 * src/object-editor.h:
280 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
281 * src/view-barcode.c: (construct_properties_editor):
282 * src/view-box.c: (construct_properties_editor):
283 * src/view-ellipse.c: (construct_properties_editor):
284 * src/view-image.c: (construct_properties_editor):
285 * src/view-line.c: (construct_properties_editor):
286 * src/view-object.c: (gl_view_object_finalize):
287 * src/view-text.c: (construct_properties_editor),
288 Move update_editor_from_label callback from individual view objects
289 to the object editor, so that signals can be disconnected when
290 object editor is finalized.
291 * src/view-text.c: (gl_view_text_create_button_press_event):
292 Fixed bug that caused multiple view objects to be created for a
293 single text object. This bug would manifest itself as a crash
294 when deleting multi-object selections which included text objects.
296 2008-02-02 Jim Evins <evins@snaught.com>
299 * src/wdgt-merge-menu.c:
300 * src/wdgt-merge-menu.h:
301 * src/debug.c: (gl_debug_init):
304 New merge menu widget.
305 * data/glade/object-editor.glade:
306 * src/object-editor-private.h:
307 * src/object-editor.c: (gl_object_editor_set_key_names):
308 * src/object-editor-edit-page.c:
309 (gl_object_editor_prepare_edit_page), (field_selected_cb),
311 Simplified UI for inserting fields into text objects by launching
312 a merge menu and directly inserting fields from the menu. No more
313 selecting field in combobox, then pressing insert button.
315 2008-01-31 Jim Evins <evins@snaught.com>
317 * src/label-barcode.c: (draw_object):
318 Fixed rendering problem when "Invalid data" is displayed when text
319 object is lower in stacking order.
321 2008-01-30 Jim Evins <evins@snaught.com>
323 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
324 Don't turn off cairo_hint_metrics. This causes serious issues with
327 2008-01-29 Jim Evins <evins@snaught.com>
329 * src/print-op.c: (gl_print_op_construct),
330 (gl_print_op_construct_batch), (set_page_size):
331 Explicitly set page size for "other" page sizes.
333 2008-01-25 Jim Evins <evins@snaught.com>
336 Fixed Code128C backend parameters.
337 * src/label-barcode.c: (get_size):
338 Bug #1766425. If barcode is not renderable with either
339 input data or default data, use a default size. Also
342 2008-01-16 Jim Evins <evins@snaught.com>
344 * src/print.c: (print_label):
345 Bug #1872568. Don't apply special transforms (rotate and
346 mirror) to clipping region or outline.
348 2008-01-01 Jim Evins <evins@snaught.com>
351 Sort font lists alphabetically.
353 2008-01-01 Jim Evins <evins@snaught.com>
355 * src/merge-evolution.c:
356 Do a case-insensitive sort.
358 2008-01-01 Jim Evins <evins@snaught.com>
360 * src/merge-evolution.c:
361 Sort evolution by "file_under" field. Original patch provided
362 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
365 Added acknowledgement for above patch.
367 2008-01-01 Jim Evins <evins@snaught.com>
372 Reconcile with 2.2 branch.
375 2007-12-21 Jim Evins <evins@snaught.com>
377 * COPYING.LIBGLABELS:
378 * COPYING.README_FIRST:
380 Updating license information to make more complete and understandable.
382 2007-12-16 Jim Evins <evins@snaught.com>
385 Updated version to 2.pre2.
386 * help/C/glabels.xml:
387 Updated documentation.
388 * src/ui-commands.c: (gl_ui_cmd_help_about):
389 Updated copyright string.
391 2007-12-15 Jim Evins <evins@snaught.com>
393 * data/glade/object-editor.glade:
394 Removed any GtkTable that contained a GtkComboBox because the size of
395 the combo box was not constrained properly. This sacrifices the nice
396 orderly labels for combo boxes that don't extend beyond the edge of the
399 2007-12-15 Jim Evins <evins@snaught.com>
401 * libglabels/db.c: (lgl_db_lookup_template_from_name):
402 * src/object-editor.c: (gl_object_editor_finalize):
403 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
404 Fixed several small memory leaks.
406 2007-12-14 Jim Evins <evins@snaught.com>
409 Optimize template search by name by using a GHashTable.
410 * src/mini-preview-pixbuf-cache.c:
411 * src/mini-preview-pixbuf-cache.h:
412 Store one pixbuf per template, but use a key for each alias.
413 * src/wdgt-media-select.c:
414 Optimize loading of tree data, thus optimizing the "new label" dialog.
416 2007-12-12 Jim Evins <evins@snaught.com>
418 * data/templates/avery-us-templates.xml:
419 More templates and aliases.
421 2007-12-08 Jim Evins <evins@snaught.com>
424 More prep for 2.1.5/2.2.0.
426 2007-12-08 Jim Evins <evins@snaught.com>
432 Preparation for 2.1.5.
434 2007-12-08 Jim Evins <evins@snaught.com>
436 * docs/libglabels/libglabels-decl-list.txt:
437 * docs/libglabels/libglabels-docs.sgml:
438 * docs/libglabels/libglabels-sections.txt:
439 * docs/libglabels/libglabels-undocumented.txt:
440 * docs/libglabels/tmpl/db.sgml:
441 * docs/libglabels/tmpl/str.sgml:
443 Documentation cleanup for libglabels.
445 2007-11-29 Jim Evins <evins@snaught.com>
449 Added lgl_db_does_template_name_exist().
450 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
453 Proof read recent templates -- make sure they still exist.
454 * src/wdgt-media-select.c:
455 Default to "search all templates" tab if no recent templates found.
457 2007-11-28 Jim Evins <evins@snaught.com>
459 * data/glade/wdgt-media-select.glade:
460 * src/wdgt-media-select.c:
461 Added tabbed notebook to allow selection of recent template versus searching the
465 2007-11-26 Jim Evins <evins@snaught.com>
467 * libglabels/Makefile.am:
468 * libglabels/libglabels.h:
471 * src/prefs-dialog.c:
476 Added tracking of recently used templates.
478 2007-11-20 Jim Evins <evins@snaught.com>
480 * data/glade/template-designer.glade:
481 * src/template-designer.c:
482 Added warning icon when match brand and part match an existing template.
484 2007-11-18 Jim Evins <evins@snaught.com>
486 * libglabels/Makefile.am:
489 Added lgl_str_utf8_casecmp().
490 * libglabels/libglabels-private.h:
491 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
492 * libglabels/db.c: (lgl_db_get_brand_list):
493 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
496 2007-11-18 Jim Evins <evins@snaught.com>
498 * data/glade/template-designer.glade:
499 * src/template-designer.c:
500 Don't advance past name page, if brand and part match an existing template.
502 2007-11-18 Jim Evins <evins@snaught.com>
504 * libglabels/db.c: (lgl_db_register_template), (read_templates):
505 When registering a new template, don't add to "User defined" category before
506 writing to file. Add to "User defined" category when reading from "~/.glabels"
507 directory instead. This will allow legacy templates (and manually created
508 templates) to be automatically added to the "user defined" category.
509 * libglabels/xml-template.c:
510 (lgl_xml_template_create_template_node):
511 Fixed typo/bug causing brand to be wrong.
513 2007-11-16 Jim Evins <evins@snaught.com>
517 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
518 function. Automatically create "User defined" category and add to all user
519 registered templates.
520 * libglabels/xml-template.c:
521 * libglabels/xml-template.h:
522 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
523 lgl_xml_template_write_template_to_file().
524 * docs/libglabels/libglabels-decl-list.txt:
525 * docs/libglabels/libglabels-sections.txt:
526 * docs/libglabels/libglabels-undocumented.txt:
527 * docs/libglabels/tmpl/db.sgml:
528 * docs/libglabels/tmpl/xml-template.sgml:
529 Update documentation to reflect above changes.
531 2007-10-28 Jim Evins <evins@snaught.com>
533 * libglabels/xml-template.c:
534 Remove any leading white space from part #s when parsing old names.
535 * src/mini-preview-pixbuf-cache.c:
536 If name isn't in cache add it.
538 2007-10-26 Jim Evins <evins@snaught.com>
540 * libglabels/Makefile.am:
541 * libglabels/category.c:
542 * libglabels/category.h:
545 * libglabels/libglabels-private.h:
546 * libglabels/libglabels.h:
547 * libglabels/paper.c:
548 * libglabels/paper.h:
549 * libglabels/template.c:
550 * libglabels/template.h:
551 * libglabels/xml-template.c:
552 Another pass at screwing with the libglabels API. Moved all
553 database related stuff to db.[ch].
554 * docs/libglabels/libglabels-decl-list.txt:
555 * docs/libglabels/libglabels-docs.sgml:
556 * docs/libglabels/libglabels-sections.txt:
557 * docs/libglabels/libglabels-undocumented.txt:
558 * docs/libglabels/tmpl/category.sgml:
559 * docs/libglabels/tmpl/db.sgml:
560 * docs/libglabels/tmpl/init.sgml:
561 * docs/libglabels/tmpl/libglabels-unused.sgml:
562 * docs/libglabels/tmpl/paper.sgml:
563 * docs/libglabels/tmpl/template-construction.sgml:
564 * docs/libglabels/tmpl/template-db.sgml:
565 * docs/libglabels/tmpl/template-misc.sgml:
566 * docs/libglabels/tmpl/template-struct.sgml:
567 * docs/libglabels/tmpl/template.sgml:
568 Updated documentation to reflect above changes to libglabels API.
570 * src/glabels-batch.c:
572 * src/mini-preview-pixbuf-cache.c:
575 * src/template-designer.c:
576 * src/wdgt-media-select.c:
577 * src/wdgt-mini-preview.c:
578 * src/wdgt-rotate-label.c:
579 * src/xml-label-04.c:
581 Reconciled usage with above libglabels API changes.
583 2007-10-21 Jim Evins <evins@snaught.com>
585 * data/glade/wdgt-media-select.glade:
586 * src/wdgt-media-select.c:
587 Added brand to filter settings.
589 2007-10-21 Jim Evins <evins@snaught.com>
591 * data/dtd/glabels-2.2.dtd:
592 Forgot to replace Alias name attribute with brand and part attributes.
593 * data/templates/avery-iso-templates.xml:
594 * data/templates/avery-other-templates.xml:
595 * data/templates/avery-us-templates.xml:
596 * data/templates/misc-iso-templates.xml:
597 * data/templates/misc-other-templates.xml:
598 * data/templates/misc-us-templates.xml:
599 * data/templates/zweckform-iso-templates.xml:
600 Replaced all name attributes with brand/part attribute pairs.
602 2007-10-20 Jim Evins <evins@snaught.com>
604 * src/stock-pixmaps/*.png
605 Updated icons to use Tango color palette.
607 2007-10-20 Jim Evins <evins@snaught.com>
609 * data/dtd/Makefile.am:
610 * data/dtd/glabels-2.0.dtd:
611 * data/dtd/glabels-2.2.dtd:
612 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
614 * libglabels/template.c:
615 * libglabels/template.h:
616 * libglabels/xml-template.c:
618 Added brand and part attributes to template and alias structures and nodes.
621 * src/mini-preview-pixbuf-cache.c:
622 * src/template-designer.c:
623 * src/wdgt-media-select.c:
624 Use modified libglabels API.
625 * docs/libglabels/libglabels-decl-list.txt:
626 * docs/libglabels/libglabels-sections.txt:
627 * docs/libglabels/libglabels-undocumented.txt:
628 * docs/libglabels/tmpl/template-construction.sgml:
629 * docs/libglabels/tmpl/template-db.sgml:
630 * docs/libglabels/tmpl/template-struct.sgml:
631 Update libglabels documentation to reflect above modifications.
633 2007-10-14 Jim Evins <evins@snaught.com>
635 * docs/libglabels/libglabels-decl-list.txt:
636 * docs/libglabels/libglabels-sections.txt:
637 * docs/libglabels/libglabels-undocumented.txt:
638 * docs/libglabels/tmpl/category.sgml:
639 * libglabels/category.c:
640 * libglabels/category.h:
641 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
642 parity with paper functions.
644 2007-10-12 Jim Evins <evins@snaught.com>
646 * docs/libglabels/libglabels-decl-list.txt:
647 * docs/libglabels/libglabels-sections.txt:
648 * docs/libglabels/libglabels-undocumented.txt:
649 * docs/libglabels/tmpl/category.sgml:
650 * docs/libglabels/tmpl/enums.sgml:
651 * docs/libglabels/tmpl/libglabels-unused.sgml:
652 * docs/libglabels/tmpl/paper.sgml:
653 * docs/libglabels/tmpl/template-struct.sgml:
655 * libglabels/template.c:
656 * libglabels/template.h:
657 Another pass at fleshing out the libglabels documentation.
658 * src/cairo-label-path.c:
659 * src/cairo-markup-path.c:
661 * src/mini-preview-pixbuf.c:
665 * src/wdgt-media-select.c:
666 * src/wdgt-mini-preview.c:
667 * src/wdgt-print-copies.c:
668 * src/wdgt-print-merge.c:
669 * src/wdgt-rotate-label.c:
670 Removed lgl_template_get_first_frame() from libglabels API and all references.
672 2007-10-11 Jim Evins <evins@snaught.com>
674 Extended checks for deprecated symbols.
675 * libglabels/template.c:
676 Removed g_strcasecmp references, which are deprecated.
678 2007-10-09 Jim Evins <evins@snaught.com>
680 * src/merge-evolution.c:
681 Create address book if it does not exist. Also, be more robust about handling
682 error conditions -- don't just assume GError has been set.
684 2007-10-08 Jim Evins <evins@snaught.com>
686 * libglabels/template.c:
687 * libglabels/xml-template.c:
688 * src/template-designer.c:
689 Missed some symbols with libglabels API work.
691 2007-10-01 Jim Evins <evins@snaught.com>
693 * docs/libglabels/libglabels-decl-list.txt:
694 * docs/libglabels/libglabels-docs.sgml:
695 * docs/libglabels/libglabels-sections.txt:
696 * docs/libglabels/libglabels-undocumented.txt:
697 * docs/libglabels/tmpl/category.sgml:
698 * docs/libglabels/tmpl/enums.sgml:
699 * docs/libglabels/tmpl/init.sgml:
700 * docs/libglabels/tmpl/libglabels-unused.sgml:
701 * docs/libglabels/tmpl/paper.sgml:
702 * docs/libglabels/tmpl/template-construction.sgml:
703 * docs/libglabels/tmpl/template-db.sgml:
704 * docs/libglabels/tmpl/template-misc.sgml:
705 * docs/libglabels/tmpl/template-struct.sgml:
706 * docs/libglabels/tmpl/template.sgml:
707 * docs/libglabels/tmpl/xml-category.sgml:
708 * docs/libglabels/tmpl/xml-template.sgml:
709 * libglabels/category.h:
711 * libglabels/libglabels-private.h:
712 * libglabels/paper.h:
713 * libglabels/template.c:
714 * libglabels/template.h:
715 * libglabels/xml-template.h:
716 Basic documentation framework for libglabels updated. This still needs some
719 2007-09-27 Jim Evins <evins@snaught.com>
721 * docs/libglabels/libglabels-decl-list.txt:
722 * docs/libglabels/libglabels-docs.sgml:
723 * docs/libglabels/libglabels-sections.txt:
724 * docs/libglabels/libglabels-undocumented.txt:
725 * docs/libglabels/tmpl/enums.sgml:
726 * docs/libglabels/tmpl/init.sgml:
727 * docs/libglabels/tmpl/libglabels-unused.sgml:
728 * docs/libglabels/tmpl/paper.sgml:
729 * docs/libglabels/tmpl/template.sgml:
730 * docs/libglabels/tmpl/xml-paper.sgml:
731 * docs/libglabels/tmpl/xml-template.sgml:
732 * docs/libglabels/tmpl/xml.sgml:
733 * libglabels/Makefile.am:
734 * libglabels/category.c:
735 * libglabels/category.h:
736 * libglabels/enums.h:
739 * libglabels/libglabels-private.h:
740 * libglabels/libglabels.h:
741 * libglabels/paper.c:
742 * libglabels/paper.h:
743 * libglabels/template.c:
744 * libglabels/template.h:
745 * libglabels/xml-category.c:
746 * libglabels/xml-category.h:
747 * libglabels/xml-paper.c:
748 * libglabels/xml-paper.h:
749 * libglabels/xml-template.c:
750 * libglabels/xml-template.h:
753 * src/cairo-label-path.c:
754 * src/cairo-label-path.h:
755 * src/cairo-markup-path.c:
756 * src/cairo-markup-path.h:
758 * src/glabels-batch.c:
760 * src/label-object.c:
763 * src/mini-preview-pixbuf-cache.c:
764 * src/mini-preview-pixbuf.c:
765 * src/mini-preview-pixbuf.h:
766 * src/prefs-dialog.c:
773 * src/template-designer.c:
774 * src/view-barcode.c:
776 * src/view-ellipse.c:
780 * src/wdgt-media-select.c:
781 * src/wdgt-mini-preview.c:
782 * src/wdgt-mini-preview.h:
783 * src/wdgt-print-copies.c:
784 * src/wdgt-print-merge.c:
785 * src/wdgt-rotate-label.c:
786 * src/xml-label-04.c:
788 Major cleanup of libglabels API -- this breaks API compatibility with older
789 development and stable versions -- as far as I know, there are currently
790 no external users of this library yet.
792 2007-09-14 Jim Evins <evins@snaught.com>
797 * src/label-object.c:
798 * src/label-object.h:
799 * src/label-barcode.c:
800 * src/label-ellipse.c:
803 * src/view-barcode.c:
805 * src/view-ellipse.c:
809 Better separation of model from view.
811 2007-08-21 Jim Evins <evins@snaught.com>
813 * src/print-op.c: (create_custom_widget_cb):
814 Fix problem with force_outline_flag -- don't override with default.
816 2007-08-21 Jim Evins <evins@snaught.com>
818 * data/dtd/glabels-2.0.dtd:
819 * libglabels/template.c:
820 * libglabels/template.h:
821 * libglabels/xml-template.c:
822 * src/cairo-markup-path.c:
823 Added "Markup-rect" element to template format.
825 2007-08-21 Jim Evins <evins@snaught.com>
828 Changed version to 2.1.pre5svn.
829 * src/view.c: (draw_markup_layer):
830 Do a stroke for each markup path, otherwise multiple markups
833 2007-08-17 Jim Evins <evins@snaught.com>
836 Bump libglabels revision numbers for 2.1.4 release.
838 2007-08-16 Jim Evins <evins@snaught.com>
841 Include subdir iec16022-0.2.1.
845 Preparation for 2.1.4.
848 2007-08-11 Jim Evins <evins@snaught.com>
854 Added Esperanto translation. Provided by Antonio C.
855 Codazzi "la Filozofo" <f_sophia@libero.it>.
857 Updated French translation. Provided by Claude Paroz
858 <claude@2xlibre.net>.
860 Updated to reflect above translations.
862 2007-08-11 Jim Evins <evins@snaught.com>
865 * data/templates/avery-iso-templates.xml:
866 * data/templates/avery-us-templates.xml:
867 * data/templates/misc-iso-templates.xml:
868 * data/templates/misc-other-templates.xml:
869 * data/templates/misc-us-templates.xml:
870 * data/templates/zweckform-iso-templates.xml:
871 Caught up with backlog of template submissions.
873 2007-08-10 Jim Evins <evins@snaught.com>
875 * src/bc-postnet.c: (gl_barcode_postnet_new):
877 Added support for Brazilian CEPNet barcodes. This is simply an
878 instance of the US POSTNET format with 8 digits. Patch supplied
879 by Mário Meyer in bug # 1768792.
881 Updated acknowledgments to reflect above patch and recent shuffling
882 of underlying technology.
884 2007-05-13 Jim Evins <evins@snaught.com>
886 * src/merge-text.c: (parse_line), (parse_field):
887 Remove leading and trailing spaces from CSV fields, unless quoted.
889 2007-05-09 Jim Evins <evins@snaught.com>
891 * src/object-editor-bc-page.c:
892 * src/object-editor-data-page.c:
893 * src/object-editor-fill-page.c:
894 * src/object-editor-image-page.c:
895 * src/object-editor-line-page.c:
896 * src/object-editor-lsize-page.c:
897 * src/object-editor-position-page.c:
898 * src/object-editor-private.h:
899 * src/object-editor-shadow-page.c:
900 * src/object-editor-size-page.c:
901 * src/object-editor-text-page.c:
902 * src/object-editor.c:
903 * src/prefs-dialog.c:
904 * src/template-designer.c:
905 * src/ui-property-bar.c:
906 * src/wdgt-media-select.c:
907 Replaced signal block/unblock pairs with simple flags. This reduces
908 some code clutter, hopefully making it easier to read.
910 2007-05-05 Jim Evins <evins@snaught.com>
912 * src/template-designer.c: (apply_cb):
913 Add new template to mini-preview pixbuf cache.
915 2007-05-03 Jim Evins <evins@snaught.com>
917 * src/label-image.c: (gl_label_image_init), (draw_object):
918 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
921 2007-05-02 Jim Evins <evins@snaught.com>
923 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
924 (button_release_event_cb):
925 Removed attempt at rendering optimization by clipping the updates
926 to areas affected -- this actually seemed to hurt update performance.
928 2007-04-30 Jim Evins <evins@snaught.com>
931 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
932 (gl_color_node_equal), (gl_color_node_expand):
933 * src/label-barcode.c: (draw_object):
934 * src/label-box.c: (draw_object), (draw_shadow):
935 * src/label-ellipse.c: (draw_object), (draw_shadow):
936 * src/label-line.c: (draw_object), (draw_shadow):
937 * src/label-text.c: (draw_object), (draw_shadow):
938 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
939 * src/wdgt-rotate-label.c: (drawingarea_update):
940 Some cleanup to color related code.
942 2007-04-30 Jim Evins <evins@snaught.com>
945 Added glLabelRegion structure type.
946 * src/label-object.c: (gl_label_object_get_extent):
947 * src/label-object.h:
948 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
950 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
951 (gl_view_select_region), (gl_view_align_selection_left),
952 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
953 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
954 (gl_view_align_selection_vcenter),
955 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
956 (gl_view_move_selection), (gl_view_can_selection_text),
957 (motion_notify_event_cb), (button_press_event_cb),
958 (button_release_event_cb):
959 - Reconcile with new gl_label_object_get_extent() API.
960 - Use glLabelRegion for view->select_region.
961 - Added gl_view_update_region() to clip updates to region.
962 - Use gl_view_update_region() during manipulation of view->select_region.
964 2007-04-26 Jim Evins <evins@snaught.com>
966 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
967 (draw_label_outline):
968 * src/print.c: (print_crop_marks), (draw_outline):
969 * src/view-object.c: (gl_view_object_draw_handles):
970 * src/view.c: (draw_bg_layer), (draw_grid_layer),
971 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
972 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
973 * src/wdgt-rotate-label.c: (drawingarea_update):
974 Added defines for various magic numbers.
976 2007-04-25 Jim Evins <evins@snaught.com>
978 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
979 Scale text down. Cairo seems to render text too large.
981 2007-04-25 Jim Evins <evins@snaught.com>
984 * src/view.c: (gl_view_update), (expose_cb),
985 (motion_notify_event_cb), (button_press_event_cb),
986 (button_release_event_cb):
987 - Try not to let updates get backed up.
988 - Grab pointer when doing any drag operations.
990 2007-04-11 Jim Evins <evins@snaught.com>
992 * src/cairo-label-path.c: (gl_cairo_label_path),
993 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
994 (gl_cairo_cd_label_path):
995 * src/cairo-label-path.h:
996 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
997 (draw_label_outline):
998 * src/print.c: (draw_outline), (clip_to_outline):
999 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1000 * src/wdgt-mini-preview.c: (draw_labels):
1001 * src/wdgt-rotate-label.c: (drawingarea_update):
1002 Modified to universally use gl_cairo_label_path() to create paths
1003 for labels. Added shadow to mini preview in rotate widget.
1005 2007-04-10 Jim Evins <evins@snaught.com>
1007 * libglabels/template.h:
1008 * libglabels/template.c: (gl_template_get_name_list_unique),
1009 (gl_template_get_name_list_all), (gl_template_from_name):
1010 Modified libglabels to allow you to get a list of all template names
1011 including all aliases or just a list of primary names of each unique
1014 * src/file.c: (gl_file_properties):
1015 * src/glabels.c: (main):
1016 * src/mini-preview-pixbuf-cache.h:
1017 * src/mini-preview-pixbuf-cache.c:
1018 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1019 (filter_changed_cb), (load_list):
1020 Added mini-preview pixbuf cache, so that only one mini-preview is
1021 needed for a unique template and gets reused for all aliases. These
1022 pixbufs will also live for the life of the program so they are not
1023 rebuilt everytime a new label dialog is invoked.
1024 * src/mini-preview-pixbuf.c: (draw_paper),
1025 (draw_rect_label_outline), (draw_round_label_outline),
1026 (draw_cd_label_outline):
1027 Removed some comment artifacts.
1029 2007-04-04 Jim Evins <evins@snaught.com>
1031 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1032 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1033 (draw_round_label_outline), (draw_cd_label_outline):
1034 * src/wdgt-media-select.c: (load_list):
1035 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1036 Cosmetic enhancments to mini previews.
1038 2007-04-04 Jim Evins <evins@snaught.com>
1040 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1041 (gl_ui_property_bar_construct):
1042 Save copy of GladeXML tree so that we don't lose tooltips.
1044 2007-04-02 Jim Evins <evins@snaught.com>
1046 * src/merge-properties-dialog.c:
1047 * src/new-label-dialog.c:
1048 * src/object-editor.c:
1049 * src/prefs-dialog.c:
1051 * src/template-designer.c:
1052 * src/ui-property-bar.c:
1053 * src/wdgt-media-select.c:
1054 * src/wdgt-rotate-label.c:
1055 Fixed several memory leaks.
1057 2007-04-01 Jim Evins <evins@snaught.com>
1059 * src/label-text.c: (gl_label_text_init), (copy),
1060 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1061 (set_font_family), (set_font_size), (set_font_weight),
1062 (set_font_italic_flag), (set_text_alignment),
1063 (set_text_line_spacing):
1064 Cache object size, so that expensive extent calculations are only done
1067 2007-03-30 Jim Evins <evins@snaught.com>
1069 * src/prefs-model.c: (gl_prefs_model_load_settings):
1070 Default to an unlimited list of recent documents, since this parameter
1071 seems to be pre-filter anyway.
1073 2007-03-30 Jim Evins <evins@snaught.com>
1075 * src/label-box.c: (draw_shadow):
1076 * src/label-ellipse.c: (draw_shadow):
1077 Added missing shadow fill.
1079 2007-03-28 Jim Evins <evins@snaught.com>
1081 * src/ui-commands.c: (gl_ui_cmd_file_print):
1082 Unreferencing the print operation sometimes crashes. Just don't do it
1085 2007-03-28 Jim Evins <evins@snaught.com>
1087 * src/print-op.c: (gl_print_op_construct),
1088 (gl_print_op_get_settings), (gl_print_op_set_settings),
1089 (gl_print_op_free_settings), (create_custom_widget_cb):
1091 * src/ui-commands.c: (gl_ui_cmd_file_print):
1092 * src/window.c: (gl_window_init):
1094 Save print settings and custom settings between print operations
1097 2007-03-24 Jim Evins <evins@snaught.com>
1099 * src/object-editor-image-page.c:
1100 (gl_object_editor_prepare_image_page),
1101 (gl_object_editor_set_image), (img_selection_changed_cb):
1102 Workaround for GtkFileChooserButton bug # 327243. This the root
1103 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1104 "selection-changed" signals -- the first 2 return NULL -- this is
1105 what caused the image to reset to the default followed by setting
1106 it back to the original image, trying to fit it into a new bounding
1107 box. This sequence of events is much more evident with the new
1110 2007-03-23 Jim Evins <evins@snaught.com>
1112 Merged all changes from experimental cairo branch to trunk.
1113 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1115 2007-03-23 Jim Evins <evins@snaught.com>
1117 * src/label-object.h:
1118 * src/label-object.c: (gl_label_object_class_init),
1119 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1120 Created "get_raw_size" method.
1121 * src/label-barcode.c: (get_size):
1122 * src/xml-label.c: (xml_create_object_text),
1123 (xml_create_object_barcode):
1124 Use new "get_raw_size" method on label-objects when apropos.
1126 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1127 (auto_shrink_font_size):
1128 Added "auto shrink" functionality back.
1130 2007-03-19 Jim Evins <evins@snaught.com>
1132 * src/label-text.c: (draw_object), (draw_shadow):
1133 Don't use negative scales in workaround from previous commit.
1136 2007-03-18 Jim Evins <evins@snaught.com>
1139 Forgot to remove include of xml-lable-191 in previous commit.
1140 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1141 Workaround for pango Bug #341481. Render text at device scale,
1142 and scale font size accordingly. Also, don't do any hinting.
1144 2007-03-18 Jim Evins <evins@snaught.com>
1146 * src/cairo-ellipse-path.c:
1147 * src/cairo-ellipse-path.h:
1148 Forgot to add these new files during last mass commit.
1150 2007-03-18 Jim Evins <evins@snaught.com>
1153 * src/xml-label-191.c:
1154 * src/xml-label-191.h:
1155 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1156 so there is no need to keep compatability.
1158 * src/bc-iec16022.c:
1159 * src/cairo-label-path.c:
1160 * src/cairo-label-path.h:
1161 * src/cairo-markup-path.c:
1165 * src/glabels-batch.c:
1167 * src/label-barcode.c:
1169 * src/label-ellipse.c:
1170 * src/label-image.c:
1172 * src/label-object.c:
1173 * src/label-object.h:
1177 * src/merge-properties-dialog.c:
1179 * src/new-label-dialog.c:
1180 * src/object-editor-bc-page.c:
1181 * src/object-editor-data-page.c:
1182 * src/object-editor-edit-page.c:
1183 * src/object-editor-fill-page.c:
1184 * src/object-editor-image-page.c:
1185 * src/object-editor-line-page.c:
1186 * src/object-editor-private.h:
1187 * src/object-editor-shadow-page.c:
1188 * src/object-editor-text-page.c:
1189 * src/object-editor.c:
1190 * src/pixbuf-cache.c:
1195 * src/template-designer.c:
1197 * src/ui-property-bar.c:
1199 * src/view-barcode.c:
1201 * src/view-ellipse.c:
1204 * src/view-object.c:
1205 * src/view-object.h:
1208 * src/wdgt-media-select.c:
1209 * src/wdgt-print-copies.c:
1210 * src/wdgt-print-merge.c:
1212 * src/xml-label-04.c:
1214 Many changes, including:
1215 - Move draw methods from view-*() to label-*().
1216 - Use same drawing code for on screen view and printing.
1217 - Fix all issues exposed with '-Wall -Werror'.
1219 2007-03-14 Jim Evins <evins@snaught.com>
1222 * src/cairo-handle-path.c:
1223 * src/cairo-handle-path.h:
1224 * src/cairo-object-path.c:
1225 * src/cairo-object-path.h:
1226 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1227 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1229 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1230 (draw_shadow), (object_at):
1231 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1232 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1233 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1235 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1236 (draw_shadow), (object_at):
1237 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1238 (create_handle_path), (gl_view_object_draw_handles),
1239 (gl_view_object_handle_at):
1240 * src/view-object.h:
1241 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1242 (draw_shadow), (object_at):
1243 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1244 Some restructuring of new code.
1246 2007-03-12 Jim Evins <evins@snaught.com>
1249 * src/cairo-object-path.c:
1250 * src/view-barcode.c:
1251 * src/view-barcode.h:
1253 Added barcode object support to view.
1255 2007-03-12 Jim Evins <evins@snaught.com>
1261 * src/cairo-object-path.c:
1262 * src/cairo-object-path.h:
1264 * src/view-ellipse.c:
1267 * src/view-object.c:
1268 * src/view-object.h:
1269 Added text object support to view. Added object_at method to all
1272 2007-03-11 Jim Evins <evins@snaught.com>
1275 * src/cairo-object-path.c: (gl_cairo_object_path),
1276 (gl_cairo_image_object_path):
1277 * src/view-image.c: (gl_view_image_class_init),
1278 (gl_view_image_finalize), (gl_view_image_new),
1279 (update_editor_from_label_cb), (draw),
1280 (gl_view_image_get_create_cursor),
1281 (gl_view_image_create_button_press_event),
1282 (gl_view_image_create_motion_event),
1283 (gl_view_image_create_button_release_event):
1285 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1286 (selection_received_cb), (motion_notify_event_cb),
1287 (button_press_event_cb), (button_release_event_cb):
1288 Added image object support to view.
1290 2007-03-11 Jim Evins <evins@snaught.com>
1293 * src/cairo-object-path.c: (gl_cairo_object_path),
1294 (gl_cairo_line_object_path):
1295 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1296 (update_object_from_editor_cb), (update_editor_from_object_cb),
1297 (update_editor_from_label_cb), (draw),
1298 (gl_view_line_get_create_cursor),
1299 (gl_view_line_create_button_press_event),
1300 (gl_view_line_create_motion_event),
1301 (gl_view_line_create_button_release_event):
1303 * src/view-object.c: (gl_view_object_resize_event):
1304 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1305 (selection_received_cb), (motion_notify_event_cb),
1306 (button_press_event_cb), (button_release_event_cb):
1307 Added line object support to view.
1308 * src/cairo-handle-path.c:
1309 Made handles slightly larger.
1312 2007-03-11 Jim Evins <evins@snaught.com>
1315 * src/cairo-handle-path.c:
1316 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1317 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1318 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1319 (gl_cairo_markup_margin_round_path),
1320 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1321 * src/cairo-object-path.c: (gl_cairo_object_path),
1322 (gl_cairo_ellipse_object_path):
1323 * src/label-object.c: (gl_label_object_rotate):
1326 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1327 (gl_view_ellipse_new), (update_object_from_editor_cb),
1328 (update_editor_from_object_cb), (update_editor_from_label_cb),
1329 (draw), (gl_view_ellipse_get_create_cursor),
1330 (gl_view_ellipse_create_button_press_event),
1331 (gl_view_ellipse_create_motion_event),
1332 (gl_view_ellipse_create_button_release_event):
1333 * src/view-ellipse.h:
1334 * src/view-object.c:
1335 * src/view-object.h:
1336 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1337 (select_object_real), (selection_received_cb),
1338 (motion_notify_event_cb), (button_press_event_cb),
1339 (button_release_event_cb):
1341 Added ellipse object support to view. Plus other cleanup.
1343 2007-03-11 Jim Evins <evins@snaught.com>
1346 * src/view-box.c: (gl_view_box_get_create_cursor),
1347 (gl_view_box_create_button_press_event),
1348 (gl_view_box_create_motion_event),
1349 (gl_view_box_create_button_release_event):
1350 * src/view-object.c: (gl_view_object_set_view),
1351 (gl_view_object_handle_at):
1353 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1354 (motion_notify_event_cb), (button_press_event_cb),
1355 (button_release_event_cb), (key_press_event_cb):
1356 Added creation code for box object.
1358 2007-03-09 Jim Evins <evins@snaught.com>
1360 * src/view-object.c: (gl_view_object_resize_event):
1361 * src/view-object.h:
1362 * src/view.c: (motion_notify_event_cb):
1363 Fix bugs with resizing transformed objects.
1364 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1365 * src/cairo-object-path.c: (gl_cairo_object_path):
1366 * src/cairo-object-path.h:
1367 * src/label-object.c: (gl_label_object_init),
1368 (gl_label_object_dup), (gl_label_object_get_extent),
1369 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1370 (gl_label_object_rotate), (gl_label_object_set_matrix),
1371 (gl_label_object_get_matrix):
1372 * src/label-object.h:
1373 * src/print.c: (draw_object):
1375 * src/view-highlight.c:
1376 * src/view-highlight.h:
1377 * src/xml-label-191.c: (xml191_parse_object):
1378 * src/xml-label.c: (xml_parse_affine_attrs),
1379 (xml_create_affine_attrs):
1380 Replace libart affine matrices with cairo matrices.
1382 2007-03-08 Jim Evins <evins@snaught.com>
1384 * src/view-object.h:
1385 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1386 * src/view-object.c: (gl_view_object_handle_at),
1387 (gl_view_object_resize_event):
1388 Added resize code -- still a bit buggy.
1390 2007-03-07 Jim Evins <evins@snaught.com>
1393 * src/cairo-handle-path.c:
1394 * src/cairo-handle-path.h:
1395 * src/view-box.c: (gl_view_box_new):
1396 * src/view-object.c: (gl_view_object_set_object),
1397 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1398 * src/view-object.h:
1399 * src/view.c: (draw_highlight_layer), (select_object_real),
1400 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1401 (button_press_event_cb), (button_release_event_cb),
1402 (key_press_event_cb):
1404 Added beginnings of object resize handles.
1406 2007-03-07 Jim Evins <evins@snaught.com>
1409 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1410 (gl_view_object_create_mode), (motion_notify_event_cb),
1411 (button_press_event_cb), (button_release_event_cb),
1412 (key_press_event_cb):
1413 Added move selection support.
1415 2007-03-05 Jim Evins <evins@snaught.com>
1417 * src/cairo-object-path.c: (gl_cairo_object_path):
1418 * src/view-object.c: (gl_view_object_draw),
1419 (gl_view_object_draw_highlight):
1420 * src/view.c: (view_object_at), (motion_notify_event_cb),
1421 (button_press_event_cb), (button_release_event_cb):
1422 Additional refinements to select logic.
1424 2007-03-05 Jim Evins <evins@snaught.com>
1427 * src/view.c: (gl_view_init), (gl_view_construct),
1428 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1429 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1430 (button_press_event_cb), (button_release_event_cb):
1431 Added initial select region support and context menu.
1433 2007-03-04 Jim Evins <evins@snaught.com>
1444 * src/ui-commands.c:
1447 * src/view-object.c:
1448 * src/view-object.h:
1451 * src/wdgt-print-copies.c:
1452 * src/wdgt-print-merge.c:
1454 Initial port to a raw Cairo canvas. This removes all remaining
1455 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1456 the view is becoming a canvas widget in its own right. Still needs
1458 * src/cairo-label-path.c:
1459 * src/cairo-label-path.h:
1460 * src/cairo-markup-path.c:
1461 * src/cairo-markup-path.h:
1462 * src/cairo-object-path.c:
1463 * src/cairo-object-path.h:
1464 New files to support cairo canvas.
1465 * src/canvas-hacktext.c:
1466 * src/canvas-hacktext.h:
1469 2007-02-18 Jim Evins <evins@snaught.com>
1472 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1474 2007-02-14 Jim Evins <evins@snaught.com>
1478 * src/bc-gnubarcode.c:
1479 * src/bc-gnubarcode.h:
1484 * src/canvas-hacktext.c:
1485 * src/canvas-hacktext.h:
1492 * src/label-barcode.c:
1493 * src/label-barcode.h:
1496 * src/label-ellipse.c:
1497 * src/label-ellipse.h:
1498 * src/label-image.c:
1499 * src/label-image.h:
1502 * src/label-object.c:
1503 * src/label-object.h:
1508 * src/merge-evolution.c:
1509 * src/merge-evolution.h:
1512 * src/merge-properties-dialog.c:
1513 * src/merge-properties-dialog.h:
1516 * src/merge-vcard.c:
1517 * src/merge-vcard.h:
1520 * src/mini-preview-pixbuf.h:
1521 * src/new-label-dialog.c:
1522 * src/new-label-dialog.h:
1523 * src/object-editor-bc-page.c:
1524 * src/object-editor-data-page.c:
1525 * src/object-editor-edit-page.c:
1526 * src/object-editor-fill-page.c:
1527 * src/object-editor-image-page.c:
1528 * src/object-editor-line-page.c:
1529 * src/object-editor-lsize-page.c:
1530 * src/object-editor-position-page.c:
1531 * src/object-editor-private.h:
1532 * src/object-editor-size-page.c:
1533 * src/object-editor-text-page.c:
1534 * src/object-editor.c:
1535 * src/object-editor.h:
1536 * src/pixbuf-cache.c:
1537 * src/pixbuf-cache.h:
1538 * src/prefs-dialog.c:
1539 * src/prefs-dialog.h:
1540 * src/prefs-model.c:
1541 * src/prefs-model.h:
1547 * src/template-designer.c:
1550 * src/ui-commands.c:
1551 * src/ui-commands.h:
1552 * src/ui-property-bar.c:
1553 * src/ui-property-bar.h:
1562 * src/view-barcode.c:
1563 * src/view-barcode.h:
1566 * src/view-ellipse.c:
1567 * src/view-ellipse.h:
1568 * src/view-highlight.c:
1569 * src/view-highlight.h:
1574 * src/view-object.c:
1575 * src/view-object.h:
1580 * src/wdgt-chain-button.c:
1581 * src/wdgt-chain-button.h:
1582 * src/wdgt-media-select.c:
1583 * src/wdgt-mini-preview.c:
1584 * src/wdgt-print-copies.c:
1585 * src/wdgt-print-copies.h:
1586 * src/wdgt-print-merge.c:
1587 * src/wdgt-print-merge.h:
1588 * src/wdgt-rotate-label.c:
1590 * src/xml-label-04.c:
1591 * src/xml-label-04.h:
1592 * src/xml-label-191.c:
1593 * src/xml-label-191.h:
1597 Assorted superficial cleanup. Including:
1598 - Use G_DEFINE_TYPE for all objects.
1599 - Reconcile style of all class initializer functions
1600 - Reconcile style of all finalize functions
1601 - Add emacs mode line to all source files
1603 2007-02-06 Jim Evins <evins@snaught.com>
1605 Assorted cleanup and removal of deprecated items.
1610 Removed annoying splash screen.
1611 * src/glabels-batch.c: (main):
1612 * src/glabels.c: (main):
1613 Converted from popt to GOption.
1614 * src/object-editor-shadow-page.c:
1615 (gl_object_editor_set_shadow_state):
1616 Removed deprecated method on GtkToggleButton.
1617 * src/ui-commands.c: (gl_ui_cmd_help_about):
1618 Removed dependency on libgnomui/qnome-url.h.
1619 * src/template-designer.c:
1620 Removed dependency on libgnome/gnome-program.h.
1623 2007-02-04 Jim Evins <evins@snaught.com>
1627 * src/prefs-model.c:
1628 * src/print.c: (draw_text_object):
1629 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1630 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1632 2007-02-04 Jim Evins <evins@snaught.com>
1634 * src/wdgt-mini-preview.c:
1635 * src/wdgt-mini-preview.h:
1636 Ported widget from GnomeCanvas to Cairo.
1638 2007-02-03 Jim Evins <evins@snaught.com>
1640 * data/glade/template-designer.glade:
1641 * src/template-designer.c:
1642 * src/template-designer.h:
1643 Ported GnomeDruid to GtkAssistant. Since libglade does not
1644 yet support the GtkAssistant and we derive directly from
1645 the Assistant, the pages are layed out in a GtkNotebook in
1646 the glade description -- we then append each page to the
1649 2007-01-25 Jim Evins <evins@snaught.com>
1651 * data/glade/object-editor.glade:
1652 Added dummy page to notebook, to prevent shadow page from
1653 becoming the default current page at creation.
1654 * src/view-box.c: (construct_properties_editor):
1655 * src/view-ellipse.c: (construct_properties_editor):
1656 * src/view-line.c: (construct_properties_editor):
1657 * src/view-text.c: (construct_properties_editor):
1658 Reconciled order of params.
1660 2007-01-19 Jim Evins <evins@snaught.com>
1662 * src/label-barcode.h:
1663 * src/label-object.c: (gl_label_object_set_font_weight),
1664 (gl_label_object_set_text_alignment),
1665 (gl_label_object_get_font_weight),
1666 (gl_label_object_get_text_alignment):
1667 * src/label-object.h:
1668 * src/label-text.c: (gl_label_text_instance_init), (copy),
1669 (get_size), (set_font_family), (set_font_weight),
1670 (set_text_alignment), (get_font_weight), (get_text_alignment):
1672 * src/object-editor-text-page.c:
1673 (gl_object_editor_prepare_text_page),
1674 (gl_object_editor_set_font_family),
1675 (gl_object_editor_set_font_weight),
1676 (gl_object_editor_get_font_weight),
1677 (gl_object_editor_set_text_alignment),
1678 (gl_object_editor_get_text_alignment),
1679 (gl_object_editor_set_text_color):
1680 * src/object-editor.h:
1681 * src/prefs-dialog.c: (construct_object_page),
1682 (update_object_page_from_prefs), (update_prefs_from_object_page):
1683 * src/prefs-model.c: (gl_prefs_model_save_settings),
1684 (gl_prefs_model_load_settings):
1685 * src/prefs-model.h:
1686 * src/print.c: (draw_text_object):
1687 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1688 (reset_to_default_properties), (update_text_properties),
1689 (font_bold_toggled_cb), (text_align_toggled_cb):
1691 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1692 (gl_util_weight_to_string), (gl_util_string_to_weight),
1693 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1695 * src/view-text.c: (update_object_from_editor_cb),
1696 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1697 * src/view.c: (gl_view_set_selection_text_alignment),
1698 (gl_view_set_default_text_alignment),
1699 (gl_view_get_default_text_alignment):
1701 * src/xml-label-04.c: (xml04_parse_text_props):
1702 * src/xml-label-191.c: (xml191_parse_text_props):
1703 * src/xml-label.c: (xml_parse_object_text),
1704 (xml_parse_toplevel_span), (xml_create_object_text),
1705 (xml_create_toplevel_span):
1706 Converted all model internals to Pango. GnomeFont remains in
1707 view until GnomeCanvas can be replaced with a cairo-based canvas.
1709 2007-01-17 Jim Evins <evins@snaught.com>
1715 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1716 (gl_wdgt_print_copies_construct):
1717 * src/wdgt-print-copies.h:
1718 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1719 (gl_wdgt_print_merge_construct):
1720 * src/wdgt-print-merge.h:
1721 Removed all remaining HIG wrapper widgets.
1723 2007-01-16 Jim Evins <evins@snaught.com>
1726 * src/print-dialog.c:
1727 * src/print-dialog.h:
1730 * src/template-designer.c: (print_test_cb):
1731 * src/ui-commands.c: (gl_ui_cmd_file_print):
1733 Renamed PrintDialog to PrintOp. Added constructor for batch
1735 * src/glabels-batch.c: (main):
1736 Converted to use new PrintOp object for printing.
1738 2007-01-15 Jim Evins <evins@snaught.com>
1740 * data/glade/Makefile.am:
1741 * data/glade/print-custom-widget.glade:
1742 * src/print-dialog.c:
1743 * src/print-dialog.h:
1746 * src/template-designer.c: (print_test_cb):
1747 * src/ui-commands.c: (gl_ui_cmd_file_print):
1748 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1749 * src/wdgt-print-merge.h:
1750 * src/window.c: (gl_window_init):
1752 Initial conversion to GtkPrintOperation.
1754 - Remove font and other libgnomeprint[ui] from elsewhere
1755 - Add batch initialization of print operation
1757 2007-01-08 Jim Evins <evins@snaught.com>
1759 Updated dependencies. Set version to 2.1.pre4cvs.
1761 2007-01-03 Jim Evins <evins@snaught.com>
1763 * src/recent-files/*
1764 Removed EggRecent stuff.
1770 * src/ui-commands.c:
1771 * src/ui-commands.h:
1773 Ported from EggRecent to GtkRecentManager.
1776 2007-01-02 Jim Evins <evins@snaught.com>
1779 * iec16022-0.2.1/BUGS:
1780 * iec16022-0.2.1/CHANGELOG:
1781 * iec16022-0.2.1/CREDITS:
1782 * iec16022-0.2.1/INSTALL:
1783 * iec16022-0.2.1/LICENSE:
1784 * iec16022-0.2.1/Makefile.am:
1785 * iec16022-0.2.1/Makefile.dist:
1786 * iec16022-0.2.1/README:
1787 * iec16022-0.2.1/README.glabels:
1788 * iec16022-0.2.1/TODO:
1789 * iec16022-0.2.1/iec16022.1:
1790 * iec16022-0.2.1/iec16022.c:
1791 * iec16022-0.2.1/iec16022ecc200.c:
1792 * iec16022-0.2.1/iec16022ecc200.h:
1793 * iec16022-0.2.1/image.c:
1794 * iec16022-0.2.1/image.h:
1795 * iec16022-0.2.1/reedsol.c:
1796 * iec16022-0.2.1/reedsol.h:
1797 * iec16022-0.2.1/test/testsuite-example.bin:
1798 * iec16022-0.2.1/test/testsuite-example.eps:
1799 * iec16022-0.2.1/test/testsuite-example.hex:
1800 * iec16022-0.2.1/test/testsuite-example.png:
1801 * iec16022-0.2.1/test/testsuite-example.text:
1802 * iec16022-0.2.1/test/testsuite.sh:
1803 Include modified copy of iec16022-0.2.1 to provide encoding
1804 support for datamatrix 2D barcodes.
1806 * src/bc-iec16022.c:
1807 * src/bc-iec16022.h:
1809 Added initial datamatrix 2D barcode backend to barcode code.
1812 Automatic updates to later versions of these files.
1814 2006-11-28 Jim Evins <evins@snaught.com>
1816 * data/templates/avery-iso-templates.xml:
1817 * data/templates/avery-us-templates.xml:
1818 * data/templates/categories.xml:
1819 * data/templates/misc-iso-templates.xml:
1820 * data/templates/misc-us-templates.xml:
1821 * data/templates/zweckform-iso-templates.xml:
1822 More categorization.
1824 2006-09-12 Jim Evins <evins@snaught.com>
1826 * data/dtd/glabels-2.0.dtd:
1827 * data/templates/Makefile.am:
1828 * data/templates/avery-iso-templates.xml:
1829 * data/templates/avery-other-templates.xml:
1830 * data/templates/avery-us-templates.xml:
1831 * data/templates/categories.xml:
1832 * data/templates/misc-iso-templates.xml:
1833 * data/templates/misc-other-templates.xml:
1834 * data/templates/zweckform-iso-templates.xml:
1835 * data/glade/Makefile.am:
1836 * data/glade/new-label-dialog.glade:
1837 * data/glade/wdgt-media-select.glade:
1838 * data/glade/wdgt-rotate-label.glade:
1839 * libglabels/Makefile.am:
1840 * libglabels/category.c:
1841 * libglabels/category.h:
1842 * libglabels/libglabels.h:
1843 * libglabels/paper.c:
1844 * libglabels/template.c:
1845 * libglabels/template.h:
1846 * libglabels/xml-category.c:
1847 * libglabels/xml-category.h:
1848 * libglabels/xml-template.c:
1849 Added support for category meta data.
1852 * src/mini-preview-pixbuf.c:
1853 * src/mini-preview-pixbuf.h:
1854 * src/new-label-dialog.c:
1855 * src/new-label-dialog.h:
1856 * src/wdgt-media-select.c:
1857 * src/wdgt-media-select.h:
1858 * src/wdgt-rotate-label.c:
1859 * src/wdgt-rotate-label.h:
1860 New "new label" dialog.
1862 2006-05-27 Jim Evins <evins@snaught.com>
1867 Preparation for 2.1.3.
1873 2006-05-22 Jim Evins <evins@snaught.com>
1875 * src/print.c: (draw_barcode_object):
1876 Don't print "Invalid barcode data" if data field is empty. Patch provided
1877 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1879 Added acknowledgment for above patch.
1880 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1881 * src/bc-postnet.c: (postnet_code):
1882 Removed "Invalid barcode data" warnings from stderr.
1883 * src/view-barcode.c: (draw_barcode):
1884 Draw box around barcode extent if data empty or invalid. Center a
1885 message whether the data is empty or invalid in box.
1887 2006-05-22 Jim Evins <evins@snaught.com>
1889 * src/print.c: (draw_text_object):
1890 Check shadow state when printing text.
1892 2006-05-20 Jim Evins <evins@snaught.com>
1894 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1895 (gl_ui_cmd_view_markup_toggle):
1896 Fixed crash when grid or markup have been toggled off during
1897 a previous session. Bug #1434324.
1899 2006-04-05 Jim Evins <evins@snaught.com>
1901 * src/object-editor.c: (gl_object_editor_set_key_names):
1902 Fixed potential crash when freeing empty key list.
1904 2006-03-11 Jim Evins <evins@snaught.com>
1906 * src/print.c: (draw_text_object):
1907 * src/view-text.c: (gl_view_text_new),
1908 (construct_properties_editor), (update_object_from_editor_cb),
1909 (update_editor_from_object_cb), (update_editor_from_label_cb),
1911 Added shadow support to text object.
1913 2006-02-18 Jim Evins <evins@snaught.com>
1915 * src/print.c: (draw_line_object):
1916 * src/view-line.c: (gl_view_line_new),
1917 (construct_properties_editor), (update_canvas_item_from_object_cb),
1918 (update_object_from_editor_cb), (update_editor_from_object_cb),
1919 (update_editor_from_label_cb):
1920 Added shadow support to line object.
1922 2006-02-16 Jim Evins <evins@snaught.com>
1926 * src/print.c: (draw_ellipse_object):
1927 * src/view-ellipse.c: (gl_view_ellipse_new),
1928 (construct_properties_editor), (update_canvas_item_from_object_cb),
1929 (update_object_from_editor_cb), (update_editor_from_object_cb),
1930 (update_editor_from_label_cb):
1931 Added shadow support to ellipse object.
1933 2006-02-15 Jim Evins <evins@snaught.com>
1935 * src/label-object.c:
1936 Changed default shadow offsets.
1937 * src/view-box.c: (gl_view_box_new):
1938 Simplified gl_view_box_new() so that is does not duplicate code
1939 in update_canvas_item_from_object_cb().
1941 2006-02-07 Jim Evins <evins@snaught.com>
1943 * data/glade/object-editor.glade:
1944 Fixed color groups of color combos.
1946 Added default shadow color.
1947 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1948 Added shadow color group.
1950 2006-02-06 Jim Evins <evins@snaught.com>
1952 * src/object-editor-shadow-page.c:
1953 Forgot to add this file.
1954 * src/view-box.c: (gl_view_box_new),
1955 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1956 Update limits on shadow offset spinbuttons.
1958 2006-01-19 Jim Evins <evins@snaught.com>
1960 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1961 Initialize key_list to NULL.
1962 * data/glade/object-editor.glade:
1966 * src/label-object.c:
1967 * src/label-object.h:
1968 * src/object-editor-fill-page.c:
1969 * src/object-editor-private.h:
1970 * src/object-editor.c:
1971 * src/object-editor.h:
1973 Created infrastructure for shadow support.
1976 Initial shadow support in box object only.
1978 2006-01-05 Jim Evins <evins@snaught.com>
1980 * src/merge-properties-dialog.c: (src_changed_cb):
1981 Be extra paranoid before calling strcmp().
1982 * src/merge.c: (gl_merge_set_src):
1983 Don't make (merge == NULL) a critical error.
1985 2005-12-22 Jim Evins <evins@snaught.com>
1987 * src/glabels-batch.c: (main):
1988 Compile warning free with gcc 4.0.
1990 2005-12-21 Jim Evins <evins@snaught.com>
1993 Updated example RPM spec file.
1995 2005-12-21 Jim Evins <evins@snaught.com>
1999 Preparation for 2.1.2.
2001 2005-12-20 Jim Evins <evins@snaught.com>
2004 Define unique G_LOG_DOMAIN for glabels.
2005 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2006 * src/warning-handler.c: (gl_warning_handler_init),
2008 Register for G_LOG_DOMAIN instead of NULL.
2010 2005-12-10 Jim Evins <evins@snaught.com>
2012 * src/merge-evolution.c:
2013 * src/merge-vcard.c:
2016 2005-12-08 Jim Evins <evins@snaught.com>
2018 * libglabels/paper.c: (read_paper_files_from_dir):
2019 * libglabels/template.c: (gl_template_register),
2020 (read_template_files_from_dir):
2021 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2022 (gl_xml_paper_parse_papers_doc):
2023 * libglabels/xml-template.c:
2024 (gl_xml_template_read_templates_from_file),
2025 (gl_xml_template_parse_templates_doc),
2026 (gl_xml_template_parse_template_node),
2027 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2028 (xml_parse_label_cd_node), (xml_parse_layout_node),
2029 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2030 (xml_parse_markup_circle_node),
2031 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2032 * libglabels/xml.c: (gl_xml_get_prop_length):
2033 Re-classified g_warnings to g_messages.
2035 * src/glabels.c: (main):
2036 * src/warning-handler.c: (gl_warning_handler_init),
2038 * src/warning-handler.h:
2039 Added warning message handler to make sure the user is
2040 presented with appropriate non-fatal errors.
2041 * src/critical-error-handler.c: (critical_error_handler):
2042 Changed exit to abort.
2043 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2044 * src/bc-postnet.c: (postnet_code):
2045 * src/bc.c: (id_to_index), (name_to_index):
2046 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2047 * src/object-editor.c: (gl_object_notebook_construct_valist):
2048 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2049 * src/prefs.c: (gl_prefs_get_units_per_point),
2050 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2051 (gl_prefs_get_units_string):
2052 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2053 * src/splash.c: (gl_splash):
2054 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2055 * src/view-highlight.c: (gl_view_highlight_new),
2056 (highlight_resizable_box_construct), (object_changed_cb),
2057 (view_scale_changed_cb):
2058 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2059 (draw_markup_layer), (draw_markup_margin),
2060 (gl_view_object_create_mode), (canvas_event),
2061 (selection_received_cb):
2062 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2063 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2064 * src/xml-label-04.c: (gl_xml_label_04_parse),
2065 (xml04_parse_media_description), (xml04_parse_text_props),
2066 (xml04_parse_barcode_props):
2067 * src/xml-label-191.c: (gl_xml_label_191_parse),
2068 (xml191_parse_objects), (xml191_parse_object),
2069 (xml191_parse_text_props), (xml191_parse_image_props),
2070 (xml191_parse_barcode_props), (xml191_parse_data),
2071 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2072 (xml191_parse_markup):
2073 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2074 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2075 (xml_parse_object_text), (xml_parse_object_image),
2076 (xml_parse_object_barcode), (xml_parse_data),
2077 (xml_parse_toplevel_span), (gl_xml_label_save),
2078 (xml_create_objects):
2079 Re-classified g_warnings to g_messages.
2080 * src/merge-evolution.c: (gl_merge_evolution_open),
2081 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2082 Use g_warning to output errors encountered while
2083 communicating with the evolution data server
2084 instead of embedding them in the data.
2086 2005-12-08 Jim Evins <evins@snaught.com>
2088 * libglabels/libglabels-private.h:
2090 * libglabels/paper.c: (read_papers):
2091 * libglabels/template.c: (read_templates):
2092 Made appropriate warnings critical.
2094 * src/critical-error-handler.h:
2095 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2096 (critical_error_handler):
2097 Created critical error handler.
2098 * src/glabels.c: (main):
2099 Register critical error handler.
2100 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2101 * src/object-editor.c: (gl_object_editor_init):
2102 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2103 * src/template-designer.c: (gl_template_designer_init):
2104 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2105 Made appropriate warnings critical.
2107 2005-11-27 Jim Evins <evins@snaught.com>
2109 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2110 (gl_merge_evolution_get_primary_key),
2111 (gl_merge_evolution_get_record):
2112 Don't create "record_key" pseudo-key. Don't populate
2113 fields with null data.
2115 2005-11-25 Jim Evins <evins@snaught.com>
2117 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2118 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2119 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2121 Query EDS for all supported fields. Patch provided by
2122 Austin Henry <ahenry@users.sourceforge.net>.
2124 2005-10-29 Jim Evins <evins@snaught.com>
2126 * src/glabels.c: (main):
2127 * src/label-barcode.c: (gl_label_barcode_finalize):
2128 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2129 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2130 * src/object-editor.c: (gl_object_editor_finalize):
2131 Another pass at valgrinding -- plugged several memory leaks.
2132 * src/view-text.c: (gl_view_text_new),
2133 (update_canvas_item_from_object_cb), (draw_hacktext):
2134 Commented out artifacts of edit-in-place code.
2136 2005-10-28 Jim Evins <evins@snaught.com>
2138 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2139 Fixed use of uninitialized variable. Caught by
2140 d binderman <dcb314@hotmail.com>.
2142 2005-10-27 Jim Evins <evins@snaught.com>
2144 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2145 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2147 Additional cleanup of EDS and vcard backends. Provided by
2148 Austin Henry <ahenry@users.sourceforge.net>.
2150 2005-10-24 Jim Evins <evins@snaught.com>
2154 * src/merge-evolution.c:
2155 * src/merge-evolution.h:
2156 * src/merge-init.c: (gl_merge_init):
2157 * src/merge-properties-dialog.c: (type_changed_cb):
2158 * src/merge-vcard.c:
2159 * src/merge-vcard.h:
2160 * src/ui-commands.c: (gl_ui_cmd_help_about):
2161 Added Evolution Data Server and VCard merge backends. Original patch
2162 provided by Austin Henry <ahenry@users.sourceforge.net>.
2164 Only support EDS and VCard backends if libebook is installed. Allow
2165 user to disable support, even if installed.
2167 2005-10-24 Jim Evins <evins@snaught.com>
2170 * data/templates/avery-iso-templates.xml:
2171 * data/templates/avery-us-templates.xml:
2172 * data/templates/misc-iso-templates.xml:
2173 * data/templates/zweckform-iso-templates.xml:
2174 Collected all template changes and submissions since last
2177 2005-10-23 Jim Evins <evins@snaught.com>
2180 * data/mime/Makefile.am:
2181 Added configure options to disable update-mime-database and
2182 update-desktop-database as part of the install. Patch
2183 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2185 2005-10-23 Jim Evins <evins@snaught.com>
2188 * libglabels/xml.c: (gl_xml_get_prop_string),
2189 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2190 (gl_xml_is_node), (gl_xml_get_node_content):
2191 Added new XML utility functions.
2192 * libglabels/xml-paper.c:
2193 * libglabels/xml-template.c:
2195 Cleanup by using new xml utilities created above.
2196 * libglabels/paper.c: (gl_paper_free):
2197 * src/file.c: (new_response):
2198 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2199 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2200 (gl_pixbuf_cache_get_pixbuf):
2201 * src/ui-property-bar.c:
2202 (gl_ui_property_bar_construct_color_combo):
2203 * src/view-highlight.c: (gl_view_highlight_finalize):
2204 * src/view-image.c: (update_object_from_editor_cb):
2205 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2206 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2207 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2208 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2209 (draw_markup_margin_round), (draw_markup_margin_cd),
2210 (draw_markup_margin_cd_bc):
2211 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2212 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2213 Plugged various memory leaks located with valgrind.
2214 * src/view-image.c: (update_canvas_item_from_object_cb):
2215 Don't allow a width or height of zero when drawing pixbuf.
2217 2005-10-22 Jim Evins <evins@snaught.com>
2219 * libglabels/xml-paper.c:
2220 * libglabels/xml-template.c:
2223 * src/bc-gnubarcode.c:
2224 * src/canvas-hacktext.c:
2226 * src/object-editor-data-page.c:
2227 * src/print-dialog.c:
2230 * src/template-designer.c:
2232 * src/ui-property-bar.c:
2234 * src/view-barcode.c:
2236 * src/view-ellipse.c:
2241 * src/wdgt-media-select.c:
2242 * src/xml-label-04.c:
2243 * src/xml-label-191.c:
2245 Modified to compile warning free with gcc-4.0. Mostly
2246 casting to change signedness of characters. Did not
2247 attack gnu-barcode library yet.
2249 2005-10-22 Jim Evins <evins@snaught.com>
2251 * src/glabels.c: (main):
2252 * src/splash.c: (gl_splash):
2253 Removed some small memory leaks.
2257 2005-09-19 Jim Evins <evins@snaught.com>
2259 * data/glade/property-bar.glade:
2260 Remove items from font_family_combo. This prevents the
2261 double entry after adding text model and list of fonts.
2262 * src/ui-property-bar.c: (reset_to_default_properties):
2263 Free font_family_list.
2265 2005-07-01 Jim Evins <evins@snaught.com>
2268 Updated italian translation (Daniele Medri)
2270 2005-06-26 Jim Evins <evins@snaught.com>
2272 * docs/libglabels/libglabels-decl-list.txt:
2273 Somehow never got checked in before.
2274 * docs/libglabels/libglabels.types:
2275 Removed -- don't need it afterall.
2277 2005-06-20 Jim Evins <evins@snaught.com>
2280 Final prep for 2.1.1 release.
2282 2005-06-20 Jim Evins <evins@snaught.com>
2285 Final preps for 2.1.1 release.
2286 * docs/libglabels/libglabels.types:
2287 Somehow never got checked in before.
2289 Bring up-to-date with recent reorg of ui code.
2292 2005-06-19 Jim Evins <evins@snaught.com>
2294 * src/template-designer.c: (construct_layout_page):
2295 Removed attempt to match background color of mini preview widget to
2298 2005-06-17 Jim Evins <evins@snaught.com>
2300 * help/C/figures/merge-ex2-4.png:
2301 * help/C/glabels.xml:
2302 Fixed spelling error.
2304 2005-06-13 Jim Evins <evins@snaught.com>
2306 * help/C/figures/merge-ex1-1.png:
2307 * help/C/figures/merge-ex1-2.png:
2308 * help/C/figures/merge-ex1-3.png:
2309 * help/C/figures/merge-ex1-4.png:
2310 * help/C/figures/merge-ex2-1.png:
2311 * help/C/figures/merge-ex2-2.png:
2312 * help/C/figures/merge-ex2-3.png:
2313 * help/C/figures/merge-ex2-4.png:
2314 Added figures for document merge tutorial.
2315 * help/C/glabels.xml:
2316 Added document merge tutorial.
2318 2005-05-19 Jim Evins <evins@snaught.com>
2320 * data/glade/merge-properties-dialog.glade:
2321 Fixed irregular spacing.
2322 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2323 (gl_merge_properties_dialog_construct):
2324 Set outer padding and remove separator.
2326 2005-05-18 Jim Evins <evins@snaught.com>
2330 Removed glHigDialog class.
2331 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2332 (gl_file_properties), (create_properties_dialog_widgets):
2333 * src/prefs-dialog.h:
2334 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2335 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2336 * src/print-dialog.h:
2337 * src/prefs-dialog.h:
2338 * src/print-dialog.c: (gl_print_dialog_get_type),
2339 (gl_print_dialog_init), (gl_print_dialog_construct):
2340 Replaced all instances of glHigDialog with GtkDialog.
2342 2005-05-17 Jim Evins <evins@snaught.com>
2346 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2347 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2348 (save_as_response), (gl_file_close):
2349 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2351 2005-05-15 Jim Evins <evins@snaught.com>
2353 * src/ui-commands.h:
2361 A little code reformatting -- no functional changes.
2363 2005-05-14 Jim Evins <evins@snaught.com>
2366 Removed obsolete macros.
2368 Added marshalling template to support new view signal: "context_menu_activate."
2370 * src/view.c: (gl_view_class_init), (gl_view_construct),
2371 (canvas_event_arrow_mode):
2372 - Removed hardcoded context menus and added new signal "context_menu_activate"
2373 to push this up to the uimanager.
2374 - Removed merge properties and print dialogs so that they can be managed with
2375 the window by the uimanager.
2376 * src/merge-properties-dialog.h:
2377 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2378 (gl_merge_properties_dialog_construct):
2379 Changed calling convention of gl_merge_properties_dialog_new() to use
2380 glLabel and GtkWindow instead of view to make more consistent with other
2382 * src/print-dialog.h:
2383 * src/print-dialog.c: (gl_print_dialog_new),
2384 (gl_print_dialog_construct):
2385 Removed last artifact of libbonoboui.
2386 * src/ui-commands.c: (gl_ui_cmd_file_print),
2387 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2388 Reconciled style for launching dialogs.
2389 * src/ui.c: (gl_ui_new):
2390 Added context menus to ui manager.
2391 * src/view-object.c: (item_event_arrow_mode):
2392 No longer try to select objects with right-click.
2394 * src/window.c: (gl_window_init), (gl_window_set_label),
2395 (context_menu_activate_cb):
2396 Context menus and all dialogs are now managed in a consistent way in window
2399 2005-05-11 Jim Evins <evins@snaught.com>
2402 * src/window.c: (gl_window_init), (gl_window_destroy):
2403 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2404 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2405 Moved management of recent_view back from window.c to ui.c -- it just feels
2408 2005-05-10 Jim Evins <evins@snaught.com>
2411 * src/window.c: (gl_window_init):
2413 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2414 (menu_item_select_cb), (menu_item_deselect_cb):
2415 Added GtkStatusbar which displays menu tooltips.
2417 2005-05-09 Jim Evins <evins@snaught.com>
2419 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2424 Removed dependencies on libbonoboui.
2426 * data/ui/Makefile.am:
2427 * data/ui/glabels-ui.xml:
2428 Removed data/ui directory.
2429 * data/glade/Makefile.am:
2430 * data/property-bar.glade:
2431 Added glade description of property-bar for new libglade implementation
2438 * src/ui-commands.h:
2439 * src/ui-commands.c:
2440 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2441 since the distinction between "commands" and "tools" is no longer that clear.
2444 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2445 no longer has knowledge of eggRecent*.
2446 * src/glabels.c: (main):
2447 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2449 * src/object-editor.c: (gl_object_editor_init):
2450 Make sure notebook does not respond to a "show_all" on the parent.
2451 * src/recent-files/Makefile.am:
2452 * src/recent-files/*.[ch]
2453 Updated from latest version of libegg which now has a view based on
2454 GtkUIManager. Removed unused bonobo and gtk views.
2455 * src/ui-property-bar.h:
2456 * src/ui-property-bar.c:
2457 New implementation based on libglade.
2460 Sidebar is now simply a GtkWidget and does not expect to be a part of
2461 a libbonoboui interface.
2466 Converted for use with GtkUIManager.
2469 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2470 to create menus and toolbars.
2472 2005-04-25 Jim Evins <evins@snaught.com>
2474 * data/templates/misc-iso-templates.xml:
2475 Added Fellows 04715 template provided by Steve Saxon.
2477 Updated acknowledgement for above.
2479 2005-04-23 Jim Evins <evins@snaught.com>
2481 * src/util.c: (gl_util_combo_box_set_strings):
2482 Make sure to clear model before loading a new list of strings.
2483 * src/wdgt-media-select.h:
2484 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2485 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2486 (template_combo_changed_cb), (prefs_changed_cb),
2487 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2488 (gl_wdgt_media_select_get_page_size),
2489 (gl_wdgt_media_select_set_page_size):
2490 Replaced the deprecated GtkCombo widget with the new
2493 2005-04-21 Jim Evins <evins@snaught.com>
2495 * data/glade/template-designer.glade:
2496 * src/template-designer.c: (construct_pg_size_page),
2497 (pg_size_page_changed_cb), (build_template):
2498 Replaced the deprecated GtkCombo widget with the new
2501 2005-04-20 Jim Evins <evins@snaught.com>
2503 * data/glade/prefs-dialog.glade:
2504 * src/prefs-dialog.c: (construct_object_page),
2505 (update_object_page_from_prefs), (update_prefs_from_object_page):
2506 Replaced the deprecated GtkCombo widget with the new
2509 2005-04-19 Jim Evins <evins@snaught.com>
2511 * data/glade/object-editor.glade:
2512 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2513 (style_changed_cb), (gl_object_editor_set_bc_style),
2514 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2515 (gl_object_editor_get_bc_color):
2516 * src/object-editor-data-page.c:
2517 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2518 (gl_object_editor_get_data):
2519 * src/object-editor-edit-page.c:
2520 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2521 * src/object-editor-fill-page.c:
2522 (gl_object_editor_prepare_fill_page),
2523 (gl_object_editor_set_fill_color),
2524 (gl_object_editor_get_fill_color):
2525 * src/object-editor-image-page.c:
2526 (gl_object_editor_prepare_image_page),
2527 (gl_object_editor_set_image), (gl_object_editor_get_image):
2528 * src/object-editor-line-page.c:
2529 (gl_object_editor_prepare_line_page),
2530 (gl_object_editor_set_line_color),
2531 (gl_object_editor_get_line_color):
2532 * src/object-editor-private.h:
2533 * src/object-editor-text-page.c:
2534 (gl_object_editor_prepare_text_page),
2535 (gl_object_editor_set_font_family),
2536 (gl_object_editor_get_font_family),
2537 (gl_object_editor_set_text_color),
2538 (gl_object_editor_get_text_color):
2539 * src/object-editor.c: (gl_object_editor_set_key_names):
2541 In the object editor: replaced all instances of the deprecated
2542 GtkCombo widget with the new GtkComboBox.
2544 2005-04-18 Jim Evins <evins@snaught.com>
2547 Neglected to save this one in previous checkin to support
2550 2005-04-17 Jim Evins <evins@snaught.com>
2552 * libglabels/libglabels-private.h:
2553 * libglabels/paper.c:
2554 * libglabels/paper.h:
2555 * libglabels/template.c:
2556 * libglabels/template.h:
2557 * libglabels/xml-paper.c:
2558 * libglabels/xml-paper.h:
2559 * libglabels/xml-template.c:
2564 * src/bc-gnubarcode.c:
2575 * src/label-barcode.c:
2577 * src/label-ellipse.c:
2578 * src/label-image.c:
2579 * src/label-image.h:
2581 * src/label-object.c:
2585 * src/merge-properties-dialog.c:
2586 * src/object-editor-bc-page.c:
2587 * src/object-editor-data-page.c:
2588 * src/object-editor-edit-page.c:
2589 * src/object-editor-fill-page.c:
2590 * src/object-editor-image-page.c:
2591 * src/object-editor-line-page.c:
2592 * src/object-editor-lsize-page.c:
2593 * src/object-editor-position-page.c:
2594 * src/object-editor-private.h:
2595 * src/object-editor-size-page.c:
2596 * src/object-editor-text-page.c:
2597 * src/object-editor.c:
2598 * src/object-editor.h:
2599 * src/pixbuf-cache.h:
2600 * src/prefs-dialog.c:
2601 * src/prefs-dialog.h:
2602 * src/prefs-model.c:
2603 * src/prefs-model.h:
2605 * src/print-dialog.c:
2606 * src/print-dialog.h:
2614 * src/template-designer.c:
2615 * src/template-designer.h:
2618 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2624 * src/view-barcode.c:
2626 * src/view-ellipse.c:
2627 * src/view-highlight.c:
2628 * src/view-highlight.h:
2631 * src/view-object.c:
2632 * src/view-object.h:
2636 * src/wdgt-chain-button.c:
2637 * src/wdgt-media-select.c:
2638 * src/wdgt-media-select.h:
2639 * src/wdgt-mini-preview.c:
2640 * src/wdgt-mini-preview.h:
2641 * src/wdgt-print-copies.c:
2642 * src/wdgt-print-copies.h:
2643 * src/wdgt-print-merge.c:
2644 * src/wdgt-print-merge.h:
2645 * src/wdgt-rotate-label.c:
2646 * src/wdgt-rotate-label.h:
2649 * src/xml-label-04.c:
2650 * src/xml-label-191.c:
2652 Cleanup of header files:
2653 - all header files are now stand-alone, verified by including
2654 first in corresponding "c" files
2655 - replaced blanket includes of gnome, gtk, and glib with
2658 2005-04-16 Jim Evins <evins@snaught.com>
2660 * data/glade/Makefile.am:
2661 * data/glade/merge-properties-dialog.glade:
2662 Added merge properties dialog glade description file.
2663 * src/merge-properties-dialog.h:
2664 * src/merge-properties-dialog.c:
2665 (gl_merge_properties_dialog_get_type),
2666 (gl_merge_properties_dialog_init),
2667 (gl_merge_properties_dialog_finalize),
2668 (gl_merge_properties_dialog_new),
2669 (gl_merge_properties_dialog_construct), (type_changed_cb),
2670 (src_changed_cb), (response_cb), (load_tree),
2671 (record_select_toggled_cb), (select_all_button_clicked_cb),
2672 (unselect_all_button_clicked_cb):
2673 Modified merge properties dialog to use libglade. Added
2674 "select all" and "unselect all" buttons.
2675 * src/merge-text.c: (parse_line):
2676 Handle empty lines better.
2677 * src/merge.c: (gl_merge_eval_key):
2678 Evaluate the key whether the record is selected or not.
2680 * src/util.c: (gl_util_combo_box_add_text_model):
2681 Since libglade does not use the gtk_combo_box_new_text()
2682 constructor for GtkComboBoxes, a utility function was created
2683 to add an appropriate text model to a GtkComboBox.
2684 * src/view.c: (gl_view_edit_merge_props):
2685 Removed unnecessary "show all's".
2687 2005-04-15 Jim Evins <evins@snaught.com>
2690 Updated russian translation (Vitaly Lipatov)
2691 * data/templates/misc-iso-templates.xml:
2692 Added templates for russian business cards provided by Vitaly Lipatov.
2694 Updated acknowledgements for above.
2696 2005-04-15 Jim Evins <evins@snaught.com>
2698 * data/templates/avery-us-templates.xml:
2699 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2700 * data/templates/misc-iso-templates.xml:
2701 Added Ryman standard CD/DVD template, provided by Dan Clark.
2703 Added acknowledgements for above.
2705 2005-04-10 Jim Evins <evins@snaught.com>
2707 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2708 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2709 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2710 (xml_parse_label_cd_node), (xml_parse_alias_node):
2711 * libglabels/xml.c: (gl_xml_get_prop_double),
2712 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2713 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2714 * src/xml-label-04.c: (xml04_parse_media_description),
2715 (xml04_parse_text_props), (xml04_parse_barcode_props),
2716 (xml04_parse_merge_properties):
2717 * src/xml-label-191.c: (xml191_parse_object),
2718 (xml191_parse_text_props), (xml191_parse_barcode_props),
2719 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2720 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2721 (xml191_parse_alias):
2722 * src/xml-label.c: (xml_parse_object_text),
2723 (xml_parse_object_barcode), (xml_parse_merge_fields),
2724 (xml_parse_pixdata), (xml_parse_toplevel_span):
2725 Make sure to use xmlFree for anything obtained from libxml
2726 in case libxml and glib use different memory management
2729 2005-04-08 Jim Evins <evins@snaught.com>
2732 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2733 (gl_util_combo_box_set_active_text):
2734 Added utility functions to simplify working with GtkComboBox
2736 * src/ui-property-bar.h:
2737 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2738 (reset_to_default_properties), (update_text_properties),
2739 (font_family_changed_cb):
2740 Replaced deprecated GtkCombo with GtkComboBox.
2743 2005-04-03 Jim Evins <evins@snaught.com>
2746 * src/wdgt-image-select.h:
2747 * src/wdgt-image-select.c:
2748 Removed obsolete wdgt-image-select.[ch] files.
2749 * libglabels/paper.c: (gl_paper_dup):
2750 Fixed rename of parameter introduced during documentation
2752 * data/glade/object-editor.glade:
2753 * src/object-editor-image-page.c:
2754 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2755 (gl_object_editor_set_image), (gl_object_editor_get_image),
2756 (update_preview_cb), (add_image_filters_to_chooser):
2757 * src/object-editor-private.h:
2758 Replaced deprecated GnomePixmapEntry with
2759 GtkFileChooserButton.
2761 2005-04-02 Jim Evins <evins@snaught.com>
2763 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2764 (mygal_combo_box_popup_hide_unconditional),
2765 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2766 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2767 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2768 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2769 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2770 Renamed all internal gtk_combo functions to mygal_combo
2771 to prevent namespace confusion.
2773 2005-04-02 Jim Evins <evins@snaught.com>
2775 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2776 (cust_color_set), (color_palette_setup):
2777 * src/mygal/color-palette.h:
2778 Replaced deprecated GnomeColorPicker with GtkColorButton.
2780 2005-04-02 Jim Evins <evins@snaught.com>
2782 * docs/libglabels/libglabels-sections.txt:
2783 * docs/libglabels/libglabels-undocumented.txt:
2784 * docs/libglabels/tmpl/enums.sgml:
2785 * docs/libglabels/tmpl/paper.sgml:
2786 * docs/libglabels/tmpl/xml-paper.sgml:
2787 * docs/libglabels/tmpl/xml-template.sgml:
2788 * libglabels/enums.h:
2789 * libglabels/paper.c: (gl_paper_dup):
2790 * libglabels/paper.h:
2791 * libglabels/xml-paper.c:
2792 * libglabels/xml-template.c:
2793 More documentation updates for libglabels.
2795 2005-03-23 Jim Evins <evins@snaught.com>
2798 Automatically updated.
2803 * docs/libglabels/Makefile.am:
2804 * docs/libglabels/libglabels-docs.sgml:
2805 * docs/libglabels/libglabels-sections.txt:
2806 * docs/libglabels/libglabels-undocumented.txt:
2807 * docs/libglabels/tmpl/enums.sgml:
2808 * docs/libglabels/tmpl/libglabels-unused.sgml:
2809 * docs/libglabels/tmpl/libglabels.sgml:
2810 * docs/libglabels/tmpl/paper.sgml:
2811 * docs/libglabels/tmpl/template.sgml:
2812 * docs/libglabels/tmpl/xml-paper.sgml:
2813 * docs/libglabels/tmpl/xml-template.sgml:
2814 * docs/libglabels/tmpl/xml.sgml:
2815 Added basic gtk-doc stuff to support documenting libglabels
2818 Updated function comments with gtk-doc markup.
2822 2005-03-22 Jim Evins <evins@snaught.com>
2824 Since the development version now requires gtk-2.6/gnome-2.10, I
2825 have made a first pass at removing deprecations.
2828 * libglabels/Makefile.am:
2830 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2831 Also removed all remnants of HAVE_FILECHOOSER.
2832 * src/file.c: (gl_file_open_real):
2833 Removed code for old GtkFileSelection.
2834 * libglabels/libglabels-private.h:
2835 * libglabels/paper.c:
2836 * libglabels/template.c:
2837 * libglabels/xml-paper.c:
2838 * libglabels/xml-template.c:
2842 * src/glabels-batch.c:
2846 * src/merge-properties-dialog.c:
2848 * src/object-editor.c:
2849 * src/prefs-dialog.c:
2851 * src/print-dialog.c:
2854 * src/template-designer.c:
2855 * src/ui-property-bar.c:
2857 * src/view-barcode.c:
2859 * src/view-ellipse.c:
2864 * src/wdgt-image-select.c:
2865 * src/wdgt-media-select.c:
2866 * src/wdgt-print-copies.c:
2867 * src/wdgt-print-merge.c:
2868 * src/wdgt-rotate-label.c:
2870 * src/xml-label-04.c:
2871 * src/xml-label-191.c:
2873 Added '#include <glib/gi18n.h>" where needed.
2874 Removed any unused '#include <gnome.h>"s.
2876 2005-03-22 Jim Evins <evins@snaught.com>
2878 * src/commands.c: (activate_url), (gl_cmd_help_about):
2879 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2880 development version of glabels now depends on GTK 2.6 and
2883 Updated library dependencies.
2885 2005-02-28 Jim Evins <evins@snaught.com>
2888 * data/templates/misc-iso-templates.xml:
2889 Added 'Ednet 45021' template provided by Ali Akcaagac
2892 2005-02-14 Jim Evins <evins@snaught.com>
2894 * data/templates/avery-us-templates.xml:
2895 Updated templates to use inches instead of points.
2896 * src/print-dialog.c: (printer_page_new):
2897 Changed packing style when adding printer selector widget. This fixes
2900 2005-02-13 Jim Evins <evins@snaught.com>
2904 Updated spanish translations. (sergio rivadero)
2906 2005-02-05 Jim Evins <evins@snaught.com>
2908 Some cleanup to libglabels.
2911 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2912 * libglabels/libglabels.pc.in
2914 * libglabels/enums.h
2915 Created. Currently only contains glUnitsType which provides enumerations
2916 for all possible units of distance.
2917 * libglabels/Makefile.am:
2918 Incorporated new files enums.h and libglabels.pc[.in].
2919 * libglabels/libglabels.h:
2921 * libglabels/template.h:
2922 * libglabels/template.c: (gl_template_layout_new):
2923 Changed parameters nx and ny to gint from gdouble.
2925 * libglabels/xml.c: (gl_xml_get_prop_length),
2926 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2927 Added support for different output units.
2928 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2929 (update_prefs_from_locale_page):
2930 * src/prefs-model.c: (string_to_units), (units_to_string):
2931 * src/prefs-model.h:
2932 * src/prefs.c: (gl_prefs_get_units_per_point),
2933 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2934 (gl_prefs_get_units_string):
2936 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2937 Reconciled all length enumerations with the new enumerations provided
2938 in libglabels/enums.h.
2940 2005-02-03 Jim Evins <evins@snaught.com>
2943 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2945 Updated Italian translations. (Daniele Medri)
2947 Updated credits to reflect above translations.
2950 2005-01-22 Jim Evins <evins@snaught.com>
2955 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2957 Final prep for 2.1.0.
2959 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2961 Added '--remove-original' flag to desktop-file-install, so that there is
2962 only one menu entry.
2964 2005-01-20 Jim Evins <evins@snaught.com>
2966 * data/glade/object-editor.glade:
2967 - Font family entry should not be editable.
2968 - img_key_entry should have sensitivity=YES, so that it follows the
2969 sensitivity of img_key_combo.
2971 2005-01-19 Jim Evins <evins@snaught.com>
2974 Give credit to Frederic Ruaudel for the color merge patches.
2976 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2978 Add support to merge color for all other color attribute (Feature
2979 Requests item #1008635. If the data is invalid, the color used is transparent
2980 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2981 by gdk_color_parse() these include name for a color from rgb.txt, such as
2982 DarkSlateGray, or a hex specification such as #305050. File format has been
2983 changed but backward compatibility is preserved for all format. For
2984 box/ellipse/line, keep attribute "line_color" for static color or replace by
2985 "line_color_field" for merge data. For text/barcode objects, keep attribute
2986 "color" for static color or replace by "color_field" for merge data. In the
2987 edit canvas window, merged color are represented by half-transparent black
2990 * data/dtd/glabels-2.0.dtd:
2991 Added line_color_field to line_attrs. Added color_field to
2992 Object-barcode and Span.
2993 * data/glade/object-editor.glade:
2994 Modify the layout of the editor to add merge possibility to color options
2996 Fix a copy/paste error in a comment
2998 Add default color for merge color representation in the editor canvas.
2999 * src/label-barcode.c:
3000 * src/object-editor-bc-page.c:
3001 * src/view-barcode.c:
3002 Add merge color support for barcode color.
3005 Add merge color support for box border color.
3006 * src/label-ellipse.c:
3007 * src/view-ellipse.c:
3008 Add merge color support for ellipse border color.
3011 Add merge color support for line color.
3012 * src/label-object.c:
3013 * src/label-object.h:
3014 * src/object-editor.c:
3015 * src/object-editor.h:
3016 * src/ui-property-bar.c:
3019 * src/xml-label-04.c:
3020 * src/xml-label-191.c:
3021 Add support for merging to other color attribute.
3023 * src/object-editor-text-page.c:
3025 Add merge color support for text color.
3026 * src/object-editor-fill-page.c:
3027 Change a blocked handler that didn't match the good widget. Fix the type
3028 of some debug message.
3029 * src/object-editor-line-page.c:
3030 Add merging support to line color option.
3031 * src/object-editor-private.h:
3032 Add variables for new widget.
3034 Modify the draw functions to get merge data if needed.
3036 Change the default size of the window in order to see all widget in the
3037 "text style tab" of the editor.
3039 Modify the parser to record/retreive the field value for objects that need
3040 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3041 static color or replace by "line_color_field" for merge data. For
3042 text/barcode objects, keep attribute "color" for static color or replace
3043 by "color_field" for merge data.
3045 2005-01-17 Jim Evins <evins@snaught.com>
3047 * src/view.c: (screen_changed_cb):
3048 Don't do anything if we don't have a screen.
3050 2005-01-06 Jim Evins <evins@snaught.com>
3052 * src/view.c: (get_home_scale):
3053 Fixed bad call to gtk_widget_has_screen() -- huh?.
3055 2005-01-06 Jim Evins <evins@snaught.com>
3057 * data/dtd/glabels-2.0.dtd:
3058 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3061 2005-01-06 Jim Evins <evins@snaught.com>
3063 * data/glade/object-editor.glade:
3064 Set entries for fill and data field key dropdowns to NOT editable.
3065 * src/view-box.c: (construct_properties_editor):
3066 * src/view-ellipse.c: (construct_properties_editor):
3067 Update object editor when label's merge property has changed.
3068 * src/xml-label.c: (xml_parse_object_ellipse):
3069 Completed the merge color support for the ellipse item.
3071 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3073 Add support to merge color for object that have a "Fill color" attribute (Feature
3074 Requests item #1008635. If the data is invalid, the color used is transparent
3075 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3076 by gdk_color_parse() these include name for a color from rgb.txt, such as
3077 DarkSlateGray, or a hex specification such as #305050. File format has been
3078 changed but backward compatibility is preserved for all format. For box/ellipse,
3079 keep attribute "fill_color" for static color or replace by "fill_color_field"
3082 * data/glade/object-editor.glade:
3083 Modify "Fill" tab to add the merge key combo and convert the labels into
3087 Add "glColorNode" structure and associated functions to manage it. This
3088 structure is equivalent for color than the "glTextNode". It holds the color
3090 * src/label-object.h:
3091 * src/label-object.c:
3093 * src/label-ellipse.c:
3094 * src/ui-property-bar.c:
3098 * src/view-ellipse.c:
3099 * src/xml-label-04.c:
3100 * src/xml-label-191.c:
3101 Change functions of objects that have a "fill color" attribute to use the
3102 new "glColorNode" structure. Use barcode code as example.
3104 Add the color.[ch] file to glabels_batch binary that now need support for
3106 * src/object-editor.h:
3107 * src/object-editor.c:
3108 * src/object-editor-fill-page.c:
3109 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3110 to choose between static color or merge key. Use barcode code as example.
3111 * src/object-editor-private.h:
3112 Add new widget in the "_glObjectEditorPrivate" structure.
3114 Modify the draw functions to get merge data if needed.
3116 Modify the parser to record/retreive the field value for objects that need
3117 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3118 color or "fill_color_field" for merge data.
3120 2005-01-04 Jim Evins <evins@snaught.com>
3123 * data/templates/avery-iso-templates.xml:
3124 * data/templates/misc-iso-templates.xml:
3125 * data/templates/misc-us-templates.xml:
3126 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3129 2004-11-26 Jim Evins <evins@snaught.com>
3133 Updated french translations provided by Florent Morel <florent@taket.org>.
3134 * src/view-barcode.c:
3136 * src/view-ellipse.c:
3140 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3141 thus _() strings were not being translated.
3143 2004-11-14 Jim Evins <evins@snaught.com>
3146 * src/debug.c: (gl_debug_init), (gl_debug):
3147 Borrowed from gedit: use environmental variables to select debug
3150 Removed unused include of debug.h.
3151 * src/glabels.c: (main):
3152 Added call to gl_debug_init(), and removed debug clutter from command line
3154 * src/glabels-batch.c: (main):
3155 Added call to gl_debug_init().
3157 2004-11-13 Jim Evins <evins@snaught.com>
3159 Drawing and property toolbars were being initialized with the "icons and text"
3160 look in Fedora Core 3. Even though none of the buttons had any text attached to
3161 them, the buttons were being sized as if they were. This led to less real estate
3162 for the property editor, leading to Bug #1064630. The
3164 * data/ui/glabels-ui.xml:
3165 Added explicit "look" property to both drawing and property toolbars.
3166 * src/prefs-model.c: (gl_prefs_model_save_settings),
3167 (gl_prefs_model_load_settings):
3168 * src/prefs-model.h:
3169 Removed drawing_toolbar_button_style configuration parameter.
3170 * src/ui.c: (view_menu_item_toggled_cb),
3171 (set_app_drawing_toolbar_style):
3172 Do not attempt to adjust look property of the drawing toolbar.
3174 2004-10-28 Jim Evins <evins@snaught.com>
3176 * data/pixmaps/glabels-about-logo.png:
3179 2004-10-28 Jim Evins <evins@snaught.com>
3181 * data/man/glabels.1:
3182 * src/glabels-batch.c: (main):
3184 * src/print.c: (gl_print_batch):
3186 Added option to glabels-batch to select the first label to begin
3189 2004-09-26 Jim Evins <evins@snaught.com>
3191 * data/desktop/glabels.desktop.in:
3192 Point to app icon, "glabels.png"
3193 * data/mime/glabels.keys.in:
3194 Point at mime icon, "glabels-application-x-glabels.png"
3195 * data/pixmaps/Makefile.am:
3196 Added glabels_app_icondir. Renamed icons.
3197 * data/pixmaps/glabels.png:
3198 New cleaned up app icon. Deleted glabels-icon.png.
3199 * data/pixmaps/glabels-application-x-glabels.png:
3201 * data/pixmaps/glabels-splash.png:
3202 Renamed glabels-logo to glabels-splash to be more correct about role.
3204 * src/template-designer.c:
3205 Point at app icon, "glabels.png"
3207 Point at renamed splash image, "glabels-splash.png"
3209 2004-08-22 Jim Evins <evins@snaught.com>
3212 * src/glabels-batch.c: (main):
3213 Applied patch with minor mods to allow selecting merge source and
3214 crop-marks on glabels-batch's command line. Original patch provided by
3215 José Dapena Paz <jdapena@igalia.com>.
3217 2004-08-15 Jim Evins <evins@snaught.com>
3219 * data/desktop/glabels.desktop.in:
3220 - Added encoding line
3221 - Removed period from comment
3222 - Fixed Terminal line, changed "0" to "false"
3223 - Added semicolen to Categories line
3225 - Made sure desktop.in comment string above still translated properly
3227 2004-08-14 Jim Evins <evins@snaught.com>
3229 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3230 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3231 * src/xml-label-191.c: (xml191_parse_sheet):
3232 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3234 Reconciled libglabels versioning with 2.0.1.
3237 2004-08-14 Jim Evins <evins@snaught.com>
3240 Updated version to 2.1cvs.
3242 2004-08-14 Jim Evins <evins@snaught.com>
3245 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3247 2004-08-14 Jim Evins <evins@snaught.com>
3249 Fixes for Bug #1008181.
3251 * src/bc.c: (gl_barcode_default_digits):
3252 Make a format of zero digits, harmless.
3253 * src/xml-label.c: (xml_parse_object_barcode):
3254 Set default value of the format property of barcode objects to 10, not
3255 zero. This will prevent crashes when reading pre 2.0.x files.
3257 2004-08-09 Jim Evins <evins@snaught.com>
3261 * help/C/glabels-C.omf:
3262 * help/C/glabels.xml:
3263 Brought documentation up-to-date for 2.0.0 release.
3265 2004-08-09 Jim Evins <evins@snaught.com>
3267 These are hopefully the final preparations for 2.0.0.
3269 * data/mime/Makefile.am:
3270 Include glabels.xml in EXTRA_DIST.
3272 - Updated comment style.
3273 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3274 - Added package and version info to configuration printout
3275 - Update version to 2.0.0
3276 * libglabels/Makefile.am:
3277 Use the new LIBGLABELS_VERSION_INFO macro.
3279 2004-08-09 Jim Evins <evins@snaught.com>
3283 Cleanup of required library macros.
3285 2004-08-08 Jim Evins <evins@snaught.com>
3289 - More specific of what to install in /usr/bin and /usr/lib
3290 - Remove built mime registration files from staging directory
3292 2004-08-08 Jim Evins <evins@snaught.com>
3294 * data/mime/Makefile.am:
3295 Fixed typo: key_files should have been keys_files.
3297 2004-08-08 Jim Evins <evins@snaught.com>
3299 Reorganization of runtime data files. Also added registration of mimetype with
3300 new freedesktop.org mime database if available.
3303 Moved files to appropriate subdirectories, creating local Makefile.am
3304 in each subdirectory.
3305 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3306 These are now installed at $datadir/glabels/templates.
3307 - Moved glabels.1 to man subdirectory.
3308 - Moved glabels-2.0.dtd to dtd subdirectory.
3309 - Moved glabels.desktop.in to desktop subdirectory.
3310 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3312 Moved "./pixmaps" to "./data/pixmaps"
3314 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3316 Moved libglade files from src to data/glade. Created Makefile.am.
3318 Removed pixmaps from SUBDIRS.
3320 - Removed pixmaps from makefiles.
3321 - Added makefiles for new subdirs of data.
3322 - Added tests for freedesktop.org mime database.
3324 - Added tests for freedesktop.org mime database for post install and
3325 post un-install actions.
3326 * libglabels/Makefile.am:
3327 Moved system template files to $(datadir)/glabels/templates.
3328 * libglabels/libglabels-private.h:
3329 Moved system template files to $(datadir)/glabels/templates.
3331 - Accounted for movement of ui and libglade files.
3332 - Added missing .in files.
3333 - Reorganized by directory.
3335 Accounted for movement of ui and libglade files.
3336 * data/mime/glabels.xml.in:
3337 New file for registering with freedesktop.org mime database.
3339 2004-08-07 Jim Evins <evins@snaught.com>
3341 * src/recent-files/*:
3342 Re-synced to latest libegg/recent-files.
3344 2004-08-07 Jim Evins <evins@snaught.com>
3349 Renamed "./doc" directory to "./help" which contains user documentation,
3350 to be more consistent with other GNOME applications.
3353 2004-07-26 Jim Evins <evins@snaught.com>
3355 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3356 Corrected button order of merge properties dialog.
3358 2004-07-18 Jim Evins <evins@snaught.com>
3360 * data/glabels-2.0.dtd:
3361 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3362 (gl_barcode_get_prefered_n):
3364 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3365 (gl_label_barcode_get_props), (get_size):
3366 * src/label-barcode.h:
3367 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3368 (style_changed_cb), (gl_object_editor_set_bc_style),
3369 (gl_object_editor_get_bc_style):
3370 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3371 (gl_object_editor_set_data), (gl_object_editor_get_data):
3372 * src/object-editor-private.h:
3373 * src/object-editor.c: (gl_object_editor_set_key_names):
3374 * src/object-editor.glade:
3375 * src/object-editor.h:
3376 * src/print.c: (draw_barcode_object):
3377 * src/view-barcode.c: (update_object_from_editor_cb),
3378 (update_editor_from_object_cb),
3379 (gl_view_barcode_create_event_handler), (draw_barcode):
3380 * src/xml-label-04.c: (xml04_parse_barcode_props):
3381 * src/xml-label-191.c: (xml191_parse_barcode_props):
3382 * src/xml-label.c: (xml_parse_object_barcode),
3383 (xml_create_object_barcode):
3384 Added "format" attribute to barcode objects. This attribute is used
3385 to properly format freeform barcodes barcodes prior to merge data is
3386 applied, so that barcodes can be accurately layed out. This addresses
3387 remaining issues of feature request #824787. Also added an example of
3388 the format in the object editor.
3390 2004-07-12 Jim Evins <evins@snaught.com>
3392 Various code cleanups.
3394 * src/label-barcode.c:
3395 Removed unneeded include of gnome-glyphlist.h.
3397 * src/label-text.c: (get_size):
3398 Fixed memory leak: unref glyphlists when done with them.
3400 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3401 * src/object-editor-data-page.c:
3402 (gl_object_editor_prepare_data_page):
3403 * src/object-editor-image-page.c:
3404 (gl_object_editor_prepare_image_page):
3405 * src/object-editor-line-page.c:
3406 (gl_object_editor_prepare_line_page):
3407 * src/object-editor-lsize-page.c:
3408 (gl_object_editor_prepare_lsize_page):
3409 * src/object-editor-position-page.c:
3410 (gl_object_editor_prepare_position_page):
3411 * src/object-editor-size-page.c:
3412 (gl_object_editor_prepare_size_page):
3413 * src/object-editor-text-page.c:
3414 (gl_object_editor_prepare_text_page):
3415 Removed unneeded size groups, originally intended to keep widgets aligned.
3416 Now use tables to lay these out in object-editor.glade.
3418 * src/print.c: (draw_text_object):
3419 Fixed memory leak: unref glyphlists when done with them.
3421 * src/view-barcode.c: (draw_barcode):
3422 Fixed memory leak: unref glyphlists when done with them.
3424 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3425 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3427 - Fixed memory leak: unref glyphlists when done with them.
3429 2004-07-11 Jim Evins <evins@snaught.com>
3431 * data/glabels-2.0.dtd:
3432 * src/label-text.c: (gl_label_text_instance_init), (copy),
3433 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3435 * src/object-editor-private.h:
3436 * src/object-editor-text-page.c:
3437 (gl_object_editor_prepare_text_page),
3438 (gl_object_editor_set_text_auto_shrink),
3439 (gl_object_editor_get_text_auto_shrink):
3440 * src/object-editor.c: (gl_object_editor_set_key_names):
3441 * src/object-editor.glade:
3442 * src/object-editor.h:
3443 * src/print.c: (draw_text_object):
3444 * src/view-text.c: (update_object_from_editor_cb),
3445 (update_editor_from_object_cb):
3446 * src/xml-label.c: (xml_parse_object_text),
3447 (xml_create_object_text):
3448 Added option to allow document merge to auto shrink text size to fit
3449 within the text box. The code in print.c that actually shrinks the
3450 text is loosely based on a patch submitted by Mark Harrison
3451 <mark.harrison@velocitynet.com.au>. This addresses feature request
3454 2004-07-11 Jim Evins <evins@snaught.com>
3456 * data/glabels-2.0.dtd:
3457 * libglabels/template.c: (gl_template_rect_label_type_new),
3458 (gl_template_round_label_type_new),
3459 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3460 (template_full_page):
3461 * libglabels/template.h:
3462 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3463 (xml_create_label_node):
3464 * pixmaps/ex-rect-size.png:
3465 * src/print.c: (clip_to_outline), (clip_punchouts):
3466 * src/template-designer.c: (construct_rect_size_page),
3467 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3469 * src/template-designer.glade:
3470 * src/xml-label-191.c: (xml191_parse_label):
3471 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3472 properties for rectangular labels. Templates remain backwards compatible,
3473 but this breaks the libglabels API (I don't know of anyone outside of
3474 glabels using libglabels at this time -- what can I say, the program is
3475 is still "unstable"). This addresses the suggestion in Feature Request
3478 2004-07-05 Jim Evins <evins@snaught.com>
3479 * src/print.c: (print_crop_marks), (draw_outline):
3480 Changed crop marks and label outlines to black, instead of 25% gray.
3481 This addresses debian Bug #257460.
3483 2004-07-05 Jim Evins <evins@snaught.com>
3485 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3486 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3487 Preserve "is_default" of fill and line color_combos when creating from
3490 2004-07-02 Jim Evins <evins@snaught.com>
3493 Created man page. Based on page submitted by Matthew J. Lockner, however
3494 it has been severely edited.
3496 * data/avery-other-templates.xml
3497 * data/misc-other-templates.xml:
3498 Started new files for predefined templates with non-standard sheet sizes.
3499 These have been initially populated with the Avery 06141 and
3500 OfficeMax #86112, both provided by Matthew J. Lockner.
3503 Install above manpage and template files.
3506 Make sure we install man pages.
3508 * src/glabels-batch.c:
3509 Changed short form of help option to '-?' to be consistent with glabels.
3512 Added acknowledgement for above labels.
3514 2004-07-02 Jim Evins <evins@snaught.com>
3516 * src/glabels.c: (main), (save_session_cb):
3517 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3519 - save_session_cb() now returns gboolean.
3520 - Minor formatting changes.
3524 - Now include file.h to provide missing prototype.
3525 - gl_window_get_type() now returns GType, not guint. I believe this may
3526 ultimately be cause of the segfault reported in Bug #982287, since
3527 GType is actually a gulong, which may not be compatible on other
3528 architectures (64bit) -- I cannot personally test this at this time.
3529 I was sloppy in several other xxx_get_type() functions which also
3530 returned guint -- see next group of files:
3532 * src/window.c: (gl_window_get_type):
3533 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3534 * src/canvas-hacktext.h:
3535 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3536 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3537 (gl_hig_hbox_get_type):
3539 * src/label-barcode.c: (gl_label_barcode_get_type):
3540 * src/label-barcode.h:
3541 * src/label-box.c: (gl_label_box_get_type):
3543 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3544 * src/label-ellipse.h:
3545 * src/label-image.c: (gl_label_image_get_type):
3546 * src/label-image.h:
3547 * src/label-line.c: (gl_label_line_get_type):
3549 * src/label-object.c: (gl_label_object_get_type):
3550 * src/label-object.h:
3551 * src/label-text.c: (gl_label_text_get_type):
3553 * src/label.c: (gl_label_get_type):
3555 * src/merge-properties-dialog.c:
3556 (gl_merge_properties_dialog_get_type):
3557 * src/merge-properties-dialog.h:
3558 * src/merge-text.c: (gl_merge_text_get_type):
3560 * src/merge.c: (gl_merge_get_type):
3562 * src/object-editor.c: (gl_object_editor_get_type):
3563 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3564 * src/prefs-dialog.h:
3565 * src/prefs-model.c: (gl_prefs_model_get_type):
3566 * src/prefs-model.h:
3567 * src/print-dialog.c: (gl_print_dialog_get_type):
3568 * src/print-dialog.h:
3569 * src/template-designer.c: (gl_template_designer_get_type):
3570 * src/template-designer.h:
3571 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3572 * src/ui-property-bar.h:
3573 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3575 * src/view-barcode.c: (gl_view_barcode_get_type):
3576 * src/view-barcode.h:
3577 * src/view-box.c: (gl_view_box_get_type):
3579 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3580 * src/view-ellipse.h:
3581 * src/view-highlight.c: (gl_view_highlight_get_type):
3582 * src/view-highlight.h:
3583 * src/view-image.c: (gl_view_image_get_type):
3585 * src/view-line.c: (gl_view_line_get_type):
3587 * src/view-object.c: (gl_view_object_get_type):
3588 * src/view-object.h:
3589 * src/view-text.c: (gl_view_text_get_type):
3591 * src/view.c: (gl_view_get_type):
3593 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3594 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3595 * src/wdgt-image-select.h:
3596 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3597 * src/wdgt-media-select.h:
3598 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3599 * src/wdgt-mini-preview.h:
3600 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3601 * src/wdgt-print-copies.h:
3602 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3603 * src/wdgt-print-merge.h:
3604 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3605 * src/wdgt-rotate-label.h:
3606 - Made sure all xxx_get_type functions returned GType, not guint. This
3607 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3608 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3609 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3610 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3611 window.[ch] details above for more info.
3612 - Reconciled various coding style differences in all xxx_get_type()
3614 * All prototypes include G_GNUC_CONST.
3615 * All prototypes specify the return value as GType, not GtkType
3617 * Info structures are all declared as "static const."
3618 * Generalized the names of type and info variables.
3619 * Miscelaneous formatting.
3621 2004-06-08 Jim Evins <evins@snaught.com>
3627 Don't touch compression of original file -- still defaults to 9 for
3628 new files. Original patch provided by Javier Donaire Segarra
3629 (#912252 in patch tracker).
3631 2004-05-05 Jim Evins <evins@snaught.com>
3633 * data/glabels-2.0.dtd:
3634 Broke DTD previously when adding new barcode types that contain a
3635 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3636 to avoid the problem.
3637 * data/avery-iso-templates.xml:
3638 * data/zweckform-iso-templates.xml:
3640 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3641 provided by Frank Altpeter.
3642 * libglabels/xml-template.c: (xml_create_label_node):
3643 Reordered markup and layout sub-nodes so that resulting templates will
3644 validate against DTD.
3646 2004-03-13 Jim Evins <evins@snaught.com>
3648 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3649 Changed spin callback signals from "value-changed" back to "changed."
3650 This was accidentally introduced in a previous revision, and can cause
3651 size changes just by selecting the size tab.
3653 2004-03-06 Jim Evins <evins@snaught.com>
3655 * src/view.c: (draw_grid_layer):
3656 For round labels (round and cd) adjust grid so that it lines up with
3657 center of label. Also, no longer draw box around label in the grid layer,
3658 it is hidden by he fg layer anyway. Feature suggested by
3659 nemolivier@free.fr. Although the grid is aligned with the center of the
3660 label, the coordinate system is still relative to the upper left corner
3661 of the rectangle containing the label.
3663 2004-02-25 Jim Evins <evins@snaught.com>
3666 Changed version to 2.0pre1cvs
3668 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3669 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3670 instead of doc->name fields when errors encountered.
3672 2004-02-21 Jim Evins <evins@snaught.com>
3674 * data/avery-iso-templates.xml:
3675 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3678 Added libglabels library and include file to installed files.
3681 Final prep for 1.93.3.
3683 2004-02-20 Jim Evins <evins@snaught.com>
3685 * src/glabels-batch.c: (main):
3686 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3687 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3689 2004-02-16 Jim Evins <evins@snaught.com>
3692 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3695 Added HAVE_FILE_CHOOSER to INCLUDES.
3697 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3698 (gl_file_save_as), (save_as_response):
3699 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3701 2004-02-16 Jim Evins <evins@snaught.com>
3703 * src/xml-label-04.c: (xml04_parse_image_props):
3704 * src/xml-label-191.c: (xml191_parse_image_props):
3705 * src/xml-label.c: (xml_parse_object_image):
3706 Delay setting image size until after image has been applied to new
3709 2004-02-15 Jim Evins <evins@snaught.com>
3711 * src/label-barcode.c: (gl_label_barcode_set_data),
3712 (gl_label_barcode_set_props):
3713 Don't emit "changed" signal, if no change actually made for these
3714 methods. Reduces number of unnecessary redraws of barcodes.
3716 * src/label-object.h:
3717 * src/label-object.c: (gl_label_object_set_position),
3718 (gl_label_object_set_position_relative), (set_size),
3719 (gl_label_object_set_size),
3720 (gl_label_object_set_size_honor_aspect):
3721 Don't emit "changed" signal, if no change actually made for these
3724 2004-02-15 Jim Evins <evins@snaught.com>
3726 * data/glabels-2.0.dtd:
3727 Added specific subtypes for various barcode types.
3730 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3731 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3732 (gl_barcode_can_text), (gl_barcode_text_optional),
3733 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3734 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3735 Changed API to use a string id, rather than a fixed enumeration. Id and
3736 name are separate strings. Added entries to backend table for specific
3737 subtypes for various barcode types.
3740 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3742 Modified to conform to above API. Now more stringent with data length
3743 for various subtypes.
3745 * src/bc-gnubarcode.h:
3746 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3747 (is_length_valid), (is_length1_valid), (is_length2_valid):
3748 Modified to conform to above API. Now more stringent with data length
3749 for various subtypes.
3751 * src/label-barcode.h:
3752 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3753 (gl_label_barcode_get_props), (get_size):
3754 Modified to use above API for storing barcode type.
3756 * src/object-editor.h:
3757 * src/object-editor-bc-page.c: (style_changed_cb),
3758 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3759 Modified to use above API for storing barcode type.
3761 * src/object-editor-size-page.c:
3762 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3763 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3764 Added debug markers.
3766 * src/object-editor.glade:
3767 Made barcode style combo's text entry non-editable.
3769 * src/print.c: (draw_barcode_object):
3770 Modified to use above API for barcode type.
3772 * src/view-barcode.c: (update_object_from_editor_cb),
3773 (update_editor_from_object_cb),
3774 (gl_view_barcode_create_event_handler), (draw_barcode):
3775 Modified to use above API for barcode type.
3777 * src/xml-label-04.c: (xml04_parse_barcode_props):
3778 * src/xml-label-191.c: (xml191_parse_barcode_props):
3779 * src/xml-label.c: (xml_parse_object_barcode),
3780 (xml_create_object_barcode):
3781 Modified to use above API for barcode type.
3783 2004-02-07 Jim Evins <evins@snaught.com>
3785 * src/stock-pixmaps/Makefile.am:
3786 * src/stock-pixmaps/stock_hchain_24.png:
3787 * src/stock-pixmaps/stock_hchain_broken_24.png:
3788 * src/stock-pixmaps/stock_vchain_24.png:
3789 * src/stock-pixmaps/stock_vchain_broken_24.png:
3790 Added chain pixmaps borrowed from the gimp's default theme.
3793 * src/stock.c: (gl_stock_init), (add_button_icon):
3794 Added above pixmaps to stock icon sets. Created add_button_icon() to
3795 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3797 * src/wdgt-chain-button.h
3798 * src/wdgt-chain-button.c
3801 Added this Modified version of gimpchainbutton widget, borrowed from
3805 Added acknowledgements of the above borrowing from the gimp.
3807 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3809 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3810 * src/object-editor.glade:
3811 Replaced the keep aspect ratio check box with the above chain-button
3814 * src/text-node.c: (gl_text_node_equal):
3816 Added function gl_text_node_equal() to compare text_nodes.
3818 * src/label-image.c: (gl_label_image_set_filename):
3819 Replaced incomplete text_node comparison code with invocation of
3820 gl_text_node_equal. This fixed the problem of not being able to
3821 resize an image using the object_editor if the aspect ratio is not
3824 2004-02-04 Jim Evins <evins@snaught.com>
3826 * src/object-editor-image-page.c:
3827 (gl_object_editor_prepare_image_page):
3828 Track "changed" signal of pixmap entry's GtkEntry rather than its
3829 "activate" signal -- this catches all changes to the entry rather than
3830 just changes resulting from a browse, so one can easily pull previous
3831 entries from the history. (This change is marked below on 2004-02-03,
3832 but somehow never got checked in.)
3834 * src/view-highlight.c: (sl_resize_event_handler),
3835 (sr_resize_event_handler), (st_resize_event_handler),
3836 (sb_resize_event_handler):
3837 Side resize handles will now confirm the actual resize that the object
3838 accepted before adjusting position parameters. Previously some interesting
3839 things happened when resizing a barcode to its minimum size.
3841 2004-02-03 Jim Evins <evins@snaught.com>
3843 * src/object-editor-image-page.c:
3844 (gl_object_editor_prepare_image_page):
3845 Track "changed" signal of pixmap entry's GtkEntry rather than its
3846 "activate" signal -- this catches all changes to the entry rather than
3847 just changes resulting from a browse, so one can easily pull previous
3848 entries from the history.
3850 * src/view-highlight.c: (tl_resize_event_handler),
3851 (tr_resize_event_handler), (bl_resize_event_handler),
3852 (br_resize_event_handler):
3853 Allow control key to be dropped while dragging a corner resize handle
3854 without losing the aspect ratio lock.
3856 2004-02-02 Jim Evins <evins@snaught.com>
3858 * src/label-image.c: (gl_label_image_set_filename):
3859 When setting a new filename adjust size such that the aspect ratio of
3860 the image is preserved using the current size as a bounding box.
3862 * src/view-image.c: (update_object_from_editor_cb):
3863 When updating object from editor, feed back possible size changes to
3864 editor as a result of a possible change in image.
3866 * src/object-editor-size-page.c: (size_reset_cb):
3867 Fixed typo when blocking spin handlers. If the base size is larger than
3868 the max size, treat max size as a bounding box while keeping aspect
3872 2004-02-02 Jim Evins <evins@snaught.com>
3874 * src/label-object.h:
3875 * src/label-object.c: (gl_label_object_set_size),
3876 (gl_label_object_set_size_honor_aspect):
3877 Added gl_label_object_set_size_honor_aspect() which will maintain the
3878 current aspect ratio by modifying the supplied w or h apropriately.
3880 * src/view-highlight.c: (tl_resize_event_handler),
3881 (tr_resize_event_handler), (bl_resize_event_handler),
3882 (br_resize_event_handler):
3883 Corner handles will now maintain the current aspect ratio if the
3884 control key is pressed while resizing. This addresses feature
3888 2004-01-31 Jim Evins <evins@snaught.com>
3891 * data/avery-us-templates.xml:
3892 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3894 * libglabels/template.c: (read_template_files_from_dir):
3895 Corrected problem with testing for extensions.
3897 * src/object-editor.glade:
3898 Corrected grouping of radio buttons in barcode data page.
3900 * src/print.c: (draw_barcode_object):
3901 * src/view-barcode.c: (draw_barcode):
3902 Corrected problem with calculation of y_offset for locating characters.
3904 2004-01-24 Jim Evins <evins@snaught.com>
3907 * data/avery-us-templates.xml:
3908 Added Avery 5824, submitted by Fred Bacon.
3910 2004-01-20 Jim Evins <evins@snaught.com>
3912 Catching up on a couple of backlogged user template submissions.
3914 * data/avery-iso-templates.xml:
3915 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3916 Suggested by Linas Jakucionis.
3918 * data/zweckform-iso-templates.xml:
3919 Added Zweckform 4760, submitted by Thomas Vill.
3922 Updated to reflect above submissions.
3924 2004-01-06 Jim Evins <evins@snaught.com>
3926 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3927 xml.[ch] into a separate library called libglabels, to facilitate third
3928 party use of glabels template files. This was suggested by Wayne Schuller.
3929 Once split-out, some modifications to the structures and functions to
3930 make a cleaner more useful API, hopefully. Rather extensive changes have
3931 propogated to other modules.
3939 * src/xml-template.h:
3940 * src/xml-template.c:
3943 These files have been moved to libglabels/. API cleanup performed.
3945 * libglabels/libglabels.h:
3946 * libglabels/libglabels-private.h:
3947 * libglabels/Makefile.am:
3948 These files have been added to finish out libglabels.
3955 Modified to reflect new sets of files in src/ and libglabels/.
3957 * COPYING.LIBGLABELS:
3959 Added copy of the LGPL for libglabels, and a copy the GFDL for
3962 * src/glabels-batch.c:
3964 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3965 (gl_label_get_size):
3967 * src/prefs-model.c: (gl_prefs_model_load_settings):
3968 * src/print-dialog.c:
3969 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3970 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3971 (print_crop_marks), (print_label), (draw_outline),
3972 (clip_to_outline), (clip_punchouts):
3973 * src/template-designer.c: (construct_pg_size_page),
3974 (pg_size_page_changed_cb), (layout_page_changed_cb),
3975 (print_test_cb), (build_template):
3976 * src/util.c: (gl_util_fraction):
3978 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3979 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3980 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3981 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3982 (draw_markup_margin_round), (draw_markup_margin_cd),
3983 (draw_markup_margin_cd_bc), (draw_markup_line),
3984 (draw_markup_circle), (gl_view_copy):
3985 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3986 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3987 (get_label_size_desc):
3988 * src/wdgt-mini-preview.c:
3989 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3991 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3992 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3993 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3994 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3995 * src/wdgt-rotate-label.h:
3996 * src/xml-label-04.c: (xml04_parse_media_description):
3997 * src/xml-label-191.c: (gl_xml_label_191_parse),
3998 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3999 (xml191_parse_markup), (xml191_parse_alias):
4000 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4002 Various changes to accomodate new libglabels API.
4004 2004-01-03 Jim Evins <evins@snaught.com>
4009 2004-01-03 Jim Evins <evins@snaught.com>
4012 Added acknowledgement of contributions by Wayne Schuller.
4014 * src/commands.c: (gl_cmd_file_print):
4015 Create extra reference to print dialog, so that it can be properly re-used.
4017 * src/mygal/mygal-combo-box.h:
4018 * src/mygal/mygal-combo-box.c:
4019 (mygal_combo_box_popup_hide_unconditional),
4020 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4021 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4022 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4023 (mygal_combo_box_set_tearable):
4024 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4025 complete the rename of this widget to prevent namespace collisions
4028 * src/prefs-dialog.glade:
4029 Fixed alignment of Fill/Color widgets.
4031 2004-01-03 Jim Evins <evins@snaught.com>
4033 * data/avery-iso-templates.xml:
4034 Added user submitted templates.
4035 Avery 8435A & 8435B, submitted by Ludger Solbach.
4037 * doc/C/glabels.xml:
4038 Added minimal documentation, noting the new template designer.
4040 2004-01-03 Jim Evins <evins@snaught.com>
4042 * pixmaps/ex-rect-size.png:
4043 * pixmaps/ex-round-size.png:
4044 * pixmaps/ex-cd-size.png:
4045 * pixmaps/Makefile.am:
4046 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4047 files to be used as illustrations/examples in the template-designer.
4049 * src/template-designer.c: (construct_rect_size_page),
4050 (construct_round_size_page), (construct_cd_size_page),
4051 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4052 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4053 (layout_page_prepare_cb), (build_template):
4054 * src/template-designer.glade:
4055 Added illustrations for rectangle, round, and cd label size pages.
4056 Added margin spinboxes to these pages, and now add a margin markup
4057 to the constructed template. Added realistic default values for
4058 some of the size spinboxes. Cleaned up the code for setting spinbox
4059 ranges on the layouts page.
4061 2004-01-02 Jim Evins <evins@snaught.com>
4063 * src/object-editor-size-page.c: (h_spin_cb):
4064 Fixed cut-n-paste error in h_spin_cb that loaded h from
4065 the wrong spinbutton.
4067 * src/object-editor.h:
4068 * src/object-editor.c: (gl_object_editor_class_init),
4069 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4070 * src/object-editor-private.h:
4071 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4073 Added "size_changed" signal.
4075 * src/view-text.c: (construct_properties_editor),
4076 (update_object_from_editor_cb),
4077 (update_object_from_editor_size_cb):
4078 Track size changes from object editor separately from other
4079 properties. This is so the default size (0,0) of a text
4080 object is not modified unintentionally.
4082 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4084 Added feature: line spacing - allows you to comfortably space a text box to
4085 fit a label perfectly.
4087 * data/glabels-2.0.dtd:
4088 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4089 (gl_label_object_get_text_alignment),
4090 (gl_label_object_get_text_line_spacing):
4091 * src/label-object.h:
4092 * src/label-text.c: (gl_label_text_class_init),
4093 (gl_label_text_instance_init), (copy), (get_size),
4094 (set_text_line_spacing), (get_text_alignment),
4095 (get_text_line_spacing):
4096 * src/object-editor-private.h:
4097 * src/object-editor-text-page.c:
4098 (gl_object_editor_prepare_text_page),
4099 (gl_object_editor_set_text_line_spacing),
4100 (gl_object_editor_get_text_line_spacing):
4101 * src/object-editor.glade:
4102 * src/object-editor.h:
4103 * src/prefs-dialog.c: (construct_object_page),
4104 (update_object_page_from_prefs), (update_prefs_from_object_page):
4105 * src/prefs-dialog.glade:
4106 * src/prefs-model.c: (gl_prefs_model_save_settings),
4107 (gl_prefs_model_load_settings), (get_float):
4108 * src/prefs-model.h:
4109 * src/print.c: (draw_text_object):
4111 * src/view-text.c: (update_object_from_editor_cb),
4112 (update_editor_from_object_cb),
4113 (gl_view_text_create_event_handler), (draw_hacktext):
4114 * src/view.c: (gl_view_construct),
4115 (gl_view_set_selection_text_line_spacing),
4116 (gl_view_set_default_text_line_spacing),
4117 (gl_view_get_default_text_line_spacing):
4119 * src/xml-label.c: (xml_parse_toplevel_span),
4120 (xml_create_toplevel_span):
4122 2003-12-30 Jim Evins <evins@snaught.com>
4124 * src/template-designer.c:
4125 * src/template-designer.h:
4126 * src/template-designer.glade:
4127 New template designer assistant.
4131 Added entries for src/template-designer.* files.
4133 * pixmaps/ex-1layout.png
4134 * pixmaps/ex-2layouts.png
4135 * pixmaps/Makefile.am:
4136 Added the new image files ex-*.png used as illustrations in the
4137 template designer assistant.
4139 * src/print-dialog.h:
4140 * src/print-dialog.c: (gl_print_dialog_finalize),
4141 (gl_print_dialog_new), (gl_print_dialog_construct),
4142 (gl_print_dialog_force_outline_flag):
4143 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4144 to support printing from the template designer assistant which does not
4145 have a full-fledged view. Nothing else from the view object was being
4146 used by the dialog anyway.
4148 Added the gl_print_dialog_force_outline_flag() method, for better
4149 integration with the template designer assistant.
4153 * src/commands.c: (gl_cmd_file_template_designer),
4154 (gl_cmd_file_print):
4155 Modified print command to provide label instead of view to dialog.
4156 Added the gl_cmd_file_template_designer() command to invoke the
4157 template designer assistant.
4160 * src/glabels-ui.xml:
4161 Added support for template designer assistant.
4163 * src/wdgt-mini-preview.h:
4164 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4165 (gl_wdgt_mini_preview_set_bg_color):
4166 Preview is now centered in canvas. Added
4167 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4168 assistant to match the background color with its own.
4170 * src/print.c: (clip_to_outline):
4171 Fixed really stupid bug when adding waste to clip region of rectangular
4172 labels/cards. Each side of the clip region needs to be extended by
4173 twice the waste margin, as well as negatively offset by the waste
4176 2003-12-28 Jim Evins <evins@snaught.com>
4178 * src/prefs-dialog.c: (update_object_page_from_prefs):
4179 Block intermediary function align_toggle_cb() instead of
4180 update_prefs_from_object_page() for the three alignment
4183 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4185 * src/file.c: (gl_file_new), (gl_file_properties):
4186 Swap button order and set default for higificatory pleasure.
4188 2003-12-27 Jim Evins <evins@snaught.com>
4190 * barcode-0.98/Makefile.am:
4191 One last time: removed doc/Makefile and po/Makefile.in.in from
4194 2003-12-27 Jim Evins <evins@snaught.com>
4196 * barcode-0.98/Makefile.am:
4197 Removed config.stat entry from EXTRA_DIST files.
4199 * barcode-0.98/Makefile.in:
4202 2003-12-27 Jim Evins <evins@snaught.com>
4205 Updated to work with latest gnome-common package from CVS.
4206 Removed recursive configuration of barcode-0.98.
4213 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4215 * barcode-0.98/Makefile.in:
4216 * barcode-0.98/configure.in:
4217 * barcode-0.98/Makefile.am:
4218 * barcode-0.98/README.glabels:
4219 Modified to ignore the barcode package's build system, and build
4220 as a part of glabels.
4221 Renamed Makefile.in to Makefile.in.dist.
4222 Renamed configure.in to configure.in.dist.
4223 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4226 * src/mygal/Makefile.am:
4227 * src/recent-files/Makefile.am:
4228 In order to build against the GNOME 2.5 platform,
4229 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4231 * src/mygal/Makefile.am:
4232 * src/mygal/mygal-combo-box.c:
4233 * src/mygal/mygal-combo-box.h:
4234 * src/mygal/widget-color-combo.c:
4235 * src/mygal/widget-color-combo.h:
4237 In order to build against the GNOME 2.5 platform,
4238 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4239 collisions with the real gtk_combo_box widget, now a part of gtk.
4241 2003-12-26 Jim Evins <evins@snaught.com>
4247 Moved local versions of get_home_data_dir() in paper.c and
4248 template.c to util package. Cleaned up formatting in
4252 In gl_template_register() save a copy of the template in
4253 ~/.glabels if the template is not known. Still need to
4254 handle duplicate filename case and duplicate name but
4255 different template case.
4259 Moved local definition of NAME_SPACE macro from xml-label.c
4262 * src/xml-template.c:
4263 * src/xml-template.h:
4264 Added function gl_xml_template_write_template_to_file(), used
4265 in gl_template_register().