1 2008-12-27 Jim Evins <evins@snaught.com>
4 Updated german translation (Mario Blättermann)
6 Updated credits to reflect above translation.
7 * data/builder/object-editor.glade:
8 * data/builder/prefs-dialog.glade:
9 * data/builder/template-designer.glade:
10 Removed "translatable" attribute from whitespace strings,
11 which are used only to help layout.
13 2008-12-21 Jim Evins <evins@snaught.com>
15 * data/templates/avery-us-templates.xml:
16 * data/templates/misc-iso-templates.xml:
17 A couple of recent template submissions.
19 Acknowledgements for above templates.
21 2008-12-21 Jim Evins <evins@snaught.com>
23 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
24 Don't check for handles on aggregate selections.
26 2008-12-20 Jim Evins <evins@snaught.com>
29 Updated prerequisite library versions required.
31 2008-12-18 Jim Evins <evins@snaught.com>
33 * src/view.c: (selection_received_cb):
34 Fixed paste bug that caused a duplicate phantom view_object to be created for
35 each new label_object. This is because the view now (as of r673) the view
36 monitiors the label for new objects and creates view_objects automatically.
38 2008-12-14 Jim Evins <evins@snaught.com>
40 * src/ui.c: (gl_ui_new):
41 Bug #2395628. Fixed i18n for application shell.
43 Bug #2395628. Reconciled POTFILES.in with current files.
45 2008-12-14 Jim Evins <evins@snaught.com>
48 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
50 2008-11-15 Jim Evins <evins@snaught.com>
52 * libglabels/db.c: (lgl_db_register_template):
53 * libglabels/xml-template.c:
54 (lgl_xml_template_parse_template_node):
55 * src/glabels-batch.c:
56 * src/view-text.c: (gl_view_text_create_button_press_event):
57 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
59 2008-11-09 Jim Evins <evins@snaught.com>
61 * data/templates/misc-iso-templates.xml:
62 Another user submitted template.
64 2008-10-27 Jim Evins <evins@snaught.com>
66 * data/templates/avery-us-templates.xml:
67 * data/templates/misc-iso-templates.xml:
68 * data/templates/zweckform-iso-templates.xml:
69 Caught up on user submitted templates.
71 Acknowledgements for above templates.
73 2008-10-23 Jim Evins <evins@snaught.com>
75 * src/label-text.c: (set_font_family):
76 * src/object-editor-text-page.c:
77 (gl_object_editor_prepare_text_page),
78 (gl_object_editor_set_font_family):
79 * src/prefs-dialog.c: (construct_object_page),
80 (update_object_page_from_prefs):
81 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
82 (reset_to_default_properties):
83 * src/util.c: (gl_util_get_font_family_list):
85 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
86 everytime the list is requested.
87 * src/object-editor-text-page.c:
88 (gl_object_editor_set_font_family):
89 Don't change font-family if it hasn't actually changed.
91 2008-10-19 Jim Evins <evins@snaught.com>
93 * data/builder/object-editor.glade:
94 Some tweaking of builder/glade widgets.
96 2008-10-18 Jim Evins <evins@snaught.com>
98 Migrated all use of libglade to GtkBuilder.
100 * data/glade/Makefile.am:
101 * data/glade/merge-properties-dialog.glade:
102 * data/glade/new-label-dialog.glade:
103 * data/glade/object-editor.glade:
104 * data/glade/prefs-dialog.glade:
105 * data/glade/print-custom-widget.glade:
106 * data/glade/property-bar.glade:
107 * data/glade/template-designer.glade:
108 * data/glade/wdgt-media-select.glade:
109 Removed data/glade directory.
110 * data/builder/Makefile.am:
111 * data/builder/merge-properties-dialog.glade:
112 * data/builder/new-label-dialog.glade:
113 * data/builder/object-editor.glade:
114 * data/builder/prefs-dialog.glade:
115 * data/builder/print-custom-widget.glade:
116 * data/builder/property-bar.glade:
117 * data/builder/template-designer.glade:
118 * data/builder/wdgt-media-select.glade:
119 Added data/builder directory.
123 Change glade to builder.
124 * src/merge-properties-dialog.c:
125 (gl_merge_properties_dialog_finalize),
126 (gl_merge_properties_dialog_construct):
127 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
128 (gl_new_label_dialog_construct):
129 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
130 * src/object-editor-data-page.c:
131 (gl_object_editor_prepare_data_page):
132 * src/object-editor-edit-page.c:
133 (gl_object_editor_prepare_edit_page):
134 * src/object-editor-fill-page.c:
135 (gl_object_editor_prepare_fill_page):
136 * src/object-editor-image-page.c:
137 (gl_object_editor_prepare_image_page):
138 * src/object-editor-line-page.c:
139 (gl_object_editor_prepare_line_page):
140 * src/object-editor-lsize-page.c:
141 (gl_object_editor_prepare_lsize_page):
142 * src/object-editor-position-page.c:
143 (gl_object_editor_prepare_position_page):
144 * src/object-editor-private.h:
145 * src/object-editor-shadow-page.c:
146 (gl_object_editor_prepare_shadow_page):
147 * src/object-editor-size-page.c:
148 (gl_object_editor_prepare_size_page):
149 * src/object-editor-text-page.c:
150 (gl_object_editor_prepare_text_page):
151 * src/object-editor.c: (gl_object_editor_init):
152 * src/prefs-dialog.c: (gl_prefs_dialog_init),
153 (gl_prefs_dialog_construct), (construct_locale_page),
154 (construct_object_page):
155 * src/print-op.c: (gl_print_op_finalize),
156 (create_custom_widget_cb):
157 * src/template-designer.c: (gl_template_designer_class_init),
158 (gl_template_designer_finalize), (gl_template_designer_construct),
159 (construct_start_page), (construct_name_page),
160 (construct_pg_size_page), (construct_shape_page),
161 (construct_rect_size_page), (construct_round_size_page),
162 (construct_cd_size_page), (construct_nlayouts_page),
163 (construct_layout_page), (construct_finish_page):
164 * src/template-designer.h:
165 * src/ui-property-bar.c: (gl_ui_property_bar_init),
166 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
167 (gl_ui_property_bar_construct), (reset_to_default_properties),
168 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
169 (update_text_properties), (update_fill_color), (update_line_color),
170 (update_line_width), (selection_changed_cb),
171 (font_family_changed_cb), (font_size_changed_cb),
172 (text_color_changed_cb), (fill_color_changed_cb),
173 (line_color_changed_cb), (line_width_changed_cb),
174 (font_bold_toggled_cb), (font_italic_toggled_cb),
175 (text_align_toggled_cb), (set_doc_items_sensitive),
176 (set_text_items_sensitive), (set_fill_items_sensitive),
177 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
178 * src/ui-property-bar.h:
179 * src/util.c: (gl_util_get_builder_widgets):
181 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
182 (gl_wdgt_media_select_construct):
183 Migration of glade to builder.
185 New macros for color combo initialization.
187 Added idea for internal merge database.
188 * docs/libglabels/libglabels-undocumented.txt:
189 * docs/libglabels/tmpl/paper.sgml:
193 2008-10-12 Jim Evins <evins@snaught.com>
195 * src/mygal/Makefile.am:
196 * src/mygal/color-group.c:
197 * src/mygal/color-group.h:
198 * src/mygal/color-palette.c:
199 * src/mygal/color-palette.h:
200 * src/mygal/e-colors.c:
201 * src/mygal/e-colors.h:
202 * src/mygal/e-marshal.list:
203 * src/mygal/e-util.h:
204 * src/mygal/mygal-combo-box.c:
205 * src/mygal/mygal-combo-box.h:
206 * src/mygal/widget-color-combo.c:
207 * src/mygal/widget-color-combo.h:
213 * src/color-combo-color-menu-item.c:
214 * src/color-combo-color-menu-item.h:
215 * src/color-combo-history.c:
216 * src/color-combo-history.h:
217 * src/color-combo-menu.c:
218 * src/color-combo-menu.h:
223 Created new glColorCombo widget.
224 * src/object-editor-bc-page.c:
225 * src/object-editor-edit-page.c:
226 * src/object-editor-fill-page.c:
227 * src/object-editor-line-page.c:
228 * src/object-editor-shadow-page.c:
229 * src/object-editor-text-page.c:
230 * src/object-editor.c:
231 * src/prefs-dialog.c:
232 * src/ui-property-bar.c:
233 Replaced use of mygal color combo with new glColorCombo widget.
235 2008-08-29 Jim Evins <evins@snaught.com>
237 * src/file.c: (gl_file_open), (gl_file_save_as):
238 Bug #2069668. Corrected button order in Open and "Save as"
241 2008-08-17 Jim Evins <evins@snaught.com>
243 * data/dtd/glabels-2.2.dtd:
244 * data/templates/paper-sizes.xml:
245 * libglabels/db.c: (lgl_db_init):
246 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
247 * libglabels/paper.h:
248 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
249 * src/print-op.c: (set_page_size):
250 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
251 size specification) to the libglabels paper database to allow the page size to be
252 communicated to GtkPrintOp un-ambiguously.
254 2008-07-25 Jim Evins <evins@snaught.com>
256 * src/object-editor-size-page.c: (size_reset_cb),
257 (gl_object_editor_set_max_size):
258 Bug #1993550. Set size limits based on longest side of label.
260 2008-07-19 Jim Evins <evins@snaught.com>
263 * src/mygal/Makefile.am:
264 Make sure libtool handles library dependencies for mygal
267 2008-05-21 Jim Evins <evins@snaught.com>
269 * src/glabels-batch.c: (main):
270 Bug #1968653. Initialize prefs subsystem.
272 2008-05-09 Jim Evins <evins@snaught.com>
274 * data/glade/object-editor.glade:
275 Bug #1959135. A couple of radio buttons somehow became
278 2008-04-07 Jim Evins <evins@snaught.com>
280 * src/wdgt-rotate-label.h:
281 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
282 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
283 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
284 (gl_wdgt_rotate_label_set_template_name):
285 Modified wdgt-rotate-label to better indicate the rotation choices.
286 * data/glade/Makefile.am:
287 * data/glade/wdgt-rotate-label.glade:
288 Deleted wdgt-rotate-label.glade.
290 2008-04-04 Jim Evins <evins@snaught.com>
292 * data/templates/brother-other-templates.xml:
293 Added categories to existing templates.
294 * data/templates/misc-other-templates.xml:
295 Moved dymo templates to their own file.
296 * data/templates/Makefile.am:
297 * data/templates/dymo-other-templates.xml:
298 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
300 Acknowledgement for above templates.
302 2008-03-24 Jim Evins <evins@snaught.com>
304 * src/xml-label.c: (xml_doc_to_label):
305 Bug #1872584. Don't refuse to parse label file if namespace is
306 unrecognized -- it may be from a newer version of glabels.
308 2008-03-15 Jim Evins <evins@snaught.com>
310 * data/templates/Makefile.am:
311 * data/templates/brother-other-templates.xml:
312 Added brother templates.
313 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
314 (gl_cairo_markup_margin_cd_path):
315 * src/view.c: (draw_markup_layer):
316 Fixed markup drawing errors when label is rotated.
318 2008-03-03 Jim Evins <evins@snaught.com>
322 Added korean translation provided by xein@naver.com.
324 2008-02-21 Jim Evins <evins@snaught.com>
327 Fixed typo that prevented "Save" from being deactivated when
328 document is not modified.
330 2008-02-18 Jim Evins <evins@snaught.com>
332 * src/prefs-model.c: (gl_prefs_model_save_settings),
333 (gl_prefs_model_load_settings):
334 Set default units for file output.
336 2008-02-18 Jim Evins <evins@snaught.com>
338 * help/C/glabels.xml:
339 Fixed example template.
341 2008-02-16 Jim Evins <evins@snaught.com>
344 * data/templates/avery-iso-templates.xml:
345 * data/templates/avery-us-templates.xml:
346 * data/templates/misc-iso-templates.xml:
347 * data/templates/misc-us-templates.xml:
348 Caught up on user submitted templates.
350 2008-02-04 Jim Evins <evins@snaught.com>
352 * src/view-image.c: (update_object_from_editor_cb):
353 Bug #1886438. Don't update the image size unless it is actually
354 triggered by a change in image source. The result of this bug
355 was that any attempt to edit the size spinboxes, immediately
358 2008-02-03 Jim Evins <evins@snaught.com>
360 * src/label-image.c: (gl_label_image_class_init), (set_size):
361 Enforce minimum size for images.
363 2008-02-03 Jim Evins <evins@snaught.com>
365 * src/object-editor-edit-page.c: (field_selected_cb):
366 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
367 * src/object-editor-private.h:
368 * src/object-editor-shadow-page.c:
369 (gl_object_editor_set_max_shadow_offset):
370 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
371 * src/object-editor.c: (gl_object_editor_finalize),
372 (gl_object_editor_new), (gl_object_notebook_construct_valist),
374 * src/object-editor.h:
375 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
376 * src/view-barcode.c: (construct_properties_editor):
377 * src/view-box.c: (construct_properties_editor):
378 * src/view-ellipse.c: (construct_properties_editor):
379 * src/view-image.c: (construct_properties_editor):
380 * src/view-line.c: (construct_properties_editor):
381 * src/view-object.c: (gl_view_object_finalize):
382 * src/view-text.c: (construct_properties_editor),
383 Move update_editor_from_label callback from individual view objects
384 to the object editor, so that signals can be disconnected when
385 object editor is finalized.
386 * src/view-text.c: (gl_view_text_create_button_press_event):
387 Fixed bug that caused multiple view objects to be created for a
388 single text object. This bug would manifest itself as a crash
389 when deleting multi-object selections which included text objects.
391 2008-02-02 Jim Evins <evins@snaught.com>
394 * src/wdgt-merge-menu.c:
395 * src/wdgt-merge-menu.h:
396 * src/debug.c: (gl_debug_init):
399 New merge menu widget.
400 * data/glade/object-editor.glade:
401 * src/object-editor-private.h:
402 * src/object-editor.c: (gl_object_editor_set_key_names):
403 * src/object-editor-edit-page.c:
404 (gl_object_editor_prepare_edit_page), (field_selected_cb),
406 Simplified UI for inserting fields into text objects by launching
407 a merge menu and directly inserting fields from the menu. No more
408 selecting field in combobox, then pressing insert button.
410 2008-01-31 Jim Evins <evins@snaught.com>
412 * src/label-barcode.c: (draw_object):
413 Fixed rendering problem when "Invalid data" is displayed when text
414 object is lower in stacking order.
416 2008-01-30 Jim Evins <evins@snaught.com>
418 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
419 Don't turn off cairo_hint_metrics. This causes serious issues with
422 2008-01-29 Jim Evins <evins@snaught.com>
424 * src/print-op.c: (gl_print_op_construct),
425 (gl_print_op_construct_batch), (set_page_size):
426 Explicitly set page size for "other" page sizes.
428 2008-01-25 Jim Evins <evins@snaught.com>
431 Fixed Code128C backend parameters.
432 * src/label-barcode.c: (get_size):
433 Bug #1766425. If barcode is not renderable with either
434 input data or default data, use a default size. Also
437 2008-01-16 Jim Evins <evins@snaught.com>
439 * src/print.c: (print_label):
440 Bug #1872568. Don't apply special transforms (rotate and
441 mirror) to clipping region or outline.
443 2008-01-01 Jim Evins <evins@snaught.com>
446 Sort font lists alphabetically.
448 2008-01-01 Jim Evins <evins@snaught.com>
450 * src/merge-evolution.c:
451 Do a case-insensitive sort.
453 2008-01-01 Jim Evins <evins@snaught.com>
455 * src/merge-evolution.c:
456 Sort evolution by "file_under" field. Original patch provided
457 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
460 Added acknowledgement for above patch.
462 2008-01-01 Jim Evins <evins@snaught.com>
467 Reconcile with 2.2 branch.
470 2007-12-21 Jim Evins <evins@snaught.com>
472 * COPYING.LIBGLABELS:
473 * COPYING.README_FIRST:
475 Updating license information to make more complete and understandable.
477 2007-12-16 Jim Evins <evins@snaught.com>
480 Updated version to 2.pre2.
481 * help/C/glabels.xml:
482 Updated documentation.
483 * src/ui-commands.c: (gl_ui_cmd_help_about):
484 Updated copyright string.
486 2007-12-15 Jim Evins <evins@snaught.com>
488 * data/glade/object-editor.glade:
489 Removed any GtkTable that contained a GtkComboBox because the size of
490 the combo box was not constrained properly. This sacrifices the nice
491 orderly labels for combo boxes that don't extend beyond the edge of the
494 2007-12-15 Jim Evins <evins@snaught.com>
496 * libglabels/db.c: (lgl_db_lookup_template_from_name):
497 * src/object-editor.c: (gl_object_editor_finalize):
498 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
499 Fixed several small memory leaks.
501 2007-12-14 Jim Evins <evins@snaught.com>
504 Optimize template search by name by using a GHashTable.
505 * src/mini-preview-pixbuf-cache.c:
506 * src/mini-preview-pixbuf-cache.h:
507 Store one pixbuf per template, but use a key for each alias.
508 * src/wdgt-media-select.c:
509 Optimize loading of tree data, thus optimizing the "new label" dialog.
511 2007-12-12 Jim Evins <evins@snaught.com>
513 * data/templates/avery-us-templates.xml:
514 More templates and aliases.
516 2007-12-08 Jim Evins <evins@snaught.com>
519 More prep for 2.1.5/2.2.0.
521 2007-12-08 Jim Evins <evins@snaught.com>
527 Preparation for 2.1.5.
529 2007-12-08 Jim Evins <evins@snaught.com>
531 * docs/libglabels/libglabels-decl-list.txt:
532 * docs/libglabels/libglabels-docs.sgml:
533 * docs/libglabels/libglabels-sections.txt:
534 * docs/libglabels/libglabels-undocumented.txt:
535 * docs/libglabels/tmpl/db.sgml:
536 * docs/libglabels/tmpl/str.sgml:
538 Documentation cleanup for libglabels.
540 2007-11-29 Jim Evins <evins@snaught.com>
544 Added lgl_db_does_template_name_exist().
545 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
548 Proof read recent templates -- make sure they still exist.
549 * src/wdgt-media-select.c:
550 Default to "search all templates" tab if no recent templates found.
552 2007-11-28 Jim Evins <evins@snaught.com>
554 * data/glade/wdgt-media-select.glade:
555 * src/wdgt-media-select.c:
556 Added tabbed notebook to allow selection of recent template versus searching the
560 2007-11-26 Jim Evins <evins@snaught.com>
562 * libglabels/Makefile.am:
563 * libglabels/libglabels.h:
566 * src/prefs-dialog.c:
571 Added tracking of recently used templates.
573 2007-11-20 Jim Evins <evins@snaught.com>
575 * data/glade/template-designer.glade:
576 * src/template-designer.c:
577 Added warning icon when match brand and part match an existing template.
579 2007-11-18 Jim Evins <evins@snaught.com>
581 * libglabels/Makefile.am:
584 Added lgl_str_utf8_casecmp().
585 * libglabels/libglabels-private.h:
586 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
587 * libglabels/db.c: (lgl_db_get_brand_list):
588 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
591 2007-11-18 Jim Evins <evins@snaught.com>
593 * data/glade/template-designer.glade:
594 * src/template-designer.c:
595 Don't advance past name page, if brand and part match an existing template.
597 2007-11-18 Jim Evins <evins@snaught.com>
599 * libglabels/db.c: (lgl_db_register_template), (read_templates):
600 When registering a new template, don't add to "User defined" category before
601 writing to file. Add to "User defined" category when reading from "~/.glabels"
602 directory instead. This will allow legacy templates (and manually created
603 templates) to be automatically added to the "user defined" category.
604 * libglabels/xml-template.c:
605 (lgl_xml_template_create_template_node):
606 Fixed typo/bug causing brand to be wrong.
608 2007-11-16 Jim Evins <evins@snaught.com>
612 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
613 function. Automatically create "User defined" category and add to all user
614 registered templates.
615 * libglabels/xml-template.c:
616 * libglabels/xml-template.h:
617 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
618 lgl_xml_template_write_template_to_file().
619 * docs/libglabels/libglabels-decl-list.txt:
620 * docs/libglabels/libglabels-sections.txt:
621 * docs/libglabels/libglabels-undocumented.txt:
622 * docs/libglabels/tmpl/db.sgml:
623 * docs/libglabels/tmpl/xml-template.sgml:
624 Update documentation to reflect above changes.
626 2007-10-28 Jim Evins <evins@snaught.com>
628 * libglabels/xml-template.c:
629 Remove any leading white space from part #s when parsing old names.
630 * src/mini-preview-pixbuf-cache.c:
631 If name isn't in cache add it.
633 2007-10-26 Jim Evins <evins@snaught.com>
635 * libglabels/Makefile.am:
636 * libglabels/category.c:
637 * libglabels/category.h:
640 * libglabels/libglabels-private.h:
641 * libglabels/libglabels.h:
642 * libglabels/paper.c:
643 * libglabels/paper.h:
644 * libglabels/template.c:
645 * libglabels/template.h:
646 * libglabels/xml-template.c:
647 Another pass at screwing with the libglabels API. Moved all
648 database related stuff to db.[ch].
649 * docs/libglabels/libglabels-decl-list.txt:
650 * docs/libglabels/libglabels-docs.sgml:
651 * docs/libglabels/libglabels-sections.txt:
652 * docs/libglabels/libglabels-undocumented.txt:
653 * docs/libglabels/tmpl/category.sgml:
654 * docs/libglabels/tmpl/db.sgml:
655 * docs/libglabels/tmpl/init.sgml:
656 * docs/libglabels/tmpl/libglabels-unused.sgml:
657 * docs/libglabels/tmpl/paper.sgml:
658 * docs/libglabels/tmpl/template-construction.sgml:
659 * docs/libglabels/tmpl/template-db.sgml:
660 * docs/libglabels/tmpl/template-misc.sgml:
661 * docs/libglabels/tmpl/template-struct.sgml:
662 * docs/libglabels/tmpl/template.sgml:
663 Updated documentation to reflect above changes to libglabels API.
665 * src/glabels-batch.c:
667 * src/mini-preview-pixbuf-cache.c:
670 * src/template-designer.c:
671 * src/wdgt-media-select.c:
672 * src/wdgt-mini-preview.c:
673 * src/wdgt-rotate-label.c:
674 * src/xml-label-04.c:
676 Reconciled usage with above libglabels API changes.
678 2007-10-21 Jim Evins <evins@snaught.com>
680 * data/glade/wdgt-media-select.glade:
681 * src/wdgt-media-select.c:
682 Added brand to filter settings.
684 2007-10-21 Jim Evins <evins@snaught.com>
686 * data/dtd/glabels-2.2.dtd:
687 Forgot to replace Alias name attribute with brand and part attributes.
688 * data/templates/avery-iso-templates.xml:
689 * data/templates/avery-other-templates.xml:
690 * data/templates/avery-us-templates.xml:
691 * data/templates/misc-iso-templates.xml:
692 * data/templates/misc-other-templates.xml:
693 * data/templates/misc-us-templates.xml:
694 * data/templates/zweckform-iso-templates.xml:
695 Replaced all name attributes with brand/part attribute pairs.
697 2007-10-20 Jim Evins <evins@snaught.com>
699 * src/stock-pixmaps/*.png
700 Updated icons to use Tango color palette.
702 2007-10-20 Jim Evins <evins@snaught.com>
704 * data/dtd/Makefile.am:
705 * data/dtd/glabels-2.0.dtd:
706 * data/dtd/glabels-2.2.dtd:
707 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
709 * libglabels/template.c:
710 * libglabels/template.h:
711 * libglabels/xml-template.c:
713 Added brand and part attributes to template and alias structures and nodes.
716 * src/mini-preview-pixbuf-cache.c:
717 * src/template-designer.c:
718 * src/wdgt-media-select.c:
719 Use modified libglabels API.
720 * docs/libglabels/libglabels-decl-list.txt:
721 * docs/libglabels/libglabels-sections.txt:
722 * docs/libglabels/libglabels-undocumented.txt:
723 * docs/libglabels/tmpl/template-construction.sgml:
724 * docs/libglabels/tmpl/template-db.sgml:
725 * docs/libglabels/tmpl/template-struct.sgml:
726 Update libglabels documentation to reflect above modifications.
728 2007-10-14 Jim Evins <evins@snaught.com>
730 * docs/libglabels/libglabels-decl-list.txt:
731 * docs/libglabels/libglabels-sections.txt:
732 * docs/libglabels/libglabels-undocumented.txt:
733 * docs/libglabels/tmpl/category.sgml:
734 * libglabels/category.c:
735 * libglabels/category.h:
736 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
737 parity with paper functions.
739 2007-10-12 Jim Evins <evins@snaught.com>
741 * docs/libglabels/libglabels-decl-list.txt:
742 * docs/libglabels/libglabels-sections.txt:
743 * docs/libglabels/libglabels-undocumented.txt:
744 * docs/libglabels/tmpl/category.sgml:
745 * docs/libglabels/tmpl/enums.sgml:
746 * docs/libglabels/tmpl/libglabels-unused.sgml:
747 * docs/libglabels/tmpl/paper.sgml:
748 * docs/libglabels/tmpl/template-struct.sgml:
750 * libglabels/template.c:
751 * libglabels/template.h:
752 Another pass at fleshing out the libglabels documentation.
753 * src/cairo-label-path.c:
754 * src/cairo-markup-path.c:
756 * src/mini-preview-pixbuf.c:
760 * src/wdgt-media-select.c:
761 * src/wdgt-mini-preview.c:
762 * src/wdgt-print-copies.c:
763 * src/wdgt-print-merge.c:
764 * src/wdgt-rotate-label.c:
765 Removed lgl_template_get_first_frame() from libglabels API and all references.
767 2007-10-11 Jim Evins <evins@snaught.com>
769 Extended checks for deprecated symbols.
770 * libglabels/template.c:
771 Removed g_strcasecmp references, which are deprecated.
773 2007-10-09 Jim Evins <evins@snaught.com>
775 * src/merge-evolution.c:
776 Create address book if it does not exist. Also, be more robust about handling
777 error conditions -- don't just assume GError has been set.
779 2007-10-08 Jim Evins <evins@snaught.com>
781 * libglabels/template.c:
782 * libglabels/xml-template.c:
783 * src/template-designer.c:
784 Missed some symbols with libglabels API work.
786 2007-10-01 Jim Evins <evins@snaught.com>
788 * docs/libglabels/libglabels-decl-list.txt:
789 * docs/libglabels/libglabels-docs.sgml:
790 * docs/libglabels/libglabels-sections.txt:
791 * docs/libglabels/libglabels-undocumented.txt:
792 * docs/libglabels/tmpl/category.sgml:
793 * docs/libglabels/tmpl/enums.sgml:
794 * docs/libglabels/tmpl/init.sgml:
795 * docs/libglabels/tmpl/libglabels-unused.sgml:
796 * docs/libglabels/tmpl/paper.sgml:
797 * docs/libglabels/tmpl/template-construction.sgml:
798 * docs/libglabels/tmpl/template-db.sgml:
799 * docs/libglabels/tmpl/template-misc.sgml:
800 * docs/libglabels/tmpl/template-struct.sgml:
801 * docs/libglabels/tmpl/template.sgml:
802 * docs/libglabels/tmpl/xml-category.sgml:
803 * docs/libglabels/tmpl/xml-template.sgml:
804 * libglabels/category.h:
806 * libglabels/libglabels-private.h:
807 * libglabels/paper.h:
808 * libglabels/template.c:
809 * libglabels/template.h:
810 * libglabels/xml-template.h:
811 Basic documentation framework for libglabels updated. This still needs some
814 2007-09-27 Jim Evins <evins@snaught.com>
816 * docs/libglabels/libglabels-decl-list.txt:
817 * docs/libglabels/libglabels-docs.sgml:
818 * docs/libglabels/libglabels-sections.txt:
819 * docs/libglabels/libglabels-undocumented.txt:
820 * docs/libglabels/tmpl/enums.sgml:
821 * docs/libglabels/tmpl/init.sgml:
822 * docs/libglabels/tmpl/libglabels-unused.sgml:
823 * docs/libglabels/tmpl/paper.sgml:
824 * docs/libglabels/tmpl/template.sgml:
825 * docs/libglabels/tmpl/xml-paper.sgml:
826 * docs/libglabels/tmpl/xml-template.sgml:
827 * docs/libglabels/tmpl/xml.sgml:
828 * libglabels/Makefile.am:
829 * libglabels/category.c:
830 * libglabels/category.h:
831 * libglabels/enums.h:
834 * libglabels/libglabels-private.h:
835 * libglabels/libglabels.h:
836 * libglabels/paper.c:
837 * libglabels/paper.h:
838 * libglabels/template.c:
839 * libglabels/template.h:
840 * libglabels/xml-category.c:
841 * libglabels/xml-category.h:
842 * libglabels/xml-paper.c:
843 * libglabels/xml-paper.h:
844 * libglabels/xml-template.c:
845 * libglabels/xml-template.h:
848 * src/cairo-label-path.c:
849 * src/cairo-label-path.h:
850 * src/cairo-markup-path.c:
851 * src/cairo-markup-path.h:
853 * src/glabels-batch.c:
855 * src/label-object.c:
858 * src/mini-preview-pixbuf-cache.c:
859 * src/mini-preview-pixbuf.c:
860 * src/mini-preview-pixbuf.h:
861 * src/prefs-dialog.c:
868 * src/template-designer.c:
869 * src/view-barcode.c:
871 * src/view-ellipse.c:
875 * src/wdgt-media-select.c:
876 * src/wdgt-mini-preview.c:
877 * src/wdgt-mini-preview.h:
878 * src/wdgt-print-copies.c:
879 * src/wdgt-print-merge.c:
880 * src/wdgt-rotate-label.c:
881 * src/xml-label-04.c:
883 Major cleanup of libglabels API -- this breaks API compatibility with older
884 development and stable versions -- as far as I know, there are currently
885 no external users of this library yet.
887 2007-09-14 Jim Evins <evins@snaught.com>
892 * src/label-object.c:
893 * src/label-object.h:
894 * src/label-barcode.c:
895 * src/label-ellipse.c:
898 * src/view-barcode.c:
900 * src/view-ellipse.c:
904 Better separation of model from view.
906 2007-08-21 Jim Evins <evins@snaught.com>
908 * src/print-op.c: (create_custom_widget_cb):
909 Fix problem with force_outline_flag -- don't override with default.
911 2007-08-21 Jim Evins <evins@snaught.com>
913 * data/dtd/glabels-2.0.dtd:
914 * libglabels/template.c:
915 * libglabels/template.h:
916 * libglabels/xml-template.c:
917 * src/cairo-markup-path.c:
918 Added "Markup-rect" element to template format.
920 2007-08-21 Jim Evins <evins@snaught.com>
923 Changed version to 2.1.pre5svn.
924 * src/view.c: (draw_markup_layer):
925 Do a stroke for each markup path, otherwise multiple markups
928 2007-08-17 Jim Evins <evins@snaught.com>
931 Bump libglabels revision numbers for 2.1.4 release.
933 2007-08-16 Jim Evins <evins@snaught.com>
936 Include subdir iec16022-0.2.1.
940 Preparation for 2.1.4.
943 2007-08-11 Jim Evins <evins@snaught.com>
949 Added Esperanto translation. Provided by Antonio C.
950 Codazzi "la Filozofo" <f_sophia@libero.it>.
952 Updated French translation. Provided by Claude Paroz
953 <claude@2xlibre.net>.
955 Updated to reflect above translations.
957 2007-08-11 Jim Evins <evins@snaught.com>
960 * data/templates/avery-iso-templates.xml:
961 * data/templates/avery-us-templates.xml:
962 * data/templates/misc-iso-templates.xml:
963 * data/templates/misc-other-templates.xml:
964 * data/templates/misc-us-templates.xml:
965 * data/templates/zweckform-iso-templates.xml:
966 Caught up with backlog of template submissions.
968 2007-08-10 Jim Evins <evins@snaught.com>
970 * src/bc-postnet.c: (gl_barcode_postnet_new):
972 Added support for Brazilian CEPNet barcodes. This is simply an
973 instance of the US POSTNET format with 8 digits. Patch supplied
974 by Mário Meyer in bug # 1768792.
976 Updated acknowledgments to reflect above patch and recent shuffling
977 of underlying technology.
979 2007-05-13 Jim Evins <evins@snaught.com>
981 * src/merge-text.c: (parse_line), (parse_field):
982 Remove leading and trailing spaces from CSV fields, unless quoted.
984 2007-05-09 Jim Evins <evins@snaught.com>
986 * src/object-editor-bc-page.c:
987 * src/object-editor-data-page.c:
988 * src/object-editor-fill-page.c:
989 * src/object-editor-image-page.c:
990 * src/object-editor-line-page.c:
991 * src/object-editor-lsize-page.c:
992 * src/object-editor-position-page.c:
993 * src/object-editor-private.h:
994 * src/object-editor-shadow-page.c:
995 * src/object-editor-size-page.c:
996 * src/object-editor-text-page.c:
997 * src/object-editor.c:
998 * src/prefs-dialog.c:
999 * src/template-designer.c:
1000 * src/ui-property-bar.c:
1001 * src/wdgt-media-select.c:
1002 Replaced signal block/unblock pairs with simple flags. This reduces
1003 some code clutter, hopefully making it easier to read.
1005 2007-05-05 Jim Evins <evins@snaught.com>
1007 * src/template-designer.c: (apply_cb):
1008 Add new template to mini-preview pixbuf cache.
1010 2007-05-03 Jim Evins <evins@snaught.com>
1012 * src/label-image.c: (gl_label_image_init), (draw_object):
1013 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1016 2007-05-02 Jim Evins <evins@snaught.com>
1018 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1019 (button_release_event_cb):
1020 Removed attempt at rendering optimization by clipping the updates
1021 to areas affected -- this actually seemed to hurt update performance.
1023 2007-04-30 Jim Evins <evins@snaught.com>
1026 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1027 (gl_color_node_equal), (gl_color_node_expand):
1028 * src/label-barcode.c: (draw_object):
1029 * src/label-box.c: (draw_object), (draw_shadow):
1030 * src/label-ellipse.c: (draw_object), (draw_shadow):
1031 * src/label-line.c: (draw_object), (draw_shadow):
1032 * src/label-text.c: (draw_object), (draw_shadow):
1033 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1034 * src/wdgt-rotate-label.c: (drawingarea_update):
1035 Some cleanup to color related code.
1037 2007-04-30 Jim Evins <evins@snaught.com>
1040 Added glLabelRegion structure type.
1041 * src/label-object.c: (gl_label_object_get_extent):
1042 * src/label-object.h:
1043 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1045 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1046 (gl_view_select_region), (gl_view_align_selection_left),
1047 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1048 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1049 (gl_view_align_selection_vcenter),
1050 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1051 (gl_view_move_selection), (gl_view_can_selection_text),
1052 (motion_notify_event_cb), (button_press_event_cb),
1053 (button_release_event_cb):
1054 - Reconcile with new gl_label_object_get_extent() API.
1055 - Use glLabelRegion for view->select_region.
1056 - Added gl_view_update_region() to clip updates to region.
1057 - Use gl_view_update_region() during manipulation of view->select_region.
1059 2007-04-26 Jim Evins <evins@snaught.com>
1061 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1062 (draw_label_outline):
1063 * src/print.c: (print_crop_marks), (draw_outline):
1064 * src/view-object.c: (gl_view_object_draw_handles):
1065 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1066 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1067 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1068 * src/wdgt-rotate-label.c: (drawingarea_update):
1069 Added defines for various magic numbers.
1071 2007-04-25 Jim Evins <evins@snaught.com>
1073 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1074 Scale text down. Cairo seems to render text too large.
1076 2007-04-25 Jim Evins <evins@snaught.com>
1079 * src/view.c: (gl_view_update), (expose_cb),
1080 (motion_notify_event_cb), (button_press_event_cb),
1081 (button_release_event_cb):
1082 - Try not to let updates get backed up.
1083 - Grab pointer when doing any drag operations.
1085 2007-04-11 Jim Evins <evins@snaught.com>
1087 * src/cairo-label-path.c: (gl_cairo_label_path),
1088 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1089 (gl_cairo_cd_label_path):
1090 * src/cairo-label-path.h:
1091 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1092 (draw_label_outline):
1093 * src/print.c: (draw_outline), (clip_to_outline):
1094 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1095 * src/wdgt-mini-preview.c: (draw_labels):
1096 * src/wdgt-rotate-label.c: (drawingarea_update):
1097 Modified to universally use gl_cairo_label_path() to create paths
1098 for labels. Added shadow to mini preview in rotate widget.
1100 2007-04-10 Jim Evins <evins@snaught.com>
1102 * libglabels/template.h:
1103 * libglabels/template.c: (gl_template_get_name_list_unique),
1104 (gl_template_get_name_list_all), (gl_template_from_name):
1105 Modified libglabels to allow you to get a list of all template names
1106 including all aliases or just a list of primary names of each unique
1109 * src/file.c: (gl_file_properties):
1110 * src/glabels.c: (main):
1111 * src/mini-preview-pixbuf-cache.h:
1112 * src/mini-preview-pixbuf-cache.c:
1113 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1114 (filter_changed_cb), (load_list):
1115 Added mini-preview pixbuf cache, so that only one mini-preview is
1116 needed for a unique template and gets reused for all aliases. These
1117 pixbufs will also live for the life of the program so they are not
1118 rebuilt everytime a new label dialog is invoked.
1119 * src/mini-preview-pixbuf.c: (draw_paper),
1120 (draw_rect_label_outline), (draw_round_label_outline),
1121 (draw_cd_label_outline):
1122 Removed some comment artifacts.
1124 2007-04-04 Jim Evins <evins@snaught.com>
1126 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1127 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1128 (draw_round_label_outline), (draw_cd_label_outline):
1129 * src/wdgt-media-select.c: (load_list):
1130 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1131 Cosmetic enhancments to mini previews.
1133 2007-04-04 Jim Evins <evins@snaught.com>
1135 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1136 (gl_ui_property_bar_construct):
1137 Save copy of GladeXML tree so that we don't lose tooltips.
1139 2007-04-02 Jim Evins <evins@snaught.com>
1141 * src/merge-properties-dialog.c:
1142 * src/new-label-dialog.c:
1143 * src/object-editor.c:
1144 * src/prefs-dialog.c:
1146 * src/template-designer.c:
1147 * src/ui-property-bar.c:
1148 * src/wdgt-media-select.c:
1149 * src/wdgt-rotate-label.c:
1150 Fixed several memory leaks.
1152 2007-04-01 Jim Evins <evins@snaught.com>
1154 * src/label-text.c: (gl_label_text_init), (copy),
1155 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1156 (set_font_family), (set_font_size), (set_font_weight),
1157 (set_font_italic_flag), (set_text_alignment),
1158 (set_text_line_spacing):
1159 Cache object size, so that expensive extent calculations are only done
1162 2007-03-30 Jim Evins <evins@snaught.com>
1164 * src/prefs-model.c: (gl_prefs_model_load_settings):
1165 Default to an unlimited list of recent documents, since this parameter
1166 seems to be pre-filter anyway.
1168 2007-03-30 Jim Evins <evins@snaught.com>
1170 * src/label-box.c: (draw_shadow):
1171 * src/label-ellipse.c: (draw_shadow):
1172 Added missing shadow fill.
1174 2007-03-28 Jim Evins <evins@snaught.com>
1176 * src/ui-commands.c: (gl_ui_cmd_file_print):
1177 Unreferencing the print operation sometimes crashes. Just don't do it
1180 2007-03-28 Jim Evins <evins@snaught.com>
1182 * src/print-op.c: (gl_print_op_construct),
1183 (gl_print_op_get_settings), (gl_print_op_set_settings),
1184 (gl_print_op_free_settings), (create_custom_widget_cb):
1186 * src/ui-commands.c: (gl_ui_cmd_file_print):
1187 * src/window.c: (gl_window_init):
1189 Save print settings and custom settings between print operations
1192 2007-03-24 Jim Evins <evins@snaught.com>
1194 * src/object-editor-image-page.c:
1195 (gl_object_editor_prepare_image_page),
1196 (gl_object_editor_set_image), (img_selection_changed_cb):
1197 Workaround for GtkFileChooserButton bug # 327243. This the root
1198 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1199 "selection-changed" signals -- the first 2 return NULL -- this is
1200 what caused the image to reset to the default followed by setting
1201 it back to the original image, trying to fit it into a new bounding
1202 box. This sequence of events is much more evident with the new
1205 2007-03-23 Jim Evins <evins@snaught.com>
1207 Merged all changes from experimental cairo branch to trunk.
1208 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1210 2007-03-23 Jim Evins <evins@snaught.com>
1212 * src/label-object.h:
1213 * src/label-object.c: (gl_label_object_class_init),
1214 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1215 Created "get_raw_size" method.
1216 * src/label-barcode.c: (get_size):
1217 * src/xml-label.c: (xml_create_object_text),
1218 (xml_create_object_barcode):
1219 Use new "get_raw_size" method on label-objects when apropos.
1221 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1222 (auto_shrink_font_size):
1223 Added "auto shrink" functionality back.
1225 2007-03-19 Jim Evins <evins@snaught.com>
1227 * src/label-text.c: (draw_object), (draw_shadow):
1228 Don't use negative scales in workaround from previous commit.
1231 2007-03-18 Jim Evins <evins@snaught.com>
1234 Forgot to remove include of xml-lable-191 in previous commit.
1235 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1236 Workaround for pango Bug #341481. Render text at device scale,
1237 and scale font size accordingly. Also, don't do any hinting.
1239 2007-03-18 Jim Evins <evins@snaught.com>
1241 * src/cairo-ellipse-path.c:
1242 * src/cairo-ellipse-path.h:
1243 Forgot to add these new files during last mass commit.
1245 2007-03-18 Jim Evins <evins@snaught.com>
1248 * src/xml-label-191.c:
1249 * src/xml-label-191.h:
1250 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1251 so there is no need to keep compatability.
1253 * src/bc-iec16022.c:
1254 * src/cairo-label-path.c:
1255 * src/cairo-label-path.h:
1256 * src/cairo-markup-path.c:
1260 * src/glabels-batch.c:
1262 * src/label-barcode.c:
1264 * src/label-ellipse.c:
1265 * src/label-image.c:
1267 * src/label-object.c:
1268 * src/label-object.h:
1272 * src/merge-properties-dialog.c:
1274 * src/new-label-dialog.c:
1275 * src/object-editor-bc-page.c:
1276 * src/object-editor-data-page.c:
1277 * src/object-editor-edit-page.c:
1278 * src/object-editor-fill-page.c:
1279 * src/object-editor-image-page.c:
1280 * src/object-editor-line-page.c:
1281 * src/object-editor-private.h:
1282 * src/object-editor-shadow-page.c:
1283 * src/object-editor-text-page.c:
1284 * src/object-editor.c:
1285 * src/pixbuf-cache.c:
1290 * src/template-designer.c:
1292 * src/ui-property-bar.c:
1294 * src/view-barcode.c:
1296 * src/view-ellipse.c:
1299 * src/view-object.c:
1300 * src/view-object.h:
1303 * src/wdgt-media-select.c:
1304 * src/wdgt-print-copies.c:
1305 * src/wdgt-print-merge.c:
1307 * src/xml-label-04.c:
1309 Many changes, including:
1310 - Move draw methods from view-*() to label-*().
1311 - Use same drawing code for on screen view and printing.
1312 - Fix all issues exposed with '-Wall -Werror'.
1314 2007-03-14 Jim Evins <evins@snaught.com>
1317 * src/cairo-handle-path.c:
1318 * src/cairo-handle-path.h:
1319 * src/cairo-object-path.c:
1320 * src/cairo-object-path.h:
1321 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1322 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1324 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1325 (draw_shadow), (object_at):
1326 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1327 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1328 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1330 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1331 (draw_shadow), (object_at):
1332 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1333 (create_handle_path), (gl_view_object_draw_handles),
1334 (gl_view_object_handle_at):
1335 * src/view-object.h:
1336 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1337 (draw_shadow), (object_at):
1338 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1339 Some restructuring of new code.
1341 2007-03-12 Jim Evins <evins@snaught.com>
1344 * src/cairo-object-path.c:
1345 * src/view-barcode.c:
1346 * src/view-barcode.h:
1348 Added barcode object support to view.
1350 2007-03-12 Jim Evins <evins@snaught.com>
1356 * src/cairo-object-path.c:
1357 * src/cairo-object-path.h:
1359 * src/view-ellipse.c:
1362 * src/view-object.c:
1363 * src/view-object.h:
1364 Added text object support to view. Added object_at method to all
1367 2007-03-11 Jim Evins <evins@snaught.com>
1370 * src/cairo-object-path.c: (gl_cairo_object_path),
1371 (gl_cairo_image_object_path):
1372 * src/view-image.c: (gl_view_image_class_init),
1373 (gl_view_image_finalize), (gl_view_image_new),
1374 (update_editor_from_label_cb), (draw),
1375 (gl_view_image_get_create_cursor),
1376 (gl_view_image_create_button_press_event),
1377 (gl_view_image_create_motion_event),
1378 (gl_view_image_create_button_release_event):
1380 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1381 (selection_received_cb), (motion_notify_event_cb),
1382 (button_press_event_cb), (button_release_event_cb):
1383 Added image object support to view.
1385 2007-03-11 Jim Evins <evins@snaught.com>
1388 * src/cairo-object-path.c: (gl_cairo_object_path),
1389 (gl_cairo_line_object_path):
1390 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1391 (update_object_from_editor_cb), (update_editor_from_object_cb),
1392 (update_editor_from_label_cb), (draw),
1393 (gl_view_line_get_create_cursor),
1394 (gl_view_line_create_button_press_event),
1395 (gl_view_line_create_motion_event),
1396 (gl_view_line_create_button_release_event):
1398 * src/view-object.c: (gl_view_object_resize_event):
1399 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1400 (selection_received_cb), (motion_notify_event_cb),
1401 (button_press_event_cb), (button_release_event_cb):
1402 Added line object support to view.
1403 * src/cairo-handle-path.c:
1404 Made handles slightly larger.
1407 2007-03-11 Jim Evins <evins@snaught.com>
1410 * src/cairo-handle-path.c:
1411 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1412 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1413 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1414 (gl_cairo_markup_margin_round_path),
1415 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1416 * src/cairo-object-path.c: (gl_cairo_object_path),
1417 (gl_cairo_ellipse_object_path):
1418 * src/label-object.c: (gl_label_object_rotate):
1421 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1422 (gl_view_ellipse_new), (update_object_from_editor_cb),
1423 (update_editor_from_object_cb), (update_editor_from_label_cb),
1424 (draw), (gl_view_ellipse_get_create_cursor),
1425 (gl_view_ellipse_create_button_press_event),
1426 (gl_view_ellipse_create_motion_event),
1427 (gl_view_ellipse_create_button_release_event):
1428 * src/view-ellipse.h:
1429 * src/view-object.c:
1430 * src/view-object.h:
1431 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1432 (select_object_real), (selection_received_cb),
1433 (motion_notify_event_cb), (button_press_event_cb),
1434 (button_release_event_cb):
1436 Added ellipse object support to view. Plus other cleanup.
1438 2007-03-11 Jim Evins <evins@snaught.com>
1441 * src/view-box.c: (gl_view_box_get_create_cursor),
1442 (gl_view_box_create_button_press_event),
1443 (gl_view_box_create_motion_event),
1444 (gl_view_box_create_button_release_event):
1445 * src/view-object.c: (gl_view_object_set_view),
1446 (gl_view_object_handle_at):
1448 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1449 (motion_notify_event_cb), (button_press_event_cb),
1450 (button_release_event_cb), (key_press_event_cb):
1451 Added creation code for box object.
1453 2007-03-09 Jim Evins <evins@snaught.com>
1455 * src/view-object.c: (gl_view_object_resize_event):
1456 * src/view-object.h:
1457 * src/view.c: (motion_notify_event_cb):
1458 Fix bugs with resizing transformed objects.
1459 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1460 * src/cairo-object-path.c: (gl_cairo_object_path):
1461 * src/cairo-object-path.h:
1462 * src/label-object.c: (gl_label_object_init),
1463 (gl_label_object_dup), (gl_label_object_get_extent),
1464 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1465 (gl_label_object_rotate), (gl_label_object_set_matrix),
1466 (gl_label_object_get_matrix):
1467 * src/label-object.h:
1468 * src/print.c: (draw_object):
1470 * src/view-highlight.c:
1471 * src/view-highlight.h:
1472 * src/xml-label-191.c: (xml191_parse_object):
1473 * src/xml-label.c: (xml_parse_affine_attrs),
1474 (xml_create_affine_attrs):
1475 Replace libart affine matrices with cairo matrices.
1477 2007-03-08 Jim Evins <evins@snaught.com>
1479 * src/view-object.h:
1480 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1481 * src/view-object.c: (gl_view_object_handle_at),
1482 (gl_view_object_resize_event):
1483 Added resize code -- still a bit buggy.
1485 2007-03-07 Jim Evins <evins@snaught.com>
1488 * src/cairo-handle-path.c:
1489 * src/cairo-handle-path.h:
1490 * src/view-box.c: (gl_view_box_new):
1491 * src/view-object.c: (gl_view_object_set_object),
1492 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1493 * src/view-object.h:
1494 * src/view.c: (draw_highlight_layer), (select_object_real),
1495 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1496 (button_press_event_cb), (button_release_event_cb),
1497 (key_press_event_cb):
1499 Added beginnings of object resize handles.
1501 2007-03-07 Jim Evins <evins@snaught.com>
1504 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1505 (gl_view_object_create_mode), (motion_notify_event_cb),
1506 (button_press_event_cb), (button_release_event_cb),
1507 (key_press_event_cb):
1508 Added move selection support.
1510 2007-03-05 Jim Evins <evins@snaught.com>
1512 * src/cairo-object-path.c: (gl_cairo_object_path):
1513 * src/view-object.c: (gl_view_object_draw),
1514 (gl_view_object_draw_highlight):
1515 * src/view.c: (view_object_at), (motion_notify_event_cb),
1516 (button_press_event_cb), (button_release_event_cb):
1517 Additional refinements to select logic.
1519 2007-03-05 Jim Evins <evins@snaught.com>
1522 * src/view.c: (gl_view_init), (gl_view_construct),
1523 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1524 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1525 (button_press_event_cb), (button_release_event_cb):
1526 Added initial select region support and context menu.
1528 2007-03-04 Jim Evins <evins@snaught.com>
1539 * src/ui-commands.c:
1542 * src/view-object.c:
1543 * src/view-object.h:
1546 * src/wdgt-print-copies.c:
1547 * src/wdgt-print-merge.c:
1549 Initial port to a raw Cairo canvas. This removes all remaining
1550 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1551 the view is becoming a canvas widget in its own right. Still needs
1553 * src/cairo-label-path.c:
1554 * src/cairo-label-path.h:
1555 * src/cairo-markup-path.c:
1556 * src/cairo-markup-path.h:
1557 * src/cairo-object-path.c:
1558 * src/cairo-object-path.h:
1559 New files to support cairo canvas.
1560 * src/canvas-hacktext.c:
1561 * src/canvas-hacktext.h:
1564 2007-02-18 Jim Evins <evins@snaught.com>
1567 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1569 2007-02-14 Jim Evins <evins@snaught.com>
1573 * src/bc-gnubarcode.c:
1574 * src/bc-gnubarcode.h:
1579 * src/canvas-hacktext.c:
1580 * src/canvas-hacktext.h:
1587 * src/label-barcode.c:
1588 * src/label-barcode.h:
1591 * src/label-ellipse.c:
1592 * src/label-ellipse.h:
1593 * src/label-image.c:
1594 * src/label-image.h:
1597 * src/label-object.c:
1598 * src/label-object.h:
1603 * src/merge-evolution.c:
1604 * src/merge-evolution.h:
1607 * src/merge-properties-dialog.c:
1608 * src/merge-properties-dialog.h:
1611 * src/merge-vcard.c:
1612 * src/merge-vcard.h:
1615 * src/mini-preview-pixbuf.h:
1616 * src/new-label-dialog.c:
1617 * src/new-label-dialog.h:
1618 * src/object-editor-bc-page.c:
1619 * src/object-editor-data-page.c:
1620 * src/object-editor-edit-page.c:
1621 * src/object-editor-fill-page.c:
1622 * src/object-editor-image-page.c:
1623 * src/object-editor-line-page.c:
1624 * src/object-editor-lsize-page.c:
1625 * src/object-editor-position-page.c:
1626 * src/object-editor-private.h:
1627 * src/object-editor-size-page.c:
1628 * src/object-editor-text-page.c:
1629 * src/object-editor.c:
1630 * src/object-editor.h:
1631 * src/pixbuf-cache.c:
1632 * src/pixbuf-cache.h:
1633 * src/prefs-dialog.c:
1634 * src/prefs-dialog.h:
1635 * src/prefs-model.c:
1636 * src/prefs-model.h:
1642 * src/template-designer.c:
1645 * src/ui-commands.c:
1646 * src/ui-commands.h:
1647 * src/ui-property-bar.c:
1648 * src/ui-property-bar.h:
1657 * src/view-barcode.c:
1658 * src/view-barcode.h:
1661 * src/view-ellipse.c:
1662 * src/view-ellipse.h:
1663 * src/view-highlight.c:
1664 * src/view-highlight.h:
1669 * src/view-object.c:
1670 * src/view-object.h:
1675 * src/wdgt-chain-button.c:
1676 * src/wdgt-chain-button.h:
1677 * src/wdgt-media-select.c:
1678 * src/wdgt-mini-preview.c:
1679 * src/wdgt-print-copies.c:
1680 * src/wdgt-print-copies.h:
1681 * src/wdgt-print-merge.c:
1682 * src/wdgt-print-merge.h:
1683 * src/wdgt-rotate-label.c:
1685 * src/xml-label-04.c:
1686 * src/xml-label-04.h:
1687 * src/xml-label-191.c:
1688 * src/xml-label-191.h:
1692 Assorted superficial cleanup. Including:
1693 - Use G_DEFINE_TYPE for all objects.
1694 - Reconcile style of all class initializer functions
1695 - Reconcile style of all finalize functions
1696 - Add emacs mode line to all source files
1698 2007-02-06 Jim Evins <evins@snaught.com>
1700 Assorted cleanup and removal of deprecated items.
1705 Removed annoying splash screen.
1706 * src/glabels-batch.c: (main):
1707 * src/glabels.c: (main):
1708 Converted from popt to GOption.
1709 * src/object-editor-shadow-page.c:
1710 (gl_object_editor_set_shadow_state):
1711 Removed deprecated method on GtkToggleButton.
1712 * src/ui-commands.c: (gl_ui_cmd_help_about):
1713 Removed dependency on libgnomui/qnome-url.h.
1714 * src/template-designer.c:
1715 Removed dependency on libgnome/gnome-program.h.
1718 2007-02-04 Jim Evins <evins@snaught.com>
1722 * src/prefs-model.c:
1723 * src/print.c: (draw_text_object):
1724 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1725 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1727 2007-02-04 Jim Evins <evins@snaught.com>
1729 * src/wdgt-mini-preview.c:
1730 * src/wdgt-mini-preview.h:
1731 Ported widget from GnomeCanvas to Cairo.
1733 2007-02-03 Jim Evins <evins@snaught.com>
1735 * data/glade/template-designer.glade:
1736 * src/template-designer.c:
1737 * src/template-designer.h:
1738 Ported GnomeDruid to GtkAssistant. Since libglade does not
1739 yet support the GtkAssistant and we derive directly from
1740 the Assistant, the pages are layed out in a GtkNotebook in
1741 the glade description -- we then append each page to the
1744 2007-01-25 Jim Evins <evins@snaught.com>
1746 * data/glade/object-editor.glade:
1747 Added dummy page to notebook, to prevent shadow page from
1748 becoming the default current page at creation.
1749 * src/view-box.c: (construct_properties_editor):
1750 * src/view-ellipse.c: (construct_properties_editor):
1751 * src/view-line.c: (construct_properties_editor):
1752 * src/view-text.c: (construct_properties_editor):
1753 Reconciled order of params.
1755 2007-01-19 Jim Evins <evins@snaught.com>
1757 * src/label-barcode.h:
1758 * src/label-object.c: (gl_label_object_set_font_weight),
1759 (gl_label_object_set_text_alignment),
1760 (gl_label_object_get_font_weight),
1761 (gl_label_object_get_text_alignment):
1762 * src/label-object.h:
1763 * src/label-text.c: (gl_label_text_instance_init), (copy),
1764 (get_size), (set_font_family), (set_font_weight),
1765 (set_text_alignment), (get_font_weight), (get_text_alignment):
1767 * src/object-editor-text-page.c:
1768 (gl_object_editor_prepare_text_page),
1769 (gl_object_editor_set_font_family),
1770 (gl_object_editor_set_font_weight),
1771 (gl_object_editor_get_font_weight),
1772 (gl_object_editor_set_text_alignment),
1773 (gl_object_editor_get_text_alignment),
1774 (gl_object_editor_set_text_color):
1775 * src/object-editor.h:
1776 * src/prefs-dialog.c: (construct_object_page),
1777 (update_object_page_from_prefs), (update_prefs_from_object_page):
1778 * src/prefs-model.c: (gl_prefs_model_save_settings),
1779 (gl_prefs_model_load_settings):
1780 * src/prefs-model.h:
1781 * src/print.c: (draw_text_object):
1782 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1783 (reset_to_default_properties), (update_text_properties),
1784 (font_bold_toggled_cb), (text_align_toggled_cb):
1786 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1787 (gl_util_weight_to_string), (gl_util_string_to_weight),
1788 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1790 * src/view-text.c: (update_object_from_editor_cb),
1791 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1792 * src/view.c: (gl_view_set_selection_text_alignment),
1793 (gl_view_set_default_text_alignment),
1794 (gl_view_get_default_text_alignment):
1796 * src/xml-label-04.c: (xml04_parse_text_props):
1797 * src/xml-label-191.c: (xml191_parse_text_props):
1798 * src/xml-label.c: (xml_parse_object_text),
1799 (xml_parse_toplevel_span), (xml_create_object_text),
1800 (xml_create_toplevel_span):
1801 Converted all model internals to Pango. GnomeFont remains in
1802 view until GnomeCanvas can be replaced with a cairo-based canvas.
1804 2007-01-17 Jim Evins <evins@snaught.com>
1810 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1811 (gl_wdgt_print_copies_construct):
1812 * src/wdgt-print-copies.h:
1813 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1814 (gl_wdgt_print_merge_construct):
1815 * src/wdgt-print-merge.h:
1816 Removed all remaining HIG wrapper widgets.
1818 2007-01-16 Jim Evins <evins@snaught.com>
1821 * src/print-dialog.c:
1822 * src/print-dialog.h:
1825 * src/template-designer.c: (print_test_cb):
1826 * src/ui-commands.c: (gl_ui_cmd_file_print):
1828 Renamed PrintDialog to PrintOp. Added constructor for batch
1830 * src/glabels-batch.c: (main):
1831 Converted to use new PrintOp object for printing.
1833 2007-01-15 Jim Evins <evins@snaught.com>
1835 * data/glade/Makefile.am:
1836 * data/glade/print-custom-widget.glade:
1837 * src/print-dialog.c:
1838 * src/print-dialog.h:
1841 * src/template-designer.c: (print_test_cb):
1842 * src/ui-commands.c: (gl_ui_cmd_file_print):
1843 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1844 * src/wdgt-print-merge.h:
1845 * src/window.c: (gl_window_init):
1847 Initial conversion to GtkPrintOperation.
1849 - Remove font and other libgnomeprint[ui] from elsewhere
1850 - Add batch initialization of print operation
1852 2007-01-08 Jim Evins <evins@snaught.com>
1854 Updated dependencies. Set version to 2.1.pre4cvs.
1856 2007-01-03 Jim Evins <evins@snaught.com>
1858 * src/recent-files/*
1859 Removed EggRecent stuff.
1865 * src/ui-commands.c:
1866 * src/ui-commands.h:
1868 Ported from EggRecent to GtkRecentManager.
1871 2007-01-02 Jim Evins <evins@snaught.com>
1874 * iec16022-0.2.1/BUGS:
1875 * iec16022-0.2.1/CHANGELOG:
1876 * iec16022-0.2.1/CREDITS:
1877 * iec16022-0.2.1/INSTALL:
1878 * iec16022-0.2.1/LICENSE:
1879 * iec16022-0.2.1/Makefile.am:
1880 * iec16022-0.2.1/Makefile.dist:
1881 * iec16022-0.2.1/README:
1882 * iec16022-0.2.1/README.glabels:
1883 * iec16022-0.2.1/TODO:
1884 * iec16022-0.2.1/iec16022.1:
1885 * iec16022-0.2.1/iec16022.c:
1886 * iec16022-0.2.1/iec16022ecc200.c:
1887 * iec16022-0.2.1/iec16022ecc200.h:
1888 * iec16022-0.2.1/image.c:
1889 * iec16022-0.2.1/image.h:
1890 * iec16022-0.2.1/reedsol.c:
1891 * iec16022-0.2.1/reedsol.h:
1892 * iec16022-0.2.1/test/testsuite-example.bin:
1893 * iec16022-0.2.1/test/testsuite-example.eps:
1894 * iec16022-0.2.1/test/testsuite-example.hex:
1895 * iec16022-0.2.1/test/testsuite-example.png:
1896 * iec16022-0.2.1/test/testsuite-example.text:
1897 * iec16022-0.2.1/test/testsuite.sh:
1898 Include modified copy of iec16022-0.2.1 to provide encoding
1899 support for datamatrix 2D barcodes.
1901 * src/bc-iec16022.c:
1902 * src/bc-iec16022.h:
1904 Added initial datamatrix 2D barcode backend to barcode code.
1907 Automatic updates to later versions of these files.
1909 2006-11-28 Jim Evins <evins@snaught.com>
1911 * data/templates/avery-iso-templates.xml:
1912 * data/templates/avery-us-templates.xml:
1913 * data/templates/categories.xml:
1914 * data/templates/misc-iso-templates.xml:
1915 * data/templates/misc-us-templates.xml:
1916 * data/templates/zweckform-iso-templates.xml:
1917 More categorization.
1919 2006-09-12 Jim Evins <evins@snaught.com>
1921 * data/dtd/glabels-2.0.dtd:
1922 * data/templates/Makefile.am:
1923 * data/templates/avery-iso-templates.xml:
1924 * data/templates/avery-other-templates.xml:
1925 * data/templates/avery-us-templates.xml:
1926 * data/templates/categories.xml:
1927 * data/templates/misc-iso-templates.xml:
1928 * data/templates/misc-other-templates.xml:
1929 * data/templates/zweckform-iso-templates.xml:
1930 * data/glade/Makefile.am:
1931 * data/glade/new-label-dialog.glade:
1932 * data/glade/wdgt-media-select.glade:
1933 * data/glade/wdgt-rotate-label.glade:
1934 * libglabels/Makefile.am:
1935 * libglabels/category.c:
1936 * libglabels/category.h:
1937 * libglabels/libglabels.h:
1938 * libglabels/paper.c:
1939 * libglabels/template.c:
1940 * libglabels/template.h:
1941 * libglabels/xml-category.c:
1942 * libglabels/xml-category.h:
1943 * libglabels/xml-template.c:
1944 Added support for category meta data.
1947 * src/mini-preview-pixbuf.c:
1948 * src/mini-preview-pixbuf.h:
1949 * src/new-label-dialog.c:
1950 * src/new-label-dialog.h:
1951 * src/wdgt-media-select.c:
1952 * src/wdgt-media-select.h:
1953 * src/wdgt-rotate-label.c:
1954 * src/wdgt-rotate-label.h:
1955 New "new label" dialog.
1957 2006-05-27 Jim Evins <evins@snaught.com>
1962 Preparation for 2.1.3.
1968 2006-05-22 Jim Evins <evins@snaught.com>
1970 * src/print.c: (draw_barcode_object):
1971 Don't print "Invalid barcode data" if data field is empty. Patch provided
1972 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1974 Added acknowledgment for above patch.
1975 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1976 * src/bc-postnet.c: (postnet_code):
1977 Removed "Invalid barcode data" warnings from stderr.
1978 * src/view-barcode.c: (draw_barcode):
1979 Draw box around barcode extent if data empty or invalid. Center a
1980 message whether the data is empty or invalid in box.
1982 2006-05-22 Jim Evins <evins@snaught.com>
1984 * src/print.c: (draw_text_object):
1985 Check shadow state when printing text.
1987 2006-05-20 Jim Evins <evins@snaught.com>
1989 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1990 (gl_ui_cmd_view_markup_toggle):
1991 Fixed crash when grid or markup have been toggled off during
1992 a previous session. Bug #1434324.
1994 2006-04-05 Jim Evins <evins@snaught.com>
1996 * src/object-editor.c: (gl_object_editor_set_key_names):
1997 Fixed potential crash when freeing empty key list.
1999 2006-03-11 Jim Evins <evins@snaught.com>
2001 * src/print.c: (draw_text_object):
2002 * src/view-text.c: (gl_view_text_new),
2003 (construct_properties_editor), (update_object_from_editor_cb),
2004 (update_editor_from_object_cb), (update_editor_from_label_cb),
2006 Added shadow support to text object.
2008 2006-02-18 Jim Evins <evins@snaught.com>
2010 * src/print.c: (draw_line_object):
2011 * src/view-line.c: (gl_view_line_new),
2012 (construct_properties_editor), (update_canvas_item_from_object_cb),
2013 (update_object_from_editor_cb), (update_editor_from_object_cb),
2014 (update_editor_from_label_cb):
2015 Added shadow support to line object.
2017 2006-02-16 Jim Evins <evins@snaught.com>
2021 * src/print.c: (draw_ellipse_object):
2022 * src/view-ellipse.c: (gl_view_ellipse_new),
2023 (construct_properties_editor), (update_canvas_item_from_object_cb),
2024 (update_object_from_editor_cb), (update_editor_from_object_cb),
2025 (update_editor_from_label_cb):
2026 Added shadow support to ellipse object.
2028 2006-02-15 Jim Evins <evins@snaught.com>
2030 * src/label-object.c:
2031 Changed default shadow offsets.
2032 * src/view-box.c: (gl_view_box_new):
2033 Simplified gl_view_box_new() so that is does not duplicate code
2034 in update_canvas_item_from_object_cb().
2036 2006-02-07 Jim Evins <evins@snaught.com>
2038 * data/glade/object-editor.glade:
2039 Fixed color groups of color combos.
2041 Added default shadow color.
2042 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2043 Added shadow color group.
2045 2006-02-06 Jim Evins <evins@snaught.com>
2047 * src/object-editor-shadow-page.c:
2048 Forgot to add this file.
2049 * src/view-box.c: (gl_view_box_new),
2050 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2051 Update limits on shadow offset spinbuttons.
2053 2006-01-19 Jim Evins <evins@snaught.com>
2055 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2056 Initialize key_list to NULL.
2057 * data/glade/object-editor.glade:
2061 * src/label-object.c:
2062 * src/label-object.h:
2063 * src/object-editor-fill-page.c:
2064 * src/object-editor-private.h:
2065 * src/object-editor.c:
2066 * src/object-editor.h:
2068 Created infrastructure for shadow support.
2071 Initial shadow support in box object only.
2073 2006-01-05 Jim Evins <evins@snaught.com>
2075 * src/merge-properties-dialog.c: (src_changed_cb):
2076 Be extra paranoid before calling strcmp().
2077 * src/merge.c: (gl_merge_set_src):
2078 Don't make (merge == NULL) a critical error.
2080 2005-12-22 Jim Evins <evins@snaught.com>
2082 * src/glabels-batch.c: (main):
2083 Compile warning free with gcc 4.0.
2085 2005-12-21 Jim Evins <evins@snaught.com>
2088 Updated example RPM spec file.
2090 2005-12-21 Jim Evins <evins@snaught.com>
2094 Preparation for 2.1.2.
2096 2005-12-20 Jim Evins <evins@snaught.com>
2099 Define unique G_LOG_DOMAIN for glabels.
2100 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2101 * src/warning-handler.c: (gl_warning_handler_init),
2103 Register for G_LOG_DOMAIN instead of NULL.
2105 2005-12-10 Jim Evins <evins@snaught.com>
2107 * src/merge-evolution.c:
2108 * src/merge-vcard.c:
2111 2005-12-08 Jim Evins <evins@snaught.com>
2113 * libglabels/paper.c: (read_paper_files_from_dir):
2114 * libglabels/template.c: (gl_template_register),
2115 (read_template_files_from_dir):
2116 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2117 (gl_xml_paper_parse_papers_doc):
2118 * libglabels/xml-template.c:
2119 (gl_xml_template_read_templates_from_file),
2120 (gl_xml_template_parse_templates_doc),
2121 (gl_xml_template_parse_template_node),
2122 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2123 (xml_parse_label_cd_node), (xml_parse_layout_node),
2124 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2125 (xml_parse_markup_circle_node),
2126 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2127 * libglabels/xml.c: (gl_xml_get_prop_length):
2128 Re-classified g_warnings to g_messages.
2130 * src/glabels.c: (main):
2131 * src/warning-handler.c: (gl_warning_handler_init),
2133 * src/warning-handler.h:
2134 Added warning message handler to make sure the user is
2135 presented with appropriate non-fatal errors.
2136 * src/critical-error-handler.c: (critical_error_handler):
2137 Changed exit to abort.
2138 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2139 * src/bc-postnet.c: (postnet_code):
2140 * src/bc.c: (id_to_index), (name_to_index):
2141 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2142 * src/object-editor.c: (gl_object_notebook_construct_valist):
2143 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2144 * src/prefs.c: (gl_prefs_get_units_per_point),
2145 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2146 (gl_prefs_get_units_string):
2147 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2148 * src/splash.c: (gl_splash):
2149 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2150 * src/view-highlight.c: (gl_view_highlight_new),
2151 (highlight_resizable_box_construct), (object_changed_cb),
2152 (view_scale_changed_cb):
2153 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2154 (draw_markup_layer), (draw_markup_margin),
2155 (gl_view_object_create_mode), (canvas_event),
2156 (selection_received_cb):
2157 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2158 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2159 * src/xml-label-04.c: (gl_xml_label_04_parse),
2160 (xml04_parse_media_description), (xml04_parse_text_props),
2161 (xml04_parse_barcode_props):
2162 * src/xml-label-191.c: (gl_xml_label_191_parse),
2163 (xml191_parse_objects), (xml191_parse_object),
2164 (xml191_parse_text_props), (xml191_parse_image_props),
2165 (xml191_parse_barcode_props), (xml191_parse_data),
2166 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2167 (xml191_parse_markup):
2168 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2169 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2170 (xml_parse_object_text), (xml_parse_object_image),
2171 (xml_parse_object_barcode), (xml_parse_data),
2172 (xml_parse_toplevel_span), (gl_xml_label_save),
2173 (xml_create_objects):
2174 Re-classified g_warnings to g_messages.
2175 * src/merge-evolution.c: (gl_merge_evolution_open),
2176 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2177 Use g_warning to output errors encountered while
2178 communicating with the evolution data server
2179 instead of embedding them in the data.
2181 2005-12-08 Jim Evins <evins@snaught.com>
2183 * libglabels/libglabels-private.h:
2185 * libglabels/paper.c: (read_papers):
2186 * libglabels/template.c: (read_templates):
2187 Made appropriate warnings critical.
2189 * src/critical-error-handler.h:
2190 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2191 (critical_error_handler):
2192 Created critical error handler.
2193 * src/glabels.c: (main):
2194 Register critical error handler.
2195 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2196 * src/object-editor.c: (gl_object_editor_init):
2197 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2198 * src/template-designer.c: (gl_template_designer_init):
2199 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2200 Made appropriate warnings critical.
2202 2005-11-27 Jim Evins <evins@snaught.com>
2204 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2205 (gl_merge_evolution_get_primary_key),
2206 (gl_merge_evolution_get_record):
2207 Don't create "record_key" pseudo-key. Don't populate
2208 fields with null data.
2210 2005-11-25 Jim Evins <evins@snaught.com>
2212 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2213 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2214 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2216 Query EDS for all supported fields. Patch provided by
2217 Austin Henry <ahenry@users.sourceforge.net>.
2219 2005-10-29 Jim Evins <evins@snaught.com>
2221 * src/glabels.c: (main):
2222 * src/label-barcode.c: (gl_label_barcode_finalize):
2223 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2224 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2225 * src/object-editor.c: (gl_object_editor_finalize):
2226 Another pass at valgrinding -- plugged several memory leaks.
2227 * src/view-text.c: (gl_view_text_new),
2228 (update_canvas_item_from_object_cb), (draw_hacktext):
2229 Commented out artifacts of edit-in-place code.
2231 2005-10-28 Jim Evins <evins@snaught.com>
2233 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2234 Fixed use of uninitialized variable. Caught by
2235 d binderman <dcb314@hotmail.com>.
2237 2005-10-27 Jim Evins <evins@snaught.com>
2239 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2240 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2242 Additional cleanup of EDS and vcard backends. Provided by
2243 Austin Henry <ahenry@users.sourceforge.net>.
2245 2005-10-24 Jim Evins <evins@snaught.com>
2249 * src/merge-evolution.c:
2250 * src/merge-evolution.h:
2251 * src/merge-init.c: (gl_merge_init):
2252 * src/merge-properties-dialog.c: (type_changed_cb):
2253 * src/merge-vcard.c:
2254 * src/merge-vcard.h:
2255 * src/ui-commands.c: (gl_ui_cmd_help_about):
2256 Added Evolution Data Server and VCard merge backends. Original patch
2257 provided by Austin Henry <ahenry@users.sourceforge.net>.
2259 Only support EDS and VCard backends if libebook is installed. Allow
2260 user to disable support, even if installed.
2262 2005-10-24 Jim Evins <evins@snaught.com>
2265 * data/templates/avery-iso-templates.xml:
2266 * data/templates/avery-us-templates.xml:
2267 * data/templates/misc-iso-templates.xml:
2268 * data/templates/zweckform-iso-templates.xml:
2269 Collected all template changes and submissions since last
2272 2005-10-23 Jim Evins <evins@snaught.com>
2275 * data/mime/Makefile.am:
2276 Added configure options to disable update-mime-database and
2277 update-desktop-database as part of the install. Patch
2278 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2280 2005-10-23 Jim Evins <evins@snaught.com>
2283 * libglabels/xml.c: (gl_xml_get_prop_string),
2284 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2285 (gl_xml_is_node), (gl_xml_get_node_content):
2286 Added new XML utility functions.
2287 * libglabels/xml-paper.c:
2288 * libglabels/xml-template.c:
2290 Cleanup by using new xml utilities created above.
2291 * libglabels/paper.c: (gl_paper_free):
2292 * src/file.c: (new_response):
2293 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2294 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2295 (gl_pixbuf_cache_get_pixbuf):
2296 * src/ui-property-bar.c:
2297 (gl_ui_property_bar_construct_color_combo):
2298 * src/view-highlight.c: (gl_view_highlight_finalize):
2299 * src/view-image.c: (update_object_from_editor_cb):
2300 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2301 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2302 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2303 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2304 (draw_markup_margin_round), (draw_markup_margin_cd),
2305 (draw_markup_margin_cd_bc):
2306 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2307 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2308 Plugged various memory leaks located with valgrind.
2309 * src/view-image.c: (update_canvas_item_from_object_cb):
2310 Don't allow a width or height of zero when drawing pixbuf.
2312 2005-10-22 Jim Evins <evins@snaught.com>
2314 * libglabels/xml-paper.c:
2315 * libglabels/xml-template.c:
2318 * src/bc-gnubarcode.c:
2319 * src/canvas-hacktext.c:
2321 * src/object-editor-data-page.c:
2322 * src/print-dialog.c:
2325 * src/template-designer.c:
2327 * src/ui-property-bar.c:
2329 * src/view-barcode.c:
2331 * src/view-ellipse.c:
2336 * src/wdgt-media-select.c:
2337 * src/xml-label-04.c:
2338 * src/xml-label-191.c:
2340 Modified to compile warning free with gcc-4.0. Mostly
2341 casting to change signedness of characters. Did not
2342 attack gnu-barcode library yet.
2344 2005-10-22 Jim Evins <evins@snaught.com>
2346 * src/glabels.c: (main):
2347 * src/splash.c: (gl_splash):
2348 Removed some small memory leaks.
2352 2005-09-19 Jim Evins <evins@snaught.com>
2354 * data/glade/property-bar.glade:
2355 Remove items from font_family_combo. This prevents the
2356 double entry after adding text model and list of fonts.
2357 * src/ui-property-bar.c: (reset_to_default_properties):
2358 Free font_family_list.
2360 2005-07-01 Jim Evins <evins@snaught.com>
2363 Updated italian translation (Daniele Medri)
2365 2005-06-26 Jim Evins <evins@snaught.com>
2367 * docs/libglabels/libglabels-decl-list.txt:
2368 Somehow never got checked in before.
2369 * docs/libglabels/libglabels.types:
2370 Removed -- don't need it afterall.
2372 2005-06-20 Jim Evins <evins@snaught.com>
2375 Final prep for 2.1.1 release.
2377 2005-06-20 Jim Evins <evins@snaught.com>
2380 Final preps for 2.1.1 release.
2381 * docs/libglabels/libglabels.types:
2382 Somehow never got checked in before.
2384 Bring up-to-date with recent reorg of ui code.
2387 2005-06-19 Jim Evins <evins@snaught.com>
2389 * src/template-designer.c: (construct_layout_page):
2390 Removed attempt to match background color of mini preview widget to
2393 2005-06-17 Jim Evins <evins@snaught.com>
2395 * help/C/figures/merge-ex2-4.png:
2396 * help/C/glabels.xml:
2397 Fixed spelling error.
2399 2005-06-13 Jim Evins <evins@snaught.com>
2401 * help/C/figures/merge-ex1-1.png:
2402 * help/C/figures/merge-ex1-2.png:
2403 * help/C/figures/merge-ex1-3.png:
2404 * help/C/figures/merge-ex1-4.png:
2405 * help/C/figures/merge-ex2-1.png:
2406 * help/C/figures/merge-ex2-2.png:
2407 * help/C/figures/merge-ex2-3.png:
2408 * help/C/figures/merge-ex2-4.png:
2409 Added figures for document merge tutorial.
2410 * help/C/glabels.xml:
2411 Added document merge tutorial.
2413 2005-05-19 Jim Evins <evins@snaught.com>
2415 * data/glade/merge-properties-dialog.glade:
2416 Fixed irregular spacing.
2417 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2418 (gl_merge_properties_dialog_construct):
2419 Set outer padding and remove separator.
2421 2005-05-18 Jim Evins <evins@snaught.com>
2425 Removed glHigDialog class.
2426 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2427 (gl_file_properties), (create_properties_dialog_widgets):
2428 * src/prefs-dialog.h:
2429 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2430 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2431 * src/print-dialog.h:
2432 * src/prefs-dialog.h:
2433 * src/print-dialog.c: (gl_print_dialog_get_type),
2434 (gl_print_dialog_init), (gl_print_dialog_construct):
2435 Replaced all instances of glHigDialog with GtkDialog.
2437 2005-05-17 Jim Evins <evins@snaught.com>
2441 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2442 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2443 (save_as_response), (gl_file_close):
2444 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2446 2005-05-15 Jim Evins <evins@snaught.com>
2448 * src/ui-commands.h:
2456 A little code reformatting -- no functional changes.
2458 2005-05-14 Jim Evins <evins@snaught.com>
2461 Removed obsolete macros.
2463 Added marshalling template to support new view signal: "context_menu_activate."
2465 * src/view.c: (gl_view_class_init), (gl_view_construct),
2466 (canvas_event_arrow_mode):
2467 - Removed hardcoded context menus and added new signal "context_menu_activate"
2468 to push this up to the uimanager.
2469 - Removed merge properties and print dialogs so that they can be managed with
2470 the window by the uimanager.
2471 * src/merge-properties-dialog.h:
2472 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2473 (gl_merge_properties_dialog_construct):
2474 Changed calling convention of gl_merge_properties_dialog_new() to use
2475 glLabel and GtkWindow instead of view to make more consistent with other
2477 * src/print-dialog.h:
2478 * src/print-dialog.c: (gl_print_dialog_new),
2479 (gl_print_dialog_construct):
2480 Removed last artifact of libbonoboui.
2481 * src/ui-commands.c: (gl_ui_cmd_file_print),
2482 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2483 Reconciled style for launching dialogs.
2484 * src/ui.c: (gl_ui_new):
2485 Added context menus to ui manager.
2486 * src/view-object.c: (item_event_arrow_mode):
2487 No longer try to select objects with right-click.
2489 * src/window.c: (gl_window_init), (gl_window_set_label),
2490 (context_menu_activate_cb):
2491 Context menus and all dialogs are now managed in a consistent way in window
2494 2005-05-11 Jim Evins <evins@snaught.com>
2497 * src/window.c: (gl_window_init), (gl_window_destroy):
2498 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2499 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2500 Moved management of recent_view back from window.c to ui.c -- it just feels
2503 2005-05-10 Jim Evins <evins@snaught.com>
2506 * src/window.c: (gl_window_init):
2508 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2509 (menu_item_select_cb), (menu_item_deselect_cb):
2510 Added GtkStatusbar which displays menu tooltips.
2512 2005-05-09 Jim Evins <evins@snaught.com>
2514 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2519 Removed dependencies on libbonoboui.
2521 * data/ui/Makefile.am:
2522 * data/ui/glabels-ui.xml:
2523 Removed data/ui directory.
2524 * data/glade/Makefile.am:
2525 * data/property-bar.glade:
2526 Added glade description of property-bar for new libglade implementation
2533 * src/ui-commands.h:
2534 * src/ui-commands.c:
2535 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2536 since the distinction between "commands" and "tools" is no longer that clear.
2539 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2540 no longer has knowledge of eggRecent*.
2541 * src/glabels.c: (main):
2542 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2544 * src/object-editor.c: (gl_object_editor_init):
2545 Make sure notebook does not respond to a "show_all" on the parent.
2546 * src/recent-files/Makefile.am:
2547 * src/recent-files/*.[ch]
2548 Updated from latest version of libegg which now has a view based on
2549 GtkUIManager. Removed unused bonobo and gtk views.
2550 * src/ui-property-bar.h:
2551 * src/ui-property-bar.c:
2552 New implementation based on libglade.
2555 Sidebar is now simply a GtkWidget and does not expect to be a part of
2556 a libbonoboui interface.
2561 Converted for use with GtkUIManager.
2564 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2565 to create menus and toolbars.
2567 2005-04-25 Jim Evins <evins@snaught.com>
2569 * data/templates/misc-iso-templates.xml:
2570 Added Fellows 04715 template provided by Steve Saxon.
2572 Updated acknowledgement for above.
2574 2005-04-23 Jim Evins <evins@snaught.com>
2576 * src/util.c: (gl_util_combo_box_set_strings):
2577 Make sure to clear model before loading a new list of strings.
2578 * src/wdgt-media-select.h:
2579 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2580 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2581 (template_combo_changed_cb), (prefs_changed_cb),
2582 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2583 (gl_wdgt_media_select_get_page_size),
2584 (gl_wdgt_media_select_set_page_size):
2585 Replaced the deprecated GtkCombo widget with the new
2588 2005-04-21 Jim Evins <evins@snaught.com>
2590 * data/glade/template-designer.glade:
2591 * src/template-designer.c: (construct_pg_size_page),
2592 (pg_size_page_changed_cb), (build_template):
2593 Replaced the deprecated GtkCombo widget with the new
2596 2005-04-20 Jim Evins <evins@snaught.com>
2598 * data/glade/prefs-dialog.glade:
2599 * src/prefs-dialog.c: (construct_object_page),
2600 (update_object_page_from_prefs), (update_prefs_from_object_page):
2601 Replaced the deprecated GtkCombo widget with the new
2604 2005-04-19 Jim Evins <evins@snaught.com>
2606 * data/glade/object-editor.glade:
2607 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2608 (style_changed_cb), (gl_object_editor_set_bc_style),
2609 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2610 (gl_object_editor_get_bc_color):
2611 * src/object-editor-data-page.c:
2612 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2613 (gl_object_editor_get_data):
2614 * src/object-editor-edit-page.c:
2615 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2616 * src/object-editor-fill-page.c:
2617 (gl_object_editor_prepare_fill_page),
2618 (gl_object_editor_set_fill_color),
2619 (gl_object_editor_get_fill_color):
2620 * src/object-editor-image-page.c:
2621 (gl_object_editor_prepare_image_page),
2622 (gl_object_editor_set_image), (gl_object_editor_get_image):
2623 * src/object-editor-line-page.c:
2624 (gl_object_editor_prepare_line_page),
2625 (gl_object_editor_set_line_color),
2626 (gl_object_editor_get_line_color):
2627 * src/object-editor-private.h:
2628 * src/object-editor-text-page.c:
2629 (gl_object_editor_prepare_text_page),
2630 (gl_object_editor_set_font_family),
2631 (gl_object_editor_get_font_family),
2632 (gl_object_editor_set_text_color),
2633 (gl_object_editor_get_text_color):
2634 * src/object-editor.c: (gl_object_editor_set_key_names):
2636 In the object editor: replaced all instances of the deprecated
2637 GtkCombo widget with the new GtkComboBox.
2639 2005-04-18 Jim Evins <evins@snaught.com>
2642 Neglected to save this one in previous checkin to support
2645 2005-04-17 Jim Evins <evins@snaught.com>
2647 * libglabels/libglabels-private.h:
2648 * libglabels/paper.c:
2649 * libglabels/paper.h:
2650 * libglabels/template.c:
2651 * libglabels/template.h:
2652 * libglabels/xml-paper.c:
2653 * libglabels/xml-paper.h:
2654 * libglabels/xml-template.c:
2659 * src/bc-gnubarcode.c:
2670 * src/label-barcode.c:
2672 * src/label-ellipse.c:
2673 * src/label-image.c:
2674 * src/label-image.h:
2676 * src/label-object.c:
2680 * src/merge-properties-dialog.c:
2681 * src/object-editor-bc-page.c:
2682 * src/object-editor-data-page.c:
2683 * src/object-editor-edit-page.c:
2684 * src/object-editor-fill-page.c:
2685 * src/object-editor-image-page.c:
2686 * src/object-editor-line-page.c:
2687 * src/object-editor-lsize-page.c:
2688 * src/object-editor-position-page.c:
2689 * src/object-editor-private.h:
2690 * src/object-editor-size-page.c:
2691 * src/object-editor-text-page.c:
2692 * src/object-editor.c:
2693 * src/object-editor.h:
2694 * src/pixbuf-cache.h:
2695 * src/prefs-dialog.c:
2696 * src/prefs-dialog.h:
2697 * src/prefs-model.c:
2698 * src/prefs-model.h:
2700 * src/print-dialog.c:
2701 * src/print-dialog.h:
2709 * src/template-designer.c:
2710 * src/template-designer.h:
2713 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2719 * src/view-barcode.c:
2721 * src/view-ellipse.c:
2722 * src/view-highlight.c:
2723 * src/view-highlight.h:
2726 * src/view-object.c:
2727 * src/view-object.h:
2731 * src/wdgt-chain-button.c:
2732 * src/wdgt-media-select.c:
2733 * src/wdgt-media-select.h:
2734 * src/wdgt-mini-preview.c:
2735 * src/wdgt-mini-preview.h:
2736 * src/wdgt-print-copies.c:
2737 * src/wdgt-print-copies.h:
2738 * src/wdgt-print-merge.c:
2739 * src/wdgt-print-merge.h:
2740 * src/wdgt-rotate-label.c:
2741 * src/wdgt-rotate-label.h:
2744 * src/xml-label-04.c:
2745 * src/xml-label-191.c:
2747 Cleanup of header files:
2748 - all header files are now stand-alone, verified by including
2749 first in corresponding "c" files
2750 - replaced blanket includes of gnome, gtk, and glib with
2753 2005-04-16 Jim Evins <evins@snaught.com>
2755 * data/glade/Makefile.am:
2756 * data/glade/merge-properties-dialog.glade:
2757 Added merge properties dialog glade description file.
2758 * src/merge-properties-dialog.h:
2759 * src/merge-properties-dialog.c:
2760 (gl_merge_properties_dialog_get_type),
2761 (gl_merge_properties_dialog_init),
2762 (gl_merge_properties_dialog_finalize),
2763 (gl_merge_properties_dialog_new),
2764 (gl_merge_properties_dialog_construct), (type_changed_cb),
2765 (src_changed_cb), (response_cb), (load_tree),
2766 (record_select_toggled_cb), (select_all_button_clicked_cb),
2767 (unselect_all_button_clicked_cb):
2768 Modified merge properties dialog to use libglade. Added
2769 "select all" and "unselect all" buttons.
2770 * src/merge-text.c: (parse_line):
2771 Handle empty lines better.
2772 * src/merge.c: (gl_merge_eval_key):
2773 Evaluate the key whether the record is selected or not.
2775 * src/util.c: (gl_util_combo_box_add_text_model):
2776 Since libglade does not use the gtk_combo_box_new_text()
2777 constructor for GtkComboBoxes, a utility function was created
2778 to add an appropriate text model to a GtkComboBox.
2779 * src/view.c: (gl_view_edit_merge_props):
2780 Removed unnecessary "show all's".
2782 2005-04-15 Jim Evins <evins@snaught.com>
2785 Updated russian translation (Vitaly Lipatov)
2786 * data/templates/misc-iso-templates.xml:
2787 Added templates for russian business cards provided by Vitaly Lipatov.
2789 Updated acknowledgements for above.
2791 2005-04-15 Jim Evins <evins@snaught.com>
2793 * data/templates/avery-us-templates.xml:
2794 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2795 * data/templates/misc-iso-templates.xml:
2796 Added Ryman standard CD/DVD template, provided by Dan Clark.
2798 Added acknowledgements for above.
2800 2005-04-10 Jim Evins <evins@snaught.com>
2802 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2803 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2804 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2805 (xml_parse_label_cd_node), (xml_parse_alias_node):
2806 * libglabels/xml.c: (gl_xml_get_prop_double),
2807 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2808 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2809 * src/xml-label-04.c: (xml04_parse_media_description),
2810 (xml04_parse_text_props), (xml04_parse_barcode_props),
2811 (xml04_parse_merge_properties):
2812 * src/xml-label-191.c: (xml191_parse_object),
2813 (xml191_parse_text_props), (xml191_parse_barcode_props),
2814 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2815 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2816 (xml191_parse_alias):
2817 * src/xml-label.c: (xml_parse_object_text),
2818 (xml_parse_object_barcode), (xml_parse_merge_fields),
2819 (xml_parse_pixdata), (xml_parse_toplevel_span):
2820 Make sure to use xmlFree for anything obtained from libxml
2821 in case libxml and glib use different memory management
2824 2005-04-08 Jim Evins <evins@snaught.com>
2827 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2828 (gl_util_combo_box_set_active_text):
2829 Added utility functions to simplify working with GtkComboBox
2831 * src/ui-property-bar.h:
2832 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2833 (reset_to_default_properties), (update_text_properties),
2834 (font_family_changed_cb):
2835 Replaced deprecated GtkCombo with GtkComboBox.
2838 2005-04-03 Jim Evins <evins@snaught.com>
2841 * src/wdgt-image-select.h:
2842 * src/wdgt-image-select.c:
2843 Removed obsolete wdgt-image-select.[ch] files.
2844 * libglabels/paper.c: (gl_paper_dup):
2845 Fixed rename of parameter introduced during documentation
2847 * data/glade/object-editor.glade:
2848 * src/object-editor-image-page.c:
2849 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2850 (gl_object_editor_set_image), (gl_object_editor_get_image),
2851 (update_preview_cb), (add_image_filters_to_chooser):
2852 * src/object-editor-private.h:
2853 Replaced deprecated GnomePixmapEntry with
2854 GtkFileChooserButton.
2856 2005-04-02 Jim Evins <evins@snaught.com>
2858 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2859 (mygal_combo_box_popup_hide_unconditional),
2860 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2861 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2862 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2863 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2864 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2865 Renamed all internal gtk_combo functions to mygal_combo
2866 to prevent namespace confusion.
2868 2005-04-02 Jim Evins <evins@snaught.com>
2870 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2871 (cust_color_set), (color_palette_setup):
2872 * src/mygal/color-palette.h:
2873 Replaced deprecated GnomeColorPicker with GtkColorButton.
2875 2005-04-02 Jim Evins <evins@snaught.com>
2877 * docs/libglabels/libglabels-sections.txt:
2878 * docs/libglabels/libglabels-undocumented.txt:
2879 * docs/libglabels/tmpl/enums.sgml:
2880 * docs/libglabels/tmpl/paper.sgml:
2881 * docs/libglabels/tmpl/xml-paper.sgml:
2882 * docs/libglabels/tmpl/xml-template.sgml:
2883 * libglabels/enums.h:
2884 * libglabels/paper.c: (gl_paper_dup):
2885 * libglabels/paper.h:
2886 * libglabels/xml-paper.c:
2887 * libglabels/xml-template.c:
2888 More documentation updates for libglabels.
2890 2005-03-23 Jim Evins <evins@snaught.com>
2893 Automatically updated.
2898 * docs/libglabels/Makefile.am:
2899 * docs/libglabels/libglabels-docs.sgml:
2900 * docs/libglabels/libglabels-sections.txt:
2901 * docs/libglabels/libglabels-undocumented.txt:
2902 * docs/libglabels/tmpl/enums.sgml:
2903 * docs/libglabels/tmpl/libglabels-unused.sgml:
2904 * docs/libglabels/tmpl/libglabels.sgml:
2905 * docs/libglabels/tmpl/paper.sgml:
2906 * docs/libglabels/tmpl/template.sgml:
2907 * docs/libglabels/tmpl/xml-paper.sgml:
2908 * docs/libglabels/tmpl/xml-template.sgml:
2909 * docs/libglabels/tmpl/xml.sgml:
2910 Added basic gtk-doc stuff to support documenting libglabels
2913 Updated function comments with gtk-doc markup.
2917 2005-03-22 Jim Evins <evins@snaught.com>
2919 Since the development version now requires gtk-2.6/gnome-2.10, I
2920 have made a first pass at removing deprecations.
2923 * libglabels/Makefile.am:
2925 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2926 Also removed all remnants of HAVE_FILECHOOSER.
2927 * src/file.c: (gl_file_open_real):
2928 Removed code for old GtkFileSelection.
2929 * libglabels/libglabels-private.h:
2930 * libglabels/paper.c:
2931 * libglabels/template.c:
2932 * libglabels/xml-paper.c:
2933 * libglabels/xml-template.c:
2937 * src/glabels-batch.c:
2941 * src/merge-properties-dialog.c:
2943 * src/object-editor.c:
2944 * src/prefs-dialog.c:
2946 * src/print-dialog.c:
2949 * src/template-designer.c:
2950 * src/ui-property-bar.c:
2952 * src/view-barcode.c:
2954 * src/view-ellipse.c:
2959 * src/wdgt-image-select.c:
2960 * src/wdgt-media-select.c:
2961 * src/wdgt-print-copies.c:
2962 * src/wdgt-print-merge.c:
2963 * src/wdgt-rotate-label.c:
2965 * src/xml-label-04.c:
2966 * src/xml-label-191.c:
2968 Added '#include <glib/gi18n.h>" where needed.
2969 Removed any unused '#include <gnome.h>"s.
2971 2005-03-22 Jim Evins <evins@snaught.com>
2973 * src/commands.c: (activate_url), (gl_cmd_help_about):
2974 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2975 development version of glabels now depends on GTK 2.6 and
2978 Updated library dependencies.
2980 2005-02-28 Jim Evins <evins@snaught.com>
2983 * data/templates/misc-iso-templates.xml:
2984 Added 'Ednet 45021' template provided by Ali Akcaagac
2987 2005-02-14 Jim Evins <evins@snaught.com>
2989 * data/templates/avery-us-templates.xml:
2990 Updated templates to use inches instead of points.
2991 * src/print-dialog.c: (printer_page_new):
2992 Changed packing style when adding printer selector widget. This fixes
2995 2005-02-13 Jim Evins <evins@snaught.com>
2999 Updated spanish translations. (sergio rivadero)
3001 2005-02-05 Jim Evins <evins@snaught.com>
3003 Some cleanup to libglabels.
3006 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3007 * libglabels/libglabels.pc.in
3009 * libglabels/enums.h
3010 Created. Currently only contains glUnitsType which provides enumerations
3011 for all possible units of distance.
3012 * libglabels/Makefile.am:
3013 Incorporated new files enums.h and libglabels.pc[.in].
3014 * libglabels/libglabels.h:
3016 * libglabels/template.h:
3017 * libglabels/template.c: (gl_template_layout_new):
3018 Changed parameters nx and ny to gint from gdouble.
3020 * libglabels/xml.c: (gl_xml_get_prop_length),
3021 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3022 Added support for different output units.
3023 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3024 (update_prefs_from_locale_page):
3025 * src/prefs-model.c: (string_to_units), (units_to_string):
3026 * src/prefs-model.h:
3027 * src/prefs.c: (gl_prefs_get_units_per_point),
3028 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3029 (gl_prefs_get_units_string):
3031 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3032 Reconciled all length enumerations with the new enumerations provided
3033 in libglabels/enums.h.
3035 2005-02-03 Jim Evins <evins@snaught.com>
3038 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3040 Updated Italian translations. (Daniele Medri)
3042 Updated credits to reflect above translations.
3045 2005-01-22 Jim Evins <evins@snaught.com>
3050 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3052 Final prep for 2.1.0.
3054 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3056 Added '--remove-original' flag to desktop-file-install, so that there is
3057 only one menu entry.
3059 2005-01-20 Jim Evins <evins@snaught.com>
3061 * data/glade/object-editor.glade:
3062 - Font family entry should not be editable.
3063 - img_key_entry should have sensitivity=YES, so that it follows the
3064 sensitivity of img_key_combo.
3066 2005-01-19 Jim Evins <evins@snaught.com>
3069 Give credit to Frederic Ruaudel for the color merge patches.
3071 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3073 Add support to merge color for all other color attribute (Feature
3074 Requests item #1008635. If the data is invalid, the color used is transparent
3075 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3076 by gdk_color_parse() these include name for a color from rgb.txt, such as
3077 DarkSlateGray, or a hex specification such as #305050. File format has been
3078 changed but backward compatibility is preserved for all format. For
3079 box/ellipse/line, keep attribute "line_color" for static color or replace by
3080 "line_color_field" for merge data. For text/barcode objects, keep attribute
3081 "color" for static color or replace by "color_field" for merge data. In the
3082 edit canvas window, merged color are represented by half-transparent black
3085 * data/dtd/glabels-2.0.dtd:
3086 Added line_color_field to line_attrs. Added color_field to
3087 Object-barcode and Span.
3088 * data/glade/object-editor.glade:
3089 Modify the layout of the editor to add merge possibility to color options
3091 Fix a copy/paste error in a comment
3093 Add default color for merge color representation in the editor canvas.
3094 * src/label-barcode.c:
3095 * src/object-editor-bc-page.c:
3096 * src/view-barcode.c:
3097 Add merge color support for barcode color.
3100 Add merge color support for box border color.
3101 * src/label-ellipse.c:
3102 * src/view-ellipse.c:
3103 Add merge color support for ellipse border color.
3106 Add merge color support for line color.
3107 * src/label-object.c:
3108 * src/label-object.h:
3109 * src/object-editor.c:
3110 * src/object-editor.h:
3111 * src/ui-property-bar.c:
3114 * src/xml-label-04.c:
3115 * src/xml-label-191.c:
3116 Add support for merging to other color attribute.
3118 * src/object-editor-text-page.c:
3120 Add merge color support for text color.
3121 * src/object-editor-fill-page.c:
3122 Change a blocked handler that didn't match the good widget. Fix the type
3123 of some debug message.
3124 * src/object-editor-line-page.c:
3125 Add merging support to line color option.
3126 * src/object-editor-private.h:
3127 Add variables for new widget.
3129 Modify the draw functions to get merge data if needed.
3131 Change the default size of the window in order to see all widget in the
3132 "text style tab" of the editor.
3134 Modify the parser to record/retreive the field value for objects that need
3135 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3136 static color or replace by "line_color_field" for merge data. For
3137 text/barcode objects, keep attribute "color" for static color or replace
3138 by "color_field" for merge data.
3140 2005-01-17 Jim Evins <evins@snaught.com>
3142 * src/view.c: (screen_changed_cb):
3143 Don't do anything if we don't have a screen.
3145 2005-01-06 Jim Evins <evins@snaught.com>
3147 * src/view.c: (get_home_scale):
3148 Fixed bad call to gtk_widget_has_screen() -- huh?.
3150 2005-01-06 Jim Evins <evins@snaught.com>
3152 * data/dtd/glabels-2.0.dtd:
3153 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3156 2005-01-06 Jim Evins <evins@snaught.com>
3158 * data/glade/object-editor.glade:
3159 Set entries for fill and data field key dropdowns to NOT editable.
3160 * src/view-box.c: (construct_properties_editor):
3161 * src/view-ellipse.c: (construct_properties_editor):
3162 Update object editor when label's merge property has changed.
3163 * src/xml-label.c: (xml_parse_object_ellipse):
3164 Completed the merge color support for the ellipse item.
3166 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3168 Add support to merge color for object that have a "Fill color" attribute (Feature
3169 Requests item #1008635. If the data is invalid, the color used is transparent
3170 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3171 by gdk_color_parse() these include name for a color from rgb.txt, such as
3172 DarkSlateGray, or a hex specification such as #305050. File format has been
3173 changed but backward compatibility is preserved for all format. For box/ellipse,
3174 keep attribute "fill_color" for static color or replace by "fill_color_field"
3177 * data/glade/object-editor.glade:
3178 Modify "Fill" tab to add the merge key combo and convert the labels into
3182 Add "glColorNode" structure and associated functions to manage it. This
3183 structure is equivalent for color than the "glTextNode". It holds the color
3185 * src/label-object.h:
3186 * src/label-object.c:
3188 * src/label-ellipse.c:
3189 * src/ui-property-bar.c:
3193 * src/view-ellipse.c:
3194 * src/xml-label-04.c:
3195 * src/xml-label-191.c:
3196 Change functions of objects that have a "fill color" attribute to use the
3197 new "glColorNode" structure. Use barcode code as example.
3199 Add the color.[ch] file to glabels_batch binary that now need support for
3201 * src/object-editor.h:
3202 * src/object-editor.c:
3203 * src/object-editor-fill-page.c:
3204 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3205 to choose between static color or merge key. Use barcode code as example.
3206 * src/object-editor-private.h:
3207 Add new widget in the "_glObjectEditorPrivate" structure.
3209 Modify the draw functions to get merge data if needed.
3211 Modify the parser to record/retreive the field value for objects that need
3212 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3213 color or "fill_color_field" for merge data.
3215 2005-01-04 Jim Evins <evins@snaught.com>
3218 * data/templates/avery-iso-templates.xml:
3219 * data/templates/misc-iso-templates.xml:
3220 * data/templates/misc-us-templates.xml:
3221 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3224 2004-11-26 Jim Evins <evins@snaught.com>
3228 Updated french translations provided by Florent Morel <florent@taket.org>.
3229 * src/view-barcode.c:
3231 * src/view-ellipse.c:
3235 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3236 thus _() strings were not being translated.
3238 2004-11-14 Jim Evins <evins@snaught.com>
3241 * src/debug.c: (gl_debug_init), (gl_debug):
3242 Borrowed from gedit: use environmental variables to select debug
3245 Removed unused include of debug.h.
3246 * src/glabels.c: (main):
3247 Added call to gl_debug_init(), and removed debug clutter from command line
3249 * src/glabels-batch.c: (main):
3250 Added call to gl_debug_init().
3252 2004-11-13 Jim Evins <evins@snaught.com>
3254 Drawing and property toolbars were being initialized with the "icons and text"
3255 look in Fedora Core 3. Even though none of the buttons had any text attached to
3256 them, the buttons were being sized as if they were. This led to less real estate
3257 for the property editor, leading to Bug #1064630. The
3259 * data/ui/glabels-ui.xml:
3260 Added explicit "look" property to both drawing and property toolbars.
3261 * src/prefs-model.c: (gl_prefs_model_save_settings),
3262 (gl_prefs_model_load_settings):
3263 * src/prefs-model.h:
3264 Removed drawing_toolbar_button_style configuration parameter.
3265 * src/ui.c: (view_menu_item_toggled_cb),
3266 (set_app_drawing_toolbar_style):
3267 Do not attempt to adjust look property of the drawing toolbar.
3269 2004-10-28 Jim Evins <evins@snaught.com>
3271 * data/pixmaps/glabels-about-logo.png:
3274 2004-10-28 Jim Evins <evins@snaught.com>
3276 * data/man/glabels.1:
3277 * src/glabels-batch.c: (main):
3279 * src/print.c: (gl_print_batch):
3281 Added option to glabels-batch to select the first label to begin
3284 2004-09-26 Jim Evins <evins@snaught.com>
3286 * data/desktop/glabels.desktop.in:
3287 Point to app icon, "glabels.png"
3288 * data/mime/glabels.keys.in:
3289 Point at mime icon, "glabels-application-x-glabels.png"
3290 * data/pixmaps/Makefile.am:
3291 Added glabels_app_icondir. Renamed icons.
3292 * data/pixmaps/glabels.png:
3293 New cleaned up app icon. Deleted glabels-icon.png.
3294 * data/pixmaps/glabels-application-x-glabels.png:
3296 * data/pixmaps/glabels-splash.png:
3297 Renamed glabels-logo to glabels-splash to be more correct about role.
3299 * src/template-designer.c:
3300 Point at app icon, "glabels.png"
3302 Point at renamed splash image, "glabels-splash.png"
3304 2004-08-22 Jim Evins <evins@snaught.com>
3307 * src/glabels-batch.c: (main):
3308 Applied patch with minor mods to allow selecting merge source and
3309 crop-marks on glabels-batch's command line. Original patch provided by
3310 José Dapena Paz <jdapena@igalia.com>.
3312 2004-08-15 Jim Evins <evins@snaught.com>
3314 * data/desktop/glabels.desktop.in:
3315 - Added encoding line
3316 - Removed period from comment
3317 - Fixed Terminal line, changed "0" to "false"
3318 - Added semicolen to Categories line
3320 - Made sure desktop.in comment string above still translated properly
3322 2004-08-14 Jim Evins <evins@snaught.com>
3324 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3325 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3326 * src/xml-label-191.c: (xml191_parse_sheet):
3327 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3329 Reconciled libglabels versioning with 2.0.1.
3332 2004-08-14 Jim Evins <evins@snaught.com>
3335 Updated version to 2.1cvs.
3337 2004-08-14 Jim Evins <evins@snaught.com>
3340 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3342 2004-08-14 Jim Evins <evins@snaught.com>
3344 Fixes for Bug #1008181.
3346 * src/bc.c: (gl_barcode_default_digits):
3347 Make a format of zero digits, harmless.
3348 * src/xml-label.c: (xml_parse_object_barcode):
3349 Set default value of the format property of barcode objects to 10, not
3350 zero. This will prevent crashes when reading pre 2.0.x files.
3352 2004-08-09 Jim Evins <evins@snaught.com>
3356 * help/C/glabels-C.omf:
3357 * help/C/glabels.xml:
3358 Brought documentation up-to-date for 2.0.0 release.
3360 2004-08-09 Jim Evins <evins@snaught.com>
3362 These are hopefully the final preparations for 2.0.0.
3364 * data/mime/Makefile.am:
3365 Include glabels.xml in EXTRA_DIST.
3367 - Updated comment style.
3368 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3369 - Added package and version info to configuration printout
3370 - Update version to 2.0.0
3371 * libglabels/Makefile.am:
3372 Use the new LIBGLABELS_VERSION_INFO macro.
3374 2004-08-09 Jim Evins <evins@snaught.com>
3378 Cleanup of required library macros.
3380 2004-08-08 Jim Evins <evins@snaught.com>
3384 - More specific of what to install in /usr/bin and /usr/lib
3385 - Remove built mime registration files from staging directory
3387 2004-08-08 Jim Evins <evins@snaught.com>
3389 * data/mime/Makefile.am:
3390 Fixed typo: key_files should have been keys_files.
3392 2004-08-08 Jim Evins <evins@snaught.com>
3394 Reorganization of runtime data files. Also added registration of mimetype with
3395 new freedesktop.org mime database if available.
3398 Moved files to appropriate subdirectories, creating local Makefile.am
3399 in each subdirectory.
3400 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3401 These are now installed at $datadir/glabels/templates.
3402 - Moved glabels.1 to man subdirectory.
3403 - Moved glabels-2.0.dtd to dtd subdirectory.
3404 - Moved glabels.desktop.in to desktop subdirectory.
3405 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3407 Moved "./pixmaps" to "./data/pixmaps"
3409 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3411 Moved libglade files from src to data/glade. Created Makefile.am.
3413 Removed pixmaps from SUBDIRS.
3415 - Removed pixmaps from makefiles.
3416 - Added makefiles for new subdirs of data.
3417 - Added tests for freedesktop.org mime database.
3419 - Added tests for freedesktop.org mime database for post install and
3420 post un-install actions.
3421 * libglabels/Makefile.am:
3422 Moved system template files to $(datadir)/glabels/templates.
3423 * libglabels/libglabels-private.h:
3424 Moved system template files to $(datadir)/glabels/templates.
3426 - Accounted for movement of ui and libglade files.
3427 - Added missing .in files.
3428 - Reorganized by directory.
3430 Accounted for movement of ui and libglade files.
3431 * data/mime/glabels.xml.in:
3432 New file for registering with freedesktop.org mime database.
3434 2004-08-07 Jim Evins <evins@snaught.com>
3436 * src/recent-files/*:
3437 Re-synced to latest libegg/recent-files.
3439 2004-08-07 Jim Evins <evins@snaught.com>
3444 Renamed "./doc" directory to "./help" which contains user documentation,
3445 to be more consistent with other GNOME applications.
3448 2004-07-26 Jim Evins <evins@snaught.com>
3450 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3451 Corrected button order of merge properties dialog.
3453 2004-07-18 Jim Evins <evins@snaught.com>
3455 * data/glabels-2.0.dtd:
3456 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3457 (gl_barcode_get_prefered_n):
3459 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3460 (gl_label_barcode_get_props), (get_size):
3461 * src/label-barcode.h:
3462 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3463 (style_changed_cb), (gl_object_editor_set_bc_style),
3464 (gl_object_editor_get_bc_style):
3465 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3466 (gl_object_editor_set_data), (gl_object_editor_get_data):
3467 * src/object-editor-private.h:
3468 * src/object-editor.c: (gl_object_editor_set_key_names):
3469 * src/object-editor.glade:
3470 * src/object-editor.h:
3471 * src/print.c: (draw_barcode_object):
3472 * src/view-barcode.c: (update_object_from_editor_cb),
3473 (update_editor_from_object_cb),
3474 (gl_view_barcode_create_event_handler), (draw_barcode):
3475 * src/xml-label-04.c: (xml04_parse_barcode_props):
3476 * src/xml-label-191.c: (xml191_parse_barcode_props):
3477 * src/xml-label.c: (xml_parse_object_barcode),
3478 (xml_create_object_barcode):
3479 Added "format" attribute to barcode objects. This attribute is used
3480 to properly format freeform barcodes barcodes prior to merge data is
3481 applied, so that barcodes can be accurately layed out. This addresses
3482 remaining issues of feature request #824787. Also added an example of
3483 the format in the object editor.
3485 2004-07-12 Jim Evins <evins@snaught.com>
3487 Various code cleanups.
3489 * src/label-barcode.c:
3490 Removed unneeded include of gnome-glyphlist.h.
3492 * src/label-text.c: (get_size):
3493 Fixed memory leak: unref glyphlists when done with them.
3495 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3496 * src/object-editor-data-page.c:
3497 (gl_object_editor_prepare_data_page):
3498 * src/object-editor-image-page.c:
3499 (gl_object_editor_prepare_image_page):
3500 * src/object-editor-line-page.c:
3501 (gl_object_editor_prepare_line_page):
3502 * src/object-editor-lsize-page.c:
3503 (gl_object_editor_prepare_lsize_page):
3504 * src/object-editor-position-page.c:
3505 (gl_object_editor_prepare_position_page):
3506 * src/object-editor-size-page.c:
3507 (gl_object_editor_prepare_size_page):
3508 * src/object-editor-text-page.c:
3509 (gl_object_editor_prepare_text_page):
3510 Removed unneeded size groups, originally intended to keep widgets aligned.
3511 Now use tables to lay these out in object-editor.glade.
3513 * src/print.c: (draw_text_object):
3514 Fixed memory leak: unref glyphlists when done with them.
3516 * src/view-barcode.c: (draw_barcode):
3517 Fixed memory leak: unref glyphlists when done with them.
3519 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3520 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3522 - Fixed memory leak: unref glyphlists when done with them.
3524 2004-07-11 Jim Evins <evins@snaught.com>
3526 * data/glabels-2.0.dtd:
3527 * src/label-text.c: (gl_label_text_instance_init), (copy),
3528 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3530 * src/object-editor-private.h:
3531 * src/object-editor-text-page.c:
3532 (gl_object_editor_prepare_text_page),
3533 (gl_object_editor_set_text_auto_shrink),
3534 (gl_object_editor_get_text_auto_shrink):
3535 * src/object-editor.c: (gl_object_editor_set_key_names):
3536 * src/object-editor.glade:
3537 * src/object-editor.h:
3538 * src/print.c: (draw_text_object):
3539 * src/view-text.c: (update_object_from_editor_cb),
3540 (update_editor_from_object_cb):
3541 * src/xml-label.c: (xml_parse_object_text),
3542 (xml_create_object_text):
3543 Added option to allow document merge to auto shrink text size to fit
3544 within the text box. The code in print.c that actually shrinks the
3545 text is loosely based on a patch submitted by Mark Harrison
3546 <mark.harrison@velocitynet.com.au>. This addresses feature request
3549 2004-07-11 Jim Evins <evins@snaught.com>
3551 * data/glabels-2.0.dtd:
3552 * libglabels/template.c: (gl_template_rect_label_type_new),
3553 (gl_template_round_label_type_new),
3554 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3555 (template_full_page):
3556 * libglabels/template.h:
3557 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3558 (xml_create_label_node):
3559 * pixmaps/ex-rect-size.png:
3560 * src/print.c: (clip_to_outline), (clip_punchouts):
3561 * src/template-designer.c: (construct_rect_size_page),
3562 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3564 * src/template-designer.glade:
3565 * src/xml-label-191.c: (xml191_parse_label):
3566 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3567 properties for rectangular labels. Templates remain backwards compatible,
3568 but this breaks the libglabels API (I don't know of anyone outside of
3569 glabels using libglabels at this time -- what can I say, the program is
3570 is still "unstable"). This addresses the suggestion in Feature Request
3573 2004-07-05 Jim Evins <evins@snaught.com>
3574 * src/print.c: (print_crop_marks), (draw_outline):
3575 Changed crop marks and label outlines to black, instead of 25% gray.
3576 This addresses debian Bug #257460.
3578 2004-07-05 Jim Evins <evins@snaught.com>
3580 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3581 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3582 Preserve "is_default" of fill and line color_combos when creating from
3585 2004-07-02 Jim Evins <evins@snaught.com>
3588 Created man page. Based on page submitted by Matthew J. Lockner, however
3589 it has been severely edited.
3591 * data/avery-other-templates.xml
3592 * data/misc-other-templates.xml:
3593 Started new files for predefined templates with non-standard sheet sizes.
3594 These have been initially populated with the Avery 06141 and
3595 OfficeMax #86112, both provided by Matthew J. Lockner.
3598 Install above manpage and template files.
3601 Make sure we install man pages.
3603 * src/glabels-batch.c:
3604 Changed short form of help option to '-?' to be consistent with glabels.
3607 Added acknowledgement for above labels.
3609 2004-07-02 Jim Evins <evins@snaught.com>
3611 * src/glabels.c: (main), (save_session_cb):
3612 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3614 - save_session_cb() now returns gboolean.
3615 - Minor formatting changes.
3619 - Now include file.h to provide missing prototype.
3620 - gl_window_get_type() now returns GType, not guint. I believe this may
3621 ultimately be cause of the segfault reported in Bug #982287, since
3622 GType is actually a gulong, which may not be compatible on other
3623 architectures (64bit) -- I cannot personally test this at this time.
3624 I was sloppy in several other xxx_get_type() functions which also
3625 returned guint -- see next group of files:
3627 * src/window.c: (gl_window_get_type):
3628 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3629 * src/canvas-hacktext.h:
3630 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3631 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3632 (gl_hig_hbox_get_type):
3634 * src/label-barcode.c: (gl_label_barcode_get_type):
3635 * src/label-barcode.h:
3636 * src/label-box.c: (gl_label_box_get_type):
3638 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3639 * src/label-ellipse.h:
3640 * src/label-image.c: (gl_label_image_get_type):
3641 * src/label-image.h:
3642 * src/label-line.c: (gl_label_line_get_type):
3644 * src/label-object.c: (gl_label_object_get_type):
3645 * src/label-object.h:
3646 * src/label-text.c: (gl_label_text_get_type):
3648 * src/label.c: (gl_label_get_type):
3650 * src/merge-properties-dialog.c:
3651 (gl_merge_properties_dialog_get_type):
3652 * src/merge-properties-dialog.h:
3653 * src/merge-text.c: (gl_merge_text_get_type):
3655 * src/merge.c: (gl_merge_get_type):
3657 * src/object-editor.c: (gl_object_editor_get_type):
3658 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3659 * src/prefs-dialog.h:
3660 * src/prefs-model.c: (gl_prefs_model_get_type):
3661 * src/prefs-model.h:
3662 * src/print-dialog.c: (gl_print_dialog_get_type):
3663 * src/print-dialog.h:
3664 * src/template-designer.c: (gl_template_designer_get_type):
3665 * src/template-designer.h:
3666 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3667 * src/ui-property-bar.h:
3668 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3670 * src/view-barcode.c: (gl_view_barcode_get_type):
3671 * src/view-barcode.h:
3672 * src/view-box.c: (gl_view_box_get_type):
3674 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3675 * src/view-ellipse.h:
3676 * src/view-highlight.c: (gl_view_highlight_get_type):
3677 * src/view-highlight.h:
3678 * src/view-image.c: (gl_view_image_get_type):
3680 * src/view-line.c: (gl_view_line_get_type):
3682 * src/view-object.c: (gl_view_object_get_type):
3683 * src/view-object.h:
3684 * src/view-text.c: (gl_view_text_get_type):
3686 * src/view.c: (gl_view_get_type):
3688 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3689 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3690 * src/wdgt-image-select.h:
3691 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3692 * src/wdgt-media-select.h:
3693 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3694 * src/wdgt-mini-preview.h:
3695 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3696 * src/wdgt-print-copies.h:
3697 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3698 * src/wdgt-print-merge.h:
3699 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3700 * src/wdgt-rotate-label.h:
3701 - Made sure all xxx_get_type functions returned GType, not guint. This
3702 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3703 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3704 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3705 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3706 window.[ch] details above for more info.
3707 - Reconciled various coding style differences in all xxx_get_type()
3709 * All prototypes include G_GNUC_CONST.
3710 * All prototypes specify the return value as GType, not GtkType
3712 * Info structures are all declared as "static const."
3713 * Generalized the names of type and info variables.
3714 * Miscelaneous formatting.
3716 2004-06-08 Jim Evins <evins@snaught.com>
3722 Don't touch compression of original file -- still defaults to 9 for
3723 new files. Original patch provided by Javier Donaire Segarra
3724 (#912252 in patch tracker).
3726 2004-05-05 Jim Evins <evins@snaught.com>
3728 * data/glabels-2.0.dtd:
3729 Broke DTD previously when adding new barcode types that contain a
3730 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3731 to avoid the problem.
3732 * data/avery-iso-templates.xml:
3733 * data/zweckform-iso-templates.xml:
3735 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3736 provided by Frank Altpeter.
3737 * libglabels/xml-template.c: (xml_create_label_node):
3738 Reordered markup and layout sub-nodes so that resulting templates will
3739 validate against DTD.
3741 2004-03-13 Jim Evins <evins@snaught.com>
3743 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3744 Changed spin callback signals from "value-changed" back to "changed."
3745 This was accidentally introduced in a previous revision, and can cause
3746 size changes just by selecting the size tab.
3748 2004-03-06 Jim Evins <evins@snaught.com>
3750 * src/view.c: (draw_grid_layer):
3751 For round labels (round and cd) adjust grid so that it lines up with
3752 center of label. Also, no longer draw box around label in the grid layer,
3753 it is hidden by he fg layer anyway. Feature suggested by
3754 nemolivier@free.fr. Although the grid is aligned with the center of the
3755 label, the coordinate system is still relative to the upper left corner
3756 of the rectangle containing the label.
3758 2004-02-25 Jim Evins <evins@snaught.com>
3761 Changed version to 2.0pre1cvs
3763 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3764 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3765 instead of doc->name fields when errors encountered.
3767 2004-02-21 Jim Evins <evins@snaught.com>
3769 * data/avery-iso-templates.xml:
3770 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3773 Added libglabels library and include file to installed files.
3776 Final prep for 1.93.3.
3778 2004-02-20 Jim Evins <evins@snaught.com>
3780 * src/glabels-batch.c: (main):
3781 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3782 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3784 2004-02-16 Jim Evins <evins@snaught.com>
3787 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3790 Added HAVE_FILE_CHOOSER to INCLUDES.
3792 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3793 (gl_file_save_as), (save_as_response):
3794 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3796 2004-02-16 Jim Evins <evins@snaught.com>
3798 * src/xml-label-04.c: (xml04_parse_image_props):
3799 * src/xml-label-191.c: (xml191_parse_image_props):
3800 * src/xml-label.c: (xml_parse_object_image):
3801 Delay setting image size until after image has been applied to new
3804 2004-02-15 Jim Evins <evins@snaught.com>
3806 * src/label-barcode.c: (gl_label_barcode_set_data),
3807 (gl_label_barcode_set_props):
3808 Don't emit "changed" signal, if no change actually made for these
3809 methods. Reduces number of unnecessary redraws of barcodes.
3811 * src/label-object.h:
3812 * src/label-object.c: (gl_label_object_set_position),
3813 (gl_label_object_set_position_relative), (set_size),
3814 (gl_label_object_set_size),
3815 (gl_label_object_set_size_honor_aspect):
3816 Don't emit "changed" signal, if no change actually made for these
3819 2004-02-15 Jim Evins <evins@snaught.com>
3821 * data/glabels-2.0.dtd:
3822 Added specific subtypes for various barcode types.
3825 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3826 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3827 (gl_barcode_can_text), (gl_barcode_text_optional),
3828 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3829 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3830 Changed API to use a string id, rather than a fixed enumeration. Id and
3831 name are separate strings. Added entries to backend table for specific
3832 subtypes for various barcode types.
3835 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3837 Modified to conform to above API. Now more stringent with data length
3838 for various subtypes.
3840 * src/bc-gnubarcode.h:
3841 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3842 (is_length_valid), (is_length1_valid), (is_length2_valid):
3843 Modified to conform to above API. Now more stringent with data length
3844 for various subtypes.
3846 * src/label-barcode.h:
3847 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3848 (gl_label_barcode_get_props), (get_size):
3849 Modified to use above API for storing barcode type.
3851 * src/object-editor.h:
3852 * src/object-editor-bc-page.c: (style_changed_cb),
3853 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3854 Modified to use above API for storing barcode type.
3856 * src/object-editor-size-page.c:
3857 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3858 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3859 Added debug markers.
3861 * src/object-editor.glade:
3862 Made barcode style combo's text entry non-editable.
3864 * src/print.c: (draw_barcode_object):
3865 Modified to use above API for barcode type.
3867 * src/view-barcode.c: (update_object_from_editor_cb),
3868 (update_editor_from_object_cb),
3869 (gl_view_barcode_create_event_handler), (draw_barcode):
3870 Modified to use above API for barcode type.
3872 * src/xml-label-04.c: (xml04_parse_barcode_props):
3873 * src/xml-label-191.c: (xml191_parse_barcode_props):
3874 * src/xml-label.c: (xml_parse_object_barcode),
3875 (xml_create_object_barcode):
3876 Modified to use above API for barcode type.
3878 2004-02-07 Jim Evins <evins@snaught.com>
3880 * src/stock-pixmaps/Makefile.am:
3881 * src/stock-pixmaps/stock_hchain_24.png:
3882 * src/stock-pixmaps/stock_hchain_broken_24.png:
3883 * src/stock-pixmaps/stock_vchain_24.png:
3884 * src/stock-pixmaps/stock_vchain_broken_24.png:
3885 Added chain pixmaps borrowed from the gimp's default theme.
3888 * src/stock.c: (gl_stock_init), (add_button_icon):
3889 Added above pixmaps to stock icon sets. Created add_button_icon() to
3890 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3892 * src/wdgt-chain-button.h
3893 * src/wdgt-chain-button.c
3896 Added this Modified version of gimpchainbutton widget, borrowed from
3900 Added acknowledgements of the above borrowing from the gimp.
3902 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3904 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3905 * src/object-editor.glade:
3906 Replaced the keep aspect ratio check box with the above chain-button
3909 * src/text-node.c: (gl_text_node_equal):
3911 Added function gl_text_node_equal() to compare text_nodes.
3913 * src/label-image.c: (gl_label_image_set_filename):
3914 Replaced incomplete text_node comparison code with invocation of
3915 gl_text_node_equal. This fixed the problem of not being able to
3916 resize an image using the object_editor if the aspect ratio is not
3919 2004-02-04 Jim Evins <evins@snaught.com>
3921 * src/object-editor-image-page.c:
3922 (gl_object_editor_prepare_image_page):
3923 Track "changed" signal of pixmap entry's GtkEntry rather than its
3924 "activate" signal -- this catches all changes to the entry rather than
3925 just changes resulting from a browse, so one can easily pull previous
3926 entries from the history. (This change is marked below on 2004-02-03,
3927 but somehow never got checked in.)
3929 * src/view-highlight.c: (sl_resize_event_handler),
3930 (sr_resize_event_handler), (st_resize_event_handler),
3931 (sb_resize_event_handler):
3932 Side resize handles will now confirm the actual resize that the object
3933 accepted before adjusting position parameters. Previously some interesting
3934 things happened when resizing a barcode to its minimum size.
3936 2004-02-03 Jim Evins <evins@snaught.com>
3938 * src/object-editor-image-page.c:
3939 (gl_object_editor_prepare_image_page):
3940 Track "changed" signal of pixmap entry's GtkEntry rather than its
3941 "activate" signal -- this catches all changes to the entry rather than
3942 just changes resulting from a browse, so one can easily pull previous
3943 entries from the history.
3945 * src/view-highlight.c: (tl_resize_event_handler),
3946 (tr_resize_event_handler), (bl_resize_event_handler),
3947 (br_resize_event_handler):
3948 Allow control key to be dropped while dragging a corner resize handle
3949 without losing the aspect ratio lock.
3951 2004-02-02 Jim Evins <evins@snaught.com>
3953 * src/label-image.c: (gl_label_image_set_filename):
3954 When setting a new filename adjust size such that the aspect ratio of
3955 the image is preserved using the current size as a bounding box.
3957 * src/view-image.c: (update_object_from_editor_cb):
3958 When updating object from editor, feed back possible size changes to
3959 editor as a result of a possible change in image.
3961 * src/object-editor-size-page.c: (size_reset_cb):
3962 Fixed typo when blocking spin handlers. If the base size is larger than
3963 the max size, treat max size as a bounding box while keeping aspect
3967 2004-02-02 Jim Evins <evins@snaught.com>
3969 * src/label-object.h:
3970 * src/label-object.c: (gl_label_object_set_size),
3971 (gl_label_object_set_size_honor_aspect):
3972 Added gl_label_object_set_size_honor_aspect() which will maintain the
3973 current aspect ratio by modifying the supplied w or h apropriately.
3975 * src/view-highlight.c: (tl_resize_event_handler),
3976 (tr_resize_event_handler), (bl_resize_event_handler),
3977 (br_resize_event_handler):
3978 Corner handles will now maintain the current aspect ratio if the
3979 control key is pressed while resizing. This addresses feature
3983 2004-01-31 Jim Evins <evins@snaught.com>
3986 * data/avery-us-templates.xml:
3987 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3989 * libglabels/template.c: (read_template_files_from_dir):
3990 Corrected problem with testing for extensions.
3992 * src/object-editor.glade:
3993 Corrected grouping of radio buttons in barcode data page.
3995 * src/print.c: (draw_barcode_object):
3996 * src/view-barcode.c: (draw_barcode):
3997 Corrected problem with calculation of y_offset for locating characters.
3999 2004-01-24 Jim Evins <evins@snaught.com>
4002 * data/avery-us-templates.xml:
4003 Added Avery 5824, submitted by Fred Bacon.
4005 2004-01-20 Jim Evins <evins@snaught.com>
4007 Catching up on a couple of backlogged user template submissions.
4009 * data/avery-iso-templates.xml:
4010 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4011 Suggested by Linas Jakucionis.
4013 * data/zweckform-iso-templates.xml:
4014 Added Zweckform 4760, submitted by Thomas Vill.
4017 Updated to reflect above submissions.
4019 2004-01-06 Jim Evins <evins@snaught.com>
4021 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4022 xml.[ch] into a separate library called libglabels, to facilitate third
4023 party use of glabels template files. This was suggested by Wayne Schuller.
4024 Once split-out, some modifications to the structures and functions to
4025 make a cleaner more useful API, hopefully. Rather extensive changes have
4026 propogated to other modules.
4034 * src/xml-template.h:
4035 * src/xml-template.c:
4038 These files have been moved to libglabels/. API cleanup performed.
4040 * libglabels/libglabels.h:
4041 * libglabels/libglabels-private.h:
4042 * libglabels/Makefile.am:
4043 These files have been added to finish out libglabels.
4050 Modified to reflect new sets of files in src/ and libglabels/.
4052 * COPYING.LIBGLABELS:
4054 Added copy of the LGPL for libglabels, and a copy the GFDL for
4057 * src/glabels-batch.c:
4059 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4060 (gl_label_get_size):
4062 * src/prefs-model.c: (gl_prefs_model_load_settings):
4063 * src/print-dialog.c:
4064 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4065 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4066 (print_crop_marks), (print_label), (draw_outline),
4067 (clip_to_outline), (clip_punchouts):
4068 * src/template-designer.c: (construct_pg_size_page),
4069 (pg_size_page_changed_cb), (layout_page_changed_cb),
4070 (print_test_cb), (build_template):
4071 * src/util.c: (gl_util_fraction):
4073 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4074 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4075 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4076 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4077 (draw_markup_margin_round), (draw_markup_margin_cd),
4078 (draw_markup_margin_cd_bc), (draw_markup_line),
4079 (draw_markup_circle), (gl_view_copy):
4080 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4081 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4082 (get_label_size_desc):
4083 * src/wdgt-mini-preview.c:
4084 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4086 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4087 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4088 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4089 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4090 * src/wdgt-rotate-label.h:
4091 * src/xml-label-04.c: (xml04_parse_media_description):
4092 * src/xml-label-191.c: (gl_xml_label_191_parse),
4093 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4094 (xml191_parse_markup), (xml191_parse_alias):
4095 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4097 Various changes to accomodate new libglabels API.
4099 2004-01-03 Jim Evins <evins@snaught.com>
4104 2004-01-03 Jim Evins <evins@snaught.com>
4107 Added acknowledgement of contributions by Wayne Schuller.
4109 * src/commands.c: (gl_cmd_file_print):
4110 Create extra reference to print dialog, so that it can be properly re-used.
4112 * src/mygal/mygal-combo-box.h:
4113 * src/mygal/mygal-combo-box.c:
4114 (mygal_combo_box_popup_hide_unconditional),
4115 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4116 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4117 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4118 (mygal_combo_box_set_tearable):
4119 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4120 complete the rename of this widget to prevent namespace collisions
4123 * src/prefs-dialog.glade:
4124 Fixed alignment of Fill/Color widgets.
4126 2004-01-03 Jim Evins <evins@snaught.com>
4128 * data/avery-iso-templates.xml:
4129 Added user submitted templates.
4130 Avery 8435A & 8435B, submitted by Ludger Solbach.
4132 * doc/C/glabels.xml:
4133 Added minimal documentation, noting the new template designer.
4135 2004-01-03 Jim Evins <evins@snaught.com>
4137 * pixmaps/ex-rect-size.png:
4138 * pixmaps/ex-round-size.png:
4139 * pixmaps/ex-cd-size.png:
4140 * pixmaps/Makefile.am:
4141 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4142 files to be used as illustrations/examples in the template-designer.
4144 * src/template-designer.c: (construct_rect_size_page),
4145 (construct_round_size_page), (construct_cd_size_page),
4146 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4147 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4148 (layout_page_prepare_cb), (build_template):
4149 * src/template-designer.glade:
4150 Added illustrations for rectangle, round, and cd label size pages.
4151 Added margin spinboxes to these pages, and now add a margin markup
4152 to the constructed template. Added realistic default values for
4153 some of the size spinboxes. Cleaned up the code for setting spinbox
4154 ranges on the layouts page.
4156 2004-01-02 Jim Evins <evins@snaught.com>
4158 * src/object-editor-size-page.c: (h_spin_cb):
4159 Fixed cut-n-paste error in h_spin_cb that loaded h from
4160 the wrong spinbutton.
4162 * src/object-editor.h:
4163 * src/object-editor.c: (gl_object_editor_class_init),
4164 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4165 * src/object-editor-private.h:
4166 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4168 Added "size_changed" signal.
4170 * src/view-text.c: (construct_properties_editor),
4171 (update_object_from_editor_cb),
4172 (update_object_from_editor_size_cb):
4173 Track size changes from object editor separately from other
4174 properties. This is so the default size (0,0) of a text
4175 object is not modified unintentionally.
4177 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4179 Added feature: line spacing - allows you to comfortably space a text box to
4180 fit a label perfectly.
4182 * data/glabels-2.0.dtd:
4183 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4184 (gl_label_object_get_text_alignment),
4185 (gl_label_object_get_text_line_spacing):
4186 * src/label-object.h:
4187 * src/label-text.c: (gl_label_text_class_init),
4188 (gl_label_text_instance_init), (copy), (get_size),
4189 (set_text_line_spacing), (get_text_alignment),
4190 (get_text_line_spacing):
4191 * src/object-editor-private.h:
4192 * src/object-editor-text-page.c:
4193 (gl_object_editor_prepare_text_page),
4194 (gl_object_editor_set_text_line_spacing),
4195 (gl_object_editor_get_text_line_spacing):
4196 * src/object-editor.glade:
4197 * src/object-editor.h:
4198 * src/prefs-dialog.c: (construct_object_page),
4199 (update_object_page_from_prefs), (update_prefs_from_object_page):
4200 * src/prefs-dialog.glade:
4201 * src/prefs-model.c: (gl_prefs_model_save_settings),
4202 (gl_prefs_model_load_settings), (get_float):
4203 * src/prefs-model.h:
4204 * src/print.c: (draw_text_object):
4206 * src/view-text.c: (update_object_from_editor_cb),
4207 (update_editor_from_object_cb),
4208 (gl_view_text_create_event_handler), (draw_hacktext):
4209 * src/view.c: (gl_view_construct),
4210 (gl_view_set_selection_text_line_spacing),
4211 (gl_view_set_default_text_line_spacing),
4212 (gl_view_get_default_text_line_spacing):
4214 * src/xml-label.c: (xml_parse_toplevel_span),
4215 (xml_create_toplevel_span):
4217 2003-12-30 Jim Evins <evins@snaught.com>
4219 * src/template-designer.c:
4220 * src/template-designer.h:
4221 * src/template-designer.glade:
4222 New template designer assistant.
4226 Added entries for src/template-designer.* files.
4228 * pixmaps/ex-1layout.png
4229 * pixmaps/ex-2layouts.png
4230 * pixmaps/Makefile.am:
4231 Added the new image files ex-*.png used as illustrations in the
4232 template designer assistant.
4234 * src/print-dialog.h:
4235 * src/print-dialog.c: (gl_print_dialog_finalize),
4236 (gl_print_dialog_new), (gl_print_dialog_construct),
4237 (gl_print_dialog_force_outline_flag):
4238 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4239 to support printing from the template designer assistant which does not
4240 have a full-fledged view. Nothing else from the view object was being
4241 used by the dialog anyway.
4243 Added the gl_print_dialog_force_outline_flag() method, for better
4244 integration with the template designer assistant.
4248 * src/commands.c: (gl_cmd_file_template_designer),
4249 (gl_cmd_file_print):
4250 Modified print command to provide label instead of view to dialog.
4251 Added the gl_cmd_file_template_designer() command to invoke the
4252 template designer assistant.
4255 * src/glabels-ui.xml:
4256 Added support for template designer assistant.
4258 * src/wdgt-mini-preview.h:
4259 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4260 (gl_wdgt_mini_preview_set_bg_color):
4261 Preview is now centered in canvas. Added
4262 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4263 assistant to match the background color with its own.
4265 * src/print.c: (clip_to_outline):
4266 Fixed really stupid bug when adding waste to clip region of rectangular
4267 labels/cards. Each side of the clip region needs to be extended by
4268 twice the waste margin, as well as negatively offset by the waste
4271 2003-12-28 Jim Evins <evins@snaught.com>
4273 * src/prefs-dialog.c: (update_object_page_from_prefs):
4274 Block intermediary function align_toggle_cb() instead of
4275 update_prefs_from_object_page() for the three alignment
4278 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4280 * src/file.c: (gl_file_new), (gl_file_properties):
4281 Swap button order and set default for higificatory pleasure.
4283 2003-12-27 Jim Evins <evins@snaught.com>
4285 * barcode-0.98/Makefile.am:
4286 One last time: removed doc/Makefile and po/Makefile.in.in from
4289 2003-12-27 Jim Evins <evins@snaught.com>
4291 * barcode-0.98/Makefile.am:
4292 Removed config.stat entry from EXTRA_DIST files.
4294 * barcode-0.98/Makefile.in:
4297 2003-12-27 Jim Evins <evins@snaught.com>
4300 Updated to work with latest gnome-common package from CVS.
4301 Removed recursive configuration of barcode-0.98.
4308 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4310 * barcode-0.98/Makefile.in:
4311 * barcode-0.98/configure.in:
4312 * barcode-0.98/Makefile.am:
4313 * barcode-0.98/README.glabels:
4314 Modified to ignore the barcode package's build system, and build
4315 as a part of glabels.
4316 Renamed Makefile.in to Makefile.in.dist.
4317 Renamed configure.in to configure.in.dist.
4318 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4321 * src/mygal/Makefile.am:
4322 * src/recent-files/Makefile.am:
4323 In order to build against the GNOME 2.5 platform,
4324 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4326 * src/mygal/Makefile.am:
4327 * src/mygal/mygal-combo-box.c:
4328 * src/mygal/mygal-combo-box.h:
4329 * src/mygal/widget-color-combo.c:
4330 * src/mygal/widget-color-combo.h:
4332 In order to build against the GNOME 2.5 platform,
4333 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4334 collisions with the real gtk_combo_box widget, now a part of gtk.
4336 2003-12-26 Jim Evins <evins@snaught.com>
4342 Moved local versions of get_home_data_dir() in paper.c and
4343 template.c to util package. Cleaned up formatting in
4347 In gl_template_register() save a copy of the template in
4348 ~/.glabels if the template is not known. Still need to
4349 handle duplicate filename case and duplicate name but
4350 different template case.
4354 Moved local definition of NAME_SPACE macro from xml-label.c
4357 * src/xml-template.c:
4358 * src/xml-template.h:
4359 Added function gl_xml_template_write_template_to_file(), used
4360 in gl_template_register().