1 2009-02-21 JimEvins <evins@snaught.com>
5 * data/builder/object-editor.glade:
6 * data/builder/prefs-dialog.glade:
7 * data/builder/property-bar.glade:
8 * data/builder/template-designer.glade:
10 * src/color-combo-color-menu-item.c:
11 * src/color-combo-color-menu-item.h:
12 * src/color-combo-menu.h:
13 * src/glabels-batch.c: (main):
14 * src/glabels.c: (main):
15 * src/merge-properties-dialog.h:
16 * src/new-label-dialog.h:
17 * src/object-editor-lsize-page.c:
18 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
19 * src/object-editor.h:
22 * src/template-designer.h:
23 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
24 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
25 * src/ui-property-bar.c:
26 * src/ui-property-bar.h:
27 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
28 (selection_changed_cb):
31 * src/wdgt-media-select.h:
32 * src/wdgt-merge-menu.h:
33 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
34 * src/wdgt-mini-preview.h:
35 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
36 * src/wdgt-print-copies.h:
37 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
38 * src/wdgt-print-merge.h:
39 * src/wdgt-rotate-label.h:
41 Removed final dependencies on libgnome and libgnomeui.
42 Removed all currently deprecated symbols as of GTK 2.14.
44 2009-01-07 Jim Evins <evins@snaught.com>
46 * src/critical-error-handler.c: (critical_error_handler):
47 * src/ui-commands.c: (gl_ui_cmd_help_contents):
48 * src/warning-handler.c: (warning_handler):
49 * src/view.c: (selection_received_cb):
50 Compile without warning with additional CFLAGS of
53 2009-01-02 Jim Evins <evins@snaught.com>
55 * COPYING.README_FIRST:
58 2008-12-27 Jim Evins <evins@snaught.com>
60 * data/templates/avery-iso-templates.xml:
61 * data/templates/avery-other-templates.xml:
62 * data/templates/avery-us-templates.xml:
63 * data/templates/brother-other-templates.xml:
64 * data/templates/misc-iso-templates.xml:
65 * data/templates/misc-other-templates.xml:
66 * data/templates/zweckform-iso-templates.xml:
67 Make sure all descriptions are marked as translatable.
69 2008-12-27 Jim Evins <evins@snaught.com>
72 Updated german translation (Mario Blättermann)
74 Updated credits to reflect above translation.
75 * data/builder/object-editor.glade:
76 * data/builder/prefs-dialog.glade:
77 * data/builder/template-designer.glade:
78 Removed "translatable" attribute from whitespace strings,
79 which are used only to help layout.
81 2008-12-21 Jim Evins <evins@snaught.com>
83 * data/templates/avery-us-templates.xml:
84 * data/templates/misc-iso-templates.xml:
85 A couple of recent template submissions.
87 Acknowledgements for above templates.
89 2008-12-21 Jim Evins <evins@snaught.com>
91 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
92 Don't check for handles on aggregate selections.
94 2008-12-20 Jim Evins <evins@snaught.com>
97 Updated prerequisite library versions required.
99 2008-12-18 Jim Evins <evins@snaught.com>
101 * src/view.c: (selection_received_cb):
102 Fixed paste bug that caused a duplicate phantom view_object to be created for
103 each new label_object. This is because the view now (as of r673) the view
104 monitiors the label for new objects and creates view_objects automatically.
106 2008-12-14 Jim Evins <evins@snaught.com>
108 * src/ui.c: (gl_ui_new):
109 Bug #2395628. Fixed i18n for application shell.
111 Bug #2395628. Reconciled POTFILES.in with current files.
113 2008-12-14 Jim Evins <evins@snaught.com>
116 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
118 2008-11-15 Jim Evins <evins@snaught.com>
120 * libglabels/db.c: (lgl_db_register_template):
121 * libglabels/xml-template.c:
122 (lgl_xml_template_parse_template_node):
123 * src/glabels-batch.c:
124 * src/view-text.c: (gl_view_text_create_button_press_event):
125 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
127 2008-11-09 Jim Evins <evins@snaught.com>
129 * data/templates/misc-iso-templates.xml:
130 Another user submitted template.
132 2008-10-27 Jim Evins <evins@snaught.com>
134 * data/templates/avery-us-templates.xml:
135 * data/templates/misc-iso-templates.xml:
136 * data/templates/zweckform-iso-templates.xml:
137 Caught up on user submitted templates.
139 Acknowledgements for above templates.
141 2008-10-23 Jim Evins <evins@snaught.com>
143 * src/label-text.c: (set_font_family):
144 * src/object-editor-text-page.c:
145 (gl_object_editor_prepare_text_page),
146 (gl_object_editor_set_font_family):
147 * src/prefs-dialog.c: (construct_object_page),
148 (update_object_page_from_prefs):
149 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
150 (reset_to_default_properties):
151 * src/util.c: (gl_util_get_font_family_list):
153 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
154 everytime the list is requested.
155 * src/object-editor-text-page.c:
156 (gl_object_editor_set_font_family):
157 Don't change font-family if it hasn't actually changed.
159 2008-10-19 Jim Evins <evins@snaught.com>
161 * data/builder/object-editor.glade:
162 Some tweaking of builder/glade widgets.
164 2008-10-18 Jim Evins <evins@snaught.com>
166 Migrated all use of libglade to GtkBuilder.
168 * data/glade/Makefile.am:
169 * data/glade/merge-properties-dialog.glade:
170 * data/glade/new-label-dialog.glade:
171 * data/glade/object-editor.glade:
172 * data/glade/prefs-dialog.glade:
173 * data/glade/print-custom-widget.glade:
174 * data/glade/property-bar.glade:
175 * data/glade/template-designer.glade:
176 * data/glade/wdgt-media-select.glade:
177 Removed data/glade directory.
178 * data/builder/Makefile.am:
179 * data/builder/merge-properties-dialog.glade:
180 * data/builder/new-label-dialog.glade:
181 * data/builder/object-editor.glade:
182 * data/builder/prefs-dialog.glade:
183 * data/builder/print-custom-widget.glade:
184 * data/builder/property-bar.glade:
185 * data/builder/template-designer.glade:
186 * data/builder/wdgt-media-select.glade:
187 Added data/builder directory.
191 Change glade to builder.
192 * src/merge-properties-dialog.c:
193 (gl_merge_properties_dialog_finalize),
194 (gl_merge_properties_dialog_construct):
195 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
196 (gl_new_label_dialog_construct):
197 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
198 * src/object-editor-data-page.c:
199 (gl_object_editor_prepare_data_page):
200 * src/object-editor-edit-page.c:
201 (gl_object_editor_prepare_edit_page):
202 * src/object-editor-fill-page.c:
203 (gl_object_editor_prepare_fill_page):
204 * src/object-editor-image-page.c:
205 (gl_object_editor_prepare_image_page):
206 * src/object-editor-line-page.c:
207 (gl_object_editor_prepare_line_page):
208 * src/object-editor-lsize-page.c:
209 (gl_object_editor_prepare_lsize_page):
210 * src/object-editor-position-page.c:
211 (gl_object_editor_prepare_position_page):
212 * src/object-editor-private.h:
213 * src/object-editor-shadow-page.c:
214 (gl_object_editor_prepare_shadow_page):
215 * src/object-editor-size-page.c:
216 (gl_object_editor_prepare_size_page):
217 * src/object-editor-text-page.c:
218 (gl_object_editor_prepare_text_page):
219 * src/object-editor.c: (gl_object_editor_init):
220 * src/prefs-dialog.c: (gl_prefs_dialog_init),
221 (gl_prefs_dialog_construct), (construct_locale_page),
222 (construct_object_page):
223 * src/print-op.c: (gl_print_op_finalize),
224 (create_custom_widget_cb):
225 * src/template-designer.c: (gl_template_designer_class_init),
226 (gl_template_designer_finalize), (gl_template_designer_construct),
227 (construct_start_page), (construct_name_page),
228 (construct_pg_size_page), (construct_shape_page),
229 (construct_rect_size_page), (construct_round_size_page),
230 (construct_cd_size_page), (construct_nlayouts_page),
231 (construct_layout_page), (construct_finish_page):
232 * src/template-designer.h:
233 * src/ui-property-bar.c: (gl_ui_property_bar_init),
234 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
235 (gl_ui_property_bar_construct), (reset_to_default_properties),
236 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
237 (update_text_properties), (update_fill_color), (update_line_color),
238 (update_line_width), (selection_changed_cb),
239 (font_family_changed_cb), (font_size_changed_cb),
240 (text_color_changed_cb), (fill_color_changed_cb),
241 (line_color_changed_cb), (line_width_changed_cb),
242 (font_bold_toggled_cb), (font_italic_toggled_cb),
243 (text_align_toggled_cb), (set_doc_items_sensitive),
244 (set_text_items_sensitive), (set_fill_items_sensitive),
245 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
246 * src/ui-property-bar.h:
247 * src/util.c: (gl_util_get_builder_widgets):
249 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
250 (gl_wdgt_media_select_construct):
251 Migration of glade to builder.
253 New macros for color combo initialization.
255 Added idea for internal merge database.
256 * docs/libglabels/libglabels-undocumented.txt:
257 * docs/libglabels/tmpl/paper.sgml:
261 2008-10-12 Jim Evins <evins@snaught.com>
263 * src/mygal/Makefile.am:
264 * src/mygal/color-group.c:
265 * src/mygal/color-group.h:
266 * src/mygal/color-palette.c:
267 * src/mygal/color-palette.h:
268 * src/mygal/e-colors.c:
269 * src/mygal/e-colors.h:
270 * src/mygal/e-marshal.list:
271 * src/mygal/e-util.h:
272 * src/mygal/mygal-combo-box.c:
273 * src/mygal/mygal-combo-box.h:
274 * src/mygal/widget-color-combo.c:
275 * src/mygal/widget-color-combo.h:
281 * src/color-combo-color-menu-item.c:
282 * src/color-combo-color-menu-item.h:
283 * src/color-combo-history.c:
284 * src/color-combo-history.h:
285 * src/color-combo-menu.c:
286 * src/color-combo-menu.h:
291 Created new glColorCombo widget.
292 * src/object-editor-bc-page.c:
293 * src/object-editor-edit-page.c:
294 * src/object-editor-fill-page.c:
295 * src/object-editor-line-page.c:
296 * src/object-editor-shadow-page.c:
297 * src/object-editor-text-page.c:
298 * src/object-editor.c:
299 * src/prefs-dialog.c:
300 * src/ui-property-bar.c:
301 Replaced use of mygal color combo with new glColorCombo widget.
303 2008-08-29 Jim Evins <evins@snaught.com>
305 * src/file.c: (gl_file_open), (gl_file_save_as):
306 Bug #2069668. Corrected button order in Open and "Save as"
309 2008-08-17 Jim Evins <evins@snaught.com>
311 * data/dtd/glabels-2.2.dtd:
312 * data/templates/paper-sizes.xml:
313 * libglabels/db.c: (lgl_db_init):
314 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
315 * libglabels/paper.h:
316 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
317 * src/print-op.c: (set_page_size):
318 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
319 size specification) to the libglabels paper database to allow the page size to be
320 communicated to GtkPrintOp un-ambiguously.
322 2008-07-25 Jim Evins <evins@snaught.com>
324 * src/object-editor-size-page.c: (size_reset_cb),
325 (gl_object_editor_set_max_size):
326 Bug #1993550. Set size limits based on longest side of label.
328 2008-07-19 Jim Evins <evins@snaught.com>
331 * src/mygal/Makefile.am:
332 Make sure libtool handles library dependencies for mygal
335 2008-05-21 Jim Evins <evins@snaught.com>
337 * src/glabels-batch.c: (main):
338 Bug #1968653. Initialize prefs subsystem.
340 2008-05-09 Jim Evins <evins@snaught.com>
342 * data/glade/object-editor.glade:
343 Bug #1959135. A couple of radio buttons somehow became
346 2008-04-07 Jim Evins <evins@snaught.com>
348 * src/wdgt-rotate-label.h:
349 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
350 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
351 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
352 (gl_wdgt_rotate_label_set_template_name):
353 Modified wdgt-rotate-label to better indicate the rotation choices.
354 * data/glade/Makefile.am:
355 * data/glade/wdgt-rotate-label.glade:
356 Deleted wdgt-rotate-label.glade.
358 2008-04-04 Jim Evins <evins@snaught.com>
360 * data/templates/brother-other-templates.xml:
361 Added categories to existing templates.
362 * data/templates/misc-other-templates.xml:
363 Moved dymo templates to their own file.
364 * data/templates/Makefile.am:
365 * data/templates/dymo-other-templates.xml:
366 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
368 Acknowledgement for above templates.
370 2008-03-24 Jim Evins <evins@snaught.com>
372 * src/xml-label.c: (xml_doc_to_label):
373 Bug #1872584. Don't refuse to parse label file if namespace is
374 unrecognized -- it may be from a newer version of glabels.
376 2008-03-15 Jim Evins <evins@snaught.com>
378 * data/templates/Makefile.am:
379 * data/templates/brother-other-templates.xml:
380 Added brother templates.
381 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
382 (gl_cairo_markup_margin_cd_path):
383 * src/view.c: (draw_markup_layer):
384 Fixed markup drawing errors when label is rotated.
386 2008-03-03 Jim Evins <evins@snaught.com>
390 Added korean translation provided by xein@naver.com.
392 2008-02-21 Jim Evins <evins@snaught.com>
395 Fixed typo that prevented "Save" from being deactivated when
396 document is not modified.
398 2008-02-18 Jim Evins <evins@snaught.com>
400 * src/prefs-model.c: (gl_prefs_model_save_settings),
401 (gl_prefs_model_load_settings):
402 Set default units for file output.
404 2008-02-18 Jim Evins <evins@snaught.com>
406 * help/C/glabels.xml:
407 Fixed example template.
409 2008-02-16 Jim Evins <evins@snaught.com>
412 * data/templates/avery-iso-templates.xml:
413 * data/templates/avery-us-templates.xml:
414 * data/templates/misc-iso-templates.xml:
415 * data/templates/misc-us-templates.xml:
416 Caught up on user submitted templates.
418 2008-02-04 Jim Evins <evins@snaught.com>
420 * src/view-image.c: (update_object_from_editor_cb):
421 Bug #1886438. Don't update the image size unless it is actually
422 triggered by a change in image source. The result of this bug
423 was that any attempt to edit the size spinboxes, immediately
426 2008-02-03 Jim Evins <evins@snaught.com>
428 * src/label-image.c: (gl_label_image_class_init), (set_size):
429 Enforce minimum size for images.
431 2008-02-03 Jim Evins <evins@snaught.com>
433 * src/object-editor-edit-page.c: (field_selected_cb):
434 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
435 * src/object-editor-private.h:
436 * src/object-editor-shadow-page.c:
437 (gl_object_editor_set_max_shadow_offset):
438 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
439 * src/object-editor.c: (gl_object_editor_finalize),
440 (gl_object_editor_new), (gl_object_notebook_construct_valist),
442 * src/object-editor.h:
443 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
444 * src/view-barcode.c: (construct_properties_editor):
445 * src/view-box.c: (construct_properties_editor):
446 * src/view-ellipse.c: (construct_properties_editor):
447 * src/view-image.c: (construct_properties_editor):
448 * src/view-line.c: (construct_properties_editor):
449 * src/view-object.c: (gl_view_object_finalize):
450 * src/view-text.c: (construct_properties_editor),
451 Move update_editor_from_label callback from individual view objects
452 to the object editor, so that signals can be disconnected when
453 object editor is finalized.
454 * src/view-text.c: (gl_view_text_create_button_press_event):
455 Fixed bug that caused multiple view objects to be created for a
456 single text object. This bug would manifest itself as a crash
457 when deleting multi-object selections which included text objects.
459 2008-02-02 Jim Evins <evins@snaught.com>
462 * src/wdgt-merge-menu.c:
463 * src/wdgt-merge-menu.h:
464 * src/debug.c: (gl_debug_init):
467 New merge menu widget.
468 * data/glade/object-editor.glade:
469 * src/object-editor-private.h:
470 * src/object-editor.c: (gl_object_editor_set_key_names):
471 * src/object-editor-edit-page.c:
472 (gl_object_editor_prepare_edit_page), (field_selected_cb),
474 Simplified UI for inserting fields into text objects by launching
475 a merge menu and directly inserting fields from the menu. No more
476 selecting field in combobox, then pressing insert button.
478 2008-01-31 Jim Evins <evins@snaught.com>
480 * src/label-barcode.c: (draw_object):
481 Fixed rendering problem when "Invalid data" is displayed when text
482 object is lower in stacking order.
484 2008-01-30 Jim Evins <evins@snaught.com>
486 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
487 Don't turn off cairo_hint_metrics. This causes serious issues with
490 2008-01-29 Jim Evins <evins@snaught.com>
492 * src/print-op.c: (gl_print_op_construct),
493 (gl_print_op_construct_batch), (set_page_size):
494 Explicitly set page size for "other" page sizes.
496 2008-01-25 Jim Evins <evins@snaught.com>
499 Fixed Code128C backend parameters.
500 * src/label-barcode.c: (get_size):
501 Bug #1766425. If barcode is not renderable with either
502 input data or default data, use a default size. Also
505 2008-01-16 Jim Evins <evins@snaught.com>
507 * src/print.c: (print_label):
508 Bug #1872568. Don't apply special transforms (rotate and
509 mirror) to clipping region or outline.
511 2008-01-01 Jim Evins <evins@snaught.com>
514 Sort font lists alphabetically.
516 2008-01-01 Jim Evins <evins@snaught.com>
518 * src/merge-evolution.c:
519 Do a case-insensitive sort.
521 2008-01-01 Jim Evins <evins@snaught.com>
523 * src/merge-evolution.c:
524 Sort evolution by "file_under" field. Original patch provided
525 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
528 Added acknowledgement for above patch.
530 2008-01-01 Jim Evins <evins@snaught.com>
535 Reconcile with 2.2 branch.
538 2007-12-21 Jim Evins <evins@snaught.com>
540 * COPYING.LIBGLABELS:
541 * COPYING.README_FIRST:
543 Updating license information to make more complete and understandable.
545 2007-12-16 Jim Evins <evins@snaught.com>
548 Updated version to 2.pre2.
549 * help/C/glabels.xml:
550 Updated documentation.
551 * src/ui-commands.c: (gl_ui_cmd_help_about):
552 Updated copyright string.
554 2007-12-15 Jim Evins <evins@snaught.com>
556 * data/glade/object-editor.glade:
557 Removed any GtkTable that contained a GtkComboBox because the size of
558 the combo box was not constrained properly. This sacrifices the nice
559 orderly labels for combo boxes that don't extend beyond the edge of the
562 2007-12-15 Jim Evins <evins@snaught.com>
564 * libglabels/db.c: (lgl_db_lookup_template_from_name):
565 * src/object-editor.c: (gl_object_editor_finalize):
566 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
567 Fixed several small memory leaks.
569 2007-12-14 Jim Evins <evins@snaught.com>
572 Optimize template search by name by using a GHashTable.
573 * src/mini-preview-pixbuf-cache.c:
574 * src/mini-preview-pixbuf-cache.h:
575 Store one pixbuf per template, but use a key for each alias.
576 * src/wdgt-media-select.c:
577 Optimize loading of tree data, thus optimizing the "new label" dialog.
579 2007-12-12 Jim Evins <evins@snaught.com>
581 * data/templates/avery-us-templates.xml:
582 More templates and aliases.
584 2007-12-08 Jim Evins <evins@snaught.com>
587 More prep for 2.1.5/2.2.0.
589 2007-12-08 Jim Evins <evins@snaught.com>
595 Preparation for 2.1.5.
597 2007-12-08 Jim Evins <evins@snaught.com>
599 * docs/libglabels/libglabels-decl-list.txt:
600 * docs/libglabels/libglabels-docs.sgml:
601 * docs/libglabels/libglabels-sections.txt:
602 * docs/libglabels/libglabels-undocumented.txt:
603 * docs/libglabels/tmpl/db.sgml:
604 * docs/libglabels/tmpl/str.sgml:
606 Documentation cleanup for libglabels.
608 2007-11-29 Jim Evins <evins@snaught.com>
612 Added lgl_db_does_template_name_exist().
613 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
616 Proof read recent templates -- make sure they still exist.
617 * src/wdgt-media-select.c:
618 Default to "search all templates" tab if no recent templates found.
620 2007-11-28 Jim Evins <evins@snaught.com>
622 * data/glade/wdgt-media-select.glade:
623 * src/wdgt-media-select.c:
624 Added tabbed notebook to allow selection of recent template versus searching the
628 2007-11-26 Jim Evins <evins@snaught.com>
630 * libglabels/Makefile.am:
631 * libglabels/libglabels.h:
634 * src/prefs-dialog.c:
639 Added tracking of recently used templates.
641 2007-11-20 Jim Evins <evins@snaught.com>
643 * data/glade/template-designer.glade:
644 * src/template-designer.c:
645 Added warning icon when match brand and part match an existing template.
647 2007-11-18 Jim Evins <evins@snaught.com>
649 * libglabels/Makefile.am:
652 Added lgl_str_utf8_casecmp().
653 * libglabels/libglabels-private.h:
654 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
655 * libglabels/db.c: (lgl_db_get_brand_list):
656 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
659 2007-11-18 Jim Evins <evins@snaught.com>
661 * data/glade/template-designer.glade:
662 * src/template-designer.c:
663 Don't advance past name page, if brand and part match an existing template.
665 2007-11-18 Jim Evins <evins@snaught.com>
667 * libglabels/db.c: (lgl_db_register_template), (read_templates):
668 When registering a new template, don't add to "User defined" category before
669 writing to file. Add to "User defined" category when reading from "~/.glabels"
670 directory instead. This will allow legacy templates (and manually created
671 templates) to be automatically added to the "user defined" category.
672 * libglabels/xml-template.c:
673 (lgl_xml_template_create_template_node):
674 Fixed typo/bug causing brand to be wrong.
676 2007-11-16 Jim Evins <evins@snaught.com>
680 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
681 function. Automatically create "User defined" category and add to all user
682 registered templates.
683 * libglabels/xml-template.c:
684 * libglabels/xml-template.h:
685 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
686 lgl_xml_template_write_template_to_file().
687 * docs/libglabels/libglabels-decl-list.txt:
688 * docs/libglabels/libglabels-sections.txt:
689 * docs/libglabels/libglabels-undocumented.txt:
690 * docs/libglabels/tmpl/db.sgml:
691 * docs/libglabels/tmpl/xml-template.sgml:
692 Update documentation to reflect above changes.
694 2007-10-28 Jim Evins <evins@snaught.com>
696 * libglabels/xml-template.c:
697 Remove any leading white space from part #s when parsing old names.
698 * src/mini-preview-pixbuf-cache.c:
699 If name isn't in cache add it.
701 2007-10-26 Jim Evins <evins@snaught.com>
703 * libglabels/Makefile.am:
704 * libglabels/category.c:
705 * libglabels/category.h:
708 * libglabels/libglabels-private.h:
709 * libglabels/libglabels.h:
710 * libglabels/paper.c:
711 * libglabels/paper.h:
712 * libglabels/template.c:
713 * libglabels/template.h:
714 * libglabels/xml-template.c:
715 Another pass at screwing with the libglabels API. Moved all
716 database related stuff to db.[ch].
717 * docs/libglabels/libglabels-decl-list.txt:
718 * docs/libglabels/libglabels-docs.sgml:
719 * docs/libglabels/libglabels-sections.txt:
720 * docs/libglabels/libglabels-undocumented.txt:
721 * docs/libglabels/tmpl/category.sgml:
722 * docs/libglabels/tmpl/db.sgml:
723 * docs/libglabels/tmpl/init.sgml:
724 * docs/libglabels/tmpl/libglabels-unused.sgml:
725 * docs/libglabels/tmpl/paper.sgml:
726 * docs/libglabels/tmpl/template-construction.sgml:
727 * docs/libglabels/tmpl/template-db.sgml:
728 * docs/libglabels/tmpl/template-misc.sgml:
729 * docs/libglabels/tmpl/template-struct.sgml:
730 * docs/libglabels/tmpl/template.sgml:
731 Updated documentation to reflect above changes to libglabels API.
733 * src/glabels-batch.c:
735 * src/mini-preview-pixbuf-cache.c:
738 * src/template-designer.c:
739 * src/wdgt-media-select.c:
740 * src/wdgt-mini-preview.c:
741 * src/wdgt-rotate-label.c:
742 * src/xml-label-04.c:
744 Reconciled usage with above libglabels API changes.
746 2007-10-21 Jim Evins <evins@snaught.com>
748 * data/glade/wdgt-media-select.glade:
749 * src/wdgt-media-select.c:
750 Added brand to filter settings.
752 2007-10-21 Jim Evins <evins@snaught.com>
754 * data/dtd/glabels-2.2.dtd:
755 Forgot to replace Alias name attribute with brand and part attributes.
756 * data/templates/avery-iso-templates.xml:
757 * data/templates/avery-other-templates.xml:
758 * data/templates/avery-us-templates.xml:
759 * data/templates/misc-iso-templates.xml:
760 * data/templates/misc-other-templates.xml:
761 * data/templates/misc-us-templates.xml:
762 * data/templates/zweckform-iso-templates.xml:
763 Replaced all name attributes with brand/part attribute pairs.
765 2007-10-20 Jim Evins <evins@snaught.com>
767 * src/stock-pixmaps/*.png
768 Updated icons to use Tango color palette.
770 2007-10-20 Jim Evins <evins@snaught.com>
772 * data/dtd/Makefile.am:
773 * data/dtd/glabels-2.0.dtd:
774 * data/dtd/glabels-2.2.dtd:
775 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
777 * libglabels/template.c:
778 * libglabels/template.h:
779 * libglabels/xml-template.c:
781 Added brand and part attributes to template and alias structures and nodes.
784 * src/mini-preview-pixbuf-cache.c:
785 * src/template-designer.c:
786 * src/wdgt-media-select.c:
787 Use modified libglabels API.
788 * docs/libglabels/libglabels-decl-list.txt:
789 * docs/libglabels/libglabels-sections.txt:
790 * docs/libglabels/libglabels-undocumented.txt:
791 * docs/libglabels/tmpl/template-construction.sgml:
792 * docs/libglabels/tmpl/template-db.sgml:
793 * docs/libglabels/tmpl/template-struct.sgml:
794 Update libglabels documentation to reflect above modifications.
796 2007-10-14 Jim Evins <evins@snaught.com>
798 * docs/libglabels/libglabels-decl-list.txt:
799 * docs/libglabels/libglabels-sections.txt:
800 * docs/libglabels/libglabels-undocumented.txt:
801 * docs/libglabels/tmpl/category.sgml:
802 * libglabels/category.c:
803 * libglabels/category.h:
804 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
805 parity with paper functions.
807 2007-10-12 Jim Evins <evins@snaught.com>
809 * docs/libglabels/libglabels-decl-list.txt:
810 * docs/libglabels/libglabels-sections.txt:
811 * docs/libglabels/libglabels-undocumented.txt:
812 * docs/libglabels/tmpl/category.sgml:
813 * docs/libglabels/tmpl/enums.sgml:
814 * docs/libglabels/tmpl/libglabels-unused.sgml:
815 * docs/libglabels/tmpl/paper.sgml:
816 * docs/libglabels/tmpl/template-struct.sgml:
818 * libglabels/template.c:
819 * libglabels/template.h:
820 Another pass at fleshing out the libglabels documentation.
821 * src/cairo-label-path.c:
822 * src/cairo-markup-path.c:
824 * src/mini-preview-pixbuf.c:
828 * src/wdgt-media-select.c:
829 * src/wdgt-mini-preview.c:
830 * src/wdgt-print-copies.c:
831 * src/wdgt-print-merge.c:
832 * src/wdgt-rotate-label.c:
833 Removed lgl_template_get_first_frame() from libglabels API and all references.
835 2007-10-11 Jim Evins <evins@snaught.com>
837 Extended checks for deprecated symbols.
838 * libglabels/template.c:
839 Removed g_strcasecmp references, which are deprecated.
841 2007-10-09 Jim Evins <evins@snaught.com>
843 * src/merge-evolution.c:
844 Create address book if it does not exist. Also, be more robust about handling
845 error conditions -- don't just assume GError has been set.
847 2007-10-08 Jim Evins <evins@snaught.com>
849 * libglabels/template.c:
850 * libglabels/xml-template.c:
851 * src/template-designer.c:
852 Missed some symbols with libglabels API work.
854 2007-10-01 Jim Evins <evins@snaught.com>
856 * docs/libglabels/libglabels-decl-list.txt:
857 * docs/libglabels/libglabels-docs.sgml:
858 * docs/libglabels/libglabels-sections.txt:
859 * docs/libglabels/libglabels-undocumented.txt:
860 * docs/libglabels/tmpl/category.sgml:
861 * docs/libglabels/tmpl/enums.sgml:
862 * docs/libglabels/tmpl/init.sgml:
863 * docs/libglabels/tmpl/libglabels-unused.sgml:
864 * docs/libglabels/tmpl/paper.sgml:
865 * docs/libglabels/tmpl/template-construction.sgml:
866 * docs/libglabels/tmpl/template-db.sgml:
867 * docs/libglabels/tmpl/template-misc.sgml:
868 * docs/libglabels/tmpl/template-struct.sgml:
869 * docs/libglabels/tmpl/template.sgml:
870 * docs/libglabels/tmpl/xml-category.sgml:
871 * docs/libglabels/tmpl/xml-template.sgml:
872 * libglabels/category.h:
874 * libglabels/libglabels-private.h:
875 * libglabels/paper.h:
876 * libglabels/template.c:
877 * libglabels/template.h:
878 * libglabels/xml-template.h:
879 Basic documentation framework for libglabels updated. This still needs some
882 2007-09-27 Jim Evins <evins@snaught.com>
884 * docs/libglabels/libglabels-decl-list.txt:
885 * docs/libglabels/libglabels-docs.sgml:
886 * docs/libglabels/libglabels-sections.txt:
887 * docs/libglabels/libglabels-undocumented.txt:
888 * docs/libglabels/tmpl/enums.sgml:
889 * docs/libglabels/tmpl/init.sgml:
890 * docs/libglabels/tmpl/libglabels-unused.sgml:
891 * docs/libglabels/tmpl/paper.sgml:
892 * docs/libglabels/tmpl/template.sgml:
893 * docs/libglabels/tmpl/xml-paper.sgml:
894 * docs/libglabels/tmpl/xml-template.sgml:
895 * docs/libglabels/tmpl/xml.sgml:
896 * libglabels/Makefile.am:
897 * libglabels/category.c:
898 * libglabels/category.h:
899 * libglabels/enums.h:
902 * libglabels/libglabels-private.h:
903 * libglabels/libglabels.h:
904 * libglabels/paper.c:
905 * libglabels/paper.h:
906 * libglabels/template.c:
907 * libglabels/template.h:
908 * libglabels/xml-category.c:
909 * libglabels/xml-category.h:
910 * libglabels/xml-paper.c:
911 * libglabels/xml-paper.h:
912 * libglabels/xml-template.c:
913 * libglabels/xml-template.h:
916 * src/cairo-label-path.c:
917 * src/cairo-label-path.h:
918 * src/cairo-markup-path.c:
919 * src/cairo-markup-path.h:
921 * src/glabels-batch.c:
923 * src/label-object.c:
926 * src/mini-preview-pixbuf-cache.c:
927 * src/mini-preview-pixbuf.c:
928 * src/mini-preview-pixbuf.h:
929 * src/prefs-dialog.c:
936 * src/template-designer.c:
937 * src/view-barcode.c:
939 * src/view-ellipse.c:
943 * src/wdgt-media-select.c:
944 * src/wdgt-mini-preview.c:
945 * src/wdgt-mini-preview.h:
946 * src/wdgt-print-copies.c:
947 * src/wdgt-print-merge.c:
948 * src/wdgt-rotate-label.c:
949 * src/xml-label-04.c:
951 Major cleanup of libglabels API -- this breaks API compatibility with older
952 development and stable versions -- as far as I know, there are currently
953 no external users of this library yet.
955 2007-09-14 Jim Evins <evins@snaught.com>
960 * src/label-object.c:
961 * src/label-object.h:
962 * src/label-barcode.c:
963 * src/label-ellipse.c:
966 * src/view-barcode.c:
968 * src/view-ellipse.c:
972 Better separation of model from view.
974 2007-08-21 Jim Evins <evins@snaught.com>
976 * src/print-op.c: (create_custom_widget_cb):
977 Fix problem with force_outline_flag -- don't override with default.
979 2007-08-21 Jim Evins <evins@snaught.com>
981 * data/dtd/glabels-2.0.dtd:
982 * libglabels/template.c:
983 * libglabels/template.h:
984 * libglabels/xml-template.c:
985 * src/cairo-markup-path.c:
986 Added "Markup-rect" element to template format.
988 2007-08-21 Jim Evins <evins@snaught.com>
991 Changed version to 2.1.pre5svn.
992 * src/view.c: (draw_markup_layer):
993 Do a stroke for each markup path, otherwise multiple markups
996 2007-08-17 Jim Evins <evins@snaught.com>
999 Bump libglabels revision numbers for 2.1.4 release.
1001 2007-08-16 Jim Evins <evins@snaught.com>
1004 Include subdir iec16022-0.2.1.
1008 Preparation for 2.1.4.
1011 2007-08-11 Jim Evins <evins@snaught.com>
1017 Added Esperanto translation. Provided by Antonio C.
1018 Codazzi "la Filozofo" <f_sophia@libero.it>.
1020 Updated French translation. Provided by Claude Paroz
1021 <claude@2xlibre.net>.
1023 Updated to reflect above translations.
1025 2007-08-11 Jim Evins <evins@snaught.com>
1028 * data/templates/avery-iso-templates.xml:
1029 * data/templates/avery-us-templates.xml:
1030 * data/templates/misc-iso-templates.xml:
1031 * data/templates/misc-other-templates.xml:
1032 * data/templates/misc-us-templates.xml:
1033 * data/templates/zweckform-iso-templates.xml:
1034 Caught up with backlog of template submissions.
1036 2007-08-10 Jim Evins <evins@snaught.com>
1038 * src/bc-postnet.c: (gl_barcode_postnet_new):
1040 Added support for Brazilian CEPNet barcodes. This is simply an
1041 instance of the US POSTNET format with 8 digits. Patch supplied
1042 by Mário Meyer in bug # 1768792.
1044 Updated acknowledgments to reflect above patch and recent shuffling
1045 of underlying technology.
1047 2007-05-13 Jim Evins <evins@snaught.com>
1049 * src/merge-text.c: (parse_line), (parse_field):
1050 Remove leading and trailing spaces from CSV fields, unless quoted.
1052 2007-05-09 Jim Evins <evins@snaught.com>
1054 * src/object-editor-bc-page.c:
1055 * src/object-editor-data-page.c:
1056 * src/object-editor-fill-page.c:
1057 * src/object-editor-image-page.c:
1058 * src/object-editor-line-page.c:
1059 * src/object-editor-lsize-page.c:
1060 * src/object-editor-position-page.c:
1061 * src/object-editor-private.h:
1062 * src/object-editor-shadow-page.c:
1063 * src/object-editor-size-page.c:
1064 * src/object-editor-text-page.c:
1065 * src/object-editor.c:
1066 * src/prefs-dialog.c:
1067 * src/template-designer.c:
1068 * src/ui-property-bar.c:
1069 * src/wdgt-media-select.c:
1070 Replaced signal block/unblock pairs with simple flags. This reduces
1071 some code clutter, hopefully making it easier to read.
1073 2007-05-05 Jim Evins <evins@snaught.com>
1075 * src/template-designer.c: (apply_cb):
1076 Add new template to mini-preview pixbuf cache.
1078 2007-05-03 Jim Evins <evins@snaught.com>
1080 * src/label-image.c: (gl_label_image_init), (draw_object):
1081 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1084 2007-05-02 Jim Evins <evins@snaught.com>
1086 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1087 (button_release_event_cb):
1088 Removed attempt at rendering optimization by clipping the updates
1089 to areas affected -- this actually seemed to hurt update performance.
1091 2007-04-30 Jim Evins <evins@snaught.com>
1094 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1095 (gl_color_node_equal), (gl_color_node_expand):
1096 * src/label-barcode.c: (draw_object):
1097 * src/label-box.c: (draw_object), (draw_shadow):
1098 * src/label-ellipse.c: (draw_object), (draw_shadow):
1099 * src/label-line.c: (draw_object), (draw_shadow):
1100 * src/label-text.c: (draw_object), (draw_shadow):
1101 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1102 * src/wdgt-rotate-label.c: (drawingarea_update):
1103 Some cleanup to color related code.
1105 2007-04-30 Jim Evins <evins@snaught.com>
1108 Added glLabelRegion structure type.
1109 * src/label-object.c: (gl_label_object_get_extent):
1110 * src/label-object.h:
1111 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1113 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1114 (gl_view_select_region), (gl_view_align_selection_left),
1115 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1116 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1117 (gl_view_align_selection_vcenter),
1118 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1119 (gl_view_move_selection), (gl_view_can_selection_text),
1120 (motion_notify_event_cb), (button_press_event_cb),
1121 (button_release_event_cb):
1122 - Reconcile with new gl_label_object_get_extent() API.
1123 - Use glLabelRegion for view->select_region.
1124 - Added gl_view_update_region() to clip updates to region.
1125 - Use gl_view_update_region() during manipulation of view->select_region.
1127 2007-04-26 Jim Evins <evins@snaught.com>
1129 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1130 (draw_label_outline):
1131 * src/print.c: (print_crop_marks), (draw_outline):
1132 * src/view-object.c: (gl_view_object_draw_handles):
1133 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1134 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1135 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1136 * src/wdgt-rotate-label.c: (drawingarea_update):
1137 Added defines for various magic numbers.
1139 2007-04-25 Jim Evins <evins@snaught.com>
1141 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1142 Scale text down. Cairo seems to render text too large.
1144 2007-04-25 Jim Evins <evins@snaught.com>
1147 * src/view.c: (gl_view_update), (expose_cb),
1148 (motion_notify_event_cb), (button_press_event_cb),
1149 (button_release_event_cb):
1150 - Try not to let updates get backed up.
1151 - Grab pointer when doing any drag operations.
1153 2007-04-11 Jim Evins <evins@snaught.com>
1155 * src/cairo-label-path.c: (gl_cairo_label_path),
1156 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1157 (gl_cairo_cd_label_path):
1158 * src/cairo-label-path.h:
1159 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1160 (draw_label_outline):
1161 * src/print.c: (draw_outline), (clip_to_outline):
1162 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1163 * src/wdgt-mini-preview.c: (draw_labels):
1164 * src/wdgt-rotate-label.c: (drawingarea_update):
1165 Modified to universally use gl_cairo_label_path() to create paths
1166 for labels. Added shadow to mini preview in rotate widget.
1168 2007-04-10 Jim Evins <evins@snaught.com>
1170 * libglabels/template.h:
1171 * libglabels/template.c: (gl_template_get_name_list_unique),
1172 (gl_template_get_name_list_all), (gl_template_from_name):
1173 Modified libglabels to allow you to get a list of all template names
1174 including all aliases or just a list of primary names of each unique
1177 * src/file.c: (gl_file_properties):
1178 * src/glabels.c: (main):
1179 * src/mini-preview-pixbuf-cache.h:
1180 * src/mini-preview-pixbuf-cache.c:
1181 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1182 (filter_changed_cb), (load_list):
1183 Added mini-preview pixbuf cache, so that only one mini-preview is
1184 needed for a unique template and gets reused for all aliases. These
1185 pixbufs will also live for the life of the program so they are not
1186 rebuilt everytime a new label dialog is invoked.
1187 * src/mini-preview-pixbuf.c: (draw_paper),
1188 (draw_rect_label_outline), (draw_round_label_outline),
1189 (draw_cd_label_outline):
1190 Removed some comment artifacts.
1192 2007-04-04 Jim Evins <evins@snaught.com>
1194 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1195 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1196 (draw_round_label_outline), (draw_cd_label_outline):
1197 * src/wdgt-media-select.c: (load_list):
1198 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1199 Cosmetic enhancments to mini previews.
1201 2007-04-04 Jim Evins <evins@snaught.com>
1203 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1204 (gl_ui_property_bar_construct):
1205 Save copy of GladeXML tree so that we don't lose tooltips.
1207 2007-04-02 Jim Evins <evins@snaught.com>
1209 * src/merge-properties-dialog.c:
1210 * src/new-label-dialog.c:
1211 * src/object-editor.c:
1212 * src/prefs-dialog.c:
1214 * src/template-designer.c:
1215 * src/ui-property-bar.c:
1216 * src/wdgt-media-select.c:
1217 * src/wdgt-rotate-label.c:
1218 Fixed several memory leaks.
1220 2007-04-01 Jim Evins <evins@snaught.com>
1222 * src/label-text.c: (gl_label_text_init), (copy),
1223 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1224 (set_font_family), (set_font_size), (set_font_weight),
1225 (set_font_italic_flag), (set_text_alignment),
1226 (set_text_line_spacing):
1227 Cache object size, so that expensive extent calculations are only done
1230 2007-03-30 Jim Evins <evins@snaught.com>
1232 * src/prefs-model.c: (gl_prefs_model_load_settings):
1233 Default to an unlimited list of recent documents, since this parameter
1234 seems to be pre-filter anyway.
1236 2007-03-30 Jim Evins <evins@snaught.com>
1238 * src/label-box.c: (draw_shadow):
1239 * src/label-ellipse.c: (draw_shadow):
1240 Added missing shadow fill.
1242 2007-03-28 Jim Evins <evins@snaught.com>
1244 * src/ui-commands.c: (gl_ui_cmd_file_print):
1245 Unreferencing the print operation sometimes crashes. Just don't do it
1248 2007-03-28 Jim Evins <evins@snaught.com>
1250 * src/print-op.c: (gl_print_op_construct),
1251 (gl_print_op_get_settings), (gl_print_op_set_settings),
1252 (gl_print_op_free_settings), (create_custom_widget_cb):
1254 * src/ui-commands.c: (gl_ui_cmd_file_print):
1255 * src/window.c: (gl_window_init):
1257 Save print settings and custom settings between print operations
1260 2007-03-24 Jim Evins <evins@snaught.com>
1262 * src/object-editor-image-page.c:
1263 (gl_object_editor_prepare_image_page),
1264 (gl_object_editor_set_image), (img_selection_changed_cb):
1265 Workaround for GtkFileChooserButton bug # 327243. This the root
1266 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1267 "selection-changed" signals -- the first 2 return NULL -- this is
1268 what caused the image to reset to the default followed by setting
1269 it back to the original image, trying to fit it into a new bounding
1270 box. This sequence of events is much more evident with the new
1273 2007-03-23 Jim Evins <evins@snaught.com>
1275 Merged all changes from experimental cairo branch to trunk.
1276 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1278 2007-03-23 Jim Evins <evins@snaught.com>
1280 * src/label-object.h:
1281 * src/label-object.c: (gl_label_object_class_init),
1282 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1283 Created "get_raw_size" method.
1284 * src/label-barcode.c: (get_size):
1285 * src/xml-label.c: (xml_create_object_text),
1286 (xml_create_object_barcode):
1287 Use new "get_raw_size" method on label-objects when apropos.
1289 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1290 (auto_shrink_font_size):
1291 Added "auto shrink" functionality back.
1293 2007-03-19 Jim Evins <evins@snaught.com>
1295 * src/label-text.c: (draw_object), (draw_shadow):
1296 Don't use negative scales in workaround from previous commit.
1299 2007-03-18 Jim Evins <evins@snaught.com>
1302 Forgot to remove include of xml-lable-191 in previous commit.
1303 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1304 Workaround for pango Bug #341481. Render text at device scale,
1305 and scale font size accordingly. Also, don't do any hinting.
1307 2007-03-18 Jim Evins <evins@snaught.com>
1309 * src/cairo-ellipse-path.c:
1310 * src/cairo-ellipse-path.h:
1311 Forgot to add these new files during last mass commit.
1313 2007-03-18 Jim Evins <evins@snaught.com>
1316 * src/xml-label-191.c:
1317 * src/xml-label-191.h:
1318 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1319 so there is no need to keep compatability.
1321 * src/bc-iec16022.c:
1322 * src/cairo-label-path.c:
1323 * src/cairo-label-path.h:
1324 * src/cairo-markup-path.c:
1328 * src/glabels-batch.c:
1330 * src/label-barcode.c:
1332 * src/label-ellipse.c:
1333 * src/label-image.c:
1335 * src/label-object.c:
1336 * src/label-object.h:
1340 * src/merge-properties-dialog.c:
1342 * src/new-label-dialog.c:
1343 * src/object-editor-bc-page.c:
1344 * src/object-editor-data-page.c:
1345 * src/object-editor-edit-page.c:
1346 * src/object-editor-fill-page.c:
1347 * src/object-editor-image-page.c:
1348 * src/object-editor-line-page.c:
1349 * src/object-editor-private.h:
1350 * src/object-editor-shadow-page.c:
1351 * src/object-editor-text-page.c:
1352 * src/object-editor.c:
1353 * src/pixbuf-cache.c:
1358 * src/template-designer.c:
1360 * src/ui-property-bar.c:
1362 * src/view-barcode.c:
1364 * src/view-ellipse.c:
1367 * src/view-object.c:
1368 * src/view-object.h:
1371 * src/wdgt-media-select.c:
1372 * src/wdgt-print-copies.c:
1373 * src/wdgt-print-merge.c:
1375 * src/xml-label-04.c:
1377 Many changes, including:
1378 - Move draw methods from view-*() to label-*().
1379 - Use same drawing code for on screen view and printing.
1380 - Fix all issues exposed with '-Wall -Werror'.
1382 2007-03-14 Jim Evins <evins@snaught.com>
1385 * src/cairo-handle-path.c:
1386 * src/cairo-handle-path.h:
1387 * src/cairo-object-path.c:
1388 * src/cairo-object-path.h:
1389 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1390 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1392 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1393 (draw_shadow), (object_at):
1394 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1395 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1396 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1398 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1399 (draw_shadow), (object_at):
1400 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1401 (create_handle_path), (gl_view_object_draw_handles),
1402 (gl_view_object_handle_at):
1403 * src/view-object.h:
1404 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1405 (draw_shadow), (object_at):
1406 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1407 Some restructuring of new code.
1409 2007-03-12 Jim Evins <evins@snaught.com>
1412 * src/cairo-object-path.c:
1413 * src/view-barcode.c:
1414 * src/view-barcode.h:
1416 Added barcode object support to view.
1418 2007-03-12 Jim Evins <evins@snaught.com>
1424 * src/cairo-object-path.c:
1425 * src/cairo-object-path.h:
1427 * src/view-ellipse.c:
1430 * src/view-object.c:
1431 * src/view-object.h:
1432 Added text object support to view. Added object_at method to all
1435 2007-03-11 Jim Evins <evins@snaught.com>
1438 * src/cairo-object-path.c: (gl_cairo_object_path),
1439 (gl_cairo_image_object_path):
1440 * src/view-image.c: (gl_view_image_class_init),
1441 (gl_view_image_finalize), (gl_view_image_new),
1442 (update_editor_from_label_cb), (draw),
1443 (gl_view_image_get_create_cursor),
1444 (gl_view_image_create_button_press_event),
1445 (gl_view_image_create_motion_event),
1446 (gl_view_image_create_button_release_event):
1448 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1449 (selection_received_cb), (motion_notify_event_cb),
1450 (button_press_event_cb), (button_release_event_cb):
1451 Added image object support to view.
1453 2007-03-11 Jim Evins <evins@snaught.com>
1456 * src/cairo-object-path.c: (gl_cairo_object_path),
1457 (gl_cairo_line_object_path):
1458 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1459 (update_object_from_editor_cb), (update_editor_from_object_cb),
1460 (update_editor_from_label_cb), (draw),
1461 (gl_view_line_get_create_cursor),
1462 (gl_view_line_create_button_press_event),
1463 (gl_view_line_create_motion_event),
1464 (gl_view_line_create_button_release_event):
1466 * src/view-object.c: (gl_view_object_resize_event):
1467 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1468 (selection_received_cb), (motion_notify_event_cb),
1469 (button_press_event_cb), (button_release_event_cb):
1470 Added line object support to view.
1471 * src/cairo-handle-path.c:
1472 Made handles slightly larger.
1475 2007-03-11 Jim Evins <evins@snaught.com>
1478 * src/cairo-handle-path.c:
1479 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1480 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1481 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1482 (gl_cairo_markup_margin_round_path),
1483 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1484 * src/cairo-object-path.c: (gl_cairo_object_path),
1485 (gl_cairo_ellipse_object_path):
1486 * src/label-object.c: (gl_label_object_rotate):
1489 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1490 (gl_view_ellipse_new), (update_object_from_editor_cb),
1491 (update_editor_from_object_cb), (update_editor_from_label_cb),
1492 (draw), (gl_view_ellipse_get_create_cursor),
1493 (gl_view_ellipse_create_button_press_event),
1494 (gl_view_ellipse_create_motion_event),
1495 (gl_view_ellipse_create_button_release_event):
1496 * src/view-ellipse.h:
1497 * src/view-object.c:
1498 * src/view-object.h:
1499 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1500 (select_object_real), (selection_received_cb),
1501 (motion_notify_event_cb), (button_press_event_cb),
1502 (button_release_event_cb):
1504 Added ellipse object support to view. Plus other cleanup.
1506 2007-03-11 Jim Evins <evins@snaught.com>
1509 * src/view-box.c: (gl_view_box_get_create_cursor),
1510 (gl_view_box_create_button_press_event),
1511 (gl_view_box_create_motion_event),
1512 (gl_view_box_create_button_release_event):
1513 * src/view-object.c: (gl_view_object_set_view),
1514 (gl_view_object_handle_at):
1516 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1517 (motion_notify_event_cb), (button_press_event_cb),
1518 (button_release_event_cb), (key_press_event_cb):
1519 Added creation code for box object.
1521 2007-03-09 Jim Evins <evins@snaught.com>
1523 * src/view-object.c: (gl_view_object_resize_event):
1524 * src/view-object.h:
1525 * src/view.c: (motion_notify_event_cb):
1526 Fix bugs with resizing transformed objects.
1527 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1528 * src/cairo-object-path.c: (gl_cairo_object_path):
1529 * src/cairo-object-path.h:
1530 * src/label-object.c: (gl_label_object_init),
1531 (gl_label_object_dup), (gl_label_object_get_extent),
1532 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1533 (gl_label_object_rotate), (gl_label_object_set_matrix),
1534 (gl_label_object_get_matrix):
1535 * src/label-object.h:
1536 * src/print.c: (draw_object):
1538 * src/view-highlight.c:
1539 * src/view-highlight.h:
1540 * src/xml-label-191.c: (xml191_parse_object):
1541 * src/xml-label.c: (xml_parse_affine_attrs),
1542 (xml_create_affine_attrs):
1543 Replace libart affine matrices with cairo matrices.
1545 2007-03-08 Jim Evins <evins@snaught.com>
1547 * src/view-object.h:
1548 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1549 * src/view-object.c: (gl_view_object_handle_at),
1550 (gl_view_object_resize_event):
1551 Added resize code -- still a bit buggy.
1553 2007-03-07 Jim Evins <evins@snaught.com>
1556 * src/cairo-handle-path.c:
1557 * src/cairo-handle-path.h:
1558 * src/view-box.c: (gl_view_box_new):
1559 * src/view-object.c: (gl_view_object_set_object),
1560 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1561 * src/view-object.h:
1562 * src/view.c: (draw_highlight_layer), (select_object_real),
1563 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1564 (button_press_event_cb), (button_release_event_cb),
1565 (key_press_event_cb):
1567 Added beginnings of object resize handles.
1569 2007-03-07 Jim Evins <evins@snaught.com>
1572 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1573 (gl_view_object_create_mode), (motion_notify_event_cb),
1574 (button_press_event_cb), (button_release_event_cb),
1575 (key_press_event_cb):
1576 Added move selection support.
1578 2007-03-05 Jim Evins <evins@snaught.com>
1580 * src/cairo-object-path.c: (gl_cairo_object_path):
1581 * src/view-object.c: (gl_view_object_draw),
1582 (gl_view_object_draw_highlight):
1583 * src/view.c: (view_object_at), (motion_notify_event_cb),
1584 (button_press_event_cb), (button_release_event_cb):
1585 Additional refinements to select logic.
1587 2007-03-05 Jim Evins <evins@snaught.com>
1590 * src/view.c: (gl_view_init), (gl_view_construct),
1591 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1592 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1593 (button_press_event_cb), (button_release_event_cb):
1594 Added initial select region support and context menu.
1596 2007-03-04 Jim Evins <evins@snaught.com>
1607 * src/ui-commands.c:
1610 * src/view-object.c:
1611 * src/view-object.h:
1614 * src/wdgt-print-copies.c:
1615 * src/wdgt-print-merge.c:
1617 Initial port to a raw Cairo canvas. This removes all remaining
1618 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1619 the view is becoming a canvas widget in its own right. Still needs
1621 * src/cairo-label-path.c:
1622 * src/cairo-label-path.h:
1623 * src/cairo-markup-path.c:
1624 * src/cairo-markup-path.h:
1625 * src/cairo-object-path.c:
1626 * src/cairo-object-path.h:
1627 New files to support cairo canvas.
1628 * src/canvas-hacktext.c:
1629 * src/canvas-hacktext.h:
1632 2007-02-18 Jim Evins <evins@snaught.com>
1635 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1637 2007-02-14 Jim Evins <evins@snaught.com>
1641 * src/bc-gnubarcode.c:
1642 * src/bc-gnubarcode.h:
1647 * src/canvas-hacktext.c:
1648 * src/canvas-hacktext.h:
1655 * src/label-barcode.c:
1656 * src/label-barcode.h:
1659 * src/label-ellipse.c:
1660 * src/label-ellipse.h:
1661 * src/label-image.c:
1662 * src/label-image.h:
1665 * src/label-object.c:
1666 * src/label-object.h:
1671 * src/merge-evolution.c:
1672 * src/merge-evolution.h:
1675 * src/merge-properties-dialog.c:
1676 * src/merge-properties-dialog.h:
1679 * src/merge-vcard.c:
1680 * src/merge-vcard.h:
1683 * src/mini-preview-pixbuf.h:
1684 * src/new-label-dialog.c:
1685 * src/new-label-dialog.h:
1686 * src/object-editor-bc-page.c:
1687 * src/object-editor-data-page.c:
1688 * src/object-editor-edit-page.c:
1689 * src/object-editor-fill-page.c:
1690 * src/object-editor-image-page.c:
1691 * src/object-editor-line-page.c:
1692 * src/object-editor-lsize-page.c:
1693 * src/object-editor-position-page.c:
1694 * src/object-editor-private.h:
1695 * src/object-editor-size-page.c:
1696 * src/object-editor-text-page.c:
1697 * src/object-editor.c:
1698 * src/object-editor.h:
1699 * src/pixbuf-cache.c:
1700 * src/pixbuf-cache.h:
1701 * src/prefs-dialog.c:
1702 * src/prefs-dialog.h:
1703 * src/prefs-model.c:
1704 * src/prefs-model.h:
1710 * src/template-designer.c:
1713 * src/ui-commands.c:
1714 * src/ui-commands.h:
1715 * src/ui-property-bar.c:
1716 * src/ui-property-bar.h:
1725 * src/view-barcode.c:
1726 * src/view-barcode.h:
1729 * src/view-ellipse.c:
1730 * src/view-ellipse.h:
1731 * src/view-highlight.c:
1732 * src/view-highlight.h:
1737 * src/view-object.c:
1738 * src/view-object.h:
1743 * src/wdgt-chain-button.c:
1744 * src/wdgt-chain-button.h:
1745 * src/wdgt-media-select.c:
1746 * src/wdgt-mini-preview.c:
1747 * src/wdgt-print-copies.c:
1748 * src/wdgt-print-copies.h:
1749 * src/wdgt-print-merge.c:
1750 * src/wdgt-print-merge.h:
1751 * src/wdgt-rotate-label.c:
1753 * src/xml-label-04.c:
1754 * src/xml-label-04.h:
1755 * src/xml-label-191.c:
1756 * src/xml-label-191.h:
1760 Assorted superficial cleanup. Including:
1761 - Use G_DEFINE_TYPE for all objects.
1762 - Reconcile style of all class initializer functions
1763 - Reconcile style of all finalize functions
1764 - Add emacs mode line to all source files
1766 2007-02-06 Jim Evins <evins@snaught.com>
1768 Assorted cleanup and removal of deprecated items.
1773 Removed annoying splash screen.
1774 * src/glabels-batch.c: (main):
1775 * src/glabels.c: (main):
1776 Converted from popt to GOption.
1777 * src/object-editor-shadow-page.c:
1778 (gl_object_editor_set_shadow_state):
1779 Removed deprecated method on GtkToggleButton.
1780 * src/ui-commands.c: (gl_ui_cmd_help_about):
1781 Removed dependency on libgnomui/qnome-url.h.
1782 * src/template-designer.c:
1783 Removed dependency on libgnome/gnome-program.h.
1786 2007-02-04 Jim Evins <evins@snaught.com>
1790 * src/prefs-model.c:
1791 * src/print.c: (draw_text_object):
1792 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1793 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1795 2007-02-04 Jim Evins <evins@snaught.com>
1797 * src/wdgt-mini-preview.c:
1798 * src/wdgt-mini-preview.h:
1799 Ported widget from GnomeCanvas to Cairo.
1801 2007-02-03 Jim Evins <evins@snaught.com>
1803 * data/glade/template-designer.glade:
1804 * src/template-designer.c:
1805 * src/template-designer.h:
1806 Ported GnomeDruid to GtkAssistant. Since libglade does not
1807 yet support the GtkAssistant and we derive directly from
1808 the Assistant, the pages are layed out in a GtkNotebook in
1809 the glade description -- we then append each page to the
1812 2007-01-25 Jim Evins <evins@snaught.com>
1814 * data/glade/object-editor.glade:
1815 Added dummy page to notebook, to prevent shadow page from
1816 becoming the default current page at creation.
1817 * src/view-box.c: (construct_properties_editor):
1818 * src/view-ellipse.c: (construct_properties_editor):
1819 * src/view-line.c: (construct_properties_editor):
1820 * src/view-text.c: (construct_properties_editor):
1821 Reconciled order of params.
1823 2007-01-19 Jim Evins <evins@snaught.com>
1825 * src/label-barcode.h:
1826 * src/label-object.c: (gl_label_object_set_font_weight),
1827 (gl_label_object_set_text_alignment),
1828 (gl_label_object_get_font_weight),
1829 (gl_label_object_get_text_alignment):
1830 * src/label-object.h:
1831 * src/label-text.c: (gl_label_text_instance_init), (copy),
1832 (get_size), (set_font_family), (set_font_weight),
1833 (set_text_alignment), (get_font_weight), (get_text_alignment):
1835 * src/object-editor-text-page.c:
1836 (gl_object_editor_prepare_text_page),
1837 (gl_object_editor_set_font_family),
1838 (gl_object_editor_set_font_weight),
1839 (gl_object_editor_get_font_weight),
1840 (gl_object_editor_set_text_alignment),
1841 (gl_object_editor_get_text_alignment),
1842 (gl_object_editor_set_text_color):
1843 * src/object-editor.h:
1844 * src/prefs-dialog.c: (construct_object_page),
1845 (update_object_page_from_prefs), (update_prefs_from_object_page):
1846 * src/prefs-model.c: (gl_prefs_model_save_settings),
1847 (gl_prefs_model_load_settings):
1848 * src/prefs-model.h:
1849 * src/print.c: (draw_text_object):
1850 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1851 (reset_to_default_properties), (update_text_properties),
1852 (font_bold_toggled_cb), (text_align_toggled_cb):
1854 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1855 (gl_util_weight_to_string), (gl_util_string_to_weight),
1856 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1858 * src/view-text.c: (update_object_from_editor_cb),
1859 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1860 * src/view.c: (gl_view_set_selection_text_alignment),
1861 (gl_view_set_default_text_alignment),
1862 (gl_view_get_default_text_alignment):
1864 * src/xml-label-04.c: (xml04_parse_text_props):
1865 * src/xml-label-191.c: (xml191_parse_text_props):
1866 * src/xml-label.c: (xml_parse_object_text),
1867 (xml_parse_toplevel_span), (xml_create_object_text),
1868 (xml_create_toplevel_span):
1869 Converted all model internals to Pango. GnomeFont remains in
1870 view until GnomeCanvas can be replaced with a cairo-based canvas.
1872 2007-01-17 Jim Evins <evins@snaught.com>
1878 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1879 (gl_wdgt_print_copies_construct):
1880 * src/wdgt-print-copies.h:
1881 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1882 (gl_wdgt_print_merge_construct):
1883 * src/wdgt-print-merge.h:
1884 Removed all remaining HIG wrapper widgets.
1886 2007-01-16 Jim Evins <evins@snaught.com>
1889 * src/print-dialog.c:
1890 * src/print-dialog.h:
1893 * src/template-designer.c: (print_test_cb):
1894 * src/ui-commands.c: (gl_ui_cmd_file_print):
1896 Renamed PrintDialog to PrintOp. Added constructor for batch
1898 * src/glabels-batch.c: (main):
1899 Converted to use new PrintOp object for printing.
1901 2007-01-15 Jim Evins <evins@snaught.com>
1903 * data/glade/Makefile.am:
1904 * data/glade/print-custom-widget.glade:
1905 * src/print-dialog.c:
1906 * src/print-dialog.h:
1909 * src/template-designer.c: (print_test_cb):
1910 * src/ui-commands.c: (gl_ui_cmd_file_print):
1911 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1912 * src/wdgt-print-merge.h:
1913 * src/window.c: (gl_window_init):
1915 Initial conversion to GtkPrintOperation.
1917 - Remove font and other libgnomeprint[ui] from elsewhere
1918 - Add batch initialization of print operation
1920 2007-01-08 Jim Evins <evins@snaught.com>
1922 Updated dependencies. Set version to 2.1.pre4cvs.
1924 2007-01-03 Jim Evins <evins@snaught.com>
1926 * src/recent-files/*
1927 Removed EggRecent stuff.
1933 * src/ui-commands.c:
1934 * src/ui-commands.h:
1936 Ported from EggRecent to GtkRecentManager.
1939 2007-01-02 Jim Evins <evins@snaught.com>
1942 * iec16022-0.2.1/BUGS:
1943 * iec16022-0.2.1/CHANGELOG:
1944 * iec16022-0.2.1/CREDITS:
1945 * iec16022-0.2.1/INSTALL:
1946 * iec16022-0.2.1/LICENSE:
1947 * iec16022-0.2.1/Makefile.am:
1948 * iec16022-0.2.1/Makefile.dist:
1949 * iec16022-0.2.1/README:
1950 * iec16022-0.2.1/README.glabels:
1951 * iec16022-0.2.1/TODO:
1952 * iec16022-0.2.1/iec16022.1:
1953 * iec16022-0.2.1/iec16022.c:
1954 * iec16022-0.2.1/iec16022ecc200.c:
1955 * iec16022-0.2.1/iec16022ecc200.h:
1956 * iec16022-0.2.1/image.c:
1957 * iec16022-0.2.1/image.h:
1958 * iec16022-0.2.1/reedsol.c:
1959 * iec16022-0.2.1/reedsol.h:
1960 * iec16022-0.2.1/test/testsuite-example.bin:
1961 * iec16022-0.2.1/test/testsuite-example.eps:
1962 * iec16022-0.2.1/test/testsuite-example.hex:
1963 * iec16022-0.2.1/test/testsuite-example.png:
1964 * iec16022-0.2.1/test/testsuite-example.text:
1965 * iec16022-0.2.1/test/testsuite.sh:
1966 Include modified copy of iec16022-0.2.1 to provide encoding
1967 support for datamatrix 2D barcodes.
1969 * src/bc-iec16022.c:
1970 * src/bc-iec16022.h:
1972 Added initial datamatrix 2D barcode backend to barcode code.
1975 Automatic updates to later versions of these files.
1977 2006-11-28 Jim Evins <evins@snaught.com>
1979 * data/templates/avery-iso-templates.xml:
1980 * data/templates/avery-us-templates.xml:
1981 * data/templates/categories.xml:
1982 * data/templates/misc-iso-templates.xml:
1983 * data/templates/misc-us-templates.xml:
1984 * data/templates/zweckform-iso-templates.xml:
1985 More categorization.
1987 2006-09-12 Jim Evins <evins@snaught.com>
1989 * data/dtd/glabels-2.0.dtd:
1990 * data/templates/Makefile.am:
1991 * data/templates/avery-iso-templates.xml:
1992 * data/templates/avery-other-templates.xml:
1993 * data/templates/avery-us-templates.xml:
1994 * data/templates/categories.xml:
1995 * data/templates/misc-iso-templates.xml:
1996 * data/templates/misc-other-templates.xml:
1997 * data/templates/zweckform-iso-templates.xml:
1998 * data/glade/Makefile.am:
1999 * data/glade/new-label-dialog.glade:
2000 * data/glade/wdgt-media-select.glade:
2001 * data/glade/wdgt-rotate-label.glade:
2002 * libglabels/Makefile.am:
2003 * libglabels/category.c:
2004 * libglabels/category.h:
2005 * libglabels/libglabels.h:
2006 * libglabels/paper.c:
2007 * libglabels/template.c:
2008 * libglabels/template.h:
2009 * libglabels/xml-category.c:
2010 * libglabels/xml-category.h:
2011 * libglabels/xml-template.c:
2012 Added support for category meta data.
2015 * src/mini-preview-pixbuf.c:
2016 * src/mini-preview-pixbuf.h:
2017 * src/new-label-dialog.c:
2018 * src/new-label-dialog.h:
2019 * src/wdgt-media-select.c:
2020 * src/wdgt-media-select.h:
2021 * src/wdgt-rotate-label.c:
2022 * src/wdgt-rotate-label.h:
2023 New "new label" dialog.
2025 2006-05-27 Jim Evins <evins@snaught.com>
2030 Preparation for 2.1.3.
2036 2006-05-22 Jim Evins <evins@snaught.com>
2038 * src/print.c: (draw_barcode_object):
2039 Don't print "Invalid barcode data" if data field is empty. Patch provided
2040 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2042 Added acknowledgment for above patch.
2043 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2044 * src/bc-postnet.c: (postnet_code):
2045 Removed "Invalid barcode data" warnings from stderr.
2046 * src/view-barcode.c: (draw_barcode):
2047 Draw box around barcode extent if data empty or invalid. Center a
2048 message whether the data is empty or invalid in box.
2050 2006-05-22 Jim Evins <evins@snaught.com>
2052 * src/print.c: (draw_text_object):
2053 Check shadow state when printing text.
2055 2006-05-20 Jim Evins <evins@snaught.com>
2057 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2058 (gl_ui_cmd_view_markup_toggle):
2059 Fixed crash when grid or markup have been toggled off during
2060 a previous session. Bug #1434324.
2062 2006-04-05 Jim Evins <evins@snaught.com>
2064 * src/object-editor.c: (gl_object_editor_set_key_names):
2065 Fixed potential crash when freeing empty key list.
2067 2006-03-11 Jim Evins <evins@snaught.com>
2069 * src/print.c: (draw_text_object):
2070 * src/view-text.c: (gl_view_text_new),
2071 (construct_properties_editor), (update_object_from_editor_cb),
2072 (update_editor_from_object_cb), (update_editor_from_label_cb),
2074 Added shadow support to text object.
2076 2006-02-18 Jim Evins <evins@snaught.com>
2078 * src/print.c: (draw_line_object):
2079 * src/view-line.c: (gl_view_line_new),
2080 (construct_properties_editor), (update_canvas_item_from_object_cb),
2081 (update_object_from_editor_cb), (update_editor_from_object_cb),
2082 (update_editor_from_label_cb):
2083 Added shadow support to line object.
2085 2006-02-16 Jim Evins <evins@snaught.com>
2089 * src/print.c: (draw_ellipse_object):
2090 * src/view-ellipse.c: (gl_view_ellipse_new),
2091 (construct_properties_editor), (update_canvas_item_from_object_cb),
2092 (update_object_from_editor_cb), (update_editor_from_object_cb),
2093 (update_editor_from_label_cb):
2094 Added shadow support to ellipse object.
2096 2006-02-15 Jim Evins <evins@snaught.com>
2098 * src/label-object.c:
2099 Changed default shadow offsets.
2100 * src/view-box.c: (gl_view_box_new):
2101 Simplified gl_view_box_new() so that is does not duplicate code
2102 in update_canvas_item_from_object_cb().
2104 2006-02-07 Jim Evins <evins@snaught.com>
2106 * data/glade/object-editor.glade:
2107 Fixed color groups of color combos.
2109 Added default shadow color.
2110 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2111 Added shadow color group.
2113 2006-02-06 Jim Evins <evins@snaught.com>
2115 * src/object-editor-shadow-page.c:
2116 Forgot to add this file.
2117 * src/view-box.c: (gl_view_box_new),
2118 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2119 Update limits on shadow offset spinbuttons.
2121 2006-01-19 Jim Evins <evins@snaught.com>
2123 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2124 Initialize key_list to NULL.
2125 * data/glade/object-editor.glade:
2129 * src/label-object.c:
2130 * src/label-object.h:
2131 * src/object-editor-fill-page.c:
2132 * src/object-editor-private.h:
2133 * src/object-editor.c:
2134 * src/object-editor.h:
2136 Created infrastructure for shadow support.
2139 Initial shadow support in box object only.
2141 2006-01-05 Jim Evins <evins@snaught.com>
2143 * src/merge-properties-dialog.c: (src_changed_cb):
2144 Be extra paranoid before calling strcmp().
2145 * src/merge.c: (gl_merge_set_src):
2146 Don't make (merge == NULL) a critical error.
2148 2005-12-22 Jim Evins <evins@snaught.com>
2150 * src/glabels-batch.c: (main):
2151 Compile warning free with gcc 4.0.
2153 2005-12-21 Jim Evins <evins@snaught.com>
2156 Updated example RPM spec file.
2158 2005-12-21 Jim Evins <evins@snaught.com>
2162 Preparation for 2.1.2.
2164 2005-12-20 Jim Evins <evins@snaught.com>
2167 Define unique G_LOG_DOMAIN for glabels.
2168 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2169 * src/warning-handler.c: (gl_warning_handler_init),
2171 Register for G_LOG_DOMAIN instead of NULL.
2173 2005-12-10 Jim Evins <evins@snaught.com>
2175 * src/merge-evolution.c:
2176 * src/merge-vcard.c:
2179 2005-12-08 Jim Evins <evins@snaught.com>
2181 * libglabels/paper.c: (read_paper_files_from_dir):
2182 * libglabels/template.c: (gl_template_register),
2183 (read_template_files_from_dir):
2184 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2185 (gl_xml_paper_parse_papers_doc):
2186 * libglabels/xml-template.c:
2187 (gl_xml_template_read_templates_from_file),
2188 (gl_xml_template_parse_templates_doc),
2189 (gl_xml_template_parse_template_node),
2190 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2191 (xml_parse_label_cd_node), (xml_parse_layout_node),
2192 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2193 (xml_parse_markup_circle_node),
2194 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2195 * libglabels/xml.c: (gl_xml_get_prop_length):
2196 Re-classified g_warnings to g_messages.
2198 * src/glabels.c: (main):
2199 * src/warning-handler.c: (gl_warning_handler_init),
2201 * src/warning-handler.h:
2202 Added warning message handler to make sure the user is
2203 presented with appropriate non-fatal errors.
2204 * src/critical-error-handler.c: (critical_error_handler):
2205 Changed exit to abort.
2206 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2207 * src/bc-postnet.c: (postnet_code):
2208 * src/bc.c: (id_to_index), (name_to_index):
2209 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2210 * src/object-editor.c: (gl_object_notebook_construct_valist):
2211 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2212 * src/prefs.c: (gl_prefs_get_units_per_point),
2213 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2214 (gl_prefs_get_units_string):
2215 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2216 * src/splash.c: (gl_splash):
2217 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2218 * src/view-highlight.c: (gl_view_highlight_new),
2219 (highlight_resizable_box_construct), (object_changed_cb),
2220 (view_scale_changed_cb):
2221 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2222 (draw_markup_layer), (draw_markup_margin),
2223 (gl_view_object_create_mode), (canvas_event),
2224 (selection_received_cb):
2225 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2226 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2227 * src/xml-label-04.c: (gl_xml_label_04_parse),
2228 (xml04_parse_media_description), (xml04_parse_text_props),
2229 (xml04_parse_barcode_props):
2230 * src/xml-label-191.c: (gl_xml_label_191_parse),
2231 (xml191_parse_objects), (xml191_parse_object),
2232 (xml191_parse_text_props), (xml191_parse_image_props),
2233 (xml191_parse_barcode_props), (xml191_parse_data),
2234 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2235 (xml191_parse_markup):
2236 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2237 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2238 (xml_parse_object_text), (xml_parse_object_image),
2239 (xml_parse_object_barcode), (xml_parse_data),
2240 (xml_parse_toplevel_span), (gl_xml_label_save),
2241 (xml_create_objects):
2242 Re-classified g_warnings to g_messages.
2243 * src/merge-evolution.c: (gl_merge_evolution_open),
2244 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2245 Use g_warning to output errors encountered while
2246 communicating with the evolution data server
2247 instead of embedding them in the data.
2249 2005-12-08 Jim Evins <evins@snaught.com>
2251 * libglabels/libglabels-private.h:
2253 * libglabels/paper.c: (read_papers):
2254 * libglabels/template.c: (read_templates):
2255 Made appropriate warnings critical.
2257 * src/critical-error-handler.h:
2258 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2259 (critical_error_handler):
2260 Created critical error handler.
2261 * src/glabels.c: (main):
2262 Register critical error handler.
2263 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2264 * src/object-editor.c: (gl_object_editor_init):
2265 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2266 * src/template-designer.c: (gl_template_designer_init):
2267 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2268 Made appropriate warnings critical.
2270 2005-11-27 Jim Evins <evins@snaught.com>
2272 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2273 (gl_merge_evolution_get_primary_key),
2274 (gl_merge_evolution_get_record):
2275 Don't create "record_key" pseudo-key. Don't populate
2276 fields with null data.
2278 2005-11-25 Jim Evins <evins@snaught.com>
2280 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2281 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2282 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2284 Query EDS for all supported fields. Patch provided by
2285 Austin Henry <ahenry@users.sourceforge.net>.
2287 2005-10-29 Jim Evins <evins@snaught.com>
2289 * src/glabels.c: (main):
2290 * src/label-barcode.c: (gl_label_barcode_finalize):
2291 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2292 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2293 * src/object-editor.c: (gl_object_editor_finalize):
2294 Another pass at valgrinding -- plugged several memory leaks.
2295 * src/view-text.c: (gl_view_text_new),
2296 (update_canvas_item_from_object_cb), (draw_hacktext):
2297 Commented out artifacts of edit-in-place code.
2299 2005-10-28 Jim Evins <evins@snaught.com>
2301 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2302 Fixed use of uninitialized variable. Caught by
2303 d binderman <dcb314@hotmail.com>.
2305 2005-10-27 Jim Evins <evins@snaught.com>
2307 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2308 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2310 Additional cleanup of EDS and vcard backends. Provided by
2311 Austin Henry <ahenry@users.sourceforge.net>.
2313 2005-10-24 Jim Evins <evins@snaught.com>
2317 * src/merge-evolution.c:
2318 * src/merge-evolution.h:
2319 * src/merge-init.c: (gl_merge_init):
2320 * src/merge-properties-dialog.c: (type_changed_cb):
2321 * src/merge-vcard.c:
2322 * src/merge-vcard.h:
2323 * src/ui-commands.c: (gl_ui_cmd_help_about):
2324 Added Evolution Data Server and VCard merge backends. Original patch
2325 provided by Austin Henry <ahenry@users.sourceforge.net>.
2327 Only support EDS and VCard backends if libebook is installed. Allow
2328 user to disable support, even if installed.
2330 2005-10-24 Jim Evins <evins@snaught.com>
2333 * data/templates/avery-iso-templates.xml:
2334 * data/templates/avery-us-templates.xml:
2335 * data/templates/misc-iso-templates.xml:
2336 * data/templates/zweckform-iso-templates.xml:
2337 Collected all template changes and submissions since last
2340 2005-10-23 Jim Evins <evins@snaught.com>
2343 * data/mime/Makefile.am:
2344 Added configure options to disable update-mime-database and
2345 update-desktop-database as part of the install. Patch
2346 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2348 2005-10-23 Jim Evins <evins@snaught.com>
2351 * libglabels/xml.c: (gl_xml_get_prop_string),
2352 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2353 (gl_xml_is_node), (gl_xml_get_node_content):
2354 Added new XML utility functions.
2355 * libglabels/xml-paper.c:
2356 * libglabels/xml-template.c:
2358 Cleanup by using new xml utilities created above.
2359 * libglabels/paper.c: (gl_paper_free):
2360 * src/file.c: (new_response):
2361 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2362 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2363 (gl_pixbuf_cache_get_pixbuf):
2364 * src/ui-property-bar.c:
2365 (gl_ui_property_bar_construct_color_combo):
2366 * src/view-highlight.c: (gl_view_highlight_finalize):
2367 * src/view-image.c: (update_object_from_editor_cb):
2368 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2369 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2370 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2371 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2372 (draw_markup_margin_round), (draw_markup_margin_cd),
2373 (draw_markup_margin_cd_bc):
2374 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2375 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2376 Plugged various memory leaks located with valgrind.
2377 * src/view-image.c: (update_canvas_item_from_object_cb):
2378 Don't allow a width or height of zero when drawing pixbuf.
2380 2005-10-22 Jim Evins <evins@snaught.com>
2382 * libglabels/xml-paper.c:
2383 * libglabels/xml-template.c:
2386 * src/bc-gnubarcode.c:
2387 * src/canvas-hacktext.c:
2389 * src/object-editor-data-page.c:
2390 * src/print-dialog.c:
2393 * src/template-designer.c:
2395 * src/ui-property-bar.c:
2397 * src/view-barcode.c:
2399 * src/view-ellipse.c:
2404 * src/wdgt-media-select.c:
2405 * src/xml-label-04.c:
2406 * src/xml-label-191.c:
2408 Modified to compile warning free with gcc-4.0. Mostly
2409 casting to change signedness of characters. Did not
2410 attack gnu-barcode library yet.
2412 2005-10-22 Jim Evins <evins@snaught.com>
2414 * src/glabels.c: (main):
2415 * src/splash.c: (gl_splash):
2416 Removed some small memory leaks.
2420 2005-09-19 Jim Evins <evins@snaught.com>
2422 * data/glade/property-bar.glade:
2423 Remove items from font_family_combo. This prevents the
2424 double entry after adding text model and list of fonts.
2425 * src/ui-property-bar.c: (reset_to_default_properties):
2426 Free font_family_list.
2428 2005-07-01 Jim Evins <evins@snaught.com>
2431 Updated italian translation (Daniele Medri)
2433 2005-06-26 Jim Evins <evins@snaught.com>
2435 * docs/libglabels/libglabels-decl-list.txt:
2436 Somehow never got checked in before.
2437 * docs/libglabels/libglabels.types:
2438 Removed -- don't need it afterall.
2440 2005-06-20 Jim Evins <evins@snaught.com>
2443 Final prep for 2.1.1 release.
2445 2005-06-20 Jim Evins <evins@snaught.com>
2448 Final preps for 2.1.1 release.
2449 * docs/libglabels/libglabels.types:
2450 Somehow never got checked in before.
2452 Bring up-to-date with recent reorg of ui code.
2455 2005-06-19 Jim Evins <evins@snaught.com>
2457 * src/template-designer.c: (construct_layout_page):
2458 Removed attempt to match background color of mini preview widget to
2461 2005-06-17 Jim Evins <evins@snaught.com>
2463 * help/C/figures/merge-ex2-4.png:
2464 * help/C/glabels.xml:
2465 Fixed spelling error.
2467 2005-06-13 Jim Evins <evins@snaught.com>
2469 * help/C/figures/merge-ex1-1.png:
2470 * help/C/figures/merge-ex1-2.png:
2471 * help/C/figures/merge-ex1-3.png:
2472 * help/C/figures/merge-ex1-4.png:
2473 * help/C/figures/merge-ex2-1.png:
2474 * help/C/figures/merge-ex2-2.png:
2475 * help/C/figures/merge-ex2-3.png:
2476 * help/C/figures/merge-ex2-4.png:
2477 Added figures for document merge tutorial.
2478 * help/C/glabels.xml:
2479 Added document merge tutorial.
2481 2005-05-19 Jim Evins <evins@snaught.com>
2483 * data/glade/merge-properties-dialog.glade:
2484 Fixed irregular spacing.
2485 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2486 (gl_merge_properties_dialog_construct):
2487 Set outer padding and remove separator.
2489 2005-05-18 Jim Evins <evins@snaught.com>
2493 Removed glHigDialog class.
2494 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2495 (gl_file_properties), (create_properties_dialog_widgets):
2496 * src/prefs-dialog.h:
2497 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2498 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2499 * src/print-dialog.h:
2500 * src/prefs-dialog.h:
2501 * src/print-dialog.c: (gl_print_dialog_get_type),
2502 (gl_print_dialog_init), (gl_print_dialog_construct):
2503 Replaced all instances of glHigDialog with GtkDialog.
2505 2005-05-17 Jim Evins <evins@snaught.com>
2509 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2510 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2511 (save_as_response), (gl_file_close):
2512 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2514 2005-05-15 Jim Evins <evins@snaught.com>
2516 * src/ui-commands.h:
2524 A little code reformatting -- no functional changes.
2526 2005-05-14 Jim Evins <evins@snaught.com>
2529 Removed obsolete macros.
2531 Added marshalling template to support new view signal: "context_menu_activate."
2533 * src/view.c: (gl_view_class_init), (gl_view_construct),
2534 (canvas_event_arrow_mode):
2535 - Removed hardcoded context menus and added new signal "context_menu_activate"
2536 to push this up to the uimanager.
2537 - Removed merge properties and print dialogs so that they can be managed with
2538 the window by the uimanager.
2539 * src/merge-properties-dialog.h:
2540 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2541 (gl_merge_properties_dialog_construct):
2542 Changed calling convention of gl_merge_properties_dialog_new() to use
2543 glLabel and GtkWindow instead of view to make more consistent with other
2545 * src/print-dialog.h:
2546 * src/print-dialog.c: (gl_print_dialog_new),
2547 (gl_print_dialog_construct):
2548 Removed last artifact of libbonoboui.
2549 * src/ui-commands.c: (gl_ui_cmd_file_print),
2550 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2551 Reconciled style for launching dialogs.
2552 * src/ui.c: (gl_ui_new):
2553 Added context menus to ui manager.
2554 * src/view-object.c: (item_event_arrow_mode):
2555 No longer try to select objects with right-click.
2557 * src/window.c: (gl_window_init), (gl_window_set_label),
2558 (context_menu_activate_cb):
2559 Context menus and all dialogs are now managed in a consistent way in window
2562 2005-05-11 Jim Evins <evins@snaught.com>
2565 * src/window.c: (gl_window_init), (gl_window_destroy):
2566 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2567 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2568 Moved management of recent_view back from window.c to ui.c -- it just feels
2571 2005-05-10 Jim Evins <evins@snaught.com>
2574 * src/window.c: (gl_window_init):
2576 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2577 (menu_item_select_cb), (menu_item_deselect_cb):
2578 Added GtkStatusbar which displays menu tooltips.
2580 2005-05-09 Jim Evins <evins@snaught.com>
2582 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2587 Removed dependencies on libbonoboui.
2589 * data/ui/Makefile.am:
2590 * data/ui/glabels-ui.xml:
2591 Removed data/ui directory.
2592 * data/glade/Makefile.am:
2593 * data/property-bar.glade:
2594 Added glade description of property-bar for new libglade implementation
2601 * src/ui-commands.h:
2602 * src/ui-commands.c:
2603 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2604 since the distinction between "commands" and "tools" is no longer that clear.
2607 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2608 no longer has knowledge of eggRecent*.
2609 * src/glabels.c: (main):
2610 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2612 * src/object-editor.c: (gl_object_editor_init):
2613 Make sure notebook does not respond to a "show_all" on the parent.
2614 * src/recent-files/Makefile.am:
2615 * src/recent-files/*.[ch]
2616 Updated from latest version of libegg which now has a view based on
2617 GtkUIManager. Removed unused bonobo and gtk views.
2618 * src/ui-property-bar.h:
2619 * src/ui-property-bar.c:
2620 New implementation based on libglade.
2623 Sidebar is now simply a GtkWidget and does not expect to be a part of
2624 a libbonoboui interface.
2629 Converted for use with GtkUIManager.
2632 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2633 to create menus and toolbars.
2635 2005-04-25 Jim Evins <evins@snaught.com>
2637 * data/templates/misc-iso-templates.xml:
2638 Added Fellows 04715 template provided by Steve Saxon.
2640 Updated acknowledgement for above.
2642 2005-04-23 Jim Evins <evins@snaught.com>
2644 * src/util.c: (gl_util_combo_box_set_strings):
2645 Make sure to clear model before loading a new list of strings.
2646 * src/wdgt-media-select.h:
2647 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2648 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2649 (template_combo_changed_cb), (prefs_changed_cb),
2650 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2651 (gl_wdgt_media_select_get_page_size),
2652 (gl_wdgt_media_select_set_page_size):
2653 Replaced the deprecated GtkCombo widget with the new
2656 2005-04-21 Jim Evins <evins@snaught.com>
2658 * data/glade/template-designer.glade:
2659 * src/template-designer.c: (construct_pg_size_page),
2660 (pg_size_page_changed_cb), (build_template):
2661 Replaced the deprecated GtkCombo widget with the new
2664 2005-04-20 Jim Evins <evins@snaught.com>
2666 * data/glade/prefs-dialog.glade:
2667 * src/prefs-dialog.c: (construct_object_page),
2668 (update_object_page_from_prefs), (update_prefs_from_object_page):
2669 Replaced the deprecated GtkCombo widget with the new
2672 2005-04-19 Jim Evins <evins@snaught.com>
2674 * data/glade/object-editor.glade:
2675 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2676 (style_changed_cb), (gl_object_editor_set_bc_style),
2677 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2678 (gl_object_editor_get_bc_color):
2679 * src/object-editor-data-page.c:
2680 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2681 (gl_object_editor_get_data):
2682 * src/object-editor-edit-page.c:
2683 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2684 * src/object-editor-fill-page.c:
2685 (gl_object_editor_prepare_fill_page),
2686 (gl_object_editor_set_fill_color),
2687 (gl_object_editor_get_fill_color):
2688 * src/object-editor-image-page.c:
2689 (gl_object_editor_prepare_image_page),
2690 (gl_object_editor_set_image), (gl_object_editor_get_image):
2691 * src/object-editor-line-page.c:
2692 (gl_object_editor_prepare_line_page),
2693 (gl_object_editor_set_line_color),
2694 (gl_object_editor_get_line_color):
2695 * src/object-editor-private.h:
2696 * src/object-editor-text-page.c:
2697 (gl_object_editor_prepare_text_page),
2698 (gl_object_editor_set_font_family),
2699 (gl_object_editor_get_font_family),
2700 (gl_object_editor_set_text_color),
2701 (gl_object_editor_get_text_color):
2702 * src/object-editor.c: (gl_object_editor_set_key_names):
2704 In the object editor: replaced all instances of the deprecated
2705 GtkCombo widget with the new GtkComboBox.
2707 2005-04-18 Jim Evins <evins@snaught.com>
2710 Neglected to save this one in previous checkin to support
2713 2005-04-17 Jim Evins <evins@snaught.com>
2715 * libglabels/libglabels-private.h:
2716 * libglabels/paper.c:
2717 * libglabels/paper.h:
2718 * libglabels/template.c:
2719 * libglabels/template.h:
2720 * libglabels/xml-paper.c:
2721 * libglabels/xml-paper.h:
2722 * libglabels/xml-template.c:
2727 * src/bc-gnubarcode.c:
2738 * src/label-barcode.c:
2740 * src/label-ellipse.c:
2741 * src/label-image.c:
2742 * src/label-image.h:
2744 * src/label-object.c:
2748 * src/merge-properties-dialog.c:
2749 * src/object-editor-bc-page.c:
2750 * src/object-editor-data-page.c:
2751 * src/object-editor-edit-page.c:
2752 * src/object-editor-fill-page.c:
2753 * src/object-editor-image-page.c:
2754 * src/object-editor-line-page.c:
2755 * src/object-editor-lsize-page.c:
2756 * src/object-editor-position-page.c:
2757 * src/object-editor-private.h:
2758 * src/object-editor-size-page.c:
2759 * src/object-editor-text-page.c:
2760 * src/object-editor.c:
2761 * src/object-editor.h:
2762 * src/pixbuf-cache.h:
2763 * src/prefs-dialog.c:
2764 * src/prefs-dialog.h:
2765 * src/prefs-model.c:
2766 * src/prefs-model.h:
2768 * src/print-dialog.c:
2769 * src/print-dialog.h:
2777 * src/template-designer.c:
2778 * src/template-designer.h:
2781 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2787 * src/view-barcode.c:
2789 * src/view-ellipse.c:
2790 * src/view-highlight.c:
2791 * src/view-highlight.h:
2794 * src/view-object.c:
2795 * src/view-object.h:
2799 * src/wdgt-chain-button.c:
2800 * src/wdgt-media-select.c:
2801 * src/wdgt-media-select.h:
2802 * src/wdgt-mini-preview.c:
2803 * src/wdgt-mini-preview.h:
2804 * src/wdgt-print-copies.c:
2805 * src/wdgt-print-copies.h:
2806 * src/wdgt-print-merge.c:
2807 * src/wdgt-print-merge.h:
2808 * src/wdgt-rotate-label.c:
2809 * src/wdgt-rotate-label.h:
2812 * src/xml-label-04.c:
2813 * src/xml-label-191.c:
2815 Cleanup of header files:
2816 - all header files are now stand-alone, verified by including
2817 first in corresponding "c" files
2818 - replaced blanket includes of gnome, gtk, and glib with
2821 2005-04-16 Jim Evins <evins@snaught.com>
2823 * data/glade/Makefile.am:
2824 * data/glade/merge-properties-dialog.glade:
2825 Added merge properties dialog glade description file.
2826 * src/merge-properties-dialog.h:
2827 * src/merge-properties-dialog.c:
2828 (gl_merge_properties_dialog_get_type),
2829 (gl_merge_properties_dialog_init),
2830 (gl_merge_properties_dialog_finalize),
2831 (gl_merge_properties_dialog_new),
2832 (gl_merge_properties_dialog_construct), (type_changed_cb),
2833 (src_changed_cb), (response_cb), (load_tree),
2834 (record_select_toggled_cb), (select_all_button_clicked_cb),
2835 (unselect_all_button_clicked_cb):
2836 Modified merge properties dialog to use libglade. Added
2837 "select all" and "unselect all" buttons.
2838 * src/merge-text.c: (parse_line):
2839 Handle empty lines better.
2840 * src/merge.c: (gl_merge_eval_key):
2841 Evaluate the key whether the record is selected or not.
2843 * src/util.c: (gl_util_combo_box_add_text_model):
2844 Since libglade does not use the gtk_combo_box_new_text()
2845 constructor for GtkComboBoxes, a utility function was created
2846 to add an appropriate text model to a GtkComboBox.
2847 * src/view.c: (gl_view_edit_merge_props):
2848 Removed unnecessary "show all's".
2850 2005-04-15 Jim Evins <evins@snaught.com>
2853 Updated russian translation (Vitaly Lipatov)
2854 * data/templates/misc-iso-templates.xml:
2855 Added templates for russian business cards provided by Vitaly Lipatov.
2857 Updated acknowledgements for above.
2859 2005-04-15 Jim Evins <evins@snaught.com>
2861 * data/templates/avery-us-templates.xml:
2862 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2863 * data/templates/misc-iso-templates.xml:
2864 Added Ryman standard CD/DVD template, provided by Dan Clark.
2866 Added acknowledgements for above.
2868 2005-04-10 Jim Evins <evins@snaught.com>
2870 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2871 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2872 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2873 (xml_parse_label_cd_node), (xml_parse_alias_node):
2874 * libglabels/xml.c: (gl_xml_get_prop_double),
2875 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2876 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2877 * src/xml-label-04.c: (xml04_parse_media_description),
2878 (xml04_parse_text_props), (xml04_parse_barcode_props),
2879 (xml04_parse_merge_properties):
2880 * src/xml-label-191.c: (xml191_parse_object),
2881 (xml191_parse_text_props), (xml191_parse_barcode_props),
2882 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2883 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2884 (xml191_parse_alias):
2885 * src/xml-label.c: (xml_parse_object_text),
2886 (xml_parse_object_barcode), (xml_parse_merge_fields),
2887 (xml_parse_pixdata), (xml_parse_toplevel_span):
2888 Make sure to use xmlFree for anything obtained from libxml
2889 in case libxml and glib use different memory management
2892 2005-04-08 Jim Evins <evins@snaught.com>
2895 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2896 (gl_util_combo_box_set_active_text):
2897 Added utility functions to simplify working with GtkComboBox
2899 * src/ui-property-bar.h:
2900 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2901 (reset_to_default_properties), (update_text_properties),
2902 (font_family_changed_cb):
2903 Replaced deprecated GtkCombo with GtkComboBox.
2906 2005-04-03 Jim Evins <evins@snaught.com>
2909 * src/wdgt-image-select.h:
2910 * src/wdgt-image-select.c:
2911 Removed obsolete wdgt-image-select.[ch] files.
2912 * libglabels/paper.c: (gl_paper_dup):
2913 Fixed rename of parameter introduced during documentation
2915 * data/glade/object-editor.glade:
2916 * src/object-editor-image-page.c:
2917 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2918 (gl_object_editor_set_image), (gl_object_editor_get_image),
2919 (update_preview_cb), (add_image_filters_to_chooser):
2920 * src/object-editor-private.h:
2921 Replaced deprecated GnomePixmapEntry with
2922 GtkFileChooserButton.
2924 2005-04-02 Jim Evins <evins@snaught.com>
2926 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2927 (mygal_combo_box_popup_hide_unconditional),
2928 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2929 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2930 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2931 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2932 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2933 Renamed all internal gtk_combo functions to mygal_combo
2934 to prevent namespace confusion.
2936 2005-04-02 Jim Evins <evins@snaught.com>
2938 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2939 (cust_color_set), (color_palette_setup):
2940 * src/mygal/color-palette.h:
2941 Replaced deprecated GnomeColorPicker with GtkColorButton.
2943 2005-04-02 Jim Evins <evins@snaught.com>
2945 * docs/libglabels/libglabels-sections.txt:
2946 * docs/libglabels/libglabels-undocumented.txt:
2947 * docs/libglabels/tmpl/enums.sgml:
2948 * docs/libglabels/tmpl/paper.sgml:
2949 * docs/libglabels/tmpl/xml-paper.sgml:
2950 * docs/libglabels/tmpl/xml-template.sgml:
2951 * libglabels/enums.h:
2952 * libglabels/paper.c: (gl_paper_dup):
2953 * libglabels/paper.h:
2954 * libglabels/xml-paper.c:
2955 * libglabels/xml-template.c:
2956 More documentation updates for libglabels.
2958 2005-03-23 Jim Evins <evins@snaught.com>
2961 Automatically updated.
2966 * docs/libglabels/Makefile.am:
2967 * docs/libglabels/libglabels-docs.sgml:
2968 * docs/libglabels/libglabels-sections.txt:
2969 * docs/libglabels/libglabels-undocumented.txt:
2970 * docs/libglabels/tmpl/enums.sgml:
2971 * docs/libglabels/tmpl/libglabels-unused.sgml:
2972 * docs/libglabels/tmpl/libglabels.sgml:
2973 * docs/libglabels/tmpl/paper.sgml:
2974 * docs/libglabels/tmpl/template.sgml:
2975 * docs/libglabels/tmpl/xml-paper.sgml:
2976 * docs/libglabels/tmpl/xml-template.sgml:
2977 * docs/libglabels/tmpl/xml.sgml:
2978 Added basic gtk-doc stuff to support documenting libglabels
2981 Updated function comments with gtk-doc markup.
2985 2005-03-22 Jim Evins <evins@snaught.com>
2987 Since the development version now requires gtk-2.6/gnome-2.10, I
2988 have made a first pass at removing deprecations.
2991 * libglabels/Makefile.am:
2993 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2994 Also removed all remnants of HAVE_FILECHOOSER.
2995 * src/file.c: (gl_file_open_real):
2996 Removed code for old GtkFileSelection.
2997 * libglabels/libglabels-private.h:
2998 * libglabels/paper.c:
2999 * libglabels/template.c:
3000 * libglabels/xml-paper.c:
3001 * libglabels/xml-template.c:
3005 * src/glabels-batch.c:
3009 * src/merge-properties-dialog.c:
3011 * src/object-editor.c:
3012 * src/prefs-dialog.c:
3014 * src/print-dialog.c:
3017 * src/template-designer.c:
3018 * src/ui-property-bar.c:
3020 * src/view-barcode.c:
3022 * src/view-ellipse.c:
3027 * src/wdgt-image-select.c:
3028 * src/wdgt-media-select.c:
3029 * src/wdgt-print-copies.c:
3030 * src/wdgt-print-merge.c:
3031 * src/wdgt-rotate-label.c:
3033 * src/xml-label-04.c:
3034 * src/xml-label-191.c:
3036 Added '#include <glib/gi18n.h>" where needed.
3037 Removed any unused '#include <gnome.h>"s.
3039 2005-03-22 Jim Evins <evins@snaught.com>
3041 * src/commands.c: (activate_url), (gl_cmd_help_about):
3042 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3043 development version of glabels now depends on GTK 2.6 and
3046 Updated library dependencies.
3048 2005-02-28 Jim Evins <evins@snaught.com>
3051 * data/templates/misc-iso-templates.xml:
3052 Added 'Ednet 45021' template provided by Ali Akcaagac
3055 2005-02-14 Jim Evins <evins@snaught.com>
3057 * data/templates/avery-us-templates.xml:
3058 Updated templates to use inches instead of points.
3059 * src/print-dialog.c: (printer_page_new):
3060 Changed packing style when adding printer selector widget. This fixes
3063 2005-02-13 Jim Evins <evins@snaught.com>
3067 Updated spanish translations. (sergio rivadero)
3069 2005-02-05 Jim Evins <evins@snaught.com>
3071 Some cleanup to libglabels.
3074 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3075 * libglabels/libglabels.pc.in
3077 * libglabels/enums.h
3078 Created. Currently only contains glUnitsType which provides enumerations
3079 for all possible units of distance.
3080 * libglabels/Makefile.am:
3081 Incorporated new files enums.h and libglabels.pc[.in].
3082 * libglabels/libglabels.h:
3084 * libglabels/template.h:
3085 * libglabels/template.c: (gl_template_layout_new):
3086 Changed parameters nx and ny to gint from gdouble.
3088 * libglabels/xml.c: (gl_xml_get_prop_length),
3089 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3090 Added support for different output units.
3091 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3092 (update_prefs_from_locale_page):
3093 * src/prefs-model.c: (string_to_units), (units_to_string):
3094 * src/prefs-model.h:
3095 * src/prefs.c: (gl_prefs_get_units_per_point),
3096 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3097 (gl_prefs_get_units_string):
3099 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3100 Reconciled all length enumerations with the new enumerations provided
3101 in libglabels/enums.h.
3103 2005-02-03 Jim Evins <evins@snaught.com>
3106 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3108 Updated Italian translations. (Daniele Medri)
3110 Updated credits to reflect above translations.
3113 2005-01-22 Jim Evins <evins@snaught.com>
3118 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3120 Final prep for 2.1.0.
3122 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3124 Added '--remove-original' flag to desktop-file-install, so that there is
3125 only one menu entry.
3127 2005-01-20 Jim Evins <evins@snaught.com>
3129 * data/glade/object-editor.glade:
3130 - Font family entry should not be editable.
3131 - img_key_entry should have sensitivity=YES, so that it follows the
3132 sensitivity of img_key_combo.
3134 2005-01-19 Jim Evins <evins@snaught.com>
3137 Give credit to Frederic Ruaudel for the color merge patches.
3139 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3141 Add support to merge color for all other color attribute (Feature
3142 Requests item #1008635. If the data is invalid, the color used is transparent
3143 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3144 by gdk_color_parse() these include name for a color from rgb.txt, such as
3145 DarkSlateGray, or a hex specification such as #305050. File format has been
3146 changed but backward compatibility is preserved for all format. For
3147 box/ellipse/line, keep attribute "line_color" for static color or replace by
3148 "line_color_field" for merge data. For text/barcode objects, keep attribute
3149 "color" for static color or replace by "color_field" for merge data. In the
3150 edit canvas window, merged color are represented by half-transparent black
3153 * data/dtd/glabels-2.0.dtd:
3154 Added line_color_field to line_attrs. Added color_field to
3155 Object-barcode and Span.
3156 * data/glade/object-editor.glade:
3157 Modify the layout of the editor to add merge possibility to color options
3159 Fix a copy/paste error in a comment
3161 Add default color for merge color representation in the editor canvas.
3162 * src/label-barcode.c:
3163 * src/object-editor-bc-page.c:
3164 * src/view-barcode.c:
3165 Add merge color support for barcode color.
3168 Add merge color support for box border color.
3169 * src/label-ellipse.c:
3170 * src/view-ellipse.c:
3171 Add merge color support for ellipse border color.
3174 Add merge color support for line color.
3175 * src/label-object.c:
3176 * src/label-object.h:
3177 * src/object-editor.c:
3178 * src/object-editor.h:
3179 * src/ui-property-bar.c:
3182 * src/xml-label-04.c:
3183 * src/xml-label-191.c:
3184 Add support for merging to other color attribute.
3186 * src/object-editor-text-page.c:
3188 Add merge color support for text color.
3189 * src/object-editor-fill-page.c:
3190 Change a blocked handler that didn't match the good widget. Fix the type
3191 of some debug message.
3192 * src/object-editor-line-page.c:
3193 Add merging support to line color option.
3194 * src/object-editor-private.h:
3195 Add variables for new widget.
3197 Modify the draw functions to get merge data if needed.
3199 Change the default size of the window in order to see all widget in the
3200 "text style tab" of the editor.
3202 Modify the parser to record/retreive the field value for objects that need
3203 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3204 static color or replace by "line_color_field" for merge data. For
3205 text/barcode objects, keep attribute "color" for static color or replace
3206 by "color_field" for merge data.
3208 2005-01-17 Jim Evins <evins@snaught.com>
3210 * src/view.c: (screen_changed_cb):
3211 Don't do anything if we don't have a screen.
3213 2005-01-06 Jim Evins <evins@snaught.com>
3215 * src/view.c: (get_home_scale):
3216 Fixed bad call to gtk_widget_has_screen() -- huh?.
3218 2005-01-06 Jim Evins <evins@snaught.com>
3220 * data/dtd/glabels-2.0.dtd:
3221 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3224 2005-01-06 Jim Evins <evins@snaught.com>
3226 * data/glade/object-editor.glade:
3227 Set entries for fill and data field key dropdowns to NOT editable.
3228 * src/view-box.c: (construct_properties_editor):
3229 * src/view-ellipse.c: (construct_properties_editor):
3230 Update object editor when label's merge property has changed.
3231 * src/xml-label.c: (xml_parse_object_ellipse):
3232 Completed the merge color support for the ellipse item.
3234 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3236 Add support to merge color for object that have a "Fill color" attribute (Feature
3237 Requests item #1008635. If the data is invalid, the color used is transparent
3238 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3239 by gdk_color_parse() these include name for a color from rgb.txt, such as
3240 DarkSlateGray, or a hex specification such as #305050. File format has been
3241 changed but backward compatibility is preserved for all format. For box/ellipse,
3242 keep attribute "fill_color" for static color or replace by "fill_color_field"
3245 * data/glade/object-editor.glade:
3246 Modify "Fill" tab to add the merge key combo and convert the labels into
3250 Add "glColorNode" structure and associated functions to manage it. This
3251 structure is equivalent for color than the "glTextNode". It holds the color
3253 * src/label-object.h:
3254 * src/label-object.c:
3256 * src/label-ellipse.c:
3257 * src/ui-property-bar.c:
3261 * src/view-ellipse.c:
3262 * src/xml-label-04.c:
3263 * src/xml-label-191.c:
3264 Change functions of objects that have a "fill color" attribute to use the
3265 new "glColorNode" structure. Use barcode code as example.
3267 Add the color.[ch] file to glabels_batch binary that now need support for
3269 * src/object-editor.h:
3270 * src/object-editor.c:
3271 * src/object-editor-fill-page.c:
3272 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3273 to choose between static color or merge key. Use barcode code as example.
3274 * src/object-editor-private.h:
3275 Add new widget in the "_glObjectEditorPrivate" structure.
3277 Modify the draw functions to get merge data if needed.
3279 Modify the parser to record/retreive the field value for objects that need
3280 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3281 color or "fill_color_field" for merge data.
3283 2005-01-04 Jim Evins <evins@snaught.com>
3286 * data/templates/avery-iso-templates.xml:
3287 * data/templates/misc-iso-templates.xml:
3288 * data/templates/misc-us-templates.xml:
3289 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3292 2004-11-26 Jim Evins <evins@snaught.com>
3296 Updated french translations provided by Florent Morel <florent@taket.org>.
3297 * src/view-barcode.c:
3299 * src/view-ellipse.c:
3303 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3304 thus _() strings were not being translated.
3306 2004-11-14 Jim Evins <evins@snaught.com>
3309 * src/debug.c: (gl_debug_init), (gl_debug):
3310 Borrowed from gedit: use environmental variables to select debug
3313 Removed unused include of debug.h.
3314 * src/glabels.c: (main):
3315 Added call to gl_debug_init(), and removed debug clutter from command line
3317 * src/glabels-batch.c: (main):
3318 Added call to gl_debug_init().
3320 2004-11-13 Jim Evins <evins@snaught.com>
3322 Drawing and property toolbars were being initialized with the "icons and text"
3323 look in Fedora Core 3. Even though none of the buttons had any text attached to
3324 them, the buttons were being sized as if they were. This led to less real estate
3325 for the property editor, leading to Bug #1064630. The
3327 * data/ui/glabels-ui.xml:
3328 Added explicit "look" property to both drawing and property toolbars.
3329 * src/prefs-model.c: (gl_prefs_model_save_settings),
3330 (gl_prefs_model_load_settings):
3331 * src/prefs-model.h:
3332 Removed drawing_toolbar_button_style configuration parameter.
3333 * src/ui.c: (view_menu_item_toggled_cb),
3334 (set_app_drawing_toolbar_style):
3335 Do not attempt to adjust look property of the drawing toolbar.
3337 2004-10-28 Jim Evins <evins@snaught.com>
3339 * data/pixmaps/glabels-about-logo.png:
3342 2004-10-28 Jim Evins <evins@snaught.com>
3344 * data/man/glabels.1:
3345 * src/glabels-batch.c: (main):
3347 * src/print.c: (gl_print_batch):
3349 Added option to glabels-batch to select the first label to begin
3352 2004-09-26 Jim Evins <evins@snaught.com>
3354 * data/desktop/glabels.desktop.in:
3355 Point to app icon, "glabels.png"
3356 * data/mime/glabels.keys.in:
3357 Point at mime icon, "glabels-application-x-glabels.png"
3358 * data/pixmaps/Makefile.am:
3359 Added glabels_app_icondir. Renamed icons.
3360 * data/pixmaps/glabels.png:
3361 New cleaned up app icon. Deleted glabels-icon.png.
3362 * data/pixmaps/glabels-application-x-glabels.png:
3364 * data/pixmaps/glabels-splash.png:
3365 Renamed glabels-logo to glabels-splash to be more correct about role.
3367 * src/template-designer.c:
3368 Point at app icon, "glabels.png"
3370 Point at renamed splash image, "glabels-splash.png"
3372 2004-08-22 Jim Evins <evins@snaught.com>
3375 * src/glabels-batch.c: (main):
3376 Applied patch with minor mods to allow selecting merge source and
3377 crop-marks on glabels-batch's command line. Original patch provided by
3378 José Dapena Paz <jdapena@igalia.com>.
3380 2004-08-15 Jim Evins <evins@snaught.com>
3382 * data/desktop/glabels.desktop.in:
3383 - Added encoding line
3384 - Removed period from comment
3385 - Fixed Terminal line, changed "0" to "false"
3386 - Added semicolen to Categories line
3388 - Made sure desktop.in comment string above still translated properly
3390 2004-08-14 Jim Evins <evins@snaught.com>
3392 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3393 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3394 * src/xml-label-191.c: (xml191_parse_sheet):
3395 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3397 Reconciled libglabels versioning with 2.0.1.
3400 2004-08-14 Jim Evins <evins@snaught.com>
3403 Updated version to 2.1cvs.
3405 2004-08-14 Jim Evins <evins@snaught.com>
3408 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3410 2004-08-14 Jim Evins <evins@snaught.com>
3412 Fixes for Bug #1008181.
3414 * src/bc.c: (gl_barcode_default_digits):
3415 Make a format of zero digits, harmless.
3416 * src/xml-label.c: (xml_parse_object_barcode):
3417 Set default value of the format property of barcode objects to 10, not
3418 zero. This will prevent crashes when reading pre 2.0.x files.
3420 2004-08-09 Jim Evins <evins@snaught.com>
3424 * help/C/glabels-C.omf:
3425 * help/C/glabels.xml:
3426 Brought documentation up-to-date for 2.0.0 release.
3428 2004-08-09 Jim Evins <evins@snaught.com>
3430 These are hopefully the final preparations for 2.0.0.
3432 * data/mime/Makefile.am:
3433 Include glabels.xml in EXTRA_DIST.
3435 - Updated comment style.
3436 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3437 - Added package and version info to configuration printout
3438 - Update version to 2.0.0
3439 * libglabels/Makefile.am:
3440 Use the new LIBGLABELS_VERSION_INFO macro.
3442 2004-08-09 Jim Evins <evins@snaught.com>
3446 Cleanup of required library macros.
3448 2004-08-08 Jim Evins <evins@snaught.com>
3452 - More specific of what to install in /usr/bin and /usr/lib
3453 - Remove built mime registration files from staging directory
3455 2004-08-08 Jim Evins <evins@snaught.com>
3457 * data/mime/Makefile.am:
3458 Fixed typo: key_files should have been keys_files.
3460 2004-08-08 Jim Evins <evins@snaught.com>
3462 Reorganization of runtime data files. Also added registration of mimetype with
3463 new freedesktop.org mime database if available.
3466 Moved files to appropriate subdirectories, creating local Makefile.am
3467 in each subdirectory.
3468 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3469 These are now installed at $datadir/glabels/templates.
3470 - Moved glabels.1 to man subdirectory.
3471 - Moved glabels-2.0.dtd to dtd subdirectory.
3472 - Moved glabels.desktop.in to desktop subdirectory.
3473 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3475 Moved "./pixmaps" to "./data/pixmaps"
3477 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3479 Moved libglade files from src to data/glade. Created Makefile.am.
3481 Removed pixmaps from SUBDIRS.
3483 - Removed pixmaps from makefiles.
3484 - Added makefiles for new subdirs of data.
3485 - Added tests for freedesktop.org mime database.
3487 - Added tests for freedesktop.org mime database for post install and
3488 post un-install actions.
3489 * libglabels/Makefile.am:
3490 Moved system template files to $(datadir)/glabels/templates.
3491 * libglabels/libglabels-private.h:
3492 Moved system template files to $(datadir)/glabels/templates.
3494 - Accounted for movement of ui and libglade files.
3495 - Added missing .in files.
3496 - Reorganized by directory.
3498 Accounted for movement of ui and libglade files.
3499 * data/mime/glabels.xml.in:
3500 New file for registering with freedesktop.org mime database.
3502 2004-08-07 Jim Evins <evins@snaught.com>
3504 * src/recent-files/*:
3505 Re-synced to latest libegg/recent-files.
3507 2004-08-07 Jim Evins <evins@snaught.com>
3512 Renamed "./doc" directory to "./help" which contains user documentation,
3513 to be more consistent with other GNOME applications.
3516 2004-07-26 Jim Evins <evins@snaught.com>
3518 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3519 Corrected button order of merge properties dialog.
3521 2004-07-18 Jim Evins <evins@snaught.com>
3523 * data/glabels-2.0.dtd:
3524 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3525 (gl_barcode_get_prefered_n):
3527 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3528 (gl_label_barcode_get_props), (get_size):
3529 * src/label-barcode.h:
3530 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3531 (style_changed_cb), (gl_object_editor_set_bc_style),
3532 (gl_object_editor_get_bc_style):
3533 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3534 (gl_object_editor_set_data), (gl_object_editor_get_data):
3535 * src/object-editor-private.h:
3536 * src/object-editor.c: (gl_object_editor_set_key_names):
3537 * src/object-editor.glade:
3538 * src/object-editor.h:
3539 * src/print.c: (draw_barcode_object):
3540 * src/view-barcode.c: (update_object_from_editor_cb),
3541 (update_editor_from_object_cb),
3542 (gl_view_barcode_create_event_handler), (draw_barcode):
3543 * src/xml-label-04.c: (xml04_parse_barcode_props):
3544 * src/xml-label-191.c: (xml191_parse_barcode_props):
3545 * src/xml-label.c: (xml_parse_object_barcode),
3546 (xml_create_object_barcode):
3547 Added "format" attribute to barcode objects. This attribute is used
3548 to properly format freeform barcodes barcodes prior to merge data is
3549 applied, so that barcodes can be accurately layed out. This addresses
3550 remaining issues of feature request #824787. Also added an example of
3551 the format in the object editor.
3553 2004-07-12 Jim Evins <evins@snaught.com>
3555 Various code cleanups.
3557 * src/label-barcode.c:
3558 Removed unneeded include of gnome-glyphlist.h.
3560 * src/label-text.c: (get_size):
3561 Fixed memory leak: unref glyphlists when done with them.
3563 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3564 * src/object-editor-data-page.c:
3565 (gl_object_editor_prepare_data_page):
3566 * src/object-editor-image-page.c:
3567 (gl_object_editor_prepare_image_page):
3568 * src/object-editor-line-page.c:
3569 (gl_object_editor_prepare_line_page):
3570 * src/object-editor-lsize-page.c:
3571 (gl_object_editor_prepare_lsize_page):
3572 * src/object-editor-position-page.c:
3573 (gl_object_editor_prepare_position_page):
3574 * src/object-editor-size-page.c:
3575 (gl_object_editor_prepare_size_page):
3576 * src/object-editor-text-page.c:
3577 (gl_object_editor_prepare_text_page):
3578 Removed unneeded size groups, originally intended to keep widgets aligned.
3579 Now use tables to lay these out in object-editor.glade.
3581 * src/print.c: (draw_text_object):
3582 Fixed memory leak: unref glyphlists when done with them.
3584 * src/view-barcode.c: (draw_barcode):
3585 Fixed memory leak: unref glyphlists when done with them.
3587 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3588 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3590 - Fixed memory leak: unref glyphlists when done with them.
3592 2004-07-11 Jim Evins <evins@snaught.com>
3594 * data/glabels-2.0.dtd:
3595 * src/label-text.c: (gl_label_text_instance_init), (copy),
3596 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3598 * src/object-editor-private.h:
3599 * src/object-editor-text-page.c:
3600 (gl_object_editor_prepare_text_page),
3601 (gl_object_editor_set_text_auto_shrink),
3602 (gl_object_editor_get_text_auto_shrink):
3603 * src/object-editor.c: (gl_object_editor_set_key_names):
3604 * src/object-editor.glade:
3605 * src/object-editor.h:
3606 * src/print.c: (draw_text_object):
3607 * src/view-text.c: (update_object_from_editor_cb),
3608 (update_editor_from_object_cb):
3609 * src/xml-label.c: (xml_parse_object_text),
3610 (xml_create_object_text):
3611 Added option to allow document merge to auto shrink text size to fit
3612 within the text box. The code in print.c that actually shrinks the
3613 text is loosely based on a patch submitted by Mark Harrison
3614 <mark.harrison@velocitynet.com.au>. This addresses feature request
3617 2004-07-11 Jim Evins <evins@snaught.com>
3619 * data/glabels-2.0.dtd:
3620 * libglabels/template.c: (gl_template_rect_label_type_new),
3621 (gl_template_round_label_type_new),
3622 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3623 (template_full_page):
3624 * libglabels/template.h:
3625 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3626 (xml_create_label_node):
3627 * pixmaps/ex-rect-size.png:
3628 * src/print.c: (clip_to_outline), (clip_punchouts):
3629 * src/template-designer.c: (construct_rect_size_page),
3630 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3632 * src/template-designer.glade:
3633 * src/xml-label-191.c: (xml191_parse_label):
3634 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3635 properties for rectangular labels. Templates remain backwards compatible,
3636 but this breaks the libglabels API (I don't know of anyone outside of
3637 glabels using libglabels at this time -- what can I say, the program is
3638 is still "unstable"). This addresses the suggestion in Feature Request
3641 2004-07-05 Jim Evins <evins@snaught.com>
3642 * src/print.c: (print_crop_marks), (draw_outline):
3643 Changed crop marks and label outlines to black, instead of 25% gray.
3644 This addresses debian Bug #257460.
3646 2004-07-05 Jim Evins <evins@snaught.com>
3648 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3649 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3650 Preserve "is_default" of fill and line color_combos when creating from
3653 2004-07-02 Jim Evins <evins@snaught.com>
3656 Created man page. Based on page submitted by Matthew J. Lockner, however
3657 it has been severely edited.
3659 * data/avery-other-templates.xml
3660 * data/misc-other-templates.xml:
3661 Started new files for predefined templates with non-standard sheet sizes.
3662 These have been initially populated with the Avery 06141 and
3663 OfficeMax #86112, both provided by Matthew J. Lockner.
3666 Install above manpage and template files.
3669 Make sure we install man pages.
3671 * src/glabels-batch.c:
3672 Changed short form of help option to '-?' to be consistent with glabels.
3675 Added acknowledgement for above labels.
3677 2004-07-02 Jim Evins <evins@snaught.com>
3679 * src/glabels.c: (main), (save_session_cb):
3680 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3682 - save_session_cb() now returns gboolean.
3683 - Minor formatting changes.
3687 - Now include file.h to provide missing prototype.
3688 - gl_window_get_type() now returns GType, not guint. I believe this may
3689 ultimately be cause of the segfault reported in Bug #982287, since
3690 GType is actually a gulong, which may not be compatible on other
3691 architectures (64bit) -- I cannot personally test this at this time.
3692 I was sloppy in several other xxx_get_type() functions which also
3693 returned guint -- see next group of files:
3695 * src/window.c: (gl_window_get_type):
3696 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3697 * src/canvas-hacktext.h:
3698 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3699 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3700 (gl_hig_hbox_get_type):
3702 * src/label-barcode.c: (gl_label_barcode_get_type):
3703 * src/label-barcode.h:
3704 * src/label-box.c: (gl_label_box_get_type):
3706 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3707 * src/label-ellipse.h:
3708 * src/label-image.c: (gl_label_image_get_type):
3709 * src/label-image.h:
3710 * src/label-line.c: (gl_label_line_get_type):
3712 * src/label-object.c: (gl_label_object_get_type):
3713 * src/label-object.h:
3714 * src/label-text.c: (gl_label_text_get_type):
3716 * src/label.c: (gl_label_get_type):
3718 * src/merge-properties-dialog.c:
3719 (gl_merge_properties_dialog_get_type):
3720 * src/merge-properties-dialog.h:
3721 * src/merge-text.c: (gl_merge_text_get_type):
3723 * src/merge.c: (gl_merge_get_type):
3725 * src/object-editor.c: (gl_object_editor_get_type):
3726 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3727 * src/prefs-dialog.h:
3728 * src/prefs-model.c: (gl_prefs_model_get_type):
3729 * src/prefs-model.h:
3730 * src/print-dialog.c: (gl_print_dialog_get_type):
3731 * src/print-dialog.h:
3732 * src/template-designer.c: (gl_template_designer_get_type):
3733 * src/template-designer.h:
3734 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3735 * src/ui-property-bar.h:
3736 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3738 * src/view-barcode.c: (gl_view_barcode_get_type):
3739 * src/view-barcode.h:
3740 * src/view-box.c: (gl_view_box_get_type):
3742 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3743 * src/view-ellipse.h:
3744 * src/view-highlight.c: (gl_view_highlight_get_type):
3745 * src/view-highlight.h:
3746 * src/view-image.c: (gl_view_image_get_type):
3748 * src/view-line.c: (gl_view_line_get_type):
3750 * src/view-object.c: (gl_view_object_get_type):
3751 * src/view-object.h:
3752 * src/view-text.c: (gl_view_text_get_type):
3754 * src/view.c: (gl_view_get_type):
3756 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3757 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3758 * src/wdgt-image-select.h:
3759 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3760 * src/wdgt-media-select.h:
3761 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3762 * src/wdgt-mini-preview.h:
3763 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3764 * src/wdgt-print-copies.h:
3765 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3766 * src/wdgt-print-merge.h:
3767 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3768 * src/wdgt-rotate-label.h:
3769 - Made sure all xxx_get_type functions returned GType, not guint. This
3770 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3771 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3772 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3773 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3774 window.[ch] details above for more info.
3775 - Reconciled various coding style differences in all xxx_get_type()
3777 * All prototypes include G_GNUC_CONST.
3778 * All prototypes specify the return value as GType, not GtkType
3780 * Info structures are all declared as "static const."
3781 * Generalized the names of type and info variables.
3782 * Miscelaneous formatting.
3784 2004-06-08 Jim Evins <evins@snaught.com>
3790 Don't touch compression of original file -- still defaults to 9 for
3791 new files. Original patch provided by Javier Donaire Segarra
3792 (#912252 in patch tracker).
3794 2004-05-05 Jim Evins <evins@snaught.com>
3796 * data/glabels-2.0.dtd:
3797 Broke DTD previously when adding new barcode types that contain a
3798 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3799 to avoid the problem.
3800 * data/avery-iso-templates.xml:
3801 * data/zweckform-iso-templates.xml:
3803 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3804 provided by Frank Altpeter.
3805 * libglabels/xml-template.c: (xml_create_label_node):
3806 Reordered markup and layout sub-nodes so that resulting templates will
3807 validate against DTD.
3809 2004-03-13 Jim Evins <evins@snaught.com>
3811 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3812 Changed spin callback signals from "value-changed" back to "changed."
3813 This was accidentally introduced in a previous revision, and can cause
3814 size changes just by selecting the size tab.
3816 2004-03-06 Jim Evins <evins@snaught.com>
3818 * src/view.c: (draw_grid_layer):
3819 For round labels (round and cd) adjust grid so that it lines up with
3820 center of label. Also, no longer draw box around label in the grid layer,
3821 it is hidden by he fg layer anyway. Feature suggested by
3822 nemolivier@free.fr. Although the grid is aligned with the center of the
3823 label, the coordinate system is still relative to the upper left corner
3824 of the rectangle containing the label.
3826 2004-02-25 Jim Evins <evins@snaught.com>
3829 Changed version to 2.0pre1cvs
3831 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3832 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3833 instead of doc->name fields when errors encountered.
3835 2004-02-21 Jim Evins <evins@snaught.com>
3837 * data/avery-iso-templates.xml:
3838 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3841 Added libglabels library and include file to installed files.
3844 Final prep for 1.93.3.
3846 2004-02-20 Jim Evins <evins@snaught.com>
3848 * src/glabels-batch.c: (main):
3849 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3850 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3852 2004-02-16 Jim Evins <evins@snaught.com>
3855 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3858 Added HAVE_FILE_CHOOSER to INCLUDES.
3860 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3861 (gl_file_save_as), (save_as_response):
3862 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3864 2004-02-16 Jim Evins <evins@snaught.com>
3866 * src/xml-label-04.c: (xml04_parse_image_props):
3867 * src/xml-label-191.c: (xml191_parse_image_props):
3868 * src/xml-label.c: (xml_parse_object_image):
3869 Delay setting image size until after image has been applied to new
3872 2004-02-15 Jim Evins <evins@snaught.com>
3874 * src/label-barcode.c: (gl_label_barcode_set_data),
3875 (gl_label_barcode_set_props):
3876 Don't emit "changed" signal, if no change actually made for these
3877 methods. Reduces number of unnecessary redraws of barcodes.
3879 * src/label-object.h:
3880 * src/label-object.c: (gl_label_object_set_position),
3881 (gl_label_object_set_position_relative), (set_size),
3882 (gl_label_object_set_size),
3883 (gl_label_object_set_size_honor_aspect):
3884 Don't emit "changed" signal, if no change actually made for these
3887 2004-02-15 Jim Evins <evins@snaught.com>
3889 * data/glabels-2.0.dtd:
3890 Added specific subtypes for various barcode types.
3893 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3894 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3895 (gl_barcode_can_text), (gl_barcode_text_optional),
3896 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3897 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3898 Changed API to use a string id, rather than a fixed enumeration. Id and
3899 name are separate strings. Added entries to backend table for specific
3900 subtypes for various barcode types.
3903 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3905 Modified to conform to above API. Now more stringent with data length
3906 for various subtypes.
3908 * src/bc-gnubarcode.h:
3909 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3910 (is_length_valid), (is_length1_valid), (is_length2_valid):
3911 Modified to conform to above API. Now more stringent with data length
3912 for various subtypes.
3914 * src/label-barcode.h:
3915 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3916 (gl_label_barcode_get_props), (get_size):
3917 Modified to use above API for storing barcode type.
3919 * src/object-editor.h:
3920 * src/object-editor-bc-page.c: (style_changed_cb),
3921 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3922 Modified to use above API for storing barcode type.
3924 * src/object-editor-size-page.c:
3925 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3926 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3927 Added debug markers.
3929 * src/object-editor.glade:
3930 Made barcode style combo's text entry non-editable.
3932 * src/print.c: (draw_barcode_object):
3933 Modified to use above API for barcode type.
3935 * src/view-barcode.c: (update_object_from_editor_cb),
3936 (update_editor_from_object_cb),
3937 (gl_view_barcode_create_event_handler), (draw_barcode):
3938 Modified to use above API for barcode type.
3940 * src/xml-label-04.c: (xml04_parse_barcode_props):
3941 * src/xml-label-191.c: (xml191_parse_barcode_props):
3942 * src/xml-label.c: (xml_parse_object_barcode),
3943 (xml_create_object_barcode):
3944 Modified to use above API for barcode type.
3946 2004-02-07 Jim Evins <evins@snaught.com>
3948 * src/stock-pixmaps/Makefile.am:
3949 * src/stock-pixmaps/stock_hchain_24.png:
3950 * src/stock-pixmaps/stock_hchain_broken_24.png:
3951 * src/stock-pixmaps/stock_vchain_24.png:
3952 * src/stock-pixmaps/stock_vchain_broken_24.png:
3953 Added chain pixmaps borrowed from the gimp's default theme.
3956 * src/stock.c: (gl_stock_init), (add_button_icon):
3957 Added above pixmaps to stock icon sets. Created add_button_icon() to
3958 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3960 * src/wdgt-chain-button.h
3961 * src/wdgt-chain-button.c
3964 Added this Modified version of gimpchainbutton widget, borrowed from
3968 Added acknowledgements of the above borrowing from the gimp.
3970 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3972 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3973 * src/object-editor.glade:
3974 Replaced the keep aspect ratio check box with the above chain-button
3977 * src/text-node.c: (gl_text_node_equal):
3979 Added function gl_text_node_equal() to compare text_nodes.
3981 * src/label-image.c: (gl_label_image_set_filename):
3982 Replaced incomplete text_node comparison code with invocation of
3983 gl_text_node_equal. This fixed the problem of not being able to
3984 resize an image using the object_editor if the aspect ratio is not
3987 2004-02-04 Jim Evins <evins@snaught.com>
3989 * src/object-editor-image-page.c:
3990 (gl_object_editor_prepare_image_page):
3991 Track "changed" signal of pixmap entry's GtkEntry rather than its
3992 "activate" signal -- this catches all changes to the entry rather than
3993 just changes resulting from a browse, so one can easily pull previous
3994 entries from the history. (This change is marked below on 2004-02-03,
3995 but somehow never got checked in.)
3997 * src/view-highlight.c: (sl_resize_event_handler),
3998 (sr_resize_event_handler), (st_resize_event_handler),
3999 (sb_resize_event_handler):
4000 Side resize handles will now confirm the actual resize that the object
4001 accepted before adjusting position parameters. Previously some interesting
4002 things happened when resizing a barcode to its minimum size.
4004 2004-02-03 Jim Evins <evins@snaught.com>
4006 * src/object-editor-image-page.c:
4007 (gl_object_editor_prepare_image_page):
4008 Track "changed" signal of pixmap entry's GtkEntry rather than its
4009 "activate" signal -- this catches all changes to the entry rather than
4010 just changes resulting from a browse, so one can easily pull previous
4011 entries from the history.
4013 * src/view-highlight.c: (tl_resize_event_handler),
4014 (tr_resize_event_handler), (bl_resize_event_handler),
4015 (br_resize_event_handler):
4016 Allow control key to be dropped while dragging a corner resize handle
4017 without losing the aspect ratio lock.
4019 2004-02-02 Jim Evins <evins@snaught.com>
4021 * src/label-image.c: (gl_label_image_set_filename):
4022 When setting a new filename adjust size such that the aspect ratio of
4023 the image is preserved using the current size as a bounding box.
4025 * src/view-image.c: (update_object_from_editor_cb):
4026 When updating object from editor, feed back possible size changes to
4027 editor as a result of a possible change in image.
4029 * src/object-editor-size-page.c: (size_reset_cb):
4030 Fixed typo when blocking spin handlers. If the base size is larger than
4031 the max size, treat max size as a bounding box while keeping aspect
4035 2004-02-02 Jim Evins <evins@snaught.com>
4037 * src/label-object.h:
4038 * src/label-object.c: (gl_label_object_set_size),
4039 (gl_label_object_set_size_honor_aspect):
4040 Added gl_label_object_set_size_honor_aspect() which will maintain the
4041 current aspect ratio by modifying the supplied w or h apropriately.
4043 * src/view-highlight.c: (tl_resize_event_handler),
4044 (tr_resize_event_handler), (bl_resize_event_handler),
4045 (br_resize_event_handler):
4046 Corner handles will now maintain the current aspect ratio if the
4047 control key is pressed while resizing. This addresses feature
4051 2004-01-31 Jim Evins <evins@snaught.com>
4054 * data/avery-us-templates.xml:
4055 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4057 * libglabels/template.c: (read_template_files_from_dir):
4058 Corrected problem with testing for extensions.
4060 * src/object-editor.glade:
4061 Corrected grouping of radio buttons in barcode data page.
4063 * src/print.c: (draw_barcode_object):
4064 * src/view-barcode.c: (draw_barcode):
4065 Corrected problem with calculation of y_offset for locating characters.
4067 2004-01-24 Jim Evins <evins@snaught.com>
4070 * data/avery-us-templates.xml:
4071 Added Avery 5824, submitted by Fred Bacon.
4073 2004-01-20 Jim Evins <evins@snaught.com>
4075 Catching up on a couple of backlogged user template submissions.
4077 * data/avery-iso-templates.xml:
4078 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4079 Suggested by Linas Jakucionis.
4081 * data/zweckform-iso-templates.xml:
4082 Added Zweckform 4760, submitted by Thomas Vill.
4085 Updated to reflect above submissions.
4087 2004-01-06 Jim Evins <evins@snaught.com>
4089 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4090 xml.[ch] into a separate library called libglabels, to facilitate third
4091 party use of glabels template files. This was suggested by Wayne Schuller.
4092 Once split-out, some modifications to the structures and functions to
4093 make a cleaner more useful API, hopefully. Rather extensive changes have
4094 propogated to other modules.
4102 * src/xml-template.h:
4103 * src/xml-template.c:
4106 These files have been moved to libglabels/. API cleanup performed.
4108 * libglabels/libglabels.h:
4109 * libglabels/libglabels-private.h:
4110 * libglabels/Makefile.am:
4111 These files have been added to finish out libglabels.
4118 Modified to reflect new sets of files in src/ and libglabels/.
4120 * COPYING.LIBGLABELS:
4122 Added copy of the LGPL for libglabels, and a copy the GFDL for
4125 * src/glabels-batch.c:
4127 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4128 (gl_label_get_size):
4130 * src/prefs-model.c: (gl_prefs_model_load_settings):
4131 * src/print-dialog.c:
4132 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4133 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4134 (print_crop_marks), (print_label), (draw_outline),
4135 (clip_to_outline), (clip_punchouts):
4136 * src/template-designer.c: (construct_pg_size_page),
4137 (pg_size_page_changed_cb), (layout_page_changed_cb),
4138 (print_test_cb), (build_template):
4139 * src/util.c: (gl_util_fraction):
4141 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4142 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4143 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4144 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4145 (draw_markup_margin_round), (draw_markup_margin_cd),
4146 (draw_markup_margin_cd_bc), (draw_markup_line),
4147 (draw_markup_circle), (gl_view_copy):
4148 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4149 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4150 (get_label_size_desc):
4151 * src/wdgt-mini-preview.c:
4152 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4154 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4155 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4156 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4157 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4158 * src/wdgt-rotate-label.h:
4159 * src/xml-label-04.c: (xml04_parse_media_description):
4160 * src/xml-label-191.c: (gl_xml_label_191_parse),
4161 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4162 (xml191_parse_markup), (xml191_parse_alias):
4163 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4165 Various changes to accomodate new libglabels API.
4167 2004-01-03 Jim Evins <evins@snaught.com>
4172 2004-01-03 Jim Evins <evins@snaught.com>
4175 Added acknowledgement of contributions by Wayne Schuller.
4177 * src/commands.c: (gl_cmd_file_print):
4178 Create extra reference to print dialog, so that it can be properly re-used.
4180 * src/mygal/mygal-combo-box.h:
4181 * src/mygal/mygal-combo-box.c:
4182 (mygal_combo_box_popup_hide_unconditional),
4183 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4184 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4185 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4186 (mygal_combo_box_set_tearable):
4187 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4188 complete the rename of this widget to prevent namespace collisions
4191 * src/prefs-dialog.glade:
4192 Fixed alignment of Fill/Color widgets.
4194 2004-01-03 Jim Evins <evins@snaught.com>
4196 * data/avery-iso-templates.xml:
4197 Added user submitted templates.
4198 Avery 8435A & 8435B, submitted by Ludger Solbach.
4200 * doc/C/glabels.xml:
4201 Added minimal documentation, noting the new template designer.
4203 2004-01-03 Jim Evins <evins@snaught.com>
4205 * pixmaps/ex-rect-size.png:
4206 * pixmaps/ex-round-size.png:
4207 * pixmaps/ex-cd-size.png:
4208 * pixmaps/Makefile.am:
4209 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4210 files to be used as illustrations/examples in the template-designer.
4212 * src/template-designer.c: (construct_rect_size_page),
4213 (construct_round_size_page), (construct_cd_size_page),
4214 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4215 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4216 (layout_page_prepare_cb), (build_template):
4217 * src/template-designer.glade:
4218 Added illustrations for rectangle, round, and cd label size pages.
4219 Added margin spinboxes to these pages, and now add a margin markup
4220 to the constructed template. Added realistic default values for
4221 some of the size spinboxes. Cleaned up the code for setting spinbox
4222 ranges on the layouts page.
4224 2004-01-02 Jim Evins <evins@snaught.com>
4226 * src/object-editor-size-page.c: (h_spin_cb):
4227 Fixed cut-n-paste error in h_spin_cb that loaded h from
4228 the wrong spinbutton.
4230 * src/object-editor.h:
4231 * src/object-editor.c: (gl_object_editor_class_init),
4232 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4233 * src/object-editor-private.h:
4234 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4236 Added "size_changed" signal.
4238 * src/view-text.c: (construct_properties_editor),
4239 (update_object_from_editor_cb),
4240 (update_object_from_editor_size_cb):
4241 Track size changes from object editor separately from other
4242 properties. This is so the default size (0,0) of a text
4243 object is not modified unintentionally.
4245 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4247 Added feature: line spacing - allows you to comfortably space a text box to
4248 fit a label perfectly.
4250 * data/glabels-2.0.dtd:
4251 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4252 (gl_label_object_get_text_alignment),
4253 (gl_label_object_get_text_line_spacing):
4254 * src/label-object.h:
4255 * src/label-text.c: (gl_label_text_class_init),
4256 (gl_label_text_instance_init), (copy), (get_size),
4257 (set_text_line_spacing), (get_text_alignment),
4258 (get_text_line_spacing):
4259 * src/object-editor-private.h:
4260 * src/object-editor-text-page.c:
4261 (gl_object_editor_prepare_text_page),
4262 (gl_object_editor_set_text_line_spacing),
4263 (gl_object_editor_get_text_line_spacing):
4264 * src/object-editor.glade:
4265 * src/object-editor.h:
4266 * src/prefs-dialog.c: (construct_object_page),
4267 (update_object_page_from_prefs), (update_prefs_from_object_page):
4268 * src/prefs-dialog.glade:
4269 * src/prefs-model.c: (gl_prefs_model_save_settings),
4270 (gl_prefs_model_load_settings), (get_float):
4271 * src/prefs-model.h:
4272 * src/print.c: (draw_text_object):
4274 * src/view-text.c: (update_object_from_editor_cb),
4275 (update_editor_from_object_cb),
4276 (gl_view_text_create_event_handler), (draw_hacktext):
4277 * src/view.c: (gl_view_construct),
4278 (gl_view_set_selection_text_line_spacing),
4279 (gl_view_set_default_text_line_spacing),
4280 (gl_view_get_default_text_line_spacing):
4282 * src/xml-label.c: (xml_parse_toplevel_span),
4283 (xml_create_toplevel_span):
4285 2003-12-30 Jim Evins <evins@snaught.com>
4287 * src/template-designer.c:
4288 * src/template-designer.h:
4289 * src/template-designer.glade:
4290 New template designer assistant.
4294 Added entries for src/template-designer.* files.
4296 * pixmaps/ex-1layout.png
4297 * pixmaps/ex-2layouts.png
4298 * pixmaps/Makefile.am:
4299 Added the new image files ex-*.png used as illustrations in the
4300 template designer assistant.
4302 * src/print-dialog.h:
4303 * src/print-dialog.c: (gl_print_dialog_finalize),
4304 (gl_print_dialog_new), (gl_print_dialog_construct),
4305 (gl_print_dialog_force_outline_flag):
4306 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4307 to support printing from the template designer assistant which does not
4308 have a full-fledged view. Nothing else from the view object was being
4309 used by the dialog anyway.
4311 Added the gl_print_dialog_force_outline_flag() method, for better
4312 integration with the template designer assistant.
4316 * src/commands.c: (gl_cmd_file_template_designer),
4317 (gl_cmd_file_print):
4318 Modified print command to provide label instead of view to dialog.
4319 Added the gl_cmd_file_template_designer() command to invoke the
4320 template designer assistant.
4323 * src/glabels-ui.xml:
4324 Added support for template designer assistant.
4326 * src/wdgt-mini-preview.h:
4327 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4328 (gl_wdgt_mini_preview_set_bg_color):
4329 Preview is now centered in canvas. Added
4330 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4331 assistant to match the background color with its own.
4333 * src/print.c: (clip_to_outline):
4334 Fixed really stupid bug when adding waste to clip region of rectangular
4335 labels/cards. Each side of the clip region needs to be extended by
4336 twice the waste margin, as well as negatively offset by the waste
4339 2003-12-28 Jim Evins <evins@snaught.com>
4341 * src/prefs-dialog.c: (update_object_page_from_prefs):
4342 Block intermediary function align_toggle_cb() instead of
4343 update_prefs_from_object_page() for the three alignment
4346 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4348 * src/file.c: (gl_file_new), (gl_file_properties):
4349 Swap button order and set default for higificatory pleasure.
4351 2003-12-27 Jim Evins <evins@snaught.com>
4353 * barcode-0.98/Makefile.am:
4354 One last time: removed doc/Makefile and po/Makefile.in.in from
4357 2003-12-27 Jim Evins <evins@snaught.com>
4359 * barcode-0.98/Makefile.am:
4360 Removed config.stat entry from EXTRA_DIST files.
4362 * barcode-0.98/Makefile.in:
4365 2003-12-27 Jim Evins <evins@snaught.com>
4368 Updated to work with latest gnome-common package from CVS.
4369 Removed recursive configuration of barcode-0.98.
4376 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4378 * barcode-0.98/Makefile.in:
4379 * barcode-0.98/configure.in:
4380 * barcode-0.98/Makefile.am:
4381 * barcode-0.98/README.glabels:
4382 Modified to ignore the barcode package's build system, and build
4383 as a part of glabels.
4384 Renamed Makefile.in to Makefile.in.dist.
4385 Renamed configure.in to configure.in.dist.
4386 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4389 * src/mygal/Makefile.am:
4390 * src/recent-files/Makefile.am:
4391 In order to build against the GNOME 2.5 platform,
4392 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4394 * src/mygal/Makefile.am:
4395 * src/mygal/mygal-combo-box.c:
4396 * src/mygal/mygal-combo-box.h:
4397 * src/mygal/widget-color-combo.c:
4398 * src/mygal/widget-color-combo.h:
4400 In order to build against the GNOME 2.5 platform,
4401 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4402 collisions with the real gtk_combo_box widget, now a part of gtk.
4404 2003-12-26 Jim Evins <evins@snaught.com>
4410 Moved local versions of get_home_data_dir() in paper.c and
4411 template.c to util package. Cleaned up formatting in
4415 In gl_template_register() save a copy of the template in
4416 ~/.glabels if the template is not known. Still need to
4417 handle duplicate filename case and duplicate name but
4418 different template case.
4422 Moved local definition of NAME_SPACE macro from xml-label.c
4425 * src/xml-template.c:
4426 * src/xml-template.h:
4427 Added function gl_xml_template_write_template_to_file(), used
4428 in gl_template_register().