1 2009-05-19 Jim Evins <evins@purple>
5 Moved translation list from configure.in to po/LINGUAS.
7 2009-05-19 Jim Evins <evins@snaught.com>
11 New Chinese translation (Careon <zzbusagain@yahoo.com.cn>).
13 Added above translation to acknowledgements.
15 2009-05-18 Jim Evins <evins@snaught.com>
17 * src/prefs-model.c: (gl_prefs_model_load_settings):
18 Make an educated guess at locale settings when run for the
21 2009-05-17 Jim Evins <evins@snaught.com>
24 * help/glabels.omf.in:
25 Adding missing files from last checkin.
27 2009-05-17 Jim Evins <evins@snaught.com>
31 * help/C/glabels-C.omf:
35 Updated german translation, gnome-doc-utils support and
36 german translation of glabels manual (Mario Blättermann).
38 2009-05-01 Jim Evins <evins@snaught.com>
43 Added catalan translation (David Planella).
45 2009-04-29 Jim Evins <evins@snaught.com>
47 * data/templates/avery-iso-templates.xml:
48 * data/templates/misc-iso-templates.xml:
49 * data/templates/misc-us-templates.xml:
50 Caught up on user submitted templates.
52 Acknowledgements for above templates.
54 2009-04-29 Jim Evins <evins@snaught.com>
58 Updated german translation (Mario Blättermann).
60 2009-03-23 Jim Evins <evins@snaught.com>
62 * src/glabels-batch.c: (main):
63 * src/glabels.c: (main):
64 Tidy up help option output.
66 2009-02-28 Jim Evins <evins@snaught.com>
71 Deleted base64 module.
72 * src/xml-label.c: (xml_parse_pixdata), (xml_create_pixdata):
73 Use base64 encode/decode from glib.
75 2009-02-22 Jim Evins <evins@snaught.com>
77 * src/merge-properties-dialog.h:
78 * src/new-label-dialog.h:
79 * src/object-editor.h:
82 * src/template-designer.h:
83 Corrected cut&paste errors.
85 2009-02-21 JimEvins <evins@snaught.com>
87 * src/prefs-model.c: (gl_prefs_model_save_settings),
88 (gl_prefs_model_load_settings):
91 * src/ui-property-bar.c:
92 * src/ui.c: (view_ui_item_toggled_cb),
93 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
94 Removed tooltip toggling capability, which wasn't working
97 2009-02-21 JimEvins <evins@snaught.com>
101 * data/builder/object-editor.glade:
102 * data/builder/prefs-dialog.glade:
103 * data/builder/property-bar.glade:
104 * data/builder/template-designer.glade:
106 * src/color-combo-color-menu-item.c:
107 * src/color-combo-color-menu-item.h:
108 * src/color-combo-menu.h:
109 * src/glabels-batch.c: (main):
110 * src/glabels.c: (main):
111 * src/merge-properties-dialog.h:
112 * src/new-label-dialog.h:
113 * src/object-editor-lsize-page.c:
114 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
115 * src/object-editor.h:
116 * src/prefs-dialog.h:
118 * src/template-designer.h:
119 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
120 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
121 * src/ui-property-bar.c:
122 * src/ui-property-bar.h:
123 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
124 (selection_changed_cb):
127 * src/wdgt-media-select.h:
128 * src/wdgt-merge-menu.h:
129 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
130 * src/wdgt-mini-preview.h:
131 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
132 * src/wdgt-print-copies.h:
133 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
134 * src/wdgt-print-merge.h:
135 * src/wdgt-rotate-label.h:
137 Removed final dependencies on libgnome and libgnomeui.
138 Removed all currently deprecated symbols as of GTK 2.14.
140 2009-01-07 Jim Evins <evins@snaught.com>
142 * src/critical-error-handler.c: (critical_error_handler):
143 * src/ui-commands.c: (gl_ui_cmd_help_contents):
144 * src/warning-handler.c: (warning_handler):
145 * src/view.c: (selection_received_cb):
146 Compile without warning with additional CFLAGS of
147 -O1 -Wall -Wformat=2.
149 2009-01-02 Jim Evins <evins@snaught.com>
151 * COPYING.README_FIRST:
154 2008-12-27 Jim Evins <evins@snaught.com>
156 * data/templates/avery-iso-templates.xml:
157 * data/templates/avery-other-templates.xml:
158 * data/templates/avery-us-templates.xml:
159 * data/templates/brother-other-templates.xml:
160 * data/templates/misc-iso-templates.xml:
161 * data/templates/misc-other-templates.xml:
162 * data/templates/zweckform-iso-templates.xml:
163 Make sure all descriptions are marked as translatable.
165 2008-12-27 Jim Evins <evins@snaught.com>
168 Updated german translation (Mario Blättermann)
170 Updated credits to reflect above translation.
171 * data/builder/object-editor.glade:
172 * data/builder/prefs-dialog.glade:
173 * data/builder/template-designer.glade:
174 Removed "translatable" attribute from whitespace strings,
175 which are used only to help layout.
177 2008-12-21 Jim Evins <evins@snaught.com>
179 * data/templates/avery-us-templates.xml:
180 * data/templates/misc-iso-templates.xml:
181 A couple of recent template submissions.
183 Acknowledgements for above templates.
185 2008-12-21 Jim Evins <evins@snaught.com>
187 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
188 Don't check for handles on aggregate selections.
190 2008-12-20 Jim Evins <evins@snaught.com>
193 Updated prerequisite library versions required.
195 2008-12-18 Jim Evins <evins@snaught.com>
197 * src/view.c: (selection_received_cb):
198 Fixed paste bug that caused a duplicate phantom view_object to be created for
199 each new label_object. This is because the view now (as of r673) the view
200 monitiors the label for new objects and creates view_objects automatically.
202 2008-12-14 Jim Evins <evins@snaught.com>
204 * src/ui.c: (gl_ui_new):
205 Bug #2395628. Fixed i18n for application shell.
207 Bug #2395628. Reconciled POTFILES.in with current files.
209 2008-12-14 Jim Evins <evins@snaught.com>
212 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
214 2008-11-15 Jim Evins <evins@snaught.com>
216 * libglabels/db.c: (lgl_db_register_template):
217 * libglabels/xml-template.c:
218 (lgl_xml_template_parse_template_node):
219 * src/glabels-batch.c:
220 * src/view-text.c: (gl_view_text_create_button_press_event):
221 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
223 2008-11-09 Jim Evins <evins@snaught.com>
225 * data/templates/misc-iso-templates.xml:
226 Another user submitted template.
228 2008-10-27 Jim Evins <evins@snaught.com>
230 * data/templates/avery-us-templates.xml:
231 * data/templates/misc-iso-templates.xml:
232 * data/templates/zweckform-iso-templates.xml:
233 Caught up on user submitted templates.
235 Acknowledgements for above templates.
237 2008-10-23 Jim Evins <evins@snaught.com>
239 * src/label-text.c: (set_font_family):
240 * src/object-editor-text-page.c:
241 (gl_object_editor_prepare_text_page),
242 (gl_object_editor_set_font_family):
243 * src/prefs-dialog.c: (construct_object_page),
244 (update_object_page_from_prefs):
245 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
246 (reset_to_default_properties):
247 * src/util.c: (gl_util_get_font_family_list):
249 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
250 everytime the list is requested.
251 * src/object-editor-text-page.c:
252 (gl_object_editor_set_font_family):
253 Don't change font-family if it hasn't actually changed.
255 2008-10-19 Jim Evins <evins@snaught.com>
257 * data/builder/object-editor.glade:
258 Some tweaking of builder/glade widgets.
260 2008-10-18 Jim Evins <evins@snaught.com>
262 Migrated all use of libglade to GtkBuilder.
264 * data/glade/Makefile.am:
265 * data/glade/merge-properties-dialog.glade:
266 * data/glade/new-label-dialog.glade:
267 * data/glade/object-editor.glade:
268 * data/glade/prefs-dialog.glade:
269 * data/glade/print-custom-widget.glade:
270 * data/glade/property-bar.glade:
271 * data/glade/template-designer.glade:
272 * data/glade/wdgt-media-select.glade:
273 Removed data/glade directory.
274 * data/builder/Makefile.am:
275 * data/builder/merge-properties-dialog.glade:
276 * data/builder/new-label-dialog.glade:
277 * data/builder/object-editor.glade:
278 * data/builder/prefs-dialog.glade:
279 * data/builder/print-custom-widget.glade:
280 * data/builder/property-bar.glade:
281 * data/builder/template-designer.glade:
282 * data/builder/wdgt-media-select.glade:
283 Added data/builder directory.
287 Change glade to builder.
288 * src/merge-properties-dialog.c:
289 (gl_merge_properties_dialog_finalize),
290 (gl_merge_properties_dialog_construct):
291 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
292 (gl_new_label_dialog_construct):
293 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
294 * src/object-editor-data-page.c:
295 (gl_object_editor_prepare_data_page):
296 * src/object-editor-edit-page.c:
297 (gl_object_editor_prepare_edit_page):
298 * src/object-editor-fill-page.c:
299 (gl_object_editor_prepare_fill_page):
300 * src/object-editor-image-page.c:
301 (gl_object_editor_prepare_image_page):
302 * src/object-editor-line-page.c:
303 (gl_object_editor_prepare_line_page):
304 * src/object-editor-lsize-page.c:
305 (gl_object_editor_prepare_lsize_page):
306 * src/object-editor-position-page.c:
307 (gl_object_editor_prepare_position_page):
308 * src/object-editor-private.h:
309 * src/object-editor-shadow-page.c:
310 (gl_object_editor_prepare_shadow_page):
311 * src/object-editor-size-page.c:
312 (gl_object_editor_prepare_size_page):
313 * src/object-editor-text-page.c:
314 (gl_object_editor_prepare_text_page):
315 * src/object-editor.c: (gl_object_editor_init):
316 * src/prefs-dialog.c: (gl_prefs_dialog_init),
317 (gl_prefs_dialog_construct), (construct_locale_page),
318 (construct_object_page):
319 * src/print-op.c: (gl_print_op_finalize),
320 (create_custom_widget_cb):
321 * src/template-designer.c: (gl_template_designer_class_init),
322 (gl_template_designer_finalize), (gl_template_designer_construct),
323 (construct_start_page), (construct_name_page),
324 (construct_pg_size_page), (construct_shape_page),
325 (construct_rect_size_page), (construct_round_size_page),
326 (construct_cd_size_page), (construct_nlayouts_page),
327 (construct_layout_page), (construct_finish_page):
328 * src/template-designer.h:
329 * src/ui-property-bar.c: (gl_ui_property_bar_init),
330 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
331 (gl_ui_property_bar_construct), (reset_to_default_properties),
332 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
333 (update_text_properties), (update_fill_color), (update_line_color),
334 (update_line_width), (selection_changed_cb),
335 (font_family_changed_cb), (font_size_changed_cb),
336 (text_color_changed_cb), (fill_color_changed_cb),
337 (line_color_changed_cb), (line_width_changed_cb),
338 (font_bold_toggled_cb), (font_italic_toggled_cb),
339 (text_align_toggled_cb), (set_doc_items_sensitive),
340 (set_text_items_sensitive), (set_fill_items_sensitive),
341 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
342 * src/ui-property-bar.h:
343 * src/util.c: (gl_util_get_builder_widgets):
345 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
346 (gl_wdgt_media_select_construct):
347 Migration of glade to builder.
349 New macros for color combo initialization.
351 Added idea for internal merge database.
352 * docs/libglabels/libglabels-undocumented.txt:
353 * docs/libglabels/tmpl/paper.sgml:
357 2008-10-12 Jim Evins <evins@snaught.com>
359 * src/mygal/Makefile.am:
360 * src/mygal/color-group.c:
361 * src/mygal/color-group.h:
362 * src/mygal/color-palette.c:
363 * src/mygal/color-palette.h:
364 * src/mygal/e-colors.c:
365 * src/mygal/e-colors.h:
366 * src/mygal/e-marshal.list:
367 * src/mygal/e-util.h:
368 * src/mygal/mygal-combo-box.c:
369 * src/mygal/mygal-combo-box.h:
370 * src/mygal/widget-color-combo.c:
371 * src/mygal/widget-color-combo.h:
377 * src/color-combo-color-menu-item.c:
378 * src/color-combo-color-menu-item.h:
379 * src/color-combo-history.c:
380 * src/color-combo-history.h:
381 * src/color-combo-menu.c:
382 * src/color-combo-menu.h:
387 Created new glColorCombo widget.
388 * src/object-editor-bc-page.c:
389 * src/object-editor-edit-page.c:
390 * src/object-editor-fill-page.c:
391 * src/object-editor-line-page.c:
392 * src/object-editor-shadow-page.c:
393 * src/object-editor-text-page.c:
394 * src/object-editor.c:
395 * src/prefs-dialog.c:
396 * src/ui-property-bar.c:
397 Replaced use of mygal color combo with new glColorCombo widget.
399 2008-08-29 Jim Evins <evins@snaught.com>
401 * src/file.c: (gl_file_open), (gl_file_save_as):
402 Bug #2069668. Corrected button order in Open and "Save as"
405 2008-08-17 Jim Evins <evins@snaught.com>
407 * data/dtd/glabels-2.2.dtd:
408 * data/templates/paper-sizes.xml:
409 * libglabels/db.c: (lgl_db_init):
410 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
411 * libglabels/paper.h:
412 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
413 * src/print-op.c: (set_page_size):
414 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
415 size specification) to the libglabels paper database to allow the page size to be
416 communicated to GtkPrintOp un-ambiguously.
418 2008-07-25 Jim Evins <evins@snaught.com>
420 * src/object-editor-size-page.c: (size_reset_cb),
421 (gl_object_editor_set_max_size):
422 Bug #1993550. Set size limits based on longest side of label.
424 2008-07-19 Jim Evins <evins@snaught.com>
427 * src/mygal/Makefile.am:
428 Make sure libtool handles library dependencies for mygal
431 2008-05-21 Jim Evins <evins@snaught.com>
433 * src/glabels-batch.c: (main):
434 Bug #1968653. Initialize prefs subsystem.
436 2008-05-09 Jim Evins <evins@snaught.com>
438 * data/glade/object-editor.glade:
439 Bug #1959135. A couple of radio buttons somehow became
442 2008-04-07 Jim Evins <evins@snaught.com>
444 * src/wdgt-rotate-label.h:
445 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
446 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
447 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
448 (gl_wdgt_rotate_label_set_template_name):
449 Modified wdgt-rotate-label to better indicate the rotation choices.
450 * data/glade/Makefile.am:
451 * data/glade/wdgt-rotate-label.glade:
452 Deleted wdgt-rotate-label.glade.
454 2008-04-04 Jim Evins <evins@snaught.com>
456 * data/templates/brother-other-templates.xml:
457 Added categories to existing templates.
458 * data/templates/misc-other-templates.xml:
459 Moved dymo templates to their own file.
460 * data/templates/Makefile.am:
461 * data/templates/dymo-other-templates.xml:
462 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
464 Acknowledgement for above templates.
466 2008-03-24 Jim Evins <evins@snaught.com>
468 * src/xml-label.c: (xml_doc_to_label):
469 Bug #1872584. Don't refuse to parse label file if namespace is
470 unrecognized -- it may be from a newer version of glabels.
472 2008-03-15 Jim Evins <evins@snaught.com>
474 * data/templates/Makefile.am:
475 * data/templates/brother-other-templates.xml:
476 Added brother templates.
477 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
478 (gl_cairo_markup_margin_cd_path):
479 * src/view.c: (draw_markup_layer):
480 Fixed markup drawing errors when label is rotated.
482 2008-03-03 Jim Evins <evins@snaught.com>
486 Added korean translation provided by xein@naver.com.
488 2008-02-21 Jim Evins <evins@snaught.com>
491 Fixed typo that prevented "Save" from being deactivated when
492 document is not modified.
494 2008-02-18 Jim Evins <evins@snaught.com>
496 * src/prefs-model.c: (gl_prefs_model_save_settings),
497 (gl_prefs_model_load_settings):
498 Set default units for file output.
500 2008-02-18 Jim Evins <evins@snaught.com>
502 * help/C/glabels.xml:
503 Fixed example template.
505 2008-02-16 Jim Evins <evins@snaught.com>
508 * data/templates/avery-iso-templates.xml:
509 * data/templates/avery-us-templates.xml:
510 * data/templates/misc-iso-templates.xml:
511 * data/templates/misc-us-templates.xml:
512 Caught up on user submitted templates.
514 2008-02-04 Jim Evins <evins@snaught.com>
516 * src/view-image.c: (update_object_from_editor_cb):
517 Bug #1886438. Don't update the image size unless it is actually
518 triggered by a change in image source. The result of this bug
519 was that any attempt to edit the size spinboxes, immediately
522 2008-02-03 Jim Evins <evins@snaught.com>
524 * src/label-image.c: (gl_label_image_class_init), (set_size):
525 Enforce minimum size for images.
527 2008-02-03 Jim Evins <evins@snaught.com>
529 * src/object-editor-edit-page.c: (field_selected_cb):
530 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
531 * src/object-editor-private.h:
532 * src/object-editor-shadow-page.c:
533 (gl_object_editor_set_max_shadow_offset):
534 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
535 * src/object-editor.c: (gl_object_editor_finalize),
536 (gl_object_editor_new), (gl_object_notebook_construct_valist),
538 * src/object-editor.h:
539 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
540 * src/view-barcode.c: (construct_properties_editor):
541 * src/view-box.c: (construct_properties_editor):
542 * src/view-ellipse.c: (construct_properties_editor):
543 * src/view-image.c: (construct_properties_editor):
544 * src/view-line.c: (construct_properties_editor):
545 * src/view-object.c: (gl_view_object_finalize):
546 * src/view-text.c: (construct_properties_editor),
547 Move update_editor_from_label callback from individual view objects
548 to the object editor, so that signals can be disconnected when
549 object editor is finalized.
550 * src/view-text.c: (gl_view_text_create_button_press_event):
551 Fixed bug that caused multiple view objects to be created for a
552 single text object. This bug would manifest itself as a crash
553 when deleting multi-object selections which included text objects.
555 2008-02-02 Jim Evins <evins@snaught.com>
558 * src/wdgt-merge-menu.c:
559 * src/wdgt-merge-menu.h:
560 * src/debug.c: (gl_debug_init):
563 New merge menu widget.
564 * data/glade/object-editor.glade:
565 * src/object-editor-private.h:
566 * src/object-editor.c: (gl_object_editor_set_key_names):
567 * src/object-editor-edit-page.c:
568 (gl_object_editor_prepare_edit_page), (field_selected_cb),
570 Simplified UI for inserting fields into text objects by launching
571 a merge menu and directly inserting fields from the menu. No more
572 selecting field in combobox, then pressing insert button.
574 2008-01-31 Jim Evins <evins@snaught.com>
576 * src/label-barcode.c: (draw_object):
577 Fixed rendering problem when "Invalid data" is displayed when text
578 object is lower in stacking order.
580 2008-01-30 Jim Evins <evins@snaught.com>
582 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
583 Don't turn off cairo_hint_metrics. This causes serious issues with
586 2008-01-29 Jim Evins <evins@snaught.com>
588 * src/print-op.c: (gl_print_op_construct),
589 (gl_print_op_construct_batch), (set_page_size):
590 Explicitly set page size for "other" page sizes.
592 2008-01-25 Jim Evins <evins@snaught.com>
595 Fixed Code128C backend parameters.
596 * src/label-barcode.c: (get_size):
597 Bug #1766425. If barcode is not renderable with either
598 input data or default data, use a default size. Also
601 2008-01-16 Jim Evins <evins@snaught.com>
603 * src/print.c: (print_label):
604 Bug #1872568. Don't apply special transforms (rotate and
605 mirror) to clipping region or outline.
607 2008-01-01 Jim Evins <evins@snaught.com>
610 Sort font lists alphabetically.
612 2008-01-01 Jim Evins <evins@snaught.com>
614 * src/merge-evolution.c:
615 Do a case-insensitive sort.
617 2008-01-01 Jim Evins <evins@snaught.com>
619 * src/merge-evolution.c:
620 Sort evolution by "file_under" field. Original patch provided
621 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
624 Added acknowledgement for above patch.
626 2008-01-01 Jim Evins <evins@snaught.com>
631 Reconcile with 2.2 branch.
634 2007-12-21 Jim Evins <evins@snaught.com>
636 * COPYING.LIBGLABELS:
637 * COPYING.README_FIRST:
639 Updating license information to make more complete and understandable.
641 2007-12-16 Jim Evins <evins@snaught.com>
644 Updated version to 2.pre2.
645 * help/C/glabels.xml:
646 Updated documentation.
647 * src/ui-commands.c: (gl_ui_cmd_help_about):
648 Updated copyright string.
650 2007-12-15 Jim Evins <evins@snaught.com>
652 * data/glade/object-editor.glade:
653 Removed any GtkTable that contained a GtkComboBox because the size of
654 the combo box was not constrained properly. This sacrifices the nice
655 orderly labels for combo boxes that don't extend beyond the edge of the
658 2007-12-15 Jim Evins <evins@snaught.com>
660 * libglabels/db.c: (lgl_db_lookup_template_from_name):
661 * src/object-editor.c: (gl_object_editor_finalize):
662 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
663 Fixed several small memory leaks.
665 2007-12-14 Jim Evins <evins@snaught.com>
668 Optimize template search by name by using a GHashTable.
669 * src/mini-preview-pixbuf-cache.c:
670 * src/mini-preview-pixbuf-cache.h:
671 Store one pixbuf per template, but use a key for each alias.
672 * src/wdgt-media-select.c:
673 Optimize loading of tree data, thus optimizing the "new label" dialog.
675 2007-12-12 Jim Evins <evins@snaught.com>
677 * data/templates/avery-us-templates.xml:
678 More templates and aliases.
680 2007-12-08 Jim Evins <evins@snaught.com>
683 More prep for 2.1.5/2.2.0.
685 2007-12-08 Jim Evins <evins@snaught.com>
691 Preparation for 2.1.5.
693 2007-12-08 Jim Evins <evins@snaught.com>
695 * docs/libglabels/libglabels-decl-list.txt:
696 * docs/libglabels/libglabels-docs.sgml:
697 * docs/libglabels/libglabels-sections.txt:
698 * docs/libglabels/libglabels-undocumented.txt:
699 * docs/libglabels/tmpl/db.sgml:
700 * docs/libglabels/tmpl/str.sgml:
702 Documentation cleanup for libglabels.
704 2007-11-29 Jim Evins <evins@snaught.com>
708 Added lgl_db_does_template_name_exist().
709 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
712 Proof read recent templates -- make sure they still exist.
713 * src/wdgt-media-select.c:
714 Default to "search all templates" tab if no recent templates found.
716 2007-11-28 Jim Evins <evins@snaught.com>
718 * data/glade/wdgt-media-select.glade:
719 * src/wdgt-media-select.c:
720 Added tabbed notebook to allow selection of recent template versus searching the
724 2007-11-26 Jim Evins <evins@snaught.com>
726 * libglabels/Makefile.am:
727 * libglabels/libglabels.h:
730 * src/prefs-dialog.c:
735 Added tracking of recently used templates.
737 2007-11-20 Jim Evins <evins@snaught.com>
739 * data/glade/template-designer.glade:
740 * src/template-designer.c:
741 Added warning icon when match brand and part match an existing template.
743 2007-11-18 Jim Evins <evins@snaught.com>
745 * libglabels/Makefile.am:
748 Added lgl_str_utf8_casecmp().
749 * libglabels/libglabels-private.h:
750 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
751 * libglabels/db.c: (lgl_db_get_brand_list):
752 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
755 2007-11-18 Jim Evins <evins@snaught.com>
757 * data/glade/template-designer.glade:
758 * src/template-designer.c:
759 Don't advance past name page, if brand and part match an existing template.
761 2007-11-18 Jim Evins <evins@snaught.com>
763 * libglabels/db.c: (lgl_db_register_template), (read_templates):
764 When registering a new template, don't add to "User defined" category before
765 writing to file. Add to "User defined" category when reading from "~/.glabels"
766 directory instead. This will allow legacy templates (and manually created
767 templates) to be automatically added to the "user defined" category.
768 * libglabels/xml-template.c:
769 (lgl_xml_template_create_template_node):
770 Fixed typo/bug causing brand to be wrong.
772 2007-11-16 Jim Evins <evins@snaught.com>
776 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
777 function. Automatically create "User defined" category and add to all user
778 registered templates.
779 * libglabels/xml-template.c:
780 * libglabels/xml-template.h:
781 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
782 lgl_xml_template_write_template_to_file().
783 * docs/libglabels/libglabels-decl-list.txt:
784 * docs/libglabels/libglabels-sections.txt:
785 * docs/libglabels/libglabels-undocumented.txt:
786 * docs/libglabels/tmpl/db.sgml:
787 * docs/libglabels/tmpl/xml-template.sgml:
788 Update documentation to reflect above changes.
790 2007-10-28 Jim Evins <evins@snaught.com>
792 * libglabels/xml-template.c:
793 Remove any leading white space from part #s when parsing old names.
794 * src/mini-preview-pixbuf-cache.c:
795 If name isn't in cache add it.
797 2007-10-26 Jim Evins <evins@snaught.com>
799 * libglabels/Makefile.am:
800 * libglabels/category.c:
801 * libglabels/category.h:
804 * libglabels/libglabels-private.h:
805 * libglabels/libglabels.h:
806 * libglabels/paper.c:
807 * libglabels/paper.h:
808 * libglabels/template.c:
809 * libglabels/template.h:
810 * libglabels/xml-template.c:
811 Another pass at screwing with the libglabels API. Moved all
812 database related stuff to db.[ch].
813 * docs/libglabels/libglabels-decl-list.txt:
814 * docs/libglabels/libglabels-docs.sgml:
815 * docs/libglabels/libglabels-sections.txt:
816 * docs/libglabels/libglabels-undocumented.txt:
817 * docs/libglabels/tmpl/category.sgml:
818 * docs/libglabels/tmpl/db.sgml:
819 * docs/libglabels/tmpl/init.sgml:
820 * docs/libglabels/tmpl/libglabels-unused.sgml:
821 * docs/libglabels/tmpl/paper.sgml:
822 * docs/libglabels/tmpl/template-construction.sgml:
823 * docs/libglabels/tmpl/template-db.sgml:
824 * docs/libglabels/tmpl/template-misc.sgml:
825 * docs/libglabels/tmpl/template-struct.sgml:
826 * docs/libglabels/tmpl/template.sgml:
827 Updated documentation to reflect above changes to libglabels API.
829 * src/glabels-batch.c:
831 * src/mini-preview-pixbuf-cache.c:
834 * src/template-designer.c:
835 * src/wdgt-media-select.c:
836 * src/wdgt-mini-preview.c:
837 * src/wdgt-rotate-label.c:
838 * src/xml-label-04.c:
840 Reconciled usage with above libglabels API changes.
842 2007-10-21 Jim Evins <evins@snaught.com>
844 * data/glade/wdgt-media-select.glade:
845 * src/wdgt-media-select.c:
846 Added brand to filter settings.
848 2007-10-21 Jim Evins <evins@snaught.com>
850 * data/dtd/glabels-2.2.dtd:
851 Forgot to replace Alias name attribute with brand and part attributes.
852 * data/templates/avery-iso-templates.xml:
853 * data/templates/avery-other-templates.xml:
854 * data/templates/avery-us-templates.xml:
855 * data/templates/misc-iso-templates.xml:
856 * data/templates/misc-other-templates.xml:
857 * data/templates/misc-us-templates.xml:
858 * data/templates/zweckform-iso-templates.xml:
859 Replaced all name attributes with brand/part attribute pairs.
861 2007-10-20 Jim Evins <evins@snaught.com>
863 * src/stock-pixmaps/*.png
864 Updated icons to use Tango color palette.
866 2007-10-20 Jim Evins <evins@snaught.com>
868 * data/dtd/Makefile.am:
869 * data/dtd/glabels-2.0.dtd:
870 * data/dtd/glabels-2.2.dtd:
871 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
873 * libglabels/template.c:
874 * libglabels/template.h:
875 * libglabels/xml-template.c:
877 Added brand and part attributes to template and alias structures and nodes.
880 * src/mini-preview-pixbuf-cache.c:
881 * src/template-designer.c:
882 * src/wdgt-media-select.c:
883 Use modified libglabels API.
884 * docs/libglabels/libglabels-decl-list.txt:
885 * docs/libglabels/libglabels-sections.txt:
886 * docs/libglabels/libglabels-undocumented.txt:
887 * docs/libglabels/tmpl/template-construction.sgml:
888 * docs/libglabels/tmpl/template-db.sgml:
889 * docs/libglabels/tmpl/template-struct.sgml:
890 Update libglabels documentation to reflect above modifications.
892 2007-10-14 Jim Evins <evins@snaught.com>
894 * docs/libglabels/libglabels-decl-list.txt:
895 * docs/libglabels/libglabels-sections.txt:
896 * docs/libglabels/libglabels-undocumented.txt:
897 * docs/libglabels/tmpl/category.sgml:
898 * libglabels/category.c:
899 * libglabels/category.h:
900 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
901 parity with paper functions.
903 2007-10-12 Jim Evins <evins@snaught.com>
905 * docs/libglabels/libglabels-decl-list.txt:
906 * docs/libglabels/libglabels-sections.txt:
907 * docs/libglabels/libglabels-undocumented.txt:
908 * docs/libglabels/tmpl/category.sgml:
909 * docs/libglabels/tmpl/enums.sgml:
910 * docs/libglabels/tmpl/libglabels-unused.sgml:
911 * docs/libglabels/tmpl/paper.sgml:
912 * docs/libglabels/tmpl/template-struct.sgml:
914 * libglabels/template.c:
915 * libglabels/template.h:
916 Another pass at fleshing out the libglabels documentation.
917 * src/cairo-label-path.c:
918 * src/cairo-markup-path.c:
920 * src/mini-preview-pixbuf.c:
924 * src/wdgt-media-select.c:
925 * src/wdgt-mini-preview.c:
926 * src/wdgt-print-copies.c:
927 * src/wdgt-print-merge.c:
928 * src/wdgt-rotate-label.c:
929 Removed lgl_template_get_first_frame() from libglabels API and all references.
931 2007-10-11 Jim Evins <evins@snaught.com>
933 Extended checks for deprecated symbols.
934 * libglabels/template.c:
935 Removed g_strcasecmp references, which are deprecated.
937 2007-10-09 Jim Evins <evins@snaught.com>
939 * src/merge-evolution.c:
940 Create address book if it does not exist. Also, be more robust about handling
941 error conditions -- don't just assume GError has been set.
943 2007-10-08 Jim Evins <evins@snaught.com>
945 * libglabels/template.c:
946 * libglabels/xml-template.c:
947 * src/template-designer.c:
948 Missed some symbols with libglabels API work.
950 2007-10-01 Jim Evins <evins@snaught.com>
952 * docs/libglabels/libglabels-decl-list.txt:
953 * docs/libglabels/libglabels-docs.sgml:
954 * docs/libglabels/libglabels-sections.txt:
955 * docs/libglabels/libglabels-undocumented.txt:
956 * docs/libglabels/tmpl/category.sgml:
957 * docs/libglabels/tmpl/enums.sgml:
958 * docs/libglabels/tmpl/init.sgml:
959 * docs/libglabels/tmpl/libglabels-unused.sgml:
960 * docs/libglabels/tmpl/paper.sgml:
961 * docs/libglabels/tmpl/template-construction.sgml:
962 * docs/libglabels/tmpl/template-db.sgml:
963 * docs/libglabels/tmpl/template-misc.sgml:
964 * docs/libglabels/tmpl/template-struct.sgml:
965 * docs/libglabels/tmpl/template.sgml:
966 * docs/libglabels/tmpl/xml-category.sgml:
967 * docs/libglabels/tmpl/xml-template.sgml:
968 * libglabels/category.h:
970 * libglabels/libglabels-private.h:
971 * libglabels/paper.h:
972 * libglabels/template.c:
973 * libglabels/template.h:
974 * libglabels/xml-template.h:
975 Basic documentation framework for libglabels updated. This still needs some
978 2007-09-27 Jim Evins <evins@snaught.com>
980 * docs/libglabels/libglabels-decl-list.txt:
981 * docs/libglabels/libglabels-docs.sgml:
982 * docs/libglabels/libglabels-sections.txt:
983 * docs/libglabels/libglabels-undocumented.txt:
984 * docs/libglabels/tmpl/enums.sgml:
985 * docs/libglabels/tmpl/init.sgml:
986 * docs/libglabels/tmpl/libglabels-unused.sgml:
987 * docs/libglabels/tmpl/paper.sgml:
988 * docs/libglabels/tmpl/template.sgml:
989 * docs/libglabels/tmpl/xml-paper.sgml:
990 * docs/libglabels/tmpl/xml-template.sgml:
991 * docs/libglabels/tmpl/xml.sgml:
992 * libglabels/Makefile.am:
993 * libglabels/category.c:
994 * libglabels/category.h:
995 * libglabels/enums.h:
998 * libglabels/libglabels-private.h:
999 * libglabels/libglabels.h:
1000 * libglabels/paper.c:
1001 * libglabels/paper.h:
1002 * libglabels/template.c:
1003 * libglabels/template.h:
1004 * libglabels/xml-category.c:
1005 * libglabels/xml-category.h:
1006 * libglabels/xml-paper.c:
1007 * libglabels/xml-paper.h:
1008 * libglabels/xml-template.c:
1009 * libglabels/xml-template.h:
1012 * src/cairo-label-path.c:
1013 * src/cairo-label-path.h:
1014 * src/cairo-markup-path.c:
1015 * src/cairo-markup-path.h:
1017 * src/glabels-batch.c:
1019 * src/label-object.c:
1022 * src/mini-preview-pixbuf-cache.c:
1023 * src/mini-preview-pixbuf.c:
1024 * src/mini-preview-pixbuf.h:
1025 * src/prefs-dialog.c:
1026 * src/prefs-model.c:
1027 * src/prefs-model.h:
1032 * src/template-designer.c:
1033 * src/view-barcode.c:
1035 * src/view-ellipse.c:
1039 * src/wdgt-media-select.c:
1040 * src/wdgt-mini-preview.c:
1041 * src/wdgt-mini-preview.h:
1042 * src/wdgt-print-copies.c:
1043 * src/wdgt-print-merge.c:
1044 * src/wdgt-rotate-label.c:
1045 * src/xml-label-04.c:
1047 Major cleanup of libglabels API -- this breaks API compatibility with older
1048 development and stable versions -- as far as I know, there are currently
1049 no external users of this library yet.
1051 2007-09-14 Jim Evins <evins@snaught.com>
1056 * src/label-object.c:
1057 * src/label-object.h:
1058 * src/label-barcode.c:
1059 * src/label-ellipse.c:
1061 * src/view-object.c:
1062 * src/view-barcode.c:
1064 * src/view-ellipse.c:
1068 Better separation of model from view.
1070 2007-08-21 Jim Evins <evins@snaught.com>
1072 * src/print-op.c: (create_custom_widget_cb):
1073 Fix problem with force_outline_flag -- don't override with default.
1075 2007-08-21 Jim Evins <evins@snaught.com>
1077 * data/dtd/glabels-2.0.dtd:
1078 * libglabels/template.c:
1079 * libglabels/template.h:
1080 * libglabels/xml-template.c:
1081 * src/cairo-markup-path.c:
1082 Added "Markup-rect" element to template format.
1084 2007-08-21 Jim Evins <evins@snaught.com>
1087 Changed version to 2.1.pre5svn.
1088 * src/view.c: (draw_markup_layer):
1089 Do a stroke for each markup path, otherwise multiple markups
1092 2007-08-17 Jim Evins <evins@snaught.com>
1095 Bump libglabels revision numbers for 2.1.4 release.
1097 2007-08-16 Jim Evins <evins@snaught.com>
1100 Include subdir iec16022-0.2.1.
1104 Preparation for 2.1.4.
1107 2007-08-11 Jim Evins <evins@snaught.com>
1113 Added Esperanto translation. Provided by Antonio C.
1114 Codazzi "la Filozofo" <f_sophia@libero.it>.
1116 Updated French translation. Provided by Claude Paroz
1117 <claude@2xlibre.net>.
1119 Updated to reflect above translations.
1121 2007-08-11 Jim Evins <evins@snaught.com>
1124 * data/templates/avery-iso-templates.xml:
1125 * data/templates/avery-us-templates.xml:
1126 * data/templates/misc-iso-templates.xml:
1127 * data/templates/misc-other-templates.xml:
1128 * data/templates/misc-us-templates.xml:
1129 * data/templates/zweckform-iso-templates.xml:
1130 Caught up with backlog of template submissions.
1132 2007-08-10 Jim Evins <evins@snaught.com>
1134 * src/bc-postnet.c: (gl_barcode_postnet_new):
1136 Added support for Brazilian CEPNet barcodes. This is simply an
1137 instance of the US POSTNET format with 8 digits. Patch supplied
1138 by Mário Meyer in bug # 1768792.
1140 Updated acknowledgments to reflect above patch and recent shuffling
1141 of underlying technology.
1143 2007-05-13 Jim Evins <evins@snaught.com>
1145 * src/merge-text.c: (parse_line), (parse_field):
1146 Remove leading and trailing spaces from CSV fields, unless quoted.
1148 2007-05-09 Jim Evins <evins@snaught.com>
1150 * src/object-editor-bc-page.c:
1151 * src/object-editor-data-page.c:
1152 * src/object-editor-fill-page.c:
1153 * src/object-editor-image-page.c:
1154 * src/object-editor-line-page.c:
1155 * src/object-editor-lsize-page.c:
1156 * src/object-editor-position-page.c:
1157 * src/object-editor-private.h:
1158 * src/object-editor-shadow-page.c:
1159 * src/object-editor-size-page.c:
1160 * src/object-editor-text-page.c:
1161 * src/object-editor.c:
1162 * src/prefs-dialog.c:
1163 * src/template-designer.c:
1164 * src/ui-property-bar.c:
1165 * src/wdgt-media-select.c:
1166 Replaced signal block/unblock pairs with simple flags. This reduces
1167 some code clutter, hopefully making it easier to read.
1169 2007-05-05 Jim Evins <evins@snaught.com>
1171 * src/template-designer.c: (apply_cb):
1172 Add new template to mini-preview pixbuf cache.
1174 2007-05-03 Jim Evins <evins@snaught.com>
1176 * src/label-image.c: (gl_label_image_init), (draw_object):
1177 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1180 2007-05-02 Jim Evins <evins@snaught.com>
1182 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1183 (button_release_event_cb):
1184 Removed attempt at rendering optimization by clipping the updates
1185 to areas affected -- this actually seemed to hurt update performance.
1187 2007-04-30 Jim Evins <evins@snaught.com>
1190 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1191 (gl_color_node_equal), (gl_color_node_expand):
1192 * src/label-barcode.c: (draw_object):
1193 * src/label-box.c: (draw_object), (draw_shadow):
1194 * src/label-ellipse.c: (draw_object), (draw_shadow):
1195 * src/label-line.c: (draw_object), (draw_shadow):
1196 * src/label-text.c: (draw_object), (draw_shadow):
1197 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1198 * src/wdgt-rotate-label.c: (drawingarea_update):
1199 Some cleanup to color related code.
1201 2007-04-30 Jim Evins <evins@snaught.com>
1204 Added glLabelRegion structure type.
1205 * src/label-object.c: (gl_label_object_get_extent):
1206 * src/label-object.h:
1207 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1209 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1210 (gl_view_select_region), (gl_view_align_selection_left),
1211 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1212 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1213 (gl_view_align_selection_vcenter),
1214 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1215 (gl_view_move_selection), (gl_view_can_selection_text),
1216 (motion_notify_event_cb), (button_press_event_cb),
1217 (button_release_event_cb):
1218 - Reconcile with new gl_label_object_get_extent() API.
1219 - Use glLabelRegion for view->select_region.
1220 - Added gl_view_update_region() to clip updates to region.
1221 - Use gl_view_update_region() during manipulation of view->select_region.
1223 2007-04-26 Jim Evins <evins@snaught.com>
1225 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1226 (draw_label_outline):
1227 * src/print.c: (print_crop_marks), (draw_outline):
1228 * src/view-object.c: (gl_view_object_draw_handles):
1229 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1230 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1231 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1232 * src/wdgt-rotate-label.c: (drawingarea_update):
1233 Added defines for various magic numbers.
1235 2007-04-25 Jim Evins <evins@snaught.com>
1237 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1238 Scale text down. Cairo seems to render text too large.
1240 2007-04-25 Jim Evins <evins@snaught.com>
1243 * src/view.c: (gl_view_update), (expose_cb),
1244 (motion_notify_event_cb), (button_press_event_cb),
1245 (button_release_event_cb):
1246 - Try not to let updates get backed up.
1247 - Grab pointer when doing any drag operations.
1249 2007-04-11 Jim Evins <evins@snaught.com>
1251 * src/cairo-label-path.c: (gl_cairo_label_path),
1252 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1253 (gl_cairo_cd_label_path):
1254 * src/cairo-label-path.h:
1255 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1256 (draw_label_outline):
1257 * src/print.c: (draw_outline), (clip_to_outline):
1258 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1259 * src/wdgt-mini-preview.c: (draw_labels):
1260 * src/wdgt-rotate-label.c: (drawingarea_update):
1261 Modified to universally use gl_cairo_label_path() to create paths
1262 for labels. Added shadow to mini preview in rotate widget.
1264 2007-04-10 Jim Evins <evins@snaught.com>
1266 * libglabels/template.h:
1267 * libglabels/template.c: (gl_template_get_name_list_unique),
1268 (gl_template_get_name_list_all), (gl_template_from_name):
1269 Modified libglabels to allow you to get a list of all template names
1270 including all aliases or just a list of primary names of each unique
1273 * src/file.c: (gl_file_properties):
1274 * src/glabels.c: (main):
1275 * src/mini-preview-pixbuf-cache.h:
1276 * src/mini-preview-pixbuf-cache.c:
1277 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1278 (filter_changed_cb), (load_list):
1279 Added mini-preview pixbuf cache, so that only one mini-preview is
1280 needed for a unique template and gets reused for all aliases. These
1281 pixbufs will also live for the life of the program so they are not
1282 rebuilt everytime a new label dialog is invoked.
1283 * src/mini-preview-pixbuf.c: (draw_paper),
1284 (draw_rect_label_outline), (draw_round_label_outline),
1285 (draw_cd_label_outline):
1286 Removed some comment artifacts.
1288 2007-04-04 Jim Evins <evins@snaught.com>
1290 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1291 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1292 (draw_round_label_outline), (draw_cd_label_outline):
1293 * src/wdgt-media-select.c: (load_list):
1294 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1295 Cosmetic enhancments to mini previews.
1297 2007-04-04 Jim Evins <evins@snaught.com>
1299 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1300 (gl_ui_property_bar_construct):
1301 Save copy of GladeXML tree so that we don't lose tooltips.
1303 2007-04-02 Jim Evins <evins@snaught.com>
1305 * src/merge-properties-dialog.c:
1306 * src/new-label-dialog.c:
1307 * src/object-editor.c:
1308 * src/prefs-dialog.c:
1310 * src/template-designer.c:
1311 * src/ui-property-bar.c:
1312 * src/wdgt-media-select.c:
1313 * src/wdgt-rotate-label.c:
1314 Fixed several memory leaks.
1316 2007-04-01 Jim Evins <evins@snaught.com>
1318 * src/label-text.c: (gl_label_text_init), (copy),
1319 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1320 (set_font_family), (set_font_size), (set_font_weight),
1321 (set_font_italic_flag), (set_text_alignment),
1322 (set_text_line_spacing):
1323 Cache object size, so that expensive extent calculations are only done
1326 2007-03-30 Jim Evins <evins@snaught.com>
1328 * src/prefs-model.c: (gl_prefs_model_load_settings):
1329 Default to an unlimited list of recent documents, since this parameter
1330 seems to be pre-filter anyway.
1332 2007-03-30 Jim Evins <evins@snaught.com>
1334 * src/label-box.c: (draw_shadow):
1335 * src/label-ellipse.c: (draw_shadow):
1336 Added missing shadow fill.
1338 2007-03-28 Jim Evins <evins@snaught.com>
1340 * src/ui-commands.c: (gl_ui_cmd_file_print):
1341 Unreferencing the print operation sometimes crashes. Just don't do it
1344 2007-03-28 Jim Evins <evins@snaught.com>
1346 * src/print-op.c: (gl_print_op_construct),
1347 (gl_print_op_get_settings), (gl_print_op_set_settings),
1348 (gl_print_op_free_settings), (create_custom_widget_cb):
1350 * src/ui-commands.c: (gl_ui_cmd_file_print):
1351 * src/window.c: (gl_window_init):
1353 Save print settings and custom settings between print operations
1356 2007-03-24 Jim Evins <evins@snaught.com>
1358 * src/object-editor-image-page.c:
1359 (gl_object_editor_prepare_image_page),
1360 (gl_object_editor_set_image), (img_selection_changed_cb):
1361 Workaround for GtkFileChooserButton bug # 327243. This the root
1362 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1363 "selection-changed" signals -- the first 2 return NULL -- this is
1364 what caused the image to reset to the default followed by setting
1365 it back to the original image, trying to fit it into a new bounding
1366 box. This sequence of events is much more evident with the new
1369 2007-03-23 Jim Evins <evins@snaught.com>
1371 Merged all changes from experimental cairo branch to trunk.
1372 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1374 2007-03-23 Jim Evins <evins@snaught.com>
1376 * src/label-object.h:
1377 * src/label-object.c: (gl_label_object_class_init),
1378 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1379 Created "get_raw_size" method.
1380 * src/label-barcode.c: (get_size):
1381 * src/xml-label.c: (xml_create_object_text),
1382 (xml_create_object_barcode):
1383 Use new "get_raw_size" method on label-objects when apropos.
1385 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1386 (auto_shrink_font_size):
1387 Added "auto shrink" functionality back.
1389 2007-03-19 Jim Evins <evins@snaught.com>
1391 * src/label-text.c: (draw_object), (draw_shadow):
1392 Don't use negative scales in workaround from previous commit.
1395 2007-03-18 Jim Evins <evins@snaught.com>
1398 Forgot to remove include of xml-lable-191 in previous commit.
1399 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1400 Workaround for pango Bug #341481. Render text at device scale,
1401 and scale font size accordingly. Also, don't do any hinting.
1403 2007-03-18 Jim Evins <evins@snaught.com>
1405 * src/cairo-ellipse-path.c:
1406 * src/cairo-ellipse-path.h:
1407 Forgot to add these new files during last mass commit.
1409 2007-03-18 Jim Evins <evins@snaught.com>
1412 * src/xml-label-191.c:
1413 * src/xml-label-191.h:
1414 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1415 so there is no need to keep compatability.
1417 * src/bc-iec16022.c:
1418 * src/cairo-label-path.c:
1419 * src/cairo-label-path.h:
1420 * src/cairo-markup-path.c:
1424 * src/glabels-batch.c:
1426 * src/label-barcode.c:
1428 * src/label-ellipse.c:
1429 * src/label-image.c:
1431 * src/label-object.c:
1432 * src/label-object.h:
1436 * src/merge-properties-dialog.c:
1438 * src/new-label-dialog.c:
1439 * src/object-editor-bc-page.c:
1440 * src/object-editor-data-page.c:
1441 * src/object-editor-edit-page.c:
1442 * src/object-editor-fill-page.c:
1443 * src/object-editor-image-page.c:
1444 * src/object-editor-line-page.c:
1445 * src/object-editor-private.h:
1446 * src/object-editor-shadow-page.c:
1447 * src/object-editor-text-page.c:
1448 * src/object-editor.c:
1449 * src/pixbuf-cache.c:
1454 * src/template-designer.c:
1456 * src/ui-property-bar.c:
1458 * src/view-barcode.c:
1460 * src/view-ellipse.c:
1463 * src/view-object.c:
1464 * src/view-object.h:
1467 * src/wdgt-media-select.c:
1468 * src/wdgt-print-copies.c:
1469 * src/wdgt-print-merge.c:
1471 * src/xml-label-04.c:
1473 Many changes, including:
1474 - Move draw methods from view-*() to label-*().
1475 - Use same drawing code for on screen view and printing.
1476 - Fix all issues exposed with '-Wall -Werror'.
1478 2007-03-14 Jim Evins <evins@snaught.com>
1481 * src/cairo-handle-path.c:
1482 * src/cairo-handle-path.h:
1483 * src/cairo-object-path.c:
1484 * src/cairo-object-path.h:
1485 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1486 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1488 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1489 (draw_shadow), (object_at):
1490 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1491 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1492 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1494 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1495 (draw_shadow), (object_at):
1496 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1497 (create_handle_path), (gl_view_object_draw_handles),
1498 (gl_view_object_handle_at):
1499 * src/view-object.h:
1500 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1501 (draw_shadow), (object_at):
1502 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1503 Some restructuring of new code.
1505 2007-03-12 Jim Evins <evins@snaught.com>
1508 * src/cairo-object-path.c:
1509 * src/view-barcode.c:
1510 * src/view-barcode.h:
1512 Added barcode object support to view.
1514 2007-03-12 Jim Evins <evins@snaught.com>
1520 * src/cairo-object-path.c:
1521 * src/cairo-object-path.h:
1523 * src/view-ellipse.c:
1526 * src/view-object.c:
1527 * src/view-object.h:
1528 Added text object support to view. Added object_at method to all
1531 2007-03-11 Jim Evins <evins@snaught.com>
1534 * src/cairo-object-path.c: (gl_cairo_object_path),
1535 (gl_cairo_image_object_path):
1536 * src/view-image.c: (gl_view_image_class_init),
1537 (gl_view_image_finalize), (gl_view_image_new),
1538 (update_editor_from_label_cb), (draw),
1539 (gl_view_image_get_create_cursor),
1540 (gl_view_image_create_button_press_event),
1541 (gl_view_image_create_motion_event),
1542 (gl_view_image_create_button_release_event):
1544 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1545 (selection_received_cb), (motion_notify_event_cb),
1546 (button_press_event_cb), (button_release_event_cb):
1547 Added image object support to view.
1549 2007-03-11 Jim Evins <evins@snaught.com>
1552 * src/cairo-object-path.c: (gl_cairo_object_path),
1553 (gl_cairo_line_object_path):
1554 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1555 (update_object_from_editor_cb), (update_editor_from_object_cb),
1556 (update_editor_from_label_cb), (draw),
1557 (gl_view_line_get_create_cursor),
1558 (gl_view_line_create_button_press_event),
1559 (gl_view_line_create_motion_event),
1560 (gl_view_line_create_button_release_event):
1562 * src/view-object.c: (gl_view_object_resize_event):
1563 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1564 (selection_received_cb), (motion_notify_event_cb),
1565 (button_press_event_cb), (button_release_event_cb):
1566 Added line object support to view.
1567 * src/cairo-handle-path.c:
1568 Made handles slightly larger.
1571 2007-03-11 Jim Evins <evins@snaught.com>
1574 * src/cairo-handle-path.c:
1575 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1576 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1577 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1578 (gl_cairo_markup_margin_round_path),
1579 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1580 * src/cairo-object-path.c: (gl_cairo_object_path),
1581 (gl_cairo_ellipse_object_path):
1582 * src/label-object.c: (gl_label_object_rotate):
1585 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1586 (gl_view_ellipse_new), (update_object_from_editor_cb),
1587 (update_editor_from_object_cb), (update_editor_from_label_cb),
1588 (draw), (gl_view_ellipse_get_create_cursor),
1589 (gl_view_ellipse_create_button_press_event),
1590 (gl_view_ellipse_create_motion_event),
1591 (gl_view_ellipse_create_button_release_event):
1592 * src/view-ellipse.h:
1593 * src/view-object.c:
1594 * src/view-object.h:
1595 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1596 (select_object_real), (selection_received_cb),
1597 (motion_notify_event_cb), (button_press_event_cb),
1598 (button_release_event_cb):
1600 Added ellipse object support to view. Plus other cleanup.
1602 2007-03-11 Jim Evins <evins@snaught.com>
1605 * src/view-box.c: (gl_view_box_get_create_cursor),
1606 (gl_view_box_create_button_press_event),
1607 (gl_view_box_create_motion_event),
1608 (gl_view_box_create_button_release_event):
1609 * src/view-object.c: (gl_view_object_set_view),
1610 (gl_view_object_handle_at):
1612 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1613 (motion_notify_event_cb), (button_press_event_cb),
1614 (button_release_event_cb), (key_press_event_cb):
1615 Added creation code for box object.
1617 2007-03-09 Jim Evins <evins@snaught.com>
1619 * src/view-object.c: (gl_view_object_resize_event):
1620 * src/view-object.h:
1621 * src/view.c: (motion_notify_event_cb):
1622 Fix bugs with resizing transformed objects.
1623 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1624 * src/cairo-object-path.c: (gl_cairo_object_path):
1625 * src/cairo-object-path.h:
1626 * src/label-object.c: (gl_label_object_init),
1627 (gl_label_object_dup), (gl_label_object_get_extent),
1628 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1629 (gl_label_object_rotate), (gl_label_object_set_matrix),
1630 (gl_label_object_get_matrix):
1631 * src/label-object.h:
1632 * src/print.c: (draw_object):
1634 * src/view-highlight.c:
1635 * src/view-highlight.h:
1636 * src/xml-label-191.c: (xml191_parse_object):
1637 * src/xml-label.c: (xml_parse_affine_attrs),
1638 (xml_create_affine_attrs):
1639 Replace libart affine matrices with cairo matrices.
1641 2007-03-08 Jim Evins <evins@snaught.com>
1643 * src/view-object.h:
1644 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1645 * src/view-object.c: (gl_view_object_handle_at),
1646 (gl_view_object_resize_event):
1647 Added resize code -- still a bit buggy.
1649 2007-03-07 Jim Evins <evins@snaught.com>
1652 * src/cairo-handle-path.c:
1653 * src/cairo-handle-path.h:
1654 * src/view-box.c: (gl_view_box_new):
1655 * src/view-object.c: (gl_view_object_set_object),
1656 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1657 * src/view-object.h:
1658 * src/view.c: (draw_highlight_layer), (select_object_real),
1659 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1660 (button_press_event_cb), (button_release_event_cb),
1661 (key_press_event_cb):
1663 Added beginnings of object resize handles.
1665 2007-03-07 Jim Evins <evins@snaught.com>
1668 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1669 (gl_view_object_create_mode), (motion_notify_event_cb),
1670 (button_press_event_cb), (button_release_event_cb),
1671 (key_press_event_cb):
1672 Added move selection support.
1674 2007-03-05 Jim Evins <evins@snaught.com>
1676 * src/cairo-object-path.c: (gl_cairo_object_path):
1677 * src/view-object.c: (gl_view_object_draw),
1678 (gl_view_object_draw_highlight):
1679 * src/view.c: (view_object_at), (motion_notify_event_cb),
1680 (button_press_event_cb), (button_release_event_cb):
1681 Additional refinements to select logic.
1683 2007-03-05 Jim Evins <evins@snaught.com>
1686 * src/view.c: (gl_view_init), (gl_view_construct),
1687 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1688 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1689 (button_press_event_cb), (button_release_event_cb):
1690 Added initial select region support and context menu.
1692 2007-03-04 Jim Evins <evins@snaught.com>
1703 * src/ui-commands.c:
1706 * src/view-object.c:
1707 * src/view-object.h:
1710 * src/wdgt-print-copies.c:
1711 * src/wdgt-print-merge.c:
1713 Initial port to a raw Cairo canvas. This removes all remaining
1714 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1715 the view is becoming a canvas widget in its own right. Still needs
1717 * src/cairo-label-path.c:
1718 * src/cairo-label-path.h:
1719 * src/cairo-markup-path.c:
1720 * src/cairo-markup-path.h:
1721 * src/cairo-object-path.c:
1722 * src/cairo-object-path.h:
1723 New files to support cairo canvas.
1724 * src/canvas-hacktext.c:
1725 * src/canvas-hacktext.h:
1728 2007-02-18 Jim Evins <evins@snaught.com>
1731 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1733 2007-02-14 Jim Evins <evins@snaught.com>
1737 * src/bc-gnubarcode.c:
1738 * src/bc-gnubarcode.h:
1743 * src/canvas-hacktext.c:
1744 * src/canvas-hacktext.h:
1751 * src/label-barcode.c:
1752 * src/label-barcode.h:
1755 * src/label-ellipse.c:
1756 * src/label-ellipse.h:
1757 * src/label-image.c:
1758 * src/label-image.h:
1761 * src/label-object.c:
1762 * src/label-object.h:
1767 * src/merge-evolution.c:
1768 * src/merge-evolution.h:
1771 * src/merge-properties-dialog.c:
1772 * src/merge-properties-dialog.h:
1775 * src/merge-vcard.c:
1776 * src/merge-vcard.h:
1779 * src/mini-preview-pixbuf.h:
1780 * src/new-label-dialog.c:
1781 * src/new-label-dialog.h:
1782 * src/object-editor-bc-page.c:
1783 * src/object-editor-data-page.c:
1784 * src/object-editor-edit-page.c:
1785 * src/object-editor-fill-page.c:
1786 * src/object-editor-image-page.c:
1787 * src/object-editor-line-page.c:
1788 * src/object-editor-lsize-page.c:
1789 * src/object-editor-position-page.c:
1790 * src/object-editor-private.h:
1791 * src/object-editor-size-page.c:
1792 * src/object-editor-text-page.c:
1793 * src/object-editor.c:
1794 * src/object-editor.h:
1795 * src/pixbuf-cache.c:
1796 * src/pixbuf-cache.h:
1797 * src/prefs-dialog.c:
1798 * src/prefs-dialog.h:
1799 * src/prefs-model.c:
1800 * src/prefs-model.h:
1806 * src/template-designer.c:
1809 * src/ui-commands.c:
1810 * src/ui-commands.h:
1811 * src/ui-property-bar.c:
1812 * src/ui-property-bar.h:
1821 * src/view-barcode.c:
1822 * src/view-barcode.h:
1825 * src/view-ellipse.c:
1826 * src/view-ellipse.h:
1827 * src/view-highlight.c:
1828 * src/view-highlight.h:
1833 * src/view-object.c:
1834 * src/view-object.h:
1839 * src/wdgt-chain-button.c:
1840 * src/wdgt-chain-button.h:
1841 * src/wdgt-media-select.c:
1842 * src/wdgt-mini-preview.c:
1843 * src/wdgt-print-copies.c:
1844 * src/wdgt-print-copies.h:
1845 * src/wdgt-print-merge.c:
1846 * src/wdgt-print-merge.h:
1847 * src/wdgt-rotate-label.c:
1849 * src/xml-label-04.c:
1850 * src/xml-label-04.h:
1851 * src/xml-label-191.c:
1852 * src/xml-label-191.h:
1856 Assorted superficial cleanup. Including:
1857 - Use G_DEFINE_TYPE for all objects.
1858 - Reconcile style of all class initializer functions
1859 - Reconcile style of all finalize functions
1860 - Add emacs mode line to all source files
1862 2007-02-06 Jim Evins <evins@snaught.com>
1864 Assorted cleanup and removal of deprecated items.
1869 Removed annoying splash screen.
1870 * src/glabels-batch.c: (main):
1871 * src/glabels.c: (main):
1872 Converted from popt to GOption.
1873 * src/object-editor-shadow-page.c:
1874 (gl_object_editor_set_shadow_state):
1875 Removed deprecated method on GtkToggleButton.
1876 * src/ui-commands.c: (gl_ui_cmd_help_about):
1877 Removed dependency on libgnomui/qnome-url.h.
1878 * src/template-designer.c:
1879 Removed dependency on libgnome/gnome-program.h.
1882 2007-02-04 Jim Evins <evins@snaught.com>
1886 * src/prefs-model.c:
1887 * src/print.c: (draw_text_object):
1888 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1889 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1891 2007-02-04 Jim Evins <evins@snaught.com>
1893 * src/wdgt-mini-preview.c:
1894 * src/wdgt-mini-preview.h:
1895 Ported widget from GnomeCanvas to Cairo.
1897 2007-02-03 Jim Evins <evins@snaught.com>
1899 * data/glade/template-designer.glade:
1900 * src/template-designer.c:
1901 * src/template-designer.h:
1902 Ported GnomeDruid to GtkAssistant. Since libglade does not
1903 yet support the GtkAssistant and we derive directly from
1904 the Assistant, the pages are layed out in a GtkNotebook in
1905 the glade description -- we then append each page to the
1908 2007-01-25 Jim Evins <evins@snaught.com>
1910 * data/glade/object-editor.glade:
1911 Added dummy page to notebook, to prevent shadow page from
1912 becoming the default current page at creation.
1913 * src/view-box.c: (construct_properties_editor):
1914 * src/view-ellipse.c: (construct_properties_editor):
1915 * src/view-line.c: (construct_properties_editor):
1916 * src/view-text.c: (construct_properties_editor):
1917 Reconciled order of params.
1919 2007-01-19 Jim Evins <evins@snaught.com>
1921 * src/label-barcode.h:
1922 * src/label-object.c: (gl_label_object_set_font_weight),
1923 (gl_label_object_set_text_alignment),
1924 (gl_label_object_get_font_weight),
1925 (gl_label_object_get_text_alignment):
1926 * src/label-object.h:
1927 * src/label-text.c: (gl_label_text_instance_init), (copy),
1928 (get_size), (set_font_family), (set_font_weight),
1929 (set_text_alignment), (get_font_weight), (get_text_alignment):
1931 * src/object-editor-text-page.c:
1932 (gl_object_editor_prepare_text_page),
1933 (gl_object_editor_set_font_family),
1934 (gl_object_editor_set_font_weight),
1935 (gl_object_editor_get_font_weight),
1936 (gl_object_editor_set_text_alignment),
1937 (gl_object_editor_get_text_alignment),
1938 (gl_object_editor_set_text_color):
1939 * src/object-editor.h:
1940 * src/prefs-dialog.c: (construct_object_page),
1941 (update_object_page_from_prefs), (update_prefs_from_object_page):
1942 * src/prefs-model.c: (gl_prefs_model_save_settings),
1943 (gl_prefs_model_load_settings):
1944 * src/prefs-model.h:
1945 * src/print.c: (draw_text_object):
1946 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1947 (reset_to_default_properties), (update_text_properties),
1948 (font_bold_toggled_cb), (text_align_toggled_cb):
1950 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1951 (gl_util_weight_to_string), (gl_util_string_to_weight),
1952 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1954 * src/view-text.c: (update_object_from_editor_cb),
1955 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1956 * src/view.c: (gl_view_set_selection_text_alignment),
1957 (gl_view_set_default_text_alignment),
1958 (gl_view_get_default_text_alignment):
1960 * src/xml-label-04.c: (xml04_parse_text_props):
1961 * src/xml-label-191.c: (xml191_parse_text_props):
1962 * src/xml-label.c: (xml_parse_object_text),
1963 (xml_parse_toplevel_span), (xml_create_object_text),
1964 (xml_create_toplevel_span):
1965 Converted all model internals to Pango. GnomeFont remains in
1966 view until GnomeCanvas can be replaced with a cairo-based canvas.
1968 2007-01-17 Jim Evins <evins@snaught.com>
1974 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1975 (gl_wdgt_print_copies_construct):
1976 * src/wdgt-print-copies.h:
1977 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1978 (gl_wdgt_print_merge_construct):
1979 * src/wdgt-print-merge.h:
1980 Removed all remaining HIG wrapper widgets.
1982 2007-01-16 Jim Evins <evins@snaught.com>
1985 * src/print-dialog.c:
1986 * src/print-dialog.h:
1989 * src/template-designer.c: (print_test_cb):
1990 * src/ui-commands.c: (gl_ui_cmd_file_print):
1992 Renamed PrintDialog to PrintOp. Added constructor for batch
1994 * src/glabels-batch.c: (main):
1995 Converted to use new PrintOp object for printing.
1997 2007-01-15 Jim Evins <evins@snaught.com>
1999 * data/glade/Makefile.am:
2000 * data/glade/print-custom-widget.glade:
2001 * src/print-dialog.c:
2002 * src/print-dialog.h:
2005 * src/template-designer.c: (print_test_cb):
2006 * src/ui-commands.c: (gl_ui_cmd_file_print):
2007 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
2008 * src/wdgt-print-merge.h:
2009 * src/window.c: (gl_window_init):
2011 Initial conversion to GtkPrintOperation.
2013 - Remove font and other libgnomeprint[ui] from elsewhere
2014 - Add batch initialization of print operation
2016 2007-01-08 Jim Evins <evins@snaught.com>
2018 Updated dependencies. Set version to 2.1.pre4cvs.
2020 2007-01-03 Jim Evins <evins@snaught.com>
2022 * src/recent-files/*
2023 Removed EggRecent stuff.
2029 * src/ui-commands.c:
2030 * src/ui-commands.h:
2032 Ported from EggRecent to GtkRecentManager.
2035 2007-01-02 Jim Evins <evins@snaught.com>
2038 * iec16022-0.2.1/BUGS:
2039 * iec16022-0.2.1/CHANGELOG:
2040 * iec16022-0.2.1/CREDITS:
2041 * iec16022-0.2.1/INSTALL:
2042 * iec16022-0.2.1/LICENSE:
2043 * iec16022-0.2.1/Makefile.am:
2044 * iec16022-0.2.1/Makefile.dist:
2045 * iec16022-0.2.1/README:
2046 * iec16022-0.2.1/README.glabels:
2047 * iec16022-0.2.1/TODO:
2048 * iec16022-0.2.1/iec16022.1:
2049 * iec16022-0.2.1/iec16022.c:
2050 * iec16022-0.2.1/iec16022ecc200.c:
2051 * iec16022-0.2.1/iec16022ecc200.h:
2052 * iec16022-0.2.1/image.c:
2053 * iec16022-0.2.1/image.h:
2054 * iec16022-0.2.1/reedsol.c:
2055 * iec16022-0.2.1/reedsol.h:
2056 * iec16022-0.2.1/test/testsuite-example.bin:
2057 * iec16022-0.2.1/test/testsuite-example.eps:
2058 * iec16022-0.2.1/test/testsuite-example.hex:
2059 * iec16022-0.2.1/test/testsuite-example.png:
2060 * iec16022-0.2.1/test/testsuite-example.text:
2061 * iec16022-0.2.1/test/testsuite.sh:
2062 Include modified copy of iec16022-0.2.1 to provide encoding
2063 support for datamatrix 2D barcodes.
2065 * src/bc-iec16022.c:
2066 * src/bc-iec16022.h:
2068 Added initial datamatrix 2D barcode backend to barcode code.
2071 Automatic updates to later versions of these files.
2073 2006-11-28 Jim Evins <evins@snaught.com>
2075 * data/templates/avery-iso-templates.xml:
2076 * data/templates/avery-us-templates.xml:
2077 * data/templates/categories.xml:
2078 * data/templates/misc-iso-templates.xml:
2079 * data/templates/misc-us-templates.xml:
2080 * data/templates/zweckform-iso-templates.xml:
2081 More categorization.
2083 2006-09-12 Jim Evins <evins@snaught.com>
2085 * data/dtd/glabels-2.0.dtd:
2086 * data/templates/Makefile.am:
2087 * data/templates/avery-iso-templates.xml:
2088 * data/templates/avery-other-templates.xml:
2089 * data/templates/avery-us-templates.xml:
2090 * data/templates/categories.xml:
2091 * data/templates/misc-iso-templates.xml:
2092 * data/templates/misc-other-templates.xml:
2093 * data/templates/zweckform-iso-templates.xml:
2094 * data/glade/Makefile.am:
2095 * data/glade/new-label-dialog.glade:
2096 * data/glade/wdgt-media-select.glade:
2097 * data/glade/wdgt-rotate-label.glade:
2098 * libglabels/Makefile.am:
2099 * libglabels/category.c:
2100 * libglabels/category.h:
2101 * libglabels/libglabels.h:
2102 * libglabels/paper.c:
2103 * libglabels/template.c:
2104 * libglabels/template.h:
2105 * libglabels/xml-category.c:
2106 * libglabels/xml-category.h:
2107 * libglabels/xml-template.c:
2108 Added support for category meta data.
2111 * src/mini-preview-pixbuf.c:
2112 * src/mini-preview-pixbuf.h:
2113 * src/new-label-dialog.c:
2114 * src/new-label-dialog.h:
2115 * src/wdgt-media-select.c:
2116 * src/wdgt-media-select.h:
2117 * src/wdgt-rotate-label.c:
2118 * src/wdgt-rotate-label.h:
2119 New "new label" dialog.
2121 2006-05-27 Jim Evins <evins@snaught.com>
2126 Preparation for 2.1.3.
2132 2006-05-22 Jim Evins <evins@snaught.com>
2134 * src/print.c: (draw_barcode_object):
2135 Don't print "Invalid barcode data" if data field is empty. Patch provided
2136 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2138 Added acknowledgment for above patch.
2139 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2140 * src/bc-postnet.c: (postnet_code):
2141 Removed "Invalid barcode data" warnings from stderr.
2142 * src/view-barcode.c: (draw_barcode):
2143 Draw box around barcode extent if data empty or invalid. Center a
2144 message whether the data is empty or invalid in box.
2146 2006-05-22 Jim Evins <evins@snaught.com>
2148 * src/print.c: (draw_text_object):
2149 Check shadow state when printing text.
2151 2006-05-20 Jim Evins <evins@snaught.com>
2153 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2154 (gl_ui_cmd_view_markup_toggle):
2155 Fixed crash when grid or markup have been toggled off during
2156 a previous session. Bug #1434324.
2158 2006-04-05 Jim Evins <evins@snaught.com>
2160 * src/object-editor.c: (gl_object_editor_set_key_names):
2161 Fixed potential crash when freeing empty key list.
2163 2006-03-11 Jim Evins <evins@snaught.com>
2165 * src/print.c: (draw_text_object):
2166 * src/view-text.c: (gl_view_text_new),
2167 (construct_properties_editor), (update_object_from_editor_cb),
2168 (update_editor_from_object_cb), (update_editor_from_label_cb),
2170 Added shadow support to text object.
2172 2006-02-18 Jim Evins <evins@snaught.com>
2174 * src/print.c: (draw_line_object):
2175 * src/view-line.c: (gl_view_line_new),
2176 (construct_properties_editor), (update_canvas_item_from_object_cb),
2177 (update_object_from_editor_cb), (update_editor_from_object_cb),
2178 (update_editor_from_label_cb):
2179 Added shadow support to line object.
2181 2006-02-16 Jim Evins <evins@snaught.com>
2185 * src/print.c: (draw_ellipse_object):
2186 * src/view-ellipse.c: (gl_view_ellipse_new),
2187 (construct_properties_editor), (update_canvas_item_from_object_cb),
2188 (update_object_from_editor_cb), (update_editor_from_object_cb),
2189 (update_editor_from_label_cb):
2190 Added shadow support to ellipse object.
2192 2006-02-15 Jim Evins <evins@snaught.com>
2194 * src/label-object.c:
2195 Changed default shadow offsets.
2196 * src/view-box.c: (gl_view_box_new):
2197 Simplified gl_view_box_new() so that is does not duplicate code
2198 in update_canvas_item_from_object_cb().
2200 2006-02-07 Jim Evins <evins@snaught.com>
2202 * data/glade/object-editor.glade:
2203 Fixed color groups of color combos.
2205 Added default shadow color.
2206 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2207 Added shadow color group.
2209 2006-02-06 Jim Evins <evins@snaught.com>
2211 * src/object-editor-shadow-page.c:
2212 Forgot to add this file.
2213 * src/view-box.c: (gl_view_box_new),
2214 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2215 Update limits on shadow offset spinbuttons.
2217 2006-01-19 Jim Evins <evins@snaught.com>
2219 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2220 Initialize key_list to NULL.
2221 * data/glade/object-editor.glade:
2225 * src/label-object.c:
2226 * src/label-object.h:
2227 * src/object-editor-fill-page.c:
2228 * src/object-editor-private.h:
2229 * src/object-editor.c:
2230 * src/object-editor.h:
2232 Created infrastructure for shadow support.
2235 Initial shadow support in box object only.
2237 2006-01-05 Jim Evins <evins@snaught.com>
2239 * src/merge-properties-dialog.c: (src_changed_cb):
2240 Be extra paranoid before calling strcmp().
2241 * src/merge.c: (gl_merge_set_src):
2242 Don't make (merge == NULL) a critical error.
2244 2005-12-22 Jim Evins <evins@snaught.com>
2246 * src/glabels-batch.c: (main):
2247 Compile warning free with gcc 4.0.
2249 2005-12-21 Jim Evins <evins@snaught.com>
2252 Updated example RPM spec file.
2254 2005-12-21 Jim Evins <evins@snaught.com>
2258 Preparation for 2.1.2.
2260 2005-12-20 Jim Evins <evins@snaught.com>
2263 Define unique G_LOG_DOMAIN for glabels.
2264 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2265 * src/warning-handler.c: (gl_warning_handler_init),
2267 Register for G_LOG_DOMAIN instead of NULL.
2269 2005-12-10 Jim Evins <evins@snaught.com>
2271 * src/merge-evolution.c:
2272 * src/merge-vcard.c:
2275 2005-12-08 Jim Evins <evins@snaught.com>
2277 * libglabels/paper.c: (read_paper_files_from_dir):
2278 * libglabels/template.c: (gl_template_register),
2279 (read_template_files_from_dir):
2280 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2281 (gl_xml_paper_parse_papers_doc):
2282 * libglabels/xml-template.c:
2283 (gl_xml_template_read_templates_from_file),
2284 (gl_xml_template_parse_templates_doc),
2285 (gl_xml_template_parse_template_node),
2286 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2287 (xml_parse_label_cd_node), (xml_parse_layout_node),
2288 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2289 (xml_parse_markup_circle_node),
2290 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2291 * libglabels/xml.c: (gl_xml_get_prop_length):
2292 Re-classified g_warnings to g_messages.
2294 * src/glabels.c: (main):
2295 * src/warning-handler.c: (gl_warning_handler_init),
2297 * src/warning-handler.h:
2298 Added warning message handler to make sure the user is
2299 presented with appropriate non-fatal errors.
2300 * src/critical-error-handler.c: (critical_error_handler):
2301 Changed exit to abort.
2302 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2303 * src/bc-postnet.c: (postnet_code):
2304 * src/bc.c: (id_to_index), (name_to_index):
2305 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2306 * src/object-editor.c: (gl_object_notebook_construct_valist):
2307 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2308 * src/prefs.c: (gl_prefs_get_units_per_point),
2309 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2310 (gl_prefs_get_units_string):
2311 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2312 * src/splash.c: (gl_splash):
2313 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2314 * src/view-highlight.c: (gl_view_highlight_new),
2315 (highlight_resizable_box_construct), (object_changed_cb),
2316 (view_scale_changed_cb):
2317 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2318 (draw_markup_layer), (draw_markup_margin),
2319 (gl_view_object_create_mode), (canvas_event),
2320 (selection_received_cb):
2321 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2322 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2323 * src/xml-label-04.c: (gl_xml_label_04_parse),
2324 (xml04_parse_media_description), (xml04_parse_text_props),
2325 (xml04_parse_barcode_props):
2326 * src/xml-label-191.c: (gl_xml_label_191_parse),
2327 (xml191_parse_objects), (xml191_parse_object),
2328 (xml191_parse_text_props), (xml191_parse_image_props),
2329 (xml191_parse_barcode_props), (xml191_parse_data),
2330 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2331 (xml191_parse_markup):
2332 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2333 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2334 (xml_parse_object_text), (xml_parse_object_image),
2335 (xml_parse_object_barcode), (xml_parse_data),
2336 (xml_parse_toplevel_span), (gl_xml_label_save),
2337 (xml_create_objects):
2338 Re-classified g_warnings to g_messages.
2339 * src/merge-evolution.c: (gl_merge_evolution_open),
2340 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2341 Use g_warning to output errors encountered while
2342 communicating with the evolution data server
2343 instead of embedding them in the data.
2345 2005-12-08 Jim Evins <evins@snaught.com>
2347 * libglabels/libglabels-private.h:
2349 * libglabels/paper.c: (read_papers):
2350 * libglabels/template.c: (read_templates):
2351 Made appropriate warnings critical.
2353 * src/critical-error-handler.h:
2354 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2355 (critical_error_handler):
2356 Created critical error handler.
2357 * src/glabels.c: (main):
2358 Register critical error handler.
2359 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2360 * src/object-editor.c: (gl_object_editor_init):
2361 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2362 * src/template-designer.c: (gl_template_designer_init):
2363 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2364 Made appropriate warnings critical.
2366 2005-11-27 Jim Evins <evins@snaught.com>
2368 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2369 (gl_merge_evolution_get_primary_key),
2370 (gl_merge_evolution_get_record):
2371 Don't create "record_key" pseudo-key. Don't populate
2372 fields with null data.
2374 2005-11-25 Jim Evins <evins@snaught.com>
2376 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2377 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2378 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2380 Query EDS for all supported fields. Patch provided by
2381 Austin Henry <ahenry@users.sourceforge.net>.
2383 2005-10-29 Jim Evins <evins@snaught.com>
2385 * src/glabels.c: (main):
2386 * src/label-barcode.c: (gl_label_barcode_finalize):
2387 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2388 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2389 * src/object-editor.c: (gl_object_editor_finalize):
2390 Another pass at valgrinding -- plugged several memory leaks.
2391 * src/view-text.c: (gl_view_text_new),
2392 (update_canvas_item_from_object_cb), (draw_hacktext):
2393 Commented out artifacts of edit-in-place code.
2395 2005-10-28 Jim Evins <evins@snaught.com>
2397 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2398 Fixed use of uninitialized variable. Caught by
2399 d binderman <dcb314@hotmail.com>.
2401 2005-10-27 Jim Evins <evins@snaught.com>
2403 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2404 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2406 Additional cleanup of EDS and vcard backends. Provided by
2407 Austin Henry <ahenry@users.sourceforge.net>.
2409 2005-10-24 Jim Evins <evins@snaught.com>
2413 * src/merge-evolution.c:
2414 * src/merge-evolution.h:
2415 * src/merge-init.c: (gl_merge_init):
2416 * src/merge-properties-dialog.c: (type_changed_cb):
2417 * src/merge-vcard.c:
2418 * src/merge-vcard.h:
2419 * src/ui-commands.c: (gl_ui_cmd_help_about):
2420 Added Evolution Data Server and VCard merge backends. Original patch
2421 provided by Austin Henry <ahenry@users.sourceforge.net>.
2423 Only support EDS and VCard backends if libebook is installed. Allow
2424 user to disable support, even if installed.
2426 2005-10-24 Jim Evins <evins@snaught.com>
2429 * data/templates/avery-iso-templates.xml:
2430 * data/templates/avery-us-templates.xml:
2431 * data/templates/misc-iso-templates.xml:
2432 * data/templates/zweckform-iso-templates.xml:
2433 Collected all template changes and submissions since last
2436 2005-10-23 Jim Evins <evins@snaught.com>
2439 * data/mime/Makefile.am:
2440 Added configure options to disable update-mime-database and
2441 update-desktop-database as part of the install. Patch
2442 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2444 2005-10-23 Jim Evins <evins@snaught.com>
2447 * libglabels/xml.c: (gl_xml_get_prop_string),
2448 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2449 (gl_xml_is_node), (gl_xml_get_node_content):
2450 Added new XML utility functions.
2451 * libglabels/xml-paper.c:
2452 * libglabels/xml-template.c:
2454 Cleanup by using new xml utilities created above.
2455 * libglabels/paper.c: (gl_paper_free):
2456 * src/file.c: (new_response):
2457 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2458 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2459 (gl_pixbuf_cache_get_pixbuf):
2460 * src/ui-property-bar.c:
2461 (gl_ui_property_bar_construct_color_combo):
2462 * src/view-highlight.c: (gl_view_highlight_finalize):
2463 * src/view-image.c: (update_object_from_editor_cb):
2464 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2465 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2466 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2467 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2468 (draw_markup_margin_round), (draw_markup_margin_cd),
2469 (draw_markup_margin_cd_bc):
2470 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2471 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2472 Plugged various memory leaks located with valgrind.
2473 * src/view-image.c: (update_canvas_item_from_object_cb):
2474 Don't allow a width or height of zero when drawing pixbuf.
2476 2005-10-22 Jim Evins <evins@snaught.com>
2478 * libglabels/xml-paper.c:
2479 * libglabels/xml-template.c:
2482 * src/bc-gnubarcode.c:
2483 * src/canvas-hacktext.c:
2485 * src/object-editor-data-page.c:
2486 * src/print-dialog.c:
2489 * src/template-designer.c:
2491 * src/ui-property-bar.c:
2493 * src/view-barcode.c:
2495 * src/view-ellipse.c:
2500 * src/wdgt-media-select.c:
2501 * src/xml-label-04.c:
2502 * src/xml-label-191.c:
2504 Modified to compile warning free with gcc-4.0. Mostly
2505 casting to change signedness of characters. Did not
2506 attack gnu-barcode library yet.
2508 2005-10-22 Jim Evins <evins@snaught.com>
2510 * src/glabels.c: (main):
2511 * src/splash.c: (gl_splash):
2512 Removed some small memory leaks.
2516 2005-09-19 Jim Evins <evins@snaught.com>
2518 * data/glade/property-bar.glade:
2519 Remove items from font_family_combo. This prevents the
2520 double entry after adding text model and list of fonts.
2521 * src/ui-property-bar.c: (reset_to_default_properties):
2522 Free font_family_list.
2524 2005-07-01 Jim Evins <evins@snaught.com>
2527 Updated italian translation (Daniele Medri)
2529 2005-06-26 Jim Evins <evins@snaught.com>
2531 * docs/libglabels/libglabels-decl-list.txt:
2532 Somehow never got checked in before.
2533 * docs/libglabels/libglabels.types:
2534 Removed -- don't need it afterall.
2536 2005-06-20 Jim Evins <evins@snaught.com>
2539 Final prep for 2.1.1 release.
2541 2005-06-20 Jim Evins <evins@snaught.com>
2544 Final preps for 2.1.1 release.
2545 * docs/libglabels/libglabels.types:
2546 Somehow never got checked in before.
2548 Bring up-to-date with recent reorg of ui code.
2551 2005-06-19 Jim Evins <evins@snaught.com>
2553 * src/template-designer.c: (construct_layout_page):
2554 Removed attempt to match background color of mini preview widget to
2557 2005-06-17 Jim Evins <evins@snaught.com>
2559 * help/C/figures/merge-ex2-4.png:
2560 * help/C/glabels.xml:
2561 Fixed spelling error.
2563 2005-06-13 Jim Evins <evins@snaught.com>
2565 * help/C/figures/merge-ex1-1.png:
2566 * help/C/figures/merge-ex1-2.png:
2567 * help/C/figures/merge-ex1-3.png:
2568 * help/C/figures/merge-ex1-4.png:
2569 * help/C/figures/merge-ex2-1.png:
2570 * help/C/figures/merge-ex2-2.png:
2571 * help/C/figures/merge-ex2-3.png:
2572 * help/C/figures/merge-ex2-4.png:
2573 Added figures for document merge tutorial.
2574 * help/C/glabels.xml:
2575 Added document merge tutorial.
2577 2005-05-19 Jim Evins <evins@snaught.com>
2579 * data/glade/merge-properties-dialog.glade:
2580 Fixed irregular spacing.
2581 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2582 (gl_merge_properties_dialog_construct):
2583 Set outer padding and remove separator.
2585 2005-05-18 Jim Evins <evins@snaught.com>
2589 Removed glHigDialog class.
2590 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2591 (gl_file_properties), (create_properties_dialog_widgets):
2592 * src/prefs-dialog.h:
2593 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2594 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2595 * src/print-dialog.h:
2596 * src/prefs-dialog.h:
2597 * src/print-dialog.c: (gl_print_dialog_get_type),
2598 (gl_print_dialog_init), (gl_print_dialog_construct):
2599 Replaced all instances of glHigDialog with GtkDialog.
2601 2005-05-17 Jim Evins <evins@snaught.com>
2605 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2606 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2607 (save_as_response), (gl_file_close):
2608 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2610 2005-05-15 Jim Evins <evins@snaught.com>
2612 * src/ui-commands.h:
2620 A little code reformatting -- no functional changes.
2622 2005-05-14 Jim Evins <evins@snaught.com>
2625 Removed obsolete macros.
2627 Added marshalling template to support new view signal: "context_menu_activate."
2629 * src/view.c: (gl_view_class_init), (gl_view_construct),
2630 (canvas_event_arrow_mode):
2631 - Removed hardcoded context menus and added new signal "context_menu_activate"
2632 to push this up to the uimanager.
2633 - Removed merge properties and print dialogs so that they can be managed with
2634 the window by the uimanager.
2635 * src/merge-properties-dialog.h:
2636 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2637 (gl_merge_properties_dialog_construct):
2638 Changed calling convention of gl_merge_properties_dialog_new() to use
2639 glLabel and GtkWindow instead of view to make more consistent with other
2641 * src/print-dialog.h:
2642 * src/print-dialog.c: (gl_print_dialog_new),
2643 (gl_print_dialog_construct):
2644 Removed last artifact of libbonoboui.
2645 * src/ui-commands.c: (gl_ui_cmd_file_print),
2646 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2647 Reconciled style for launching dialogs.
2648 * src/ui.c: (gl_ui_new):
2649 Added context menus to ui manager.
2650 * src/view-object.c: (item_event_arrow_mode):
2651 No longer try to select objects with right-click.
2653 * src/window.c: (gl_window_init), (gl_window_set_label),
2654 (context_menu_activate_cb):
2655 Context menus and all dialogs are now managed in a consistent way in window
2658 2005-05-11 Jim Evins <evins@snaught.com>
2661 * src/window.c: (gl_window_init), (gl_window_destroy):
2662 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2663 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2664 Moved management of recent_view back from window.c to ui.c -- it just feels
2667 2005-05-10 Jim Evins <evins@snaught.com>
2670 * src/window.c: (gl_window_init):
2672 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2673 (menu_item_select_cb), (menu_item_deselect_cb):
2674 Added GtkStatusbar which displays menu tooltips.
2676 2005-05-09 Jim Evins <evins@snaught.com>
2678 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2683 Removed dependencies on libbonoboui.
2685 * data/ui/Makefile.am:
2686 * data/ui/glabels-ui.xml:
2687 Removed data/ui directory.
2688 * data/glade/Makefile.am:
2689 * data/property-bar.glade:
2690 Added glade description of property-bar for new libglade implementation
2697 * src/ui-commands.h:
2698 * src/ui-commands.c:
2699 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2700 since the distinction between "commands" and "tools" is no longer that clear.
2703 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2704 no longer has knowledge of eggRecent*.
2705 * src/glabels.c: (main):
2706 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2708 * src/object-editor.c: (gl_object_editor_init):
2709 Make sure notebook does not respond to a "show_all" on the parent.
2710 * src/recent-files/Makefile.am:
2711 * src/recent-files/*.[ch]
2712 Updated from latest version of libegg which now has a view based on
2713 GtkUIManager. Removed unused bonobo and gtk views.
2714 * src/ui-property-bar.h:
2715 * src/ui-property-bar.c:
2716 New implementation based on libglade.
2719 Sidebar is now simply a GtkWidget and does not expect to be a part of
2720 a libbonoboui interface.
2725 Converted for use with GtkUIManager.
2728 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2729 to create menus and toolbars.
2731 2005-04-25 Jim Evins <evins@snaught.com>
2733 * data/templates/misc-iso-templates.xml:
2734 Added Fellows 04715 template provided by Steve Saxon.
2736 Updated acknowledgement for above.
2738 2005-04-23 Jim Evins <evins@snaught.com>
2740 * src/util.c: (gl_util_combo_box_set_strings):
2741 Make sure to clear model before loading a new list of strings.
2742 * src/wdgt-media-select.h:
2743 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2744 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2745 (template_combo_changed_cb), (prefs_changed_cb),
2746 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2747 (gl_wdgt_media_select_get_page_size),
2748 (gl_wdgt_media_select_set_page_size):
2749 Replaced the deprecated GtkCombo widget with the new
2752 2005-04-21 Jim Evins <evins@snaught.com>
2754 * data/glade/template-designer.glade:
2755 * src/template-designer.c: (construct_pg_size_page),
2756 (pg_size_page_changed_cb), (build_template):
2757 Replaced the deprecated GtkCombo widget with the new
2760 2005-04-20 Jim Evins <evins@snaught.com>
2762 * data/glade/prefs-dialog.glade:
2763 * src/prefs-dialog.c: (construct_object_page),
2764 (update_object_page_from_prefs), (update_prefs_from_object_page):
2765 Replaced the deprecated GtkCombo widget with the new
2768 2005-04-19 Jim Evins <evins@snaught.com>
2770 * data/glade/object-editor.glade:
2771 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2772 (style_changed_cb), (gl_object_editor_set_bc_style),
2773 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2774 (gl_object_editor_get_bc_color):
2775 * src/object-editor-data-page.c:
2776 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2777 (gl_object_editor_get_data):
2778 * src/object-editor-edit-page.c:
2779 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2780 * src/object-editor-fill-page.c:
2781 (gl_object_editor_prepare_fill_page),
2782 (gl_object_editor_set_fill_color),
2783 (gl_object_editor_get_fill_color):
2784 * src/object-editor-image-page.c:
2785 (gl_object_editor_prepare_image_page),
2786 (gl_object_editor_set_image), (gl_object_editor_get_image):
2787 * src/object-editor-line-page.c:
2788 (gl_object_editor_prepare_line_page),
2789 (gl_object_editor_set_line_color),
2790 (gl_object_editor_get_line_color):
2791 * src/object-editor-private.h:
2792 * src/object-editor-text-page.c:
2793 (gl_object_editor_prepare_text_page),
2794 (gl_object_editor_set_font_family),
2795 (gl_object_editor_get_font_family),
2796 (gl_object_editor_set_text_color),
2797 (gl_object_editor_get_text_color):
2798 * src/object-editor.c: (gl_object_editor_set_key_names):
2800 In the object editor: replaced all instances of the deprecated
2801 GtkCombo widget with the new GtkComboBox.
2803 2005-04-18 Jim Evins <evins@snaught.com>
2806 Neglected to save this one in previous checkin to support
2809 2005-04-17 Jim Evins <evins@snaught.com>
2811 * libglabels/libglabels-private.h:
2812 * libglabels/paper.c:
2813 * libglabels/paper.h:
2814 * libglabels/template.c:
2815 * libglabels/template.h:
2816 * libglabels/xml-paper.c:
2817 * libglabels/xml-paper.h:
2818 * libglabels/xml-template.c:
2823 * src/bc-gnubarcode.c:
2834 * src/label-barcode.c:
2836 * src/label-ellipse.c:
2837 * src/label-image.c:
2838 * src/label-image.h:
2840 * src/label-object.c:
2844 * src/merge-properties-dialog.c:
2845 * src/object-editor-bc-page.c:
2846 * src/object-editor-data-page.c:
2847 * src/object-editor-edit-page.c:
2848 * src/object-editor-fill-page.c:
2849 * src/object-editor-image-page.c:
2850 * src/object-editor-line-page.c:
2851 * src/object-editor-lsize-page.c:
2852 * src/object-editor-position-page.c:
2853 * src/object-editor-private.h:
2854 * src/object-editor-size-page.c:
2855 * src/object-editor-text-page.c:
2856 * src/object-editor.c:
2857 * src/object-editor.h:
2858 * src/pixbuf-cache.h:
2859 * src/prefs-dialog.c:
2860 * src/prefs-dialog.h:
2861 * src/prefs-model.c:
2862 * src/prefs-model.h:
2864 * src/print-dialog.c:
2865 * src/print-dialog.h:
2873 * src/template-designer.c:
2874 * src/template-designer.h:
2877 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2883 * src/view-barcode.c:
2885 * src/view-ellipse.c:
2886 * src/view-highlight.c:
2887 * src/view-highlight.h:
2890 * src/view-object.c:
2891 * src/view-object.h:
2895 * src/wdgt-chain-button.c:
2896 * src/wdgt-media-select.c:
2897 * src/wdgt-media-select.h:
2898 * src/wdgt-mini-preview.c:
2899 * src/wdgt-mini-preview.h:
2900 * src/wdgt-print-copies.c:
2901 * src/wdgt-print-copies.h:
2902 * src/wdgt-print-merge.c:
2903 * src/wdgt-print-merge.h:
2904 * src/wdgt-rotate-label.c:
2905 * src/wdgt-rotate-label.h:
2908 * src/xml-label-04.c:
2909 * src/xml-label-191.c:
2911 Cleanup of header files:
2912 - all header files are now stand-alone, verified by including
2913 first in corresponding "c" files
2914 - replaced blanket includes of gnome, gtk, and glib with
2917 2005-04-16 Jim Evins <evins@snaught.com>
2919 * data/glade/Makefile.am:
2920 * data/glade/merge-properties-dialog.glade:
2921 Added merge properties dialog glade description file.
2922 * src/merge-properties-dialog.h:
2923 * src/merge-properties-dialog.c:
2924 (gl_merge_properties_dialog_get_type),
2925 (gl_merge_properties_dialog_init),
2926 (gl_merge_properties_dialog_finalize),
2927 (gl_merge_properties_dialog_new),
2928 (gl_merge_properties_dialog_construct), (type_changed_cb),
2929 (src_changed_cb), (response_cb), (load_tree),
2930 (record_select_toggled_cb), (select_all_button_clicked_cb),
2931 (unselect_all_button_clicked_cb):
2932 Modified merge properties dialog to use libglade. Added
2933 "select all" and "unselect all" buttons.
2934 * src/merge-text.c: (parse_line):
2935 Handle empty lines better.
2936 * src/merge.c: (gl_merge_eval_key):
2937 Evaluate the key whether the record is selected or not.
2939 * src/util.c: (gl_util_combo_box_add_text_model):
2940 Since libglade does not use the gtk_combo_box_new_text()
2941 constructor for GtkComboBoxes, a utility function was created
2942 to add an appropriate text model to a GtkComboBox.
2943 * src/view.c: (gl_view_edit_merge_props):
2944 Removed unnecessary "show all's".
2946 2005-04-15 Jim Evins <evins@snaught.com>
2949 Updated russian translation (Vitaly Lipatov)
2950 * data/templates/misc-iso-templates.xml:
2951 Added templates for russian business cards provided by Vitaly Lipatov.
2953 Updated acknowledgements for above.
2955 2005-04-15 Jim Evins <evins@snaught.com>
2957 * data/templates/avery-us-templates.xml:
2958 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2959 * data/templates/misc-iso-templates.xml:
2960 Added Ryman standard CD/DVD template, provided by Dan Clark.
2962 Added acknowledgements for above.
2964 2005-04-10 Jim Evins <evins@snaught.com>
2966 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2967 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2968 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2969 (xml_parse_label_cd_node), (xml_parse_alias_node):
2970 * libglabels/xml.c: (gl_xml_get_prop_double),
2971 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2972 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2973 * src/xml-label-04.c: (xml04_parse_media_description),
2974 (xml04_parse_text_props), (xml04_parse_barcode_props),
2975 (xml04_parse_merge_properties):
2976 * src/xml-label-191.c: (xml191_parse_object),
2977 (xml191_parse_text_props), (xml191_parse_barcode_props),
2978 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2979 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2980 (xml191_parse_alias):
2981 * src/xml-label.c: (xml_parse_object_text),
2982 (xml_parse_object_barcode), (xml_parse_merge_fields),
2983 (xml_parse_pixdata), (xml_parse_toplevel_span):
2984 Make sure to use xmlFree for anything obtained from libxml
2985 in case libxml and glib use different memory management
2988 2005-04-08 Jim Evins <evins@snaught.com>
2991 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2992 (gl_util_combo_box_set_active_text):
2993 Added utility functions to simplify working with GtkComboBox
2995 * src/ui-property-bar.h:
2996 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2997 (reset_to_default_properties), (update_text_properties),
2998 (font_family_changed_cb):
2999 Replaced deprecated GtkCombo with GtkComboBox.
3002 2005-04-03 Jim Evins <evins@snaught.com>
3005 * src/wdgt-image-select.h:
3006 * src/wdgt-image-select.c:
3007 Removed obsolete wdgt-image-select.[ch] files.
3008 * libglabels/paper.c: (gl_paper_dup):
3009 Fixed rename of parameter introduced during documentation
3011 * data/glade/object-editor.glade:
3012 * src/object-editor-image-page.c:
3013 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
3014 (gl_object_editor_set_image), (gl_object_editor_get_image),
3015 (update_preview_cb), (add_image_filters_to_chooser):
3016 * src/object-editor-private.h:
3017 Replaced deprecated GnomePixmapEntry with
3018 GtkFileChooserButton.
3020 2005-04-02 Jim Evins <evins@snaught.com>
3022 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
3023 (mygal_combo_box_popup_hide_unconditional),
3024 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
3025 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
3026 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
3027 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
3028 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
3029 Renamed all internal gtk_combo functions to mygal_combo
3030 to prevent namespace confusion.
3032 2005-04-02 Jim Evins <evins@snaught.com>
3034 * src/mygal/color-palette.c: (color_palette_change_custom_color),
3035 (cust_color_set), (color_palette_setup):
3036 * src/mygal/color-palette.h:
3037 Replaced deprecated GnomeColorPicker with GtkColorButton.
3039 2005-04-02 Jim Evins <evins@snaught.com>
3041 * docs/libglabels/libglabels-sections.txt:
3042 * docs/libglabels/libglabels-undocumented.txt:
3043 * docs/libglabels/tmpl/enums.sgml:
3044 * docs/libglabels/tmpl/paper.sgml:
3045 * docs/libglabels/tmpl/xml-paper.sgml:
3046 * docs/libglabels/tmpl/xml-template.sgml:
3047 * libglabels/enums.h:
3048 * libglabels/paper.c: (gl_paper_dup):
3049 * libglabels/paper.h:
3050 * libglabels/xml-paper.c:
3051 * libglabels/xml-template.c:
3052 More documentation updates for libglabels.
3054 2005-03-23 Jim Evins <evins@snaught.com>
3057 Automatically updated.
3062 * docs/libglabels/Makefile.am:
3063 * docs/libglabels/libglabels-docs.sgml:
3064 * docs/libglabels/libglabels-sections.txt:
3065 * docs/libglabels/libglabels-undocumented.txt:
3066 * docs/libglabels/tmpl/enums.sgml:
3067 * docs/libglabels/tmpl/libglabels-unused.sgml:
3068 * docs/libglabels/tmpl/libglabels.sgml:
3069 * docs/libglabels/tmpl/paper.sgml:
3070 * docs/libglabels/tmpl/template.sgml:
3071 * docs/libglabels/tmpl/xml-paper.sgml:
3072 * docs/libglabels/tmpl/xml-template.sgml:
3073 * docs/libglabels/tmpl/xml.sgml:
3074 Added basic gtk-doc stuff to support documenting libglabels
3077 Updated function comments with gtk-doc markup.
3081 2005-03-22 Jim Evins <evins@snaught.com>
3083 Since the development version now requires gtk-2.6/gnome-2.10, I
3084 have made a first pass at removing deprecations.
3087 * libglabels/Makefile.am:
3089 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3090 Also removed all remnants of HAVE_FILECHOOSER.
3091 * src/file.c: (gl_file_open_real):
3092 Removed code for old GtkFileSelection.
3093 * libglabels/libglabels-private.h:
3094 * libglabels/paper.c:
3095 * libglabels/template.c:
3096 * libglabels/xml-paper.c:
3097 * libglabels/xml-template.c:
3101 * src/glabels-batch.c:
3105 * src/merge-properties-dialog.c:
3107 * src/object-editor.c:
3108 * src/prefs-dialog.c:
3110 * src/print-dialog.c:
3113 * src/template-designer.c:
3114 * src/ui-property-bar.c:
3116 * src/view-barcode.c:
3118 * src/view-ellipse.c:
3123 * src/wdgt-image-select.c:
3124 * src/wdgt-media-select.c:
3125 * src/wdgt-print-copies.c:
3126 * src/wdgt-print-merge.c:
3127 * src/wdgt-rotate-label.c:
3129 * src/xml-label-04.c:
3130 * src/xml-label-191.c:
3132 Added '#include <glib/gi18n.h>" where needed.
3133 Removed any unused '#include <gnome.h>"s.
3135 2005-03-22 Jim Evins <evins@snaught.com>
3137 * src/commands.c: (activate_url), (gl_cmd_help_about):
3138 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3139 development version of glabels now depends on GTK 2.6 and
3142 Updated library dependencies.
3144 2005-02-28 Jim Evins <evins@snaught.com>
3147 * data/templates/misc-iso-templates.xml:
3148 Added 'Ednet 45021' template provided by Ali Akcaagac
3151 2005-02-14 Jim Evins <evins@snaught.com>
3153 * data/templates/avery-us-templates.xml:
3154 Updated templates to use inches instead of points.
3155 * src/print-dialog.c: (printer_page_new):
3156 Changed packing style when adding printer selector widget. This fixes
3159 2005-02-13 Jim Evins <evins@snaught.com>
3163 Updated spanish translations. (sergio rivadero)
3165 2005-02-05 Jim Evins <evins@snaught.com>
3167 Some cleanup to libglabels.
3170 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3171 * libglabels/libglabels.pc.in
3173 * libglabels/enums.h
3174 Created. Currently only contains glUnitsType which provides enumerations
3175 for all possible units of distance.
3176 * libglabels/Makefile.am:
3177 Incorporated new files enums.h and libglabels.pc[.in].
3178 * libglabels/libglabels.h:
3180 * libglabels/template.h:
3181 * libglabels/template.c: (gl_template_layout_new):
3182 Changed parameters nx and ny to gint from gdouble.
3184 * libglabels/xml.c: (gl_xml_get_prop_length),
3185 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3186 Added support for different output units.
3187 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3188 (update_prefs_from_locale_page):
3189 * src/prefs-model.c: (string_to_units), (units_to_string):
3190 * src/prefs-model.h:
3191 * src/prefs.c: (gl_prefs_get_units_per_point),
3192 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3193 (gl_prefs_get_units_string):
3195 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3196 Reconciled all length enumerations with the new enumerations provided
3197 in libglabels/enums.h.
3199 2005-02-03 Jim Evins <evins@snaught.com>
3202 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3204 Updated Italian translations. (Daniele Medri)
3206 Updated credits to reflect above translations.
3209 2005-01-22 Jim Evins <evins@snaught.com>
3214 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3216 Final prep for 2.1.0.
3218 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3220 Added '--remove-original' flag to desktop-file-install, so that there is
3221 only one menu entry.
3223 2005-01-20 Jim Evins <evins@snaught.com>
3225 * data/glade/object-editor.glade:
3226 - Font family entry should not be editable.
3227 - img_key_entry should have sensitivity=YES, so that it follows the
3228 sensitivity of img_key_combo.
3230 2005-01-19 Jim Evins <evins@snaught.com>
3233 Give credit to Frederic Ruaudel for the color merge patches.
3235 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3237 Add support to merge color for all other color attribute (Feature
3238 Requests item #1008635. If the data is invalid, the color used is transparent
3239 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3240 by gdk_color_parse() these include name for a color from rgb.txt, such as
3241 DarkSlateGray, or a hex specification such as #305050. File format has been
3242 changed but backward compatibility is preserved for all format. For
3243 box/ellipse/line, keep attribute "line_color" for static color or replace by
3244 "line_color_field" for merge data. For text/barcode objects, keep attribute
3245 "color" for static color or replace by "color_field" for merge data. In the
3246 edit canvas window, merged color are represented by half-transparent black
3249 * data/dtd/glabels-2.0.dtd:
3250 Added line_color_field to line_attrs. Added color_field to
3251 Object-barcode and Span.
3252 * data/glade/object-editor.glade:
3253 Modify the layout of the editor to add merge possibility to color options
3255 Fix a copy/paste error in a comment
3257 Add default color for merge color representation in the editor canvas.
3258 * src/label-barcode.c:
3259 * src/object-editor-bc-page.c:
3260 * src/view-barcode.c:
3261 Add merge color support for barcode color.
3264 Add merge color support for box border color.
3265 * src/label-ellipse.c:
3266 * src/view-ellipse.c:
3267 Add merge color support for ellipse border color.
3270 Add merge color support for line color.
3271 * src/label-object.c:
3272 * src/label-object.h:
3273 * src/object-editor.c:
3274 * src/object-editor.h:
3275 * src/ui-property-bar.c:
3278 * src/xml-label-04.c:
3279 * src/xml-label-191.c:
3280 Add support for merging to other color attribute.
3282 * src/object-editor-text-page.c:
3284 Add merge color support for text color.
3285 * src/object-editor-fill-page.c:
3286 Change a blocked handler that didn't match the good widget. Fix the type
3287 of some debug message.
3288 * src/object-editor-line-page.c:
3289 Add merging support to line color option.
3290 * src/object-editor-private.h:
3291 Add variables for new widget.
3293 Modify the draw functions to get merge data if needed.
3295 Change the default size of the window in order to see all widget in the
3296 "text style tab" of the editor.
3298 Modify the parser to record/retreive the field value for objects that need
3299 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3300 static color or replace by "line_color_field" for merge data. For
3301 text/barcode objects, keep attribute "color" for static color or replace
3302 by "color_field" for merge data.
3304 2005-01-17 Jim Evins <evins@snaught.com>
3306 * src/view.c: (screen_changed_cb):
3307 Don't do anything if we don't have a screen.
3309 2005-01-06 Jim Evins <evins@snaught.com>
3311 * src/view.c: (get_home_scale):
3312 Fixed bad call to gtk_widget_has_screen() -- huh?.
3314 2005-01-06 Jim Evins <evins@snaught.com>
3316 * data/dtd/glabels-2.0.dtd:
3317 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3320 2005-01-06 Jim Evins <evins@snaught.com>
3322 * data/glade/object-editor.glade:
3323 Set entries for fill and data field key dropdowns to NOT editable.
3324 * src/view-box.c: (construct_properties_editor):
3325 * src/view-ellipse.c: (construct_properties_editor):
3326 Update object editor when label's merge property has changed.
3327 * src/xml-label.c: (xml_parse_object_ellipse):
3328 Completed the merge color support for the ellipse item.
3330 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3332 Add support to merge color for object that have a "Fill color" attribute (Feature
3333 Requests item #1008635. If the data is invalid, the color used is transparent
3334 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3335 by gdk_color_parse() these include name for a color from rgb.txt, such as
3336 DarkSlateGray, or a hex specification such as #305050. File format has been
3337 changed but backward compatibility is preserved for all format. For box/ellipse,
3338 keep attribute "fill_color" for static color or replace by "fill_color_field"
3341 * data/glade/object-editor.glade:
3342 Modify "Fill" tab to add the merge key combo and convert the labels into
3346 Add "glColorNode" structure and associated functions to manage it. This
3347 structure is equivalent for color than the "glTextNode". It holds the color
3349 * src/label-object.h:
3350 * src/label-object.c:
3352 * src/label-ellipse.c:
3353 * src/ui-property-bar.c:
3357 * src/view-ellipse.c:
3358 * src/xml-label-04.c:
3359 * src/xml-label-191.c:
3360 Change functions of objects that have a "fill color" attribute to use the
3361 new "glColorNode" structure. Use barcode code as example.
3363 Add the color.[ch] file to glabels_batch binary that now need support for
3365 * src/object-editor.h:
3366 * src/object-editor.c:
3367 * src/object-editor-fill-page.c:
3368 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3369 to choose between static color or merge key. Use barcode code as example.
3370 * src/object-editor-private.h:
3371 Add new widget in the "_glObjectEditorPrivate" structure.
3373 Modify the draw functions to get merge data if needed.
3375 Modify the parser to record/retreive the field value for objects that need
3376 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3377 color or "fill_color_field" for merge data.
3379 2005-01-04 Jim Evins <evins@snaught.com>
3382 * data/templates/avery-iso-templates.xml:
3383 * data/templates/misc-iso-templates.xml:
3384 * data/templates/misc-us-templates.xml:
3385 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3388 2004-11-26 Jim Evins <evins@snaught.com>
3392 Updated french translations provided by Florent Morel <florent@taket.org>.
3393 * src/view-barcode.c:
3395 * src/view-ellipse.c:
3399 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3400 thus _() strings were not being translated.
3402 2004-11-14 Jim Evins <evins@snaught.com>
3405 * src/debug.c: (gl_debug_init), (gl_debug):
3406 Borrowed from gedit: use environmental variables to select debug
3409 Removed unused include of debug.h.
3410 * src/glabels.c: (main):
3411 Added call to gl_debug_init(), and removed debug clutter from command line
3413 * src/glabels-batch.c: (main):
3414 Added call to gl_debug_init().
3416 2004-11-13 Jim Evins <evins@snaught.com>
3418 Drawing and property toolbars were being initialized with the "icons and text"
3419 look in Fedora Core 3. Even though none of the buttons had any text attached to
3420 them, the buttons were being sized as if they were. This led to less real estate
3421 for the property editor, leading to Bug #1064630. The
3423 * data/ui/glabels-ui.xml:
3424 Added explicit "look" property to both drawing and property toolbars.
3425 * src/prefs-model.c: (gl_prefs_model_save_settings),
3426 (gl_prefs_model_load_settings):
3427 * src/prefs-model.h:
3428 Removed drawing_toolbar_button_style configuration parameter.
3429 * src/ui.c: (view_menu_item_toggled_cb),
3430 (set_app_drawing_toolbar_style):
3431 Do not attempt to adjust look property of the drawing toolbar.
3433 2004-10-28 Jim Evins <evins@snaught.com>
3435 * data/pixmaps/glabels-about-logo.png:
3438 2004-10-28 Jim Evins <evins@snaught.com>
3440 * data/man/glabels.1:
3441 * src/glabels-batch.c: (main):
3443 * src/print.c: (gl_print_batch):
3445 Added option to glabels-batch to select the first label to begin
3448 2004-09-26 Jim Evins <evins@snaught.com>
3450 * data/desktop/glabels.desktop.in:
3451 Point to app icon, "glabels.png"
3452 * data/mime/glabels.keys.in:
3453 Point at mime icon, "glabels-application-x-glabels.png"
3454 * data/pixmaps/Makefile.am:
3455 Added glabels_app_icondir. Renamed icons.
3456 * data/pixmaps/glabels.png:
3457 New cleaned up app icon. Deleted glabels-icon.png.
3458 * data/pixmaps/glabels-application-x-glabels.png:
3460 * data/pixmaps/glabels-splash.png:
3461 Renamed glabels-logo to glabels-splash to be more correct about role.
3463 * src/template-designer.c:
3464 Point at app icon, "glabels.png"
3466 Point at renamed splash image, "glabels-splash.png"
3468 2004-08-22 Jim Evins <evins@snaught.com>
3471 * src/glabels-batch.c: (main):
3472 Applied patch with minor mods to allow selecting merge source and
3473 crop-marks on glabels-batch's command line. Original patch provided by
3474 José Dapena Paz <jdapena@igalia.com>.
3476 2004-08-15 Jim Evins <evins@snaught.com>
3478 * data/desktop/glabels.desktop.in:
3479 - Added encoding line
3480 - Removed period from comment
3481 - Fixed Terminal line, changed "0" to "false"
3482 - Added semicolen to Categories line
3484 - Made sure desktop.in comment string above still translated properly
3486 2004-08-14 Jim Evins <evins@snaught.com>
3488 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3489 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3490 * src/xml-label-191.c: (xml191_parse_sheet):
3491 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3493 Reconciled libglabels versioning with 2.0.1.
3496 2004-08-14 Jim Evins <evins@snaught.com>
3499 Updated version to 2.1cvs.
3501 2004-08-14 Jim Evins <evins@snaught.com>
3504 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3506 2004-08-14 Jim Evins <evins@snaught.com>
3508 Fixes for Bug #1008181.
3510 * src/bc.c: (gl_barcode_default_digits):
3511 Make a format of zero digits, harmless.
3512 * src/xml-label.c: (xml_parse_object_barcode):
3513 Set default value of the format property of barcode objects to 10, not
3514 zero. This will prevent crashes when reading pre 2.0.x files.
3516 2004-08-09 Jim Evins <evins@snaught.com>
3520 * help/C/glabels-C.omf:
3521 * help/C/glabels.xml:
3522 Brought documentation up-to-date for 2.0.0 release.
3524 2004-08-09 Jim Evins <evins@snaught.com>
3526 These are hopefully the final preparations for 2.0.0.
3528 * data/mime/Makefile.am:
3529 Include glabels.xml in EXTRA_DIST.
3531 - Updated comment style.
3532 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3533 - Added package and version info to configuration printout
3534 - Update version to 2.0.0
3535 * libglabels/Makefile.am:
3536 Use the new LIBGLABELS_VERSION_INFO macro.
3538 2004-08-09 Jim Evins <evins@snaught.com>
3542 Cleanup of required library macros.
3544 2004-08-08 Jim Evins <evins@snaught.com>
3548 - More specific of what to install in /usr/bin and /usr/lib
3549 - Remove built mime registration files from staging directory
3551 2004-08-08 Jim Evins <evins@snaught.com>
3553 * data/mime/Makefile.am:
3554 Fixed typo: key_files should have been keys_files.
3556 2004-08-08 Jim Evins <evins@snaught.com>
3558 Reorganization of runtime data files. Also added registration of mimetype with
3559 new freedesktop.org mime database if available.
3562 Moved files to appropriate subdirectories, creating local Makefile.am
3563 in each subdirectory.
3564 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3565 These are now installed at $datadir/glabels/templates.
3566 - Moved glabels.1 to man subdirectory.
3567 - Moved glabels-2.0.dtd to dtd subdirectory.
3568 - Moved glabels.desktop.in to desktop subdirectory.
3569 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3571 Moved "./pixmaps" to "./data/pixmaps"
3573 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3575 Moved libglade files from src to data/glade. Created Makefile.am.
3577 Removed pixmaps from SUBDIRS.
3579 - Removed pixmaps from makefiles.
3580 - Added makefiles for new subdirs of data.
3581 - Added tests for freedesktop.org mime database.
3583 - Added tests for freedesktop.org mime database for post install and
3584 post un-install actions.
3585 * libglabels/Makefile.am:
3586 Moved system template files to $(datadir)/glabels/templates.
3587 * libglabels/libglabels-private.h:
3588 Moved system template files to $(datadir)/glabels/templates.
3590 - Accounted for movement of ui and libglade files.
3591 - Added missing .in files.
3592 - Reorganized by directory.
3594 Accounted for movement of ui and libglade files.
3595 * data/mime/glabels.xml.in:
3596 New file for registering with freedesktop.org mime database.
3598 2004-08-07 Jim Evins <evins@snaught.com>
3600 * src/recent-files/*:
3601 Re-synced to latest libegg/recent-files.
3603 2004-08-07 Jim Evins <evins@snaught.com>
3608 Renamed "./doc" directory to "./help" which contains user documentation,
3609 to be more consistent with other GNOME applications.
3612 2004-07-26 Jim Evins <evins@snaught.com>
3614 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3615 Corrected button order of merge properties dialog.
3617 2004-07-18 Jim Evins <evins@snaught.com>
3619 * data/glabels-2.0.dtd:
3620 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3621 (gl_barcode_get_prefered_n):
3623 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3624 (gl_label_barcode_get_props), (get_size):
3625 * src/label-barcode.h:
3626 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3627 (style_changed_cb), (gl_object_editor_set_bc_style),
3628 (gl_object_editor_get_bc_style):
3629 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3630 (gl_object_editor_set_data), (gl_object_editor_get_data):
3631 * src/object-editor-private.h:
3632 * src/object-editor.c: (gl_object_editor_set_key_names):
3633 * src/object-editor.glade:
3634 * src/object-editor.h:
3635 * src/print.c: (draw_barcode_object):
3636 * src/view-barcode.c: (update_object_from_editor_cb),
3637 (update_editor_from_object_cb),
3638 (gl_view_barcode_create_event_handler), (draw_barcode):
3639 * src/xml-label-04.c: (xml04_parse_barcode_props):
3640 * src/xml-label-191.c: (xml191_parse_barcode_props):
3641 * src/xml-label.c: (xml_parse_object_barcode),
3642 (xml_create_object_barcode):
3643 Added "format" attribute to barcode objects. This attribute is used
3644 to properly format freeform barcodes barcodes prior to merge data is
3645 applied, so that barcodes can be accurately layed out. This addresses
3646 remaining issues of feature request #824787. Also added an example of
3647 the format in the object editor.
3649 2004-07-12 Jim Evins <evins@snaught.com>
3651 Various code cleanups.
3653 * src/label-barcode.c:
3654 Removed unneeded include of gnome-glyphlist.h.
3656 * src/label-text.c: (get_size):
3657 Fixed memory leak: unref glyphlists when done with them.
3659 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3660 * src/object-editor-data-page.c:
3661 (gl_object_editor_prepare_data_page):
3662 * src/object-editor-image-page.c:
3663 (gl_object_editor_prepare_image_page):
3664 * src/object-editor-line-page.c:
3665 (gl_object_editor_prepare_line_page):
3666 * src/object-editor-lsize-page.c:
3667 (gl_object_editor_prepare_lsize_page):
3668 * src/object-editor-position-page.c:
3669 (gl_object_editor_prepare_position_page):
3670 * src/object-editor-size-page.c:
3671 (gl_object_editor_prepare_size_page):
3672 * src/object-editor-text-page.c:
3673 (gl_object_editor_prepare_text_page):
3674 Removed unneeded size groups, originally intended to keep widgets aligned.
3675 Now use tables to lay these out in object-editor.glade.
3677 * src/print.c: (draw_text_object):
3678 Fixed memory leak: unref glyphlists when done with them.
3680 * src/view-barcode.c: (draw_barcode):
3681 Fixed memory leak: unref glyphlists when done with them.
3683 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3684 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3686 - Fixed memory leak: unref glyphlists when done with them.
3688 2004-07-11 Jim Evins <evins@snaught.com>
3690 * data/glabels-2.0.dtd:
3691 * src/label-text.c: (gl_label_text_instance_init), (copy),
3692 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3694 * src/object-editor-private.h:
3695 * src/object-editor-text-page.c:
3696 (gl_object_editor_prepare_text_page),
3697 (gl_object_editor_set_text_auto_shrink),
3698 (gl_object_editor_get_text_auto_shrink):
3699 * src/object-editor.c: (gl_object_editor_set_key_names):
3700 * src/object-editor.glade:
3701 * src/object-editor.h:
3702 * src/print.c: (draw_text_object):
3703 * src/view-text.c: (update_object_from_editor_cb),
3704 (update_editor_from_object_cb):
3705 * src/xml-label.c: (xml_parse_object_text),
3706 (xml_create_object_text):
3707 Added option to allow document merge to auto shrink text size to fit
3708 within the text box. The code in print.c that actually shrinks the
3709 text is loosely based on a patch submitted by Mark Harrison
3710 <mark.harrison@velocitynet.com.au>. This addresses feature request
3713 2004-07-11 Jim Evins <evins@snaught.com>
3715 * data/glabels-2.0.dtd:
3716 * libglabels/template.c: (gl_template_rect_label_type_new),
3717 (gl_template_round_label_type_new),
3718 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3719 (template_full_page):
3720 * libglabels/template.h:
3721 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3722 (xml_create_label_node):
3723 * pixmaps/ex-rect-size.png:
3724 * src/print.c: (clip_to_outline), (clip_punchouts):
3725 * src/template-designer.c: (construct_rect_size_page),
3726 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3728 * src/template-designer.glade:
3729 * src/xml-label-191.c: (xml191_parse_label):
3730 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3731 properties for rectangular labels. Templates remain backwards compatible,
3732 but this breaks the libglabels API (I don't know of anyone outside of
3733 glabels using libglabels at this time -- what can I say, the program is
3734 is still "unstable"). This addresses the suggestion in Feature Request
3737 2004-07-05 Jim Evins <evins@snaught.com>
3738 * src/print.c: (print_crop_marks), (draw_outline):
3739 Changed crop marks and label outlines to black, instead of 25% gray.
3740 This addresses debian Bug #257460.
3742 2004-07-05 Jim Evins <evins@snaught.com>
3744 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3745 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3746 Preserve "is_default" of fill and line color_combos when creating from
3749 2004-07-02 Jim Evins <evins@snaught.com>
3752 Created man page. Based on page submitted by Matthew J. Lockner, however
3753 it has been severely edited.
3755 * data/avery-other-templates.xml
3756 * data/misc-other-templates.xml:
3757 Started new files for predefined templates with non-standard sheet sizes.
3758 These have been initially populated with the Avery 06141 and
3759 OfficeMax #86112, both provided by Matthew J. Lockner.
3762 Install above manpage and template files.
3765 Make sure we install man pages.
3767 * src/glabels-batch.c:
3768 Changed short form of help option to '-?' to be consistent with glabels.
3771 Added acknowledgement for above labels.
3773 2004-07-02 Jim Evins <evins@snaught.com>
3775 * src/glabels.c: (main), (save_session_cb):
3776 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3778 - save_session_cb() now returns gboolean.
3779 - Minor formatting changes.
3783 - Now include file.h to provide missing prototype.
3784 - gl_window_get_type() now returns GType, not guint. I believe this may
3785 ultimately be cause of the segfault reported in Bug #982287, since
3786 GType is actually a gulong, which may not be compatible on other
3787 architectures (64bit) -- I cannot personally test this at this time.
3788 I was sloppy in several other xxx_get_type() functions which also
3789 returned guint -- see next group of files:
3791 * src/window.c: (gl_window_get_type):
3792 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3793 * src/canvas-hacktext.h:
3794 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3795 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3796 (gl_hig_hbox_get_type):
3798 * src/label-barcode.c: (gl_label_barcode_get_type):
3799 * src/label-barcode.h:
3800 * src/label-box.c: (gl_label_box_get_type):
3802 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3803 * src/label-ellipse.h:
3804 * src/label-image.c: (gl_label_image_get_type):
3805 * src/label-image.h:
3806 * src/label-line.c: (gl_label_line_get_type):
3808 * src/label-object.c: (gl_label_object_get_type):
3809 * src/label-object.h:
3810 * src/label-text.c: (gl_label_text_get_type):
3812 * src/label.c: (gl_label_get_type):
3814 * src/merge-properties-dialog.c:
3815 (gl_merge_properties_dialog_get_type):
3816 * src/merge-properties-dialog.h:
3817 * src/merge-text.c: (gl_merge_text_get_type):
3819 * src/merge.c: (gl_merge_get_type):
3821 * src/object-editor.c: (gl_object_editor_get_type):
3822 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3823 * src/prefs-dialog.h:
3824 * src/prefs-model.c: (gl_prefs_model_get_type):
3825 * src/prefs-model.h:
3826 * src/print-dialog.c: (gl_print_dialog_get_type):
3827 * src/print-dialog.h:
3828 * src/template-designer.c: (gl_template_designer_get_type):
3829 * src/template-designer.h:
3830 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3831 * src/ui-property-bar.h:
3832 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3834 * src/view-barcode.c: (gl_view_barcode_get_type):
3835 * src/view-barcode.h:
3836 * src/view-box.c: (gl_view_box_get_type):
3838 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3839 * src/view-ellipse.h:
3840 * src/view-highlight.c: (gl_view_highlight_get_type):
3841 * src/view-highlight.h:
3842 * src/view-image.c: (gl_view_image_get_type):
3844 * src/view-line.c: (gl_view_line_get_type):
3846 * src/view-object.c: (gl_view_object_get_type):
3847 * src/view-object.h:
3848 * src/view-text.c: (gl_view_text_get_type):
3850 * src/view.c: (gl_view_get_type):
3852 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3853 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3854 * src/wdgt-image-select.h:
3855 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3856 * src/wdgt-media-select.h:
3857 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3858 * src/wdgt-mini-preview.h:
3859 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3860 * src/wdgt-print-copies.h:
3861 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3862 * src/wdgt-print-merge.h:
3863 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3864 * src/wdgt-rotate-label.h:
3865 - Made sure all xxx_get_type functions returned GType, not guint. This
3866 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3867 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3868 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3869 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3870 window.[ch] details above for more info.
3871 - Reconciled various coding style differences in all xxx_get_type()
3873 * All prototypes include G_GNUC_CONST.
3874 * All prototypes specify the return value as GType, not GtkType
3876 * Info structures are all declared as "static const."
3877 * Generalized the names of type and info variables.
3878 * Miscelaneous formatting.
3880 2004-06-08 Jim Evins <evins@snaught.com>
3886 Don't touch compression of original file -- still defaults to 9 for
3887 new files. Original patch provided by Javier Donaire Segarra
3888 (#912252 in patch tracker).
3890 2004-05-05 Jim Evins <evins@snaught.com>
3892 * data/glabels-2.0.dtd:
3893 Broke DTD previously when adding new barcode types that contain a
3894 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3895 to avoid the problem.
3896 * data/avery-iso-templates.xml:
3897 * data/zweckform-iso-templates.xml:
3899 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3900 provided by Frank Altpeter.
3901 * libglabels/xml-template.c: (xml_create_label_node):
3902 Reordered markup and layout sub-nodes so that resulting templates will
3903 validate against DTD.
3905 2004-03-13 Jim Evins <evins@snaught.com>
3907 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3908 Changed spin callback signals from "value-changed" back to "changed."
3909 This was accidentally introduced in a previous revision, and can cause
3910 size changes just by selecting the size tab.
3912 2004-03-06 Jim Evins <evins@snaught.com>
3914 * src/view.c: (draw_grid_layer):
3915 For round labels (round and cd) adjust grid so that it lines up with
3916 center of label. Also, no longer draw box around label in the grid layer,
3917 it is hidden by he fg layer anyway. Feature suggested by
3918 nemolivier@free.fr. Although the grid is aligned with the center of the
3919 label, the coordinate system is still relative to the upper left corner
3920 of the rectangle containing the label.
3922 2004-02-25 Jim Evins <evins@snaught.com>
3925 Changed version to 2.0pre1cvs
3927 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3928 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3929 instead of doc->name fields when errors encountered.
3931 2004-02-21 Jim Evins <evins@snaught.com>
3933 * data/avery-iso-templates.xml:
3934 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3937 Added libglabels library and include file to installed files.
3940 Final prep for 1.93.3.
3942 2004-02-20 Jim Evins <evins@snaught.com>
3944 * src/glabels-batch.c: (main):
3945 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3946 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3948 2004-02-16 Jim Evins <evins@snaught.com>
3951 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3954 Added HAVE_FILE_CHOOSER to INCLUDES.
3956 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3957 (gl_file_save_as), (save_as_response):
3958 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3960 2004-02-16 Jim Evins <evins@snaught.com>
3962 * src/xml-label-04.c: (xml04_parse_image_props):
3963 * src/xml-label-191.c: (xml191_parse_image_props):
3964 * src/xml-label.c: (xml_parse_object_image):
3965 Delay setting image size until after image has been applied to new
3968 2004-02-15 Jim Evins <evins@snaught.com>
3970 * src/label-barcode.c: (gl_label_barcode_set_data),
3971 (gl_label_barcode_set_props):
3972 Don't emit "changed" signal, if no change actually made for these
3973 methods. Reduces number of unnecessary redraws of barcodes.
3975 * src/label-object.h:
3976 * src/label-object.c: (gl_label_object_set_position),
3977 (gl_label_object_set_position_relative), (set_size),
3978 (gl_label_object_set_size),
3979 (gl_label_object_set_size_honor_aspect):
3980 Don't emit "changed" signal, if no change actually made for these
3983 2004-02-15 Jim Evins <evins@snaught.com>
3985 * data/glabels-2.0.dtd:
3986 Added specific subtypes for various barcode types.
3989 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3990 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3991 (gl_barcode_can_text), (gl_barcode_text_optional),
3992 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3993 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3994 Changed API to use a string id, rather than a fixed enumeration. Id and
3995 name are separate strings. Added entries to backend table for specific
3996 subtypes for various barcode types.
3999 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
4001 Modified to conform to above API. Now more stringent with data length
4002 for various subtypes.
4004 * src/bc-gnubarcode.h:
4005 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
4006 (is_length_valid), (is_length1_valid), (is_length2_valid):
4007 Modified to conform to above API. Now more stringent with data length
4008 for various subtypes.
4010 * src/label-barcode.h:
4011 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
4012 (gl_label_barcode_get_props), (get_size):
4013 Modified to use above API for storing barcode type.
4015 * src/object-editor.h:
4016 * src/object-editor-bc-page.c: (style_changed_cb),
4017 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
4018 Modified to use above API for storing barcode type.
4020 * src/object-editor-size-page.c:
4021 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
4022 (w_spin_cb), (h_spin_cb), (size_reset_cb):
4023 Added debug markers.
4025 * src/object-editor.glade:
4026 Made barcode style combo's text entry non-editable.
4028 * src/print.c: (draw_barcode_object):
4029 Modified to use above API for barcode type.
4031 * src/view-barcode.c: (update_object_from_editor_cb),
4032 (update_editor_from_object_cb),
4033 (gl_view_barcode_create_event_handler), (draw_barcode):
4034 Modified to use above API for barcode type.
4036 * src/xml-label-04.c: (xml04_parse_barcode_props):
4037 * src/xml-label-191.c: (xml191_parse_barcode_props):
4038 * src/xml-label.c: (xml_parse_object_barcode),
4039 (xml_create_object_barcode):
4040 Modified to use above API for barcode type.
4042 2004-02-07 Jim Evins <evins@snaught.com>
4044 * src/stock-pixmaps/Makefile.am:
4045 * src/stock-pixmaps/stock_hchain_24.png:
4046 * src/stock-pixmaps/stock_hchain_broken_24.png:
4047 * src/stock-pixmaps/stock_vchain_24.png:
4048 * src/stock-pixmaps/stock_vchain_broken_24.png:
4049 Added chain pixmaps borrowed from the gimp's default theme.
4052 * src/stock.c: (gl_stock_init), (add_button_icon):
4053 Added above pixmaps to stock icon sets. Created add_button_icon() to
4054 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
4056 * src/wdgt-chain-button.h
4057 * src/wdgt-chain-button.c
4060 Added this Modified version of gimpchainbutton widget, borrowed from
4064 Added acknowledgements of the above borrowing from the gimp.
4066 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
4068 * src/object-editor.c: (gl_object_editor_construct_chain_button):
4069 * src/object-editor.glade:
4070 Replaced the keep aspect ratio check box with the above chain-button
4073 * src/text-node.c: (gl_text_node_equal):
4075 Added function gl_text_node_equal() to compare text_nodes.
4077 * src/label-image.c: (gl_label_image_set_filename):
4078 Replaced incomplete text_node comparison code with invocation of
4079 gl_text_node_equal. This fixed the problem of not being able to
4080 resize an image using the object_editor if the aspect ratio is not
4083 2004-02-04 Jim Evins <evins@snaught.com>
4085 * src/object-editor-image-page.c:
4086 (gl_object_editor_prepare_image_page):
4087 Track "changed" signal of pixmap entry's GtkEntry rather than its
4088 "activate" signal -- this catches all changes to the entry rather than
4089 just changes resulting from a browse, so one can easily pull previous
4090 entries from the history. (This change is marked below on 2004-02-03,
4091 but somehow never got checked in.)
4093 * src/view-highlight.c: (sl_resize_event_handler),
4094 (sr_resize_event_handler), (st_resize_event_handler),
4095 (sb_resize_event_handler):
4096 Side resize handles will now confirm the actual resize that the object
4097 accepted before adjusting position parameters. Previously some interesting
4098 things happened when resizing a barcode to its minimum size.
4100 2004-02-03 Jim Evins <evins@snaught.com>
4102 * src/object-editor-image-page.c:
4103 (gl_object_editor_prepare_image_page):
4104 Track "changed" signal of pixmap entry's GtkEntry rather than its
4105 "activate" signal -- this catches all changes to the entry rather than
4106 just changes resulting from a browse, so one can easily pull previous
4107 entries from the history.
4109 * src/view-highlight.c: (tl_resize_event_handler),
4110 (tr_resize_event_handler), (bl_resize_event_handler),
4111 (br_resize_event_handler):
4112 Allow control key to be dropped while dragging a corner resize handle
4113 without losing the aspect ratio lock.
4115 2004-02-02 Jim Evins <evins@snaught.com>
4117 * src/label-image.c: (gl_label_image_set_filename):
4118 When setting a new filename adjust size such that the aspect ratio of
4119 the image is preserved using the current size as a bounding box.
4121 * src/view-image.c: (update_object_from_editor_cb):
4122 When updating object from editor, feed back possible size changes to
4123 editor as a result of a possible change in image.
4125 * src/object-editor-size-page.c: (size_reset_cb):
4126 Fixed typo when blocking spin handlers. If the base size is larger than
4127 the max size, treat max size as a bounding box while keeping aspect
4131 2004-02-02 Jim Evins <evins@snaught.com>
4133 * src/label-object.h:
4134 * src/label-object.c: (gl_label_object_set_size),
4135 (gl_label_object_set_size_honor_aspect):
4136 Added gl_label_object_set_size_honor_aspect() which will maintain the
4137 current aspect ratio by modifying the supplied w or h apropriately.
4139 * src/view-highlight.c: (tl_resize_event_handler),
4140 (tr_resize_event_handler), (bl_resize_event_handler),
4141 (br_resize_event_handler):
4142 Corner handles will now maintain the current aspect ratio if the
4143 control key is pressed while resizing. This addresses feature
4147 2004-01-31 Jim Evins <evins@snaught.com>
4150 * data/avery-us-templates.xml:
4151 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4153 * libglabels/template.c: (read_template_files_from_dir):
4154 Corrected problem with testing for extensions.
4156 * src/object-editor.glade:
4157 Corrected grouping of radio buttons in barcode data page.
4159 * src/print.c: (draw_barcode_object):
4160 * src/view-barcode.c: (draw_barcode):
4161 Corrected problem with calculation of y_offset for locating characters.
4163 2004-01-24 Jim Evins <evins@snaught.com>
4166 * data/avery-us-templates.xml:
4167 Added Avery 5824, submitted by Fred Bacon.
4169 2004-01-20 Jim Evins <evins@snaught.com>
4171 Catching up on a couple of backlogged user template submissions.
4173 * data/avery-iso-templates.xml:
4174 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4175 Suggested by Linas Jakucionis.
4177 * data/zweckform-iso-templates.xml:
4178 Added Zweckform 4760, submitted by Thomas Vill.
4181 Updated to reflect above submissions.
4183 2004-01-06 Jim Evins <evins@snaught.com>
4185 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4186 xml.[ch] into a separate library called libglabels, to facilitate third
4187 party use of glabels template files. This was suggested by Wayne Schuller.
4188 Once split-out, some modifications to the structures and functions to
4189 make a cleaner more useful API, hopefully. Rather extensive changes have
4190 propogated to other modules.
4198 * src/xml-template.h:
4199 * src/xml-template.c:
4202 These files have been moved to libglabels/. API cleanup performed.
4204 * libglabels/libglabels.h:
4205 * libglabels/libglabels-private.h:
4206 * libglabels/Makefile.am:
4207 These files have been added to finish out libglabels.
4214 Modified to reflect new sets of files in src/ and libglabels/.
4216 * COPYING.LIBGLABELS:
4218 Added copy of the LGPL for libglabels, and a copy the GFDL for
4221 * src/glabels-batch.c:
4223 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4224 (gl_label_get_size):
4226 * src/prefs-model.c: (gl_prefs_model_load_settings):
4227 * src/print-dialog.c:
4228 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4229 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4230 (print_crop_marks), (print_label), (draw_outline),
4231 (clip_to_outline), (clip_punchouts):
4232 * src/template-designer.c: (construct_pg_size_page),
4233 (pg_size_page_changed_cb), (layout_page_changed_cb),
4234 (print_test_cb), (build_template):
4235 * src/util.c: (gl_util_fraction):
4237 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4238 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4239 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4240 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4241 (draw_markup_margin_round), (draw_markup_margin_cd),
4242 (draw_markup_margin_cd_bc), (draw_markup_line),
4243 (draw_markup_circle), (gl_view_copy):
4244 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4245 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4246 (get_label_size_desc):
4247 * src/wdgt-mini-preview.c:
4248 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4250 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4251 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4252 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4253 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4254 * src/wdgt-rotate-label.h:
4255 * src/xml-label-04.c: (xml04_parse_media_description):
4256 * src/xml-label-191.c: (gl_xml_label_191_parse),
4257 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4258 (xml191_parse_markup), (xml191_parse_alias):
4259 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4261 Various changes to accomodate new libglabels API.
4263 2004-01-03 Jim Evins <evins@snaught.com>
4268 2004-01-03 Jim Evins <evins@snaught.com>
4271 Added acknowledgement of contributions by Wayne Schuller.
4273 * src/commands.c: (gl_cmd_file_print):
4274 Create extra reference to print dialog, so that it can be properly re-used.
4276 * src/mygal/mygal-combo-box.h:
4277 * src/mygal/mygal-combo-box.c:
4278 (mygal_combo_box_popup_hide_unconditional),
4279 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4280 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4281 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4282 (mygal_combo_box_set_tearable):
4283 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4284 complete the rename of this widget to prevent namespace collisions
4287 * src/prefs-dialog.glade:
4288 Fixed alignment of Fill/Color widgets.
4290 2004-01-03 Jim Evins <evins@snaught.com>
4292 * data/avery-iso-templates.xml:
4293 Added user submitted templates.
4294 Avery 8435A & 8435B, submitted by Ludger Solbach.
4296 * doc/C/glabels.xml:
4297 Added minimal documentation, noting the new template designer.
4299 2004-01-03 Jim Evins <evins@snaught.com>
4301 * pixmaps/ex-rect-size.png:
4302 * pixmaps/ex-round-size.png:
4303 * pixmaps/ex-cd-size.png:
4304 * pixmaps/Makefile.am:
4305 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4306 files to be used as illustrations/examples in the template-designer.
4308 * src/template-designer.c: (construct_rect_size_page),
4309 (construct_round_size_page), (construct_cd_size_page),
4310 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4311 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4312 (layout_page_prepare_cb), (build_template):
4313 * src/template-designer.glade:
4314 Added illustrations for rectangle, round, and cd label size pages.
4315 Added margin spinboxes to these pages, and now add a margin markup
4316 to the constructed template. Added realistic default values for
4317 some of the size spinboxes. Cleaned up the code for setting spinbox
4318 ranges on the layouts page.
4320 2004-01-02 Jim Evins <evins@snaught.com>
4322 * src/object-editor-size-page.c: (h_spin_cb):
4323 Fixed cut-n-paste error in h_spin_cb that loaded h from
4324 the wrong spinbutton.
4326 * src/object-editor.h:
4327 * src/object-editor.c: (gl_object_editor_class_init),
4328 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4329 * src/object-editor-private.h:
4330 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4332 Added "size_changed" signal.
4334 * src/view-text.c: (construct_properties_editor),
4335 (update_object_from_editor_cb),
4336 (update_object_from_editor_size_cb):
4337 Track size changes from object editor separately from other
4338 properties. This is so the default size (0,0) of a text
4339 object is not modified unintentionally.
4341 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4343 Added feature: line spacing - allows you to comfortably space a text box to
4344 fit a label perfectly.
4346 * data/glabels-2.0.dtd:
4347 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4348 (gl_label_object_get_text_alignment),
4349 (gl_label_object_get_text_line_spacing):
4350 * src/label-object.h:
4351 * src/label-text.c: (gl_label_text_class_init),
4352 (gl_label_text_instance_init), (copy), (get_size),
4353 (set_text_line_spacing), (get_text_alignment),
4354 (get_text_line_spacing):
4355 * src/object-editor-private.h:
4356 * src/object-editor-text-page.c:
4357 (gl_object_editor_prepare_text_page),
4358 (gl_object_editor_set_text_line_spacing),
4359 (gl_object_editor_get_text_line_spacing):
4360 * src/object-editor.glade:
4361 * src/object-editor.h:
4362 * src/prefs-dialog.c: (construct_object_page),
4363 (update_object_page_from_prefs), (update_prefs_from_object_page):
4364 * src/prefs-dialog.glade:
4365 * src/prefs-model.c: (gl_prefs_model_save_settings),
4366 (gl_prefs_model_load_settings), (get_float):
4367 * src/prefs-model.h:
4368 * src/print.c: (draw_text_object):
4370 * src/view-text.c: (update_object_from_editor_cb),
4371 (update_editor_from_object_cb),
4372 (gl_view_text_create_event_handler), (draw_hacktext):
4373 * src/view.c: (gl_view_construct),
4374 (gl_view_set_selection_text_line_spacing),
4375 (gl_view_set_default_text_line_spacing),
4376 (gl_view_get_default_text_line_spacing):
4378 * src/xml-label.c: (xml_parse_toplevel_span),
4379 (xml_create_toplevel_span):
4381 2003-12-30 Jim Evins <evins@snaught.com>
4383 * src/template-designer.c:
4384 * src/template-designer.h:
4385 * src/template-designer.glade:
4386 New template designer assistant.
4390 Added entries for src/template-designer.* files.
4392 * pixmaps/ex-1layout.png
4393 * pixmaps/ex-2layouts.png
4394 * pixmaps/Makefile.am:
4395 Added the new image files ex-*.png used as illustrations in the
4396 template designer assistant.
4398 * src/print-dialog.h:
4399 * src/print-dialog.c: (gl_print_dialog_finalize),
4400 (gl_print_dialog_new), (gl_print_dialog_construct),
4401 (gl_print_dialog_force_outline_flag):
4402 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4403 to support printing from the template designer assistant which does not
4404 have a full-fledged view. Nothing else from the view object was being
4405 used by the dialog anyway.
4407 Added the gl_print_dialog_force_outline_flag() method, for better
4408 integration with the template designer assistant.
4412 * src/commands.c: (gl_cmd_file_template_designer),
4413 (gl_cmd_file_print):
4414 Modified print command to provide label instead of view to dialog.
4415 Added the gl_cmd_file_template_designer() command to invoke the
4416 template designer assistant.
4419 * src/glabels-ui.xml:
4420 Added support for template designer assistant.
4422 * src/wdgt-mini-preview.h:
4423 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4424 (gl_wdgt_mini_preview_set_bg_color):
4425 Preview is now centered in canvas. Added
4426 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4427 assistant to match the background color with its own.
4429 * src/print.c: (clip_to_outline):
4430 Fixed really stupid bug when adding waste to clip region of rectangular
4431 labels/cards. Each side of the clip region needs to be extended by
4432 twice the waste margin, as well as negatively offset by the waste
4435 2003-12-28 Jim Evins <evins@snaught.com>
4437 * src/prefs-dialog.c: (update_object_page_from_prefs):
4438 Block intermediary function align_toggle_cb() instead of
4439 update_prefs_from_object_page() for the three alignment
4442 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4444 * src/file.c: (gl_file_new), (gl_file_properties):
4445 Swap button order and set default for higificatory pleasure.
4447 2003-12-27 Jim Evins <evins@snaught.com>
4449 * barcode-0.98/Makefile.am:
4450 One last time: removed doc/Makefile and po/Makefile.in.in from
4453 2003-12-27 Jim Evins <evins@snaught.com>
4455 * barcode-0.98/Makefile.am:
4456 Removed config.stat entry from EXTRA_DIST files.
4458 * barcode-0.98/Makefile.in:
4461 2003-12-27 Jim Evins <evins@snaught.com>
4464 Updated to work with latest gnome-common package from CVS.
4465 Removed recursive configuration of barcode-0.98.
4472 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4474 * barcode-0.98/Makefile.in:
4475 * barcode-0.98/configure.in:
4476 * barcode-0.98/Makefile.am:
4477 * barcode-0.98/README.glabels:
4478 Modified to ignore the barcode package's build system, and build
4479 as a part of glabels.
4480 Renamed Makefile.in to Makefile.in.dist.
4481 Renamed configure.in to configure.in.dist.
4482 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4485 * src/mygal/Makefile.am:
4486 * src/recent-files/Makefile.am:
4487 In order to build against the GNOME 2.5 platform,
4488 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4490 * src/mygal/Makefile.am:
4491 * src/mygal/mygal-combo-box.c:
4492 * src/mygal/mygal-combo-box.h:
4493 * src/mygal/widget-color-combo.c:
4494 * src/mygal/widget-color-combo.h:
4496 In order to build against the GNOME 2.5 platform,
4497 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4498 collisions with the real gtk_combo_box widget, now a part of gtk.
4500 2003-12-26 Jim Evins <evins@snaught.com>
4506 Moved local versions of get_home_data_dir() in paper.c and
4507 template.c to util package. Cleaned up formatting in
4511 In gl_template_register() save a copy of the template in
4512 ~/.glabels if the template is not known. Still need to
4513 handle duplicate filename case and duplicate name but
4514 different template case.
4518 Moved local definition of NAME_SPACE macro from xml-label.c
4521 * src/xml-template.c:
4522 * src/xml-template.h:
4523 Added function gl_xml_template_write_template_to_file(), used
4524 in gl_template_register().