1 2008-12-21 Jim Evins <evins@snaught.com>
3 * data/templates/avery-us-templates.xml:
4 * data/templates/misc-iso-templates.xml:
5 A couple of recent template submissions.
7 Acknowledgements for above templates.
9 2008-12-21 Jim Evins <evins@snaught.com>
11 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
12 Don't check for handles on aggregate selections.
14 2008-12-20 Jim Evins <evins@snaught.com>
17 Updated prerequisite library versions required.
19 2008-12-18 Jim Evins <evins@snaught.com>
21 * src/view.c: (selection_received_cb):
22 Fixed paste bug that caused a duplicate phantom view_object to be created for
23 each new label_object. This is because the view now (as of r673) the view
24 monitiors the label for new objects and creates view_objects automatically.
26 2008-12-14 Jim Evins <evins@snaught.com>
28 * src/ui.c: (gl_ui_new):
29 Bug #2395628. Fixed i18n for application shell.
31 Bug #2395628. Reconciled POTFILES.in with current files.
33 2008-12-14 Jim Evins <evins@snaught.com>
36 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
38 2008-11-15 Jim Evins <evins@snaught.com>
40 * libglabels/db.c: (lgl_db_register_template):
41 * libglabels/xml-template.c:
42 (lgl_xml_template_parse_template_node):
43 * src/glabels-batch.c:
44 * src/view-text.c: (gl_view_text_create_button_press_event):
45 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
47 2008-11-09 Jim Evins <evins@snaught.com>
49 * data/templates/misc-iso-templates.xml:
50 Another user submitted template.
52 2008-10-27 Jim Evins <evins@snaught.com>
54 * data/templates/avery-us-templates.xml:
55 * data/templates/misc-iso-templates.xml:
56 * data/templates/zweckform-iso-templates.xml:
57 Caught up on user submitted templates.
59 Acknowledgements for above templates.
61 2008-10-23 Jim Evins <evins@snaught.com>
63 * src/label-text.c: (set_font_family):
64 * src/object-editor-text-page.c:
65 (gl_object_editor_prepare_text_page),
66 (gl_object_editor_set_font_family):
67 * src/prefs-dialog.c: (construct_object_page),
68 (update_object_page_from_prefs):
69 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
70 (reset_to_default_properties):
71 * src/util.c: (gl_util_get_font_family_list):
73 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
74 everytime the list is requested.
75 * src/object-editor-text-page.c:
76 (gl_object_editor_set_font_family):
77 Don't change font-family if it hasn't actually changed.
79 2008-10-19 Jim Evins <evins@snaught.com>
81 * data/builder/object-editor.glade:
82 Some tweaking of builder/glade widgets.
84 2008-10-18 Jim Evins <evins@snaught.com>
86 Migrated all use of libglade to GtkBuilder.
88 * data/glade/Makefile.am:
89 * data/glade/merge-properties-dialog.glade:
90 * data/glade/new-label-dialog.glade:
91 * data/glade/object-editor.glade:
92 * data/glade/prefs-dialog.glade:
93 * data/glade/print-custom-widget.glade:
94 * data/glade/property-bar.glade:
95 * data/glade/template-designer.glade:
96 * data/glade/wdgt-media-select.glade:
97 Removed data/glade directory.
98 * data/builder/Makefile.am:
99 * data/builder/merge-properties-dialog.glade:
100 * data/builder/new-label-dialog.glade:
101 * data/builder/object-editor.glade:
102 * data/builder/prefs-dialog.glade:
103 * data/builder/print-custom-widget.glade:
104 * data/builder/property-bar.glade:
105 * data/builder/template-designer.glade:
106 * data/builder/wdgt-media-select.glade:
107 Added data/builder directory.
111 Change glade to builder.
112 * src/merge-properties-dialog.c:
113 (gl_merge_properties_dialog_finalize),
114 (gl_merge_properties_dialog_construct):
115 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
116 (gl_new_label_dialog_construct):
117 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
118 * src/object-editor-data-page.c:
119 (gl_object_editor_prepare_data_page):
120 * src/object-editor-edit-page.c:
121 (gl_object_editor_prepare_edit_page):
122 * src/object-editor-fill-page.c:
123 (gl_object_editor_prepare_fill_page):
124 * src/object-editor-image-page.c:
125 (gl_object_editor_prepare_image_page):
126 * src/object-editor-line-page.c:
127 (gl_object_editor_prepare_line_page):
128 * src/object-editor-lsize-page.c:
129 (gl_object_editor_prepare_lsize_page):
130 * src/object-editor-position-page.c:
131 (gl_object_editor_prepare_position_page):
132 * src/object-editor-private.h:
133 * src/object-editor-shadow-page.c:
134 (gl_object_editor_prepare_shadow_page):
135 * src/object-editor-size-page.c:
136 (gl_object_editor_prepare_size_page):
137 * src/object-editor-text-page.c:
138 (gl_object_editor_prepare_text_page):
139 * src/object-editor.c: (gl_object_editor_init):
140 * src/prefs-dialog.c: (gl_prefs_dialog_init),
141 (gl_prefs_dialog_construct), (construct_locale_page),
142 (construct_object_page):
143 * src/print-op.c: (gl_print_op_finalize),
144 (create_custom_widget_cb):
145 * src/template-designer.c: (gl_template_designer_class_init),
146 (gl_template_designer_finalize), (gl_template_designer_construct),
147 (construct_start_page), (construct_name_page),
148 (construct_pg_size_page), (construct_shape_page),
149 (construct_rect_size_page), (construct_round_size_page),
150 (construct_cd_size_page), (construct_nlayouts_page),
151 (construct_layout_page), (construct_finish_page):
152 * src/template-designer.h:
153 * src/ui-property-bar.c: (gl_ui_property_bar_init),
154 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
155 (gl_ui_property_bar_construct), (reset_to_default_properties),
156 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
157 (update_text_properties), (update_fill_color), (update_line_color),
158 (update_line_width), (selection_changed_cb),
159 (font_family_changed_cb), (font_size_changed_cb),
160 (text_color_changed_cb), (fill_color_changed_cb),
161 (line_color_changed_cb), (line_width_changed_cb),
162 (font_bold_toggled_cb), (font_italic_toggled_cb),
163 (text_align_toggled_cb), (set_doc_items_sensitive),
164 (set_text_items_sensitive), (set_fill_items_sensitive),
165 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
166 * src/ui-property-bar.h:
167 * src/util.c: (gl_util_get_builder_widgets):
169 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
170 (gl_wdgt_media_select_construct):
171 Migration of glade to builder.
173 New macros for color combo initialization.
175 Added idea for internal merge database.
176 * docs/libglabels/libglabels-undocumented.txt:
177 * docs/libglabels/tmpl/paper.sgml:
181 2008-10-12 Jim Evins <evins@snaught.com>
183 * src/mygal/Makefile.am:
184 * src/mygal/color-group.c:
185 * src/mygal/color-group.h:
186 * src/mygal/color-palette.c:
187 * src/mygal/color-palette.h:
188 * src/mygal/e-colors.c:
189 * src/mygal/e-colors.h:
190 * src/mygal/e-marshal.list:
191 * src/mygal/e-util.h:
192 * src/mygal/mygal-combo-box.c:
193 * src/mygal/mygal-combo-box.h:
194 * src/mygal/widget-color-combo.c:
195 * src/mygal/widget-color-combo.h:
201 * src/color-combo-color-menu-item.c:
202 * src/color-combo-color-menu-item.h:
203 * src/color-combo-history.c:
204 * src/color-combo-history.h:
205 * src/color-combo-menu.c:
206 * src/color-combo-menu.h:
211 Created new glColorCombo widget.
212 * src/object-editor-bc-page.c:
213 * src/object-editor-edit-page.c:
214 * src/object-editor-fill-page.c:
215 * src/object-editor-line-page.c:
216 * src/object-editor-shadow-page.c:
217 * src/object-editor-text-page.c:
218 * src/object-editor.c:
219 * src/prefs-dialog.c:
220 * src/ui-property-bar.c:
221 Replaced use of mygal color combo with new glColorCombo widget.
223 2008-08-29 Jim Evins <evins@snaught.com>
225 * src/file.c: (gl_file_open), (gl_file_save_as):
226 Bug #2069668. Corrected button order in Open and "Save as"
229 2008-08-17 Jim Evins <evins@snaught.com>
231 * data/dtd/glabels-2.2.dtd:
232 * data/templates/paper-sizes.xml:
233 * libglabels/db.c: (lgl_db_init):
234 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
235 * libglabels/paper.h:
236 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
237 * src/print-op.c: (set_page_size):
238 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
239 size specification) to the libglabels paper database to allow the page size to be
240 communicated to GtkPrintOp un-ambiguously.
242 2008-07-25 Jim Evins <evins@snaught.com>
244 * src/object-editor-size-page.c: (size_reset_cb),
245 (gl_object_editor_set_max_size):
246 Bug #1993550. Set size limits based on longest side of label.
248 2008-07-19 Jim Evins <evins@snaught.com>
251 * src/mygal/Makefile.am:
252 Make sure libtool handles library dependencies for mygal
255 2008-05-21 Jim Evins <evins@snaught.com>
257 * src/glabels-batch.c: (main):
258 Bug #1968653. Initialize prefs subsystem.
260 2008-05-09 Jim Evins <evins@snaught.com>
262 * data/glade/object-editor.glade:
263 Bug #1959135. A couple of radio buttons somehow became
266 2008-04-07 Jim Evins <evins@snaught.com>
268 * src/wdgt-rotate-label.h:
269 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
270 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
271 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
272 (gl_wdgt_rotate_label_set_template_name):
273 Modified wdgt-rotate-label to better indicate the rotation choices.
274 * data/glade/Makefile.am:
275 * data/glade/wdgt-rotate-label.glade:
276 Deleted wdgt-rotate-label.glade.
278 2008-04-04 Jim Evins <evins@snaught.com>
280 * data/templates/brother-other-templates.xml:
281 Added categories to existing templates.
282 * data/templates/misc-other-templates.xml:
283 Moved dymo templates to their own file.
284 * data/templates/Makefile.am:
285 * data/templates/dymo-other-templates.xml:
286 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
288 Acknowledgement for above templates.
290 2008-03-24 Jim Evins <evins@snaught.com>
292 * src/xml-label.c: (xml_doc_to_label):
293 Bug #1872584. Don't refuse to parse label file if namespace is
294 unrecognized -- it may be from a newer version of glabels.
296 2008-03-15 Jim Evins <evins@snaught.com>
298 * data/templates/Makefile.am:
299 * data/templates/brother-other-templates.xml:
300 Added brother templates.
301 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
302 (gl_cairo_markup_margin_cd_path):
303 * src/view.c: (draw_markup_layer):
304 Fixed markup drawing errors when label is rotated.
306 2008-03-03 Jim Evins <evins@snaught.com>
310 Added korean translation provided by xein@naver.com.
312 2008-02-21 Jim Evins <evins@snaught.com>
315 Fixed typo that prevented "Save" from being deactivated when
316 document is not modified.
318 2008-02-18 Jim Evins <evins@snaught.com>
320 * src/prefs-model.c: (gl_prefs_model_save_settings),
321 (gl_prefs_model_load_settings):
322 Set default units for file output.
324 2008-02-18 Jim Evins <evins@snaught.com>
326 * help/C/glabels.xml:
327 Fixed example template.
329 2008-02-16 Jim Evins <evins@snaught.com>
332 * data/templates/avery-iso-templates.xml:
333 * data/templates/avery-us-templates.xml:
334 * data/templates/misc-iso-templates.xml:
335 * data/templates/misc-us-templates.xml:
336 Caught up on user submitted templates.
338 2008-02-04 Jim Evins <evins@snaught.com>
340 * src/view-image.c: (update_object_from_editor_cb):
341 Bug #1886438. Don't update the image size unless it is actually
342 triggered by a change in image source. The result of this bug
343 was that any attempt to edit the size spinboxes, immediately
346 2008-02-03 Jim Evins <evins@snaught.com>
348 * src/label-image.c: (gl_label_image_class_init), (set_size):
349 Enforce minimum size for images.
351 2008-02-03 Jim Evins <evins@snaught.com>
353 * src/object-editor-edit-page.c: (field_selected_cb):
354 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
355 * src/object-editor-private.h:
356 * src/object-editor-shadow-page.c:
357 (gl_object_editor_set_max_shadow_offset):
358 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
359 * src/object-editor.c: (gl_object_editor_finalize),
360 (gl_object_editor_new), (gl_object_notebook_construct_valist),
362 * src/object-editor.h:
363 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
364 * src/view-barcode.c: (construct_properties_editor):
365 * src/view-box.c: (construct_properties_editor):
366 * src/view-ellipse.c: (construct_properties_editor):
367 * src/view-image.c: (construct_properties_editor):
368 * src/view-line.c: (construct_properties_editor):
369 * src/view-object.c: (gl_view_object_finalize):
370 * src/view-text.c: (construct_properties_editor),
371 Move update_editor_from_label callback from individual view objects
372 to the object editor, so that signals can be disconnected when
373 object editor is finalized.
374 * src/view-text.c: (gl_view_text_create_button_press_event):
375 Fixed bug that caused multiple view objects to be created for a
376 single text object. This bug would manifest itself as a crash
377 when deleting multi-object selections which included text objects.
379 2008-02-02 Jim Evins <evins@snaught.com>
382 * src/wdgt-merge-menu.c:
383 * src/wdgt-merge-menu.h:
384 * src/debug.c: (gl_debug_init):
387 New merge menu widget.
388 * data/glade/object-editor.glade:
389 * src/object-editor-private.h:
390 * src/object-editor.c: (gl_object_editor_set_key_names):
391 * src/object-editor-edit-page.c:
392 (gl_object_editor_prepare_edit_page), (field_selected_cb),
394 Simplified UI for inserting fields into text objects by launching
395 a merge menu and directly inserting fields from the menu. No more
396 selecting field in combobox, then pressing insert button.
398 2008-01-31 Jim Evins <evins@snaught.com>
400 * src/label-barcode.c: (draw_object):
401 Fixed rendering problem when "Invalid data" is displayed when text
402 object is lower in stacking order.
404 2008-01-30 Jim Evins <evins@snaught.com>
406 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
407 Don't turn off cairo_hint_metrics. This causes serious issues with
410 2008-01-29 Jim Evins <evins@snaught.com>
412 * src/print-op.c: (gl_print_op_construct),
413 (gl_print_op_construct_batch), (set_page_size):
414 Explicitly set page size for "other" page sizes.
416 2008-01-25 Jim Evins <evins@snaught.com>
419 Fixed Code128C backend parameters.
420 * src/label-barcode.c: (get_size):
421 Bug #1766425. If barcode is not renderable with either
422 input data or default data, use a default size. Also
425 2008-01-16 Jim Evins <evins@snaught.com>
427 * src/print.c: (print_label):
428 Bug #1872568. Don't apply special transforms (rotate and
429 mirror) to clipping region or outline.
431 2008-01-01 Jim Evins <evins@snaught.com>
434 Sort font lists alphabetically.
436 2008-01-01 Jim Evins <evins@snaught.com>
438 * src/merge-evolution.c:
439 Do a case-insensitive sort.
441 2008-01-01 Jim Evins <evins@snaught.com>
443 * src/merge-evolution.c:
444 Sort evolution by "file_under" field. Original patch provided
445 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
448 Added acknowledgement for above patch.
450 2008-01-01 Jim Evins <evins@snaught.com>
455 Reconcile with 2.2 branch.
458 2007-12-21 Jim Evins <evins@snaught.com>
460 * COPYING.LIBGLABELS:
461 * COPYING.README_FIRST:
463 Updating license information to make more complete and understandable.
465 2007-12-16 Jim Evins <evins@snaught.com>
468 Updated version to 2.pre2.
469 * help/C/glabels.xml:
470 Updated documentation.
471 * src/ui-commands.c: (gl_ui_cmd_help_about):
472 Updated copyright string.
474 2007-12-15 Jim Evins <evins@snaught.com>
476 * data/glade/object-editor.glade:
477 Removed any GtkTable that contained a GtkComboBox because the size of
478 the combo box was not constrained properly. This sacrifices the nice
479 orderly labels for combo boxes that don't extend beyond the edge of the
482 2007-12-15 Jim Evins <evins@snaught.com>
484 * libglabels/db.c: (lgl_db_lookup_template_from_name):
485 * src/object-editor.c: (gl_object_editor_finalize):
486 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
487 Fixed several small memory leaks.
489 2007-12-14 Jim Evins <evins@snaught.com>
492 Optimize template search by name by using a GHashTable.
493 * src/mini-preview-pixbuf-cache.c:
494 * src/mini-preview-pixbuf-cache.h:
495 Store one pixbuf per template, but use a key for each alias.
496 * src/wdgt-media-select.c:
497 Optimize loading of tree data, thus optimizing the "new label" dialog.
499 2007-12-12 Jim Evins <evins@snaught.com>
501 * data/templates/avery-us-templates.xml:
502 More templates and aliases.
504 2007-12-08 Jim Evins <evins@snaught.com>
507 More prep for 2.1.5/2.2.0.
509 2007-12-08 Jim Evins <evins@snaught.com>
515 Preparation for 2.1.5.
517 2007-12-08 Jim Evins <evins@snaught.com>
519 * docs/libglabels/libglabels-decl-list.txt:
520 * docs/libglabels/libglabels-docs.sgml:
521 * docs/libglabels/libglabels-sections.txt:
522 * docs/libglabels/libglabels-undocumented.txt:
523 * docs/libglabels/tmpl/db.sgml:
524 * docs/libglabels/tmpl/str.sgml:
526 Documentation cleanup for libglabels.
528 2007-11-29 Jim Evins <evins@snaught.com>
532 Added lgl_db_does_template_name_exist().
533 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
536 Proof read recent templates -- make sure they still exist.
537 * src/wdgt-media-select.c:
538 Default to "search all templates" tab if no recent templates found.
540 2007-11-28 Jim Evins <evins@snaught.com>
542 * data/glade/wdgt-media-select.glade:
543 * src/wdgt-media-select.c:
544 Added tabbed notebook to allow selection of recent template versus searching the
548 2007-11-26 Jim Evins <evins@snaught.com>
550 * libglabels/Makefile.am:
551 * libglabels/libglabels.h:
554 * src/prefs-dialog.c:
559 Added tracking of recently used templates.
561 2007-11-20 Jim Evins <evins@snaught.com>
563 * data/glade/template-designer.glade:
564 * src/template-designer.c:
565 Added warning icon when match brand and part match an existing template.
567 2007-11-18 Jim Evins <evins@snaught.com>
569 * libglabels/Makefile.am:
572 Added lgl_str_utf8_casecmp().
573 * libglabels/libglabels-private.h:
574 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
575 * libglabels/db.c: (lgl_db_get_brand_list):
576 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
579 2007-11-18 Jim Evins <evins@snaught.com>
581 * data/glade/template-designer.glade:
582 * src/template-designer.c:
583 Don't advance past name page, if brand and part match an existing template.
585 2007-11-18 Jim Evins <evins@snaught.com>
587 * libglabels/db.c: (lgl_db_register_template), (read_templates):
588 When registering a new template, don't add to "User defined" category before
589 writing to file. Add to "User defined" category when reading from "~/.glabels"
590 directory instead. This will allow legacy templates (and manually created
591 templates) to be automatically added to the "user defined" category.
592 * libglabels/xml-template.c:
593 (lgl_xml_template_create_template_node):
594 Fixed typo/bug causing brand to be wrong.
596 2007-11-16 Jim Evins <evins@snaught.com>
600 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
601 function. Automatically create "User defined" category and add to all user
602 registered templates.
603 * libglabels/xml-template.c:
604 * libglabels/xml-template.h:
605 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
606 lgl_xml_template_write_template_to_file().
607 * docs/libglabels/libglabels-decl-list.txt:
608 * docs/libglabels/libglabels-sections.txt:
609 * docs/libglabels/libglabels-undocumented.txt:
610 * docs/libglabels/tmpl/db.sgml:
611 * docs/libglabels/tmpl/xml-template.sgml:
612 Update documentation to reflect above changes.
614 2007-10-28 Jim Evins <evins@snaught.com>
616 * libglabels/xml-template.c:
617 Remove any leading white space from part #s when parsing old names.
618 * src/mini-preview-pixbuf-cache.c:
619 If name isn't in cache add it.
621 2007-10-26 Jim Evins <evins@snaught.com>
623 * libglabels/Makefile.am:
624 * libglabels/category.c:
625 * libglabels/category.h:
628 * libglabels/libglabels-private.h:
629 * libglabels/libglabels.h:
630 * libglabels/paper.c:
631 * libglabels/paper.h:
632 * libglabels/template.c:
633 * libglabels/template.h:
634 * libglabels/xml-template.c:
635 Another pass at screwing with the libglabels API. Moved all
636 database related stuff to db.[ch].
637 * docs/libglabels/libglabels-decl-list.txt:
638 * docs/libglabels/libglabels-docs.sgml:
639 * docs/libglabels/libglabels-sections.txt:
640 * docs/libglabels/libglabels-undocumented.txt:
641 * docs/libglabels/tmpl/category.sgml:
642 * docs/libglabels/tmpl/db.sgml:
643 * docs/libglabels/tmpl/init.sgml:
644 * docs/libglabels/tmpl/libglabels-unused.sgml:
645 * docs/libglabels/tmpl/paper.sgml:
646 * docs/libglabels/tmpl/template-construction.sgml:
647 * docs/libglabels/tmpl/template-db.sgml:
648 * docs/libglabels/tmpl/template-misc.sgml:
649 * docs/libglabels/tmpl/template-struct.sgml:
650 * docs/libglabels/tmpl/template.sgml:
651 Updated documentation to reflect above changes to libglabels API.
653 * src/glabels-batch.c:
655 * src/mini-preview-pixbuf-cache.c:
658 * src/template-designer.c:
659 * src/wdgt-media-select.c:
660 * src/wdgt-mini-preview.c:
661 * src/wdgt-rotate-label.c:
662 * src/xml-label-04.c:
664 Reconciled usage with above libglabels API changes.
666 2007-10-21 Jim Evins <evins@snaught.com>
668 * data/glade/wdgt-media-select.glade:
669 * src/wdgt-media-select.c:
670 Added brand to filter settings.
672 2007-10-21 Jim Evins <evins@snaught.com>
674 * data/dtd/glabels-2.2.dtd:
675 Forgot to replace Alias name attribute with brand and part attributes.
676 * data/templates/avery-iso-templates.xml:
677 * data/templates/avery-other-templates.xml:
678 * data/templates/avery-us-templates.xml:
679 * data/templates/misc-iso-templates.xml:
680 * data/templates/misc-other-templates.xml:
681 * data/templates/misc-us-templates.xml:
682 * data/templates/zweckform-iso-templates.xml:
683 Replaced all name attributes with brand/part attribute pairs.
685 2007-10-20 Jim Evins <evins@snaught.com>
687 * src/stock-pixmaps/*.png
688 Updated icons to use Tango color palette.
690 2007-10-20 Jim Evins <evins@snaught.com>
692 * data/dtd/Makefile.am:
693 * data/dtd/glabels-2.0.dtd:
694 * data/dtd/glabels-2.2.dtd:
695 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
697 * libglabels/template.c:
698 * libglabels/template.h:
699 * libglabels/xml-template.c:
701 Added brand and part attributes to template and alias structures and nodes.
704 * src/mini-preview-pixbuf-cache.c:
705 * src/template-designer.c:
706 * src/wdgt-media-select.c:
707 Use modified libglabels API.
708 * docs/libglabels/libglabels-decl-list.txt:
709 * docs/libglabels/libglabels-sections.txt:
710 * docs/libglabels/libglabels-undocumented.txt:
711 * docs/libglabels/tmpl/template-construction.sgml:
712 * docs/libglabels/tmpl/template-db.sgml:
713 * docs/libglabels/tmpl/template-struct.sgml:
714 Update libglabels documentation to reflect above modifications.
716 2007-10-14 Jim Evins <evins@snaught.com>
718 * docs/libglabels/libglabels-decl-list.txt:
719 * docs/libglabels/libglabels-sections.txt:
720 * docs/libglabels/libglabels-undocumented.txt:
721 * docs/libglabels/tmpl/category.sgml:
722 * libglabels/category.c:
723 * libglabels/category.h:
724 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
725 parity with paper functions.
727 2007-10-12 Jim Evins <evins@snaught.com>
729 * docs/libglabels/libglabels-decl-list.txt:
730 * docs/libglabels/libglabels-sections.txt:
731 * docs/libglabels/libglabels-undocumented.txt:
732 * docs/libglabels/tmpl/category.sgml:
733 * docs/libglabels/tmpl/enums.sgml:
734 * docs/libglabels/tmpl/libglabels-unused.sgml:
735 * docs/libglabels/tmpl/paper.sgml:
736 * docs/libglabels/tmpl/template-struct.sgml:
738 * libglabels/template.c:
739 * libglabels/template.h:
740 Another pass at fleshing out the libglabels documentation.
741 * src/cairo-label-path.c:
742 * src/cairo-markup-path.c:
744 * src/mini-preview-pixbuf.c:
748 * src/wdgt-media-select.c:
749 * src/wdgt-mini-preview.c:
750 * src/wdgt-print-copies.c:
751 * src/wdgt-print-merge.c:
752 * src/wdgt-rotate-label.c:
753 Removed lgl_template_get_first_frame() from libglabels API and all references.
755 2007-10-11 Jim Evins <evins@snaught.com>
757 Extended checks for deprecated symbols.
758 * libglabels/template.c:
759 Removed g_strcasecmp references, which are deprecated.
761 2007-10-09 Jim Evins <evins@snaught.com>
763 * src/merge-evolution.c:
764 Create address book if it does not exist. Also, be more robust about handling
765 error conditions -- don't just assume GError has been set.
767 2007-10-08 Jim Evins <evins@snaught.com>
769 * libglabels/template.c:
770 * libglabels/xml-template.c:
771 * src/template-designer.c:
772 Missed some symbols with libglabels API work.
774 2007-10-01 Jim Evins <evins@snaught.com>
776 * docs/libglabels/libglabels-decl-list.txt:
777 * docs/libglabels/libglabels-docs.sgml:
778 * docs/libglabels/libglabels-sections.txt:
779 * docs/libglabels/libglabels-undocumented.txt:
780 * docs/libglabels/tmpl/category.sgml:
781 * docs/libglabels/tmpl/enums.sgml:
782 * docs/libglabels/tmpl/init.sgml:
783 * docs/libglabels/tmpl/libglabels-unused.sgml:
784 * docs/libglabels/tmpl/paper.sgml:
785 * docs/libglabels/tmpl/template-construction.sgml:
786 * docs/libglabels/tmpl/template-db.sgml:
787 * docs/libglabels/tmpl/template-misc.sgml:
788 * docs/libglabels/tmpl/template-struct.sgml:
789 * docs/libglabels/tmpl/template.sgml:
790 * docs/libglabels/tmpl/xml-category.sgml:
791 * docs/libglabels/tmpl/xml-template.sgml:
792 * libglabels/category.h:
794 * libglabels/libglabels-private.h:
795 * libglabels/paper.h:
796 * libglabels/template.c:
797 * libglabels/template.h:
798 * libglabels/xml-template.h:
799 Basic documentation framework for libglabels updated. This still needs some
802 2007-09-27 Jim Evins <evins@snaught.com>
804 * docs/libglabels/libglabels-decl-list.txt:
805 * docs/libglabels/libglabels-docs.sgml:
806 * docs/libglabels/libglabels-sections.txt:
807 * docs/libglabels/libglabels-undocumented.txt:
808 * docs/libglabels/tmpl/enums.sgml:
809 * docs/libglabels/tmpl/init.sgml:
810 * docs/libglabels/tmpl/libglabels-unused.sgml:
811 * docs/libglabels/tmpl/paper.sgml:
812 * docs/libglabels/tmpl/template.sgml:
813 * docs/libglabels/tmpl/xml-paper.sgml:
814 * docs/libglabels/tmpl/xml-template.sgml:
815 * docs/libglabels/tmpl/xml.sgml:
816 * libglabels/Makefile.am:
817 * libglabels/category.c:
818 * libglabels/category.h:
819 * libglabels/enums.h:
822 * libglabels/libglabels-private.h:
823 * libglabels/libglabels.h:
824 * libglabels/paper.c:
825 * libglabels/paper.h:
826 * libglabels/template.c:
827 * libglabels/template.h:
828 * libglabels/xml-category.c:
829 * libglabels/xml-category.h:
830 * libglabels/xml-paper.c:
831 * libglabels/xml-paper.h:
832 * libglabels/xml-template.c:
833 * libglabels/xml-template.h:
836 * src/cairo-label-path.c:
837 * src/cairo-label-path.h:
838 * src/cairo-markup-path.c:
839 * src/cairo-markup-path.h:
841 * src/glabels-batch.c:
843 * src/label-object.c:
846 * src/mini-preview-pixbuf-cache.c:
847 * src/mini-preview-pixbuf.c:
848 * src/mini-preview-pixbuf.h:
849 * src/prefs-dialog.c:
856 * src/template-designer.c:
857 * src/view-barcode.c:
859 * src/view-ellipse.c:
863 * src/wdgt-media-select.c:
864 * src/wdgt-mini-preview.c:
865 * src/wdgt-mini-preview.h:
866 * src/wdgt-print-copies.c:
867 * src/wdgt-print-merge.c:
868 * src/wdgt-rotate-label.c:
869 * src/xml-label-04.c:
871 Major cleanup of libglabels API -- this breaks API compatibility with older
872 development and stable versions -- as far as I know, there are currently
873 no external users of this library yet.
875 2007-09-14 Jim Evins <evins@snaught.com>
880 * src/label-object.c:
881 * src/label-object.h:
882 * src/label-barcode.c:
883 * src/label-ellipse.c:
886 * src/view-barcode.c:
888 * src/view-ellipse.c:
892 Better separation of model from view.
894 2007-08-21 Jim Evins <evins@snaught.com>
896 * src/print-op.c: (create_custom_widget_cb):
897 Fix problem with force_outline_flag -- don't override with default.
899 2007-08-21 Jim Evins <evins@snaught.com>
901 * data/dtd/glabels-2.0.dtd:
902 * libglabels/template.c:
903 * libglabels/template.h:
904 * libglabels/xml-template.c:
905 * src/cairo-markup-path.c:
906 Added "Markup-rect" element to template format.
908 2007-08-21 Jim Evins <evins@snaught.com>
911 Changed version to 2.1.pre5svn.
912 * src/view.c: (draw_markup_layer):
913 Do a stroke for each markup path, otherwise multiple markups
916 2007-08-17 Jim Evins <evins@snaught.com>
919 Bump libglabels revision numbers for 2.1.4 release.
921 2007-08-16 Jim Evins <evins@snaught.com>
924 Include subdir iec16022-0.2.1.
928 Preparation for 2.1.4.
931 2007-08-11 Jim Evins <evins@snaught.com>
937 Added Esperanto translation. Provided by Antonio C.
938 Codazzi "la Filozofo" <f_sophia@libero.it>.
940 Updated French translation. Provided by Claude Paroz
941 <claude@2xlibre.net>.
943 Updated to reflect above translations.
945 2007-08-11 Jim Evins <evins@snaught.com>
948 * data/templates/avery-iso-templates.xml:
949 * data/templates/avery-us-templates.xml:
950 * data/templates/misc-iso-templates.xml:
951 * data/templates/misc-other-templates.xml:
952 * data/templates/misc-us-templates.xml:
953 * data/templates/zweckform-iso-templates.xml:
954 Caught up with backlog of template submissions.
956 2007-08-10 Jim Evins <evins@snaught.com>
958 * src/bc-postnet.c: (gl_barcode_postnet_new):
960 Added support for Brazilian CEPNet barcodes. This is simply an
961 instance of the US POSTNET format with 8 digits. Patch supplied
962 by Mário Meyer in bug # 1768792.
964 Updated acknowledgments to reflect above patch and recent shuffling
965 of underlying technology.
967 2007-05-13 Jim Evins <evins@snaught.com>
969 * src/merge-text.c: (parse_line), (parse_field):
970 Remove leading and trailing spaces from CSV fields, unless quoted.
972 2007-05-09 Jim Evins <evins@snaught.com>
974 * src/object-editor-bc-page.c:
975 * src/object-editor-data-page.c:
976 * src/object-editor-fill-page.c:
977 * src/object-editor-image-page.c:
978 * src/object-editor-line-page.c:
979 * src/object-editor-lsize-page.c:
980 * src/object-editor-position-page.c:
981 * src/object-editor-private.h:
982 * src/object-editor-shadow-page.c:
983 * src/object-editor-size-page.c:
984 * src/object-editor-text-page.c:
985 * src/object-editor.c:
986 * src/prefs-dialog.c:
987 * src/template-designer.c:
988 * src/ui-property-bar.c:
989 * src/wdgt-media-select.c:
990 Replaced signal block/unblock pairs with simple flags. This reduces
991 some code clutter, hopefully making it easier to read.
993 2007-05-05 Jim Evins <evins@snaught.com>
995 * src/template-designer.c: (apply_cb):
996 Add new template to mini-preview pixbuf cache.
998 2007-05-03 Jim Evins <evins@snaught.com>
1000 * src/label-image.c: (gl_label_image_init), (draw_object):
1001 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1004 2007-05-02 Jim Evins <evins@snaught.com>
1006 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1007 (button_release_event_cb):
1008 Removed attempt at rendering optimization by clipping the updates
1009 to areas affected -- this actually seemed to hurt update performance.
1011 2007-04-30 Jim Evins <evins@snaught.com>
1014 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1015 (gl_color_node_equal), (gl_color_node_expand):
1016 * src/label-barcode.c: (draw_object):
1017 * src/label-box.c: (draw_object), (draw_shadow):
1018 * src/label-ellipse.c: (draw_object), (draw_shadow):
1019 * src/label-line.c: (draw_object), (draw_shadow):
1020 * src/label-text.c: (draw_object), (draw_shadow):
1021 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1022 * src/wdgt-rotate-label.c: (drawingarea_update):
1023 Some cleanup to color related code.
1025 2007-04-30 Jim Evins <evins@snaught.com>
1028 Added glLabelRegion structure type.
1029 * src/label-object.c: (gl_label_object_get_extent):
1030 * src/label-object.h:
1031 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1033 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1034 (gl_view_select_region), (gl_view_align_selection_left),
1035 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1036 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1037 (gl_view_align_selection_vcenter),
1038 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1039 (gl_view_move_selection), (gl_view_can_selection_text),
1040 (motion_notify_event_cb), (button_press_event_cb),
1041 (button_release_event_cb):
1042 - Reconcile with new gl_label_object_get_extent() API.
1043 - Use glLabelRegion for view->select_region.
1044 - Added gl_view_update_region() to clip updates to region.
1045 - Use gl_view_update_region() during manipulation of view->select_region.
1047 2007-04-26 Jim Evins <evins@snaught.com>
1049 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1050 (draw_label_outline):
1051 * src/print.c: (print_crop_marks), (draw_outline):
1052 * src/view-object.c: (gl_view_object_draw_handles):
1053 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1054 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1055 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1056 * src/wdgt-rotate-label.c: (drawingarea_update):
1057 Added defines for various magic numbers.
1059 2007-04-25 Jim Evins <evins@snaught.com>
1061 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1062 Scale text down. Cairo seems to render text too large.
1064 2007-04-25 Jim Evins <evins@snaught.com>
1067 * src/view.c: (gl_view_update), (expose_cb),
1068 (motion_notify_event_cb), (button_press_event_cb),
1069 (button_release_event_cb):
1070 - Try not to let updates get backed up.
1071 - Grab pointer when doing any drag operations.
1073 2007-04-11 Jim Evins <evins@snaught.com>
1075 * src/cairo-label-path.c: (gl_cairo_label_path),
1076 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1077 (gl_cairo_cd_label_path):
1078 * src/cairo-label-path.h:
1079 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1080 (draw_label_outline):
1081 * src/print.c: (draw_outline), (clip_to_outline):
1082 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1083 * src/wdgt-mini-preview.c: (draw_labels):
1084 * src/wdgt-rotate-label.c: (drawingarea_update):
1085 Modified to universally use gl_cairo_label_path() to create paths
1086 for labels. Added shadow to mini preview in rotate widget.
1088 2007-04-10 Jim Evins <evins@snaught.com>
1090 * libglabels/template.h:
1091 * libglabels/template.c: (gl_template_get_name_list_unique),
1092 (gl_template_get_name_list_all), (gl_template_from_name):
1093 Modified libglabels to allow you to get a list of all template names
1094 including all aliases or just a list of primary names of each unique
1097 * src/file.c: (gl_file_properties):
1098 * src/glabels.c: (main):
1099 * src/mini-preview-pixbuf-cache.h:
1100 * src/mini-preview-pixbuf-cache.c:
1101 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1102 (filter_changed_cb), (load_list):
1103 Added mini-preview pixbuf cache, so that only one mini-preview is
1104 needed for a unique template and gets reused for all aliases. These
1105 pixbufs will also live for the life of the program so they are not
1106 rebuilt everytime a new label dialog is invoked.
1107 * src/mini-preview-pixbuf.c: (draw_paper),
1108 (draw_rect_label_outline), (draw_round_label_outline),
1109 (draw_cd_label_outline):
1110 Removed some comment artifacts.
1112 2007-04-04 Jim Evins <evins@snaught.com>
1114 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1115 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1116 (draw_round_label_outline), (draw_cd_label_outline):
1117 * src/wdgt-media-select.c: (load_list):
1118 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1119 Cosmetic enhancments to mini previews.
1121 2007-04-04 Jim Evins <evins@snaught.com>
1123 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1124 (gl_ui_property_bar_construct):
1125 Save copy of GladeXML tree so that we don't lose tooltips.
1127 2007-04-02 Jim Evins <evins@snaught.com>
1129 * src/merge-properties-dialog.c:
1130 * src/new-label-dialog.c:
1131 * src/object-editor.c:
1132 * src/prefs-dialog.c:
1134 * src/template-designer.c:
1135 * src/ui-property-bar.c:
1136 * src/wdgt-media-select.c:
1137 * src/wdgt-rotate-label.c:
1138 Fixed several memory leaks.
1140 2007-04-01 Jim Evins <evins@snaught.com>
1142 * src/label-text.c: (gl_label_text_init), (copy),
1143 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1144 (set_font_family), (set_font_size), (set_font_weight),
1145 (set_font_italic_flag), (set_text_alignment),
1146 (set_text_line_spacing):
1147 Cache object size, so that expensive extent calculations are only done
1150 2007-03-30 Jim Evins <evins@snaught.com>
1152 * src/prefs-model.c: (gl_prefs_model_load_settings):
1153 Default to an unlimited list of recent documents, since this parameter
1154 seems to be pre-filter anyway.
1156 2007-03-30 Jim Evins <evins@snaught.com>
1158 * src/label-box.c: (draw_shadow):
1159 * src/label-ellipse.c: (draw_shadow):
1160 Added missing shadow fill.
1162 2007-03-28 Jim Evins <evins@snaught.com>
1164 * src/ui-commands.c: (gl_ui_cmd_file_print):
1165 Unreferencing the print operation sometimes crashes. Just don't do it
1168 2007-03-28 Jim Evins <evins@snaught.com>
1170 * src/print-op.c: (gl_print_op_construct),
1171 (gl_print_op_get_settings), (gl_print_op_set_settings),
1172 (gl_print_op_free_settings), (create_custom_widget_cb):
1174 * src/ui-commands.c: (gl_ui_cmd_file_print):
1175 * src/window.c: (gl_window_init):
1177 Save print settings and custom settings between print operations
1180 2007-03-24 Jim Evins <evins@snaught.com>
1182 * src/object-editor-image-page.c:
1183 (gl_object_editor_prepare_image_page),
1184 (gl_object_editor_set_image), (img_selection_changed_cb):
1185 Workaround for GtkFileChooserButton bug # 327243. This the root
1186 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1187 "selection-changed" signals -- the first 2 return NULL -- this is
1188 what caused the image to reset to the default followed by setting
1189 it back to the original image, trying to fit it into a new bounding
1190 box. This sequence of events is much more evident with the new
1193 2007-03-23 Jim Evins <evins@snaught.com>
1195 Merged all changes from experimental cairo branch to trunk.
1196 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1198 2007-03-23 Jim Evins <evins@snaught.com>
1200 * src/label-object.h:
1201 * src/label-object.c: (gl_label_object_class_init),
1202 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1203 Created "get_raw_size" method.
1204 * src/label-barcode.c: (get_size):
1205 * src/xml-label.c: (xml_create_object_text),
1206 (xml_create_object_barcode):
1207 Use new "get_raw_size" method on label-objects when apropos.
1209 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1210 (auto_shrink_font_size):
1211 Added "auto shrink" functionality back.
1213 2007-03-19 Jim Evins <evins@snaught.com>
1215 * src/label-text.c: (draw_object), (draw_shadow):
1216 Don't use negative scales in workaround from previous commit.
1219 2007-03-18 Jim Evins <evins@snaught.com>
1222 Forgot to remove include of xml-lable-191 in previous commit.
1223 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1224 Workaround for pango Bug #341481. Render text at device scale,
1225 and scale font size accordingly. Also, don't do any hinting.
1227 2007-03-18 Jim Evins <evins@snaught.com>
1229 * src/cairo-ellipse-path.c:
1230 * src/cairo-ellipse-path.h:
1231 Forgot to add these new files during last mass commit.
1233 2007-03-18 Jim Evins <evins@snaught.com>
1236 * src/xml-label-191.c:
1237 * src/xml-label-191.h:
1238 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1239 so there is no need to keep compatability.
1241 * src/bc-iec16022.c:
1242 * src/cairo-label-path.c:
1243 * src/cairo-label-path.h:
1244 * src/cairo-markup-path.c:
1248 * src/glabels-batch.c:
1250 * src/label-barcode.c:
1252 * src/label-ellipse.c:
1253 * src/label-image.c:
1255 * src/label-object.c:
1256 * src/label-object.h:
1260 * src/merge-properties-dialog.c:
1262 * src/new-label-dialog.c:
1263 * src/object-editor-bc-page.c:
1264 * src/object-editor-data-page.c:
1265 * src/object-editor-edit-page.c:
1266 * src/object-editor-fill-page.c:
1267 * src/object-editor-image-page.c:
1268 * src/object-editor-line-page.c:
1269 * src/object-editor-private.h:
1270 * src/object-editor-shadow-page.c:
1271 * src/object-editor-text-page.c:
1272 * src/object-editor.c:
1273 * src/pixbuf-cache.c:
1278 * src/template-designer.c:
1280 * src/ui-property-bar.c:
1282 * src/view-barcode.c:
1284 * src/view-ellipse.c:
1287 * src/view-object.c:
1288 * src/view-object.h:
1291 * src/wdgt-media-select.c:
1292 * src/wdgt-print-copies.c:
1293 * src/wdgt-print-merge.c:
1295 * src/xml-label-04.c:
1297 Many changes, including:
1298 - Move draw methods from view-*() to label-*().
1299 - Use same drawing code for on screen view and printing.
1300 - Fix all issues exposed with '-Wall -Werror'.
1302 2007-03-14 Jim Evins <evins@snaught.com>
1305 * src/cairo-handle-path.c:
1306 * src/cairo-handle-path.h:
1307 * src/cairo-object-path.c:
1308 * src/cairo-object-path.h:
1309 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1310 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1312 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1313 (draw_shadow), (object_at):
1314 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1315 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1316 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1318 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1319 (draw_shadow), (object_at):
1320 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1321 (create_handle_path), (gl_view_object_draw_handles),
1322 (gl_view_object_handle_at):
1323 * src/view-object.h:
1324 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1325 (draw_shadow), (object_at):
1326 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1327 Some restructuring of new code.
1329 2007-03-12 Jim Evins <evins@snaught.com>
1332 * src/cairo-object-path.c:
1333 * src/view-barcode.c:
1334 * src/view-barcode.h:
1336 Added barcode object support to view.
1338 2007-03-12 Jim Evins <evins@snaught.com>
1344 * src/cairo-object-path.c:
1345 * src/cairo-object-path.h:
1347 * src/view-ellipse.c:
1350 * src/view-object.c:
1351 * src/view-object.h:
1352 Added text object support to view. Added object_at method to all
1355 2007-03-11 Jim Evins <evins@snaught.com>
1358 * src/cairo-object-path.c: (gl_cairo_object_path),
1359 (gl_cairo_image_object_path):
1360 * src/view-image.c: (gl_view_image_class_init),
1361 (gl_view_image_finalize), (gl_view_image_new),
1362 (update_editor_from_label_cb), (draw),
1363 (gl_view_image_get_create_cursor),
1364 (gl_view_image_create_button_press_event),
1365 (gl_view_image_create_motion_event),
1366 (gl_view_image_create_button_release_event):
1368 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1369 (selection_received_cb), (motion_notify_event_cb),
1370 (button_press_event_cb), (button_release_event_cb):
1371 Added image object support to view.
1373 2007-03-11 Jim Evins <evins@snaught.com>
1376 * src/cairo-object-path.c: (gl_cairo_object_path),
1377 (gl_cairo_line_object_path):
1378 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1379 (update_object_from_editor_cb), (update_editor_from_object_cb),
1380 (update_editor_from_label_cb), (draw),
1381 (gl_view_line_get_create_cursor),
1382 (gl_view_line_create_button_press_event),
1383 (gl_view_line_create_motion_event),
1384 (gl_view_line_create_button_release_event):
1386 * src/view-object.c: (gl_view_object_resize_event):
1387 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1388 (selection_received_cb), (motion_notify_event_cb),
1389 (button_press_event_cb), (button_release_event_cb):
1390 Added line object support to view.
1391 * src/cairo-handle-path.c:
1392 Made handles slightly larger.
1395 2007-03-11 Jim Evins <evins@snaught.com>
1398 * src/cairo-handle-path.c:
1399 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1400 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1401 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1402 (gl_cairo_markup_margin_round_path),
1403 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1404 * src/cairo-object-path.c: (gl_cairo_object_path),
1405 (gl_cairo_ellipse_object_path):
1406 * src/label-object.c: (gl_label_object_rotate):
1409 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1410 (gl_view_ellipse_new), (update_object_from_editor_cb),
1411 (update_editor_from_object_cb), (update_editor_from_label_cb),
1412 (draw), (gl_view_ellipse_get_create_cursor),
1413 (gl_view_ellipse_create_button_press_event),
1414 (gl_view_ellipse_create_motion_event),
1415 (gl_view_ellipse_create_button_release_event):
1416 * src/view-ellipse.h:
1417 * src/view-object.c:
1418 * src/view-object.h:
1419 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1420 (select_object_real), (selection_received_cb),
1421 (motion_notify_event_cb), (button_press_event_cb),
1422 (button_release_event_cb):
1424 Added ellipse object support to view. Plus other cleanup.
1426 2007-03-11 Jim Evins <evins@snaught.com>
1429 * src/view-box.c: (gl_view_box_get_create_cursor),
1430 (gl_view_box_create_button_press_event),
1431 (gl_view_box_create_motion_event),
1432 (gl_view_box_create_button_release_event):
1433 * src/view-object.c: (gl_view_object_set_view),
1434 (gl_view_object_handle_at):
1436 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1437 (motion_notify_event_cb), (button_press_event_cb),
1438 (button_release_event_cb), (key_press_event_cb):
1439 Added creation code for box object.
1441 2007-03-09 Jim Evins <evins@snaught.com>
1443 * src/view-object.c: (gl_view_object_resize_event):
1444 * src/view-object.h:
1445 * src/view.c: (motion_notify_event_cb):
1446 Fix bugs with resizing transformed objects.
1447 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1448 * src/cairo-object-path.c: (gl_cairo_object_path):
1449 * src/cairo-object-path.h:
1450 * src/label-object.c: (gl_label_object_init),
1451 (gl_label_object_dup), (gl_label_object_get_extent),
1452 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1453 (gl_label_object_rotate), (gl_label_object_set_matrix),
1454 (gl_label_object_get_matrix):
1455 * src/label-object.h:
1456 * src/print.c: (draw_object):
1458 * src/view-highlight.c:
1459 * src/view-highlight.h:
1460 * src/xml-label-191.c: (xml191_parse_object):
1461 * src/xml-label.c: (xml_parse_affine_attrs),
1462 (xml_create_affine_attrs):
1463 Replace libart affine matrices with cairo matrices.
1465 2007-03-08 Jim Evins <evins@snaught.com>
1467 * src/view-object.h:
1468 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1469 * src/view-object.c: (gl_view_object_handle_at),
1470 (gl_view_object_resize_event):
1471 Added resize code -- still a bit buggy.
1473 2007-03-07 Jim Evins <evins@snaught.com>
1476 * src/cairo-handle-path.c:
1477 * src/cairo-handle-path.h:
1478 * src/view-box.c: (gl_view_box_new):
1479 * src/view-object.c: (gl_view_object_set_object),
1480 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1481 * src/view-object.h:
1482 * src/view.c: (draw_highlight_layer), (select_object_real),
1483 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1484 (button_press_event_cb), (button_release_event_cb),
1485 (key_press_event_cb):
1487 Added beginnings of object resize handles.
1489 2007-03-07 Jim Evins <evins@snaught.com>
1492 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1493 (gl_view_object_create_mode), (motion_notify_event_cb),
1494 (button_press_event_cb), (button_release_event_cb),
1495 (key_press_event_cb):
1496 Added move selection support.
1498 2007-03-05 Jim Evins <evins@snaught.com>
1500 * src/cairo-object-path.c: (gl_cairo_object_path):
1501 * src/view-object.c: (gl_view_object_draw),
1502 (gl_view_object_draw_highlight):
1503 * src/view.c: (view_object_at), (motion_notify_event_cb),
1504 (button_press_event_cb), (button_release_event_cb):
1505 Additional refinements to select logic.
1507 2007-03-05 Jim Evins <evins@snaught.com>
1510 * src/view.c: (gl_view_init), (gl_view_construct),
1511 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1512 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1513 (button_press_event_cb), (button_release_event_cb):
1514 Added initial select region support and context menu.
1516 2007-03-04 Jim Evins <evins@snaught.com>
1527 * src/ui-commands.c:
1530 * src/view-object.c:
1531 * src/view-object.h:
1534 * src/wdgt-print-copies.c:
1535 * src/wdgt-print-merge.c:
1537 Initial port to a raw Cairo canvas. This removes all remaining
1538 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1539 the view is becoming a canvas widget in its own right. Still needs
1541 * src/cairo-label-path.c:
1542 * src/cairo-label-path.h:
1543 * src/cairo-markup-path.c:
1544 * src/cairo-markup-path.h:
1545 * src/cairo-object-path.c:
1546 * src/cairo-object-path.h:
1547 New files to support cairo canvas.
1548 * src/canvas-hacktext.c:
1549 * src/canvas-hacktext.h:
1552 2007-02-18 Jim Evins <evins@snaught.com>
1555 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1557 2007-02-14 Jim Evins <evins@snaught.com>
1561 * src/bc-gnubarcode.c:
1562 * src/bc-gnubarcode.h:
1567 * src/canvas-hacktext.c:
1568 * src/canvas-hacktext.h:
1575 * src/label-barcode.c:
1576 * src/label-barcode.h:
1579 * src/label-ellipse.c:
1580 * src/label-ellipse.h:
1581 * src/label-image.c:
1582 * src/label-image.h:
1585 * src/label-object.c:
1586 * src/label-object.h:
1591 * src/merge-evolution.c:
1592 * src/merge-evolution.h:
1595 * src/merge-properties-dialog.c:
1596 * src/merge-properties-dialog.h:
1599 * src/merge-vcard.c:
1600 * src/merge-vcard.h:
1603 * src/mini-preview-pixbuf.h:
1604 * src/new-label-dialog.c:
1605 * src/new-label-dialog.h:
1606 * src/object-editor-bc-page.c:
1607 * src/object-editor-data-page.c:
1608 * src/object-editor-edit-page.c:
1609 * src/object-editor-fill-page.c:
1610 * src/object-editor-image-page.c:
1611 * src/object-editor-line-page.c:
1612 * src/object-editor-lsize-page.c:
1613 * src/object-editor-position-page.c:
1614 * src/object-editor-private.h:
1615 * src/object-editor-size-page.c:
1616 * src/object-editor-text-page.c:
1617 * src/object-editor.c:
1618 * src/object-editor.h:
1619 * src/pixbuf-cache.c:
1620 * src/pixbuf-cache.h:
1621 * src/prefs-dialog.c:
1622 * src/prefs-dialog.h:
1623 * src/prefs-model.c:
1624 * src/prefs-model.h:
1630 * src/template-designer.c:
1633 * src/ui-commands.c:
1634 * src/ui-commands.h:
1635 * src/ui-property-bar.c:
1636 * src/ui-property-bar.h:
1645 * src/view-barcode.c:
1646 * src/view-barcode.h:
1649 * src/view-ellipse.c:
1650 * src/view-ellipse.h:
1651 * src/view-highlight.c:
1652 * src/view-highlight.h:
1657 * src/view-object.c:
1658 * src/view-object.h:
1663 * src/wdgt-chain-button.c:
1664 * src/wdgt-chain-button.h:
1665 * src/wdgt-media-select.c:
1666 * src/wdgt-mini-preview.c:
1667 * src/wdgt-print-copies.c:
1668 * src/wdgt-print-copies.h:
1669 * src/wdgt-print-merge.c:
1670 * src/wdgt-print-merge.h:
1671 * src/wdgt-rotate-label.c:
1673 * src/xml-label-04.c:
1674 * src/xml-label-04.h:
1675 * src/xml-label-191.c:
1676 * src/xml-label-191.h:
1680 Assorted superficial cleanup. Including:
1681 - Use G_DEFINE_TYPE for all objects.
1682 - Reconcile style of all class initializer functions
1683 - Reconcile style of all finalize functions
1684 - Add emacs mode line to all source files
1686 2007-02-06 Jim Evins <evins@snaught.com>
1688 Assorted cleanup and removal of deprecated items.
1693 Removed annoying splash screen.
1694 * src/glabels-batch.c: (main):
1695 * src/glabels.c: (main):
1696 Converted from popt to GOption.
1697 * src/object-editor-shadow-page.c:
1698 (gl_object_editor_set_shadow_state):
1699 Removed deprecated method on GtkToggleButton.
1700 * src/ui-commands.c: (gl_ui_cmd_help_about):
1701 Removed dependency on libgnomui/qnome-url.h.
1702 * src/template-designer.c:
1703 Removed dependency on libgnome/gnome-program.h.
1706 2007-02-04 Jim Evins <evins@snaught.com>
1710 * src/prefs-model.c:
1711 * src/print.c: (draw_text_object):
1712 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1713 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1715 2007-02-04 Jim Evins <evins@snaught.com>
1717 * src/wdgt-mini-preview.c:
1718 * src/wdgt-mini-preview.h:
1719 Ported widget from GnomeCanvas to Cairo.
1721 2007-02-03 Jim Evins <evins@snaught.com>
1723 * data/glade/template-designer.glade:
1724 * src/template-designer.c:
1725 * src/template-designer.h:
1726 Ported GnomeDruid to GtkAssistant. Since libglade does not
1727 yet support the GtkAssistant and we derive directly from
1728 the Assistant, the pages are layed out in a GtkNotebook in
1729 the glade description -- we then append each page to the
1732 2007-01-25 Jim Evins <evins@snaught.com>
1734 * data/glade/object-editor.glade:
1735 Added dummy page to notebook, to prevent shadow page from
1736 becoming the default current page at creation.
1737 * src/view-box.c: (construct_properties_editor):
1738 * src/view-ellipse.c: (construct_properties_editor):
1739 * src/view-line.c: (construct_properties_editor):
1740 * src/view-text.c: (construct_properties_editor):
1741 Reconciled order of params.
1743 2007-01-19 Jim Evins <evins@snaught.com>
1745 * src/label-barcode.h:
1746 * src/label-object.c: (gl_label_object_set_font_weight),
1747 (gl_label_object_set_text_alignment),
1748 (gl_label_object_get_font_weight),
1749 (gl_label_object_get_text_alignment):
1750 * src/label-object.h:
1751 * src/label-text.c: (gl_label_text_instance_init), (copy),
1752 (get_size), (set_font_family), (set_font_weight),
1753 (set_text_alignment), (get_font_weight), (get_text_alignment):
1755 * src/object-editor-text-page.c:
1756 (gl_object_editor_prepare_text_page),
1757 (gl_object_editor_set_font_family),
1758 (gl_object_editor_set_font_weight),
1759 (gl_object_editor_get_font_weight),
1760 (gl_object_editor_set_text_alignment),
1761 (gl_object_editor_get_text_alignment),
1762 (gl_object_editor_set_text_color):
1763 * src/object-editor.h:
1764 * src/prefs-dialog.c: (construct_object_page),
1765 (update_object_page_from_prefs), (update_prefs_from_object_page):
1766 * src/prefs-model.c: (gl_prefs_model_save_settings),
1767 (gl_prefs_model_load_settings):
1768 * src/prefs-model.h:
1769 * src/print.c: (draw_text_object):
1770 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1771 (reset_to_default_properties), (update_text_properties),
1772 (font_bold_toggled_cb), (text_align_toggled_cb):
1774 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1775 (gl_util_weight_to_string), (gl_util_string_to_weight),
1776 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1778 * src/view-text.c: (update_object_from_editor_cb),
1779 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1780 * src/view.c: (gl_view_set_selection_text_alignment),
1781 (gl_view_set_default_text_alignment),
1782 (gl_view_get_default_text_alignment):
1784 * src/xml-label-04.c: (xml04_parse_text_props):
1785 * src/xml-label-191.c: (xml191_parse_text_props):
1786 * src/xml-label.c: (xml_parse_object_text),
1787 (xml_parse_toplevel_span), (xml_create_object_text),
1788 (xml_create_toplevel_span):
1789 Converted all model internals to Pango. GnomeFont remains in
1790 view until GnomeCanvas can be replaced with a cairo-based canvas.
1792 2007-01-17 Jim Evins <evins@snaught.com>
1798 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1799 (gl_wdgt_print_copies_construct):
1800 * src/wdgt-print-copies.h:
1801 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1802 (gl_wdgt_print_merge_construct):
1803 * src/wdgt-print-merge.h:
1804 Removed all remaining HIG wrapper widgets.
1806 2007-01-16 Jim Evins <evins@snaught.com>
1809 * src/print-dialog.c:
1810 * src/print-dialog.h:
1813 * src/template-designer.c: (print_test_cb):
1814 * src/ui-commands.c: (gl_ui_cmd_file_print):
1816 Renamed PrintDialog to PrintOp. Added constructor for batch
1818 * src/glabels-batch.c: (main):
1819 Converted to use new PrintOp object for printing.
1821 2007-01-15 Jim Evins <evins@snaught.com>
1823 * data/glade/Makefile.am:
1824 * data/glade/print-custom-widget.glade:
1825 * src/print-dialog.c:
1826 * src/print-dialog.h:
1829 * src/template-designer.c: (print_test_cb):
1830 * src/ui-commands.c: (gl_ui_cmd_file_print):
1831 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1832 * src/wdgt-print-merge.h:
1833 * src/window.c: (gl_window_init):
1835 Initial conversion to GtkPrintOperation.
1837 - Remove font and other libgnomeprint[ui] from elsewhere
1838 - Add batch initialization of print operation
1840 2007-01-08 Jim Evins <evins@snaught.com>
1842 Updated dependencies. Set version to 2.1.pre4cvs.
1844 2007-01-03 Jim Evins <evins@snaught.com>
1846 * src/recent-files/*
1847 Removed EggRecent stuff.
1853 * src/ui-commands.c:
1854 * src/ui-commands.h:
1856 Ported from EggRecent to GtkRecentManager.
1859 2007-01-02 Jim Evins <evins@snaught.com>
1862 * iec16022-0.2.1/BUGS:
1863 * iec16022-0.2.1/CHANGELOG:
1864 * iec16022-0.2.1/CREDITS:
1865 * iec16022-0.2.1/INSTALL:
1866 * iec16022-0.2.1/LICENSE:
1867 * iec16022-0.2.1/Makefile.am:
1868 * iec16022-0.2.1/Makefile.dist:
1869 * iec16022-0.2.1/README:
1870 * iec16022-0.2.1/README.glabels:
1871 * iec16022-0.2.1/TODO:
1872 * iec16022-0.2.1/iec16022.1:
1873 * iec16022-0.2.1/iec16022.c:
1874 * iec16022-0.2.1/iec16022ecc200.c:
1875 * iec16022-0.2.1/iec16022ecc200.h:
1876 * iec16022-0.2.1/image.c:
1877 * iec16022-0.2.1/image.h:
1878 * iec16022-0.2.1/reedsol.c:
1879 * iec16022-0.2.1/reedsol.h:
1880 * iec16022-0.2.1/test/testsuite-example.bin:
1881 * iec16022-0.2.1/test/testsuite-example.eps:
1882 * iec16022-0.2.1/test/testsuite-example.hex:
1883 * iec16022-0.2.1/test/testsuite-example.png:
1884 * iec16022-0.2.1/test/testsuite-example.text:
1885 * iec16022-0.2.1/test/testsuite.sh:
1886 Include modified copy of iec16022-0.2.1 to provide encoding
1887 support for datamatrix 2D barcodes.
1889 * src/bc-iec16022.c:
1890 * src/bc-iec16022.h:
1892 Added initial datamatrix 2D barcode backend to barcode code.
1895 Automatic updates to later versions of these files.
1897 2006-11-28 Jim Evins <evins@snaught.com>
1899 * data/templates/avery-iso-templates.xml:
1900 * data/templates/avery-us-templates.xml:
1901 * data/templates/categories.xml:
1902 * data/templates/misc-iso-templates.xml:
1903 * data/templates/misc-us-templates.xml:
1904 * data/templates/zweckform-iso-templates.xml:
1905 More categorization.
1907 2006-09-12 Jim Evins <evins@snaught.com>
1909 * data/dtd/glabels-2.0.dtd:
1910 * data/templates/Makefile.am:
1911 * data/templates/avery-iso-templates.xml:
1912 * data/templates/avery-other-templates.xml:
1913 * data/templates/avery-us-templates.xml:
1914 * data/templates/categories.xml:
1915 * data/templates/misc-iso-templates.xml:
1916 * data/templates/misc-other-templates.xml:
1917 * data/templates/zweckform-iso-templates.xml:
1918 * data/glade/Makefile.am:
1919 * data/glade/new-label-dialog.glade:
1920 * data/glade/wdgt-media-select.glade:
1921 * data/glade/wdgt-rotate-label.glade:
1922 * libglabels/Makefile.am:
1923 * libglabels/category.c:
1924 * libglabels/category.h:
1925 * libglabels/libglabels.h:
1926 * libglabels/paper.c:
1927 * libglabels/template.c:
1928 * libglabels/template.h:
1929 * libglabels/xml-category.c:
1930 * libglabels/xml-category.h:
1931 * libglabels/xml-template.c:
1932 Added support for category meta data.
1935 * src/mini-preview-pixbuf.c:
1936 * src/mini-preview-pixbuf.h:
1937 * src/new-label-dialog.c:
1938 * src/new-label-dialog.h:
1939 * src/wdgt-media-select.c:
1940 * src/wdgt-media-select.h:
1941 * src/wdgt-rotate-label.c:
1942 * src/wdgt-rotate-label.h:
1943 New "new label" dialog.
1945 2006-05-27 Jim Evins <evins@snaught.com>
1950 Preparation for 2.1.3.
1956 2006-05-22 Jim Evins <evins@snaught.com>
1958 * src/print.c: (draw_barcode_object):
1959 Don't print "Invalid barcode data" if data field is empty. Patch provided
1960 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1962 Added acknowledgment for above patch.
1963 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1964 * src/bc-postnet.c: (postnet_code):
1965 Removed "Invalid barcode data" warnings from stderr.
1966 * src/view-barcode.c: (draw_barcode):
1967 Draw box around barcode extent if data empty or invalid. Center a
1968 message whether the data is empty or invalid in box.
1970 2006-05-22 Jim Evins <evins@snaught.com>
1972 * src/print.c: (draw_text_object):
1973 Check shadow state when printing text.
1975 2006-05-20 Jim Evins <evins@snaught.com>
1977 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1978 (gl_ui_cmd_view_markup_toggle):
1979 Fixed crash when grid or markup have been toggled off during
1980 a previous session. Bug #1434324.
1982 2006-04-05 Jim Evins <evins@snaught.com>
1984 * src/object-editor.c: (gl_object_editor_set_key_names):
1985 Fixed potential crash when freeing empty key list.
1987 2006-03-11 Jim Evins <evins@snaught.com>
1989 * src/print.c: (draw_text_object):
1990 * src/view-text.c: (gl_view_text_new),
1991 (construct_properties_editor), (update_object_from_editor_cb),
1992 (update_editor_from_object_cb), (update_editor_from_label_cb),
1994 Added shadow support to text object.
1996 2006-02-18 Jim Evins <evins@snaught.com>
1998 * src/print.c: (draw_line_object):
1999 * src/view-line.c: (gl_view_line_new),
2000 (construct_properties_editor), (update_canvas_item_from_object_cb),
2001 (update_object_from_editor_cb), (update_editor_from_object_cb),
2002 (update_editor_from_label_cb):
2003 Added shadow support to line object.
2005 2006-02-16 Jim Evins <evins@snaught.com>
2009 * src/print.c: (draw_ellipse_object):
2010 * src/view-ellipse.c: (gl_view_ellipse_new),
2011 (construct_properties_editor), (update_canvas_item_from_object_cb),
2012 (update_object_from_editor_cb), (update_editor_from_object_cb),
2013 (update_editor_from_label_cb):
2014 Added shadow support to ellipse object.
2016 2006-02-15 Jim Evins <evins@snaught.com>
2018 * src/label-object.c:
2019 Changed default shadow offsets.
2020 * src/view-box.c: (gl_view_box_new):
2021 Simplified gl_view_box_new() so that is does not duplicate code
2022 in update_canvas_item_from_object_cb().
2024 2006-02-07 Jim Evins <evins@snaught.com>
2026 * data/glade/object-editor.glade:
2027 Fixed color groups of color combos.
2029 Added default shadow color.
2030 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2031 Added shadow color group.
2033 2006-02-06 Jim Evins <evins@snaught.com>
2035 * src/object-editor-shadow-page.c:
2036 Forgot to add this file.
2037 * src/view-box.c: (gl_view_box_new),
2038 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2039 Update limits on shadow offset spinbuttons.
2041 2006-01-19 Jim Evins <evins@snaught.com>
2043 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2044 Initialize key_list to NULL.
2045 * data/glade/object-editor.glade:
2049 * src/label-object.c:
2050 * src/label-object.h:
2051 * src/object-editor-fill-page.c:
2052 * src/object-editor-private.h:
2053 * src/object-editor.c:
2054 * src/object-editor.h:
2056 Created infrastructure for shadow support.
2059 Initial shadow support in box object only.
2061 2006-01-05 Jim Evins <evins@snaught.com>
2063 * src/merge-properties-dialog.c: (src_changed_cb):
2064 Be extra paranoid before calling strcmp().
2065 * src/merge.c: (gl_merge_set_src):
2066 Don't make (merge == NULL) a critical error.
2068 2005-12-22 Jim Evins <evins@snaught.com>
2070 * src/glabels-batch.c: (main):
2071 Compile warning free with gcc 4.0.
2073 2005-12-21 Jim Evins <evins@snaught.com>
2076 Updated example RPM spec file.
2078 2005-12-21 Jim Evins <evins@snaught.com>
2082 Preparation for 2.1.2.
2084 2005-12-20 Jim Evins <evins@snaught.com>
2087 Define unique G_LOG_DOMAIN for glabels.
2088 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2089 * src/warning-handler.c: (gl_warning_handler_init),
2091 Register for G_LOG_DOMAIN instead of NULL.
2093 2005-12-10 Jim Evins <evins@snaught.com>
2095 * src/merge-evolution.c:
2096 * src/merge-vcard.c:
2099 2005-12-08 Jim Evins <evins@snaught.com>
2101 * libglabels/paper.c: (read_paper_files_from_dir):
2102 * libglabels/template.c: (gl_template_register),
2103 (read_template_files_from_dir):
2104 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2105 (gl_xml_paper_parse_papers_doc):
2106 * libglabels/xml-template.c:
2107 (gl_xml_template_read_templates_from_file),
2108 (gl_xml_template_parse_templates_doc),
2109 (gl_xml_template_parse_template_node),
2110 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2111 (xml_parse_label_cd_node), (xml_parse_layout_node),
2112 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2113 (xml_parse_markup_circle_node),
2114 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2115 * libglabels/xml.c: (gl_xml_get_prop_length):
2116 Re-classified g_warnings to g_messages.
2118 * src/glabels.c: (main):
2119 * src/warning-handler.c: (gl_warning_handler_init),
2121 * src/warning-handler.h:
2122 Added warning message handler to make sure the user is
2123 presented with appropriate non-fatal errors.
2124 * src/critical-error-handler.c: (critical_error_handler):
2125 Changed exit to abort.
2126 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2127 * src/bc-postnet.c: (postnet_code):
2128 * src/bc.c: (id_to_index), (name_to_index):
2129 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2130 * src/object-editor.c: (gl_object_notebook_construct_valist):
2131 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2132 * src/prefs.c: (gl_prefs_get_units_per_point),
2133 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2134 (gl_prefs_get_units_string):
2135 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2136 * src/splash.c: (gl_splash):
2137 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2138 * src/view-highlight.c: (gl_view_highlight_new),
2139 (highlight_resizable_box_construct), (object_changed_cb),
2140 (view_scale_changed_cb):
2141 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2142 (draw_markup_layer), (draw_markup_margin),
2143 (gl_view_object_create_mode), (canvas_event),
2144 (selection_received_cb):
2145 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2146 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2147 * src/xml-label-04.c: (gl_xml_label_04_parse),
2148 (xml04_parse_media_description), (xml04_parse_text_props),
2149 (xml04_parse_barcode_props):
2150 * src/xml-label-191.c: (gl_xml_label_191_parse),
2151 (xml191_parse_objects), (xml191_parse_object),
2152 (xml191_parse_text_props), (xml191_parse_image_props),
2153 (xml191_parse_barcode_props), (xml191_parse_data),
2154 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2155 (xml191_parse_markup):
2156 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2157 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2158 (xml_parse_object_text), (xml_parse_object_image),
2159 (xml_parse_object_barcode), (xml_parse_data),
2160 (xml_parse_toplevel_span), (gl_xml_label_save),
2161 (xml_create_objects):
2162 Re-classified g_warnings to g_messages.
2163 * src/merge-evolution.c: (gl_merge_evolution_open),
2164 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2165 Use g_warning to output errors encountered while
2166 communicating with the evolution data server
2167 instead of embedding them in the data.
2169 2005-12-08 Jim Evins <evins@snaught.com>
2171 * libglabels/libglabels-private.h:
2173 * libglabels/paper.c: (read_papers):
2174 * libglabels/template.c: (read_templates):
2175 Made appropriate warnings critical.
2177 * src/critical-error-handler.h:
2178 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2179 (critical_error_handler):
2180 Created critical error handler.
2181 * src/glabels.c: (main):
2182 Register critical error handler.
2183 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2184 * src/object-editor.c: (gl_object_editor_init):
2185 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2186 * src/template-designer.c: (gl_template_designer_init):
2187 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2188 Made appropriate warnings critical.
2190 2005-11-27 Jim Evins <evins@snaught.com>
2192 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2193 (gl_merge_evolution_get_primary_key),
2194 (gl_merge_evolution_get_record):
2195 Don't create "record_key" pseudo-key. Don't populate
2196 fields with null data.
2198 2005-11-25 Jim Evins <evins@snaught.com>
2200 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2201 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2202 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2204 Query EDS for all supported fields. Patch provided by
2205 Austin Henry <ahenry@users.sourceforge.net>.
2207 2005-10-29 Jim Evins <evins@snaught.com>
2209 * src/glabels.c: (main):
2210 * src/label-barcode.c: (gl_label_barcode_finalize):
2211 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2212 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2213 * src/object-editor.c: (gl_object_editor_finalize):
2214 Another pass at valgrinding -- plugged several memory leaks.
2215 * src/view-text.c: (gl_view_text_new),
2216 (update_canvas_item_from_object_cb), (draw_hacktext):
2217 Commented out artifacts of edit-in-place code.
2219 2005-10-28 Jim Evins <evins@snaught.com>
2221 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2222 Fixed use of uninitialized variable. Caught by
2223 d binderman <dcb314@hotmail.com>.
2225 2005-10-27 Jim Evins <evins@snaught.com>
2227 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2228 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2230 Additional cleanup of EDS and vcard backends. Provided by
2231 Austin Henry <ahenry@users.sourceforge.net>.
2233 2005-10-24 Jim Evins <evins@snaught.com>
2237 * src/merge-evolution.c:
2238 * src/merge-evolution.h:
2239 * src/merge-init.c: (gl_merge_init):
2240 * src/merge-properties-dialog.c: (type_changed_cb):
2241 * src/merge-vcard.c:
2242 * src/merge-vcard.h:
2243 * src/ui-commands.c: (gl_ui_cmd_help_about):
2244 Added Evolution Data Server and VCard merge backends. Original patch
2245 provided by Austin Henry <ahenry@users.sourceforge.net>.
2247 Only support EDS and VCard backends if libebook is installed. Allow
2248 user to disable support, even if installed.
2250 2005-10-24 Jim Evins <evins@snaught.com>
2253 * data/templates/avery-iso-templates.xml:
2254 * data/templates/avery-us-templates.xml:
2255 * data/templates/misc-iso-templates.xml:
2256 * data/templates/zweckform-iso-templates.xml:
2257 Collected all template changes and submissions since last
2260 2005-10-23 Jim Evins <evins@snaught.com>
2263 * data/mime/Makefile.am:
2264 Added configure options to disable update-mime-database and
2265 update-desktop-database as part of the install. Patch
2266 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2268 2005-10-23 Jim Evins <evins@snaught.com>
2271 * libglabels/xml.c: (gl_xml_get_prop_string),
2272 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2273 (gl_xml_is_node), (gl_xml_get_node_content):
2274 Added new XML utility functions.
2275 * libglabels/xml-paper.c:
2276 * libglabels/xml-template.c:
2278 Cleanup by using new xml utilities created above.
2279 * libglabels/paper.c: (gl_paper_free):
2280 * src/file.c: (new_response):
2281 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2282 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2283 (gl_pixbuf_cache_get_pixbuf):
2284 * src/ui-property-bar.c:
2285 (gl_ui_property_bar_construct_color_combo):
2286 * src/view-highlight.c: (gl_view_highlight_finalize):
2287 * src/view-image.c: (update_object_from_editor_cb):
2288 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2289 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2290 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2291 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2292 (draw_markup_margin_round), (draw_markup_margin_cd),
2293 (draw_markup_margin_cd_bc):
2294 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2295 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2296 Plugged various memory leaks located with valgrind.
2297 * src/view-image.c: (update_canvas_item_from_object_cb):
2298 Don't allow a width or height of zero when drawing pixbuf.
2300 2005-10-22 Jim Evins <evins@snaught.com>
2302 * libglabels/xml-paper.c:
2303 * libglabels/xml-template.c:
2306 * src/bc-gnubarcode.c:
2307 * src/canvas-hacktext.c:
2309 * src/object-editor-data-page.c:
2310 * src/print-dialog.c:
2313 * src/template-designer.c:
2315 * src/ui-property-bar.c:
2317 * src/view-barcode.c:
2319 * src/view-ellipse.c:
2324 * src/wdgt-media-select.c:
2325 * src/xml-label-04.c:
2326 * src/xml-label-191.c:
2328 Modified to compile warning free with gcc-4.0. Mostly
2329 casting to change signedness of characters. Did not
2330 attack gnu-barcode library yet.
2332 2005-10-22 Jim Evins <evins@snaught.com>
2334 * src/glabels.c: (main):
2335 * src/splash.c: (gl_splash):
2336 Removed some small memory leaks.
2340 2005-09-19 Jim Evins <evins@snaught.com>
2342 * data/glade/property-bar.glade:
2343 Remove items from font_family_combo. This prevents the
2344 double entry after adding text model and list of fonts.
2345 * src/ui-property-bar.c: (reset_to_default_properties):
2346 Free font_family_list.
2348 2005-07-01 Jim Evins <evins@snaught.com>
2351 Updated italian translation (Daniele Medri)
2353 2005-06-26 Jim Evins <evins@snaught.com>
2355 * docs/libglabels/libglabels-decl-list.txt:
2356 Somehow never got checked in before.
2357 * docs/libglabels/libglabels.types:
2358 Removed -- don't need it afterall.
2360 2005-06-20 Jim Evins <evins@snaught.com>
2363 Final prep for 2.1.1 release.
2365 2005-06-20 Jim Evins <evins@snaught.com>
2368 Final preps for 2.1.1 release.
2369 * docs/libglabels/libglabels.types:
2370 Somehow never got checked in before.
2372 Bring up-to-date with recent reorg of ui code.
2375 2005-06-19 Jim Evins <evins@snaught.com>
2377 * src/template-designer.c: (construct_layout_page):
2378 Removed attempt to match background color of mini preview widget to
2381 2005-06-17 Jim Evins <evins@snaught.com>
2383 * help/C/figures/merge-ex2-4.png:
2384 * help/C/glabels.xml:
2385 Fixed spelling error.
2387 2005-06-13 Jim Evins <evins@snaught.com>
2389 * help/C/figures/merge-ex1-1.png:
2390 * help/C/figures/merge-ex1-2.png:
2391 * help/C/figures/merge-ex1-3.png:
2392 * help/C/figures/merge-ex1-4.png:
2393 * help/C/figures/merge-ex2-1.png:
2394 * help/C/figures/merge-ex2-2.png:
2395 * help/C/figures/merge-ex2-3.png:
2396 * help/C/figures/merge-ex2-4.png:
2397 Added figures for document merge tutorial.
2398 * help/C/glabels.xml:
2399 Added document merge tutorial.
2401 2005-05-19 Jim Evins <evins@snaught.com>
2403 * data/glade/merge-properties-dialog.glade:
2404 Fixed irregular spacing.
2405 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2406 (gl_merge_properties_dialog_construct):
2407 Set outer padding and remove separator.
2409 2005-05-18 Jim Evins <evins@snaught.com>
2413 Removed glHigDialog class.
2414 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2415 (gl_file_properties), (create_properties_dialog_widgets):
2416 * src/prefs-dialog.h:
2417 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2418 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2419 * src/print-dialog.h:
2420 * src/prefs-dialog.h:
2421 * src/print-dialog.c: (gl_print_dialog_get_type),
2422 (gl_print_dialog_init), (gl_print_dialog_construct):
2423 Replaced all instances of glHigDialog with GtkDialog.
2425 2005-05-17 Jim Evins <evins@snaught.com>
2429 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2430 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2431 (save_as_response), (gl_file_close):
2432 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2434 2005-05-15 Jim Evins <evins@snaught.com>
2436 * src/ui-commands.h:
2444 A little code reformatting -- no functional changes.
2446 2005-05-14 Jim Evins <evins@snaught.com>
2449 Removed obsolete macros.
2451 Added marshalling template to support new view signal: "context_menu_activate."
2453 * src/view.c: (gl_view_class_init), (gl_view_construct),
2454 (canvas_event_arrow_mode):
2455 - Removed hardcoded context menus and added new signal "context_menu_activate"
2456 to push this up to the uimanager.
2457 - Removed merge properties and print dialogs so that they can be managed with
2458 the window by the uimanager.
2459 * src/merge-properties-dialog.h:
2460 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2461 (gl_merge_properties_dialog_construct):
2462 Changed calling convention of gl_merge_properties_dialog_new() to use
2463 glLabel and GtkWindow instead of view to make more consistent with other
2465 * src/print-dialog.h:
2466 * src/print-dialog.c: (gl_print_dialog_new),
2467 (gl_print_dialog_construct):
2468 Removed last artifact of libbonoboui.
2469 * src/ui-commands.c: (gl_ui_cmd_file_print),
2470 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2471 Reconciled style for launching dialogs.
2472 * src/ui.c: (gl_ui_new):
2473 Added context menus to ui manager.
2474 * src/view-object.c: (item_event_arrow_mode):
2475 No longer try to select objects with right-click.
2477 * src/window.c: (gl_window_init), (gl_window_set_label),
2478 (context_menu_activate_cb):
2479 Context menus and all dialogs are now managed in a consistent way in window
2482 2005-05-11 Jim Evins <evins@snaught.com>
2485 * src/window.c: (gl_window_init), (gl_window_destroy):
2486 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2487 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2488 Moved management of recent_view back from window.c to ui.c -- it just feels
2491 2005-05-10 Jim Evins <evins@snaught.com>
2494 * src/window.c: (gl_window_init):
2496 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2497 (menu_item_select_cb), (menu_item_deselect_cb):
2498 Added GtkStatusbar which displays menu tooltips.
2500 2005-05-09 Jim Evins <evins@snaught.com>
2502 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2507 Removed dependencies on libbonoboui.
2509 * data/ui/Makefile.am:
2510 * data/ui/glabels-ui.xml:
2511 Removed data/ui directory.
2512 * data/glade/Makefile.am:
2513 * data/property-bar.glade:
2514 Added glade description of property-bar for new libglade implementation
2521 * src/ui-commands.h:
2522 * src/ui-commands.c:
2523 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2524 since the distinction between "commands" and "tools" is no longer that clear.
2527 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2528 no longer has knowledge of eggRecent*.
2529 * src/glabels.c: (main):
2530 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2532 * src/object-editor.c: (gl_object_editor_init):
2533 Make sure notebook does not respond to a "show_all" on the parent.
2534 * src/recent-files/Makefile.am:
2535 * src/recent-files/*.[ch]
2536 Updated from latest version of libegg which now has a view based on
2537 GtkUIManager. Removed unused bonobo and gtk views.
2538 * src/ui-property-bar.h:
2539 * src/ui-property-bar.c:
2540 New implementation based on libglade.
2543 Sidebar is now simply a GtkWidget and does not expect to be a part of
2544 a libbonoboui interface.
2549 Converted for use with GtkUIManager.
2552 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2553 to create menus and toolbars.
2555 2005-04-25 Jim Evins <evins@snaught.com>
2557 * data/templates/misc-iso-templates.xml:
2558 Added Fellows 04715 template provided by Steve Saxon.
2560 Updated acknowledgement for above.
2562 2005-04-23 Jim Evins <evins@snaught.com>
2564 * src/util.c: (gl_util_combo_box_set_strings):
2565 Make sure to clear model before loading a new list of strings.
2566 * src/wdgt-media-select.h:
2567 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2568 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2569 (template_combo_changed_cb), (prefs_changed_cb),
2570 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2571 (gl_wdgt_media_select_get_page_size),
2572 (gl_wdgt_media_select_set_page_size):
2573 Replaced the deprecated GtkCombo widget with the new
2576 2005-04-21 Jim Evins <evins@snaught.com>
2578 * data/glade/template-designer.glade:
2579 * src/template-designer.c: (construct_pg_size_page),
2580 (pg_size_page_changed_cb), (build_template):
2581 Replaced the deprecated GtkCombo widget with the new
2584 2005-04-20 Jim Evins <evins@snaught.com>
2586 * data/glade/prefs-dialog.glade:
2587 * src/prefs-dialog.c: (construct_object_page),
2588 (update_object_page_from_prefs), (update_prefs_from_object_page):
2589 Replaced the deprecated GtkCombo widget with the new
2592 2005-04-19 Jim Evins <evins@snaught.com>
2594 * data/glade/object-editor.glade:
2595 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2596 (style_changed_cb), (gl_object_editor_set_bc_style),
2597 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2598 (gl_object_editor_get_bc_color):
2599 * src/object-editor-data-page.c:
2600 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2601 (gl_object_editor_get_data):
2602 * src/object-editor-edit-page.c:
2603 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2604 * src/object-editor-fill-page.c:
2605 (gl_object_editor_prepare_fill_page),
2606 (gl_object_editor_set_fill_color),
2607 (gl_object_editor_get_fill_color):
2608 * src/object-editor-image-page.c:
2609 (gl_object_editor_prepare_image_page),
2610 (gl_object_editor_set_image), (gl_object_editor_get_image):
2611 * src/object-editor-line-page.c:
2612 (gl_object_editor_prepare_line_page),
2613 (gl_object_editor_set_line_color),
2614 (gl_object_editor_get_line_color):
2615 * src/object-editor-private.h:
2616 * src/object-editor-text-page.c:
2617 (gl_object_editor_prepare_text_page),
2618 (gl_object_editor_set_font_family),
2619 (gl_object_editor_get_font_family),
2620 (gl_object_editor_set_text_color),
2621 (gl_object_editor_get_text_color):
2622 * src/object-editor.c: (gl_object_editor_set_key_names):
2624 In the object editor: replaced all instances of the deprecated
2625 GtkCombo widget with the new GtkComboBox.
2627 2005-04-18 Jim Evins <evins@snaught.com>
2630 Neglected to save this one in previous checkin to support
2633 2005-04-17 Jim Evins <evins@snaught.com>
2635 * libglabels/libglabels-private.h:
2636 * libglabels/paper.c:
2637 * libglabels/paper.h:
2638 * libglabels/template.c:
2639 * libglabels/template.h:
2640 * libglabels/xml-paper.c:
2641 * libglabels/xml-paper.h:
2642 * libglabels/xml-template.c:
2647 * src/bc-gnubarcode.c:
2658 * src/label-barcode.c:
2660 * src/label-ellipse.c:
2661 * src/label-image.c:
2662 * src/label-image.h:
2664 * src/label-object.c:
2668 * src/merge-properties-dialog.c:
2669 * src/object-editor-bc-page.c:
2670 * src/object-editor-data-page.c:
2671 * src/object-editor-edit-page.c:
2672 * src/object-editor-fill-page.c:
2673 * src/object-editor-image-page.c:
2674 * src/object-editor-line-page.c:
2675 * src/object-editor-lsize-page.c:
2676 * src/object-editor-position-page.c:
2677 * src/object-editor-private.h:
2678 * src/object-editor-size-page.c:
2679 * src/object-editor-text-page.c:
2680 * src/object-editor.c:
2681 * src/object-editor.h:
2682 * src/pixbuf-cache.h:
2683 * src/prefs-dialog.c:
2684 * src/prefs-dialog.h:
2685 * src/prefs-model.c:
2686 * src/prefs-model.h:
2688 * src/print-dialog.c:
2689 * src/print-dialog.h:
2697 * src/template-designer.c:
2698 * src/template-designer.h:
2701 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2707 * src/view-barcode.c:
2709 * src/view-ellipse.c:
2710 * src/view-highlight.c:
2711 * src/view-highlight.h:
2714 * src/view-object.c:
2715 * src/view-object.h:
2719 * src/wdgt-chain-button.c:
2720 * src/wdgt-media-select.c:
2721 * src/wdgt-media-select.h:
2722 * src/wdgt-mini-preview.c:
2723 * src/wdgt-mini-preview.h:
2724 * src/wdgt-print-copies.c:
2725 * src/wdgt-print-copies.h:
2726 * src/wdgt-print-merge.c:
2727 * src/wdgt-print-merge.h:
2728 * src/wdgt-rotate-label.c:
2729 * src/wdgt-rotate-label.h:
2732 * src/xml-label-04.c:
2733 * src/xml-label-191.c:
2735 Cleanup of header files:
2736 - all header files are now stand-alone, verified by including
2737 first in corresponding "c" files
2738 - replaced blanket includes of gnome, gtk, and glib with
2741 2005-04-16 Jim Evins <evins@snaught.com>
2743 * data/glade/Makefile.am:
2744 * data/glade/merge-properties-dialog.glade:
2745 Added merge properties dialog glade description file.
2746 * src/merge-properties-dialog.h:
2747 * src/merge-properties-dialog.c:
2748 (gl_merge_properties_dialog_get_type),
2749 (gl_merge_properties_dialog_init),
2750 (gl_merge_properties_dialog_finalize),
2751 (gl_merge_properties_dialog_new),
2752 (gl_merge_properties_dialog_construct), (type_changed_cb),
2753 (src_changed_cb), (response_cb), (load_tree),
2754 (record_select_toggled_cb), (select_all_button_clicked_cb),
2755 (unselect_all_button_clicked_cb):
2756 Modified merge properties dialog to use libglade. Added
2757 "select all" and "unselect all" buttons.
2758 * src/merge-text.c: (parse_line):
2759 Handle empty lines better.
2760 * src/merge.c: (gl_merge_eval_key):
2761 Evaluate the key whether the record is selected or not.
2763 * src/util.c: (gl_util_combo_box_add_text_model):
2764 Since libglade does not use the gtk_combo_box_new_text()
2765 constructor for GtkComboBoxes, a utility function was created
2766 to add an appropriate text model to a GtkComboBox.
2767 * src/view.c: (gl_view_edit_merge_props):
2768 Removed unnecessary "show all's".
2770 2005-04-15 Jim Evins <evins@snaught.com>
2773 Updated russian translation (Vitaly Lipatov)
2774 * data/templates/misc-iso-templates.xml:
2775 Added templates for russian business cards provided by Vitaly Lipatov.
2777 Updated acknowledgements for above.
2779 2005-04-15 Jim Evins <evins@snaught.com>
2781 * data/templates/avery-us-templates.xml:
2782 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2783 * data/templates/misc-iso-templates.xml:
2784 Added Ryman standard CD/DVD template, provided by Dan Clark.
2786 Added acknowledgements for above.
2788 2005-04-10 Jim Evins <evins@snaught.com>
2790 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2791 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2792 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2793 (xml_parse_label_cd_node), (xml_parse_alias_node):
2794 * libglabels/xml.c: (gl_xml_get_prop_double),
2795 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2796 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2797 * src/xml-label-04.c: (xml04_parse_media_description),
2798 (xml04_parse_text_props), (xml04_parse_barcode_props),
2799 (xml04_parse_merge_properties):
2800 * src/xml-label-191.c: (xml191_parse_object),
2801 (xml191_parse_text_props), (xml191_parse_barcode_props),
2802 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2803 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2804 (xml191_parse_alias):
2805 * src/xml-label.c: (xml_parse_object_text),
2806 (xml_parse_object_barcode), (xml_parse_merge_fields),
2807 (xml_parse_pixdata), (xml_parse_toplevel_span):
2808 Make sure to use xmlFree for anything obtained from libxml
2809 in case libxml and glib use different memory management
2812 2005-04-08 Jim Evins <evins@snaught.com>
2815 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2816 (gl_util_combo_box_set_active_text):
2817 Added utility functions to simplify working with GtkComboBox
2819 * src/ui-property-bar.h:
2820 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2821 (reset_to_default_properties), (update_text_properties),
2822 (font_family_changed_cb):
2823 Replaced deprecated GtkCombo with GtkComboBox.
2826 2005-04-03 Jim Evins <evins@snaught.com>
2829 * src/wdgt-image-select.h:
2830 * src/wdgt-image-select.c:
2831 Removed obsolete wdgt-image-select.[ch] files.
2832 * libglabels/paper.c: (gl_paper_dup):
2833 Fixed rename of parameter introduced during documentation
2835 * data/glade/object-editor.glade:
2836 * src/object-editor-image-page.c:
2837 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2838 (gl_object_editor_set_image), (gl_object_editor_get_image),
2839 (update_preview_cb), (add_image_filters_to_chooser):
2840 * src/object-editor-private.h:
2841 Replaced deprecated GnomePixmapEntry with
2842 GtkFileChooserButton.
2844 2005-04-02 Jim Evins <evins@snaught.com>
2846 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2847 (mygal_combo_box_popup_hide_unconditional),
2848 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2849 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2850 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2851 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2852 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2853 Renamed all internal gtk_combo functions to mygal_combo
2854 to prevent namespace confusion.
2856 2005-04-02 Jim Evins <evins@snaught.com>
2858 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2859 (cust_color_set), (color_palette_setup):
2860 * src/mygal/color-palette.h:
2861 Replaced deprecated GnomeColorPicker with GtkColorButton.
2863 2005-04-02 Jim Evins <evins@snaught.com>
2865 * docs/libglabels/libglabels-sections.txt:
2866 * docs/libglabels/libglabels-undocumented.txt:
2867 * docs/libglabels/tmpl/enums.sgml:
2868 * docs/libglabels/tmpl/paper.sgml:
2869 * docs/libglabels/tmpl/xml-paper.sgml:
2870 * docs/libglabels/tmpl/xml-template.sgml:
2871 * libglabels/enums.h:
2872 * libglabels/paper.c: (gl_paper_dup):
2873 * libglabels/paper.h:
2874 * libglabels/xml-paper.c:
2875 * libglabels/xml-template.c:
2876 More documentation updates for libglabels.
2878 2005-03-23 Jim Evins <evins@snaught.com>
2881 Automatically updated.
2886 * docs/libglabels/Makefile.am:
2887 * docs/libglabels/libglabels-docs.sgml:
2888 * docs/libglabels/libglabels-sections.txt:
2889 * docs/libglabels/libglabels-undocumented.txt:
2890 * docs/libglabels/tmpl/enums.sgml:
2891 * docs/libglabels/tmpl/libglabels-unused.sgml:
2892 * docs/libglabels/tmpl/libglabels.sgml:
2893 * docs/libglabels/tmpl/paper.sgml:
2894 * docs/libglabels/tmpl/template.sgml:
2895 * docs/libglabels/tmpl/xml-paper.sgml:
2896 * docs/libglabels/tmpl/xml-template.sgml:
2897 * docs/libglabels/tmpl/xml.sgml:
2898 Added basic gtk-doc stuff to support documenting libglabels
2901 Updated function comments with gtk-doc markup.
2905 2005-03-22 Jim Evins <evins@snaught.com>
2907 Since the development version now requires gtk-2.6/gnome-2.10, I
2908 have made a first pass at removing deprecations.
2911 * libglabels/Makefile.am:
2913 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2914 Also removed all remnants of HAVE_FILECHOOSER.
2915 * src/file.c: (gl_file_open_real):
2916 Removed code for old GtkFileSelection.
2917 * libglabels/libglabels-private.h:
2918 * libglabels/paper.c:
2919 * libglabels/template.c:
2920 * libglabels/xml-paper.c:
2921 * libglabels/xml-template.c:
2925 * src/glabels-batch.c:
2929 * src/merge-properties-dialog.c:
2931 * src/object-editor.c:
2932 * src/prefs-dialog.c:
2934 * src/print-dialog.c:
2937 * src/template-designer.c:
2938 * src/ui-property-bar.c:
2940 * src/view-barcode.c:
2942 * src/view-ellipse.c:
2947 * src/wdgt-image-select.c:
2948 * src/wdgt-media-select.c:
2949 * src/wdgt-print-copies.c:
2950 * src/wdgt-print-merge.c:
2951 * src/wdgt-rotate-label.c:
2953 * src/xml-label-04.c:
2954 * src/xml-label-191.c:
2956 Added '#include <glib/gi18n.h>" where needed.
2957 Removed any unused '#include <gnome.h>"s.
2959 2005-03-22 Jim Evins <evins@snaught.com>
2961 * src/commands.c: (activate_url), (gl_cmd_help_about):
2962 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2963 development version of glabels now depends on GTK 2.6 and
2966 Updated library dependencies.
2968 2005-02-28 Jim Evins <evins@snaught.com>
2971 * data/templates/misc-iso-templates.xml:
2972 Added 'Ednet 45021' template provided by Ali Akcaagac
2975 2005-02-14 Jim Evins <evins@snaught.com>
2977 * data/templates/avery-us-templates.xml:
2978 Updated templates to use inches instead of points.
2979 * src/print-dialog.c: (printer_page_new):
2980 Changed packing style when adding printer selector widget. This fixes
2983 2005-02-13 Jim Evins <evins@snaught.com>
2987 Updated spanish translations. (sergio rivadero)
2989 2005-02-05 Jim Evins <evins@snaught.com>
2991 Some cleanup to libglabels.
2994 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2995 * libglabels/libglabels.pc.in
2997 * libglabels/enums.h
2998 Created. Currently only contains glUnitsType which provides enumerations
2999 for all possible units of distance.
3000 * libglabels/Makefile.am:
3001 Incorporated new files enums.h and libglabels.pc[.in].
3002 * libglabels/libglabels.h:
3004 * libglabels/template.h:
3005 * libglabels/template.c: (gl_template_layout_new):
3006 Changed parameters nx and ny to gint from gdouble.
3008 * libglabels/xml.c: (gl_xml_get_prop_length),
3009 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3010 Added support for different output units.
3011 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3012 (update_prefs_from_locale_page):
3013 * src/prefs-model.c: (string_to_units), (units_to_string):
3014 * src/prefs-model.h:
3015 * src/prefs.c: (gl_prefs_get_units_per_point),
3016 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3017 (gl_prefs_get_units_string):
3019 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3020 Reconciled all length enumerations with the new enumerations provided
3021 in libglabels/enums.h.
3023 2005-02-03 Jim Evins <evins@snaught.com>
3026 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3028 Updated Italian translations. (Daniele Medri)
3030 Updated credits to reflect above translations.
3033 2005-01-22 Jim Evins <evins@snaught.com>
3038 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3040 Final prep for 2.1.0.
3042 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3044 Added '--remove-original' flag to desktop-file-install, so that there is
3045 only one menu entry.
3047 2005-01-20 Jim Evins <evins@snaught.com>
3049 * data/glade/object-editor.glade:
3050 - Font family entry should not be editable.
3051 - img_key_entry should have sensitivity=YES, so that it follows the
3052 sensitivity of img_key_combo.
3054 2005-01-19 Jim Evins <evins@snaught.com>
3057 Give credit to Frederic Ruaudel for the color merge patches.
3059 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3061 Add support to merge color for all other color attribute (Feature
3062 Requests item #1008635. If the data is invalid, the color used is transparent
3063 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3064 by gdk_color_parse() these include name for a color from rgb.txt, such as
3065 DarkSlateGray, or a hex specification such as #305050. File format has been
3066 changed but backward compatibility is preserved for all format. For
3067 box/ellipse/line, keep attribute "line_color" for static color or replace by
3068 "line_color_field" for merge data. For text/barcode objects, keep attribute
3069 "color" for static color or replace by "color_field" for merge data. In the
3070 edit canvas window, merged color are represented by half-transparent black
3073 * data/dtd/glabels-2.0.dtd:
3074 Added line_color_field to line_attrs. Added color_field to
3075 Object-barcode and Span.
3076 * data/glade/object-editor.glade:
3077 Modify the layout of the editor to add merge possibility to color options
3079 Fix a copy/paste error in a comment
3081 Add default color for merge color representation in the editor canvas.
3082 * src/label-barcode.c:
3083 * src/object-editor-bc-page.c:
3084 * src/view-barcode.c:
3085 Add merge color support for barcode color.
3088 Add merge color support for box border color.
3089 * src/label-ellipse.c:
3090 * src/view-ellipse.c:
3091 Add merge color support for ellipse border color.
3094 Add merge color support for line color.
3095 * src/label-object.c:
3096 * src/label-object.h:
3097 * src/object-editor.c:
3098 * src/object-editor.h:
3099 * src/ui-property-bar.c:
3102 * src/xml-label-04.c:
3103 * src/xml-label-191.c:
3104 Add support for merging to other color attribute.
3106 * src/object-editor-text-page.c:
3108 Add merge color support for text color.
3109 * src/object-editor-fill-page.c:
3110 Change a blocked handler that didn't match the good widget. Fix the type
3111 of some debug message.
3112 * src/object-editor-line-page.c:
3113 Add merging support to line color option.
3114 * src/object-editor-private.h:
3115 Add variables for new widget.
3117 Modify the draw functions to get merge data if needed.
3119 Change the default size of the window in order to see all widget in the
3120 "text style tab" of the editor.
3122 Modify the parser to record/retreive the field value for objects that need
3123 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3124 static color or replace by "line_color_field" for merge data. For
3125 text/barcode objects, keep attribute "color" for static color or replace
3126 by "color_field" for merge data.
3128 2005-01-17 Jim Evins <evins@snaught.com>
3130 * src/view.c: (screen_changed_cb):
3131 Don't do anything if we don't have a screen.
3133 2005-01-06 Jim Evins <evins@snaught.com>
3135 * src/view.c: (get_home_scale):
3136 Fixed bad call to gtk_widget_has_screen() -- huh?.
3138 2005-01-06 Jim Evins <evins@snaught.com>
3140 * data/dtd/glabels-2.0.dtd:
3141 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3144 2005-01-06 Jim Evins <evins@snaught.com>
3146 * data/glade/object-editor.glade:
3147 Set entries for fill and data field key dropdowns to NOT editable.
3148 * src/view-box.c: (construct_properties_editor):
3149 * src/view-ellipse.c: (construct_properties_editor):
3150 Update object editor when label's merge property has changed.
3151 * src/xml-label.c: (xml_parse_object_ellipse):
3152 Completed the merge color support for the ellipse item.
3154 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3156 Add support to merge color for object that have a "Fill color" attribute (Feature
3157 Requests item #1008635. If the data is invalid, the color used is transparent
3158 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3159 by gdk_color_parse() these include name for a color from rgb.txt, such as
3160 DarkSlateGray, or a hex specification such as #305050. File format has been
3161 changed but backward compatibility is preserved for all format. For box/ellipse,
3162 keep attribute "fill_color" for static color or replace by "fill_color_field"
3165 * data/glade/object-editor.glade:
3166 Modify "Fill" tab to add the merge key combo and convert the labels into
3170 Add "glColorNode" structure and associated functions to manage it. This
3171 structure is equivalent for color than the "glTextNode". It holds the color
3173 * src/label-object.h:
3174 * src/label-object.c:
3176 * src/label-ellipse.c:
3177 * src/ui-property-bar.c:
3181 * src/view-ellipse.c:
3182 * src/xml-label-04.c:
3183 * src/xml-label-191.c:
3184 Change functions of objects that have a "fill color" attribute to use the
3185 new "glColorNode" structure. Use barcode code as example.
3187 Add the color.[ch] file to glabels_batch binary that now need support for
3189 * src/object-editor.h:
3190 * src/object-editor.c:
3191 * src/object-editor-fill-page.c:
3192 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3193 to choose between static color or merge key. Use barcode code as example.
3194 * src/object-editor-private.h:
3195 Add new widget in the "_glObjectEditorPrivate" structure.
3197 Modify the draw functions to get merge data if needed.
3199 Modify the parser to record/retreive the field value for objects that need
3200 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3201 color or "fill_color_field" for merge data.
3203 2005-01-04 Jim Evins <evins@snaught.com>
3206 * data/templates/avery-iso-templates.xml:
3207 * data/templates/misc-iso-templates.xml:
3208 * data/templates/misc-us-templates.xml:
3209 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3212 2004-11-26 Jim Evins <evins@snaught.com>
3216 Updated french translations provided by Florent Morel <florent@taket.org>.
3217 * src/view-barcode.c:
3219 * src/view-ellipse.c:
3223 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3224 thus _() strings were not being translated.
3226 2004-11-14 Jim Evins <evins@snaught.com>
3229 * src/debug.c: (gl_debug_init), (gl_debug):
3230 Borrowed from gedit: use environmental variables to select debug
3233 Removed unused include of debug.h.
3234 * src/glabels.c: (main):
3235 Added call to gl_debug_init(), and removed debug clutter from command line
3237 * src/glabels-batch.c: (main):
3238 Added call to gl_debug_init().
3240 2004-11-13 Jim Evins <evins@snaught.com>
3242 Drawing and property toolbars were being initialized with the "icons and text"
3243 look in Fedora Core 3. Even though none of the buttons had any text attached to
3244 them, the buttons were being sized as if they were. This led to less real estate
3245 for the property editor, leading to Bug #1064630. The
3247 * data/ui/glabels-ui.xml:
3248 Added explicit "look" property to both drawing and property toolbars.
3249 * src/prefs-model.c: (gl_prefs_model_save_settings),
3250 (gl_prefs_model_load_settings):
3251 * src/prefs-model.h:
3252 Removed drawing_toolbar_button_style configuration parameter.
3253 * src/ui.c: (view_menu_item_toggled_cb),
3254 (set_app_drawing_toolbar_style):
3255 Do not attempt to adjust look property of the drawing toolbar.
3257 2004-10-28 Jim Evins <evins@snaught.com>
3259 * data/pixmaps/glabels-about-logo.png:
3262 2004-10-28 Jim Evins <evins@snaught.com>
3264 * data/man/glabels.1:
3265 * src/glabels-batch.c: (main):
3267 * src/print.c: (gl_print_batch):
3269 Added option to glabels-batch to select the first label to begin
3272 2004-09-26 Jim Evins <evins@snaught.com>
3274 * data/desktop/glabels.desktop.in:
3275 Point to app icon, "glabels.png"
3276 * data/mime/glabels.keys.in:
3277 Point at mime icon, "glabels-application-x-glabels.png"
3278 * data/pixmaps/Makefile.am:
3279 Added glabels_app_icondir. Renamed icons.
3280 * data/pixmaps/glabels.png:
3281 New cleaned up app icon. Deleted glabels-icon.png.
3282 * data/pixmaps/glabels-application-x-glabels.png:
3284 * data/pixmaps/glabels-splash.png:
3285 Renamed glabels-logo to glabels-splash to be more correct about role.
3287 * src/template-designer.c:
3288 Point at app icon, "glabels.png"
3290 Point at renamed splash image, "glabels-splash.png"
3292 2004-08-22 Jim Evins <evins@snaught.com>
3295 * src/glabels-batch.c: (main):
3296 Applied patch with minor mods to allow selecting merge source and
3297 crop-marks on glabels-batch's command line. Original patch provided by
3298 José Dapena Paz <jdapena@igalia.com>.
3300 2004-08-15 Jim Evins <evins@snaught.com>
3302 * data/desktop/glabels.desktop.in:
3303 - Added encoding line
3304 - Removed period from comment
3305 - Fixed Terminal line, changed "0" to "false"
3306 - Added semicolen to Categories line
3308 - Made sure desktop.in comment string above still translated properly
3310 2004-08-14 Jim Evins <evins@snaught.com>
3312 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3313 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3314 * src/xml-label-191.c: (xml191_parse_sheet):
3315 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3317 Reconciled libglabels versioning with 2.0.1.
3320 2004-08-14 Jim Evins <evins@snaught.com>
3323 Updated version to 2.1cvs.
3325 2004-08-14 Jim Evins <evins@snaught.com>
3328 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3330 2004-08-14 Jim Evins <evins@snaught.com>
3332 Fixes for Bug #1008181.
3334 * src/bc.c: (gl_barcode_default_digits):
3335 Make a format of zero digits, harmless.
3336 * src/xml-label.c: (xml_parse_object_barcode):
3337 Set default value of the format property of barcode objects to 10, not
3338 zero. This will prevent crashes when reading pre 2.0.x files.
3340 2004-08-09 Jim Evins <evins@snaught.com>
3344 * help/C/glabels-C.omf:
3345 * help/C/glabels.xml:
3346 Brought documentation up-to-date for 2.0.0 release.
3348 2004-08-09 Jim Evins <evins@snaught.com>
3350 These are hopefully the final preparations for 2.0.0.
3352 * data/mime/Makefile.am:
3353 Include glabels.xml in EXTRA_DIST.
3355 - Updated comment style.
3356 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3357 - Added package and version info to configuration printout
3358 - Update version to 2.0.0
3359 * libglabels/Makefile.am:
3360 Use the new LIBGLABELS_VERSION_INFO macro.
3362 2004-08-09 Jim Evins <evins@snaught.com>
3366 Cleanup of required library macros.
3368 2004-08-08 Jim Evins <evins@snaught.com>
3372 - More specific of what to install in /usr/bin and /usr/lib
3373 - Remove built mime registration files from staging directory
3375 2004-08-08 Jim Evins <evins@snaught.com>
3377 * data/mime/Makefile.am:
3378 Fixed typo: key_files should have been keys_files.
3380 2004-08-08 Jim Evins <evins@snaught.com>
3382 Reorganization of runtime data files. Also added registration of mimetype with
3383 new freedesktop.org mime database if available.
3386 Moved files to appropriate subdirectories, creating local Makefile.am
3387 in each subdirectory.
3388 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3389 These are now installed at $datadir/glabels/templates.
3390 - Moved glabels.1 to man subdirectory.
3391 - Moved glabels-2.0.dtd to dtd subdirectory.
3392 - Moved glabels.desktop.in to desktop subdirectory.
3393 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3395 Moved "./pixmaps" to "./data/pixmaps"
3397 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3399 Moved libglade files from src to data/glade. Created Makefile.am.
3401 Removed pixmaps from SUBDIRS.
3403 - Removed pixmaps from makefiles.
3404 - Added makefiles for new subdirs of data.
3405 - Added tests for freedesktop.org mime database.
3407 - Added tests for freedesktop.org mime database for post install and
3408 post un-install actions.
3409 * libglabels/Makefile.am:
3410 Moved system template files to $(datadir)/glabels/templates.
3411 * libglabels/libglabels-private.h:
3412 Moved system template files to $(datadir)/glabels/templates.
3414 - Accounted for movement of ui and libglade files.
3415 - Added missing .in files.
3416 - Reorganized by directory.
3418 Accounted for movement of ui and libglade files.
3419 * data/mime/glabels.xml.in:
3420 New file for registering with freedesktop.org mime database.
3422 2004-08-07 Jim Evins <evins@snaught.com>
3424 * src/recent-files/*:
3425 Re-synced to latest libegg/recent-files.
3427 2004-08-07 Jim Evins <evins@snaught.com>
3432 Renamed "./doc" directory to "./help" which contains user documentation,
3433 to be more consistent with other GNOME applications.
3436 2004-07-26 Jim Evins <evins@snaught.com>
3438 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3439 Corrected button order of merge properties dialog.
3441 2004-07-18 Jim Evins <evins@snaught.com>
3443 * data/glabels-2.0.dtd:
3444 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3445 (gl_barcode_get_prefered_n):
3447 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3448 (gl_label_barcode_get_props), (get_size):
3449 * src/label-barcode.h:
3450 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3451 (style_changed_cb), (gl_object_editor_set_bc_style),
3452 (gl_object_editor_get_bc_style):
3453 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3454 (gl_object_editor_set_data), (gl_object_editor_get_data):
3455 * src/object-editor-private.h:
3456 * src/object-editor.c: (gl_object_editor_set_key_names):
3457 * src/object-editor.glade:
3458 * src/object-editor.h:
3459 * src/print.c: (draw_barcode_object):
3460 * src/view-barcode.c: (update_object_from_editor_cb),
3461 (update_editor_from_object_cb),
3462 (gl_view_barcode_create_event_handler), (draw_barcode):
3463 * src/xml-label-04.c: (xml04_parse_barcode_props):
3464 * src/xml-label-191.c: (xml191_parse_barcode_props):
3465 * src/xml-label.c: (xml_parse_object_barcode),
3466 (xml_create_object_barcode):
3467 Added "format" attribute to barcode objects. This attribute is used
3468 to properly format freeform barcodes barcodes prior to merge data is
3469 applied, so that barcodes can be accurately layed out. This addresses
3470 remaining issues of feature request #824787. Also added an example of
3471 the format in the object editor.
3473 2004-07-12 Jim Evins <evins@snaught.com>
3475 Various code cleanups.
3477 * src/label-barcode.c:
3478 Removed unneeded include of gnome-glyphlist.h.
3480 * src/label-text.c: (get_size):
3481 Fixed memory leak: unref glyphlists when done with them.
3483 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3484 * src/object-editor-data-page.c:
3485 (gl_object_editor_prepare_data_page):
3486 * src/object-editor-image-page.c:
3487 (gl_object_editor_prepare_image_page):
3488 * src/object-editor-line-page.c:
3489 (gl_object_editor_prepare_line_page):
3490 * src/object-editor-lsize-page.c:
3491 (gl_object_editor_prepare_lsize_page):
3492 * src/object-editor-position-page.c:
3493 (gl_object_editor_prepare_position_page):
3494 * src/object-editor-size-page.c:
3495 (gl_object_editor_prepare_size_page):
3496 * src/object-editor-text-page.c:
3497 (gl_object_editor_prepare_text_page):
3498 Removed unneeded size groups, originally intended to keep widgets aligned.
3499 Now use tables to lay these out in object-editor.glade.
3501 * src/print.c: (draw_text_object):
3502 Fixed memory leak: unref glyphlists when done with them.
3504 * src/view-barcode.c: (draw_barcode):
3505 Fixed memory leak: unref glyphlists when done with them.
3507 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3508 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3510 - Fixed memory leak: unref glyphlists when done with them.
3512 2004-07-11 Jim Evins <evins@snaught.com>
3514 * data/glabels-2.0.dtd:
3515 * src/label-text.c: (gl_label_text_instance_init), (copy),
3516 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3518 * src/object-editor-private.h:
3519 * src/object-editor-text-page.c:
3520 (gl_object_editor_prepare_text_page),
3521 (gl_object_editor_set_text_auto_shrink),
3522 (gl_object_editor_get_text_auto_shrink):
3523 * src/object-editor.c: (gl_object_editor_set_key_names):
3524 * src/object-editor.glade:
3525 * src/object-editor.h:
3526 * src/print.c: (draw_text_object):
3527 * src/view-text.c: (update_object_from_editor_cb),
3528 (update_editor_from_object_cb):
3529 * src/xml-label.c: (xml_parse_object_text),
3530 (xml_create_object_text):
3531 Added option to allow document merge to auto shrink text size to fit
3532 within the text box. The code in print.c that actually shrinks the
3533 text is loosely based on a patch submitted by Mark Harrison
3534 <mark.harrison@velocitynet.com.au>. This addresses feature request
3537 2004-07-11 Jim Evins <evins@snaught.com>
3539 * data/glabels-2.0.dtd:
3540 * libglabels/template.c: (gl_template_rect_label_type_new),
3541 (gl_template_round_label_type_new),
3542 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3543 (template_full_page):
3544 * libglabels/template.h:
3545 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3546 (xml_create_label_node):
3547 * pixmaps/ex-rect-size.png:
3548 * src/print.c: (clip_to_outline), (clip_punchouts):
3549 * src/template-designer.c: (construct_rect_size_page),
3550 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3552 * src/template-designer.glade:
3553 * src/xml-label-191.c: (xml191_parse_label):
3554 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3555 properties for rectangular labels. Templates remain backwards compatible,
3556 but this breaks the libglabels API (I don't know of anyone outside of
3557 glabels using libglabels at this time -- what can I say, the program is
3558 is still "unstable"). This addresses the suggestion in Feature Request
3561 2004-07-05 Jim Evins <evins@snaught.com>
3562 * src/print.c: (print_crop_marks), (draw_outline):
3563 Changed crop marks and label outlines to black, instead of 25% gray.
3564 This addresses debian Bug #257460.
3566 2004-07-05 Jim Evins <evins@snaught.com>
3568 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3569 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3570 Preserve "is_default" of fill and line color_combos when creating from
3573 2004-07-02 Jim Evins <evins@snaught.com>
3576 Created man page. Based on page submitted by Matthew J. Lockner, however
3577 it has been severely edited.
3579 * data/avery-other-templates.xml
3580 * data/misc-other-templates.xml:
3581 Started new files for predefined templates with non-standard sheet sizes.
3582 These have been initially populated with the Avery 06141 and
3583 OfficeMax #86112, both provided by Matthew J. Lockner.
3586 Install above manpage and template files.
3589 Make sure we install man pages.
3591 * src/glabels-batch.c:
3592 Changed short form of help option to '-?' to be consistent with glabels.
3595 Added acknowledgement for above labels.
3597 2004-07-02 Jim Evins <evins@snaught.com>
3599 * src/glabels.c: (main), (save_session_cb):
3600 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3602 - save_session_cb() now returns gboolean.
3603 - Minor formatting changes.
3607 - Now include file.h to provide missing prototype.
3608 - gl_window_get_type() now returns GType, not guint. I believe this may
3609 ultimately be cause of the segfault reported in Bug #982287, since
3610 GType is actually a gulong, which may not be compatible on other
3611 architectures (64bit) -- I cannot personally test this at this time.
3612 I was sloppy in several other xxx_get_type() functions which also
3613 returned guint -- see next group of files:
3615 * src/window.c: (gl_window_get_type):
3616 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3617 * src/canvas-hacktext.h:
3618 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3619 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3620 (gl_hig_hbox_get_type):
3622 * src/label-barcode.c: (gl_label_barcode_get_type):
3623 * src/label-barcode.h:
3624 * src/label-box.c: (gl_label_box_get_type):
3626 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3627 * src/label-ellipse.h:
3628 * src/label-image.c: (gl_label_image_get_type):
3629 * src/label-image.h:
3630 * src/label-line.c: (gl_label_line_get_type):
3632 * src/label-object.c: (gl_label_object_get_type):
3633 * src/label-object.h:
3634 * src/label-text.c: (gl_label_text_get_type):
3636 * src/label.c: (gl_label_get_type):
3638 * src/merge-properties-dialog.c:
3639 (gl_merge_properties_dialog_get_type):
3640 * src/merge-properties-dialog.h:
3641 * src/merge-text.c: (gl_merge_text_get_type):
3643 * src/merge.c: (gl_merge_get_type):
3645 * src/object-editor.c: (gl_object_editor_get_type):
3646 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3647 * src/prefs-dialog.h:
3648 * src/prefs-model.c: (gl_prefs_model_get_type):
3649 * src/prefs-model.h:
3650 * src/print-dialog.c: (gl_print_dialog_get_type):
3651 * src/print-dialog.h:
3652 * src/template-designer.c: (gl_template_designer_get_type):
3653 * src/template-designer.h:
3654 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3655 * src/ui-property-bar.h:
3656 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3658 * src/view-barcode.c: (gl_view_barcode_get_type):
3659 * src/view-barcode.h:
3660 * src/view-box.c: (gl_view_box_get_type):
3662 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3663 * src/view-ellipse.h:
3664 * src/view-highlight.c: (gl_view_highlight_get_type):
3665 * src/view-highlight.h:
3666 * src/view-image.c: (gl_view_image_get_type):
3668 * src/view-line.c: (gl_view_line_get_type):
3670 * src/view-object.c: (gl_view_object_get_type):
3671 * src/view-object.h:
3672 * src/view-text.c: (gl_view_text_get_type):
3674 * src/view.c: (gl_view_get_type):
3676 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3677 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3678 * src/wdgt-image-select.h:
3679 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3680 * src/wdgt-media-select.h:
3681 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3682 * src/wdgt-mini-preview.h:
3683 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3684 * src/wdgt-print-copies.h:
3685 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3686 * src/wdgt-print-merge.h:
3687 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3688 * src/wdgt-rotate-label.h:
3689 - Made sure all xxx_get_type functions returned GType, not guint. This
3690 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3691 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3692 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3693 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3694 window.[ch] details above for more info.
3695 - Reconciled various coding style differences in all xxx_get_type()
3697 * All prototypes include G_GNUC_CONST.
3698 * All prototypes specify the return value as GType, not GtkType
3700 * Info structures are all declared as "static const."
3701 * Generalized the names of type and info variables.
3702 * Miscelaneous formatting.
3704 2004-06-08 Jim Evins <evins@snaught.com>
3710 Don't touch compression of original file -- still defaults to 9 for
3711 new files. Original patch provided by Javier Donaire Segarra
3712 (#912252 in patch tracker).
3714 2004-05-05 Jim Evins <evins@snaught.com>
3716 * data/glabels-2.0.dtd:
3717 Broke DTD previously when adding new barcode types that contain a
3718 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3719 to avoid the problem.
3720 * data/avery-iso-templates.xml:
3721 * data/zweckform-iso-templates.xml:
3723 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3724 provided by Frank Altpeter.
3725 * libglabels/xml-template.c: (xml_create_label_node):
3726 Reordered markup and layout sub-nodes so that resulting templates will
3727 validate against DTD.
3729 2004-03-13 Jim Evins <evins@snaught.com>
3731 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3732 Changed spin callback signals from "value-changed" back to "changed."
3733 This was accidentally introduced in a previous revision, and can cause
3734 size changes just by selecting the size tab.
3736 2004-03-06 Jim Evins <evins@snaught.com>
3738 * src/view.c: (draw_grid_layer):
3739 For round labels (round and cd) adjust grid so that it lines up with
3740 center of label. Also, no longer draw box around label in the grid layer,
3741 it is hidden by he fg layer anyway. Feature suggested by
3742 nemolivier@free.fr. Although the grid is aligned with the center of the
3743 label, the coordinate system is still relative to the upper left corner
3744 of the rectangle containing the label.
3746 2004-02-25 Jim Evins <evins@snaught.com>
3749 Changed version to 2.0pre1cvs
3751 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3752 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3753 instead of doc->name fields when errors encountered.
3755 2004-02-21 Jim Evins <evins@snaught.com>
3757 * data/avery-iso-templates.xml:
3758 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3761 Added libglabels library and include file to installed files.
3764 Final prep for 1.93.3.
3766 2004-02-20 Jim Evins <evins@snaught.com>
3768 * src/glabels-batch.c: (main):
3769 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3770 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3772 2004-02-16 Jim Evins <evins@snaught.com>
3775 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3778 Added HAVE_FILE_CHOOSER to INCLUDES.
3780 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3781 (gl_file_save_as), (save_as_response):
3782 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3784 2004-02-16 Jim Evins <evins@snaught.com>
3786 * src/xml-label-04.c: (xml04_parse_image_props):
3787 * src/xml-label-191.c: (xml191_parse_image_props):
3788 * src/xml-label.c: (xml_parse_object_image):
3789 Delay setting image size until after image has been applied to new
3792 2004-02-15 Jim Evins <evins@snaught.com>
3794 * src/label-barcode.c: (gl_label_barcode_set_data),
3795 (gl_label_barcode_set_props):
3796 Don't emit "changed" signal, if no change actually made for these
3797 methods. Reduces number of unnecessary redraws of barcodes.
3799 * src/label-object.h:
3800 * src/label-object.c: (gl_label_object_set_position),
3801 (gl_label_object_set_position_relative), (set_size),
3802 (gl_label_object_set_size),
3803 (gl_label_object_set_size_honor_aspect):
3804 Don't emit "changed" signal, if no change actually made for these
3807 2004-02-15 Jim Evins <evins@snaught.com>
3809 * data/glabels-2.0.dtd:
3810 Added specific subtypes for various barcode types.
3813 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3814 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3815 (gl_barcode_can_text), (gl_barcode_text_optional),
3816 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3817 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3818 Changed API to use a string id, rather than a fixed enumeration. Id and
3819 name are separate strings. Added entries to backend table for specific
3820 subtypes for various barcode types.
3823 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3825 Modified to conform to above API. Now more stringent with data length
3826 for various subtypes.
3828 * src/bc-gnubarcode.h:
3829 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3830 (is_length_valid), (is_length1_valid), (is_length2_valid):
3831 Modified to conform to above API. Now more stringent with data length
3832 for various subtypes.
3834 * src/label-barcode.h:
3835 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3836 (gl_label_barcode_get_props), (get_size):
3837 Modified to use above API for storing barcode type.
3839 * src/object-editor.h:
3840 * src/object-editor-bc-page.c: (style_changed_cb),
3841 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3842 Modified to use above API for storing barcode type.
3844 * src/object-editor-size-page.c:
3845 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3846 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3847 Added debug markers.
3849 * src/object-editor.glade:
3850 Made barcode style combo's text entry non-editable.
3852 * src/print.c: (draw_barcode_object):
3853 Modified to use above API for barcode type.
3855 * src/view-barcode.c: (update_object_from_editor_cb),
3856 (update_editor_from_object_cb),
3857 (gl_view_barcode_create_event_handler), (draw_barcode):
3858 Modified to use above API for barcode type.
3860 * src/xml-label-04.c: (xml04_parse_barcode_props):
3861 * src/xml-label-191.c: (xml191_parse_barcode_props):
3862 * src/xml-label.c: (xml_parse_object_barcode),
3863 (xml_create_object_barcode):
3864 Modified to use above API for barcode type.
3866 2004-02-07 Jim Evins <evins@snaught.com>
3868 * src/stock-pixmaps/Makefile.am:
3869 * src/stock-pixmaps/stock_hchain_24.png:
3870 * src/stock-pixmaps/stock_hchain_broken_24.png:
3871 * src/stock-pixmaps/stock_vchain_24.png:
3872 * src/stock-pixmaps/stock_vchain_broken_24.png:
3873 Added chain pixmaps borrowed from the gimp's default theme.
3876 * src/stock.c: (gl_stock_init), (add_button_icon):
3877 Added above pixmaps to stock icon sets. Created add_button_icon() to
3878 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3880 * src/wdgt-chain-button.h
3881 * src/wdgt-chain-button.c
3884 Added this Modified version of gimpchainbutton widget, borrowed from
3888 Added acknowledgements of the above borrowing from the gimp.
3890 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3892 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3893 * src/object-editor.glade:
3894 Replaced the keep aspect ratio check box with the above chain-button
3897 * src/text-node.c: (gl_text_node_equal):
3899 Added function gl_text_node_equal() to compare text_nodes.
3901 * src/label-image.c: (gl_label_image_set_filename):
3902 Replaced incomplete text_node comparison code with invocation of
3903 gl_text_node_equal. This fixed the problem of not being able to
3904 resize an image using the object_editor if the aspect ratio is not
3907 2004-02-04 Jim Evins <evins@snaught.com>
3909 * src/object-editor-image-page.c:
3910 (gl_object_editor_prepare_image_page):
3911 Track "changed" signal of pixmap entry's GtkEntry rather than its
3912 "activate" signal -- this catches all changes to the entry rather than
3913 just changes resulting from a browse, so one can easily pull previous
3914 entries from the history. (This change is marked below on 2004-02-03,
3915 but somehow never got checked in.)
3917 * src/view-highlight.c: (sl_resize_event_handler),
3918 (sr_resize_event_handler), (st_resize_event_handler),
3919 (sb_resize_event_handler):
3920 Side resize handles will now confirm the actual resize that the object
3921 accepted before adjusting position parameters. Previously some interesting
3922 things happened when resizing a barcode to its minimum size.
3924 2004-02-03 Jim Evins <evins@snaught.com>
3926 * src/object-editor-image-page.c:
3927 (gl_object_editor_prepare_image_page):
3928 Track "changed" signal of pixmap entry's GtkEntry rather than its
3929 "activate" signal -- this catches all changes to the entry rather than
3930 just changes resulting from a browse, so one can easily pull previous
3931 entries from the history.
3933 * src/view-highlight.c: (tl_resize_event_handler),
3934 (tr_resize_event_handler), (bl_resize_event_handler),
3935 (br_resize_event_handler):
3936 Allow control key to be dropped while dragging a corner resize handle
3937 without losing the aspect ratio lock.
3939 2004-02-02 Jim Evins <evins@snaught.com>
3941 * src/label-image.c: (gl_label_image_set_filename):
3942 When setting a new filename adjust size such that the aspect ratio of
3943 the image is preserved using the current size as a bounding box.
3945 * src/view-image.c: (update_object_from_editor_cb):
3946 When updating object from editor, feed back possible size changes to
3947 editor as a result of a possible change in image.
3949 * src/object-editor-size-page.c: (size_reset_cb):
3950 Fixed typo when blocking spin handlers. If the base size is larger than
3951 the max size, treat max size as a bounding box while keeping aspect
3955 2004-02-02 Jim Evins <evins@snaught.com>
3957 * src/label-object.h:
3958 * src/label-object.c: (gl_label_object_set_size),
3959 (gl_label_object_set_size_honor_aspect):
3960 Added gl_label_object_set_size_honor_aspect() which will maintain the
3961 current aspect ratio by modifying the supplied w or h apropriately.
3963 * src/view-highlight.c: (tl_resize_event_handler),
3964 (tr_resize_event_handler), (bl_resize_event_handler),
3965 (br_resize_event_handler):
3966 Corner handles will now maintain the current aspect ratio if the
3967 control key is pressed while resizing. This addresses feature
3971 2004-01-31 Jim Evins <evins@snaught.com>
3974 * data/avery-us-templates.xml:
3975 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3977 * libglabels/template.c: (read_template_files_from_dir):
3978 Corrected problem with testing for extensions.
3980 * src/object-editor.glade:
3981 Corrected grouping of radio buttons in barcode data page.
3983 * src/print.c: (draw_barcode_object):
3984 * src/view-barcode.c: (draw_barcode):
3985 Corrected problem with calculation of y_offset for locating characters.
3987 2004-01-24 Jim Evins <evins@snaught.com>
3990 * data/avery-us-templates.xml:
3991 Added Avery 5824, submitted by Fred Bacon.
3993 2004-01-20 Jim Evins <evins@snaught.com>
3995 Catching up on a couple of backlogged user template submissions.
3997 * data/avery-iso-templates.xml:
3998 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3999 Suggested by Linas Jakucionis.
4001 * data/zweckform-iso-templates.xml:
4002 Added Zweckform 4760, submitted by Thomas Vill.
4005 Updated to reflect above submissions.
4007 2004-01-06 Jim Evins <evins@snaught.com>
4009 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4010 xml.[ch] into a separate library called libglabels, to facilitate third
4011 party use of glabels template files. This was suggested by Wayne Schuller.
4012 Once split-out, some modifications to the structures and functions to
4013 make a cleaner more useful API, hopefully. Rather extensive changes have
4014 propogated to other modules.
4022 * src/xml-template.h:
4023 * src/xml-template.c:
4026 These files have been moved to libglabels/. API cleanup performed.
4028 * libglabels/libglabels.h:
4029 * libglabels/libglabels-private.h:
4030 * libglabels/Makefile.am:
4031 These files have been added to finish out libglabels.
4038 Modified to reflect new sets of files in src/ and libglabels/.
4040 * COPYING.LIBGLABELS:
4042 Added copy of the LGPL for libglabels, and a copy the GFDL for
4045 * src/glabels-batch.c:
4047 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4048 (gl_label_get_size):
4050 * src/prefs-model.c: (gl_prefs_model_load_settings):
4051 * src/print-dialog.c:
4052 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4053 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4054 (print_crop_marks), (print_label), (draw_outline),
4055 (clip_to_outline), (clip_punchouts):
4056 * src/template-designer.c: (construct_pg_size_page),
4057 (pg_size_page_changed_cb), (layout_page_changed_cb),
4058 (print_test_cb), (build_template):
4059 * src/util.c: (gl_util_fraction):
4061 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4062 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4063 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4064 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4065 (draw_markup_margin_round), (draw_markup_margin_cd),
4066 (draw_markup_margin_cd_bc), (draw_markup_line),
4067 (draw_markup_circle), (gl_view_copy):
4068 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4069 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4070 (get_label_size_desc):
4071 * src/wdgt-mini-preview.c:
4072 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4074 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4075 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4076 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4077 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4078 * src/wdgt-rotate-label.h:
4079 * src/xml-label-04.c: (xml04_parse_media_description):
4080 * src/xml-label-191.c: (gl_xml_label_191_parse),
4081 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4082 (xml191_parse_markup), (xml191_parse_alias):
4083 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4085 Various changes to accomodate new libglabels API.
4087 2004-01-03 Jim Evins <evins@snaught.com>
4092 2004-01-03 Jim Evins <evins@snaught.com>
4095 Added acknowledgement of contributions by Wayne Schuller.
4097 * src/commands.c: (gl_cmd_file_print):
4098 Create extra reference to print dialog, so that it can be properly re-used.
4100 * src/mygal/mygal-combo-box.h:
4101 * src/mygal/mygal-combo-box.c:
4102 (mygal_combo_box_popup_hide_unconditional),
4103 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4104 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4105 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4106 (mygal_combo_box_set_tearable):
4107 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4108 complete the rename of this widget to prevent namespace collisions
4111 * src/prefs-dialog.glade:
4112 Fixed alignment of Fill/Color widgets.
4114 2004-01-03 Jim Evins <evins@snaught.com>
4116 * data/avery-iso-templates.xml:
4117 Added user submitted templates.
4118 Avery 8435A & 8435B, submitted by Ludger Solbach.
4120 * doc/C/glabels.xml:
4121 Added minimal documentation, noting the new template designer.
4123 2004-01-03 Jim Evins <evins@snaught.com>
4125 * pixmaps/ex-rect-size.png:
4126 * pixmaps/ex-round-size.png:
4127 * pixmaps/ex-cd-size.png:
4128 * pixmaps/Makefile.am:
4129 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4130 files to be used as illustrations/examples in the template-designer.
4132 * src/template-designer.c: (construct_rect_size_page),
4133 (construct_round_size_page), (construct_cd_size_page),
4134 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4135 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4136 (layout_page_prepare_cb), (build_template):
4137 * src/template-designer.glade:
4138 Added illustrations for rectangle, round, and cd label size pages.
4139 Added margin spinboxes to these pages, and now add a margin markup
4140 to the constructed template. Added realistic default values for
4141 some of the size spinboxes. Cleaned up the code for setting spinbox
4142 ranges on the layouts page.
4144 2004-01-02 Jim Evins <evins@snaught.com>
4146 * src/object-editor-size-page.c: (h_spin_cb):
4147 Fixed cut-n-paste error in h_spin_cb that loaded h from
4148 the wrong spinbutton.
4150 * src/object-editor.h:
4151 * src/object-editor.c: (gl_object_editor_class_init),
4152 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4153 * src/object-editor-private.h:
4154 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4156 Added "size_changed" signal.
4158 * src/view-text.c: (construct_properties_editor),
4159 (update_object_from_editor_cb),
4160 (update_object_from_editor_size_cb):
4161 Track size changes from object editor separately from other
4162 properties. This is so the default size (0,0) of a text
4163 object is not modified unintentionally.
4165 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4167 Added feature: line spacing - allows you to comfortably space a text box to
4168 fit a label perfectly.
4170 * data/glabels-2.0.dtd:
4171 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4172 (gl_label_object_get_text_alignment),
4173 (gl_label_object_get_text_line_spacing):
4174 * src/label-object.h:
4175 * src/label-text.c: (gl_label_text_class_init),
4176 (gl_label_text_instance_init), (copy), (get_size),
4177 (set_text_line_spacing), (get_text_alignment),
4178 (get_text_line_spacing):
4179 * src/object-editor-private.h:
4180 * src/object-editor-text-page.c:
4181 (gl_object_editor_prepare_text_page),
4182 (gl_object_editor_set_text_line_spacing),
4183 (gl_object_editor_get_text_line_spacing):
4184 * src/object-editor.glade:
4185 * src/object-editor.h:
4186 * src/prefs-dialog.c: (construct_object_page),
4187 (update_object_page_from_prefs), (update_prefs_from_object_page):
4188 * src/prefs-dialog.glade:
4189 * src/prefs-model.c: (gl_prefs_model_save_settings),
4190 (gl_prefs_model_load_settings), (get_float):
4191 * src/prefs-model.h:
4192 * src/print.c: (draw_text_object):
4194 * src/view-text.c: (update_object_from_editor_cb),
4195 (update_editor_from_object_cb),
4196 (gl_view_text_create_event_handler), (draw_hacktext):
4197 * src/view.c: (gl_view_construct),
4198 (gl_view_set_selection_text_line_spacing),
4199 (gl_view_set_default_text_line_spacing),
4200 (gl_view_get_default_text_line_spacing):
4202 * src/xml-label.c: (xml_parse_toplevel_span),
4203 (xml_create_toplevel_span):
4205 2003-12-30 Jim Evins <evins@snaught.com>
4207 * src/template-designer.c:
4208 * src/template-designer.h:
4209 * src/template-designer.glade:
4210 New template designer assistant.
4214 Added entries for src/template-designer.* files.
4216 * pixmaps/ex-1layout.png
4217 * pixmaps/ex-2layouts.png
4218 * pixmaps/Makefile.am:
4219 Added the new image files ex-*.png used as illustrations in the
4220 template designer assistant.
4222 * src/print-dialog.h:
4223 * src/print-dialog.c: (gl_print_dialog_finalize),
4224 (gl_print_dialog_new), (gl_print_dialog_construct),
4225 (gl_print_dialog_force_outline_flag):
4226 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4227 to support printing from the template designer assistant which does not
4228 have a full-fledged view. Nothing else from the view object was being
4229 used by the dialog anyway.
4231 Added the gl_print_dialog_force_outline_flag() method, for better
4232 integration with the template designer assistant.
4236 * src/commands.c: (gl_cmd_file_template_designer),
4237 (gl_cmd_file_print):
4238 Modified print command to provide label instead of view to dialog.
4239 Added the gl_cmd_file_template_designer() command to invoke the
4240 template designer assistant.
4243 * src/glabels-ui.xml:
4244 Added support for template designer assistant.
4246 * src/wdgt-mini-preview.h:
4247 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4248 (gl_wdgt_mini_preview_set_bg_color):
4249 Preview is now centered in canvas. Added
4250 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4251 assistant to match the background color with its own.
4253 * src/print.c: (clip_to_outline):
4254 Fixed really stupid bug when adding waste to clip region of rectangular
4255 labels/cards. Each side of the clip region needs to be extended by
4256 twice the waste margin, as well as negatively offset by the waste
4259 2003-12-28 Jim Evins <evins@snaught.com>
4261 * src/prefs-dialog.c: (update_object_page_from_prefs):
4262 Block intermediary function align_toggle_cb() instead of
4263 update_prefs_from_object_page() for the three alignment
4266 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4268 * src/file.c: (gl_file_new), (gl_file_properties):
4269 Swap button order and set default for higificatory pleasure.
4271 2003-12-27 Jim Evins <evins@snaught.com>
4273 * barcode-0.98/Makefile.am:
4274 One last time: removed doc/Makefile and po/Makefile.in.in from
4277 2003-12-27 Jim Evins <evins@snaught.com>
4279 * barcode-0.98/Makefile.am:
4280 Removed config.stat entry from EXTRA_DIST files.
4282 * barcode-0.98/Makefile.in:
4285 2003-12-27 Jim Evins <evins@snaught.com>
4288 Updated to work with latest gnome-common package from CVS.
4289 Removed recursive configuration of barcode-0.98.
4296 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4298 * barcode-0.98/Makefile.in:
4299 * barcode-0.98/configure.in:
4300 * barcode-0.98/Makefile.am:
4301 * barcode-0.98/README.glabels:
4302 Modified to ignore the barcode package's build system, and build
4303 as a part of glabels.
4304 Renamed Makefile.in to Makefile.in.dist.
4305 Renamed configure.in to configure.in.dist.
4306 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4309 * src/mygal/Makefile.am:
4310 * src/recent-files/Makefile.am:
4311 In order to build against the GNOME 2.5 platform,
4312 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4314 * src/mygal/Makefile.am:
4315 * src/mygal/mygal-combo-box.c:
4316 * src/mygal/mygal-combo-box.h:
4317 * src/mygal/widget-color-combo.c:
4318 * src/mygal/widget-color-combo.h:
4320 In order to build against the GNOME 2.5 platform,
4321 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4322 collisions with the real gtk_combo_box widget, now a part of gtk.
4324 2003-12-26 Jim Evins <evins@snaught.com>
4330 Moved local versions of get_home_data_dir() in paper.c and
4331 template.c to util package. Cleaned up formatting in
4335 In gl_template_register() save a copy of the template in
4336 ~/.glabels if the template is not known. Still need to
4337 handle duplicate filename case and duplicate name but
4338 different template case.
4342 Moved local definition of NAME_SPACE macro from xml-label.c
4345 * src/xml-template.c:
4346 * src/xml-template.h:
4347 Added function gl_xml_template_write_template_to_file(), used
4348 in gl_template_register().