1 2009-02-28 Jim Evins <evins@snaught.com>
3 reviewed by: <delete if not using a buddy>
8 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
10 2009-02-22 Jim Evins <evins@snaught.com>
12 * src/merge-properties-dialog.h:
13 * src/new-label-dialog.h:
14 * src/object-editor.h:
17 * src/template-designer.h:
18 Corrected cut&paste errors.
20 2009-02-21 JimEvins <evins@snaught.com>
22 * src/prefs-model.c: (gl_prefs_model_save_settings),
23 (gl_prefs_model_load_settings):
26 * src/ui-property-bar.c:
27 * src/ui.c: (view_ui_item_toggled_cb),
28 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
29 Removed tooltip toggling capability, which wasn't working
32 2009-02-21 JimEvins <evins@snaught.com>
36 * data/builder/object-editor.glade:
37 * data/builder/prefs-dialog.glade:
38 * data/builder/property-bar.glade:
39 * data/builder/template-designer.glade:
41 * src/color-combo-color-menu-item.c:
42 * src/color-combo-color-menu-item.h:
43 * src/color-combo-menu.h:
44 * src/glabels-batch.c: (main):
45 * src/glabels.c: (main):
46 * src/merge-properties-dialog.h:
47 * src/new-label-dialog.h:
48 * src/object-editor-lsize-page.c:
49 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
50 * src/object-editor.h:
53 * src/template-designer.h:
54 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
55 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
56 * src/ui-property-bar.c:
57 * src/ui-property-bar.h:
58 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
59 (selection_changed_cb):
62 * src/wdgt-media-select.h:
63 * src/wdgt-merge-menu.h:
64 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
65 * src/wdgt-mini-preview.h:
66 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
67 * src/wdgt-print-copies.h:
68 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
69 * src/wdgt-print-merge.h:
70 * src/wdgt-rotate-label.h:
72 Removed final dependencies on libgnome and libgnomeui.
73 Removed all currently deprecated symbols as of GTK 2.14.
75 2009-01-07 Jim Evins <evins@snaught.com>
77 * src/critical-error-handler.c: (critical_error_handler):
78 * src/ui-commands.c: (gl_ui_cmd_help_contents):
79 * src/warning-handler.c: (warning_handler):
80 * src/view.c: (selection_received_cb):
81 Compile without warning with additional CFLAGS of
84 2009-01-02 Jim Evins <evins@snaught.com>
86 * COPYING.README_FIRST:
89 2008-12-27 Jim Evins <evins@snaught.com>
91 * data/templates/avery-iso-templates.xml:
92 * data/templates/avery-other-templates.xml:
93 * data/templates/avery-us-templates.xml:
94 * data/templates/brother-other-templates.xml:
95 * data/templates/misc-iso-templates.xml:
96 * data/templates/misc-other-templates.xml:
97 * data/templates/zweckform-iso-templates.xml:
98 Make sure all descriptions are marked as translatable.
100 2008-12-27 Jim Evins <evins@snaught.com>
103 Updated german translation (Mario Blättermann)
105 Updated credits to reflect above translation.
106 * data/builder/object-editor.glade:
107 * data/builder/prefs-dialog.glade:
108 * data/builder/template-designer.glade:
109 Removed "translatable" attribute from whitespace strings,
110 which are used only to help layout.
112 2008-12-21 Jim Evins <evins@snaught.com>
114 * data/templates/avery-us-templates.xml:
115 * data/templates/misc-iso-templates.xml:
116 A couple of recent template submissions.
118 Acknowledgements for above templates.
120 2008-12-21 Jim Evins <evins@snaught.com>
122 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
123 Don't check for handles on aggregate selections.
125 2008-12-20 Jim Evins <evins@snaught.com>
128 Updated prerequisite library versions required.
130 2008-12-18 Jim Evins <evins@snaught.com>
132 * src/view.c: (selection_received_cb):
133 Fixed paste bug that caused a duplicate phantom view_object to be created for
134 each new label_object. This is because the view now (as of r673) the view
135 monitiors the label for new objects and creates view_objects automatically.
137 2008-12-14 Jim Evins <evins@snaught.com>
139 * src/ui.c: (gl_ui_new):
140 Bug #2395628. Fixed i18n for application shell.
142 Bug #2395628. Reconciled POTFILES.in with current files.
144 2008-12-14 Jim Evins <evins@snaught.com>
147 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
149 2008-11-15 Jim Evins <evins@snaught.com>
151 * libglabels/db.c: (lgl_db_register_template):
152 * libglabels/xml-template.c:
153 (lgl_xml_template_parse_template_node):
154 * src/glabels-batch.c:
155 * src/view-text.c: (gl_view_text_create_button_press_event):
156 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
158 2008-11-09 Jim Evins <evins@snaught.com>
160 * data/templates/misc-iso-templates.xml:
161 Another user submitted template.
163 2008-10-27 Jim Evins <evins@snaught.com>
165 * data/templates/avery-us-templates.xml:
166 * data/templates/misc-iso-templates.xml:
167 * data/templates/zweckform-iso-templates.xml:
168 Caught up on user submitted templates.
170 Acknowledgements for above templates.
172 2008-10-23 Jim Evins <evins@snaught.com>
174 * src/label-text.c: (set_font_family):
175 * src/object-editor-text-page.c:
176 (gl_object_editor_prepare_text_page),
177 (gl_object_editor_set_font_family):
178 * src/prefs-dialog.c: (construct_object_page),
179 (update_object_page_from_prefs):
180 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
181 (reset_to_default_properties):
182 * src/util.c: (gl_util_get_font_family_list):
184 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
185 everytime the list is requested.
186 * src/object-editor-text-page.c:
187 (gl_object_editor_set_font_family):
188 Don't change font-family if it hasn't actually changed.
190 2008-10-19 Jim Evins <evins@snaught.com>
192 * data/builder/object-editor.glade:
193 Some tweaking of builder/glade widgets.
195 2008-10-18 Jim Evins <evins@snaught.com>
197 Migrated all use of libglade to GtkBuilder.
199 * data/glade/Makefile.am:
200 * data/glade/merge-properties-dialog.glade:
201 * data/glade/new-label-dialog.glade:
202 * data/glade/object-editor.glade:
203 * data/glade/prefs-dialog.glade:
204 * data/glade/print-custom-widget.glade:
205 * data/glade/property-bar.glade:
206 * data/glade/template-designer.glade:
207 * data/glade/wdgt-media-select.glade:
208 Removed data/glade directory.
209 * data/builder/Makefile.am:
210 * data/builder/merge-properties-dialog.glade:
211 * data/builder/new-label-dialog.glade:
212 * data/builder/object-editor.glade:
213 * data/builder/prefs-dialog.glade:
214 * data/builder/print-custom-widget.glade:
215 * data/builder/property-bar.glade:
216 * data/builder/template-designer.glade:
217 * data/builder/wdgt-media-select.glade:
218 Added data/builder directory.
222 Change glade to builder.
223 * src/merge-properties-dialog.c:
224 (gl_merge_properties_dialog_finalize),
225 (gl_merge_properties_dialog_construct):
226 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
227 (gl_new_label_dialog_construct):
228 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
229 * src/object-editor-data-page.c:
230 (gl_object_editor_prepare_data_page):
231 * src/object-editor-edit-page.c:
232 (gl_object_editor_prepare_edit_page):
233 * src/object-editor-fill-page.c:
234 (gl_object_editor_prepare_fill_page):
235 * src/object-editor-image-page.c:
236 (gl_object_editor_prepare_image_page):
237 * src/object-editor-line-page.c:
238 (gl_object_editor_prepare_line_page):
239 * src/object-editor-lsize-page.c:
240 (gl_object_editor_prepare_lsize_page):
241 * src/object-editor-position-page.c:
242 (gl_object_editor_prepare_position_page):
243 * src/object-editor-private.h:
244 * src/object-editor-shadow-page.c:
245 (gl_object_editor_prepare_shadow_page):
246 * src/object-editor-size-page.c:
247 (gl_object_editor_prepare_size_page):
248 * src/object-editor-text-page.c:
249 (gl_object_editor_prepare_text_page):
250 * src/object-editor.c: (gl_object_editor_init):
251 * src/prefs-dialog.c: (gl_prefs_dialog_init),
252 (gl_prefs_dialog_construct), (construct_locale_page),
253 (construct_object_page):
254 * src/print-op.c: (gl_print_op_finalize),
255 (create_custom_widget_cb):
256 * src/template-designer.c: (gl_template_designer_class_init),
257 (gl_template_designer_finalize), (gl_template_designer_construct),
258 (construct_start_page), (construct_name_page),
259 (construct_pg_size_page), (construct_shape_page),
260 (construct_rect_size_page), (construct_round_size_page),
261 (construct_cd_size_page), (construct_nlayouts_page),
262 (construct_layout_page), (construct_finish_page):
263 * src/template-designer.h:
264 * src/ui-property-bar.c: (gl_ui_property_bar_init),
265 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
266 (gl_ui_property_bar_construct), (reset_to_default_properties),
267 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
268 (update_text_properties), (update_fill_color), (update_line_color),
269 (update_line_width), (selection_changed_cb),
270 (font_family_changed_cb), (font_size_changed_cb),
271 (text_color_changed_cb), (fill_color_changed_cb),
272 (line_color_changed_cb), (line_width_changed_cb),
273 (font_bold_toggled_cb), (font_italic_toggled_cb),
274 (text_align_toggled_cb), (set_doc_items_sensitive),
275 (set_text_items_sensitive), (set_fill_items_sensitive),
276 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
277 * src/ui-property-bar.h:
278 * src/util.c: (gl_util_get_builder_widgets):
280 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
281 (gl_wdgt_media_select_construct):
282 Migration of glade to builder.
284 New macros for color combo initialization.
286 Added idea for internal merge database.
287 * docs/libglabels/libglabels-undocumented.txt:
288 * docs/libglabels/tmpl/paper.sgml:
292 2008-10-12 Jim Evins <evins@snaught.com>
294 * src/mygal/Makefile.am:
295 * src/mygal/color-group.c:
296 * src/mygal/color-group.h:
297 * src/mygal/color-palette.c:
298 * src/mygal/color-palette.h:
299 * src/mygal/e-colors.c:
300 * src/mygal/e-colors.h:
301 * src/mygal/e-marshal.list:
302 * src/mygal/e-util.h:
303 * src/mygal/mygal-combo-box.c:
304 * src/mygal/mygal-combo-box.h:
305 * src/mygal/widget-color-combo.c:
306 * src/mygal/widget-color-combo.h:
312 * src/color-combo-color-menu-item.c:
313 * src/color-combo-color-menu-item.h:
314 * src/color-combo-history.c:
315 * src/color-combo-history.h:
316 * src/color-combo-menu.c:
317 * src/color-combo-menu.h:
322 Created new glColorCombo widget.
323 * src/object-editor-bc-page.c:
324 * src/object-editor-edit-page.c:
325 * src/object-editor-fill-page.c:
326 * src/object-editor-line-page.c:
327 * src/object-editor-shadow-page.c:
328 * src/object-editor-text-page.c:
329 * src/object-editor.c:
330 * src/prefs-dialog.c:
331 * src/ui-property-bar.c:
332 Replaced use of mygal color combo with new glColorCombo widget.
334 2008-08-29 Jim Evins <evins@snaught.com>
336 * src/file.c: (gl_file_open), (gl_file_save_as):
337 Bug #2069668. Corrected button order in Open and "Save as"
340 2008-08-17 Jim Evins <evins@snaught.com>
342 * data/dtd/glabels-2.2.dtd:
343 * data/templates/paper-sizes.xml:
344 * libglabels/db.c: (lgl_db_init):
345 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
346 * libglabels/paper.h:
347 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
348 * src/print-op.c: (set_page_size):
349 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
350 size specification) to the libglabels paper database to allow the page size to be
351 communicated to GtkPrintOp un-ambiguously.
353 2008-07-25 Jim Evins <evins@snaught.com>
355 * src/object-editor-size-page.c: (size_reset_cb),
356 (gl_object_editor_set_max_size):
357 Bug #1993550. Set size limits based on longest side of label.
359 2008-07-19 Jim Evins <evins@snaught.com>
362 * src/mygal/Makefile.am:
363 Make sure libtool handles library dependencies for mygal
366 2008-05-21 Jim Evins <evins@snaught.com>
368 * src/glabels-batch.c: (main):
369 Bug #1968653. Initialize prefs subsystem.
371 2008-05-09 Jim Evins <evins@snaught.com>
373 * data/glade/object-editor.glade:
374 Bug #1959135. A couple of radio buttons somehow became
377 2008-04-07 Jim Evins <evins@snaught.com>
379 * src/wdgt-rotate-label.h:
380 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
381 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
382 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
383 (gl_wdgt_rotate_label_set_template_name):
384 Modified wdgt-rotate-label to better indicate the rotation choices.
385 * data/glade/Makefile.am:
386 * data/glade/wdgt-rotate-label.glade:
387 Deleted wdgt-rotate-label.glade.
389 2008-04-04 Jim Evins <evins@snaught.com>
391 * data/templates/brother-other-templates.xml:
392 Added categories to existing templates.
393 * data/templates/misc-other-templates.xml:
394 Moved dymo templates to their own file.
395 * data/templates/Makefile.am:
396 * data/templates/dymo-other-templates.xml:
397 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
399 Acknowledgement for above templates.
401 2008-03-24 Jim Evins <evins@snaught.com>
403 * src/xml-label.c: (xml_doc_to_label):
404 Bug #1872584. Don't refuse to parse label file if namespace is
405 unrecognized -- it may be from a newer version of glabels.
407 2008-03-15 Jim Evins <evins@snaught.com>
409 * data/templates/Makefile.am:
410 * data/templates/brother-other-templates.xml:
411 Added brother templates.
412 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
413 (gl_cairo_markup_margin_cd_path):
414 * src/view.c: (draw_markup_layer):
415 Fixed markup drawing errors when label is rotated.
417 2008-03-03 Jim Evins <evins@snaught.com>
421 Added korean translation provided by xein@naver.com.
423 2008-02-21 Jim Evins <evins@snaught.com>
426 Fixed typo that prevented "Save" from being deactivated when
427 document is not modified.
429 2008-02-18 Jim Evins <evins@snaught.com>
431 * src/prefs-model.c: (gl_prefs_model_save_settings),
432 (gl_prefs_model_load_settings):
433 Set default units for file output.
435 2008-02-18 Jim Evins <evins@snaught.com>
437 * help/C/glabels.xml:
438 Fixed example template.
440 2008-02-16 Jim Evins <evins@snaught.com>
443 * data/templates/avery-iso-templates.xml:
444 * data/templates/avery-us-templates.xml:
445 * data/templates/misc-iso-templates.xml:
446 * data/templates/misc-us-templates.xml:
447 Caught up on user submitted templates.
449 2008-02-04 Jim Evins <evins@snaught.com>
451 * src/view-image.c: (update_object_from_editor_cb):
452 Bug #1886438. Don't update the image size unless it is actually
453 triggered by a change in image source. The result of this bug
454 was that any attempt to edit the size spinboxes, immediately
457 2008-02-03 Jim Evins <evins@snaught.com>
459 * src/label-image.c: (gl_label_image_class_init), (set_size):
460 Enforce minimum size for images.
462 2008-02-03 Jim Evins <evins@snaught.com>
464 * src/object-editor-edit-page.c: (field_selected_cb):
465 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
466 * src/object-editor-private.h:
467 * src/object-editor-shadow-page.c:
468 (gl_object_editor_set_max_shadow_offset):
469 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
470 * src/object-editor.c: (gl_object_editor_finalize),
471 (gl_object_editor_new), (gl_object_notebook_construct_valist),
473 * src/object-editor.h:
474 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
475 * src/view-barcode.c: (construct_properties_editor):
476 * src/view-box.c: (construct_properties_editor):
477 * src/view-ellipse.c: (construct_properties_editor):
478 * src/view-image.c: (construct_properties_editor):
479 * src/view-line.c: (construct_properties_editor):
480 * src/view-object.c: (gl_view_object_finalize):
481 * src/view-text.c: (construct_properties_editor),
482 Move update_editor_from_label callback from individual view objects
483 to the object editor, so that signals can be disconnected when
484 object editor is finalized.
485 * src/view-text.c: (gl_view_text_create_button_press_event):
486 Fixed bug that caused multiple view objects to be created for a
487 single text object. This bug would manifest itself as a crash
488 when deleting multi-object selections which included text objects.
490 2008-02-02 Jim Evins <evins@snaught.com>
493 * src/wdgt-merge-menu.c:
494 * src/wdgt-merge-menu.h:
495 * src/debug.c: (gl_debug_init):
498 New merge menu widget.
499 * data/glade/object-editor.glade:
500 * src/object-editor-private.h:
501 * src/object-editor.c: (gl_object_editor_set_key_names):
502 * src/object-editor-edit-page.c:
503 (gl_object_editor_prepare_edit_page), (field_selected_cb),
505 Simplified UI for inserting fields into text objects by launching
506 a merge menu and directly inserting fields from the menu. No more
507 selecting field in combobox, then pressing insert button.
509 2008-01-31 Jim Evins <evins@snaught.com>
511 * src/label-barcode.c: (draw_object):
512 Fixed rendering problem when "Invalid data" is displayed when text
513 object is lower in stacking order.
515 2008-01-30 Jim Evins <evins@snaught.com>
517 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
518 Don't turn off cairo_hint_metrics. This causes serious issues with
521 2008-01-29 Jim Evins <evins@snaught.com>
523 * src/print-op.c: (gl_print_op_construct),
524 (gl_print_op_construct_batch), (set_page_size):
525 Explicitly set page size for "other" page sizes.
527 2008-01-25 Jim Evins <evins@snaught.com>
530 Fixed Code128C backend parameters.
531 * src/label-barcode.c: (get_size):
532 Bug #1766425. If barcode is not renderable with either
533 input data or default data, use a default size. Also
536 2008-01-16 Jim Evins <evins@snaught.com>
538 * src/print.c: (print_label):
539 Bug #1872568. Don't apply special transforms (rotate and
540 mirror) to clipping region or outline.
542 2008-01-01 Jim Evins <evins@snaught.com>
545 Sort font lists alphabetically.
547 2008-01-01 Jim Evins <evins@snaught.com>
549 * src/merge-evolution.c:
550 Do a case-insensitive sort.
552 2008-01-01 Jim Evins <evins@snaught.com>
554 * src/merge-evolution.c:
555 Sort evolution by "file_under" field. Original patch provided
556 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
559 Added acknowledgement for above patch.
561 2008-01-01 Jim Evins <evins@snaught.com>
566 Reconcile with 2.2 branch.
569 2007-12-21 Jim Evins <evins@snaught.com>
571 * COPYING.LIBGLABELS:
572 * COPYING.README_FIRST:
574 Updating license information to make more complete and understandable.
576 2007-12-16 Jim Evins <evins@snaught.com>
579 Updated version to 2.pre2.
580 * help/C/glabels.xml:
581 Updated documentation.
582 * src/ui-commands.c: (gl_ui_cmd_help_about):
583 Updated copyright string.
585 2007-12-15 Jim Evins <evins@snaught.com>
587 * data/glade/object-editor.glade:
588 Removed any GtkTable that contained a GtkComboBox because the size of
589 the combo box was not constrained properly. This sacrifices the nice
590 orderly labels for combo boxes that don't extend beyond the edge of the
593 2007-12-15 Jim Evins <evins@snaught.com>
595 * libglabels/db.c: (lgl_db_lookup_template_from_name):
596 * src/object-editor.c: (gl_object_editor_finalize):
597 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
598 Fixed several small memory leaks.
600 2007-12-14 Jim Evins <evins@snaught.com>
603 Optimize template search by name by using a GHashTable.
604 * src/mini-preview-pixbuf-cache.c:
605 * src/mini-preview-pixbuf-cache.h:
606 Store one pixbuf per template, but use a key for each alias.
607 * src/wdgt-media-select.c:
608 Optimize loading of tree data, thus optimizing the "new label" dialog.
610 2007-12-12 Jim Evins <evins@snaught.com>
612 * data/templates/avery-us-templates.xml:
613 More templates and aliases.
615 2007-12-08 Jim Evins <evins@snaught.com>
618 More prep for 2.1.5/2.2.0.
620 2007-12-08 Jim Evins <evins@snaught.com>
626 Preparation for 2.1.5.
628 2007-12-08 Jim Evins <evins@snaught.com>
630 * docs/libglabels/libglabels-decl-list.txt:
631 * docs/libglabels/libglabels-docs.sgml:
632 * docs/libglabels/libglabels-sections.txt:
633 * docs/libglabels/libglabels-undocumented.txt:
634 * docs/libglabels/tmpl/db.sgml:
635 * docs/libglabels/tmpl/str.sgml:
637 Documentation cleanup for libglabels.
639 2007-11-29 Jim Evins <evins@snaught.com>
643 Added lgl_db_does_template_name_exist().
644 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
647 Proof read recent templates -- make sure they still exist.
648 * src/wdgt-media-select.c:
649 Default to "search all templates" tab if no recent templates found.
651 2007-11-28 Jim Evins <evins@snaught.com>
653 * data/glade/wdgt-media-select.glade:
654 * src/wdgt-media-select.c:
655 Added tabbed notebook to allow selection of recent template versus searching the
659 2007-11-26 Jim Evins <evins@snaught.com>
661 * libglabels/Makefile.am:
662 * libglabels/libglabels.h:
665 * src/prefs-dialog.c:
670 Added tracking of recently used templates.
672 2007-11-20 Jim Evins <evins@snaught.com>
674 * data/glade/template-designer.glade:
675 * src/template-designer.c:
676 Added warning icon when match brand and part match an existing template.
678 2007-11-18 Jim Evins <evins@snaught.com>
680 * libglabels/Makefile.am:
683 Added lgl_str_utf8_casecmp().
684 * libglabels/libglabels-private.h:
685 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
686 * libglabels/db.c: (lgl_db_get_brand_list):
687 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
690 2007-11-18 Jim Evins <evins@snaught.com>
692 * data/glade/template-designer.glade:
693 * src/template-designer.c:
694 Don't advance past name page, if brand and part match an existing template.
696 2007-11-18 Jim Evins <evins@snaught.com>
698 * libglabels/db.c: (lgl_db_register_template), (read_templates):
699 When registering a new template, don't add to "User defined" category before
700 writing to file. Add to "User defined" category when reading from "~/.glabels"
701 directory instead. This will allow legacy templates (and manually created
702 templates) to be automatically added to the "user defined" category.
703 * libglabels/xml-template.c:
704 (lgl_xml_template_create_template_node):
705 Fixed typo/bug causing brand to be wrong.
707 2007-11-16 Jim Evins <evins@snaught.com>
711 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
712 function. Automatically create "User defined" category and add to all user
713 registered templates.
714 * libglabels/xml-template.c:
715 * libglabels/xml-template.h:
716 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
717 lgl_xml_template_write_template_to_file().
718 * docs/libglabels/libglabels-decl-list.txt:
719 * docs/libglabels/libglabels-sections.txt:
720 * docs/libglabels/libglabels-undocumented.txt:
721 * docs/libglabels/tmpl/db.sgml:
722 * docs/libglabels/tmpl/xml-template.sgml:
723 Update documentation to reflect above changes.
725 2007-10-28 Jim Evins <evins@snaught.com>
727 * libglabels/xml-template.c:
728 Remove any leading white space from part #s when parsing old names.
729 * src/mini-preview-pixbuf-cache.c:
730 If name isn't in cache add it.
732 2007-10-26 Jim Evins <evins@snaught.com>
734 * libglabels/Makefile.am:
735 * libglabels/category.c:
736 * libglabels/category.h:
739 * libglabels/libglabels-private.h:
740 * libglabels/libglabels.h:
741 * libglabels/paper.c:
742 * libglabels/paper.h:
743 * libglabels/template.c:
744 * libglabels/template.h:
745 * libglabels/xml-template.c:
746 Another pass at screwing with the libglabels API. Moved all
747 database related stuff to db.[ch].
748 * docs/libglabels/libglabels-decl-list.txt:
749 * docs/libglabels/libglabels-docs.sgml:
750 * docs/libglabels/libglabels-sections.txt:
751 * docs/libglabels/libglabels-undocumented.txt:
752 * docs/libglabels/tmpl/category.sgml:
753 * docs/libglabels/tmpl/db.sgml:
754 * docs/libglabels/tmpl/init.sgml:
755 * docs/libglabels/tmpl/libglabels-unused.sgml:
756 * docs/libglabels/tmpl/paper.sgml:
757 * docs/libglabels/tmpl/template-construction.sgml:
758 * docs/libglabels/tmpl/template-db.sgml:
759 * docs/libglabels/tmpl/template-misc.sgml:
760 * docs/libglabels/tmpl/template-struct.sgml:
761 * docs/libglabels/tmpl/template.sgml:
762 Updated documentation to reflect above changes to libglabels API.
764 * src/glabels-batch.c:
766 * src/mini-preview-pixbuf-cache.c:
769 * src/template-designer.c:
770 * src/wdgt-media-select.c:
771 * src/wdgt-mini-preview.c:
772 * src/wdgt-rotate-label.c:
773 * src/xml-label-04.c:
775 Reconciled usage with above libglabels API changes.
777 2007-10-21 Jim Evins <evins@snaught.com>
779 * data/glade/wdgt-media-select.glade:
780 * src/wdgt-media-select.c:
781 Added brand to filter settings.
783 2007-10-21 Jim Evins <evins@snaught.com>
785 * data/dtd/glabels-2.2.dtd:
786 Forgot to replace Alias name attribute with brand and part attributes.
787 * data/templates/avery-iso-templates.xml:
788 * data/templates/avery-other-templates.xml:
789 * data/templates/avery-us-templates.xml:
790 * data/templates/misc-iso-templates.xml:
791 * data/templates/misc-other-templates.xml:
792 * data/templates/misc-us-templates.xml:
793 * data/templates/zweckform-iso-templates.xml:
794 Replaced all name attributes with brand/part attribute pairs.
796 2007-10-20 Jim Evins <evins@snaught.com>
798 * src/stock-pixmaps/*.png
799 Updated icons to use Tango color palette.
801 2007-10-20 Jim Evins <evins@snaught.com>
803 * data/dtd/Makefile.am:
804 * data/dtd/glabels-2.0.dtd:
805 * data/dtd/glabels-2.2.dtd:
806 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
808 * libglabels/template.c:
809 * libglabels/template.h:
810 * libglabels/xml-template.c:
812 Added brand and part attributes to template and alias structures and nodes.
815 * src/mini-preview-pixbuf-cache.c:
816 * src/template-designer.c:
817 * src/wdgt-media-select.c:
818 Use modified libglabels API.
819 * docs/libglabels/libglabels-decl-list.txt:
820 * docs/libglabels/libglabels-sections.txt:
821 * docs/libglabels/libglabels-undocumented.txt:
822 * docs/libglabels/tmpl/template-construction.sgml:
823 * docs/libglabels/tmpl/template-db.sgml:
824 * docs/libglabels/tmpl/template-struct.sgml:
825 Update libglabels documentation to reflect above modifications.
827 2007-10-14 Jim Evins <evins@snaught.com>
829 * docs/libglabels/libglabels-decl-list.txt:
830 * docs/libglabels/libglabels-sections.txt:
831 * docs/libglabels/libglabels-undocumented.txt:
832 * docs/libglabels/tmpl/category.sgml:
833 * libglabels/category.c:
834 * libglabels/category.h:
835 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
836 parity with paper functions.
838 2007-10-12 Jim Evins <evins@snaught.com>
840 * docs/libglabels/libglabels-decl-list.txt:
841 * docs/libglabels/libglabels-sections.txt:
842 * docs/libglabels/libglabels-undocumented.txt:
843 * docs/libglabels/tmpl/category.sgml:
844 * docs/libglabels/tmpl/enums.sgml:
845 * docs/libglabels/tmpl/libglabels-unused.sgml:
846 * docs/libglabels/tmpl/paper.sgml:
847 * docs/libglabels/tmpl/template-struct.sgml:
849 * libglabels/template.c:
850 * libglabels/template.h:
851 Another pass at fleshing out the libglabels documentation.
852 * src/cairo-label-path.c:
853 * src/cairo-markup-path.c:
855 * src/mini-preview-pixbuf.c:
859 * src/wdgt-media-select.c:
860 * src/wdgt-mini-preview.c:
861 * src/wdgt-print-copies.c:
862 * src/wdgt-print-merge.c:
863 * src/wdgt-rotate-label.c:
864 Removed lgl_template_get_first_frame() from libglabels API and all references.
866 2007-10-11 Jim Evins <evins@snaught.com>
868 Extended checks for deprecated symbols.
869 * libglabels/template.c:
870 Removed g_strcasecmp references, which are deprecated.
872 2007-10-09 Jim Evins <evins@snaught.com>
874 * src/merge-evolution.c:
875 Create address book if it does not exist. Also, be more robust about handling
876 error conditions -- don't just assume GError has been set.
878 2007-10-08 Jim Evins <evins@snaught.com>
880 * libglabels/template.c:
881 * libglabels/xml-template.c:
882 * src/template-designer.c:
883 Missed some symbols with libglabels API work.
885 2007-10-01 Jim Evins <evins@snaught.com>
887 * docs/libglabels/libglabels-decl-list.txt:
888 * docs/libglabels/libglabels-docs.sgml:
889 * docs/libglabels/libglabels-sections.txt:
890 * docs/libglabels/libglabels-undocumented.txt:
891 * docs/libglabels/tmpl/category.sgml:
892 * docs/libglabels/tmpl/enums.sgml:
893 * docs/libglabels/tmpl/init.sgml:
894 * docs/libglabels/tmpl/libglabels-unused.sgml:
895 * docs/libglabels/tmpl/paper.sgml:
896 * docs/libglabels/tmpl/template-construction.sgml:
897 * docs/libglabels/tmpl/template-db.sgml:
898 * docs/libglabels/tmpl/template-misc.sgml:
899 * docs/libglabels/tmpl/template-struct.sgml:
900 * docs/libglabels/tmpl/template.sgml:
901 * docs/libglabels/tmpl/xml-category.sgml:
902 * docs/libglabels/tmpl/xml-template.sgml:
903 * libglabels/category.h:
905 * libglabels/libglabels-private.h:
906 * libglabels/paper.h:
907 * libglabels/template.c:
908 * libglabels/template.h:
909 * libglabels/xml-template.h:
910 Basic documentation framework for libglabels updated. This still needs some
913 2007-09-27 Jim Evins <evins@snaught.com>
915 * docs/libglabels/libglabels-decl-list.txt:
916 * docs/libglabels/libglabels-docs.sgml:
917 * docs/libglabels/libglabels-sections.txt:
918 * docs/libglabels/libglabels-undocumented.txt:
919 * docs/libglabels/tmpl/enums.sgml:
920 * docs/libglabels/tmpl/init.sgml:
921 * docs/libglabels/tmpl/libglabels-unused.sgml:
922 * docs/libglabels/tmpl/paper.sgml:
923 * docs/libglabels/tmpl/template.sgml:
924 * docs/libglabels/tmpl/xml-paper.sgml:
925 * docs/libglabels/tmpl/xml-template.sgml:
926 * docs/libglabels/tmpl/xml.sgml:
927 * libglabels/Makefile.am:
928 * libglabels/category.c:
929 * libglabels/category.h:
930 * libglabels/enums.h:
933 * libglabels/libglabels-private.h:
934 * libglabels/libglabels.h:
935 * libglabels/paper.c:
936 * libglabels/paper.h:
937 * libglabels/template.c:
938 * libglabels/template.h:
939 * libglabels/xml-category.c:
940 * libglabels/xml-category.h:
941 * libglabels/xml-paper.c:
942 * libglabels/xml-paper.h:
943 * libglabels/xml-template.c:
944 * libglabels/xml-template.h:
947 * src/cairo-label-path.c:
948 * src/cairo-label-path.h:
949 * src/cairo-markup-path.c:
950 * src/cairo-markup-path.h:
952 * src/glabels-batch.c:
954 * src/label-object.c:
957 * src/mini-preview-pixbuf-cache.c:
958 * src/mini-preview-pixbuf.c:
959 * src/mini-preview-pixbuf.h:
960 * src/prefs-dialog.c:
967 * src/template-designer.c:
968 * src/view-barcode.c:
970 * src/view-ellipse.c:
974 * src/wdgt-media-select.c:
975 * src/wdgt-mini-preview.c:
976 * src/wdgt-mini-preview.h:
977 * src/wdgt-print-copies.c:
978 * src/wdgt-print-merge.c:
979 * src/wdgt-rotate-label.c:
980 * src/xml-label-04.c:
982 Major cleanup of libglabels API -- this breaks API compatibility with older
983 development and stable versions -- as far as I know, there are currently
984 no external users of this library yet.
986 2007-09-14 Jim Evins <evins@snaught.com>
991 * src/label-object.c:
992 * src/label-object.h:
993 * src/label-barcode.c:
994 * src/label-ellipse.c:
997 * src/view-barcode.c:
999 * src/view-ellipse.c:
1003 Better separation of model from view.
1005 2007-08-21 Jim Evins <evins@snaught.com>
1007 * src/print-op.c: (create_custom_widget_cb):
1008 Fix problem with force_outline_flag -- don't override with default.
1010 2007-08-21 Jim Evins <evins@snaught.com>
1012 * data/dtd/glabels-2.0.dtd:
1013 * libglabels/template.c:
1014 * libglabels/template.h:
1015 * libglabels/xml-template.c:
1016 * src/cairo-markup-path.c:
1017 Added "Markup-rect" element to template format.
1019 2007-08-21 Jim Evins <evins@snaught.com>
1022 Changed version to 2.1.pre5svn.
1023 * src/view.c: (draw_markup_layer):
1024 Do a stroke for each markup path, otherwise multiple markups
1027 2007-08-17 Jim Evins <evins@snaught.com>
1030 Bump libglabels revision numbers for 2.1.4 release.
1032 2007-08-16 Jim Evins <evins@snaught.com>
1035 Include subdir iec16022-0.2.1.
1039 Preparation for 2.1.4.
1042 2007-08-11 Jim Evins <evins@snaught.com>
1048 Added Esperanto translation. Provided by Antonio C.
1049 Codazzi "la Filozofo" <f_sophia@libero.it>.
1051 Updated French translation. Provided by Claude Paroz
1052 <claude@2xlibre.net>.
1054 Updated to reflect above translations.
1056 2007-08-11 Jim Evins <evins@snaught.com>
1059 * data/templates/avery-iso-templates.xml:
1060 * data/templates/avery-us-templates.xml:
1061 * data/templates/misc-iso-templates.xml:
1062 * data/templates/misc-other-templates.xml:
1063 * data/templates/misc-us-templates.xml:
1064 * data/templates/zweckform-iso-templates.xml:
1065 Caught up with backlog of template submissions.
1067 2007-08-10 Jim Evins <evins@snaught.com>
1069 * src/bc-postnet.c: (gl_barcode_postnet_new):
1071 Added support for Brazilian CEPNet barcodes. This is simply an
1072 instance of the US POSTNET format with 8 digits. Patch supplied
1073 by Mário Meyer in bug # 1768792.
1075 Updated acknowledgments to reflect above patch and recent shuffling
1076 of underlying technology.
1078 2007-05-13 Jim Evins <evins@snaught.com>
1080 * src/merge-text.c: (parse_line), (parse_field):
1081 Remove leading and trailing spaces from CSV fields, unless quoted.
1083 2007-05-09 Jim Evins <evins@snaught.com>
1085 * src/object-editor-bc-page.c:
1086 * src/object-editor-data-page.c:
1087 * src/object-editor-fill-page.c:
1088 * src/object-editor-image-page.c:
1089 * src/object-editor-line-page.c:
1090 * src/object-editor-lsize-page.c:
1091 * src/object-editor-position-page.c:
1092 * src/object-editor-private.h:
1093 * src/object-editor-shadow-page.c:
1094 * src/object-editor-size-page.c:
1095 * src/object-editor-text-page.c:
1096 * src/object-editor.c:
1097 * src/prefs-dialog.c:
1098 * src/template-designer.c:
1099 * src/ui-property-bar.c:
1100 * src/wdgt-media-select.c:
1101 Replaced signal block/unblock pairs with simple flags. This reduces
1102 some code clutter, hopefully making it easier to read.
1104 2007-05-05 Jim Evins <evins@snaught.com>
1106 * src/template-designer.c: (apply_cb):
1107 Add new template to mini-preview pixbuf cache.
1109 2007-05-03 Jim Evins <evins@snaught.com>
1111 * src/label-image.c: (gl_label_image_init), (draw_object):
1112 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1115 2007-05-02 Jim Evins <evins@snaught.com>
1117 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1118 (button_release_event_cb):
1119 Removed attempt at rendering optimization by clipping the updates
1120 to areas affected -- this actually seemed to hurt update performance.
1122 2007-04-30 Jim Evins <evins@snaught.com>
1125 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1126 (gl_color_node_equal), (gl_color_node_expand):
1127 * src/label-barcode.c: (draw_object):
1128 * src/label-box.c: (draw_object), (draw_shadow):
1129 * src/label-ellipse.c: (draw_object), (draw_shadow):
1130 * src/label-line.c: (draw_object), (draw_shadow):
1131 * src/label-text.c: (draw_object), (draw_shadow):
1132 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1133 * src/wdgt-rotate-label.c: (drawingarea_update):
1134 Some cleanup to color related code.
1136 2007-04-30 Jim Evins <evins@snaught.com>
1139 Added glLabelRegion structure type.
1140 * src/label-object.c: (gl_label_object_get_extent):
1141 * src/label-object.h:
1142 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1144 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1145 (gl_view_select_region), (gl_view_align_selection_left),
1146 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1147 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1148 (gl_view_align_selection_vcenter),
1149 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1150 (gl_view_move_selection), (gl_view_can_selection_text),
1151 (motion_notify_event_cb), (button_press_event_cb),
1152 (button_release_event_cb):
1153 - Reconcile with new gl_label_object_get_extent() API.
1154 - Use glLabelRegion for view->select_region.
1155 - Added gl_view_update_region() to clip updates to region.
1156 - Use gl_view_update_region() during manipulation of view->select_region.
1158 2007-04-26 Jim Evins <evins@snaught.com>
1160 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1161 (draw_label_outline):
1162 * src/print.c: (print_crop_marks), (draw_outline):
1163 * src/view-object.c: (gl_view_object_draw_handles):
1164 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1165 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1166 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1167 * src/wdgt-rotate-label.c: (drawingarea_update):
1168 Added defines for various magic numbers.
1170 2007-04-25 Jim Evins <evins@snaught.com>
1172 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1173 Scale text down. Cairo seems to render text too large.
1175 2007-04-25 Jim Evins <evins@snaught.com>
1178 * src/view.c: (gl_view_update), (expose_cb),
1179 (motion_notify_event_cb), (button_press_event_cb),
1180 (button_release_event_cb):
1181 - Try not to let updates get backed up.
1182 - Grab pointer when doing any drag operations.
1184 2007-04-11 Jim Evins <evins@snaught.com>
1186 * src/cairo-label-path.c: (gl_cairo_label_path),
1187 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1188 (gl_cairo_cd_label_path):
1189 * src/cairo-label-path.h:
1190 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1191 (draw_label_outline):
1192 * src/print.c: (draw_outline), (clip_to_outline):
1193 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1194 * src/wdgt-mini-preview.c: (draw_labels):
1195 * src/wdgt-rotate-label.c: (drawingarea_update):
1196 Modified to universally use gl_cairo_label_path() to create paths
1197 for labels. Added shadow to mini preview in rotate widget.
1199 2007-04-10 Jim Evins <evins@snaught.com>
1201 * libglabels/template.h:
1202 * libglabels/template.c: (gl_template_get_name_list_unique),
1203 (gl_template_get_name_list_all), (gl_template_from_name):
1204 Modified libglabels to allow you to get a list of all template names
1205 including all aliases or just a list of primary names of each unique
1208 * src/file.c: (gl_file_properties):
1209 * src/glabels.c: (main):
1210 * src/mini-preview-pixbuf-cache.h:
1211 * src/mini-preview-pixbuf-cache.c:
1212 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1213 (filter_changed_cb), (load_list):
1214 Added mini-preview pixbuf cache, so that only one mini-preview is
1215 needed for a unique template and gets reused for all aliases. These
1216 pixbufs will also live for the life of the program so they are not
1217 rebuilt everytime a new label dialog is invoked.
1218 * src/mini-preview-pixbuf.c: (draw_paper),
1219 (draw_rect_label_outline), (draw_round_label_outline),
1220 (draw_cd_label_outline):
1221 Removed some comment artifacts.
1223 2007-04-04 Jim Evins <evins@snaught.com>
1225 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1226 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1227 (draw_round_label_outline), (draw_cd_label_outline):
1228 * src/wdgt-media-select.c: (load_list):
1229 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1230 Cosmetic enhancments to mini previews.
1232 2007-04-04 Jim Evins <evins@snaught.com>
1234 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1235 (gl_ui_property_bar_construct):
1236 Save copy of GladeXML tree so that we don't lose tooltips.
1238 2007-04-02 Jim Evins <evins@snaught.com>
1240 * src/merge-properties-dialog.c:
1241 * src/new-label-dialog.c:
1242 * src/object-editor.c:
1243 * src/prefs-dialog.c:
1245 * src/template-designer.c:
1246 * src/ui-property-bar.c:
1247 * src/wdgt-media-select.c:
1248 * src/wdgt-rotate-label.c:
1249 Fixed several memory leaks.
1251 2007-04-01 Jim Evins <evins@snaught.com>
1253 * src/label-text.c: (gl_label_text_init), (copy),
1254 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1255 (set_font_family), (set_font_size), (set_font_weight),
1256 (set_font_italic_flag), (set_text_alignment),
1257 (set_text_line_spacing):
1258 Cache object size, so that expensive extent calculations are only done
1261 2007-03-30 Jim Evins <evins@snaught.com>
1263 * src/prefs-model.c: (gl_prefs_model_load_settings):
1264 Default to an unlimited list of recent documents, since this parameter
1265 seems to be pre-filter anyway.
1267 2007-03-30 Jim Evins <evins@snaught.com>
1269 * src/label-box.c: (draw_shadow):
1270 * src/label-ellipse.c: (draw_shadow):
1271 Added missing shadow fill.
1273 2007-03-28 Jim Evins <evins@snaught.com>
1275 * src/ui-commands.c: (gl_ui_cmd_file_print):
1276 Unreferencing the print operation sometimes crashes. Just don't do it
1279 2007-03-28 Jim Evins <evins@snaught.com>
1281 * src/print-op.c: (gl_print_op_construct),
1282 (gl_print_op_get_settings), (gl_print_op_set_settings),
1283 (gl_print_op_free_settings), (create_custom_widget_cb):
1285 * src/ui-commands.c: (gl_ui_cmd_file_print):
1286 * src/window.c: (gl_window_init):
1288 Save print settings and custom settings between print operations
1291 2007-03-24 Jim Evins <evins@snaught.com>
1293 * src/object-editor-image-page.c:
1294 (gl_object_editor_prepare_image_page),
1295 (gl_object_editor_set_image), (img_selection_changed_cb):
1296 Workaround for GtkFileChooserButton bug # 327243. This the root
1297 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1298 "selection-changed" signals -- the first 2 return NULL -- this is
1299 what caused the image to reset to the default followed by setting
1300 it back to the original image, trying to fit it into a new bounding
1301 box. This sequence of events is much more evident with the new
1304 2007-03-23 Jim Evins <evins@snaught.com>
1306 Merged all changes from experimental cairo branch to trunk.
1307 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1309 2007-03-23 Jim Evins <evins@snaught.com>
1311 * src/label-object.h:
1312 * src/label-object.c: (gl_label_object_class_init),
1313 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1314 Created "get_raw_size" method.
1315 * src/label-barcode.c: (get_size):
1316 * src/xml-label.c: (xml_create_object_text),
1317 (xml_create_object_barcode):
1318 Use new "get_raw_size" method on label-objects when apropos.
1320 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1321 (auto_shrink_font_size):
1322 Added "auto shrink" functionality back.
1324 2007-03-19 Jim Evins <evins@snaught.com>
1326 * src/label-text.c: (draw_object), (draw_shadow):
1327 Don't use negative scales in workaround from previous commit.
1330 2007-03-18 Jim Evins <evins@snaught.com>
1333 Forgot to remove include of xml-lable-191 in previous commit.
1334 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1335 Workaround for pango Bug #341481. Render text at device scale,
1336 and scale font size accordingly. Also, don't do any hinting.
1338 2007-03-18 Jim Evins <evins@snaught.com>
1340 * src/cairo-ellipse-path.c:
1341 * src/cairo-ellipse-path.h:
1342 Forgot to add these new files during last mass commit.
1344 2007-03-18 Jim Evins <evins@snaught.com>
1347 * src/xml-label-191.c:
1348 * src/xml-label-191.h:
1349 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1350 so there is no need to keep compatability.
1352 * src/bc-iec16022.c:
1353 * src/cairo-label-path.c:
1354 * src/cairo-label-path.h:
1355 * src/cairo-markup-path.c:
1359 * src/glabels-batch.c:
1361 * src/label-barcode.c:
1363 * src/label-ellipse.c:
1364 * src/label-image.c:
1366 * src/label-object.c:
1367 * src/label-object.h:
1371 * src/merge-properties-dialog.c:
1373 * src/new-label-dialog.c:
1374 * src/object-editor-bc-page.c:
1375 * src/object-editor-data-page.c:
1376 * src/object-editor-edit-page.c:
1377 * src/object-editor-fill-page.c:
1378 * src/object-editor-image-page.c:
1379 * src/object-editor-line-page.c:
1380 * src/object-editor-private.h:
1381 * src/object-editor-shadow-page.c:
1382 * src/object-editor-text-page.c:
1383 * src/object-editor.c:
1384 * src/pixbuf-cache.c:
1389 * src/template-designer.c:
1391 * src/ui-property-bar.c:
1393 * src/view-barcode.c:
1395 * src/view-ellipse.c:
1398 * src/view-object.c:
1399 * src/view-object.h:
1402 * src/wdgt-media-select.c:
1403 * src/wdgt-print-copies.c:
1404 * src/wdgt-print-merge.c:
1406 * src/xml-label-04.c:
1408 Many changes, including:
1409 - Move draw methods from view-*() to label-*().
1410 - Use same drawing code for on screen view and printing.
1411 - Fix all issues exposed with '-Wall -Werror'.
1413 2007-03-14 Jim Evins <evins@snaught.com>
1416 * src/cairo-handle-path.c:
1417 * src/cairo-handle-path.h:
1418 * src/cairo-object-path.c:
1419 * src/cairo-object-path.h:
1420 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1421 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1423 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1424 (draw_shadow), (object_at):
1425 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1426 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1427 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1429 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1430 (draw_shadow), (object_at):
1431 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1432 (create_handle_path), (gl_view_object_draw_handles),
1433 (gl_view_object_handle_at):
1434 * src/view-object.h:
1435 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1436 (draw_shadow), (object_at):
1437 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1438 Some restructuring of new code.
1440 2007-03-12 Jim Evins <evins@snaught.com>
1443 * src/cairo-object-path.c:
1444 * src/view-barcode.c:
1445 * src/view-barcode.h:
1447 Added barcode object support to view.
1449 2007-03-12 Jim Evins <evins@snaught.com>
1455 * src/cairo-object-path.c:
1456 * src/cairo-object-path.h:
1458 * src/view-ellipse.c:
1461 * src/view-object.c:
1462 * src/view-object.h:
1463 Added text object support to view. Added object_at method to all
1466 2007-03-11 Jim Evins <evins@snaught.com>
1469 * src/cairo-object-path.c: (gl_cairo_object_path),
1470 (gl_cairo_image_object_path):
1471 * src/view-image.c: (gl_view_image_class_init),
1472 (gl_view_image_finalize), (gl_view_image_new),
1473 (update_editor_from_label_cb), (draw),
1474 (gl_view_image_get_create_cursor),
1475 (gl_view_image_create_button_press_event),
1476 (gl_view_image_create_motion_event),
1477 (gl_view_image_create_button_release_event):
1479 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1480 (selection_received_cb), (motion_notify_event_cb),
1481 (button_press_event_cb), (button_release_event_cb):
1482 Added image object support to view.
1484 2007-03-11 Jim Evins <evins@snaught.com>
1487 * src/cairo-object-path.c: (gl_cairo_object_path),
1488 (gl_cairo_line_object_path):
1489 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1490 (update_object_from_editor_cb), (update_editor_from_object_cb),
1491 (update_editor_from_label_cb), (draw),
1492 (gl_view_line_get_create_cursor),
1493 (gl_view_line_create_button_press_event),
1494 (gl_view_line_create_motion_event),
1495 (gl_view_line_create_button_release_event):
1497 * src/view-object.c: (gl_view_object_resize_event):
1498 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1499 (selection_received_cb), (motion_notify_event_cb),
1500 (button_press_event_cb), (button_release_event_cb):
1501 Added line object support to view.
1502 * src/cairo-handle-path.c:
1503 Made handles slightly larger.
1506 2007-03-11 Jim Evins <evins@snaught.com>
1509 * src/cairo-handle-path.c:
1510 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1511 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1512 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1513 (gl_cairo_markup_margin_round_path),
1514 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1515 * src/cairo-object-path.c: (gl_cairo_object_path),
1516 (gl_cairo_ellipse_object_path):
1517 * src/label-object.c: (gl_label_object_rotate):
1520 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1521 (gl_view_ellipse_new), (update_object_from_editor_cb),
1522 (update_editor_from_object_cb), (update_editor_from_label_cb),
1523 (draw), (gl_view_ellipse_get_create_cursor),
1524 (gl_view_ellipse_create_button_press_event),
1525 (gl_view_ellipse_create_motion_event),
1526 (gl_view_ellipse_create_button_release_event):
1527 * src/view-ellipse.h:
1528 * src/view-object.c:
1529 * src/view-object.h:
1530 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1531 (select_object_real), (selection_received_cb),
1532 (motion_notify_event_cb), (button_press_event_cb),
1533 (button_release_event_cb):
1535 Added ellipse object support to view. Plus other cleanup.
1537 2007-03-11 Jim Evins <evins@snaught.com>
1540 * src/view-box.c: (gl_view_box_get_create_cursor),
1541 (gl_view_box_create_button_press_event),
1542 (gl_view_box_create_motion_event),
1543 (gl_view_box_create_button_release_event):
1544 * src/view-object.c: (gl_view_object_set_view),
1545 (gl_view_object_handle_at):
1547 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1548 (motion_notify_event_cb), (button_press_event_cb),
1549 (button_release_event_cb), (key_press_event_cb):
1550 Added creation code for box object.
1552 2007-03-09 Jim Evins <evins@snaught.com>
1554 * src/view-object.c: (gl_view_object_resize_event):
1555 * src/view-object.h:
1556 * src/view.c: (motion_notify_event_cb):
1557 Fix bugs with resizing transformed objects.
1558 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1559 * src/cairo-object-path.c: (gl_cairo_object_path):
1560 * src/cairo-object-path.h:
1561 * src/label-object.c: (gl_label_object_init),
1562 (gl_label_object_dup), (gl_label_object_get_extent),
1563 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1564 (gl_label_object_rotate), (gl_label_object_set_matrix),
1565 (gl_label_object_get_matrix):
1566 * src/label-object.h:
1567 * src/print.c: (draw_object):
1569 * src/view-highlight.c:
1570 * src/view-highlight.h:
1571 * src/xml-label-191.c: (xml191_parse_object):
1572 * src/xml-label.c: (xml_parse_affine_attrs),
1573 (xml_create_affine_attrs):
1574 Replace libart affine matrices with cairo matrices.
1576 2007-03-08 Jim Evins <evins@snaught.com>
1578 * src/view-object.h:
1579 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1580 * src/view-object.c: (gl_view_object_handle_at),
1581 (gl_view_object_resize_event):
1582 Added resize code -- still a bit buggy.
1584 2007-03-07 Jim Evins <evins@snaught.com>
1587 * src/cairo-handle-path.c:
1588 * src/cairo-handle-path.h:
1589 * src/view-box.c: (gl_view_box_new):
1590 * src/view-object.c: (gl_view_object_set_object),
1591 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1592 * src/view-object.h:
1593 * src/view.c: (draw_highlight_layer), (select_object_real),
1594 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1595 (button_press_event_cb), (button_release_event_cb),
1596 (key_press_event_cb):
1598 Added beginnings of object resize handles.
1600 2007-03-07 Jim Evins <evins@snaught.com>
1603 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1604 (gl_view_object_create_mode), (motion_notify_event_cb),
1605 (button_press_event_cb), (button_release_event_cb),
1606 (key_press_event_cb):
1607 Added move selection support.
1609 2007-03-05 Jim Evins <evins@snaught.com>
1611 * src/cairo-object-path.c: (gl_cairo_object_path):
1612 * src/view-object.c: (gl_view_object_draw),
1613 (gl_view_object_draw_highlight):
1614 * src/view.c: (view_object_at), (motion_notify_event_cb),
1615 (button_press_event_cb), (button_release_event_cb):
1616 Additional refinements to select logic.
1618 2007-03-05 Jim Evins <evins@snaught.com>
1621 * src/view.c: (gl_view_init), (gl_view_construct),
1622 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1623 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1624 (button_press_event_cb), (button_release_event_cb):
1625 Added initial select region support and context menu.
1627 2007-03-04 Jim Evins <evins@snaught.com>
1638 * src/ui-commands.c:
1641 * src/view-object.c:
1642 * src/view-object.h:
1645 * src/wdgt-print-copies.c:
1646 * src/wdgt-print-merge.c:
1648 Initial port to a raw Cairo canvas. This removes all remaining
1649 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1650 the view is becoming a canvas widget in its own right. Still needs
1652 * src/cairo-label-path.c:
1653 * src/cairo-label-path.h:
1654 * src/cairo-markup-path.c:
1655 * src/cairo-markup-path.h:
1656 * src/cairo-object-path.c:
1657 * src/cairo-object-path.h:
1658 New files to support cairo canvas.
1659 * src/canvas-hacktext.c:
1660 * src/canvas-hacktext.h:
1663 2007-02-18 Jim Evins <evins@snaught.com>
1666 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1668 2007-02-14 Jim Evins <evins@snaught.com>
1672 * src/bc-gnubarcode.c:
1673 * src/bc-gnubarcode.h:
1678 * src/canvas-hacktext.c:
1679 * src/canvas-hacktext.h:
1686 * src/label-barcode.c:
1687 * src/label-barcode.h:
1690 * src/label-ellipse.c:
1691 * src/label-ellipse.h:
1692 * src/label-image.c:
1693 * src/label-image.h:
1696 * src/label-object.c:
1697 * src/label-object.h:
1702 * src/merge-evolution.c:
1703 * src/merge-evolution.h:
1706 * src/merge-properties-dialog.c:
1707 * src/merge-properties-dialog.h:
1710 * src/merge-vcard.c:
1711 * src/merge-vcard.h:
1714 * src/mini-preview-pixbuf.h:
1715 * src/new-label-dialog.c:
1716 * src/new-label-dialog.h:
1717 * src/object-editor-bc-page.c:
1718 * src/object-editor-data-page.c:
1719 * src/object-editor-edit-page.c:
1720 * src/object-editor-fill-page.c:
1721 * src/object-editor-image-page.c:
1722 * src/object-editor-line-page.c:
1723 * src/object-editor-lsize-page.c:
1724 * src/object-editor-position-page.c:
1725 * src/object-editor-private.h:
1726 * src/object-editor-size-page.c:
1727 * src/object-editor-text-page.c:
1728 * src/object-editor.c:
1729 * src/object-editor.h:
1730 * src/pixbuf-cache.c:
1731 * src/pixbuf-cache.h:
1732 * src/prefs-dialog.c:
1733 * src/prefs-dialog.h:
1734 * src/prefs-model.c:
1735 * src/prefs-model.h:
1741 * src/template-designer.c:
1744 * src/ui-commands.c:
1745 * src/ui-commands.h:
1746 * src/ui-property-bar.c:
1747 * src/ui-property-bar.h:
1756 * src/view-barcode.c:
1757 * src/view-barcode.h:
1760 * src/view-ellipse.c:
1761 * src/view-ellipse.h:
1762 * src/view-highlight.c:
1763 * src/view-highlight.h:
1768 * src/view-object.c:
1769 * src/view-object.h:
1774 * src/wdgt-chain-button.c:
1775 * src/wdgt-chain-button.h:
1776 * src/wdgt-media-select.c:
1777 * src/wdgt-mini-preview.c:
1778 * src/wdgt-print-copies.c:
1779 * src/wdgt-print-copies.h:
1780 * src/wdgt-print-merge.c:
1781 * src/wdgt-print-merge.h:
1782 * src/wdgt-rotate-label.c:
1784 * src/xml-label-04.c:
1785 * src/xml-label-04.h:
1786 * src/xml-label-191.c:
1787 * src/xml-label-191.h:
1791 Assorted superficial cleanup. Including:
1792 - Use G_DEFINE_TYPE for all objects.
1793 - Reconcile style of all class initializer functions
1794 - Reconcile style of all finalize functions
1795 - Add emacs mode line to all source files
1797 2007-02-06 Jim Evins <evins@snaught.com>
1799 Assorted cleanup and removal of deprecated items.
1804 Removed annoying splash screen.
1805 * src/glabels-batch.c: (main):
1806 * src/glabels.c: (main):
1807 Converted from popt to GOption.
1808 * src/object-editor-shadow-page.c:
1809 (gl_object_editor_set_shadow_state):
1810 Removed deprecated method on GtkToggleButton.
1811 * src/ui-commands.c: (gl_ui_cmd_help_about):
1812 Removed dependency on libgnomui/qnome-url.h.
1813 * src/template-designer.c:
1814 Removed dependency on libgnome/gnome-program.h.
1817 2007-02-04 Jim Evins <evins@snaught.com>
1821 * src/prefs-model.c:
1822 * src/print.c: (draw_text_object):
1823 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1824 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1826 2007-02-04 Jim Evins <evins@snaught.com>
1828 * src/wdgt-mini-preview.c:
1829 * src/wdgt-mini-preview.h:
1830 Ported widget from GnomeCanvas to Cairo.
1832 2007-02-03 Jim Evins <evins@snaught.com>
1834 * data/glade/template-designer.glade:
1835 * src/template-designer.c:
1836 * src/template-designer.h:
1837 Ported GnomeDruid to GtkAssistant. Since libglade does not
1838 yet support the GtkAssistant and we derive directly from
1839 the Assistant, the pages are layed out in a GtkNotebook in
1840 the glade description -- we then append each page to the
1843 2007-01-25 Jim Evins <evins@snaught.com>
1845 * data/glade/object-editor.glade:
1846 Added dummy page to notebook, to prevent shadow page from
1847 becoming the default current page at creation.
1848 * src/view-box.c: (construct_properties_editor):
1849 * src/view-ellipse.c: (construct_properties_editor):
1850 * src/view-line.c: (construct_properties_editor):
1851 * src/view-text.c: (construct_properties_editor):
1852 Reconciled order of params.
1854 2007-01-19 Jim Evins <evins@snaught.com>
1856 * src/label-barcode.h:
1857 * src/label-object.c: (gl_label_object_set_font_weight),
1858 (gl_label_object_set_text_alignment),
1859 (gl_label_object_get_font_weight),
1860 (gl_label_object_get_text_alignment):
1861 * src/label-object.h:
1862 * src/label-text.c: (gl_label_text_instance_init), (copy),
1863 (get_size), (set_font_family), (set_font_weight),
1864 (set_text_alignment), (get_font_weight), (get_text_alignment):
1866 * src/object-editor-text-page.c:
1867 (gl_object_editor_prepare_text_page),
1868 (gl_object_editor_set_font_family),
1869 (gl_object_editor_set_font_weight),
1870 (gl_object_editor_get_font_weight),
1871 (gl_object_editor_set_text_alignment),
1872 (gl_object_editor_get_text_alignment),
1873 (gl_object_editor_set_text_color):
1874 * src/object-editor.h:
1875 * src/prefs-dialog.c: (construct_object_page),
1876 (update_object_page_from_prefs), (update_prefs_from_object_page):
1877 * src/prefs-model.c: (gl_prefs_model_save_settings),
1878 (gl_prefs_model_load_settings):
1879 * src/prefs-model.h:
1880 * src/print.c: (draw_text_object):
1881 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1882 (reset_to_default_properties), (update_text_properties),
1883 (font_bold_toggled_cb), (text_align_toggled_cb):
1885 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1886 (gl_util_weight_to_string), (gl_util_string_to_weight),
1887 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1889 * src/view-text.c: (update_object_from_editor_cb),
1890 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1891 * src/view.c: (gl_view_set_selection_text_alignment),
1892 (gl_view_set_default_text_alignment),
1893 (gl_view_get_default_text_alignment):
1895 * src/xml-label-04.c: (xml04_parse_text_props):
1896 * src/xml-label-191.c: (xml191_parse_text_props):
1897 * src/xml-label.c: (xml_parse_object_text),
1898 (xml_parse_toplevel_span), (xml_create_object_text),
1899 (xml_create_toplevel_span):
1900 Converted all model internals to Pango. GnomeFont remains in
1901 view until GnomeCanvas can be replaced with a cairo-based canvas.
1903 2007-01-17 Jim Evins <evins@snaught.com>
1909 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1910 (gl_wdgt_print_copies_construct):
1911 * src/wdgt-print-copies.h:
1912 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1913 (gl_wdgt_print_merge_construct):
1914 * src/wdgt-print-merge.h:
1915 Removed all remaining HIG wrapper widgets.
1917 2007-01-16 Jim Evins <evins@snaught.com>
1920 * src/print-dialog.c:
1921 * src/print-dialog.h:
1924 * src/template-designer.c: (print_test_cb):
1925 * src/ui-commands.c: (gl_ui_cmd_file_print):
1927 Renamed PrintDialog to PrintOp. Added constructor for batch
1929 * src/glabels-batch.c: (main):
1930 Converted to use new PrintOp object for printing.
1932 2007-01-15 Jim Evins <evins@snaught.com>
1934 * data/glade/Makefile.am:
1935 * data/glade/print-custom-widget.glade:
1936 * src/print-dialog.c:
1937 * src/print-dialog.h:
1940 * src/template-designer.c: (print_test_cb):
1941 * src/ui-commands.c: (gl_ui_cmd_file_print):
1942 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1943 * src/wdgt-print-merge.h:
1944 * src/window.c: (gl_window_init):
1946 Initial conversion to GtkPrintOperation.
1948 - Remove font and other libgnomeprint[ui] from elsewhere
1949 - Add batch initialization of print operation
1951 2007-01-08 Jim Evins <evins@snaught.com>
1953 Updated dependencies. Set version to 2.1.pre4cvs.
1955 2007-01-03 Jim Evins <evins@snaught.com>
1957 * src/recent-files/*
1958 Removed EggRecent stuff.
1964 * src/ui-commands.c:
1965 * src/ui-commands.h:
1967 Ported from EggRecent to GtkRecentManager.
1970 2007-01-02 Jim Evins <evins@snaught.com>
1973 * iec16022-0.2.1/BUGS:
1974 * iec16022-0.2.1/CHANGELOG:
1975 * iec16022-0.2.1/CREDITS:
1976 * iec16022-0.2.1/INSTALL:
1977 * iec16022-0.2.1/LICENSE:
1978 * iec16022-0.2.1/Makefile.am:
1979 * iec16022-0.2.1/Makefile.dist:
1980 * iec16022-0.2.1/README:
1981 * iec16022-0.2.1/README.glabels:
1982 * iec16022-0.2.1/TODO:
1983 * iec16022-0.2.1/iec16022.1:
1984 * iec16022-0.2.1/iec16022.c:
1985 * iec16022-0.2.1/iec16022ecc200.c:
1986 * iec16022-0.2.1/iec16022ecc200.h:
1987 * iec16022-0.2.1/image.c:
1988 * iec16022-0.2.1/image.h:
1989 * iec16022-0.2.1/reedsol.c:
1990 * iec16022-0.2.1/reedsol.h:
1991 * iec16022-0.2.1/test/testsuite-example.bin:
1992 * iec16022-0.2.1/test/testsuite-example.eps:
1993 * iec16022-0.2.1/test/testsuite-example.hex:
1994 * iec16022-0.2.1/test/testsuite-example.png:
1995 * iec16022-0.2.1/test/testsuite-example.text:
1996 * iec16022-0.2.1/test/testsuite.sh:
1997 Include modified copy of iec16022-0.2.1 to provide encoding
1998 support for datamatrix 2D barcodes.
2000 * src/bc-iec16022.c:
2001 * src/bc-iec16022.h:
2003 Added initial datamatrix 2D barcode backend to barcode code.
2006 Automatic updates to later versions of these files.
2008 2006-11-28 Jim Evins <evins@snaught.com>
2010 * data/templates/avery-iso-templates.xml:
2011 * data/templates/avery-us-templates.xml:
2012 * data/templates/categories.xml:
2013 * data/templates/misc-iso-templates.xml:
2014 * data/templates/misc-us-templates.xml:
2015 * data/templates/zweckform-iso-templates.xml:
2016 More categorization.
2018 2006-09-12 Jim Evins <evins@snaught.com>
2020 * data/dtd/glabels-2.0.dtd:
2021 * data/templates/Makefile.am:
2022 * data/templates/avery-iso-templates.xml:
2023 * data/templates/avery-other-templates.xml:
2024 * data/templates/avery-us-templates.xml:
2025 * data/templates/categories.xml:
2026 * data/templates/misc-iso-templates.xml:
2027 * data/templates/misc-other-templates.xml:
2028 * data/templates/zweckform-iso-templates.xml:
2029 * data/glade/Makefile.am:
2030 * data/glade/new-label-dialog.glade:
2031 * data/glade/wdgt-media-select.glade:
2032 * data/glade/wdgt-rotate-label.glade:
2033 * libglabels/Makefile.am:
2034 * libglabels/category.c:
2035 * libglabels/category.h:
2036 * libglabels/libglabels.h:
2037 * libglabels/paper.c:
2038 * libglabels/template.c:
2039 * libglabels/template.h:
2040 * libglabels/xml-category.c:
2041 * libglabels/xml-category.h:
2042 * libglabels/xml-template.c:
2043 Added support for category meta data.
2046 * src/mini-preview-pixbuf.c:
2047 * src/mini-preview-pixbuf.h:
2048 * src/new-label-dialog.c:
2049 * src/new-label-dialog.h:
2050 * src/wdgt-media-select.c:
2051 * src/wdgt-media-select.h:
2052 * src/wdgt-rotate-label.c:
2053 * src/wdgt-rotate-label.h:
2054 New "new label" dialog.
2056 2006-05-27 Jim Evins <evins@snaught.com>
2061 Preparation for 2.1.3.
2067 2006-05-22 Jim Evins <evins@snaught.com>
2069 * src/print.c: (draw_barcode_object):
2070 Don't print "Invalid barcode data" if data field is empty. Patch provided
2071 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2073 Added acknowledgment for above patch.
2074 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2075 * src/bc-postnet.c: (postnet_code):
2076 Removed "Invalid barcode data" warnings from stderr.
2077 * src/view-barcode.c: (draw_barcode):
2078 Draw box around barcode extent if data empty or invalid. Center a
2079 message whether the data is empty or invalid in box.
2081 2006-05-22 Jim Evins <evins@snaught.com>
2083 * src/print.c: (draw_text_object):
2084 Check shadow state when printing text.
2086 2006-05-20 Jim Evins <evins@snaught.com>
2088 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2089 (gl_ui_cmd_view_markup_toggle):
2090 Fixed crash when grid or markup have been toggled off during
2091 a previous session. Bug #1434324.
2093 2006-04-05 Jim Evins <evins@snaught.com>
2095 * src/object-editor.c: (gl_object_editor_set_key_names):
2096 Fixed potential crash when freeing empty key list.
2098 2006-03-11 Jim Evins <evins@snaught.com>
2100 * src/print.c: (draw_text_object):
2101 * src/view-text.c: (gl_view_text_new),
2102 (construct_properties_editor), (update_object_from_editor_cb),
2103 (update_editor_from_object_cb), (update_editor_from_label_cb),
2105 Added shadow support to text object.
2107 2006-02-18 Jim Evins <evins@snaught.com>
2109 * src/print.c: (draw_line_object):
2110 * src/view-line.c: (gl_view_line_new),
2111 (construct_properties_editor), (update_canvas_item_from_object_cb),
2112 (update_object_from_editor_cb), (update_editor_from_object_cb),
2113 (update_editor_from_label_cb):
2114 Added shadow support to line object.
2116 2006-02-16 Jim Evins <evins@snaught.com>
2120 * src/print.c: (draw_ellipse_object):
2121 * src/view-ellipse.c: (gl_view_ellipse_new),
2122 (construct_properties_editor), (update_canvas_item_from_object_cb),
2123 (update_object_from_editor_cb), (update_editor_from_object_cb),
2124 (update_editor_from_label_cb):
2125 Added shadow support to ellipse object.
2127 2006-02-15 Jim Evins <evins@snaught.com>
2129 * src/label-object.c:
2130 Changed default shadow offsets.
2131 * src/view-box.c: (gl_view_box_new):
2132 Simplified gl_view_box_new() so that is does not duplicate code
2133 in update_canvas_item_from_object_cb().
2135 2006-02-07 Jim Evins <evins@snaught.com>
2137 * data/glade/object-editor.glade:
2138 Fixed color groups of color combos.
2140 Added default shadow color.
2141 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2142 Added shadow color group.
2144 2006-02-06 Jim Evins <evins@snaught.com>
2146 * src/object-editor-shadow-page.c:
2147 Forgot to add this file.
2148 * src/view-box.c: (gl_view_box_new),
2149 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2150 Update limits on shadow offset spinbuttons.
2152 2006-01-19 Jim Evins <evins@snaught.com>
2154 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2155 Initialize key_list to NULL.
2156 * data/glade/object-editor.glade:
2160 * src/label-object.c:
2161 * src/label-object.h:
2162 * src/object-editor-fill-page.c:
2163 * src/object-editor-private.h:
2164 * src/object-editor.c:
2165 * src/object-editor.h:
2167 Created infrastructure for shadow support.
2170 Initial shadow support in box object only.
2172 2006-01-05 Jim Evins <evins@snaught.com>
2174 * src/merge-properties-dialog.c: (src_changed_cb):
2175 Be extra paranoid before calling strcmp().
2176 * src/merge.c: (gl_merge_set_src):
2177 Don't make (merge == NULL) a critical error.
2179 2005-12-22 Jim Evins <evins@snaught.com>
2181 * src/glabels-batch.c: (main):
2182 Compile warning free with gcc 4.0.
2184 2005-12-21 Jim Evins <evins@snaught.com>
2187 Updated example RPM spec file.
2189 2005-12-21 Jim Evins <evins@snaught.com>
2193 Preparation for 2.1.2.
2195 2005-12-20 Jim Evins <evins@snaught.com>
2198 Define unique G_LOG_DOMAIN for glabels.
2199 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2200 * src/warning-handler.c: (gl_warning_handler_init),
2202 Register for G_LOG_DOMAIN instead of NULL.
2204 2005-12-10 Jim Evins <evins@snaught.com>
2206 * src/merge-evolution.c:
2207 * src/merge-vcard.c:
2210 2005-12-08 Jim Evins <evins@snaught.com>
2212 * libglabels/paper.c: (read_paper_files_from_dir):
2213 * libglabels/template.c: (gl_template_register),
2214 (read_template_files_from_dir):
2215 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2216 (gl_xml_paper_parse_papers_doc):
2217 * libglabels/xml-template.c:
2218 (gl_xml_template_read_templates_from_file),
2219 (gl_xml_template_parse_templates_doc),
2220 (gl_xml_template_parse_template_node),
2221 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2222 (xml_parse_label_cd_node), (xml_parse_layout_node),
2223 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2224 (xml_parse_markup_circle_node),
2225 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2226 * libglabels/xml.c: (gl_xml_get_prop_length):
2227 Re-classified g_warnings to g_messages.
2229 * src/glabels.c: (main):
2230 * src/warning-handler.c: (gl_warning_handler_init),
2232 * src/warning-handler.h:
2233 Added warning message handler to make sure the user is
2234 presented with appropriate non-fatal errors.
2235 * src/critical-error-handler.c: (critical_error_handler):
2236 Changed exit to abort.
2237 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2238 * src/bc-postnet.c: (postnet_code):
2239 * src/bc.c: (id_to_index), (name_to_index):
2240 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2241 * src/object-editor.c: (gl_object_notebook_construct_valist):
2242 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2243 * src/prefs.c: (gl_prefs_get_units_per_point),
2244 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2245 (gl_prefs_get_units_string):
2246 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2247 * src/splash.c: (gl_splash):
2248 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2249 * src/view-highlight.c: (gl_view_highlight_new),
2250 (highlight_resizable_box_construct), (object_changed_cb),
2251 (view_scale_changed_cb):
2252 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2253 (draw_markup_layer), (draw_markup_margin),
2254 (gl_view_object_create_mode), (canvas_event),
2255 (selection_received_cb):
2256 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2257 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2258 * src/xml-label-04.c: (gl_xml_label_04_parse),
2259 (xml04_parse_media_description), (xml04_parse_text_props),
2260 (xml04_parse_barcode_props):
2261 * src/xml-label-191.c: (gl_xml_label_191_parse),
2262 (xml191_parse_objects), (xml191_parse_object),
2263 (xml191_parse_text_props), (xml191_parse_image_props),
2264 (xml191_parse_barcode_props), (xml191_parse_data),
2265 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2266 (xml191_parse_markup):
2267 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2268 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2269 (xml_parse_object_text), (xml_parse_object_image),
2270 (xml_parse_object_barcode), (xml_parse_data),
2271 (xml_parse_toplevel_span), (gl_xml_label_save),
2272 (xml_create_objects):
2273 Re-classified g_warnings to g_messages.
2274 * src/merge-evolution.c: (gl_merge_evolution_open),
2275 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2276 Use g_warning to output errors encountered while
2277 communicating with the evolution data server
2278 instead of embedding them in the data.
2280 2005-12-08 Jim Evins <evins@snaught.com>
2282 * libglabels/libglabels-private.h:
2284 * libglabels/paper.c: (read_papers):
2285 * libglabels/template.c: (read_templates):
2286 Made appropriate warnings critical.
2288 * src/critical-error-handler.h:
2289 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2290 (critical_error_handler):
2291 Created critical error handler.
2292 * src/glabels.c: (main):
2293 Register critical error handler.
2294 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2295 * src/object-editor.c: (gl_object_editor_init):
2296 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2297 * src/template-designer.c: (gl_template_designer_init):
2298 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2299 Made appropriate warnings critical.
2301 2005-11-27 Jim Evins <evins@snaught.com>
2303 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2304 (gl_merge_evolution_get_primary_key),
2305 (gl_merge_evolution_get_record):
2306 Don't create "record_key" pseudo-key. Don't populate
2307 fields with null data.
2309 2005-11-25 Jim Evins <evins@snaught.com>
2311 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2312 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2313 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2315 Query EDS for all supported fields. Patch provided by
2316 Austin Henry <ahenry@users.sourceforge.net>.
2318 2005-10-29 Jim Evins <evins@snaught.com>
2320 * src/glabels.c: (main):
2321 * src/label-barcode.c: (gl_label_barcode_finalize):
2322 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2323 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2324 * src/object-editor.c: (gl_object_editor_finalize):
2325 Another pass at valgrinding -- plugged several memory leaks.
2326 * src/view-text.c: (gl_view_text_new),
2327 (update_canvas_item_from_object_cb), (draw_hacktext):
2328 Commented out artifacts of edit-in-place code.
2330 2005-10-28 Jim Evins <evins@snaught.com>
2332 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2333 Fixed use of uninitialized variable. Caught by
2334 d binderman <dcb314@hotmail.com>.
2336 2005-10-27 Jim Evins <evins@snaught.com>
2338 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2339 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2341 Additional cleanup of EDS and vcard backends. Provided by
2342 Austin Henry <ahenry@users.sourceforge.net>.
2344 2005-10-24 Jim Evins <evins@snaught.com>
2348 * src/merge-evolution.c:
2349 * src/merge-evolution.h:
2350 * src/merge-init.c: (gl_merge_init):
2351 * src/merge-properties-dialog.c: (type_changed_cb):
2352 * src/merge-vcard.c:
2353 * src/merge-vcard.h:
2354 * src/ui-commands.c: (gl_ui_cmd_help_about):
2355 Added Evolution Data Server and VCard merge backends. Original patch
2356 provided by Austin Henry <ahenry@users.sourceforge.net>.
2358 Only support EDS and VCard backends if libebook is installed. Allow
2359 user to disable support, even if installed.
2361 2005-10-24 Jim Evins <evins@snaught.com>
2364 * data/templates/avery-iso-templates.xml:
2365 * data/templates/avery-us-templates.xml:
2366 * data/templates/misc-iso-templates.xml:
2367 * data/templates/zweckform-iso-templates.xml:
2368 Collected all template changes and submissions since last
2371 2005-10-23 Jim Evins <evins@snaught.com>
2374 * data/mime/Makefile.am:
2375 Added configure options to disable update-mime-database and
2376 update-desktop-database as part of the install. Patch
2377 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2379 2005-10-23 Jim Evins <evins@snaught.com>
2382 * libglabels/xml.c: (gl_xml_get_prop_string),
2383 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2384 (gl_xml_is_node), (gl_xml_get_node_content):
2385 Added new XML utility functions.
2386 * libglabels/xml-paper.c:
2387 * libglabels/xml-template.c:
2389 Cleanup by using new xml utilities created above.
2390 * libglabels/paper.c: (gl_paper_free):
2391 * src/file.c: (new_response):
2392 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2393 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2394 (gl_pixbuf_cache_get_pixbuf):
2395 * src/ui-property-bar.c:
2396 (gl_ui_property_bar_construct_color_combo):
2397 * src/view-highlight.c: (gl_view_highlight_finalize):
2398 * src/view-image.c: (update_object_from_editor_cb):
2399 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2400 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2401 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2402 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2403 (draw_markup_margin_round), (draw_markup_margin_cd),
2404 (draw_markup_margin_cd_bc):
2405 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2406 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2407 Plugged various memory leaks located with valgrind.
2408 * src/view-image.c: (update_canvas_item_from_object_cb):
2409 Don't allow a width or height of zero when drawing pixbuf.
2411 2005-10-22 Jim Evins <evins@snaught.com>
2413 * libglabels/xml-paper.c:
2414 * libglabels/xml-template.c:
2417 * src/bc-gnubarcode.c:
2418 * src/canvas-hacktext.c:
2420 * src/object-editor-data-page.c:
2421 * src/print-dialog.c:
2424 * src/template-designer.c:
2426 * src/ui-property-bar.c:
2428 * src/view-barcode.c:
2430 * src/view-ellipse.c:
2435 * src/wdgt-media-select.c:
2436 * src/xml-label-04.c:
2437 * src/xml-label-191.c:
2439 Modified to compile warning free with gcc-4.0. Mostly
2440 casting to change signedness of characters. Did not
2441 attack gnu-barcode library yet.
2443 2005-10-22 Jim Evins <evins@snaught.com>
2445 * src/glabels.c: (main):
2446 * src/splash.c: (gl_splash):
2447 Removed some small memory leaks.
2451 2005-09-19 Jim Evins <evins@snaught.com>
2453 * data/glade/property-bar.glade:
2454 Remove items from font_family_combo. This prevents the
2455 double entry after adding text model and list of fonts.
2456 * src/ui-property-bar.c: (reset_to_default_properties):
2457 Free font_family_list.
2459 2005-07-01 Jim Evins <evins@snaught.com>
2462 Updated italian translation (Daniele Medri)
2464 2005-06-26 Jim Evins <evins@snaught.com>
2466 * docs/libglabels/libglabels-decl-list.txt:
2467 Somehow never got checked in before.
2468 * docs/libglabels/libglabels.types:
2469 Removed -- don't need it afterall.
2471 2005-06-20 Jim Evins <evins@snaught.com>
2474 Final prep for 2.1.1 release.
2476 2005-06-20 Jim Evins <evins@snaught.com>
2479 Final preps for 2.1.1 release.
2480 * docs/libglabels/libglabels.types:
2481 Somehow never got checked in before.
2483 Bring up-to-date with recent reorg of ui code.
2486 2005-06-19 Jim Evins <evins@snaught.com>
2488 * src/template-designer.c: (construct_layout_page):
2489 Removed attempt to match background color of mini preview widget to
2492 2005-06-17 Jim Evins <evins@snaught.com>
2494 * help/C/figures/merge-ex2-4.png:
2495 * help/C/glabels.xml:
2496 Fixed spelling error.
2498 2005-06-13 Jim Evins <evins@snaught.com>
2500 * help/C/figures/merge-ex1-1.png:
2501 * help/C/figures/merge-ex1-2.png:
2502 * help/C/figures/merge-ex1-3.png:
2503 * help/C/figures/merge-ex1-4.png:
2504 * help/C/figures/merge-ex2-1.png:
2505 * help/C/figures/merge-ex2-2.png:
2506 * help/C/figures/merge-ex2-3.png:
2507 * help/C/figures/merge-ex2-4.png:
2508 Added figures for document merge tutorial.
2509 * help/C/glabels.xml:
2510 Added document merge tutorial.
2512 2005-05-19 Jim Evins <evins@snaught.com>
2514 * data/glade/merge-properties-dialog.glade:
2515 Fixed irregular spacing.
2516 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2517 (gl_merge_properties_dialog_construct):
2518 Set outer padding and remove separator.
2520 2005-05-18 Jim Evins <evins@snaught.com>
2524 Removed glHigDialog class.
2525 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2526 (gl_file_properties), (create_properties_dialog_widgets):
2527 * src/prefs-dialog.h:
2528 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2529 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2530 * src/print-dialog.h:
2531 * src/prefs-dialog.h:
2532 * src/print-dialog.c: (gl_print_dialog_get_type),
2533 (gl_print_dialog_init), (gl_print_dialog_construct):
2534 Replaced all instances of glHigDialog with GtkDialog.
2536 2005-05-17 Jim Evins <evins@snaught.com>
2540 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2541 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2542 (save_as_response), (gl_file_close):
2543 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2545 2005-05-15 Jim Evins <evins@snaught.com>
2547 * src/ui-commands.h:
2555 A little code reformatting -- no functional changes.
2557 2005-05-14 Jim Evins <evins@snaught.com>
2560 Removed obsolete macros.
2562 Added marshalling template to support new view signal: "context_menu_activate."
2564 * src/view.c: (gl_view_class_init), (gl_view_construct),
2565 (canvas_event_arrow_mode):
2566 - Removed hardcoded context menus and added new signal "context_menu_activate"
2567 to push this up to the uimanager.
2568 - Removed merge properties and print dialogs so that they can be managed with
2569 the window by the uimanager.
2570 * src/merge-properties-dialog.h:
2571 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2572 (gl_merge_properties_dialog_construct):
2573 Changed calling convention of gl_merge_properties_dialog_new() to use
2574 glLabel and GtkWindow instead of view to make more consistent with other
2576 * src/print-dialog.h:
2577 * src/print-dialog.c: (gl_print_dialog_new),
2578 (gl_print_dialog_construct):
2579 Removed last artifact of libbonoboui.
2580 * src/ui-commands.c: (gl_ui_cmd_file_print),
2581 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2582 Reconciled style for launching dialogs.
2583 * src/ui.c: (gl_ui_new):
2584 Added context menus to ui manager.
2585 * src/view-object.c: (item_event_arrow_mode):
2586 No longer try to select objects with right-click.
2588 * src/window.c: (gl_window_init), (gl_window_set_label),
2589 (context_menu_activate_cb):
2590 Context menus and all dialogs are now managed in a consistent way in window
2593 2005-05-11 Jim Evins <evins@snaught.com>
2596 * src/window.c: (gl_window_init), (gl_window_destroy):
2597 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2598 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2599 Moved management of recent_view back from window.c to ui.c -- it just feels
2602 2005-05-10 Jim Evins <evins@snaught.com>
2605 * src/window.c: (gl_window_init):
2607 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2608 (menu_item_select_cb), (menu_item_deselect_cb):
2609 Added GtkStatusbar which displays menu tooltips.
2611 2005-05-09 Jim Evins <evins@snaught.com>
2613 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2618 Removed dependencies on libbonoboui.
2620 * data/ui/Makefile.am:
2621 * data/ui/glabels-ui.xml:
2622 Removed data/ui directory.
2623 * data/glade/Makefile.am:
2624 * data/property-bar.glade:
2625 Added glade description of property-bar for new libglade implementation
2632 * src/ui-commands.h:
2633 * src/ui-commands.c:
2634 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2635 since the distinction between "commands" and "tools" is no longer that clear.
2638 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2639 no longer has knowledge of eggRecent*.
2640 * src/glabels.c: (main):
2641 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2643 * src/object-editor.c: (gl_object_editor_init):
2644 Make sure notebook does not respond to a "show_all" on the parent.
2645 * src/recent-files/Makefile.am:
2646 * src/recent-files/*.[ch]
2647 Updated from latest version of libegg which now has a view based on
2648 GtkUIManager. Removed unused bonobo and gtk views.
2649 * src/ui-property-bar.h:
2650 * src/ui-property-bar.c:
2651 New implementation based on libglade.
2654 Sidebar is now simply a GtkWidget and does not expect to be a part of
2655 a libbonoboui interface.
2660 Converted for use with GtkUIManager.
2663 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2664 to create menus and toolbars.
2666 2005-04-25 Jim Evins <evins@snaught.com>
2668 * data/templates/misc-iso-templates.xml:
2669 Added Fellows 04715 template provided by Steve Saxon.
2671 Updated acknowledgement for above.
2673 2005-04-23 Jim Evins <evins@snaught.com>
2675 * src/util.c: (gl_util_combo_box_set_strings):
2676 Make sure to clear model before loading a new list of strings.
2677 * src/wdgt-media-select.h:
2678 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2679 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2680 (template_combo_changed_cb), (prefs_changed_cb),
2681 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2682 (gl_wdgt_media_select_get_page_size),
2683 (gl_wdgt_media_select_set_page_size):
2684 Replaced the deprecated GtkCombo widget with the new
2687 2005-04-21 Jim Evins <evins@snaught.com>
2689 * data/glade/template-designer.glade:
2690 * src/template-designer.c: (construct_pg_size_page),
2691 (pg_size_page_changed_cb), (build_template):
2692 Replaced the deprecated GtkCombo widget with the new
2695 2005-04-20 Jim Evins <evins@snaught.com>
2697 * data/glade/prefs-dialog.glade:
2698 * src/prefs-dialog.c: (construct_object_page),
2699 (update_object_page_from_prefs), (update_prefs_from_object_page):
2700 Replaced the deprecated GtkCombo widget with the new
2703 2005-04-19 Jim Evins <evins@snaught.com>
2705 * data/glade/object-editor.glade:
2706 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2707 (style_changed_cb), (gl_object_editor_set_bc_style),
2708 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2709 (gl_object_editor_get_bc_color):
2710 * src/object-editor-data-page.c:
2711 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2712 (gl_object_editor_get_data):
2713 * src/object-editor-edit-page.c:
2714 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2715 * src/object-editor-fill-page.c:
2716 (gl_object_editor_prepare_fill_page),
2717 (gl_object_editor_set_fill_color),
2718 (gl_object_editor_get_fill_color):
2719 * src/object-editor-image-page.c:
2720 (gl_object_editor_prepare_image_page),
2721 (gl_object_editor_set_image), (gl_object_editor_get_image):
2722 * src/object-editor-line-page.c:
2723 (gl_object_editor_prepare_line_page),
2724 (gl_object_editor_set_line_color),
2725 (gl_object_editor_get_line_color):
2726 * src/object-editor-private.h:
2727 * src/object-editor-text-page.c:
2728 (gl_object_editor_prepare_text_page),
2729 (gl_object_editor_set_font_family),
2730 (gl_object_editor_get_font_family),
2731 (gl_object_editor_set_text_color),
2732 (gl_object_editor_get_text_color):
2733 * src/object-editor.c: (gl_object_editor_set_key_names):
2735 In the object editor: replaced all instances of the deprecated
2736 GtkCombo widget with the new GtkComboBox.
2738 2005-04-18 Jim Evins <evins@snaught.com>
2741 Neglected to save this one in previous checkin to support
2744 2005-04-17 Jim Evins <evins@snaught.com>
2746 * libglabels/libglabels-private.h:
2747 * libglabels/paper.c:
2748 * libglabels/paper.h:
2749 * libglabels/template.c:
2750 * libglabels/template.h:
2751 * libglabels/xml-paper.c:
2752 * libglabels/xml-paper.h:
2753 * libglabels/xml-template.c:
2758 * src/bc-gnubarcode.c:
2769 * src/label-barcode.c:
2771 * src/label-ellipse.c:
2772 * src/label-image.c:
2773 * src/label-image.h:
2775 * src/label-object.c:
2779 * src/merge-properties-dialog.c:
2780 * src/object-editor-bc-page.c:
2781 * src/object-editor-data-page.c:
2782 * src/object-editor-edit-page.c:
2783 * src/object-editor-fill-page.c:
2784 * src/object-editor-image-page.c:
2785 * src/object-editor-line-page.c:
2786 * src/object-editor-lsize-page.c:
2787 * src/object-editor-position-page.c:
2788 * src/object-editor-private.h:
2789 * src/object-editor-size-page.c:
2790 * src/object-editor-text-page.c:
2791 * src/object-editor.c:
2792 * src/object-editor.h:
2793 * src/pixbuf-cache.h:
2794 * src/prefs-dialog.c:
2795 * src/prefs-dialog.h:
2796 * src/prefs-model.c:
2797 * src/prefs-model.h:
2799 * src/print-dialog.c:
2800 * src/print-dialog.h:
2808 * src/template-designer.c:
2809 * src/template-designer.h:
2812 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2818 * src/view-barcode.c:
2820 * src/view-ellipse.c:
2821 * src/view-highlight.c:
2822 * src/view-highlight.h:
2825 * src/view-object.c:
2826 * src/view-object.h:
2830 * src/wdgt-chain-button.c:
2831 * src/wdgt-media-select.c:
2832 * src/wdgt-media-select.h:
2833 * src/wdgt-mini-preview.c:
2834 * src/wdgt-mini-preview.h:
2835 * src/wdgt-print-copies.c:
2836 * src/wdgt-print-copies.h:
2837 * src/wdgt-print-merge.c:
2838 * src/wdgt-print-merge.h:
2839 * src/wdgt-rotate-label.c:
2840 * src/wdgt-rotate-label.h:
2843 * src/xml-label-04.c:
2844 * src/xml-label-191.c:
2846 Cleanup of header files:
2847 - all header files are now stand-alone, verified by including
2848 first in corresponding "c" files
2849 - replaced blanket includes of gnome, gtk, and glib with
2852 2005-04-16 Jim Evins <evins@snaught.com>
2854 * data/glade/Makefile.am:
2855 * data/glade/merge-properties-dialog.glade:
2856 Added merge properties dialog glade description file.
2857 * src/merge-properties-dialog.h:
2858 * src/merge-properties-dialog.c:
2859 (gl_merge_properties_dialog_get_type),
2860 (gl_merge_properties_dialog_init),
2861 (gl_merge_properties_dialog_finalize),
2862 (gl_merge_properties_dialog_new),
2863 (gl_merge_properties_dialog_construct), (type_changed_cb),
2864 (src_changed_cb), (response_cb), (load_tree),
2865 (record_select_toggled_cb), (select_all_button_clicked_cb),
2866 (unselect_all_button_clicked_cb):
2867 Modified merge properties dialog to use libglade. Added
2868 "select all" and "unselect all" buttons.
2869 * src/merge-text.c: (parse_line):
2870 Handle empty lines better.
2871 * src/merge.c: (gl_merge_eval_key):
2872 Evaluate the key whether the record is selected or not.
2874 * src/util.c: (gl_util_combo_box_add_text_model):
2875 Since libglade does not use the gtk_combo_box_new_text()
2876 constructor for GtkComboBoxes, a utility function was created
2877 to add an appropriate text model to a GtkComboBox.
2878 * src/view.c: (gl_view_edit_merge_props):
2879 Removed unnecessary "show all's".
2881 2005-04-15 Jim Evins <evins@snaught.com>
2884 Updated russian translation (Vitaly Lipatov)
2885 * data/templates/misc-iso-templates.xml:
2886 Added templates for russian business cards provided by Vitaly Lipatov.
2888 Updated acknowledgements for above.
2890 2005-04-15 Jim Evins <evins@snaught.com>
2892 * data/templates/avery-us-templates.xml:
2893 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2894 * data/templates/misc-iso-templates.xml:
2895 Added Ryman standard CD/DVD template, provided by Dan Clark.
2897 Added acknowledgements for above.
2899 2005-04-10 Jim Evins <evins@snaught.com>
2901 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2902 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2903 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2904 (xml_parse_label_cd_node), (xml_parse_alias_node):
2905 * libglabels/xml.c: (gl_xml_get_prop_double),
2906 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2907 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2908 * src/xml-label-04.c: (xml04_parse_media_description),
2909 (xml04_parse_text_props), (xml04_parse_barcode_props),
2910 (xml04_parse_merge_properties):
2911 * src/xml-label-191.c: (xml191_parse_object),
2912 (xml191_parse_text_props), (xml191_parse_barcode_props),
2913 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2914 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2915 (xml191_parse_alias):
2916 * src/xml-label.c: (xml_parse_object_text),
2917 (xml_parse_object_barcode), (xml_parse_merge_fields),
2918 (xml_parse_pixdata), (xml_parse_toplevel_span):
2919 Make sure to use xmlFree for anything obtained from libxml
2920 in case libxml and glib use different memory management
2923 2005-04-08 Jim Evins <evins@snaught.com>
2926 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2927 (gl_util_combo_box_set_active_text):
2928 Added utility functions to simplify working with GtkComboBox
2930 * src/ui-property-bar.h:
2931 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2932 (reset_to_default_properties), (update_text_properties),
2933 (font_family_changed_cb):
2934 Replaced deprecated GtkCombo with GtkComboBox.
2937 2005-04-03 Jim Evins <evins@snaught.com>
2940 * src/wdgt-image-select.h:
2941 * src/wdgt-image-select.c:
2942 Removed obsolete wdgt-image-select.[ch] files.
2943 * libglabels/paper.c: (gl_paper_dup):
2944 Fixed rename of parameter introduced during documentation
2946 * data/glade/object-editor.glade:
2947 * src/object-editor-image-page.c:
2948 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2949 (gl_object_editor_set_image), (gl_object_editor_get_image),
2950 (update_preview_cb), (add_image_filters_to_chooser):
2951 * src/object-editor-private.h:
2952 Replaced deprecated GnomePixmapEntry with
2953 GtkFileChooserButton.
2955 2005-04-02 Jim Evins <evins@snaught.com>
2957 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2958 (mygal_combo_box_popup_hide_unconditional),
2959 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2960 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2961 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2962 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2963 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2964 Renamed all internal gtk_combo functions to mygal_combo
2965 to prevent namespace confusion.
2967 2005-04-02 Jim Evins <evins@snaught.com>
2969 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2970 (cust_color_set), (color_palette_setup):
2971 * src/mygal/color-palette.h:
2972 Replaced deprecated GnomeColorPicker with GtkColorButton.
2974 2005-04-02 Jim Evins <evins@snaught.com>
2976 * docs/libglabels/libglabels-sections.txt:
2977 * docs/libglabels/libglabels-undocumented.txt:
2978 * docs/libglabels/tmpl/enums.sgml:
2979 * docs/libglabels/tmpl/paper.sgml:
2980 * docs/libglabels/tmpl/xml-paper.sgml:
2981 * docs/libglabels/tmpl/xml-template.sgml:
2982 * libglabels/enums.h:
2983 * libglabels/paper.c: (gl_paper_dup):
2984 * libglabels/paper.h:
2985 * libglabels/xml-paper.c:
2986 * libglabels/xml-template.c:
2987 More documentation updates for libglabels.
2989 2005-03-23 Jim Evins <evins@snaught.com>
2992 Automatically updated.
2997 * docs/libglabels/Makefile.am:
2998 * docs/libglabels/libglabels-docs.sgml:
2999 * docs/libglabels/libglabels-sections.txt:
3000 * docs/libglabels/libglabels-undocumented.txt:
3001 * docs/libglabels/tmpl/enums.sgml:
3002 * docs/libglabels/tmpl/libglabels-unused.sgml:
3003 * docs/libglabels/tmpl/libglabels.sgml:
3004 * docs/libglabels/tmpl/paper.sgml:
3005 * docs/libglabels/tmpl/template.sgml:
3006 * docs/libglabels/tmpl/xml-paper.sgml:
3007 * docs/libglabels/tmpl/xml-template.sgml:
3008 * docs/libglabels/tmpl/xml.sgml:
3009 Added basic gtk-doc stuff to support documenting libglabels
3012 Updated function comments with gtk-doc markup.
3016 2005-03-22 Jim Evins <evins@snaught.com>
3018 Since the development version now requires gtk-2.6/gnome-2.10, I
3019 have made a first pass at removing deprecations.
3022 * libglabels/Makefile.am:
3024 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3025 Also removed all remnants of HAVE_FILECHOOSER.
3026 * src/file.c: (gl_file_open_real):
3027 Removed code for old GtkFileSelection.
3028 * libglabels/libglabels-private.h:
3029 * libglabels/paper.c:
3030 * libglabels/template.c:
3031 * libglabels/xml-paper.c:
3032 * libglabels/xml-template.c:
3036 * src/glabels-batch.c:
3040 * src/merge-properties-dialog.c:
3042 * src/object-editor.c:
3043 * src/prefs-dialog.c:
3045 * src/print-dialog.c:
3048 * src/template-designer.c:
3049 * src/ui-property-bar.c:
3051 * src/view-barcode.c:
3053 * src/view-ellipse.c:
3058 * src/wdgt-image-select.c:
3059 * src/wdgt-media-select.c:
3060 * src/wdgt-print-copies.c:
3061 * src/wdgt-print-merge.c:
3062 * src/wdgt-rotate-label.c:
3064 * src/xml-label-04.c:
3065 * src/xml-label-191.c:
3067 Added '#include <glib/gi18n.h>" where needed.
3068 Removed any unused '#include <gnome.h>"s.
3070 2005-03-22 Jim Evins <evins@snaught.com>
3072 * src/commands.c: (activate_url), (gl_cmd_help_about):
3073 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3074 development version of glabels now depends on GTK 2.6 and
3077 Updated library dependencies.
3079 2005-02-28 Jim Evins <evins@snaught.com>
3082 * data/templates/misc-iso-templates.xml:
3083 Added 'Ednet 45021' template provided by Ali Akcaagac
3086 2005-02-14 Jim Evins <evins@snaught.com>
3088 * data/templates/avery-us-templates.xml:
3089 Updated templates to use inches instead of points.
3090 * src/print-dialog.c: (printer_page_new):
3091 Changed packing style when adding printer selector widget. This fixes
3094 2005-02-13 Jim Evins <evins@snaught.com>
3098 Updated spanish translations. (sergio rivadero)
3100 2005-02-05 Jim Evins <evins@snaught.com>
3102 Some cleanup to libglabels.
3105 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3106 * libglabels/libglabels.pc.in
3108 * libglabels/enums.h
3109 Created. Currently only contains glUnitsType which provides enumerations
3110 for all possible units of distance.
3111 * libglabels/Makefile.am:
3112 Incorporated new files enums.h and libglabels.pc[.in].
3113 * libglabels/libglabels.h:
3115 * libglabels/template.h:
3116 * libglabels/template.c: (gl_template_layout_new):
3117 Changed parameters nx and ny to gint from gdouble.
3119 * libglabels/xml.c: (gl_xml_get_prop_length),
3120 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3121 Added support for different output units.
3122 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3123 (update_prefs_from_locale_page):
3124 * src/prefs-model.c: (string_to_units), (units_to_string):
3125 * src/prefs-model.h:
3126 * src/prefs.c: (gl_prefs_get_units_per_point),
3127 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3128 (gl_prefs_get_units_string):
3130 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3131 Reconciled all length enumerations with the new enumerations provided
3132 in libglabels/enums.h.
3134 2005-02-03 Jim Evins <evins@snaught.com>
3137 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3139 Updated Italian translations. (Daniele Medri)
3141 Updated credits to reflect above translations.
3144 2005-01-22 Jim Evins <evins@snaught.com>
3149 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3151 Final prep for 2.1.0.
3153 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3155 Added '--remove-original' flag to desktop-file-install, so that there is
3156 only one menu entry.
3158 2005-01-20 Jim Evins <evins@snaught.com>
3160 * data/glade/object-editor.glade:
3161 - Font family entry should not be editable.
3162 - img_key_entry should have sensitivity=YES, so that it follows the
3163 sensitivity of img_key_combo.
3165 2005-01-19 Jim Evins <evins@snaught.com>
3168 Give credit to Frederic Ruaudel for the color merge patches.
3170 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3172 Add support to merge color for all other color attribute (Feature
3173 Requests item #1008635. If the data is invalid, the color used is transparent
3174 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3175 by gdk_color_parse() these include name for a color from rgb.txt, such as
3176 DarkSlateGray, or a hex specification such as #305050. File format has been
3177 changed but backward compatibility is preserved for all format. For
3178 box/ellipse/line, keep attribute "line_color" for static color or replace by
3179 "line_color_field" for merge data. For text/barcode objects, keep attribute
3180 "color" for static color or replace by "color_field" for merge data. In the
3181 edit canvas window, merged color are represented by half-transparent black
3184 * data/dtd/glabels-2.0.dtd:
3185 Added line_color_field to line_attrs. Added color_field to
3186 Object-barcode and Span.
3187 * data/glade/object-editor.glade:
3188 Modify the layout of the editor to add merge possibility to color options
3190 Fix a copy/paste error in a comment
3192 Add default color for merge color representation in the editor canvas.
3193 * src/label-barcode.c:
3194 * src/object-editor-bc-page.c:
3195 * src/view-barcode.c:
3196 Add merge color support for barcode color.
3199 Add merge color support for box border color.
3200 * src/label-ellipse.c:
3201 * src/view-ellipse.c:
3202 Add merge color support for ellipse border color.
3205 Add merge color support for line color.
3206 * src/label-object.c:
3207 * src/label-object.h:
3208 * src/object-editor.c:
3209 * src/object-editor.h:
3210 * src/ui-property-bar.c:
3213 * src/xml-label-04.c:
3214 * src/xml-label-191.c:
3215 Add support for merging to other color attribute.
3217 * src/object-editor-text-page.c:
3219 Add merge color support for text color.
3220 * src/object-editor-fill-page.c:
3221 Change a blocked handler that didn't match the good widget. Fix the type
3222 of some debug message.
3223 * src/object-editor-line-page.c:
3224 Add merging support to line color option.
3225 * src/object-editor-private.h:
3226 Add variables for new widget.
3228 Modify the draw functions to get merge data if needed.
3230 Change the default size of the window in order to see all widget in the
3231 "text style tab" of the editor.
3233 Modify the parser to record/retreive the field value for objects that need
3234 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3235 static color or replace by "line_color_field" for merge data. For
3236 text/barcode objects, keep attribute "color" for static color or replace
3237 by "color_field" for merge data.
3239 2005-01-17 Jim Evins <evins@snaught.com>
3241 * src/view.c: (screen_changed_cb):
3242 Don't do anything if we don't have a screen.
3244 2005-01-06 Jim Evins <evins@snaught.com>
3246 * src/view.c: (get_home_scale):
3247 Fixed bad call to gtk_widget_has_screen() -- huh?.
3249 2005-01-06 Jim Evins <evins@snaught.com>
3251 * data/dtd/glabels-2.0.dtd:
3252 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3255 2005-01-06 Jim Evins <evins@snaught.com>
3257 * data/glade/object-editor.glade:
3258 Set entries for fill and data field key dropdowns to NOT editable.
3259 * src/view-box.c: (construct_properties_editor):
3260 * src/view-ellipse.c: (construct_properties_editor):
3261 Update object editor when label's merge property has changed.
3262 * src/xml-label.c: (xml_parse_object_ellipse):
3263 Completed the merge color support for the ellipse item.
3265 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3267 Add support to merge color for object that have a "Fill color" attribute (Feature
3268 Requests item #1008635. If the data is invalid, the color used is transparent
3269 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3270 by gdk_color_parse() these include name for a color from rgb.txt, such as
3271 DarkSlateGray, or a hex specification such as #305050. File format has been
3272 changed but backward compatibility is preserved for all format. For box/ellipse,
3273 keep attribute "fill_color" for static color or replace by "fill_color_field"
3276 * data/glade/object-editor.glade:
3277 Modify "Fill" tab to add the merge key combo and convert the labels into
3281 Add "glColorNode" structure and associated functions to manage it. This
3282 structure is equivalent for color than the "glTextNode". It holds the color
3284 * src/label-object.h:
3285 * src/label-object.c:
3287 * src/label-ellipse.c:
3288 * src/ui-property-bar.c:
3292 * src/view-ellipse.c:
3293 * src/xml-label-04.c:
3294 * src/xml-label-191.c:
3295 Change functions of objects that have a "fill color" attribute to use the
3296 new "glColorNode" structure. Use barcode code as example.
3298 Add the color.[ch] file to glabels_batch binary that now need support for
3300 * src/object-editor.h:
3301 * src/object-editor.c:
3302 * src/object-editor-fill-page.c:
3303 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3304 to choose between static color or merge key. Use barcode code as example.
3305 * src/object-editor-private.h:
3306 Add new widget in the "_glObjectEditorPrivate" structure.
3308 Modify the draw functions to get merge data if needed.
3310 Modify the parser to record/retreive the field value for objects that need
3311 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3312 color or "fill_color_field" for merge data.
3314 2005-01-04 Jim Evins <evins@snaught.com>
3317 * data/templates/avery-iso-templates.xml:
3318 * data/templates/misc-iso-templates.xml:
3319 * data/templates/misc-us-templates.xml:
3320 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3323 2004-11-26 Jim Evins <evins@snaught.com>
3327 Updated french translations provided by Florent Morel <florent@taket.org>.
3328 * src/view-barcode.c:
3330 * src/view-ellipse.c:
3334 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3335 thus _() strings were not being translated.
3337 2004-11-14 Jim Evins <evins@snaught.com>
3340 * src/debug.c: (gl_debug_init), (gl_debug):
3341 Borrowed from gedit: use environmental variables to select debug
3344 Removed unused include of debug.h.
3345 * src/glabels.c: (main):
3346 Added call to gl_debug_init(), and removed debug clutter from command line
3348 * src/glabels-batch.c: (main):
3349 Added call to gl_debug_init().
3351 2004-11-13 Jim Evins <evins@snaught.com>
3353 Drawing and property toolbars were being initialized with the "icons and text"
3354 look in Fedora Core 3. Even though none of the buttons had any text attached to
3355 them, the buttons were being sized as if they were. This led to less real estate
3356 for the property editor, leading to Bug #1064630. The
3358 * data/ui/glabels-ui.xml:
3359 Added explicit "look" property to both drawing and property toolbars.
3360 * src/prefs-model.c: (gl_prefs_model_save_settings),
3361 (gl_prefs_model_load_settings):
3362 * src/prefs-model.h:
3363 Removed drawing_toolbar_button_style configuration parameter.
3364 * src/ui.c: (view_menu_item_toggled_cb),
3365 (set_app_drawing_toolbar_style):
3366 Do not attempt to adjust look property of the drawing toolbar.
3368 2004-10-28 Jim Evins <evins@snaught.com>
3370 * data/pixmaps/glabels-about-logo.png:
3373 2004-10-28 Jim Evins <evins@snaught.com>
3375 * data/man/glabels.1:
3376 * src/glabels-batch.c: (main):
3378 * src/print.c: (gl_print_batch):
3380 Added option to glabels-batch to select the first label to begin
3383 2004-09-26 Jim Evins <evins@snaught.com>
3385 * data/desktop/glabels.desktop.in:
3386 Point to app icon, "glabels.png"
3387 * data/mime/glabels.keys.in:
3388 Point at mime icon, "glabels-application-x-glabels.png"
3389 * data/pixmaps/Makefile.am:
3390 Added glabels_app_icondir. Renamed icons.
3391 * data/pixmaps/glabels.png:
3392 New cleaned up app icon. Deleted glabels-icon.png.
3393 * data/pixmaps/glabels-application-x-glabels.png:
3395 * data/pixmaps/glabels-splash.png:
3396 Renamed glabels-logo to glabels-splash to be more correct about role.
3398 * src/template-designer.c:
3399 Point at app icon, "glabels.png"
3401 Point at renamed splash image, "glabels-splash.png"
3403 2004-08-22 Jim Evins <evins@snaught.com>
3406 * src/glabels-batch.c: (main):
3407 Applied patch with minor mods to allow selecting merge source and
3408 crop-marks on glabels-batch's command line. Original patch provided by
3409 José Dapena Paz <jdapena@igalia.com>.
3411 2004-08-15 Jim Evins <evins@snaught.com>
3413 * data/desktop/glabels.desktop.in:
3414 - Added encoding line
3415 - Removed period from comment
3416 - Fixed Terminal line, changed "0" to "false"
3417 - Added semicolen to Categories line
3419 - Made sure desktop.in comment string above still translated properly
3421 2004-08-14 Jim Evins <evins@snaught.com>
3423 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3424 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3425 * src/xml-label-191.c: (xml191_parse_sheet):
3426 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3428 Reconciled libglabels versioning with 2.0.1.
3431 2004-08-14 Jim Evins <evins@snaught.com>
3434 Updated version to 2.1cvs.
3436 2004-08-14 Jim Evins <evins@snaught.com>
3439 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3441 2004-08-14 Jim Evins <evins@snaught.com>
3443 Fixes for Bug #1008181.
3445 * src/bc.c: (gl_barcode_default_digits):
3446 Make a format of zero digits, harmless.
3447 * src/xml-label.c: (xml_parse_object_barcode):
3448 Set default value of the format property of barcode objects to 10, not
3449 zero. This will prevent crashes when reading pre 2.0.x files.
3451 2004-08-09 Jim Evins <evins@snaught.com>
3455 * help/C/glabels-C.omf:
3456 * help/C/glabels.xml:
3457 Brought documentation up-to-date for 2.0.0 release.
3459 2004-08-09 Jim Evins <evins@snaught.com>
3461 These are hopefully the final preparations for 2.0.0.
3463 * data/mime/Makefile.am:
3464 Include glabels.xml in EXTRA_DIST.
3466 - Updated comment style.
3467 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3468 - Added package and version info to configuration printout
3469 - Update version to 2.0.0
3470 * libglabels/Makefile.am:
3471 Use the new LIBGLABELS_VERSION_INFO macro.
3473 2004-08-09 Jim Evins <evins@snaught.com>
3477 Cleanup of required library macros.
3479 2004-08-08 Jim Evins <evins@snaught.com>
3483 - More specific of what to install in /usr/bin and /usr/lib
3484 - Remove built mime registration files from staging directory
3486 2004-08-08 Jim Evins <evins@snaught.com>
3488 * data/mime/Makefile.am:
3489 Fixed typo: key_files should have been keys_files.
3491 2004-08-08 Jim Evins <evins@snaught.com>
3493 Reorganization of runtime data files. Also added registration of mimetype with
3494 new freedesktop.org mime database if available.
3497 Moved files to appropriate subdirectories, creating local Makefile.am
3498 in each subdirectory.
3499 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3500 These are now installed at $datadir/glabels/templates.
3501 - Moved glabels.1 to man subdirectory.
3502 - Moved glabels-2.0.dtd to dtd subdirectory.
3503 - Moved glabels.desktop.in to desktop subdirectory.
3504 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3506 Moved "./pixmaps" to "./data/pixmaps"
3508 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3510 Moved libglade files from src to data/glade. Created Makefile.am.
3512 Removed pixmaps from SUBDIRS.
3514 - Removed pixmaps from makefiles.
3515 - Added makefiles for new subdirs of data.
3516 - Added tests for freedesktop.org mime database.
3518 - Added tests for freedesktop.org mime database for post install and
3519 post un-install actions.
3520 * libglabels/Makefile.am:
3521 Moved system template files to $(datadir)/glabels/templates.
3522 * libglabels/libglabels-private.h:
3523 Moved system template files to $(datadir)/glabels/templates.
3525 - Accounted for movement of ui and libglade files.
3526 - Added missing .in files.
3527 - Reorganized by directory.
3529 Accounted for movement of ui and libglade files.
3530 * data/mime/glabels.xml.in:
3531 New file for registering with freedesktop.org mime database.
3533 2004-08-07 Jim Evins <evins@snaught.com>
3535 * src/recent-files/*:
3536 Re-synced to latest libegg/recent-files.
3538 2004-08-07 Jim Evins <evins@snaught.com>
3543 Renamed "./doc" directory to "./help" which contains user documentation,
3544 to be more consistent with other GNOME applications.
3547 2004-07-26 Jim Evins <evins@snaught.com>
3549 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3550 Corrected button order of merge properties dialog.
3552 2004-07-18 Jim Evins <evins@snaught.com>
3554 * data/glabels-2.0.dtd:
3555 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3556 (gl_barcode_get_prefered_n):
3558 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3559 (gl_label_barcode_get_props), (get_size):
3560 * src/label-barcode.h:
3561 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3562 (style_changed_cb), (gl_object_editor_set_bc_style),
3563 (gl_object_editor_get_bc_style):
3564 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3565 (gl_object_editor_set_data), (gl_object_editor_get_data):
3566 * src/object-editor-private.h:
3567 * src/object-editor.c: (gl_object_editor_set_key_names):
3568 * src/object-editor.glade:
3569 * src/object-editor.h:
3570 * src/print.c: (draw_barcode_object):
3571 * src/view-barcode.c: (update_object_from_editor_cb),
3572 (update_editor_from_object_cb),
3573 (gl_view_barcode_create_event_handler), (draw_barcode):
3574 * src/xml-label-04.c: (xml04_parse_barcode_props):
3575 * src/xml-label-191.c: (xml191_parse_barcode_props):
3576 * src/xml-label.c: (xml_parse_object_barcode),
3577 (xml_create_object_barcode):
3578 Added "format" attribute to barcode objects. This attribute is used
3579 to properly format freeform barcodes barcodes prior to merge data is
3580 applied, so that barcodes can be accurately layed out. This addresses
3581 remaining issues of feature request #824787. Also added an example of
3582 the format in the object editor.
3584 2004-07-12 Jim Evins <evins@snaught.com>
3586 Various code cleanups.
3588 * src/label-barcode.c:
3589 Removed unneeded include of gnome-glyphlist.h.
3591 * src/label-text.c: (get_size):
3592 Fixed memory leak: unref glyphlists when done with them.
3594 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3595 * src/object-editor-data-page.c:
3596 (gl_object_editor_prepare_data_page):
3597 * src/object-editor-image-page.c:
3598 (gl_object_editor_prepare_image_page):
3599 * src/object-editor-line-page.c:
3600 (gl_object_editor_prepare_line_page):
3601 * src/object-editor-lsize-page.c:
3602 (gl_object_editor_prepare_lsize_page):
3603 * src/object-editor-position-page.c:
3604 (gl_object_editor_prepare_position_page):
3605 * src/object-editor-size-page.c:
3606 (gl_object_editor_prepare_size_page):
3607 * src/object-editor-text-page.c:
3608 (gl_object_editor_prepare_text_page):
3609 Removed unneeded size groups, originally intended to keep widgets aligned.
3610 Now use tables to lay these out in object-editor.glade.
3612 * src/print.c: (draw_text_object):
3613 Fixed memory leak: unref glyphlists when done with them.
3615 * src/view-barcode.c: (draw_barcode):
3616 Fixed memory leak: unref glyphlists when done with them.
3618 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3619 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3621 - Fixed memory leak: unref glyphlists when done with them.
3623 2004-07-11 Jim Evins <evins@snaught.com>
3625 * data/glabels-2.0.dtd:
3626 * src/label-text.c: (gl_label_text_instance_init), (copy),
3627 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3629 * src/object-editor-private.h:
3630 * src/object-editor-text-page.c:
3631 (gl_object_editor_prepare_text_page),
3632 (gl_object_editor_set_text_auto_shrink),
3633 (gl_object_editor_get_text_auto_shrink):
3634 * src/object-editor.c: (gl_object_editor_set_key_names):
3635 * src/object-editor.glade:
3636 * src/object-editor.h:
3637 * src/print.c: (draw_text_object):
3638 * src/view-text.c: (update_object_from_editor_cb),
3639 (update_editor_from_object_cb):
3640 * src/xml-label.c: (xml_parse_object_text),
3641 (xml_create_object_text):
3642 Added option to allow document merge to auto shrink text size to fit
3643 within the text box. The code in print.c that actually shrinks the
3644 text is loosely based on a patch submitted by Mark Harrison
3645 <mark.harrison@velocitynet.com.au>. This addresses feature request
3648 2004-07-11 Jim Evins <evins@snaught.com>
3650 * data/glabels-2.0.dtd:
3651 * libglabels/template.c: (gl_template_rect_label_type_new),
3652 (gl_template_round_label_type_new),
3653 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3654 (template_full_page):
3655 * libglabels/template.h:
3656 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3657 (xml_create_label_node):
3658 * pixmaps/ex-rect-size.png:
3659 * src/print.c: (clip_to_outline), (clip_punchouts):
3660 * src/template-designer.c: (construct_rect_size_page),
3661 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3663 * src/template-designer.glade:
3664 * src/xml-label-191.c: (xml191_parse_label):
3665 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3666 properties for rectangular labels. Templates remain backwards compatible,
3667 but this breaks the libglabels API (I don't know of anyone outside of
3668 glabels using libglabels at this time -- what can I say, the program is
3669 is still "unstable"). This addresses the suggestion in Feature Request
3672 2004-07-05 Jim Evins <evins@snaught.com>
3673 * src/print.c: (print_crop_marks), (draw_outline):
3674 Changed crop marks and label outlines to black, instead of 25% gray.
3675 This addresses debian Bug #257460.
3677 2004-07-05 Jim Evins <evins@snaught.com>
3679 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3680 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3681 Preserve "is_default" of fill and line color_combos when creating from
3684 2004-07-02 Jim Evins <evins@snaught.com>
3687 Created man page. Based on page submitted by Matthew J. Lockner, however
3688 it has been severely edited.
3690 * data/avery-other-templates.xml
3691 * data/misc-other-templates.xml:
3692 Started new files for predefined templates with non-standard sheet sizes.
3693 These have been initially populated with the Avery 06141 and
3694 OfficeMax #86112, both provided by Matthew J. Lockner.
3697 Install above manpage and template files.
3700 Make sure we install man pages.
3702 * src/glabels-batch.c:
3703 Changed short form of help option to '-?' to be consistent with glabels.
3706 Added acknowledgement for above labels.
3708 2004-07-02 Jim Evins <evins@snaught.com>
3710 * src/glabels.c: (main), (save_session_cb):
3711 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3713 - save_session_cb() now returns gboolean.
3714 - Minor formatting changes.
3718 - Now include file.h to provide missing prototype.
3719 - gl_window_get_type() now returns GType, not guint. I believe this may
3720 ultimately be cause of the segfault reported in Bug #982287, since
3721 GType is actually a gulong, which may not be compatible on other
3722 architectures (64bit) -- I cannot personally test this at this time.
3723 I was sloppy in several other xxx_get_type() functions which also
3724 returned guint -- see next group of files:
3726 * src/window.c: (gl_window_get_type):
3727 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3728 * src/canvas-hacktext.h:
3729 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3730 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3731 (gl_hig_hbox_get_type):
3733 * src/label-barcode.c: (gl_label_barcode_get_type):
3734 * src/label-barcode.h:
3735 * src/label-box.c: (gl_label_box_get_type):
3737 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3738 * src/label-ellipse.h:
3739 * src/label-image.c: (gl_label_image_get_type):
3740 * src/label-image.h:
3741 * src/label-line.c: (gl_label_line_get_type):
3743 * src/label-object.c: (gl_label_object_get_type):
3744 * src/label-object.h:
3745 * src/label-text.c: (gl_label_text_get_type):
3747 * src/label.c: (gl_label_get_type):
3749 * src/merge-properties-dialog.c:
3750 (gl_merge_properties_dialog_get_type):
3751 * src/merge-properties-dialog.h:
3752 * src/merge-text.c: (gl_merge_text_get_type):
3754 * src/merge.c: (gl_merge_get_type):
3756 * src/object-editor.c: (gl_object_editor_get_type):
3757 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3758 * src/prefs-dialog.h:
3759 * src/prefs-model.c: (gl_prefs_model_get_type):
3760 * src/prefs-model.h:
3761 * src/print-dialog.c: (gl_print_dialog_get_type):
3762 * src/print-dialog.h:
3763 * src/template-designer.c: (gl_template_designer_get_type):
3764 * src/template-designer.h:
3765 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3766 * src/ui-property-bar.h:
3767 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3769 * src/view-barcode.c: (gl_view_barcode_get_type):
3770 * src/view-barcode.h:
3771 * src/view-box.c: (gl_view_box_get_type):
3773 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3774 * src/view-ellipse.h:
3775 * src/view-highlight.c: (gl_view_highlight_get_type):
3776 * src/view-highlight.h:
3777 * src/view-image.c: (gl_view_image_get_type):
3779 * src/view-line.c: (gl_view_line_get_type):
3781 * src/view-object.c: (gl_view_object_get_type):
3782 * src/view-object.h:
3783 * src/view-text.c: (gl_view_text_get_type):
3785 * src/view.c: (gl_view_get_type):
3787 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3788 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3789 * src/wdgt-image-select.h:
3790 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3791 * src/wdgt-media-select.h:
3792 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3793 * src/wdgt-mini-preview.h:
3794 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3795 * src/wdgt-print-copies.h:
3796 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3797 * src/wdgt-print-merge.h:
3798 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3799 * src/wdgt-rotate-label.h:
3800 - Made sure all xxx_get_type functions returned GType, not guint. This
3801 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3802 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3803 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3804 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3805 window.[ch] details above for more info.
3806 - Reconciled various coding style differences in all xxx_get_type()
3808 * All prototypes include G_GNUC_CONST.
3809 * All prototypes specify the return value as GType, not GtkType
3811 * Info structures are all declared as "static const."
3812 * Generalized the names of type and info variables.
3813 * Miscelaneous formatting.
3815 2004-06-08 Jim Evins <evins@snaught.com>
3821 Don't touch compression of original file -- still defaults to 9 for
3822 new files. Original patch provided by Javier Donaire Segarra
3823 (#912252 in patch tracker).
3825 2004-05-05 Jim Evins <evins@snaught.com>
3827 * data/glabels-2.0.dtd:
3828 Broke DTD previously when adding new barcode types that contain a
3829 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3830 to avoid the problem.
3831 * data/avery-iso-templates.xml:
3832 * data/zweckform-iso-templates.xml:
3834 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3835 provided by Frank Altpeter.
3836 * libglabels/xml-template.c: (xml_create_label_node):
3837 Reordered markup and layout sub-nodes so that resulting templates will
3838 validate against DTD.
3840 2004-03-13 Jim Evins <evins@snaught.com>
3842 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3843 Changed spin callback signals from "value-changed" back to "changed."
3844 This was accidentally introduced in a previous revision, and can cause
3845 size changes just by selecting the size tab.
3847 2004-03-06 Jim Evins <evins@snaught.com>
3849 * src/view.c: (draw_grid_layer):
3850 For round labels (round and cd) adjust grid so that it lines up with
3851 center of label. Also, no longer draw box around label in the grid layer,
3852 it is hidden by he fg layer anyway. Feature suggested by
3853 nemolivier@free.fr. Although the grid is aligned with the center of the
3854 label, the coordinate system is still relative to the upper left corner
3855 of the rectangle containing the label.
3857 2004-02-25 Jim Evins <evins@snaught.com>
3860 Changed version to 2.0pre1cvs
3862 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3863 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3864 instead of doc->name fields when errors encountered.
3866 2004-02-21 Jim Evins <evins@snaught.com>
3868 * data/avery-iso-templates.xml:
3869 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3872 Added libglabels library and include file to installed files.
3875 Final prep for 1.93.3.
3877 2004-02-20 Jim Evins <evins@snaught.com>
3879 * src/glabels-batch.c: (main):
3880 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3881 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3883 2004-02-16 Jim Evins <evins@snaught.com>
3886 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3889 Added HAVE_FILE_CHOOSER to INCLUDES.
3891 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3892 (gl_file_save_as), (save_as_response):
3893 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3895 2004-02-16 Jim Evins <evins@snaught.com>
3897 * src/xml-label-04.c: (xml04_parse_image_props):
3898 * src/xml-label-191.c: (xml191_parse_image_props):
3899 * src/xml-label.c: (xml_parse_object_image):
3900 Delay setting image size until after image has been applied to new
3903 2004-02-15 Jim Evins <evins@snaught.com>
3905 * src/label-barcode.c: (gl_label_barcode_set_data),
3906 (gl_label_barcode_set_props):
3907 Don't emit "changed" signal, if no change actually made for these
3908 methods. Reduces number of unnecessary redraws of barcodes.
3910 * src/label-object.h:
3911 * src/label-object.c: (gl_label_object_set_position),
3912 (gl_label_object_set_position_relative), (set_size),
3913 (gl_label_object_set_size),
3914 (gl_label_object_set_size_honor_aspect):
3915 Don't emit "changed" signal, if no change actually made for these
3918 2004-02-15 Jim Evins <evins@snaught.com>
3920 * data/glabels-2.0.dtd:
3921 Added specific subtypes for various barcode types.
3924 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3925 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3926 (gl_barcode_can_text), (gl_barcode_text_optional),
3927 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3928 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3929 Changed API to use a string id, rather than a fixed enumeration. Id and
3930 name are separate strings. Added entries to backend table for specific
3931 subtypes for various barcode types.
3934 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3936 Modified to conform to above API. Now more stringent with data length
3937 for various subtypes.
3939 * src/bc-gnubarcode.h:
3940 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3941 (is_length_valid), (is_length1_valid), (is_length2_valid):
3942 Modified to conform to above API. Now more stringent with data length
3943 for various subtypes.
3945 * src/label-barcode.h:
3946 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3947 (gl_label_barcode_get_props), (get_size):
3948 Modified to use above API for storing barcode type.
3950 * src/object-editor.h:
3951 * src/object-editor-bc-page.c: (style_changed_cb),
3952 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3953 Modified to use above API for storing barcode type.
3955 * src/object-editor-size-page.c:
3956 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3957 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3958 Added debug markers.
3960 * src/object-editor.glade:
3961 Made barcode style combo's text entry non-editable.
3963 * src/print.c: (draw_barcode_object):
3964 Modified to use above API for barcode type.
3966 * src/view-barcode.c: (update_object_from_editor_cb),
3967 (update_editor_from_object_cb),
3968 (gl_view_barcode_create_event_handler), (draw_barcode):
3969 Modified to use above API for barcode type.
3971 * src/xml-label-04.c: (xml04_parse_barcode_props):
3972 * src/xml-label-191.c: (xml191_parse_barcode_props):
3973 * src/xml-label.c: (xml_parse_object_barcode),
3974 (xml_create_object_barcode):
3975 Modified to use above API for barcode type.
3977 2004-02-07 Jim Evins <evins@snaught.com>
3979 * src/stock-pixmaps/Makefile.am:
3980 * src/stock-pixmaps/stock_hchain_24.png:
3981 * src/stock-pixmaps/stock_hchain_broken_24.png:
3982 * src/stock-pixmaps/stock_vchain_24.png:
3983 * src/stock-pixmaps/stock_vchain_broken_24.png:
3984 Added chain pixmaps borrowed from the gimp's default theme.
3987 * src/stock.c: (gl_stock_init), (add_button_icon):
3988 Added above pixmaps to stock icon sets. Created add_button_icon() to
3989 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3991 * src/wdgt-chain-button.h
3992 * src/wdgt-chain-button.c
3995 Added this Modified version of gimpchainbutton widget, borrowed from
3999 Added acknowledgements of the above borrowing from the gimp.
4001 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4003 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4004 * src/object-editor.glade:
4005 Replaced the keep aspect ratio check box with the above chain-button
4008 * src/text-node.c: (gl_text_node_equal):
4010 Added function gl_text_node_equal() to compare text_nodes.
4012 * src/label-image.c: (gl_label_image_set_filename):
4013 Replaced incomplete text_node comparison code with invocation of
4014 gl_text_node_equal. This fixed the problem of not being able to
4015 resize an image using the object_editor if the aspect ratio is not
4018 2004-02-04 Jim Evins <evins@snaught.com>
4020 * src/object-editor-image-page.c:
4021 (gl_object_editor_prepare_image_page):
4022 Track "changed" signal of pixmap entry's GtkEntry rather than its
4023 "activate" signal -- this catches all changes to the entry rather than
4024 just changes resulting from a browse, so one can easily pull previous
4025 entries from the history. (This change is marked below on 2004-02-03,
4026 but somehow never got checked in.)
4028 * src/view-highlight.c: (sl_resize_event_handler),
4029 (sr_resize_event_handler), (st_resize_event_handler),
4030 (sb_resize_event_handler):
4031 Side resize handles will now confirm the actual resize that the object
4032 accepted before adjusting position parameters. Previously some interesting
4033 things happened when resizing a barcode to its minimum size.
4035 2004-02-03 Jim Evins <evins@snaught.com>
4037 * src/object-editor-image-page.c:
4038 (gl_object_editor_prepare_image_page):
4039 Track "changed" signal of pixmap entry's GtkEntry rather than its
4040 "activate" signal -- this catches all changes to the entry rather than
4041 just changes resulting from a browse, so one can easily pull previous
4042 entries from the history.
4044 * src/view-highlight.c: (tl_resize_event_handler),
4045 (tr_resize_event_handler), (bl_resize_event_handler),
4046 (br_resize_event_handler):
4047 Allow control key to be dropped while dragging a corner resize handle
4048 without losing the aspect ratio lock.
4050 2004-02-02 Jim Evins <evins@snaught.com>
4052 * src/label-image.c: (gl_label_image_set_filename):
4053 When setting a new filename adjust size such that the aspect ratio of
4054 the image is preserved using the current size as a bounding box.
4056 * src/view-image.c: (update_object_from_editor_cb):
4057 When updating object from editor, feed back possible size changes to
4058 editor as a result of a possible change in image.
4060 * src/object-editor-size-page.c: (size_reset_cb):
4061 Fixed typo when blocking spin handlers. If the base size is larger than
4062 the max size, treat max size as a bounding box while keeping aspect
4066 2004-02-02 Jim Evins <evins@snaught.com>
4068 * src/label-object.h:
4069 * src/label-object.c: (gl_label_object_set_size),
4070 (gl_label_object_set_size_honor_aspect):
4071 Added gl_label_object_set_size_honor_aspect() which will maintain the
4072 current aspect ratio by modifying the supplied w or h apropriately.
4074 * src/view-highlight.c: (tl_resize_event_handler),
4075 (tr_resize_event_handler), (bl_resize_event_handler),
4076 (br_resize_event_handler):
4077 Corner handles will now maintain the current aspect ratio if the
4078 control key is pressed while resizing. This addresses feature
4082 2004-01-31 Jim Evins <evins@snaught.com>
4085 * data/avery-us-templates.xml:
4086 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4088 * libglabels/template.c: (read_template_files_from_dir):
4089 Corrected problem with testing for extensions.
4091 * src/object-editor.glade:
4092 Corrected grouping of radio buttons in barcode data page.
4094 * src/print.c: (draw_barcode_object):
4095 * src/view-barcode.c: (draw_barcode):
4096 Corrected problem with calculation of y_offset for locating characters.
4098 2004-01-24 Jim Evins <evins@snaught.com>
4101 * data/avery-us-templates.xml:
4102 Added Avery 5824, submitted by Fred Bacon.
4104 2004-01-20 Jim Evins <evins@snaught.com>
4106 Catching up on a couple of backlogged user template submissions.
4108 * data/avery-iso-templates.xml:
4109 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4110 Suggested by Linas Jakucionis.
4112 * data/zweckform-iso-templates.xml:
4113 Added Zweckform 4760, submitted by Thomas Vill.
4116 Updated to reflect above submissions.
4118 2004-01-06 Jim Evins <evins@snaught.com>
4120 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4121 xml.[ch] into a separate library called libglabels, to facilitate third
4122 party use of glabels template files. This was suggested by Wayne Schuller.
4123 Once split-out, some modifications to the structures and functions to
4124 make a cleaner more useful API, hopefully. Rather extensive changes have
4125 propogated to other modules.
4133 * src/xml-template.h:
4134 * src/xml-template.c:
4137 These files have been moved to libglabels/. API cleanup performed.
4139 * libglabels/libglabels.h:
4140 * libglabels/libglabels-private.h:
4141 * libglabels/Makefile.am:
4142 These files have been added to finish out libglabels.
4149 Modified to reflect new sets of files in src/ and libglabels/.
4151 * COPYING.LIBGLABELS:
4153 Added copy of the LGPL for libglabels, and a copy the GFDL for
4156 * src/glabels-batch.c:
4158 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4159 (gl_label_get_size):
4161 * src/prefs-model.c: (gl_prefs_model_load_settings):
4162 * src/print-dialog.c:
4163 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4164 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4165 (print_crop_marks), (print_label), (draw_outline),
4166 (clip_to_outline), (clip_punchouts):
4167 * src/template-designer.c: (construct_pg_size_page),
4168 (pg_size_page_changed_cb), (layout_page_changed_cb),
4169 (print_test_cb), (build_template):
4170 * src/util.c: (gl_util_fraction):
4172 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4173 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4174 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4175 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4176 (draw_markup_margin_round), (draw_markup_margin_cd),
4177 (draw_markup_margin_cd_bc), (draw_markup_line),
4178 (draw_markup_circle), (gl_view_copy):
4179 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4180 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4181 (get_label_size_desc):
4182 * src/wdgt-mini-preview.c:
4183 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4185 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4186 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4187 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4188 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4189 * src/wdgt-rotate-label.h:
4190 * src/xml-label-04.c: (xml04_parse_media_description):
4191 * src/xml-label-191.c: (gl_xml_label_191_parse),
4192 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4193 (xml191_parse_markup), (xml191_parse_alias):
4194 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4196 Various changes to accomodate new libglabels API.
4198 2004-01-03 Jim Evins <evins@snaught.com>
4203 2004-01-03 Jim Evins <evins@snaught.com>
4206 Added acknowledgement of contributions by Wayne Schuller.
4208 * src/commands.c: (gl_cmd_file_print):
4209 Create extra reference to print dialog, so that it can be properly re-used.
4211 * src/mygal/mygal-combo-box.h:
4212 * src/mygal/mygal-combo-box.c:
4213 (mygal_combo_box_popup_hide_unconditional),
4214 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4215 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4216 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4217 (mygal_combo_box_set_tearable):
4218 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4219 complete the rename of this widget to prevent namespace collisions
4222 * src/prefs-dialog.glade:
4223 Fixed alignment of Fill/Color widgets.
4225 2004-01-03 Jim Evins <evins@snaught.com>
4227 * data/avery-iso-templates.xml:
4228 Added user submitted templates.
4229 Avery 8435A & 8435B, submitted by Ludger Solbach.
4231 * doc/C/glabels.xml:
4232 Added minimal documentation, noting the new template designer.
4234 2004-01-03 Jim Evins <evins@snaught.com>
4236 * pixmaps/ex-rect-size.png:
4237 * pixmaps/ex-round-size.png:
4238 * pixmaps/ex-cd-size.png:
4239 * pixmaps/Makefile.am:
4240 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4241 files to be used as illustrations/examples in the template-designer.
4243 * src/template-designer.c: (construct_rect_size_page),
4244 (construct_round_size_page), (construct_cd_size_page),
4245 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4246 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4247 (layout_page_prepare_cb), (build_template):
4248 * src/template-designer.glade:
4249 Added illustrations for rectangle, round, and cd label size pages.
4250 Added margin spinboxes to these pages, and now add a margin markup
4251 to the constructed template. Added realistic default values for
4252 some of the size spinboxes. Cleaned up the code for setting spinbox
4253 ranges on the layouts page.
4255 2004-01-02 Jim Evins <evins@snaught.com>
4257 * src/object-editor-size-page.c: (h_spin_cb):
4258 Fixed cut-n-paste error in h_spin_cb that loaded h from
4259 the wrong spinbutton.
4261 * src/object-editor.h:
4262 * src/object-editor.c: (gl_object_editor_class_init),
4263 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4264 * src/object-editor-private.h:
4265 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4267 Added "size_changed" signal.
4269 * src/view-text.c: (construct_properties_editor),
4270 (update_object_from_editor_cb),
4271 (update_object_from_editor_size_cb):
4272 Track size changes from object editor separately from other
4273 properties. This is so the default size (0,0) of a text
4274 object is not modified unintentionally.
4276 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4278 Added feature: line spacing - allows you to comfortably space a text box to
4279 fit a label perfectly.
4281 * data/glabels-2.0.dtd:
4282 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4283 (gl_label_object_get_text_alignment),
4284 (gl_label_object_get_text_line_spacing):
4285 * src/label-object.h:
4286 * src/label-text.c: (gl_label_text_class_init),
4287 (gl_label_text_instance_init), (copy), (get_size),
4288 (set_text_line_spacing), (get_text_alignment),
4289 (get_text_line_spacing):
4290 * src/object-editor-private.h:
4291 * src/object-editor-text-page.c:
4292 (gl_object_editor_prepare_text_page),
4293 (gl_object_editor_set_text_line_spacing),
4294 (gl_object_editor_get_text_line_spacing):
4295 * src/object-editor.glade:
4296 * src/object-editor.h:
4297 * src/prefs-dialog.c: (construct_object_page),
4298 (update_object_page_from_prefs), (update_prefs_from_object_page):
4299 * src/prefs-dialog.glade:
4300 * src/prefs-model.c: (gl_prefs_model_save_settings),
4301 (gl_prefs_model_load_settings), (get_float):
4302 * src/prefs-model.h:
4303 * src/print.c: (draw_text_object):
4305 * src/view-text.c: (update_object_from_editor_cb),
4306 (update_editor_from_object_cb),
4307 (gl_view_text_create_event_handler), (draw_hacktext):
4308 * src/view.c: (gl_view_construct),
4309 (gl_view_set_selection_text_line_spacing),
4310 (gl_view_set_default_text_line_spacing),
4311 (gl_view_get_default_text_line_spacing):
4313 * src/xml-label.c: (xml_parse_toplevel_span),
4314 (xml_create_toplevel_span):
4316 2003-12-30 Jim Evins <evins@snaught.com>
4318 * src/template-designer.c:
4319 * src/template-designer.h:
4320 * src/template-designer.glade:
4321 New template designer assistant.
4325 Added entries for src/template-designer.* files.
4327 * pixmaps/ex-1layout.png
4328 * pixmaps/ex-2layouts.png
4329 * pixmaps/Makefile.am:
4330 Added the new image files ex-*.png used as illustrations in the
4331 template designer assistant.
4333 * src/print-dialog.h:
4334 * src/print-dialog.c: (gl_print_dialog_finalize),
4335 (gl_print_dialog_new), (gl_print_dialog_construct),
4336 (gl_print_dialog_force_outline_flag):
4337 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4338 to support printing from the template designer assistant which does not
4339 have a full-fledged view. Nothing else from the view object was being
4340 used by the dialog anyway.
4342 Added the gl_print_dialog_force_outline_flag() method, for better
4343 integration with the template designer assistant.
4347 * src/commands.c: (gl_cmd_file_template_designer),
4348 (gl_cmd_file_print):
4349 Modified print command to provide label instead of view to dialog.
4350 Added the gl_cmd_file_template_designer() command to invoke the
4351 template designer assistant.
4354 * src/glabels-ui.xml:
4355 Added support for template designer assistant.
4357 * src/wdgt-mini-preview.h:
4358 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4359 (gl_wdgt_mini_preview_set_bg_color):
4360 Preview is now centered in canvas. Added
4361 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4362 assistant to match the background color with its own.
4364 * src/print.c: (clip_to_outline):
4365 Fixed really stupid bug when adding waste to clip region of rectangular
4366 labels/cards. Each side of the clip region needs to be extended by
4367 twice the waste margin, as well as negatively offset by the waste
4370 2003-12-28 Jim Evins <evins@snaught.com>
4372 * src/prefs-dialog.c: (update_object_page_from_prefs):
4373 Block intermediary function align_toggle_cb() instead of
4374 update_prefs_from_object_page() for the three alignment
4377 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4379 * src/file.c: (gl_file_new), (gl_file_properties):
4380 Swap button order and set default for higificatory pleasure.
4382 2003-12-27 Jim Evins <evins@snaught.com>
4384 * barcode-0.98/Makefile.am:
4385 One last time: removed doc/Makefile and po/Makefile.in.in from
4388 2003-12-27 Jim Evins <evins@snaught.com>
4390 * barcode-0.98/Makefile.am:
4391 Removed config.stat entry from EXTRA_DIST files.
4393 * barcode-0.98/Makefile.in:
4396 2003-12-27 Jim Evins <evins@snaught.com>
4399 Updated to work with latest gnome-common package from CVS.
4400 Removed recursive configuration of barcode-0.98.
4407 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4409 * barcode-0.98/Makefile.in:
4410 * barcode-0.98/configure.in:
4411 * barcode-0.98/Makefile.am:
4412 * barcode-0.98/README.glabels:
4413 Modified to ignore the barcode package's build system, and build
4414 as a part of glabels.
4415 Renamed Makefile.in to Makefile.in.dist.
4416 Renamed configure.in to configure.in.dist.
4417 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4420 * src/mygal/Makefile.am:
4421 * src/recent-files/Makefile.am:
4422 In order to build against the GNOME 2.5 platform,
4423 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4425 * src/mygal/Makefile.am:
4426 * src/mygal/mygal-combo-box.c:
4427 * src/mygal/mygal-combo-box.h:
4428 * src/mygal/widget-color-combo.c:
4429 * src/mygal/widget-color-combo.h:
4431 In order to build against the GNOME 2.5 platform,
4432 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4433 collisions with the real gtk_combo_box widget, now a part of gtk.
4435 2003-12-26 Jim Evins <evins@snaught.com>
4441 Moved local versions of get_home_data_dir() in paper.c and
4442 template.c to util package. Cleaned up formatting in
4446 In gl_template_register() save a copy of the template in
4447 ~/.glabels if the template is not known. Still need to
4448 handle duplicate filename case and duplicate name but
4449 different template case.
4453 Moved local definition of NAME_SPACE macro from xml-label.c
4456 * src/xml-template.c:
4457 * src/xml-template.h:
4458 Added function gl_xml_template_write_template_to_file(), used
4459 in gl_template_register().