1 2009-03-23 Jim Evins <evins@snaught.com>
3 * src/glabels-batch.c: (main):
4 * src/glabels.c: (main):
5 Tidy up help option output.
7 2009-02-28 Jim Evins <evins@snaught.com>
12 Deleted base64 module.
13 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
14 Use base64 encode/decode from glib.
16 2009-02-22 Jim Evins <evins@snaught.com>
18 * src/merge-properties-dialog.h:
19 * src/new-label-dialog.h:
20 * src/object-editor.h:
23 * src/template-designer.h:
24 Corrected cut&paste errors.
26 2009-02-21 JimEvins <evins@snaught.com>
28 * src/prefs-model.c: (gl_prefs_model_save_settings),
29 (gl_prefs_model_load_settings):
32 * src/ui-property-bar.c:
33 * src/ui.c: (view_ui_item_toggled_cb),
34 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
35 Removed tooltip toggling capability, which wasn't working
38 2009-02-21 JimEvins <evins@snaught.com>
42 * data/builder/object-editor.glade:
43 * data/builder/prefs-dialog.glade:
44 * data/builder/property-bar.glade:
45 * data/builder/template-designer.glade:
47 * src/color-combo-color-menu-item.c:
48 * src/color-combo-color-menu-item.h:
49 * src/color-combo-menu.h:
50 * src/glabels-batch.c: (main):
51 * src/glabels.c: (main):
52 * src/merge-properties-dialog.h:
53 * src/new-label-dialog.h:
54 * src/object-editor-lsize-page.c:
55 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
56 * src/object-editor.h:
59 * src/template-designer.h:
60 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
61 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
62 * src/ui-property-bar.c:
63 * src/ui-property-bar.h:
64 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
65 (selection_changed_cb):
68 * src/wdgt-media-select.h:
69 * src/wdgt-merge-menu.h:
70 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
71 * src/wdgt-mini-preview.h:
72 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
73 * src/wdgt-print-copies.h:
74 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
75 * src/wdgt-print-merge.h:
76 * src/wdgt-rotate-label.h:
78 Removed final dependencies on libgnome and libgnomeui.
79 Removed all currently deprecated symbols as of GTK 2.14.
81 2009-01-07 Jim Evins <evins@snaught.com>
83 * src/critical-error-handler.c: (critical_error_handler):
84 * src/ui-commands.c: (gl_ui_cmd_help_contents):
85 * src/warning-handler.c: (warning_handler):
86 * src/view.c: (selection_received_cb):
87 Compile without warning with additional CFLAGS of
90 2009-01-02 Jim Evins <evins@snaught.com>
92 * COPYING.README_FIRST:
95 2008-12-27 Jim Evins <evins@snaught.com>
97 * data/templates/avery-iso-templates.xml:
98 * data/templates/avery-other-templates.xml:
99 * data/templates/avery-us-templates.xml:
100 * data/templates/brother-other-templates.xml:
101 * data/templates/misc-iso-templates.xml:
102 * data/templates/misc-other-templates.xml:
103 * data/templates/zweckform-iso-templates.xml:
104 Make sure all descriptions are marked as translatable.
106 2008-12-27 Jim Evins <evins@snaught.com>
109 Updated german translation (Mario Blättermann)
111 Updated credits to reflect above translation.
112 * data/builder/object-editor.glade:
113 * data/builder/prefs-dialog.glade:
114 * data/builder/template-designer.glade:
115 Removed "translatable" attribute from whitespace strings,
116 which are used only to help layout.
118 2008-12-21 Jim Evins <evins@snaught.com>
120 * data/templates/avery-us-templates.xml:
121 * data/templates/misc-iso-templates.xml:
122 A couple of recent template submissions.
124 Acknowledgements for above templates.
126 2008-12-21 Jim Evins <evins@snaught.com>
128 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
129 Don't check for handles on aggregate selections.
131 2008-12-20 Jim Evins <evins@snaught.com>
134 Updated prerequisite library versions required.
136 2008-12-18 Jim Evins <evins@snaught.com>
138 * src/view.c: (selection_received_cb):
139 Fixed paste bug that caused a duplicate phantom view_object to be created for
140 each new label_object. This is because the view now (as of r673) the view
141 monitiors the label for new objects and creates view_objects automatically.
143 2008-12-14 Jim Evins <evins@snaught.com>
145 * src/ui.c: (gl_ui_new):
146 Bug #2395628. Fixed i18n for application shell.
148 Bug #2395628. Reconciled POTFILES.in with current files.
150 2008-12-14 Jim Evins <evins@snaught.com>
153 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
155 2008-11-15 Jim Evins <evins@snaught.com>
157 * libglabels/db.c: (lgl_db_register_template):
158 * libglabels/xml-template.c:
159 (lgl_xml_template_parse_template_node):
160 * src/glabels-batch.c:
161 * src/view-text.c: (gl_view_text_create_button_press_event):
162 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
164 2008-11-09 Jim Evins <evins@snaught.com>
166 * data/templates/misc-iso-templates.xml:
167 Another user submitted template.
169 2008-10-27 Jim Evins <evins@snaught.com>
171 * data/templates/avery-us-templates.xml:
172 * data/templates/misc-iso-templates.xml:
173 * data/templates/zweckform-iso-templates.xml:
174 Caught up on user submitted templates.
176 Acknowledgements for above templates.
178 2008-10-23 Jim Evins <evins@snaught.com>
180 * src/label-text.c: (set_font_family):
181 * src/object-editor-text-page.c:
182 (gl_object_editor_prepare_text_page),
183 (gl_object_editor_set_font_family):
184 * src/prefs-dialog.c: (construct_object_page),
185 (update_object_page_from_prefs):
186 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
187 (reset_to_default_properties):
188 * src/util.c: (gl_util_get_font_family_list):
190 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
191 everytime the list is requested.
192 * src/object-editor-text-page.c:
193 (gl_object_editor_set_font_family):
194 Don't change font-family if it hasn't actually changed.
196 2008-10-19 Jim Evins <evins@snaught.com>
198 * data/builder/object-editor.glade:
199 Some tweaking of builder/glade widgets.
201 2008-10-18 Jim Evins <evins@snaught.com>
203 Migrated all use of libglade to GtkBuilder.
205 * data/glade/Makefile.am:
206 * data/glade/merge-properties-dialog.glade:
207 * data/glade/new-label-dialog.glade:
208 * data/glade/object-editor.glade:
209 * data/glade/prefs-dialog.glade:
210 * data/glade/print-custom-widget.glade:
211 * data/glade/property-bar.glade:
212 * data/glade/template-designer.glade:
213 * data/glade/wdgt-media-select.glade:
214 Removed data/glade directory.
215 * data/builder/Makefile.am:
216 * data/builder/merge-properties-dialog.glade:
217 * data/builder/new-label-dialog.glade:
218 * data/builder/object-editor.glade:
219 * data/builder/prefs-dialog.glade:
220 * data/builder/print-custom-widget.glade:
221 * data/builder/property-bar.glade:
222 * data/builder/template-designer.glade:
223 * data/builder/wdgt-media-select.glade:
224 Added data/builder directory.
228 Change glade to builder.
229 * src/merge-properties-dialog.c:
230 (gl_merge_properties_dialog_finalize),
231 (gl_merge_properties_dialog_construct):
232 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
233 (gl_new_label_dialog_construct):
234 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
235 * src/object-editor-data-page.c:
236 (gl_object_editor_prepare_data_page):
237 * src/object-editor-edit-page.c:
238 (gl_object_editor_prepare_edit_page):
239 * src/object-editor-fill-page.c:
240 (gl_object_editor_prepare_fill_page):
241 * src/object-editor-image-page.c:
242 (gl_object_editor_prepare_image_page):
243 * src/object-editor-line-page.c:
244 (gl_object_editor_prepare_line_page):
245 * src/object-editor-lsize-page.c:
246 (gl_object_editor_prepare_lsize_page):
247 * src/object-editor-position-page.c:
248 (gl_object_editor_prepare_position_page):
249 * src/object-editor-private.h:
250 * src/object-editor-shadow-page.c:
251 (gl_object_editor_prepare_shadow_page):
252 * src/object-editor-size-page.c:
253 (gl_object_editor_prepare_size_page):
254 * src/object-editor-text-page.c:
255 (gl_object_editor_prepare_text_page):
256 * src/object-editor.c: (gl_object_editor_init):
257 * src/prefs-dialog.c: (gl_prefs_dialog_init),
258 (gl_prefs_dialog_construct), (construct_locale_page),
259 (construct_object_page):
260 * src/print-op.c: (gl_print_op_finalize),
261 (create_custom_widget_cb):
262 * src/template-designer.c: (gl_template_designer_class_init),
263 (gl_template_designer_finalize), (gl_template_designer_construct),
264 (construct_start_page), (construct_name_page),
265 (construct_pg_size_page), (construct_shape_page),
266 (construct_rect_size_page), (construct_round_size_page),
267 (construct_cd_size_page), (construct_nlayouts_page),
268 (construct_layout_page), (construct_finish_page):
269 * src/template-designer.h:
270 * src/ui-property-bar.c: (gl_ui_property_bar_init),
271 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
272 (gl_ui_property_bar_construct), (reset_to_default_properties),
273 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
274 (update_text_properties), (update_fill_color), (update_line_color),
275 (update_line_width), (selection_changed_cb),
276 (font_family_changed_cb), (font_size_changed_cb),
277 (text_color_changed_cb), (fill_color_changed_cb),
278 (line_color_changed_cb), (line_width_changed_cb),
279 (font_bold_toggled_cb), (font_italic_toggled_cb),
280 (text_align_toggled_cb), (set_doc_items_sensitive),
281 (set_text_items_sensitive), (set_fill_items_sensitive),
282 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
283 * src/ui-property-bar.h:
284 * src/util.c: (gl_util_get_builder_widgets):
286 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
287 (gl_wdgt_media_select_construct):
288 Migration of glade to builder.
290 New macros for color combo initialization.
292 Added idea for internal merge database.
293 * docs/libglabels/libglabels-undocumented.txt:
294 * docs/libglabels/tmpl/paper.sgml:
298 2008-10-12 Jim Evins <evins@snaught.com>
300 * src/mygal/Makefile.am:
301 * src/mygal/color-group.c:
302 * src/mygal/color-group.h:
303 * src/mygal/color-palette.c:
304 * src/mygal/color-palette.h:
305 * src/mygal/e-colors.c:
306 * src/mygal/e-colors.h:
307 * src/mygal/e-marshal.list:
308 * src/mygal/e-util.h:
309 * src/mygal/mygal-combo-box.c:
310 * src/mygal/mygal-combo-box.h:
311 * src/mygal/widget-color-combo.c:
312 * src/mygal/widget-color-combo.h:
318 * src/color-combo-color-menu-item.c:
319 * src/color-combo-color-menu-item.h:
320 * src/color-combo-history.c:
321 * src/color-combo-history.h:
322 * src/color-combo-menu.c:
323 * src/color-combo-menu.h:
328 Created new glColorCombo widget.
329 * src/object-editor-bc-page.c:
330 * src/object-editor-edit-page.c:
331 * src/object-editor-fill-page.c:
332 * src/object-editor-line-page.c:
333 * src/object-editor-shadow-page.c:
334 * src/object-editor-text-page.c:
335 * src/object-editor.c:
336 * src/prefs-dialog.c:
337 * src/ui-property-bar.c:
338 Replaced use of mygal color combo with new glColorCombo widget.
340 2008-08-29 Jim Evins <evins@snaught.com>
342 * src/file.c: (gl_file_open), (gl_file_save_as):
343 Bug #2069668. Corrected button order in Open and "Save as"
346 2008-08-17 Jim Evins <evins@snaught.com>
348 * data/dtd/glabels-2.2.dtd:
349 * data/templates/paper-sizes.xml:
350 * libglabels/db.c: (lgl_db_init):
351 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
352 * libglabels/paper.h:
353 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
354 * src/print-op.c: (set_page_size):
355 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
356 size specification) to the libglabels paper database to allow the page size to be
357 communicated to GtkPrintOp un-ambiguously.
359 2008-07-25 Jim Evins <evins@snaught.com>
361 * src/object-editor-size-page.c: (size_reset_cb),
362 (gl_object_editor_set_max_size):
363 Bug #1993550. Set size limits based on longest side of label.
365 2008-07-19 Jim Evins <evins@snaught.com>
368 * src/mygal/Makefile.am:
369 Make sure libtool handles library dependencies for mygal
372 2008-05-21 Jim Evins <evins@snaught.com>
374 * src/glabels-batch.c: (main):
375 Bug #1968653. Initialize prefs subsystem.
377 2008-05-09 Jim Evins <evins@snaught.com>
379 * data/glade/object-editor.glade:
380 Bug #1959135. A couple of radio buttons somehow became
383 2008-04-07 Jim Evins <evins@snaught.com>
385 * src/wdgt-rotate-label.h:
386 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
387 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
388 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
389 (gl_wdgt_rotate_label_set_template_name):
390 Modified wdgt-rotate-label to better indicate the rotation choices.
391 * data/glade/Makefile.am:
392 * data/glade/wdgt-rotate-label.glade:
393 Deleted wdgt-rotate-label.glade.
395 2008-04-04 Jim Evins <evins@snaught.com>
397 * data/templates/brother-other-templates.xml:
398 Added categories to existing templates.
399 * data/templates/misc-other-templates.xml:
400 Moved dymo templates to their own file.
401 * data/templates/Makefile.am:
402 * data/templates/dymo-other-templates.xml:
403 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
405 Acknowledgement for above templates.
407 2008-03-24 Jim Evins <evins@snaught.com>
409 * src/xml-label.c: (xml_doc_to_label):
410 Bug #1872584. Don't refuse to parse label file if namespace is
411 unrecognized -- it may be from a newer version of glabels.
413 2008-03-15 Jim Evins <evins@snaught.com>
415 * data/templates/Makefile.am:
416 * data/templates/brother-other-templates.xml:
417 Added brother templates.
418 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
419 (gl_cairo_markup_margin_cd_path):
420 * src/view.c: (draw_markup_layer):
421 Fixed markup drawing errors when label is rotated.
423 2008-03-03 Jim Evins <evins@snaught.com>
427 Added korean translation provided by xein@naver.com.
429 2008-02-21 Jim Evins <evins@snaught.com>
432 Fixed typo that prevented "Save" from being deactivated when
433 document is not modified.
435 2008-02-18 Jim Evins <evins@snaught.com>
437 * src/prefs-model.c: (gl_prefs_model_save_settings),
438 (gl_prefs_model_load_settings):
439 Set default units for file output.
441 2008-02-18 Jim Evins <evins@snaught.com>
443 * help/C/glabels.xml:
444 Fixed example template.
446 2008-02-16 Jim Evins <evins@snaught.com>
449 * data/templates/avery-iso-templates.xml:
450 * data/templates/avery-us-templates.xml:
451 * data/templates/misc-iso-templates.xml:
452 * data/templates/misc-us-templates.xml:
453 Caught up on user submitted templates.
455 2008-02-04 Jim Evins <evins@snaught.com>
457 * src/view-image.c: (update_object_from_editor_cb):
458 Bug #1886438. Don't update the image size unless it is actually
459 triggered by a change in image source. The result of this bug
460 was that any attempt to edit the size spinboxes, immediately
463 2008-02-03 Jim Evins <evins@snaught.com>
465 * src/label-image.c: (gl_label_image_class_init), (set_size):
466 Enforce minimum size for images.
468 2008-02-03 Jim Evins <evins@snaught.com>
470 * src/object-editor-edit-page.c: (field_selected_cb):
471 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
472 * src/object-editor-private.h:
473 * src/object-editor-shadow-page.c:
474 (gl_object_editor_set_max_shadow_offset):
475 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
476 * src/object-editor.c: (gl_object_editor_finalize),
477 (gl_object_editor_new), (gl_object_notebook_construct_valist),
479 * src/object-editor.h:
480 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
481 * src/view-barcode.c: (construct_properties_editor):
482 * src/view-box.c: (construct_properties_editor):
483 * src/view-ellipse.c: (construct_properties_editor):
484 * src/view-image.c: (construct_properties_editor):
485 * src/view-line.c: (construct_properties_editor):
486 * src/view-object.c: (gl_view_object_finalize):
487 * src/view-text.c: (construct_properties_editor),
488 Move update_editor_from_label callback from individual view objects
489 to the object editor, so that signals can be disconnected when
490 object editor is finalized.
491 * src/view-text.c: (gl_view_text_create_button_press_event):
492 Fixed bug that caused multiple view objects to be created for a
493 single text object. This bug would manifest itself as a crash
494 when deleting multi-object selections which included text objects.
496 2008-02-02 Jim Evins <evins@snaught.com>
499 * src/wdgt-merge-menu.c:
500 * src/wdgt-merge-menu.h:
501 * src/debug.c: (gl_debug_init):
504 New merge menu widget.
505 * data/glade/object-editor.glade:
506 * src/object-editor-private.h:
507 * src/object-editor.c: (gl_object_editor_set_key_names):
508 * src/object-editor-edit-page.c:
509 (gl_object_editor_prepare_edit_page), (field_selected_cb),
511 Simplified UI for inserting fields into text objects by launching
512 a merge menu and directly inserting fields from the menu. No more
513 selecting field in combobox, then pressing insert button.
515 2008-01-31 Jim Evins <evins@snaught.com>
517 * src/label-barcode.c: (draw_object):
518 Fixed rendering problem when "Invalid data" is displayed when text
519 object is lower in stacking order.
521 2008-01-30 Jim Evins <evins@snaught.com>
523 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
524 Don't turn off cairo_hint_metrics. This causes serious issues with
527 2008-01-29 Jim Evins <evins@snaught.com>
529 * src/print-op.c: (gl_print_op_construct),
530 (gl_print_op_construct_batch), (set_page_size):
531 Explicitly set page size for "other" page sizes.
533 2008-01-25 Jim Evins <evins@snaught.com>
536 Fixed Code128C backend parameters.
537 * src/label-barcode.c: (get_size):
538 Bug #1766425. If barcode is not renderable with either
539 input data or default data, use a default size. Also
542 2008-01-16 Jim Evins <evins@snaught.com>
544 * src/print.c: (print_label):
545 Bug #1872568. Don't apply special transforms (rotate and
546 mirror) to clipping region or outline.
548 2008-01-01 Jim Evins <evins@snaught.com>
551 Sort font lists alphabetically.
553 2008-01-01 Jim Evins <evins@snaught.com>
555 * src/merge-evolution.c:
556 Do a case-insensitive sort.
558 2008-01-01 Jim Evins <evins@snaught.com>
560 * src/merge-evolution.c:
561 Sort evolution by "file_under" field. Original patch provided
562 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
565 Added acknowledgement for above patch.
567 2008-01-01 Jim Evins <evins@snaught.com>
572 Reconcile with 2.2 branch.
575 2007-12-21 Jim Evins <evins@snaught.com>
577 * COPYING.LIBGLABELS:
578 * COPYING.README_FIRST:
580 Updating license information to make more complete and understandable.
582 2007-12-16 Jim Evins <evins@snaught.com>
585 Updated version to 2.pre2.
586 * help/C/glabels.xml:
587 Updated documentation.
588 * src/ui-commands.c: (gl_ui_cmd_help_about):
589 Updated copyright string.
591 2007-12-15 Jim Evins <evins@snaught.com>
593 * data/glade/object-editor.glade:
594 Removed any GtkTable that contained a GtkComboBox because the size of
595 the combo box was not constrained properly. This sacrifices the nice
596 orderly labels for combo boxes that don't extend beyond the edge of the
599 2007-12-15 Jim Evins <evins@snaught.com>
601 * libglabels/db.c: (lgl_db_lookup_template_from_name):
602 * src/object-editor.c: (gl_object_editor_finalize):
603 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
604 Fixed several small memory leaks.
606 2007-12-14 Jim Evins <evins@snaught.com>
609 Optimize template search by name by using a GHashTable.
610 * src/mini-preview-pixbuf-cache.c:
611 * src/mini-preview-pixbuf-cache.h:
612 Store one pixbuf per template, but use a key for each alias.
613 * src/wdgt-media-select.c:
614 Optimize loading of tree data, thus optimizing the "new label" dialog.
616 2007-12-12 Jim Evins <evins@snaught.com>
618 * data/templates/avery-us-templates.xml:
619 More templates and aliases.
621 2007-12-08 Jim Evins <evins@snaught.com>
624 More prep for 2.1.5/2.2.0.
626 2007-12-08 Jim Evins <evins@snaught.com>
632 Preparation for 2.1.5.
634 2007-12-08 Jim Evins <evins@snaught.com>
636 * docs/libglabels/libglabels-decl-list.txt:
637 * docs/libglabels/libglabels-docs.sgml:
638 * docs/libglabels/libglabels-sections.txt:
639 * docs/libglabels/libglabels-undocumented.txt:
640 * docs/libglabels/tmpl/db.sgml:
641 * docs/libglabels/tmpl/str.sgml:
643 Documentation cleanup for libglabels.
645 2007-11-29 Jim Evins <evins@snaught.com>
649 Added lgl_db_does_template_name_exist().
650 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
653 Proof read recent templates -- make sure they still exist.
654 * src/wdgt-media-select.c:
655 Default to "search all templates" tab if no recent templates found.
657 2007-11-28 Jim Evins <evins@snaught.com>
659 * data/glade/wdgt-media-select.glade:
660 * src/wdgt-media-select.c:
661 Added tabbed notebook to allow selection of recent template versus searching the
665 2007-11-26 Jim Evins <evins@snaught.com>
667 * libglabels/Makefile.am:
668 * libglabels/libglabels.h:
671 * src/prefs-dialog.c:
676 Added tracking of recently used templates.
678 2007-11-20 Jim Evins <evins@snaught.com>
680 * data/glade/template-designer.glade:
681 * src/template-designer.c:
682 Added warning icon when match brand and part match an existing template.
684 2007-11-18 Jim Evins <evins@snaught.com>
686 * libglabels/Makefile.am:
689 Added lgl_str_utf8_casecmp().
690 * libglabels/libglabels-private.h:
691 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
692 * libglabels/db.c: (lgl_db_get_brand_list):
693 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
696 2007-11-18 Jim Evins <evins@snaught.com>
698 * data/glade/template-designer.glade:
699 * src/template-designer.c:
700 Don't advance past name page, if brand and part match an existing template.
702 2007-11-18 Jim Evins <evins@snaught.com>
704 * libglabels/db.c: (lgl_db_register_template), (read_templates):
705 When registering a new template, don't add to "User defined" category before
706 writing to file. Add to "User defined" category when reading from "~/.glabels"
707 directory instead. This will allow legacy templates (and manually created
708 templates) to be automatically added to the "user defined" category.
709 * libglabels/xml-template.c:
710 (lgl_xml_template_create_template_node):
711 Fixed typo/bug causing brand to be wrong.
713 2007-11-16 Jim Evins <evins@snaught.com>
717 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
718 function. Automatically create "User defined" category and add to all user
719 registered templates.
720 * libglabels/xml-template.c:
721 * libglabels/xml-template.h:
722 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
723 lgl_xml_template_write_template_to_file().
724 * docs/libglabels/libglabels-decl-list.txt:
725 * docs/libglabels/libglabels-sections.txt:
726 * docs/libglabels/libglabels-undocumented.txt:
727 * docs/libglabels/tmpl/db.sgml:
728 * docs/libglabels/tmpl/xml-template.sgml:
729 Update documentation to reflect above changes.
731 2007-10-28 Jim Evins <evins@snaught.com>
733 * libglabels/xml-template.c:
734 Remove any leading white space from part #s when parsing old names.
735 * src/mini-preview-pixbuf-cache.c:
736 If name isn't in cache add it.
738 2007-10-26 Jim Evins <evins@snaught.com>
740 * libglabels/Makefile.am:
741 * libglabels/category.c:
742 * libglabels/category.h:
745 * libglabels/libglabels-private.h:
746 * libglabels/libglabels.h:
747 * libglabels/paper.c:
748 * libglabels/paper.h:
749 * libglabels/template.c:
750 * libglabels/template.h:
751 * libglabels/xml-template.c:
752 Another pass at screwing with the libglabels API. Moved all
753 database related stuff to db.[ch].
754 * docs/libglabels/libglabels-decl-list.txt:
755 * docs/libglabels/libglabels-docs.sgml:
756 * docs/libglabels/libglabels-sections.txt:
757 * docs/libglabels/libglabels-undocumented.txt:
758 * docs/libglabels/tmpl/category.sgml:
759 * docs/libglabels/tmpl/db.sgml:
760 * docs/libglabels/tmpl/init.sgml:
761 * docs/libglabels/tmpl/libglabels-unused.sgml:
762 * docs/libglabels/tmpl/paper.sgml:
763 * docs/libglabels/tmpl/template-construction.sgml:
764 * docs/libglabels/tmpl/template-db.sgml:
765 * docs/libglabels/tmpl/template-misc.sgml:
766 * docs/libglabels/tmpl/template-struct.sgml:
767 * docs/libglabels/tmpl/template.sgml:
768 Updated documentation to reflect above changes to libglabels API.
770 * src/glabels-batch.c:
772 * src/mini-preview-pixbuf-cache.c:
775 * src/template-designer.c:
776 * src/wdgt-media-select.c:
777 * src/wdgt-mini-preview.c:
778 * src/wdgt-rotate-label.c:
779 * src/xml-label-04.c:
781 Reconciled usage with above libglabels API changes.
783 2007-10-21 Jim Evins <evins@snaught.com>
785 * data/glade/wdgt-media-select.glade:
786 * src/wdgt-media-select.c:
787 Added brand to filter settings.
789 2007-10-21 Jim Evins <evins@snaught.com>
791 * data/dtd/glabels-2.2.dtd:
792 Forgot to replace Alias name attribute with brand and part attributes.
793 * data/templates/avery-iso-templates.xml:
794 * data/templates/avery-other-templates.xml:
795 * data/templates/avery-us-templates.xml:
796 * data/templates/misc-iso-templates.xml:
797 * data/templates/misc-other-templates.xml:
798 * data/templates/misc-us-templates.xml:
799 * data/templates/zweckform-iso-templates.xml:
800 Replaced all name attributes with brand/part attribute pairs.
802 2007-10-20 Jim Evins <evins@snaught.com>
804 * src/stock-pixmaps/*.png
805 Updated icons to use Tango color palette.
807 2007-10-20 Jim Evins <evins@snaught.com>
809 * data/dtd/Makefile.am:
810 * data/dtd/glabels-2.0.dtd:
811 * data/dtd/glabels-2.2.dtd:
812 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
814 * libglabels/template.c:
815 * libglabels/template.h:
816 * libglabels/xml-template.c:
818 Added brand and part attributes to template and alias structures and nodes.
821 * src/mini-preview-pixbuf-cache.c:
822 * src/template-designer.c:
823 * src/wdgt-media-select.c:
824 Use modified libglabels API.
825 * docs/libglabels/libglabels-decl-list.txt:
826 * docs/libglabels/libglabels-sections.txt:
827 * docs/libglabels/libglabels-undocumented.txt:
828 * docs/libglabels/tmpl/template-construction.sgml:
829 * docs/libglabels/tmpl/template-db.sgml:
830 * docs/libglabels/tmpl/template-struct.sgml:
831 Update libglabels documentation to reflect above modifications.
833 2007-10-14 Jim Evins <evins@snaught.com>
835 * docs/libglabels/libglabels-decl-list.txt:
836 * docs/libglabels/libglabels-sections.txt:
837 * docs/libglabels/libglabels-undocumented.txt:
838 * docs/libglabels/tmpl/category.sgml:
839 * libglabels/category.c:
840 * libglabels/category.h:
841 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
842 parity with paper functions.
844 2007-10-12 Jim Evins <evins@snaught.com>
846 * docs/libglabels/libglabels-decl-list.txt:
847 * docs/libglabels/libglabels-sections.txt:
848 * docs/libglabels/libglabels-undocumented.txt:
849 * docs/libglabels/tmpl/category.sgml:
850 * docs/libglabels/tmpl/enums.sgml:
851 * docs/libglabels/tmpl/libglabels-unused.sgml:
852 * docs/libglabels/tmpl/paper.sgml:
853 * docs/libglabels/tmpl/template-struct.sgml:
855 * libglabels/template.c:
856 * libglabels/template.h:
857 Another pass at fleshing out the libglabels documentation.
858 * src/cairo-label-path.c:
859 * src/cairo-markup-path.c:
861 * src/mini-preview-pixbuf.c:
865 * src/wdgt-media-select.c:
866 * src/wdgt-mini-preview.c:
867 * src/wdgt-print-copies.c:
868 * src/wdgt-print-merge.c:
869 * src/wdgt-rotate-label.c:
870 Removed lgl_template_get_first_frame() from libglabels API and all references.
872 2007-10-11 Jim Evins <evins@snaught.com>
874 Extended checks for deprecated symbols.
875 * libglabels/template.c:
876 Removed g_strcasecmp references, which are deprecated.
878 2007-10-09 Jim Evins <evins@snaught.com>
880 * src/merge-evolution.c:
881 Create address book if it does not exist. Also, be more robust about handling
882 error conditions -- don't just assume GError has been set.
884 2007-10-08 Jim Evins <evins@snaught.com>
886 * libglabels/template.c:
887 * libglabels/xml-template.c:
888 * src/template-designer.c:
889 Missed some symbols with libglabels API work.
891 2007-10-01 Jim Evins <evins@snaught.com>
893 * docs/libglabels/libglabels-decl-list.txt:
894 * docs/libglabels/libglabels-docs.sgml:
895 * docs/libglabels/libglabels-sections.txt:
896 * docs/libglabels/libglabels-undocumented.txt:
897 * docs/libglabels/tmpl/category.sgml:
898 * docs/libglabels/tmpl/enums.sgml:
899 * docs/libglabels/tmpl/init.sgml:
900 * docs/libglabels/tmpl/libglabels-unused.sgml:
901 * docs/libglabels/tmpl/paper.sgml:
902 * docs/libglabels/tmpl/template-construction.sgml:
903 * docs/libglabels/tmpl/template-db.sgml:
904 * docs/libglabels/tmpl/template-misc.sgml:
905 * docs/libglabels/tmpl/template-struct.sgml:
906 * docs/libglabels/tmpl/template.sgml:
907 * docs/libglabels/tmpl/xml-category.sgml:
908 * docs/libglabels/tmpl/xml-template.sgml:
909 * libglabels/category.h:
911 * libglabels/libglabels-private.h:
912 * libglabels/paper.h:
913 * libglabels/template.c:
914 * libglabels/template.h:
915 * libglabels/xml-template.h:
916 Basic documentation framework for libglabels updated. This still needs some
919 2007-09-27 Jim Evins <evins@snaught.com>
921 * docs/libglabels/libglabels-decl-list.txt:
922 * docs/libglabels/libglabels-docs.sgml:
923 * docs/libglabels/libglabels-sections.txt:
924 * docs/libglabels/libglabels-undocumented.txt:
925 * docs/libglabels/tmpl/enums.sgml:
926 * docs/libglabels/tmpl/init.sgml:
927 * docs/libglabels/tmpl/libglabels-unused.sgml:
928 * docs/libglabels/tmpl/paper.sgml:
929 * docs/libglabels/tmpl/template.sgml:
930 * docs/libglabels/tmpl/xml-paper.sgml:
931 * docs/libglabels/tmpl/xml-template.sgml:
932 * docs/libglabels/tmpl/xml.sgml:
933 * libglabels/Makefile.am:
934 * libglabels/category.c:
935 * libglabels/category.h:
936 * libglabels/enums.h:
939 * libglabels/libglabels-private.h:
940 * libglabels/libglabels.h:
941 * libglabels/paper.c:
942 * libglabels/paper.h:
943 * libglabels/template.c:
944 * libglabels/template.h:
945 * libglabels/xml-category.c:
946 * libglabels/xml-category.h:
947 * libglabels/xml-paper.c:
948 * libglabels/xml-paper.h:
949 * libglabels/xml-template.c:
950 * libglabels/xml-template.h:
953 * src/cairo-label-path.c:
954 * src/cairo-label-path.h:
955 * src/cairo-markup-path.c:
956 * src/cairo-markup-path.h:
958 * src/glabels-batch.c:
960 * src/label-object.c:
963 * src/mini-preview-pixbuf-cache.c:
964 * src/mini-preview-pixbuf.c:
965 * src/mini-preview-pixbuf.h:
966 * src/prefs-dialog.c:
973 * src/template-designer.c:
974 * src/view-barcode.c:
976 * src/view-ellipse.c:
980 * src/wdgt-media-select.c:
981 * src/wdgt-mini-preview.c:
982 * src/wdgt-mini-preview.h:
983 * src/wdgt-print-copies.c:
984 * src/wdgt-print-merge.c:
985 * src/wdgt-rotate-label.c:
986 * src/xml-label-04.c:
988 Major cleanup of libglabels API -- this breaks API compatibility with older
989 development and stable versions -- as far as I know, there are currently
990 no external users of this library yet.
992 2007-09-14 Jim Evins <evins@snaught.com>
997 * src/label-object.c:
998 * src/label-object.h:
999 * src/label-barcode.c:
1000 * src/label-ellipse.c:
1002 * src/view-object.c:
1003 * src/view-barcode.c:
1005 * src/view-ellipse.c:
1009 Better separation of model from view.
1011 2007-08-21 Jim Evins <evins@snaught.com>
1013 * src/print-op.c: (create_custom_widget_cb):
1014 Fix problem with force_outline_flag -- don't override with default.
1016 2007-08-21 Jim Evins <evins@snaught.com>
1018 * data/dtd/glabels-2.0.dtd:
1019 * libglabels/template.c:
1020 * libglabels/template.h:
1021 * libglabels/xml-template.c:
1022 * src/cairo-markup-path.c:
1023 Added "Markup-rect" element to template format.
1025 2007-08-21 Jim Evins <evins@snaught.com>
1028 Changed version to 2.1.pre5svn.
1029 * src/view.c: (draw_markup_layer):
1030 Do a stroke for each markup path, otherwise multiple markups
1033 2007-08-17 Jim Evins <evins@snaught.com>
1036 Bump libglabels revision numbers for 2.1.4 release.
1038 2007-08-16 Jim Evins <evins@snaught.com>
1041 Include subdir iec16022-0.2.1.
1045 Preparation for 2.1.4.
1048 2007-08-11 Jim Evins <evins@snaught.com>
1054 Added Esperanto translation. Provided by Antonio C.
1055 Codazzi "la Filozofo" <f_sophia@libero.it>.
1057 Updated French translation. Provided by Claude Paroz
1058 <claude@2xlibre.net>.
1060 Updated to reflect above translations.
1062 2007-08-11 Jim Evins <evins@snaught.com>
1065 * data/templates/avery-iso-templates.xml:
1066 * data/templates/avery-us-templates.xml:
1067 * data/templates/misc-iso-templates.xml:
1068 * data/templates/misc-other-templates.xml:
1069 * data/templates/misc-us-templates.xml:
1070 * data/templates/zweckform-iso-templates.xml:
1071 Caught up with backlog of template submissions.
1073 2007-08-10 Jim Evins <evins@snaught.com>
1075 * src/bc-postnet.c: (gl_barcode_postnet_new):
1077 Added support for Brazilian CEPNet barcodes. This is simply an
1078 instance of the US POSTNET format with 8 digits. Patch supplied
1079 by Mário Meyer in bug # 1768792.
1081 Updated acknowledgments to reflect above patch and recent shuffling
1082 of underlying technology.
1084 2007-05-13 Jim Evins <evins@snaught.com>
1086 * src/merge-text.c: (parse_line), (parse_field):
1087 Remove leading and trailing spaces from CSV fields, unless quoted.
1089 2007-05-09 Jim Evins <evins@snaught.com>
1091 * src/object-editor-bc-page.c:
1092 * src/object-editor-data-page.c:
1093 * src/object-editor-fill-page.c:
1094 * src/object-editor-image-page.c:
1095 * src/object-editor-line-page.c:
1096 * src/object-editor-lsize-page.c:
1097 * src/object-editor-position-page.c:
1098 * src/object-editor-private.h:
1099 * src/object-editor-shadow-page.c:
1100 * src/object-editor-size-page.c:
1101 * src/object-editor-text-page.c:
1102 * src/object-editor.c:
1103 * src/prefs-dialog.c:
1104 * src/template-designer.c:
1105 * src/ui-property-bar.c:
1106 * src/wdgt-media-select.c:
1107 Replaced signal block/unblock pairs with simple flags. This reduces
1108 some code clutter, hopefully making it easier to read.
1110 2007-05-05 Jim Evins <evins@snaught.com>
1112 * src/template-designer.c: (apply_cb):
1113 Add new template to mini-preview pixbuf cache.
1115 2007-05-03 Jim Evins <evins@snaught.com>
1117 * src/label-image.c: (gl_label_image_init), (draw_object):
1118 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1121 2007-05-02 Jim Evins <evins@snaught.com>
1123 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1124 (button_release_event_cb):
1125 Removed attempt at rendering optimization by clipping the updates
1126 to areas affected -- this actually seemed to hurt update performance.
1128 2007-04-30 Jim Evins <evins@snaught.com>
1131 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1132 (gl_color_node_equal), (gl_color_node_expand):
1133 * src/label-barcode.c: (draw_object):
1134 * src/label-box.c: (draw_object), (draw_shadow):
1135 * src/label-ellipse.c: (draw_object), (draw_shadow):
1136 * src/label-line.c: (draw_object), (draw_shadow):
1137 * src/label-text.c: (draw_object), (draw_shadow):
1138 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1139 * src/wdgt-rotate-label.c: (drawingarea_update):
1140 Some cleanup to color related code.
1142 2007-04-30 Jim Evins <evins@snaught.com>
1145 Added glLabelRegion structure type.
1146 * src/label-object.c: (gl_label_object_get_extent):
1147 * src/label-object.h:
1148 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1150 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1151 (gl_view_select_region), (gl_view_align_selection_left),
1152 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1153 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1154 (gl_view_align_selection_vcenter),
1155 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1156 (gl_view_move_selection), (gl_view_can_selection_text),
1157 (motion_notify_event_cb), (button_press_event_cb),
1158 (button_release_event_cb):
1159 - Reconcile with new gl_label_object_get_extent() API.
1160 - Use glLabelRegion for view->select_region.
1161 - Added gl_view_update_region() to clip updates to region.
1162 - Use gl_view_update_region() during manipulation of view->select_region.
1164 2007-04-26 Jim Evins <evins@snaught.com>
1166 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1167 (draw_label_outline):
1168 * src/print.c: (print_crop_marks), (draw_outline):
1169 * src/view-object.c: (gl_view_object_draw_handles):
1170 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1171 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1172 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1173 * src/wdgt-rotate-label.c: (drawingarea_update):
1174 Added defines for various magic numbers.
1176 2007-04-25 Jim Evins <evins@snaught.com>
1178 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1179 Scale text down. Cairo seems to render text too large.
1181 2007-04-25 Jim Evins <evins@snaught.com>
1184 * src/view.c: (gl_view_update), (expose_cb),
1185 (motion_notify_event_cb), (button_press_event_cb),
1186 (button_release_event_cb):
1187 - Try not to let updates get backed up.
1188 - Grab pointer when doing any drag operations.
1190 2007-04-11 Jim Evins <evins@snaught.com>
1192 * src/cairo-label-path.c: (gl_cairo_label_path),
1193 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1194 (gl_cairo_cd_label_path):
1195 * src/cairo-label-path.h:
1196 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1197 (draw_label_outline):
1198 * src/print.c: (draw_outline), (clip_to_outline):
1199 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1200 * src/wdgt-mini-preview.c: (draw_labels):
1201 * src/wdgt-rotate-label.c: (drawingarea_update):
1202 Modified to universally use gl_cairo_label_path() to create paths
1203 for labels. Added shadow to mini preview in rotate widget.
1205 2007-04-10 Jim Evins <evins@snaught.com>
1207 * libglabels/template.h:
1208 * libglabels/template.c: (gl_template_get_name_list_unique),
1209 (gl_template_get_name_list_all), (gl_template_from_name):
1210 Modified libglabels to allow you to get a list of all template names
1211 including all aliases or just a list of primary names of each unique
1214 * src/file.c: (gl_file_properties):
1215 * src/glabels.c: (main):
1216 * src/mini-preview-pixbuf-cache.h:
1217 * src/mini-preview-pixbuf-cache.c:
1218 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1219 (filter_changed_cb), (load_list):
1220 Added mini-preview pixbuf cache, so that only one mini-preview is
1221 needed for a unique template and gets reused for all aliases. These
1222 pixbufs will also live for the life of the program so they are not
1223 rebuilt everytime a new label dialog is invoked.
1224 * src/mini-preview-pixbuf.c: (draw_paper),
1225 (draw_rect_label_outline), (draw_round_label_outline),
1226 (draw_cd_label_outline):
1227 Removed some comment artifacts.
1229 2007-04-04 Jim Evins <evins@snaught.com>
1231 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1232 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1233 (draw_round_label_outline), (draw_cd_label_outline):
1234 * src/wdgt-media-select.c: (load_list):
1235 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1236 Cosmetic enhancments to mini previews.
1238 2007-04-04 Jim Evins <evins@snaught.com>
1240 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1241 (gl_ui_property_bar_construct):
1242 Save copy of GladeXML tree so that we don't lose tooltips.
1244 2007-04-02 Jim Evins <evins@snaught.com>
1246 * src/merge-properties-dialog.c:
1247 * src/new-label-dialog.c:
1248 * src/object-editor.c:
1249 * src/prefs-dialog.c:
1251 * src/template-designer.c:
1252 * src/ui-property-bar.c:
1253 * src/wdgt-media-select.c:
1254 * src/wdgt-rotate-label.c:
1255 Fixed several memory leaks.
1257 2007-04-01 Jim Evins <evins@snaught.com>
1259 * src/label-text.c: (gl_label_text_init), (copy),
1260 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1261 (set_font_family), (set_font_size), (set_font_weight),
1262 (set_font_italic_flag), (set_text_alignment),
1263 (set_text_line_spacing):
1264 Cache object size, so that expensive extent calculations are only done
1267 2007-03-30 Jim Evins <evins@snaught.com>
1269 * src/prefs-model.c: (gl_prefs_model_load_settings):
1270 Default to an unlimited list of recent documents, since this parameter
1271 seems to be pre-filter anyway.
1273 2007-03-30 Jim Evins <evins@snaught.com>
1275 * src/label-box.c: (draw_shadow):
1276 * src/label-ellipse.c: (draw_shadow):
1277 Added missing shadow fill.
1279 2007-03-28 Jim Evins <evins@snaught.com>
1281 * src/ui-commands.c: (gl_ui_cmd_file_print):
1282 Unreferencing the print operation sometimes crashes. Just don't do it
1285 2007-03-28 Jim Evins <evins@snaught.com>
1287 * src/print-op.c: (gl_print_op_construct),
1288 (gl_print_op_get_settings), (gl_print_op_set_settings),
1289 (gl_print_op_free_settings), (create_custom_widget_cb):
1291 * src/ui-commands.c: (gl_ui_cmd_file_print):
1292 * src/window.c: (gl_window_init):
1294 Save print settings and custom settings between print operations
1297 2007-03-24 Jim Evins <evins@snaught.com>
1299 * src/object-editor-image-page.c:
1300 (gl_object_editor_prepare_image_page),
1301 (gl_object_editor_set_image), (img_selection_changed_cb):
1302 Workaround for GtkFileChooserButton bug # 327243. This the root
1303 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1304 "selection-changed" signals -- the first 2 return NULL -- this is
1305 what caused the image to reset to the default followed by setting
1306 it back to the original image, trying to fit it into a new bounding
1307 box. This sequence of events is much more evident with the new
1310 2007-03-23 Jim Evins <evins@snaught.com>
1312 Merged all changes from experimental cairo branch to trunk.
1313 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1315 2007-03-23 Jim Evins <evins@snaught.com>
1317 * src/label-object.h:
1318 * src/label-object.c: (gl_label_object_class_init),
1319 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1320 Created "get_raw_size" method.
1321 * src/label-barcode.c: (get_size):
1322 * src/xml-label.c: (xml_create_object_text),
1323 (xml_create_object_barcode):
1324 Use new "get_raw_size" method on label-objects when apropos.
1326 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1327 (auto_shrink_font_size):
1328 Added "auto shrink" functionality back.
1330 2007-03-19 Jim Evins <evins@snaught.com>
1332 * src/label-text.c: (draw_object), (draw_shadow):
1333 Don't use negative scales in workaround from previous commit.
1336 2007-03-18 Jim Evins <evins@snaught.com>
1339 Forgot to remove include of xml-lable-191 in previous commit.
1340 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1341 Workaround for pango Bug #341481. Render text at device scale,
1342 and scale font size accordingly. Also, don't do any hinting.
1344 2007-03-18 Jim Evins <evins@snaught.com>
1346 * src/cairo-ellipse-path.c:
1347 * src/cairo-ellipse-path.h:
1348 Forgot to add these new files during last mass commit.
1350 2007-03-18 Jim Evins <evins@snaught.com>
1353 * src/xml-label-191.c:
1354 * src/xml-label-191.h:
1355 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1356 so there is no need to keep compatability.
1358 * src/bc-iec16022.c:
1359 * src/cairo-label-path.c:
1360 * src/cairo-label-path.h:
1361 * src/cairo-markup-path.c:
1365 * src/glabels-batch.c:
1367 * src/label-barcode.c:
1369 * src/label-ellipse.c:
1370 * src/label-image.c:
1372 * src/label-object.c:
1373 * src/label-object.h:
1377 * src/merge-properties-dialog.c:
1379 * src/new-label-dialog.c:
1380 * src/object-editor-bc-page.c:
1381 * src/object-editor-data-page.c:
1382 * src/object-editor-edit-page.c:
1383 * src/object-editor-fill-page.c:
1384 * src/object-editor-image-page.c:
1385 * src/object-editor-line-page.c:
1386 * src/object-editor-private.h:
1387 * src/object-editor-shadow-page.c:
1388 * src/object-editor-text-page.c:
1389 * src/object-editor.c:
1390 * src/pixbuf-cache.c:
1395 * src/template-designer.c:
1397 * src/ui-property-bar.c:
1399 * src/view-barcode.c:
1401 * src/view-ellipse.c:
1404 * src/view-object.c:
1405 * src/view-object.h:
1408 * src/wdgt-media-select.c:
1409 * src/wdgt-print-copies.c:
1410 * src/wdgt-print-merge.c:
1412 * src/xml-label-04.c:
1414 Many changes, including:
1415 - Move draw methods from view-*() to label-*().
1416 - Use same drawing code for on screen view and printing.
1417 - Fix all issues exposed with '-Wall -Werror'.
1419 2007-03-14 Jim Evins <evins@snaught.com>
1422 * src/cairo-handle-path.c:
1423 * src/cairo-handle-path.h:
1424 * src/cairo-object-path.c:
1425 * src/cairo-object-path.h:
1426 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1427 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1429 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1430 (draw_shadow), (object_at):
1431 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1432 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1433 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1435 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1436 (draw_shadow), (object_at):
1437 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1438 (create_handle_path), (gl_view_object_draw_handles),
1439 (gl_view_object_handle_at):
1440 * src/view-object.h:
1441 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1442 (draw_shadow), (object_at):
1443 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1444 Some restructuring of new code.
1446 2007-03-12 Jim Evins <evins@snaught.com>
1449 * src/cairo-object-path.c:
1450 * src/view-barcode.c:
1451 * src/view-barcode.h:
1453 Added barcode object support to view.
1455 2007-03-12 Jim Evins <evins@snaught.com>
1461 * src/cairo-object-path.c:
1462 * src/cairo-object-path.h:
1464 * src/view-ellipse.c:
1467 * src/view-object.c:
1468 * src/view-object.h:
1469 Added text object support to view. Added object_at method to all
1472 2007-03-11 Jim Evins <evins@snaught.com>
1475 * src/cairo-object-path.c: (gl_cairo_object_path),
1476 (gl_cairo_image_object_path):
1477 * src/view-image.c: (gl_view_image_class_init),
1478 (gl_view_image_finalize), (gl_view_image_new),
1479 (update_editor_from_label_cb), (draw),
1480 (gl_view_image_get_create_cursor),
1481 (gl_view_image_create_button_press_event),
1482 (gl_view_image_create_motion_event),
1483 (gl_view_image_create_button_release_event):
1485 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1486 (selection_received_cb), (motion_notify_event_cb),
1487 (button_press_event_cb), (button_release_event_cb):
1488 Added image object support to view.
1490 2007-03-11 Jim Evins <evins@snaught.com>
1493 * src/cairo-object-path.c: (gl_cairo_object_path),
1494 (gl_cairo_line_object_path):
1495 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1496 (update_object_from_editor_cb), (update_editor_from_object_cb),
1497 (update_editor_from_label_cb), (draw),
1498 (gl_view_line_get_create_cursor),
1499 (gl_view_line_create_button_press_event),
1500 (gl_view_line_create_motion_event),
1501 (gl_view_line_create_button_release_event):
1503 * src/view-object.c: (gl_view_object_resize_event):
1504 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1505 (selection_received_cb), (motion_notify_event_cb),
1506 (button_press_event_cb), (button_release_event_cb):
1507 Added line object support to view.
1508 * src/cairo-handle-path.c:
1509 Made handles slightly larger.
1512 2007-03-11 Jim Evins <evins@snaught.com>
1515 * src/cairo-handle-path.c:
1516 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1517 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1518 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1519 (gl_cairo_markup_margin_round_path),
1520 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1521 * src/cairo-object-path.c: (gl_cairo_object_path),
1522 (gl_cairo_ellipse_object_path):
1523 * src/label-object.c: (gl_label_object_rotate):
1526 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1527 (gl_view_ellipse_new), (update_object_from_editor_cb),
1528 (update_editor_from_object_cb), (update_editor_from_label_cb),
1529 (draw), (gl_view_ellipse_get_create_cursor),
1530 (gl_view_ellipse_create_button_press_event),
1531 (gl_view_ellipse_create_motion_event),
1532 (gl_view_ellipse_create_button_release_event):
1533 * src/view-ellipse.h:
1534 * src/view-object.c:
1535 * src/view-object.h:
1536 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1537 (select_object_real), (selection_received_cb),
1538 (motion_notify_event_cb), (button_press_event_cb),
1539 (button_release_event_cb):
1541 Added ellipse object support to view. Plus other cleanup.
1543 2007-03-11 Jim Evins <evins@snaught.com>
1546 * src/view-box.c: (gl_view_box_get_create_cursor),
1547 (gl_view_box_create_button_press_event),
1548 (gl_view_box_create_motion_event),
1549 (gl_view_box_create_button_release_event):
1550 * src/view-object.c: (gl_view_object_set_view),
1551 (gl_view_object_handle_at):
1553 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1554 (motion_notify_event_cb), (button_press_event_cb),
1555 (button_release_event_cb), (key_press_event_cb):
1556 Added creation code for box object.
1558 2007-03-09 Jim Evins <evins@snaught.com>
1560 * src/view-object.c: (gl_view_object_resize_event):
1561 * src/view-object.h:
1562 * src/view.c: (motion_notify_event_cb):
1563 Fix bugs with resizing transformed objects.
1564 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1565 * src/cairo-object-path.c: (gl_cairo_object_path):
1566 * src/cairo-object-path.h:
1567 * src/label-object.c: (gl_label_object_init),
1568 (gl_label_object_dup), (gl_label_object_get_extent),
1569 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1570 (gl_label_object_rotate), (gl_label_object_set_matrix),
1571 (gl_label_object_get_matrix):
1572 * src/label-object.h:
1573 * src/print.c: (draw_object):
1575 * src/view-highlight.c:
1576 * src/view-highlight.h:
1577 * src/xml-label-191.c: (xml191_parse_object):
1578 * src/xml-label.c: (xml_parse_affine_attrs),
1579 (xml_create_affine_attrs):
1580 Replace libart affine matrices with cairo matrices.
1582 2007-03-08 Jim Evins <evins@snaught.com>
1584 * src/view-object.h:
1585 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1586 * src/view-object.c: (gl_view_object_handle_at),
1587 (gl_view_object_resize_event):
1588 Added resize code -- still a bit buggy.
1590 2007-03-07 Jim Evins <evins@snaught.com>
1593 * src/cairo-handle-path.c:
1594 * src/cairo-handle-path.h:
1595 * src/view-box.c: (gl_view_box_new):
1596 * src/view-object.c: (gl_view_object_set_object),
1597 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1598 * src/view-object.h:
1599 * src/view.c: (draw_highlight_layer), (select_object_real),
1600 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1601 (button_press_event_cb), (button_release_event_cb),
1602 (key_press_event_cb):
1604 Added beginnings of object resize handles.
1606 2007-03-07 Jim Evins <evins@snaught.com>
1609 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1610 (gl_view_object_create_mode), (motion_notify_event_cb),
1611 (button_press_event_cb), (button_release_event_cb),
1612 (key_press_event_cb):
1613 Added move selection support.
1615 2007-03-05 Jim Evins <evins@snaught.com>
1617 * src/cairo-object-path.c: (gl_cairo_object_path):
1618 * src/view-object.c: (gl_view_object_draw),
1619 (gl_view_object_draw_highlight):
1620 * src/view.c: (view_object_at), (motion_notify_event_cb),
1621 (button_press_event_cb), (button_release_event_cb):
1622 Additional refinements to select logic.
1624 2007-03-05 Jim Evins <evins@snaught.com>
1627 * src/view.c: (gl_view_init), (gl_view_construct),
1628 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1629 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1630 (button_press_event_cb), (button_release_event_cb):
1631 Added initial select region support and context menu.
1633 2007-03-04 Jim Evins <evins@snaught.com>
1644 * src/ui-commands.c:
1647 * src/view-object.c:
1648 * src/view-object.h:
1651 * src/wdgt-print-copies.c:
1652 * src/wdgt-print-merge.c:
1654 Initial port to a raw Cairo canvas. This removes all remaining
1655 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1656 the view is becoming a canvas widget in its own right. Still needs
1658 * src/cairo-label-path.c:
1659 * src/cairo-label-path.h:
1660 * src/cairo-markup-path.c:
1661 * src/cairo-markup-path.h:
1662 * src/cairo-object-path.c:
1663 * src/cairo-object-path.h:
1664 New files to support cairo canvas.
1665 * src/canvas-hacktext.c:
1666 * src/canvas-hacktext.h:
1669 2007-02-18 Jim Evins <evins@snaught.com>
1672 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1674 2007-02-14 Jim Evins <evins@snaught.com>
1678 * src/bc-gnubarcode.c:
1679 * src/bc-gnubarcode.h:
1684 * src/canvas-hacktext.c:
1685 * src/canvas-hacktext.h:
1692 * src/label-barcode.c:
1693 * src/label-barcode.h:
1696 * src/label-ellipse.c:
1697 * src/label-ellipse.h:
1698 * src/label-image.c:
1699 * src/label-image.h:
1702 * src/label-object.c:
1703 * src/label-object.h:
1708 * src/merge-evolution.c:
1709 * src/merge-evolution.h:
1712 * src/merge-properties-dialog.c:
1713 * src/merge-properties-dialog.h:
1716 * src/merge-vcard.c:
1717 * src/merge-vcard.h:
1720 * src/mini-preview-pixbuf.h:
1721 * src/new-label-dialog.c:
1722 * src/new-label-dialog.h:
1723 * src/object-editor-bc-page.c:
1724 * src/object-editor-data-page.c:
1725 * src/object-editor-edit-page.c:
1726 * src/object-editor-fill-page.c:
1727 * src/object-editor-image-page.c:
1728 * src/object-editor-line-page.c:
1729 * src/object-editor-lsize-page.c:
1730 * src/object-editor-position-page.c:
1731 * src/object-editor-private.h:
1732 * src/object-editor-size-page.c:
1733 * src/object-editor-text-page.c:
1734 * src/object-editor.c:
1735 * src/object-editor.h:
1736 * src/pixbuf-cache.c:
1737 * src/pixbuf-cache.h:
1738 * src/prefs-dialog.c:
1739 * src/prefs-dialog.h:
1740 * src/prefs-model.c:
1741 * src/prefs-model.h:
1747 * src/template-designer.c:
1750 * src/ui-commands.c:
1751 * src/ui-commands.h:
1752 * src/ui-property-bar.c:
1753 * src/ui-property-bar.h:
1762 * src/view-barcode.c:
1763 * src/view-barcode.h:
1766 * src/view-ellipse.c:
1767 * src/view-ellipse.h:
1768 * src/view-highlight.c:
1769 * src/view-highlight.h:
1774 * src/view-object.c:
1775 * src/view-object.h:
1780 * src/wdgt-chain-button.c:
1781 * src/wdgt-chain-button.h:
1782 * src/wdgt-media-select.c:
1783 * src/wdgt-mini-preview.c:
1784 * src/wdgt-print-copies.c:
1785 * src/wdgt-print-copies.h:
1786 * src/wdgt-print-merge.c:
1787 * src/wdgt-print-merge.h:
1788 * src/wdgt-rotate-label.c:
1790 * src/xml-label-04.c:
1791 * src/xml-label-04.h:
1792 * src/xml-label-191.c:
1793 * src/xml-label-191.h:
1797 Assorted superficial cleanup. Including:
1798 - Use G_DEFINE_TYPE for all objects.
1799 - Reconcile style of all class initializer functions
1800 - Reconcile style of all finalize functions
1801 - Add emacs mode line to all source files
1803 2007-02-06 Jim Evins <evins@snaught.com>
1805 Assorted cleanup and removal of deprecated items.
1810 Removed annoying splash screen.
1811 * src/glabels-batch.c: (main):
1812 * src/glabels.c: (main):
1813 Converted from popt to GOption.
1814 * src/object-editor-shadow-page.c:
1815 (gl_object_editor_set_shadow_state):
1816 Removed deprecated method on GtkToggleButton.
1817 * src/ui-commands.c: (gl_ui_cmd_help_about):
1818 Removed dependency on libgnomui/qnome-url.h.
1819 * src/template-designer.c:
1820 Removed dependency on libgnome/gnome-program.h.
1823 2007-02-04 Jim Evins <evins@snaught.com>
1827 * src/prefs-model.c:
1828 * src/print.c: (draw_text_object):
1829 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1830 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1832 2007-02-04 Jim Evins <evins@snaught.com>
1834 * src/wdgt-mini-preview.c:
1835 * src/wdgt-mini-preview.h:
1836 Ported widget from GnomeCanvas to Cairo.
1838 2007-02-03 Jim Evins <evins@snaught.com>
1840 * data/glade/template-designer.glade:
1841 * src/template-designer.c:
1842 * src/template-designer.h:
1843 Ported GnomeDruid to GtkAssistant. Since libglade does not
1844 yet support the GtkAssistant and we derive directly from
1845 the Assistant, the pages are layed out in a GtkNotebook in
1846 the glade description -- we then append each page to the
1849 2007-01-25 Jim Evins <evins@snaught.com>
1851 * data/glade/object-editor.glade:
1852 Added dummy page to notebook, to prevent shadow page from
1853 becoming the default current page at creation.
1854 * src/view-box.c: (construct_properties_editor):
1855 * src/view-ellipse.c: (construct_properties_editor):
1856 * src/view-line.c: (construct_properties_editor):
1857 * src/view-text.c: (construct_properties_editor):
1858 Reconciled order of params.
1860 2007-01-19 Jim Evins <evins@snaught.com>
1862 * src/label-barcode.h:
1863 * src/label-object.c: (gl_label_object_set_font_weight),
1864 (gl_label_object_set_text_alignment),
1865 (gl_label_object_get_font_weight),
1866 (gl_label_object_get_text_alignment):
1867 * src/label-object.h:
1868 * src/label-text.c: (gl_label_text_instance_init), (copy),
1869 (get_size), (set_font_family), (set_font_weight),
1870 (set_text_alignment), (get_font_weight), (get_text_alignment):
1872 * src/object-editor-text-page.c:
1873 (gl_object_editor_prepare_text_page),
1874 (gl_object_editor_set_font_family),
1875 (gl_object_editor_set_font_weight),
1876 (gl_object_editor_get_font_weight),
1877 (gl_object_editor_set_text_alignment),
1878 (gl_object_editor_get_text_alignment),
1879 (gl_object_editor_set_text_color):
1880 * src/object-editor.h:
1881 * src/prefs-dialog.c: (construct_object_page),
1882 (update_object_page_from_prefs), (update_prefs_from_object_page):
1883 * src/prefs-model.c: (gl_prefs_model_save_settings),
1884 (gl_prefs_model_load_settings):
1885 * src/prefs-model.h:
1886 * src/print.c: (draw_text_object):
1887 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1888 (reset_to_default_properties), (update_text_properties),
1889 (font_bold_toggled_cb), (text_align_toggled_cb):
1891 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1892 (gl_util_weight_to_string), (gl_util_string_to_weight),
1893 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1895 * src/view-text.c: (update_object_from_editor_cb),
1896 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1897 * src/view.c: (gl_view_set_selection_text_alignment),
1898 (gl_view_set_default_text_alignment),
1899 (gl_view_get_default_text_alignment):
1901 * src/xml-label-04.c: (xml04_parse_text_props):
1902 * src/xml-label-191.c: (xml191_parse_text_props):
1903 * src/xml-label.c: (xml_parse_object_text),
1904 (xml_parse_toplevel_span), (xml_create_object_text),
1905 (xml_create_toplevel_span):
1906 Converted all model internals to Pango. GnomeFont remains in
1907 view until GnomeCanvas can be replaced with a cairo-based canvas.
1909 2007-01-17 Jim Evins <evins@snaught.com>
1915 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1916 (gl_wdgt_print_copies_construct):
1917 * src/wdgt-print-copies.h:
1918 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1919 (gl_wdgt_print_merge_construct):
1920 * src/wdgt-print-merge.h:
1921 Removed all remaining HIG wrapper widgets.
1923 2007-01-16 Jim Evins <evins@snaught.com>
1926 * src/print-dialog.c:
1927 * src/print-dialog.h:
1930 * src/template-designer.c: (print_test_cb):
1931 * src/ui-commands.c: (gl_ui_cmd_file_print):
1933 Renamed PrintDialog to PrintOp. Added constructor for batch
1935 * src/glabels-batch.c: (main):
1936 Converted to use new PrintOp object for printing.
1938 2007-01-15 Jim Evins <evins@snaught.com>
1940 * data/glade/Makefile.am:
1941 * data/glade/print-custom-widget.glade:
1942 * src/print-dialog.c:
1943 * src/print-dialog.h:
1946 * src/template-designer.c: (print_test_cb):
1947 * src/ui-commands.c: (gl_ui_cmd_file_print):
1948 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1949 * src/wdgt-print-merge.h:
1950 * src/window.c: (gl_window_init):
1952 Initial conversion to GtkPrintOperation.
1954 - Remove font and other libgnomeprint[ui] from elsewhere
1955 - Add batch initialization of print operation
1957 2007-01-08 Jim Evins <evins@snaught.com>
1959 Updated dependencies. Set version to 2.1.pre4cvs.
1961 2007-01-03 Jim Evins <evins@snaught.com>
1963 * src/recent-files/*
1964 Removed EggRecent stuff.
1970 * src/ui-commands.c:
1971 * src/ui-commands.h:
1973 Ported from EggRecent to GtkRecentManager.
1976 2007-01-02 Jim Evins <evins@snaught.com>
1979 * iec16022-0.2.1/BUGS:
1980 * iec16022-0.2.1/CHANGELOG:
1981 * iec16022-0.2.1/CREDITS:
1982 * iec16022-0.2.1/INSTALL:
1983 * iec16022-0.2.1/LICENSE:
1984 * iec16022-0.2.1/Makefile.am:
1985 * iec16022-0.2.1/Makefile.dist:
1986 * iec16022-0.2.1/README:
1987 * iec16022-0.2.1/README.glabels:
1988 * iec16022-0.2.1/TODO:
1989 * iec16022-0.2.1/iec16022.1:
1990 * iec16022-0.2.1/iec16022.c:
1991 * iec16022-0.2.1/iec16022ecc200.c:
1992 * iec16022-0.2.1/iec16022ecc200.h:
1993 * iec16022-0.2.1/image.c:
1994 * iec16022-0.2.1/image.h:
1995 * iec16022-0.2.1/reedsol.c:
1996 * iec16022-0.2.1/reedsol.h:
1997 * iec16022-0.2.1/test/testsuite-example.bin:
1998 * iec16022-0.2.1/test/testsuite-example.eps:
1999 * iec16022-0.2.1/test/testsuite-example.hex:
2000 * iec16022-0.2.1/test/testsuite-example.png:
2001 * iec16022-0.2.1/test/testsuite-example.text:
2002 * iec16022-0.2.1/test/testsuite.sh:
2003 Include modified copy of iec16022-0.2.1 to provide encoding
2004 support for datamatrix 2D barcodes.
2006 * src/bc-iec16022.c:
2007 * src/bc-iec16022.h:
2009 Added initial datamatrix 2D barcode backend to barcode code.
2012 Automatic updates to later versions of these files.
2014 2006-11-28 Jim Evins <evins@snaught.com>
2016 * data/templates/avery-iso-templates.xml:
2017 * data/templates/avery-us-templates.xml:
2018 * data/templates/categories.xml:
2019 * data/templates/misc-iso-templates.xml:
2020 * data/templates/misc-us-templates.xml:
2021 * data/templates/zweckform-iso-templates.xml:
2022 More categorization.
2024 2006-09-12 Jim Evins <evins@snaught.com>
2026 * data/dtd/glabels-2.0.dtd:
2027 * data/templates/Makefile.am:
2028 * data/templates/avery-iso-templates.xml:
2029 * data/templates/avery-other-templates.xml:
2030 * data/templates/avery-us-templates.xml:
2031 * data/templates/categories.xml:
2032 * data/templates/misc-iso-templates.xml:
2033 * data/templates/misc-other-templates.xml:
2034 * data/templates/zweckform-iso-templates.xml:
2035 * data/glade/Makefile.am:
2036 * data/glade/new-label-dialog.glade:
2037 * data/glade/wdgt-media-select.glade:
2038 * data/glade/wdgt-rotate-label.glade:
2039 * libglabels/Makefile.am:
2040 * libglabels/category.c:
2041 * libglabels/category.h:
2042 * libglabels/libglabels.h:
2043 * libglabels/paper.c:
2044 * libglabels/template.c:
2045 * libglabels/template.h:
2046 * libglabels/xml-category.c:
2047 * libglabels/xml-category.h:
2048 * libglabels/xml-template.c:
2049 Added support for category meta data.
2052 * src/mini-preview-pixbuf.c:
2053 * src/mini-preview-pixbuf.h:
2054 * src/new-label-dialog.c:
2055 * src/new-label-dialog.h:
2056 * src/wdgt-media-select.c:
2057 * src/wdgt-media-select.h:
2058 * src/wdgt-rotate-label.c:
2059 * src/wdgt-rotate-label.h:
2060 New "new label" dialog.
2062 2006-05-27 Jim Evins <evins@snaught.com>
2067 Preparation for 2.1.3.
2073 2006-05-22 Jim Evins <evins@snaught.com>
2075 * src/print.c: (draw_barcode_object):
2076 Don't print "Invalid barcode data" if data field is empty. Patch provided
2077 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2079 Added acknowledgment for above patch.
2080 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2081 * src/bc-postnet.c: (postnet_code):
2082 Removed "Invalid barcode data" warnings from stderr.
2083 * src/view-barcode.c: (draw_barcode):
2084 Draw box around barcode extent if data empty or invalid. Center a
2085 message whether the data is empty or invalid in box.
2087 2006-05-22 Jim Evins <evins@snaught.com>
2089 * src/print.c: (draw_text_object):
2090 Check shadow state when printing text.
2092 2006-05-20 Jim Evins <evins@snaught.com>
2094 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2095 (gl_ui_cmd_view_markup_toggle):
2096 Fixed crash when grid or markup have been toggled off during
2097 a previous session. Bug #1434324.
2099 2006-04-05 Jim Evins <evins@snaught.com>
2101 * src/object-editor.c: (gl_object_editor_set_key_names):
2102 Fixed potential crash when freeing empty key list.
2104 2006-03-11 Jim Evins <evins@snaught.com>
2106 * src/print.c: (draw_text_object):
2107 * src/view-text.c: (gl_view_text_new),
2108 (construct_properties_editor), (update_object_from_editor_cb),
2109 (update_editor_from_object_cb), (update_editor_from_label_cb),
2111 Added shadow support to text object.
2113 2006-02-18 Jim Evins <evins@snaught.com>
2115 * src/print.c: (draw_line_object):
2116 * src/view-line.c: (gl_view_line_new),
2117 (construct_properties_editor), (update_canvas_item_from_object_cb),
2118 (update_object_from_editor_cb), (update_editor_from_object_cb),
2119 (update_editor_from_label_cb):
2120 Added shadow support to line object.
2122 2006-02-16 Jim Evins <evins@snaught.com>
2126 * src/print.c: (draw_ellipse_object):
2127 * src/view-ellipse.c: (gl_view_ellipse_new),
2128 (construct_properties_editor), (update_canvas_item_from_object_cb),
2129 (update_object_from_editor_cb), (update_editor_from_object_cb),
2130 (update_editor_from_label_cb):
2131 Added shadow support to ellipse object.
2133 2006-02-15 Jim Evins <evins@snaught.com>
2135 * src/label-object.c:
2136 Changed default shadow offsets.
2137 * src/view-box.c: (gl_view_box_new):
2138 Simplified gl_view_box_new() so that is does not duplicate code
2139 in update_canvas_item_from_object_cb().
2141 2006-02-07 Jim Evins <evins@snaught.com>
2143 * data/glade/object-editor.glade:
2144 Fixed color groups of color combos.
2146 Added default shadow color.
2147 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2148 Added shadow color group.
2150 2006-02-06 Jim Evins <evins@snaught.com>
2152 * src/object-editor-shadow-page.c:
2153 Forgot to add this file.
2154 * src/view-box.c: (gl_view_box_new),
2155 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2156 Update limits on shadow offset spinbuttons.
2158 2006-01-19 Jim Evins <evins@snaught.com>
2160 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2161 Initialize key_list to NULL.
2162 * data/glade/object-editor.glade:
2166 * src/label-object.c:
2167 * src/label-object.h:
2168 * src/object-editor-fill-page.c:
2169 * src/object-editor-private.h:
2170 * src/object-editor.c:
2171 * src/object-editor.h:
2173 Created infrastructure for shadow support.
2176 Initial shadow support in box object only.
2178 2006-01-05 Jim Evins <evins@snaught.com>
2180 * src/merge-properties-dialog.c: (src_changed_cb):
2181 Be extra paranoid before calling strcmp().
2182 * src/merge.c: (gl_merge_set_src):
2183 Don't make (merge == NULL) a critical error.
2185 2005-12-22 Jim Evins <evins@snaught.com>
2187 * src/glabels-batch.c: (main):
2188 Compile warning free with gcc 4.0.
2190 2005-12-21 Jim Evins <evins@snaught.com>
2193 Updated example RPM spec file.
2195 2005-12-21 Jim Evins <evins@snaught.com>
2199 Preparation for 2.1.2.
2201 2005-12-20 Jim Evins <evins@snaught.com>
2204 Define unique G_LOG_DOMAIN for glabels.
2205 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2206 * src/warning-handler.c: (gl_warning_handler_init),
2208 Register for G_LOG_DOMAIN instead of NULL.
2210 2005-12-10 Jim Evins <evins@snaught.com>
2212 * src/merge-evolution.c:
2213 * src/merge-vcard.c:
2216 2005-12-08 Jim Evins <evins@snaught.com>
2218 * libglabels/paper.c: (read_paper_files_from_dir):
2219 * libglabels/template.c: (gl_template_register),
2220 (read_template_files_from_dir):
2221 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2222 (gl_xml_paper_parse_papers_doc):
2223 * libglabels/xml-template.c:
2224 (gl_xml_template_read_templates_from_file),
2225 (gl_xml_template_parse_templates_doc),
2226 (gl_xml_template_parse_template_node),
2227 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2228 (xml_parse_label_cd_node), (xml_parse_layout_node),
2229 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2230 (xml_parse_markup_circle_node),
2231 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2232 * libglabels/xml.c: (gl_xml_get_prop_length):
2233 Re-classified g_warnings to g_messages.
2235 * src/glabels.c: (main):
2236 * src/warning-handler.c: (gl_warning_handler_init),
2238 * src/warning-handler.h:
2239 Added warning message handler to make sure the user is
2240 presented with appropriate non-fatal errors.
2241 * src/critical-error-handler.c: (critical_error_handler):
2242 Changed exit to abort.
2243 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2244 * src/bc-postnet.c: (postnet_code):
2245 * src/bc.c: (id_to_index), (name_to_index):
2246 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2247 * src/object-editor.c: (gl_object_notebook_construct_valist):
2248 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2249 * src/prefs.c: (gl_prefs_get_units_per_point),
2250 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2251 (gl_prefs_get_units_string):
2252 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2253 * src/splash.c: (gl_splash):
2254 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2255 * src/view-highlight.c: (gl_view_highlight_new),
2256 (highlight_resizable_box_construct), (object_changed_cb),
2257 (view_scale_changed_cb):
2258 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2259 (draw_markup_layer), (draw_markup_margin),
2260 (gl_view_object_create_mode), (canvas_event),
2261 (selection_received_cb):
2262 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2263 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2264 * src/xml-label-04.c: (gl_xml_label_04_parse),
2265 (xml04_parse_media_description), (xml04_parse_text_props),
2266 (xml04_parse_barcode_props):
2267 * src/xml-label-191.c: (gl_xml_label_191_parse),
2268 (xml191_parse_objects), (xml191_parse_object),
2269 (xml191_parse_text_props), (xml191_parse_image_props),
2270 (xml191_parse_barcode_props), (xml191_parse_data),
2271 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2272 (xml191_parse_markup):
2273 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2274 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2275 (xml_parse_object_text), (xml_parse_object_image),
2276 (xml_parse_object_barcode), (xml_parse_data),
2277 (xml_parse_toplevel_span), (gl_xml_label_save),
2278 (xml_create_objects):
2279 Re-classified g_warnings to g_messages.
2280 * src/merge-evolution.c: (gl_merge_evolution_open),
2281 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2282 Use g_warning to output errors encountered while
2283 communicating with the evolution data server
2284 instead of embedding them in the data.
2286 2005-12-08 Jim Evins <evins@snaught.com>
2288 * libglabels/libglabels-private.h:
2290 * libglabels/paper.c: (read_papers):
2291 * libglabels/template.c: (read_templates):
2292 Made appropriate warnings critical.
2294 * src/critical-error-handler.h:
2295 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2296 (critical_error_handler):
2297 Created critical error handler.
2298 * src/glabels.c: (main):
2299 Register critical error handler.
2300 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2301 * src/object-editor.c: (gl_object_editor_init):
2302 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2303 * src/template-designer.c: (gl_template_designer_init):
2304 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2305 Made appropriate warnings critical.
2307 2005-11-27 Jim Evins <evins@snaught.com>
2309 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2310 (gl_merge_evolution_get_primary_key),
2311 (gl_merge_evolution_get_record):
2312 Don't create "record_key" pseudo-key. Don't populate
2313 fields with null data.
2315 2005-11-25 Jim Evins <evins@snaught.com>
2317 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2318 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2319 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2321 Query EDS for all supported fields. Patch provided by
2322 Austin Henry <ahenry@users.sourceforge.net>.
2324 2005-10-29 Jim Evins <evins@snaught.com>
2326 * src/glabels.c: (main):
2327 * src/label-barcode.c: (gl_label_barcode_finalize):
2328 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2329 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2330 * src/object-editor.c: (gl_object_editor_finalize):
2331 Another pass at valgrinding -- plugged several memory leaks.
2332 * src/view-text.c: (gl_view_text_new),
2333 (update_canvas_item_from_object_cb), (draw_hacktext):
2334 Commented out artifacts of edit-in-place code.
2336 2005-10-28 Jim Evins <evins@snaught.com>
2338 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2339 Fixed use of uninitialized variable. Caught by
2340 d binderman <dcb314@hotmail.com>.
2342 2005-10-27 Jim Evins <evins@snaught.com>
2344 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2345 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2347 Additional cleanup of EDS and vcard backends. Provided by
2348 Austin Henry <ahenry@users.sourceforge.net>.
2350 2005-10-24 Jim Evins <evins@snaught.com>
2354 * src/merge-evolution.c:
2355 * src/merge-evolution.h:
2356 * src/merge-init.c: (gl_merge_init):
2357 * src/merge-properties-dialog.c: (type_changed_cb):
2358 * src/merge-vcard.c:
2359 * src/merge-vcard.h:
2360 * src/ui-commands.c: (gl_ui_cmd_help_about):
2361 Added Evolution Data Server and VCard merge backends. Original patch
2362 provided by Austin Henry <ahenry@users.sourceforge.net>.
2364 Only support EDS and VCard backends if libebook is installed. Allow
2365 user to disable support, even if installed.
2367 2005-10-24 Jim Evins <evins@snaught.com>
2370 * data/templates/avery-iso-templates.xml:
2371 * data/templates/avery-us-templates.xml:
2372 * data/templates/misc-iso-templates.xml:
2373 * data/templates/zweckform-iso-templates.xml:
2374 Collected all template changes and submissions since last
2377 2005-10-23 Jim Evins <evins@snaught.com>
2380 * data/mime/Makefile.am:
2381 Added configure options to disable update-mime-database and
2382 update-desktop-database as part of the install. Patch
2383 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2385 2005-10-23 Jim Evins <evins@snaught.com>
2388 * libglabels/xml.c: (gl_xml_get_prop_string),
2389 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2390 (gl_xml_is_node), (gl_xml_get_node_content):
2391 Added new XML utility functions.
2392 * libglabels/xml-paper.c:
2393 * libglabels/xml-template.c:
2395 Cleanup by using new xml utilities created above.
2396 * libglabels/paper.c: (gl_paper_free):
2397 * src/file.c: (new_response):
2398 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2399 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2400 (gl_pixbuf_cache_get_pixbuf):
2401 * src/ui-property-bar.c:
2402 (gl_ui_property_bar_construct_color_combo):
2403 * src/view-highlight.c: (gl_view_highlight_finalize):
2404 * src/view-image.c: (update_object_from_editor_cb):
2405 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2406 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2407 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2408 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2409 (draw_markup_margin_round), (draw_markup_margin_cd),
2410 (draw_markup_margin_cd_bc):
2411 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2412 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2413 Plugged various memory leaks located with valgrind.
2414 * src/view-image.c: (update_canvas_item_from_object_cb):
2415 Don't allow a width or height of zero when drawing pixbuf.
2417 2005-10-22 Jim Evins <evins@snaught.com>
2419 * libglabels/xml-paper.c:
2420 * libglabels/xml-template.c:
2423 * src/bc-gnubarcode.c:
2424 * src/canvas-hacktext.c:
2426 * src/object-editor-data-page.c:
2427 * src/print-dialog.c:
2430 * src/template-designer.c:
2432 * src/ui-property-bar.c:
2434 * src/view-barcode.c:
2436 * src/view-ellipse.c:
2441 * src/wdgt-media-select.c:
2442 * src/xml-label-04.c:
2443 * src/xml-label-191.c:
2445 Modified to compile warning free with gcc-4.0. Mostly
2446 casting to change signedness of characters. Did not
2447 attack gnu-barcode library yet.
2449 2005-10-22 Jim Evins <evins@snaught.com>
2451 * src/glabels.c: (main):
2452 * src/splash.c: (gl_splash):
2453 Removed some small memory leaks.
2457 2005-09-19 Jim Evins <evins@snaught.com>
2459 * data/glade/property-bar.glade:
2460 Remove items from font_family_combo. This prevents the
2461 double entry after adding text model and list of fonts.
2462 * src/ui-property-bar.c: (reset_to_default_properties):
2463 Free font_family_list.
2465 2005-07-01 Jim Evins <evins@snaught.com>
2468 Updated italian translation (Daniele Medri)
2470 2005-06-26 Jim Evins <evins@snaught.com>
2472 * docs/libglabels/libglabels-decl-list.txt:
2473 Somehow never got checked in before.
2474 * docs/libglabels/libglabels.types:
2475 Removed -- don't need it afterall.
2477 2005-06-20 Jim Evins <evins@snaught.com>
2480 Final prep for 2.1.1 release.
2482 2005-06-20 Jim Evins <evins@snaught.com>
2485 Final preps for 2.1.1 release.
2486 * docs/libglabels/libglabels.types:
2487 Somehow never got checked in before.
2489 Bring up-to-date with recent reorg of ui code.
2492 2005-06-19 Jim Evins <evins@snaught.com>
2494 * src/template-designer.c: (construct_layout_page):
2495 Removed attempt to match background color of mini preview widget to
2498 2005-06-17 Jim Evins <evins@snaught.com>
2500 * help/C/figures/merge-ex2-4.png:
2501 * help/C/glabels.xml:
2502 Fixed spelling error.
2504 2005-06-13 Jim Evins <evins@snaught.com>
2506 * help/C/figures/merge-ex1-1.png:
2507 * help/C/figures/merge-ex1-2.png:
2508 * help/C/figures/merge-ex1-3.png:
2509 * help/C/figures/merge-ex1-4.png:
2510 * help/C/figures/merge-ex2-1.png:
2511 * help/C/figures/merge-ex2-2.png:
2512 * help/C/figures/merge-ex2-3.png:
2513 * help/C/figures/merge-ex2-4.png:
2514 Added figures for document merge tutorial.
2515 * help/C/glabels.xml:
2516 Added document merge tutorial.
2518 2005-05-19 Jim Evins <evins@snaught.com>
2520 * data/glade/merge-properties-dialog.glade:
2521 Fixed irregular spacing.
2522 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2523 (gl_merge_properties_dialog_construct):
2524 Set outer padding and remove separator.
2526 2005-05-18 Jim Evins <evins@snaught.com>
2530 Removed glHigDialog class.
2531 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2532 (gl_file_properties), (create_properties_dialog_widgets):
2533 * src/prefs-dialog.h:
2534 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2535 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2536 * src/print-dialog.h:
2537 * src/prefs-dialog.h:
2538 * src/print-dialog.c: (gl_print_dialog_get_type),
2539 (gl_print_dialog_init), (gl_print_dialog_construct):
2540 Replaced all instances of glHigDialog with GtkDialog.
2542 2005-05-17 Jim Evins <evins@snaught.com>
2546 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2547 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2548 (save_as_response), (gl_file_close):
2549 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2551 2005-05-15 Jim Evins <evins@snaught.com>
2553 * src/ui-commands.h:
2561 A little code reformatting -- no functional changes.
2563 2005-05-14 Jim Evins <evins@snaught.com>
2566 Removed obsolete macros.
2568 Added marshalling template to support new view signal: "context_menu_activate."
2570 * src/view.c: (gl_view_class_init), (gl_view_construct),
2571 (canvas_event_arrow_mode):
2572 - Removed hardcoded context menus and added new signal "context_menu_activate"
2573 to push this up to the uimanager.
2574 - Removed merge properties and print dialogs so that they can be managed with
2575 the window by the uimanager.
2576 * src/merge-properties-dialog.h:
2577 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2578 (gl_merge_properties_dialog_construct):
2579 Changed calling convention of gl_merge_properties_dialog_new() to use
2580 glLabel and GtkWindow instead of view to make more consistent with other
2582 * src/print-dialog.h:
2583 * src/print-dialog.c: (gl_print_dialog_new),
2584 (gl_print_dialog_construct):
2585 Removed last artifact of libbonoboui.
2586 * src/ui-commands.c: (gl_ui_cmd_file_print),
2587 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2588 Reconciled style for launching dialogs.
2589 * src/ui.c: (gl_ui_new):
2590 Added context menus to ui manager.
2591 * src/view-object.c: (item_event_arrow_mode):
2592 No longer try to select objects with right-click.
2594 * src/window.c: (gl_window_init), (gl_window_set_label),
2595 (context_menu_activate_cb):
2596 Context menus and all dialogs are now managed in a consistent way in window
2599 2005-05-11 Jim Evins <evins@snaught.com>
2602 * src/window.c: (gl_window_init), (gl_window_destroy):
2603 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2604 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2605 Moved management of recent_view back from window.c to ui.c -- it just feels
2608 2005-05-10 Jim Evins <evins@snaught.com>
2611 * src/window.c: (gl_window_init):
2613 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2614 (menu_item_select_cb), (menu_item_deselect_cb):
2615 Added GtkStatusbar which displays menu tooltips.
2617 2005-05-09 Jim Evins <evins@snaught.com>
2619 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2624 Removed dependencies on libbonoboui.
2626 * data/ui/Makefile.am:
2627 * data/ui/glabels-ui.xml:
2628 Removed data/ui directory.
2629 * data/glade/Makefile.am:
2630 * data/property-bar.glade:
2631 Added glade description of property-bar for new libglade implementation
2638 * src/ui-commands.h:
2639 * src/ui-commands.c:
2640 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2641 since the distinction between "commands" and "tools" is no longer that clear.
2644 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2645 no longer has knowledge of eggRecent*.
2646 * src/glabels.c: (main):
2647 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2649 * src/object-editor.c: (gl_object_editor_init):
2650 Make sure notebook does not respond to a "show_all" on the parent.
2651 * src/recent-files/Makefile.am:
2652 * src/recent-files/*.[ch]
2653 Updated from latest version of libegg which now has a view based on
2654 GtkUIManager. Removed unused bonobo and gtk views.
2655 * src/ui-property-bar.h:
2656 * src/ui-property-bar.c:
2657 New implementation based on libglade.
2660 Sidebar is now simply a GtkWidget and does not expect to be a part of
2661 a libbonoboui interface.
2666 Converted for use with GtkUIManager.
2669 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2670 to create menus and toolbars.
2672 2005-04-25 Jim Evins <evins@snaught.com>
2674 * data/templates/misc-iso-templates.xml:
2675 Added Fellows 04715 template provided by Steve Saxon.
2677 Updated acknowledgement for above.
2679 2005-04-23 Jim Evins <evins@snaught.com>
2681 * src/util.c: (gl_util_combo_box_set_strings):
2682 Make sure to clear model before loading a new list of strings.
2683 * src/wdgt-media-select.h:
2684 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2685 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2686 (template_combo_changed_cb), (prefs_changed_cb),
2687 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2688 (gl_wdgt_media_select_get_page_size),
2689 (gl_wdgt_media_select_set_page_size):
2690 Replaced the deprecated GtkCombo widget with the new
2693 2005-04-21 Jim Evins <evins@snaught.com>
2695 * data/glade/template-designer.glade:
2696 * src/template-designer.c: (construct_pg_size_page),
2697 (pg_size_page_changed_cb), (build_template):
2698 Replaced the deprecated GtkCombo widget with the new
2701 2005-04-20 Jim Evins <evins@snaught.com>
2703 * data/glade/prefs-dialog.glade:
2704 * src/prefs-dialog.c: (construct_object_page),
2705 (update_object_page_from_prefs), (update_prefs_from_object_page):
2706 Replaced the deprecated GtkCombo widget with the new
2709 2005-04-19 Jim Evins <evins@snaught.com>
2711 * data/glade/object-editor.glade:
2712 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2713 (style_changed_cb), (gl_object_editor_set_bc_style),
2714 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2715 (gl_object_editor_get_bc_color):
2716 * src/object-editor-data-page.c:
2717 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2718 (gl_object_editor_get_data):
2719 * src/object-editor-edit-page.c:
2720 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2721 * src/object-editor-fill-page.c:
2722 (gl_object_editor_prepare_fill_page),
2723 (gl_object_editor_set_fill_color),
2724 (gl_object_editor_get_fill_color):
2725 * src/object-editor-image-page.c:
2726 (gl_object_editor_prepare_image_page),
2727 (gl_object_editor_set_image), (gl_object_editor_get_image):
2728 * src/object-editor-line-page.c:
2729 (gl_object_editor_prepare_line_page),
2730 (gl_object_editor_set_line_color),
2731 (gl_object_editor_get_line_color):
2732 * src/object-editor-private.h:
2733 * src/object-editor-text-page.c:
2734 (gl_object_editor_prepare_text_page),
2735 (gl_object_editor_set_font_family),
2736 (gl_object_editor_get_font_family),
2737 (gl_object_editor_set_text_color),
2738 (gl_object_editor_get_text_color):
2739 * src/object-editor.c: (gl_object_editor_set_key_names):
2741 In the object editor: replaced all instances of the deprecated
2742 GtkCombo widget with the new GtkComboBox.
2744 2005-04-18 Jim Evins <evins@snaught.com>
2747 Neglected to save this one in previous checkin to support
2750 2005-04-17 Jim Evins <evins@snaught.com>
2752 * libglabels/libglabels-private.h:
2753 * libglabels/paper.c:
2754 * libglabels/paper.h:
2755 * libglabels/template.c:
2756 * libglabels/template.h:
2757 * libglabels/xml-paper.c:
2758 * libglabels/xml-paper.h:
2759 * libglabels/xml-template.c:
2764 * src/bc-gnubarcode.c:
2775 * src/label-barcode.c:
2777 * src/label-ellipse.c:
2778 * src/label-image.c:
2779 * src/label-image.h:
2781 * src/label-object.c:
2785 * src/merge-properties-dialog.c:
2786 * src/object-editor-bc-page.c:
2787 * src/object-editor-data-page.c:
2788 * src/object-editor-edit-page.c:
2789 * src/object-editor-fill-page.c:
2790 * src/object-editor-image-page.c:
2791 * src/object-editor-line-page.c:
2792 * src/object-editor-lsize-page.c:
2793 * src/object-editor-position-page.c:
2794 * src/object-editor-private.h:
2795 * src/object-editor-size-page.c:
2796 * src/object-editor-text-page.c:
2797 * src/object-editor.c:
2798 * src/object-editor.h:
2799 * src/pixbuf-cache.h:
2800 * src/prefs-dialog.c:
2801 * src/prefs-dialog.h:
2802 * src/prefs-model.c:
2803 * src/prefs-model.h:
2805 * src/print-dialog.c:
2806 * src/print-dialog.h:
2814 * src/template-designer.c:
2815 * src/template-designer.h:
2818 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2824 * src/view-barcode.c:
2826 * src/view-ellipse.c:
2827 * src/view-highlight.c:
2828 * src/view-highlight.h:
2831 * src/view-object.c:
2832 * src/view-object.h:
2836 * src/wdgt-chain-button.c:
2837 * src/wdgt-media-select.c:
2838 * src/wdgt-media-select.h:
2839 * src/wdgt-mini-preview.c:
2840 * src/wdgt-mini-preview.h:
2841 * src/wdgt-print-copies.c:
2842 * src/wdgt-print-copies.h:
2843 * src/wdgt-print-merge.c:
2844 * src/wdgt-print-merge.h:
2845 * src/wdgt-rotate-label.c:
2846 * src/wdgt-rotate-label.h:
2849 * src/xml-label-04.c:
2850 * src/xml-label-191.c:
2852 Cleanup of header files:
2853 - all header files are now stand-alone, verified by including
2854 first in corresponding "c" files
2855 - replaced blanket includes of gnome, gtk, and glib with
2858 2005-04-16 Jim Evins <evins@snaught.com>
2860 * data/glade/Makefile.am:
2861 * data/glade/merge-properties-dialog.glade:
2862 Added merge properties dialog glade description file.
2863 * src/merge-properties-dialog.h:
2864 * src/merge-properties-dialog.c:
2865 (gl_merge_properties_dialog_get_type),
2866 (gl_merge_properties_dialog_init),
2867 (gl_merge_properties_dialog_finalize),
2868 (gl_merge_properties_dialog_new),
2869 (gl_merge_properties_dialog_construct), (type_changed_cb),
2870 (src_changed_cb), (response_cb), (load_tree),
2871 (record_select_toggled_cb), (select_all_button_clicked_cb),
2872 (unselect_all_button_clicked_cb):
2873 Modified merge properties dialog to use libglade. Added
2874 "select all" and "unselect all" buttons.
2875 * src/merge-text.c: (parse_line):
2876 Handle empty lines better.
2877 * src/merge.c: (gl_merge_eval_key):
2878 Evaluate the key whether the record is selected or not.
2880 * src/util.c: (gl_util_combo_box_add_text_model):
2881 Since libglade does not use the gtk_combo_box_new_text()
2882 constructor for GtkComboBoxes, a utility function was created
2883 to add an appropriate text model to a GtkComboBox.
2884 * src/view.c: (gl_view_edit_merge_props):
2885 Removed unnecessary "show all's".
2887 2005-04-15 Jim Evins <evins@snaught.com>
2890 Updated russian translation (Vitaly Lipatov)
2891 * data/templates/misc-iso-templates.xml:
2892 Added templates for russian business cards provided by Vitaly Lipatov.
2894 Updated acknowledgements for above.
2896 2005-04-15 Jim Evins <evins@snaught.com>
2898 * data/templates/avery-us-templates.xml:
2899 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2900 * data/templates/misc-iso-templates.xml:
2901 Added Ryman standard CD/DVD template, provided by Dan Clark.
2903 Added acknowledgements for above.
2905 2005-04-10 Jim Evins <evins@snaught.com>
2907 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2908 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2909 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2910 (xml_parse_label_cd_node), (xml_parse_alias_node):
2911 * libglabels/xml.c: (gl_xml_get_prop_double),
2912 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2913 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2914 * src/xml-label-04.c: (xml04_parse_media_description),
2915 (xml04_parse_text_props), (xml04_parse_barcode_props),
2916 (xml04_parse_merge_properties):
2917 * src/xml-label-191.c: (xml191_parse_object),
2918 (xml191_parse_text_props), (xml191_parse_barcode_props),
2919 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2920 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2921 (xml191_parse_alias):
2922 * src/xml-label.c: (xml_parse_object_text),
2923 (xml_parse_object_barcode), (xml_parse_merge_fields),
2924 (xml_parse_pixdata), (xml_parse_toplevel_span):
2925 Make sure to use xmlFree for anything obtained from libxml
2926 in case libxml and glib use different memory management
2929 2005-04-08 Jim Evins <evins@snaught.com>
2932 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2933 (gl_util_combo_box_set_active_text):
2934 Added utility functions to simplify working with GtkComboBox
2936 * src/ui-property-bar.h:
2937 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2938 (reset_to_default_properties), (update_text_properties),
2939 (font_family_changed_cb):
2940 Replaced deprecated GtkCombo with GtkComboBox.
2943 2005-04-03 Jim Evins <evins@snaught.com>
2946 * src/wdgt-image-select.h:
2947 * src/wdgt-image-select.c:
2948 Removed obsolete wdgt-image-select.[ch] files.
2949 * libglabels/paper.c: (gl_paper_dup):
2950 Fixed rename of parameter introduced during documentation
2952 * data/glade/object-editor.glade:
2953 * src/object-editor-image-page.c:
2954 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2955 (gl_object_editor_set_image), (gl_object_editor_get_image),
2956 (update_preview_cb), (add_image_filters_to_chooser):
2957 * src/object-editor-private.h:
2958 Replaced deprecated GnomePixmapEntry with
2959 GtkFileChooserButton.
2961 2005-04-02 Jim Evins <evins@snaught.com>
2963 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2964 (mygal_combo_box_popup_hide_unconditional),
2965 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2966 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2967 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2968 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2969 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2970 Renamed all internal gtk_combo functions to mygal_combo
2971 to prevent namespace confusion.
2973 2005-04-02 Jim Evins <evins@snaught.com>
2975 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2976 (cust_color_set), (color_palette_setup):
2977 * src/mygal/color-palette.h:
2978 Replaced deprecated GnomeColorPicker with GtkColorButton.
2980 2005-04-02 Jim Evins <evins@snaught.com>
2982 * docs/libglabels/libglabels-sections.txt:
2983 * docs/libglabels/libglabels-undocumented.txt:
2984 * docs/libglabels/tmpl/enums.sgml:
2985 * docs/libglabels/tmpl/paper.sgml:
2986 * docs/libglabels/tmpl/xml-paper.sgml:
2987 * docs/libglabels/tmpl/xml-template.sgml:
2988 * libglabels/enums.h:
2989 * libglabels/paper.c: (gl_paper_dup):
2990 * libglabels/paper.h:
2991 * libglabels/xml-paper.c:
2992 * libglabels/xml-template.c:
2993 More documentation updates for libglabels.
2995 2005-03-23 Jim Evins <evins@snaught.com>
2998 Automatically updated.
3003 * docs/libglabels/Makefile.am:
3004 * docs/libglabels/libglabels-docs.sgml:
3005 * docs/libglabels/libglabels-sections.txt:
3006 * docs/libglabels/libglabels-undocumented.txt:
3007 * docs/libglabels/tmpl/enums.sgml:
3008 * docs/libglabels/tmpl/libglabels-unused.sgml:
3009 * docs/libglabels/tmpl/libglabels.sgml:
3010 * docs/libglabels/tmpl/paper.sgml:
3011 * docs/libglabels/tmpl/template.sgml:
3012 * docs/libglabels/tmpl/xml-paper.sgml:
3013 * docs/libglabels/tmpl/xml-template.sgml:
3014 * docs/libglabels/tmpl/xml.sgml:
3015 Added basic gtk-doc stuff to support documenting libglabels
3018 Updated function comments with gtk-doc markup.
3022 2005-03-22 Jim Evins <evins@snaught.com>
3024 Since the development version now requires gtk-2.6/gnome-2.10, I
3025 have made a first pass at removing deprecations.
3028 * libglabels/Makefile.am:
3030 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3031 Also removed all remnants of HAVE_FILECHOOSER.
3032 * src/file.c: (gl_file_open_real):
3033 Removed code for old GtkFileSelection.
3034 * libglabels/libglabels-private.h:
3035 * libglabels/paper.c:
3036 * libglabels/template.c:
3037 * libglabels/xml-paper.c:
3038 * libglabels/xml-template.c:
3042 * src/glabels-batch.c:
3046 * src/merge-properties-dialog.c:
3048 * src/object-editor.c:
3049 * src/prefs-dialog.c:
3051 * src/print-dialog.c:
3054 * src/template-designer.c:
3055 * src/ui-property-bar.c:
3057 * src/view-barcode.c:
3059 * src/view-ellipse.c:
3064 * src/wdgt-image-select.c:
3065 * src/wdgt-media-select.c:
3066 * src/wdgt-print-copies.c:
3067 * src/wdgt-print-merge.c:
3068 * src/wdgt-rotate-label.c:
3070 * src/xml-label-04.c:
3071 * src/xml-label-191.c:
3073 Added '#include <glib/gi18n.h>" where needed.
3074 Removed any unused '#include <gnome.h>"s.
3076 2005-03-22 Jim Evins <evins@snaught.com>
3078 * src/commands.c: (activate_url), (gl_cmd_help_about):
3079 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3080 development version of glabels now depends on GTK 2.6 and
3083 Updated library dependencies.
3085 2005-02-28 Jim Evins <evins@snaught.com>
3088 * data/templates/misc-iso-templates.xml:
3089 Added 'Ednet 45021' template provided by Ali Akcaagac
3092 2005-02-14 Jim Evins <evins@snaught.com>
3094 * data/templates/avery-us-templates.xml:
3095 Updated templates to use inches instead of points.
3096 * src/print-dialog.c: (printer_page_new):
3097 Changed packing style when adding printer selector widget. This fixes
3100 2005-02-13 Jim Evins <evins@snaught.com>
3104 Updated spanish translations. (sergio rivadero)
3106 2005-02-05 Jim Evins <evins@snaught.com>
3108 Some cleanup to libglabels.
3111 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3112 * libglabels/libglabels.pc.in
3114 * libglabels/enums.h
3115 Created. Currently only contains glUnitsType which provides enumerations
3116 for all possible units of distance.
3117 * libglabels/Makefile.am:
3118 Incorporated new files enums.h and libglabels.pc[.in].
3119 * libglabels/libglabels.h:
3121 * libglabels/template.h:
3122 * libglabels/template.c: (gl_template_layout_new):
3123 Changed parameters nx and ny to gint from gdouble.
3125 * libglabels/xml.c: (gl_xml_get_prop_length),
3126 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3127 Added support for different output units.
3128 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3129 (update_prefs_from_locale_page):
3130 * src/prefs-model.c: (string_to_units), (units_to_string):
3131 * src/prefs-model.h:
3132 * src/prefs.c: (gl_prefs_get_units_per_point),
3133 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3134 (gl_prefs_get_units_string):
3136 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3137 Reconciled all length enumerations with the new enumerations provided
3138 in libglabels/enums.h.
3140 2005-02-03 Jim Evins <evins@snaught.com>
3143 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3145 Updated Italian translations. (Daniele Medri)
3147 Updated credits to reflect above translations.
3150 2005-01-22 Jim Evins <evins@snaught.com>
3155 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3157 Final prep for 2.1.0.
3159 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3161 Added '--remove-original' flag to desktop-file-install, so that there is
3162 only one menu entry.
3164 2005-01-20 Jim Evins <evins@snaught.com>
3166 * data/glade/object-editor.glade:
3167 - Font family entry should not be editable.
3168 - img_key_entry should have sensitivity=YES, so that it follows the
3169 sensitivity of img_key_combo.
3171 2005-01-19 Jim Evins <evins@snaught.com>
3174 Give credit to Frederic Ruaudel for the color merge patches.
3176 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3178 Add support to merge color for all other color attribute (Feature
3179 Requests item #1008635. If the data is invalid, the color used is transparent
3180 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3181 by gdk_color_parse() these include name for a color from rgb.txt, such as
3182 DarkSlateGray, or a hex specification such as #305050. File format has been
3183 changed but backward compatibility is preserved for all format. For
3184 box/ellipse/line, keep attribute "line_color" for static color or replace by
3185 "line_color_field" for merge data. For text/barcode objects, keep attribute
3186 "color" for static color or replace by "color_field" for merge data. In the
3187 edit canvas window, merged color are represented by half-transparent black
3190 * data/dtd/glabels-2.0.dtd:
3191 Added line_color_field to line_attrs. Added color_field to
3192 Object-barcode and Span.
3193 * data/glade/object-editor.glade:
3194 Modify the layout of the editor to add merge possibility to color options
3196 Fix a copy/paste error in a comment
3198 Add default color for merge color representation in the editor canvas.
3199 * src/label-barcode.c:
3200 * src/object-editor-bc-page.c:
3201 * src/view-barcode.c:
3202 Add merge color support for barcode color.
3205 Add merge color support for box border color.
3206 * src/label-ellipse.c:
3207 * src/view-ellipse.c:
3208 Add merge color support for ellipse border color.
3211 Add merge color support for line color.
3212 * src/label-object.c:
3213 * src/label-object.h:
3214 * src/object-editor.c:
3215 * src/object-editor.h:
3216 * src/ui-property-bar.c:
3219 * src/xml-label-04.c:
3220 * src/xml-label-191.c:
3221 Add support for merging to other color attribute.
3223 * src/object-editor-text-page.c:
3225 Add merge color support for text color.
3226 * src/object-editor-fill-page.c:
3227 Change a blocked handler that didn't match the good widget. Fix the type
3228 of some debug message.
3229 * src/object-editor-line-page.c:
3230 Add merging support to line color option.
3231 * src/object-editor-private.h:
3232 Add variables for new widget.
3234 Modify the draw functions to get merge data if needed.
3236 Change the default size of the window in order to see all widget in the
3237 "text style tab" of the editor.
3239 Modify the parser to record/retreive the field value for objects that need
3240 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3241 static color or replace by "line_color_field" for merge data. For
3242 text/barcode objects, keep attribute "color" for static color or replace
3243 by "color_field" for merge data.
3245 2005-01-17 Jim Evins <evins@snaught.com>
3247 * src/view.c: (screen_changed_cb):
3248 Don't do anything if we don't have a screen.
3250 2005-01-06 Jim Evins <evins@snaught.com>
3252 * src/view.c: (get_home_scale):
3253 Fixed bad call to gtk_widget_has_screen() -- huh?.
3255 2005-01-06 Jim Evins <evins@snaught.com>
3257 * data/dtd/glabels-2.0.dtd:
3258 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3261 2005-01-06 Jim Evins <evins@snaught.com>
3263 * data/glade/object-editor.glade:
3264 Set entries for fill and data field key dropdowns to NOT editable.
3265 * src/view-box.c: (construct_properties_editor):
3266 * src/view-ellipse.c: (construct_properties_editor):
3267 Update object editor when label's merge property has changed.
3268 * src/xml-label.c: (xml_parse_object_ellipse):
3269 Completed the merge color support for the ellipse item.
3271 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3273 Add support to merge color for object that have a "Fill color" attribute (Feature
3274 Requests item #1008635. If the data is invalid, the color used is transparent
3275 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3276 by gdk_color_parse() these include name for a color from rgb.txt, such as
3277 DarkSlateGray, or a hex specification such as #305050. File format has been
3278 changed but backward compatibility is preserved for all format. For box/ellipse,
3279 keep attribute "fill_color" for static color or replace by "fill_color_field"
3282 * data/glade/object-editor.glade:
3283 Modify "Fill" tab to add the merge key combo and convert the labels into
3287 Add "glColorNode" structure and associated functions to manage it. This
3288 structure is equivalent for color than the "glTextNode". It holds the color
3290 * src/label-object.h:
3291 * src/label-object.c:
3293 * src/label-ellipse.c:
3294 * src/ui-property-bar.c:
3298 * src/view-ellipse.c:
3299 * src/xml-label-04.c:
3300 * src/xml-label-191.c:
3301 Change functions of objects that have a "fill color" attribute to use the
3302 new "glColorNode" structure. Use barcode code as example.
3304 Add the color.[ch] file to glabels_batch binary that now need support for
3306 * src/object-editor.h:
3307 * src/object-editor.c:
3308 * src/object-editor-fill-page.c:
3309 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3310 to choose between static color or merge key. Use barcode code as example.
3311 * src/object-editor-private.h:
3312 Add new widget in the "_glObjectEditorPrivate" structure.
3314 Modify the draw functions to get merge data if needed.
3316 Modify the parser to record/retreive the field value for objects that need
3317 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3318 color or "fill_color_field" for merge data.
3320 2005-01-04 Jim Evins <evins@snaught.com>
3323 * data/templates/avery-iso-templates.xml:
3324 * data/templates/misc-iso-templates.xml:
3325 * data/templates/misc-us-templates.xml:
3326 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3329 2004-11-26 Jim Evins <evins@snaught.com>
3333 Updated french translations provided by Florent Morel <florent@taket.org>.
3334 * src/view-barcode.c:
3336 * src/view-ellipse.c:
3340 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3341 thus _() strings were not being translated.
3343 2004-11-14 Jim Evins <evins@snaught.com>
3346 * src/debug.c: (gl_debug_init), (gl_debug):
3347 Borrowed from gedit: use environmental variables to select debug
3350 Removed unused include of debug.h.
3351 * src/glabels.c: (main):
3352 Added call to gl_debug_init(), and removed debug clutter from command line
3354 * src/glabels-batch.c: (main):
3355 Added call to gl_debug_init().
3357 2004-11-13 Jim Evins <evins@snaught.com>
3359 Drawing and property toolbars were being initialized with the "icons and text"
3360 look in Fedora Core 3. Even though none of the buttons had any text attached to
3361 them, the buttons were being sized as if they were. This led to less real estate
3362 for the property editor, leading to Bug #1064630. The
3364 * data/ui/glabels-ui.xml:
3365 Added explicit "look" property to both drawing and property toolbars.
3366 * src/prefs-model.c: (gl_prefs_model_save_settings),
3367 (gl_prefs_model_load_settings):
3368 * src/prefs-model.h:
3369 Removed drawing_toolbar_button_style configuration parameter.
3370 * src/ui.c: (view_menu_item_toggled_cb),
3371 (set_app_drawing_toolbar_style):
3372 Do not attempt to adjust look property of the drawing toolbar.
3374 2004-10-28 Jim Evins <evins@snaught.com>
3376 * data/pixmaps/glabels-about-logo.png:
3379 2004-10-28 Jim Evins <evins@snaught.com>
3381 * data/man/glabels.1:
3382 * src/glabels-batch.c: (main):
3384 * src/print.c: (gl_print_batch):
3386 Added option to glabels-batch to select the first label to begin
3389 2004-09-26 Jim Evins <evins@snaught.com>
3391 * data/desktop/glabels.desktop.in:
3392 Point to app icon, "glabels.png"
3393 * data/mime/glabels.keys.in:
3394 Point at mime icon, "glabels-application-x-glabels.png"
3395 * data/pixmaps/Makefile.am:
3396 Added glabels_app_icondir. Renamed icons.
3397 * data/pixmaps/glabels.png:
3398 New cleaned up app icon. Deleted glabels-icon.png.
3399 * data/pixmaps/glabels-application-x-glabels.png:
3401 * data/pixmaps/glabels-splash.png:
3402 Renamed glabels-logo to glabels-splash to be more correct about role.
3404 * src/template-designer.c:
3405 Point at app icon, "glabels.png"
3407 Point at renamed splash image, "glabels-splash.png"
3409 2004-08-22 Jim Evins <evins@snaught.com>
3412 * src/glabels-batch.c: (main):
3413 Applied patch with minor mods to allow selecting merge source and
3414 crop-marks on glabels-batch's command line. Original patch provided by
3415 José Dapena Paz <jdapena@igalia.com>.
3417 2004-08-15 Jim Evins <evins@snaught.com>
3419 * data/desktop/glabels.desktop.in:
3420 - Added encoding line
3421 - Removed period from comment
3422 - Fixed Terminal line, changed "0" to "false"
3423 - Added semicolen to Categories line
3425 - Made sure desktop.in comment string above still translated properly
3427 2004-08-14 Jim Evins <evins@snaught.com>
3429 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3430 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3431 * src/xml-label-191.c: (xml191_parse_sheet):
3432 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3434 Reconciled libglabels versioning with 2.0.1.
3437 2004-08-14 Jim Evins <evins@snaught.com>
3440 Updated version to 2.1cvs.
3442 2004-08-14 Jim Evins <evins@snaught.com>
3445 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3447 2004-08-14 Jim Evins <evins@snaught.com>
3449 Fixes for Bug #1008181.
3451 * src/bc.c: (gl_barcode_default_digits):
3452 Make a format of zero digits, harmless.
3453 * src/xml-label.c: (xml_parse_object_barcode):
3454 Set default value of the format property of barcode objects to 10, not
3455 zero. This will prevent crashes when reading pre 2.0.x files.
3457 2004-08-09 Jim Evins <evins@snaught.com>
3461 * help/C/glabels-C.omf:
3462 * help/C/glabels.xml:
3463 Brought documentation up-to-date for 2.0.0 release.
3465 2004-08-09 Jim Evins <evins@snaught.com>
3467 These are hopefully the final preparations for 2.0.0.
3469 * data/mime/Makefile.am:
3470 Include glabels.xml in EXTRA_DIST.
3472 - Updated comment style.
3473 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3474 - Added package and version info to configuration printout
3475 - Update version to 2.0.0
3476 * libglabels/Makefile.am:
3477 Use the new LIBGLABELS_VERSION_INFO macro.
3479 2004-08-09 Jim Evins <evins@snaught.com>
3483 Cleanup of required library macros.
3485 2004-08-08 Jim Evins <evins@snaught.com>
3489 - More specific of what to install in /usr/bin and /usr/lib
3490 - Remove built mime registration files from staging directory
3492 2004-08-08 Jim Evins <evins@snaught.com>
3494 * data/mime/Makefile.am:
3495 Fixed typo: key_files should have been keys_files.
3497 2004-08-08 Jim Evins <evins@snaught.com>
3499 Reorganization of runtime data files. Also added registration of mimetype with
3500 new freedesktop.org mime database if available.
3503 Moved files to appropriate subdirectories, creating local Makefile.am
3504 in each subdirectory.
3505 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3506 These are now installed at $datadir/glabels/templates.
3507 - Moved glabels.1 to man subdirectory.
3508 - Moved glabels-2.0.dtd to dtd subdirectory.
3509 - Moved glabels.desktop.in to desktop subdirectory.
3510 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3512 Moved "./pixmaps" to "./data/pixmaps"
3514 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3516 Moved libglade files from src to data/glade. Created Makefile.am.
3518 Removed pixmaps from SUBDIRS.
3520 - Removed pixmaps from makefiles.
3521 - Added makefiles for new subdirs of data.
3522 - Added tests for freedesktop.org mime database.
3524 - Added tests for freedesktop.org mime database for post install and
3525 post un-install actions.
3526 * libglabels/Makefile.am:
3527 Moved system template files to $(datadir)/glabels/templates.
3528 * libglabels/libglabels-private.h:
3529 Moved system template files to $(datadir)/glabels/templates.
3531 - Accounted for movement of ui and libglade files.
3532 - Added missing .in files.
3533 - Reorganized by directory.
3535 Accounted for movement of ui and libglade files.
3536 * data/mime/glabels.xml.in:
3537 New file for registering with freedesktop.org mime database.
3539 2004-08-07 Jim Evins <evins@snaught.com>
3541 * src/recent-files/*:
3542 Re-synced to latest libegg/recent-files.
3544 2004-08-07 Jim Evins <evins@snaught.com>
3549 Renamed "./doc" directory to "./help" which contains user documentation,
3550 to be more consistent with other GNOME applications.
3553 2004-07-26 Jim Evins <evins@snaught.com>
3555 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3556 Corrected button order of merge properties dialog.
3558 2004-07-18 Jim Evins <evins@snaught.com>
3560 * data/glabels-2.0.dtd:
3561 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3562 (gl_barcode_get_prefered_n):
3564 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3565 (gl_label_barcode_get_props), (get_size):
3566 * src/label-barcode.h:
3567 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3568 (style_changed_cb), (gl_object_editor_set_bc_style),
3569 (gl_object_editor_get_bc_style):
3570 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3571 (gl_object_editor_set_data), (gl_object_editor_get_data):
3572 * src/object-editor-private.h:
3573 * src/object-editor.c: (gl_object_editor_set_key_names):
3574 * src/object-editor.glade:
3575 * src/object-editor.h:
3576 * src/print.c: (draw_barcode_object):
3577 * src/view-barcode.c: (update_object_from_editor_cb),
3578 (update_editor_from_object_cb),
3579 (gl_view_barcode_create_event_handler), (draw_barcode):
3580 * src/xml-label-04.c: (xml04_parse_barcode_props):
3581 * src/xml-label-191.c: (xml191_parse_barcode_props):
3582 * src/xml-label.c: (xml_parse_object_barcode),
3583 (xml_create_object_barcode):
3584 Added "format" attribute to barcode objects. This attribute is used
3585 to properly format freeform barcodes barcodes prior to merge data is
3586 applied, so that barcodes can be accurately layed out. This addresses
3587 remaining issues of feature request #824787. Also added an example of
3588 the format in the object editor.
3590 2004-07-12 Jim Evins <evins@snaught.com>
3592 Various code cleanups.
3594 * src/label-barcode.c:
3595 Removed unneeded include of gnome-glyphlist.h.
3597 * src/label-text.c: (get_size):
3598 Fixed memory leak: unref glyphlists when done with them.
3600 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3601 * src/object-editor-data-page.c:
3602 (gl_object_editor_prepare_data_page):
3603 * src/object-editor-image-page.c:
3604 (gl_object_editor_prepare_image_page):
3605 * src/object-editor-line-page.c:
3606 (gl_object_editor_prepare_line_page):
3607 * src/object-editor-lsize-page.c:
3608 (gl_object_editor_prepare_lsize_page):
3609 * src/object-editor-position-page.c:
3610 (gl_object_editor_prepare_position_page):
3611 * src/object-editor-size-page.c:
3612 (gl_object_editor_prepare_size_page):
3613 * src/object-editor-text-page.c:
3614 (gl_object_editor_prepare_text_page):
3615 Removed unneeded size groups, originally intended to keep widgets aligned.
3616 Now use tables to lay these out in object-editor.glade.
3618 * src/print.c: (draw_text_object):
3619 Fixed memory leak: unref glyphlists when done with them.
3621 * src/view-barcode.c: (draw_barcode):
3622 Fixed memory leak: unref glyphlists when done with them.
3624 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3625 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3627 - Fixed memory leak: unref glyphlists when done with them.
3629 2004-07-11 Jim Evins <evins@snaught.com>
3631 * data/glabels-2.0.dtd:
3632 * src/label-text.c: (gl_label_text_instance_init), (copy),
3633 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3635 * src/object-editor-private.h:
3636 * src/object-editor-text-page.c:
3637 (gl_object_editor_prepare_text_page),
3638 (gl_object_editor_set_text_auto_shrink),
3639 (gl_object_editor_get_text_auto_shrink):
3640 * src/object-editor.c: (gl_object_editor_set_key_names):
3641 * src/object-editor.glade:
3642 * src/object-editor.h:
3643 * src/print.c: (draw_text_object):
3644 * src/view-text.c: (update_object_from_editor_cb),
3645 (update_editor_from_object_cb):
3646 * src/xml-label.c: (xml_parse_object_text),
3647 (xml_create_object_text):
3648 Added option to allow document merge to auto shrink text size to fit
3649 within the text box. The code in print.c that actually shrinks the
3650 text is loosely based on a patch submitted by Mark Harrison
3651 <mark.harrison@velocitynet.com.au>. This addresses feature request
3654 2004-07-11 Jim Evins <evins@snaught.com>
3656 * data/glabels-2.0.dtd:
3657 * libglabels/template.c: (gl_template_rect_label_type_new),
3658 (gl_template_round_label_type_new),
3659 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3660 (template_full_page):
3661 * libglabels/template.h:
3662 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3663 (xml_create_label_node):
3664 * pixmaps/ex-rect-size.png:
3665 * src/print.c: (clip_to_outline), (clip_punchouts):
3666 * src/template-designer.c: (construct_rect_size_page),
3667 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3669 * src/template-designer.glade:
3670 * src/xml-label-191.c: (xml191_parse_label):
3671 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3672 properties for rectangular labels. Templates remain backwards compatible,
3673 but this breaks the libglabels API (I don't know of anyone outside of
3674 glabels using libglabels at this time -- what can I say, the program is
3675 is still "unstable"). This addresses the suggestion in Feature Request
3678 2004-07-05 Jim Evins <evins@snaught.com>
3679 * src/print.c: (print_crop_marks), (draw_outline):
3680 Changed crop marks and label outlines to black, instead of 25% gray.
3681 This addresses debian Bug #257460.
3683 2004-07-05 Jim Evins <evins@snaught.com>
3685 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3686 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3687 Preserve "is_default" of fill and line color_combos when creating from
3690 2004-07-02 Jim Evins <evins@snaught.com>
3693 Created man page. Based on page submitted by Matthew J. Lockner, however
3694 it has been severely edited.
3696 * data/avery-other-templates.xml
3697 * data/misc-other-templates.xml:
3698 Started new files for predefined templates with non-standard sheet sizes.
3699 These have been initially populated with the Avery 06141 and
3700 OfficeMax #86112, both provided by Matthew J. Lockner.
3703 Install above manpage and template files.
3706 Make sure we install man pages.
3708 * src/glabels-batch.c:
3709 Changed short form of help option to '-?' to be consistent with glabels.
3712 Added acknowledgement for above labels.
3714 2004-07-02 Jim Evins <evins@snaught.com>
3716 * src/glabels.c: (main), (save_session_cb):
3717 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3719 - save_session_cb() now returns gboolean.
3720 - Minor formatting changes.
3724 - Now include file.h to provide missing prototype.
3725 - gl_window_get_type() now returns GType, not guint. I believe this may
3726 ultimately be cause of the segfault reported in Bug #982287, since
3727 GType is actually a gulong, which may not be compatible on other
3728 architectures (64bit) -- I cannot personally test this at this time.
3729 I was sloppy in several other xxx_get_type() functions which also
3730 returned guint -- see next group of files:
3732 * src/window.c: (gl_window_get_type):
3733 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3734 * src/canvas-hacktext.h:
3735 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3736 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3737 (gl_hig_hbox_get_type):
3739 * src/label-barcode.c: (gl_label_barcode_get_type):
3740 * src/label-barcode.h:
3741 * src/label-box.c: (gl_label_box_get_type):
3743 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3744 * src/label-ellipse.h:
3745 * src/label-image.c: (gl_label_image_get_type):
3746 * src/label-image.h:
3747 * src/label-line.c: (gl_label_line_get_type):
3749 * src/label-object.c: (gl_label_object_get_type):
3750 * src/label-object.h:
3751 * src/label-text.c: (gl_label_text_get_type):
3753 * src/label.c: (gl_label_get_type):
3755 * src/merge-properties-dialog.c:
3756 (gl_merge_properties_dialog_get_type):
3757 * src/merge-properties-dialog.h:
3758 * src/merge-text.c: (gl_merge_text_get_type):
3760 * src/merge.c: (gl_merge_get_type):
3762 * src/object-editor.c: (gl_object_editor_get_type):
3763 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3764 * src/prefs-dialog.h:
3765 * src/prefs-model.c: (gl_prefs_model_get_type):
3766 * src/prefs-model.h:
3767 * src/print-dialog.c: (gl_print_dialog_get_type):
3768 * src/print-dialog.h:
3769 * src/template-designer.c: (gl_template_designer_get_type):
3770 * src/template-designer.h:
3771 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3772 * src/ui-property-bar.h:
3773 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3775 * src/view-barcode.c: (gl_view_barcode_get_type):
3776 * src/view-barcode.h:
3777 * src/view-box.c: (gl_view_box_get_type):
3779 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3780 * src/view-ellipse.h:
3781 * src/view-highlight.c: (gl_view_highlight_get_type):
3782 * src/view-highlight.h:
3783 * src/view-image.c: (gl_view_image_get_type):
3785 * src/view-line.c: (gl_view_line_get_type):
3787 * src/view-object.c: (gl_view_object_get_type):
3788 * src/view-object.h:
3789 * src/view-text.c: (gl_view_text_get_type):
3791 * src/view.c: (gl_view_get_type):
3793 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3794 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3795 * src/wdgt-image-select.h:
3796 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3797 * src/wdgt-media-select.h:
3798 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3799 * src/wdgt-mini-preview.h:
3800 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3801 * src/wdgt-print-copies.h:
3802 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3803 * src/wdgt-print-merge.h:
3804 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3805 * src/wdgt-rotate-label.h:
3806 - Made sure all xxx_get_type functions returned GType, not guint. This
3807 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3808 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3809 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3810 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3811 window.[ch] details above for more info.
3812 - Reconciled various coding style differences in all xxx_get_type()
3814 * All prototypes include G_GNUC_CONST.
3815 * All prototypes specify the return value as GType, not GtkType
3817 * Info structures are all declared as "static const."
3818 * Generalized the names of type and info variables.
3819 * Miscelaneous formatting.
3821 2004-06-08 Jim Evins <evins@snaught.com>
3827 Don't touch compression of original file -- still defaults to 9 for
3828 new files. Original patch provided by Javier Donaire Segarra
3829 (#912252 in patch tracker).
3831 2004-05-05 Jim Evins <evins@snaught.com>
3833 * data/glabels-2.0.dtd:
3834 Broke DTD previously when adding new barcode types that contain a
3835 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3836 to avoid the problem.
3837 * data/avery-iso-templates.xml:
3838 * data/zweckform-iso-templates.xml:
3840 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3841 provided by Frank Altpeter.
3842 * libglabels/xml-template.c: (xml_create_label_node):
3843 Reordered markup and layout sub-nodes so that resulting templates will
3844 validate against DTD.
3846 2004-03-13 Jim Evins <evins@snaught.com>
3848 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3849 Changed spin callback signals from "value-changed" back to "changed."
3850 This was accidentally introduced in a previous revision, and can cause
3851 size changes just by selecting the size tab.
3853 2004-03-06 Jim Evins <evins@snaught.com>
3855 * src/view.c: (draw_grid_layer):
3856 For round labels (round and cd) adjust grid so that it lines up with
3857 center of label. Also, no longer draw box around label in the grid layer,
3858 it is hidden by he fg layer anyway. Feature suggested by
3859 nemolivier@free.fr. Although the grid is aligned with the center of the
3860 label, the coordinate system is still relative to the upper left corner
3861 of the rectangle containing the label.
3863 2004-02-25 Jim Evins <evins@snaught.com>
3866 Changed version to 2.0pre1cvs
3868 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3869 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3870 instead of doc->name fields when errors encountered.
3872 2004-02-21 Jim Evins <evins@snaught.com>
3874 * data/avery-iso-templates.xml:
3875 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3878 Added libglabels library and include file to installed files.
3881 Final prep for 1.93.3.
3883 2004-02-20 Jim Evins <evins@snaught.com>
3885 * src/glabels-batch.c: (main):
3886 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3887 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3889 2004-02-16 Jim Evins <evins@snaught.com>
3892 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3895 Added HAVE_FILE_CHOOSER to INCLUDES.
3897 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3898 (gl_file_save_as), (save_as_response):
3899 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3901 2004-02-16 Jim Evins <evins@snaught.com>
3903 * src/xml-label-04.c: (xml04_parse_image_props):
3904 * src/xml-label-191.c: (xml191_parse_image_props):
3905 * src/xml-label.c: (xml_parse_object_image):
3906 Delay setting image size until after image has been applied to new
3909 2004-02-15 Jim Evins <evins@snaught.com>
3911 * src/label-barcode.c: (gl_label_barcode_set_data),
3912 (gl_label_barcode_set_props):
3913 Don't emit "changed" signal, if no change actually made for these
3914 methods. Reduces number of unnecessary redraws of barcodes.
3916 * src/label-object.h:
3917 * src/label-object.c: (gl_label_object_set_position),
3918 (gl_label_object_set_position_relative), (set_size),
3919 (gl_label_object_set_size),
3920 (gl_label_object_set_size_honor_aspect):
3921 Don't emit "changed" signal, if no change actually made for these
3924 2004-02-15 Jim Evins <evins@snaught.com>
3926 * data/glabels-2.0.dtd:
3927 Added specific subtypes for various barcode types.
3930 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3931 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3932 (gl_barcode_can_text), (gl_barcode_text_optional),
3933 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3934 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3935 Changed API to use a string id, rather than a fixed enumeration. Id and
3936 name are separate strings. Added entries to backend table for specific
3937 subtypes for various barcode types.
3940 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3942 Modified to conform to above API. Now more stringent with data length
3943 for various subtypes.
3945 * src/bc-gnubarcode.h:
3946 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3947 (is_length_valid), (is_length1_valid), (is_length2_valid):
3948 Modified to conform to above API. Now more stringent with data length
3949 for various subtypes.
3951 * src/label-barcode.h:
3952 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3953 (gl_label_barcode_get_props), (get_size):
3954 Modified to use above API for storing barcode type.
3956 * src/object-editor.h:
3957 * src/object-editor-bc-page.c: (style_changed_cb),
3958 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3959 Modified to use above API for storing barcode type.
3961 * src/object-editor-size-page.c:
3962 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3963 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3964 Added debug markers.
3966 * src/object-editor.glade:
3967 Made barcode style combo's text entry non-editable.
3969 * src/print.c: (draw_barcode_object):
3970 Modified to use above API for barcode type.
3972 * src/view-barcode.c: (update_object_from_editor_cb),
3973 (update_editor_from_object_cb),
3974 (gl_view_barcode_create_event_handler), (draw_barcode):
3975 Modified to use above API for barcode type.
3977 * src/xml-label-04.c: (xml04_parse_barcode_props):
3978 * src/xml-label-191.c: (xml191_parse_barcode_props):
3979 * src/xml-label.c: (xml_parse_object_barcode),
3980 (xml_create_object_barcode):
3981 Modified to use above API for barcode type.
3983 2004-02-07 Jim Evins <evins@snaught.com>
3985 * src/stock-pixmaps/Makefile.am:
3986 * src/stock-pixmaps/stock_hchain_24.png:
3987 * src/stock-pixmaps/stock_hchain_broken_24.png:
3988 * src/stock-pixmaps/stock_vchain_24.png:
3989 * src/stock-pixmaps/stock_vchain_broken_24.png:
3990 Added chain pixmaps borrowed from the gimp's default theme.
3993 * src/stock.c: (gl_stock_init), (add_button_icon):
3994 Added above pixmaps to stock icon sets. Created add_button_icon() to
3995 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3997 * src/wdgt-chain-button.h
3998 * src/wdgt-chain-button.c
4001 Added this Modified version of gimpchainbutton widget, borrowed from
4005 Added acknowledgements of the above borrowing from the gimp.
4007 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4009 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4010 * src/object-editor.glade:
4011 Replaced the keep aspect ratio check box with the above chain-button
4014 * src/text-node.c: (gl_text_node_equal):
4016 Added function gl_text_node_equal() to compare text_nodes.
4018 * src/label-image.c: (gl_label_image_set_filename):
4019 Replaced incomplete text_node comparison code with invocation of
4020 gl_text_node_equal. This fixed the problem of not being able to
4021 resize an image using the object_editor if the aspect ratio is not
4024 2004-02-04 Jim Evins <evins@snaught.com>
4026 * src/object-editor-image-page.c:
4027 (gl_object_editor_prepare_image_page):
4028 Track "changed" signal of pixmap entry's GtkEntry rather than its
4029 "activate" signal -- this catches all changes to the entry rather than
4030 just changes resulting from a browse, so one can easily pull previous
4031 entries from the history. (This change is marked below on 2004-02-03,
4032 but somehow never got checked in.)
4034 * src/view-highlight.c: (sl_resize_event_handler),
4035 (sr_resize_event_handler), (st_resize_event_handler),
4036 (sb_resize_event_handler):
4037 Side resize handles will now confirm the actual resize that the object
4038 accepted before adjusting position parameters. Previously some interesting
4039 things happened when resizing a barcode to its minimum size.
4041 2004-02-03 Jim Evins <evins@snaught.com>
4043 * src/object-editor-image-page.c:
4044 (gl_object_editor_prepare_image_page):
4045 Track "changed" signal of pixmap entry's GtkEntry rather than its
4046 "activate" signal -- this catches all changes to the entry rather than
4047 just changes resulting from a browse, so one can easily pull previous
4048 entries from the history.
4050 * src/view-highlight.c: (tl_resize_event_handler),
4051 (tr_resize_event_handler), (bl_resize_event_handler),
4052 (br_resize_event_handler):
4053 Allow control key to be dropped while dragging a corner resize handle
4054 without losing the aspect ratio lock.
4056 2004-02-02 Jim Evins <evins@snaught.com>
4058 * src/label-image.c: (gl_label_image_set_filename):
4059 When setting a new filename adjust size such that the aspect ratio of
4060 the image is preserved using the current size as a bounding box.
4062 * src/view-image.c: (update_object_from_editor_cb):
4063 When updating object from editor, feed back possible size changes to
4064 editor as a result of a possible change in image.
4066 * src/object-editor-size-page.c: (size_reset_cb):
4067 Fixed typo when blocking spin handlers. If the base size is larger than
4068 the max size, treat max size as a bounding box while keeping aspect
4072 2004-02-02 Jim Evins <evins@snaught.com>
4074 * src/label-object.h:
4075 * src/label-object.c: (gl_label_object_set_size),
4076 (gl_label_object_set_size_honor_aspect):
4077 Added gl_label_object_set_size_honor_aspect() which will maintain the
4078 current aspect ratio by modifying the supplied w or h apropriately.
4080 * src/view-highlight.c: (tl_resize_event_handler),
4081 (tr_resize_event_handler), (bl_resize_event_handler),
4082 (br_resize_event_handler):
4083 Corner handles will now maintain the current aspect ratio if the
4084 control key is pressed while resizing. This addresses feature
4088 2004-01-31 Jim Evins <evins@snaught.com>
4091 * data/avery-us-templates.xml:
4092 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4094 * libglabels/template.c: (read_template_files_from_dir):
4095 Corrected problem with testing for extensions.
4097 * src/object-editor.glade:
4098 Corrected grouping of radio buttons in barcode data page.
4100 * src/print.c: (draw_barcode_object):
4101 * src/view-barcode.c: (draw_barcode):
4102 Corrected problem with calculation of y_offset for locating characters.
4104 2004-01-24 Jim Evins <evins@snaught.com>
4107 * data/avery-us-templates.xml:
4108 Added Avery 5824, submitted by Fred Bacon.
4110 2004-01-20 Jim Evins <evins@snaught.com>
4112 Catching up on a couple of backlogged user template submissions.
4114 * data/avery-iso-templates.xml:
4115 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4116 Suggested by Linas Jakucionis.
4118 * data/zweckform-iso-templates.xml:
4119 Added Zweckform 4760, submitted by Thomas Vill.
4122 Updated to reflect above submissions.
4124 2004-01-06 Jim Evins <evins@snaught.com>
4126 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4127 xml.[ch] into a separate library called libglabels, to facilitate third
4128 party use of glabels template files. This was suggested by Wayne Schuller.
4129 Once split-out, some modifications to the structures and functions to
4130 make a cleaner more useful API, hopefully. Rather extensive changes have
4131 propogated to other modules.
4139 * src/xml-template.h:
4140 * src/xml-template.c:
4143 These files have been moved to libglabels/. API cleanup performed.
4145 * libglabels/libglabels.h:
4146 * libglabels/libglabels-private.h:
4147 * libglabels/Makefile.am:
4148 These files have been added to finish out libglabels.
4155 Modified to reflect new sets of files in src/ and libglabels/.
4157 * COPYING.LIBGLABELS:
4159 Added copy of the LGPL for libglabels, and a copy the GFDL for
4162 * src/glabels-batch.c:
4164 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4165 (gl_label_get_size):
4167 * src/prefs-model.c: (gl_prefs_model_load_settings):
4168 * src/print-dialog.c:
4169 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4170 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4171 (print_crop_marks), (print_label), (draw_outline),
4172 (clip_to_outline), (clip_punchouts):
4173 * src/template-designer.c: (construct_pg_size_page),
4174 (pg_size_page_changed_cb), (layout_page_changed_cb),
4175 (print_test_cb), (build_template):
4176 * src/util.c: (gl_util_fraction):
4178 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4179 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4180 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4181 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4182 (draw_markup_margin_round), (draw_markup_margin_cd),
4183 (draw_markup_margin_cd_bc), (draw_markup_line),
4184 (draw_markup_circle), (gl_view_copy):
4185 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4186 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4187 (get_label_size_desc):
4188 * src/wdgt-mini-preview.c:
4189 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4191 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4192 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4193 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4194 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4195 * src/wdgt-rotate-label.h:
4196 * src/xml-label-04.c: (xml04_parse_media_description):
4197 * src/xml-label-191.c: (gl_xml_label_191_parse),
4198 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4199 (xml191_parse_markup), (xml191_parse_alias):
4200 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4202 Various changes to accomodate new libglabels API.
4204 2004-01-03 Jim Evins <evins@snaught.com>
4209 2004-01-03 Jim Evins <evins@snaught.com>
4212 Added acknowledgement of contributions by Wayne Schuller.
4214 * src/commands.c: (gl_cmd_file_print):
4215 Create extra reference to print dialog, so that it can be properly re-used.
4217 * src/mygal/mygal-combo-box.h:
4218 * src/mygal/mygal-combo-box.c:
4219 (mygal_combo_box_popup_hide_unconditional),
4220 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4221 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4222 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4223 (mygal_combo_box_set_tearable):
4224 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4225 complete the rename of this widget to prevent namespace collisions
4228 * src/prefs-dialog.glade:
4229 Fixed alignment of Fill/Color widgets.
4231 2004-01-03 Jim Evins <evins@snaught.com>
4233 * data/avery-iso-templates.xml:
4234 Added user submitted templates.
4235 Avery 8435A & 8435B, submitted by Ludger Solbach.
4237 * doc/C/glabels.xml:
4238 Added minimal documentation, noting the new template designer.
4240 2004-01-03 Jim Evins <evins@snaught.com>
4242 * pixmaps/ex-rect-size.png:
4243 * pixmaps/ex-round-size.png:
4244 * pixmaps/ex-cd-size.png:
4245 * pixmaps/Makefile.am:
4246 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4247 files to be used as illustrations/examples in the template-designer.
4249 * src/template-designer.c: (construct_rect_size_page),
4250 (construct_round_size_page), (construct_cd_size_page),
4251 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4252 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4253 (layout_page_prepare_cb), (build_template):
4254 * src/template-designer.glade:
4255 Added illustrations for rectangle, round, and cd label size pages.
4256 Added margin spinboxes to these pages, and now add a margin markup
4257 to the constructed template. Added realistic default values for
4258 some of the size spinboxes. Cleaned up the code for setting spinbox
4259 ranges on the layouts page.
4261 2004-01-02 Jim Evins <evins@snaught.com>
4263 * src/object-editor-size-page.c: (h_spin_cb):
4264 Fixed cut-n-paste error in h_spin_cb that loaded h from
4265 the wrong spinbutton.
4267 * src/object-editor.h:
4268 * src/object-editor.c: (gl_object_editor_class_init),
4269 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4270 * src/object-editor-private.h:
4271 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4273 Added "size_changed" signal.
4275 * src/view-text.c: (construct_properties_editor),
4276 (update_object_from_editor_cb),
4277 (update_object_from_editor_size_cb):
4278 Track size changes from object editor separately from other
4279 properties. This is so the default size (0,0) of a text
4280 object is not modified unintentionally.
4282 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4284 Added feature: line spacing - allows you to comfortably space a text box to
4285 fit a label perfectly.
4287 * data/glabels-2.0.dtd:
4288 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4289 (gl_label_object_get_text_alignment),
4290 (gl_label_object_get_text_line_spacing):
4291 * src/label-object.h:
4292 * src/label-text.c: (gl_label_text_class_init),
4293 (gl_label_text_instance_init), (copy), (get_size),
4294 (set_text_line_spacing), (get_text_alignment),
4295 (get_text_line_spacing):
4296 * src/object-editor-private.h:
4297 * src/object-editor-text-page.c:
4298 (gl_object_editor_prepare_text_page),
4299 (gl_object_editor_set_text_line_spacing),
4300 (gl_object_editor_get_text_line_spacing):
4301 * src/object-editor.glade:
4302 * src/object-editor.h:
4303 * src/prefs-dialog.c: (construct_object_page),
4304 (update_object_page_from_prefs), (update_prefs_from_object_page):
4305 * src/prefs-dialog.glade:
4306 * src/prefs-model.c: (gl_prefs_model_save_settings),
4307 (gl_prefs_model_load_settings), (get_float):
4308 * src/prefs-model.h:
4309 * src/print.c: (draw_text_object):
4311 * src/view-text.c: (update_object_from_editor_cb),
4312 (update_editor_from_object_cb),
4313 (gl_view_text_create_event_handler), (draw_hacktext):
4314 * src/view.c: (gl_view_construct),
4315 (gl_view_set_selection_text_line_spacing),
4316 (gl_view_set_default_text_line_spacing),
4317 (gl_view_get_default_text_line_spacing):
4319 * src/xml-label.c: (xml_parse_toplevel_span),
4320 (xml_create_toplevel_span):
4322 2003-12-30 Jim Evins <evins@snaught.com>
4324 * src/template-designer.c:
4325 * src/template-designer.h:
4326 * src/template-designer.glade:
4327 New template designer assistant.
4331 Added entries for src/template-designer.* files.
4333 * pixmaps/ex-1layout.png
4334 * pixmaps/ex-2layouts.png
4335 * pixmaps/Makefile.am:
4336 Added the new image files ex-*.png used as illustrations in the
4337 template designer assistant.
4339 * src/print-dialog.h:
4340 * src/print-dialog.c: (gl_print_dialog_finalize),
4341 (gl_print_dialog_new), (gl_print_dialog_construct),
4342 (gl_print_dialog_force_outline_flag):
4343 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4344 to support printing from the template designer assistant which does not
4345 have a full-fledged view. Nothing else from the view object was being
4346 used by the dialog anyway.
4348 Added the gl_print_dialog_force_outline_flag() method, for better
4349 integration with the template designer assistant.
4353 * src/commands.c: (gl_cmd_file_template_designer),
4354 (gl_cmd_file_print):
4355 Modified print command to provide label instead of view to dialog.
4356 Added the gl_cmd_file_template_designer() command to invoke the
4357 template designer assistant.
4360 * src/glabels-ui.xml:
4361 Added support for template designer assistant.
4363 * src/wdgt-mini-preview.h:
4364 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4365 (gl_wdgt_mini_preview_set_bg_color):
4366 Preview is now centered in canvas. Added
4367 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4368 assistant to match the background color with its own.
4370 * src/print.c: (clip_to_outline):
4371 Fixed really stupid bug when adding waste to clip region of rectangular
4372 labels/cards. Each side of the clip region needs to be extended by
4373 twice the waste margin, as well as negatively offset by the waste
4376 2003-12-28 Jim Evins <evins@snaught.com>
4378 * src/prefs-dialog.c: (update_object_page_from_prefs):
4379 Block intermediary function align_toggle_cb() instead of
4380 update_prefs_from_object_page() for the three alignment
4383 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4385 * src/file.c: (gl_file_new), (gl_file_properties):
4386 Swap button order and set default for higificatory pleasure.
4388 2003-12-27 Jim Evins <evins@snaught.com>
4390 * barcode-0.98/Makefile.am:
4391 One last time: removed doc/Makefile and po/Makefile.in.in from
4394 2003-12-27 Jim Evins <evins@snaught.com>
4396 * barcode-0.98/Makefile.am:
4397 Removed config.stat entry from EXTRA_DIST files.
4399 * barcode-0.98/Makefile.in:
4402 2003-12-27 Jim Evins <evins@snaught.com>
4405 Updated to work with latest gnome-common package from CVS.
4406 Removed recursive configuration of barcode-0.98.
4413 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4415 * barcode-0.98/Makefile.in:
4416 * barcode-0.98/configure.in:
4417 * barcode-0.98/Makefile.am:
4418 * barcode-0.98/README.glabels:
4419 Modified to ignore the barcode package's build system, and build
4420 as a part of glabels.
4421 Renamed Makefile.in to Makefile.in.dist.
4422 Renamed configure.in to configure.in.dist.
4423 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4426 * src/mygal/Makefile.am:
4427 * src/recent-files/Makefile.am:
4428 In order to build against the GNOME 2.5 platform,
4429 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4431 * src/mygal/Makefile.am:
4432 * src/mygal/mygal-combo-box.c:
4433 * src/mygal/mygal-combo-box.h:
4434 * src/mygal/widget-color-combo.c:
4435 * src/mygal/widget-color-combo.h:
4437 In order to build against the GNOME 2.5 platform,
4438 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4439 collisions with the real gtk_combo_box widget, now a part of gtk.
4441 2003-12-26 Jim Evins <evins@snaught.com>
4447 Moved local versions of get_home_data_dir() in paper.c and
4448 template.c to util package. Cleaned up formatting in
4452 In gl_template_register() save a copy of the template in
4453 ~/.glabels if the template is not known. Still need to
4454 handle duplicate filename case and duplicate name but
4455 different template case.
4459 Moved local definition of NAME_SPACE macro from xml-label.c
4462 * src/xml-template.c:
4463 * src/xml-template.h:
4464 Added function gl_xml_template_write_template_to_file(), used
4465 in gl_template_register().