1 2007-01-08 Jim Evins <evins@snaught.com>
3 Updated dependencies. Set version to 2.1.pre4cvs.
5 2007-01-03 Jim Evins <evins@snaught.com>
8 Removed EggRecent stuff.
17 Ported from EggRecent to GtkRecentManager.
20 2007-01-02 Jim Evins <evins@snaught.com>
23 * iec16022-0.2.1/BUGS:
24 * iec16022-0.2.1/CHANGELOG:
25 * iec16022-0.2.1/CREDITS:
26 * iec16022-0.2.1/INSTALL:
27 * iec16022-0.2.1/LICENSE:
28 * iec16022-0.2.1/Makefile.am:
29 * iec16022-0.2.1/Makefile.dist:
30 * iec16022-0.2.1/README:
31 * iec16022-0.2.1/README.glabels:
32 * iec16022-0.2.1/TODO:
33 * iec16022-0.2.1/iec16022.1:
34 * iec16022-0.2.1/iec16022.c:
35 * iec16022-0.2.1/iec16022ecc200.c:
36 * iec16022-0.2.1/iec16022ecc200.h:
37 * iec16022-0.2.1/image.c:
38 * iec16022-0.2.1/image.h:
39 * iec16022-0.2.1/reedsol.c:
40 * iec16022-0.2.1/reedsol.h:
41 * iec16022-0.2.1/test/testsuite-example.bin:
42 * iec16022-0.2.1/test/testsuite-example.eps:
43 * iec16022-0.2.1/test/testsuite-example.hex:
44 * iec16022-0.2.1/test/testsuite-example.png:
45 * iec16022-0.2.1/test/testsuite-example.text:
46 * iec16022-0.2.1/test/testsuite.sh:
47 Include modified copy of iec16022-0.2.1 to provide encoding
48 support for datamatrix 2D barcodes.
53 Added initial datamatrix 2D barcode backend to barcode code.
56 Automatic updates to later versions of these files.
58 2006-11-28 Jim Evins <evins@snaught.com>
60 * data/templates/avery-iso-templates.xml:
61 * data/templates/avery-us-templates.xml:
62 * data/templates/categories.xml:
63 * data/templates/misc-iso-templates.xml:
64 * data/templates/misc-us-templates.xml:
65 * data/templates/zweckform-iso-templates.xml:
68 2006-09-12 Jim Evins <evins@snaught.com>
70 * data/dtd/glabels-2.0.dtd:
71 * data/templates/Makefile.am:
72 * data/templates/avery-iso-templates.xml:
73 * data/templates/avery-other-templates.xml:
74 * data/templates/avery-us-templates.xml:
75 * data/templates/categories.xml:
76 * data/templates/misc-iso-templates.xml:
77 * data/templates/misc-other-templates.xml:
78 * data/templates/zweckform-iso-templates.xml:
79 * data/glade/Makefile.am:
80 * data/glade/new-label-dialog.glade:
81 * data/glade/wdgt-media-select.glade:
82 * data/glade/wdgt-rotate-label.glade:
83 * libglabels/Makefile.am:
84 * libglabels/category.c:
85 * libglabels/category.h:
86 * libglabels/libglabels.h:
88 * libglabels/template.c:
89 * libglabels/template.h:
90 * libglabels/xml-category.c:
91 * libglabels/xml-category.h:
92 * libglabels/xml-template.c:
93 Added support for category meta data.
96 * src/mini-preview-pixbuf.c:
97 * src/mini-preview-pixbuf.h:
98 * src/new-label-dialog.c:
99 * src/new-label-dialog.h:
100 * src/wdgt-media-select.c:
101 * src/wdgt-media-select.h:
102 * src/wdgt-rotate-label.c:
103 * src/wdgt-rotate-label.h:
104 New "new label" dialog.
106 2006-05-27 Jim Evins <evins@snaught.com>
111 Preparation for 2.1.3.
117 2006-05-22 Jim Evins <evins@snaught.com>
119 * src/print.c: (draw_barcode_object):
120 Don't print "Invalid barcode data" if data field is empty. Patch provided
121 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
123 Added acknowledgment for above patch.
124 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
125 * src/bc-postnet.c: (postnet_code):
126 Removed "Invalid barcode data" warnings from stderr.
127 * src/view-barcode.c: (draw_barcode):
128 Draw box around barcode extent if data empty or invalid. Center a
129 message whether the data is empty or invalid in box.
131 2006-05-22 Jim Evins <evins@snaught.com>
133 * src/print.c: (draw_text_object):
134 Check shadow state when printing text.
136 2006-05-20 Jim Evins <evins@snaught.com>
138 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
139 (gl_ui_cmd_view_markup_toggle):
140 Fixed crash when grid or markup have been toggled off during
141 a previous session. Bug #1434324.
143 2006-04-05 Jim Evins <evins@snaught.com>
145 * src/object-editor.c: (gl_object_editor_set_key_names):
146 Fixed potential crash when freeing empty key list.
148 2006-03-11 Jim Evins <evins@snaught.com>
150 * src/print.c: (draw_text_object):
151 * src/view-text.c: (gl_view_text_new),
152 (construct_properties_editor), (update_object_from_editor_cb),
153 (update_editor_from_object_cb), (update_editor_from_label_cb),
155 Added shadow support to text object.
157 2006-02-18 Jim Evins <evins@snaught.com>
159 * src/print.c: (draw_line_object):
160 * src/view-line.c: (gl_view_line_new),
161 (construct_properties_editor), (update_canvas_item_from_object_cb),
162 (update_object_from_editor_cb), (update_editor_from_object_cb),
163 (update_editor_from_label_cb):
164 Added shadow support to line object.
166 2006-02-16 Jim Evins <evins@snaught.com>
170 * src/print.c: (draw_ellipse_object):
171 * src/view-ellipse.c: (gl_view_ellipse_new),
172 (construct_properties_editor), (update_canvas_item_from_object_cb),
173 (update_object_from_editor_cb), (update_editor_from_object_cb),
174 (update_editor_from_label_cb):
175 Added shadow support to ellipse object.
177 2006-02-15 Jim Evins <evins@snaught.com>
179 * src/label-object.c:
180 Changed default shadow offsets.
181 * src/view-box.c: (gl_view_box_new):
182 Simplified gl_view_box_new() so that is does not duplicate code
183 in update_canvas_item_from_object_cb().
185 2006-02-07 Jim Evins <evins@snaught.com>
187 * data/glade/object-editor.glade:
188 Fixed color groups of color combos.
190 Added default shadow color.
191 * src/object-editor.c: (gl_object_editor_construct_color_combo):
192 Added shadow color group.
194 2006-02-06 Jim Evins <evins@snaught.com>
196 * src/object-editor-shadow-page.c:
197 Forgot to add this file.
198 * src/view-box.c: (gl_view_box_new),
199 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
200 Update limits on shadow offset spinbuttons.
202 2006-01-19 Jim Evins <evins@snaught.com>
204 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
205 Initialize key_list to NULL.
206 * data/glade/object-editor.glade:
210 * src/label-object.c:
211 * src/label-object.h:
212 * src/object-editor-fill-page.c:
213 * src/object-editor-private.h:
214 * src/object-editor.c:
215 * src/object-editor.h:
217 Created infrastructure for shadow support.
220 Initial shadow support in box object only.
222 2006-01-05 Jim Evins <evins@snaught.com>
224 * src/merge-properties-dialog.c: (src_changed_cb):
225 Be extra paranoid before calling strcmp().
226 * src/merge.c: (gl_merge_set_src):
227 Don't make (merge == NULL) a critical error.
229 2005-12-22 Jim Evins <evins@snaught.com>
231 * src/glabels-batch.c: (main):
232 Compile warning free with gcc 4.0.
234 2005-12-21 Jim Evins <evins@snaught.com>
237 Updated example RPM spec file.
239 2005-12-21 Jim Evins <evins@snaught.com>
243 Preparation for 2.1.2.
245 2005-12-20 Jim Evins <evins@snaught.com>
248 Define unique G_LOG_DOMAIN for glabels.
249 * src/critical-error-handler.c: (gl_critical_error_handler_init):
250 * src/warning-handler.c: (gl_warning_handler_init),
252 Register for G_LOG_DOMAIN instead of NULL.
254 2005-12-10 Jim Evins <evins@snaught.com>
256 * src/merge-evolution.c:
260 2005-12-08 Jim Evins <evins@snaught.com>
262 * libglabels/paper.c: (read_paper_files_from_dir):
263 * libglabels/template.c: (gl_template_register),
264 (read_template_files_from_dir):
265 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
266 (gl_xml_paper_parse_papers_doc):
267 * libglabels/xml-template.c:
268 (gl_xml_template_read_templates_from_file),
269 (gl_xml_template_parse_templates_doc),
270 (gl_xml_template_parse_template_node),
271 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
272 (xml_parse_label_cd_node), (xml_parse_layout_node),
273 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
274 (xml_parse_markup_circle_node),
275 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
276 * libglabels/xml.c: (gl_xml_get_prop_length):
277 Re-classified g_warnings to g_messages.
279 * src/glabels.c: (main):
280 * src/warning-handler.c: (gl_warning_handler_init),
282 * src/warning-handler.h:
283 Added warning message handler to make sure the user is
284 presented with appropriate non-fatal errors.
285 * src/critical-error-handler.c: (critical_error_handler):
286 Changed exit to abort.
287 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
288 * src/bc-postnet.c: (postnet_code):
289 * src/bc.c: (id_to_index), (name_to_index):
290 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
291 * src/object-editor.c: (gl_object_notebook_construct_valist):
292 * src/prefs-dialog.c: (update_locale_page_from_prefs):
293 * src/prefs.c: (gl_prefs_get_units_per_point),
294 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
295 (gl_prefs_get_units_string):
296 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
297 * src/splash.c: (gl_splash):
298 * src/ui-commands.c: (gl_ui_cmd_help_contents):
299 * src/view-highlight.c: (gl_view_highlight_new),
300 (highlight_resizable_box_construct), (object_changed_cb),
301 (view_scale_changed_cb):
302 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
303 (draw_markup_layer), (draw_markup_margin),
304 (gl_view_object_create_mode), (canvas_event),
305 (selection_received_cb):
306 * src/wdgt-mini-preview.c: (mini_outline_list_new):
307 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
308 * src/xml-label-04.c: (gl_xml_label_04_parse),
309 (xml04_parse_media_description), (xml04_parse_text_props),
310 (xml04_parse_barcode_props):
311 * src/xml-label-191.c: (gl_xml_label_191_parse),
312 (xml191_parse_objects), (xml191_parse_object),
313 (xml191_parse_text_props), (xml191_parse_image_props),
314 (xml191_parse_barcode_props), (xml191_parse_data),
315 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
316 (xml191_parse_markup):
317 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
318 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
319 (xml_parse_object_text), (xml_parse_object_image),
320 (xml_parse_object_barcode), (xml_parse_data),
321 (xml_parse_toplevel_span), (gl_xml_label_save),
322 (xml_create_objects):
323 Re-classified g_warnings to g_messages.
324 * src/merge-evolution.c: (gl_merge_evolution_open),
325 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
326 Use g_warning to output errors encountered while
327 communicating with the evolution data server
328 instead of embedding them in the data.
330 2005-12-08 Jim Evins <evins@snaught.com>
332 * libglabels/libglabels-private.h:
334 * libglabels/paper.c: (read_papers):
335 * libglabels/template.c: (read_templates):
336 Made appropriate warnings critical.
338 * src/critical-error-handler.h:
339 * src/critical-error-handler.c: (gl_critical_error_handler_init),
340 (critical_error_handler):
341 Created critical error handler.
342 * src/glabels.c: (main):
343 Register critical error handler.
344 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
345 * src/object-editor.c: (gl_object_editor_init):
346 * src/prefs-dialog.c: (gl_prefs_dialog_init):
347 * src/template-designer.c: (gl_template_designer_init):
348 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
349 Made appropriate warnings critical.
351 2005-11-27 Jim Evins <evins@snaught.com>
353 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
354 (gl_merge_evolution_get_primary_key),
355 (gl_merge_evolution_get_record):
356 Don't create "record_key" pseudo-key. Don't populate
357 fields with null data.
359 2005-11-25 Jim Evins <evins@snaught.com>
361 * src/merge-evolution.c: (gl_merge_evolution_finalize),
362 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
363 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
365 Query EDS for all supported fields. Patch provided by
366 Austin Henry <ahenry@users.sourceforge.net>.
368 2005-10-29 Jim Evins <evins@snaught.com>
370 * src/glabels.c: (main):
371 * src/label-barcode.c: (gl_label_barcode_finalize):
372 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
373 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
374 * src/object-editor.c: (gl_object_editor_finalize):
375 Another pass at valgrinding -- plugged several memory leaks.
376 * src/view-text.c: (gl_view_text_new),
377 (update_canvas_item_from_object_cb), (draw_hacktext):
378 Commented out artifacts of edit-in-place code.
380 2005-10-28 Jim Evins <evins@snaught.com>
382 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
383 Fixed use of uninitialized variable. Caught by
384 d binderman <dcb314@hotmail.com>.
386 2005-10-27 Jim Evins <evins@snaught.com>
388 * src/merge-evolution.c: (gl_merge_evolution_get_record):
389 * src/merge-vcard.c: (gl_merge_vcard_get_record),
391 Additional cleanup of EDS and vcard backends. Provided by
392 Austin Henry <ahenry@users.sourceforge.net>.
394 2005-10-24 Jim Evins <evins@snaught.com>
398 * src/merge-evolution.c:
399 * src/merge-evolution.h:
400 * src/merge-init.c: (gl_merge_init):
401 * src/merge-properties-dialog.c: (type_changed_cb):
404 * src/ui-commands.c: (gl_ui_cmd_help_about):
405 Added Evolution Data Server and VCard merge backends. Original patch
406 provided by Austin Henry <ahenry@users.sourceforge.net>.
408 Only support EDS and VCard backends if libebook is installed. Allow
409 user to disable support, even if installed.
411 2005-10-24 Jim Evins <evins@snaught.com>
414 * data/templates/avery-iso-templates.xml:
415 * data/templates/avery-us-templates.xml:
416 * data/templates/misc-iso-templates.xml:
417 * data/templates/zweckform-iso-templates.xml:
418 Collected all template changes and submissions since last
421 2005-10-23 Jim Evins <evins@snaught.com>
424 * data/mime/Makefile.am:
425 Added configure options to disable update-mime-database and
426 update-desktop-database as part of the install. Patch
427 provided by Leonardo Boshell (qhoracio@sourceforge.net).
429 2005-10-23 Jim Evins <evins@snaught.com>
432 * libglabels/xml.c: (gl_xml_get_prop_string),
433 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
434 (gl_xml_is_node), (gl_xml_get_node_content):
435 Added new XML utility functions.
436 * libglabels/xml-paper.c:
437 * libglabels/xml-template.c:
439 Cleanup by using new xml utilities created above.
440 * libglabels/paper.c: (gl_paper_free):
441 * src/file.c: (new_response):
442 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
443 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
444 (gl_pixbuf_cache_get_pixbuf):
445 * src/ui-property-bar.c:
446 (gl_ui_property_bar_construct_color_combo):
447 * src/view-highlight.c: (gl_view_highlight_finalize):
448 * src/view-image.c: (update_object_from_editor_cb):
449 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
450 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
451 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
452 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
453 (draw_markup_margin_round), (draw_markup_margin_cd),
454 (draw_markup_margin_cd_bc):
455 * src/wdgt-mini-preview.c: (mini_outline_list_new):
456 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
457 Plugged various memory leaks located with valgrind.
458 * src/view-image.c: (update_canvas_item_from_object_cb):
459 Don't allow a width or height of zero when drawing pixbuf.
461 2005-10-22 Jim Evins <evins@snaught.com>
463 * libglabels/xml-paper.c:
464 * libglabels/xml-template.c:
467 * src/bc-gnubarcode.c:
468 * src/canvas-hacktext.c:
470 * src/object-editor-data-page.c:
471 * src/print-dialog.c:
474 * src/template-designer.c:
476 * src/ui-property-bar.c:
478 * src/view-barcode.c:
480 * src/view-ellipse.c:
485 * src/wdgt-media-select.c:
486 * src/xml-label-04.c:
487 * src/xml-label-191.c:
489 Modified to compile warning free with gcc-4.0. Mostly
490 casting to change signedness of characters. Did not
491 attack gnu-barcode library yet.
493 2005-10-22 Jim Evins <evins@snaught.com>
495 * src/glabels.c: (main):
496 * src/splash.c: (gl_splash):
497 Removed some small memory leaks.
501 2005-09-19 Jim Evins <evins@snaught.com>
503 * data/glade/property-bar.glade:
504 Remove items from font_family_combo. This prevents the
505 double entry after adding text model and list of fonts.
506 * src/ui-property-bar.c: (reset_to_default_properties):
507 Free font_family_list.
509 2005-07-01 Jim Evins <evins@snaught.com>
512 Updated italian translation (Daniele Medri)
514 2005-06-26 Jim Evins <evins@snaught.com>
516 * docs/libglabels/libglabels-decl-list.txt:
517 Somehow never got checked in before.
518 * docs/libglabels/libglabels.types:
519 Removed -- don't need it afterall.
521 2005-06-20 Jim Evins <evins@snaught.com>
524 Final prep for 2.1.1 release.
526 2005-06-20 Jim Evins <evins@snaught.com>
529 Final preps for 2.1.1 release.
530 * docs/libglabels/libglabels.types:
531 Somehow never got checked in before.
533 Bring up-to-date with recent reorg of ui code.
536 2005-06-19 Jim Evins <evins@snaught.com>
538 * src/template-designer.c: (construct_layout_page):
539 Removed attempt to match background color of mini preview widget to
542 2005-06-17 Jim Evins <evins@snaught.com>
544 * help/C/figures/merge-ex2-4.png:
545 * help/C/glabels.xml:
546 Fixed spelling error.
548 2005-06-13 Jim Evins <evins@snaught.com>
550 * help/C/figures/merge-ex1-1.png:
551 * help/C/figures/merge-ex1-2.png:
552 * help/C/figures/merge-ex1-3.png:
553 * help/C/figures/merge-ex1-4.png:
554 * help/C/figures/merge-ex2-1.png:
555 * help/C/figures/merge-ex2-2.png:
556 * help/C/figures/merge-ex2-3.png:
557 * help/C/figures/merge-ex2-4.png:
558 Added figures for document merge tutorial.
559 * help/C/glabels.xml:
560 Added document merge tutorial.
562 2005-05-19 Jim Evins <evins@snaught.com>
564 * data/glade/merge-properties-dialog.glade:
565 Fixed irregular spacing.
566 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
567 (gl_merge_properties_dialog_construct):
568 Set outer padding and remove separator.
570 2005-05-18 Jim Evins <evins@snaught.com>
574 Removed glHigDialog class.
575 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
576 (gl_file_properties), (create_properties_dialog_widgets):
577 * src/prefs-dialog.h:
578 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
579 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
580 * src/print-dialog.h:
581 * src/prefs-dialog.h:
582 * src/print-dialog.c: (gl_print_dialog_get_type),
583 (gl_print_dialog_init), (gl_print_dialog_construct):
584 Replaced all instances of glHigDialog with GtkDialog.
586 2005-05-17 Jim Evins <evins@snaught.com>
590 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
591 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
592 (save_as_response), (gl_file_close):
593 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
595 2005-05-15 Jim Evins <evins@snaught.com>
605 A little code reformatting -- no functional changes.
607 2005-05-14 Jim Evins <evins@snaught.com>
610 Removed obsolete macros.
612 Added marshalling template to support new view signal: "context_menu_activate."
614 * src/view.c: (gl_view_class_init), (gl_view_construct),
615 (canvas_event_arrow_mode):
616 - Removed hardcoded context menus and added new signal "context_menu_activate"
617 to push this up to the uimanager.
618 - Removed merge properties and print dialogs so that they can be managed with
619 the window by the uimanager.
620 * src/merge-properties-dialog.h:
621 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
622 (gl_merge_properties_dialog_construct):
623 Changed calling convention of gl_merge_properties_dialog_new() to use
624 glLabel and GtkWindow instead of view to make more consistent with other
626 * src/print-dialog.h:
627 * src/print-dialog.c: (gl_print_dialog_new),
628 (gl_print_dialog_construct):
629 Removed last artifact of libbonoboui.
630 * src/ui-commands.c: (gl_ui_cmd_file_print),
631 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
632 Reconciled style for launching dialogs.
633 * src/ui.c: (gl_ui_new):
634 Added context menus to ui manager.
635 * src/view-object.c: (item_event_arrow_mode):
636 No longer try to select objects with right-click.
638 * src/window.c: (gl_window_init), (gl_window_set_label),
639 (context_menu_activate_cb):
640 Context menus and all dialogs are now managed in a consistent way in window
643 2005-05-11 Jim Evins <evins@snaught.com>
646 * src/window.c: (gl_window_init), (gl_window_destroy):
647 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
648 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
649 Moved management of recent_view back from window.c to ui.c -- it just feels
652 2005-05-10 Jim Evins <evins@snaught.com>
655 * src/window.c: (gl_window_init):
657 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
658 (menu_item_select_cb), (menu_item_deselect_cb):
659 Added GtkStatusbar which displays menu tooltips.
661 2005-05-09 Jim Evins <evins@snaught.com>
663 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
668 Removed dependencies on libbonoboui.
670 * data/ui/Makefile.am:
671 * data/ui/glabels-ui.xml:
672 Removed data/ui directory.
673 * data/glade/Makefile.am:
674 * data/property-bar.glade:
675 Added glade description of property-bar for new libglade implementation
684 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
685 since the distinction between "commands" and "tools" is no longer that clear.
688 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
689 no longer has knowledge of eggRecent*.
690 * src/glabels.c: (main):
691 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
693 * src/object-editor.c: (gl_object_editor_init):
694 Make sure notebook does not respond to a "show_all" on the parent.
695 * src/recent-files/Makefile.am:
696 * src/recent-files/*.[ch]
697 Updated from latest version of libegg which now has a view based on
698 GtkUIManager. Removed unused bonobo and gtk views.
699 * src/ui-property-bar.h:
700 * src/ui-property-bar.c:
701 New implementation based on libglade.
704 Sidebar is now simply a GtkWidget and does not expect to be a part of
705 a libbonoboui interface.
710 Converted for use with GtkUIManager.
713 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
714 to create menus and toolbars.
716 2005-04-25 Jim Evins <evins@snaught.com>
718 * data/templates/misc-iso-templates.xml:
719 Added Fellows 04715 template provided by Steve Saxon.
721 Updated acknowledgement for above.
723 2005-04-23 Jim Evins <evins@snaught.com>
725 * src/util.c: (gl_util_combo_box_set_strings):
726 Make sure to clear model before loading a new list of strings.
727 * src/wdgt-media-select.h:
728 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
729 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
730 (template_combo_changed_cb), (prefs_changed_cb),
731 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
732 (gl_wdgt_media_select_get_page_size),
733 (gl_wdgt_media_select_set_page_size):
734 Replaced the deprecated GtkCombo widget with the new
737 2005-04-21 Jim Evins <evins@snaught.com>
739 * data/glade/template-designer.glade:
740 * src/template-designer.c: (construct_pg_size_page),
741 (pg_size_page_changed_cb), (build_template):
742 Replaced the deprecated GtkCombo widget with the new
745 2005-04-20 Jim Evins <evins@snaught.com>
747 * data/glade/prefs-dialog.glade:
748 * src/prefs-dialog.c: (construct_object_page),
749 (update_object_page_from_prefs), (update_prefs_from_object_page):
750 Replaced the deprecated GtkCombo widget with the new
753 2005-04-19 Jim Evins <evins@snaught.com>
755 * data/glade/object-editor.glade:
756 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
757 (style_changed_cb), (gl_object_editor_set_bc_style),
758 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
759 (gl_object_editor_get_bc_color):
760 * src/object-editor-data-page.c:
761 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
762 (gl_object_editor_get_data):
763 * src/object-editor-edit-page.c:
764 (gl_object_editor_prepare_edit_page), (insert_button_cb):
765 * src/object-editor-fill-page.c:
766 (gl_object_editor_prepare_fill_page),
767 (gl_object_editor_set_fill_color),
768 (gl_object_editor_get_fill_color):
769 * src/object-editor-image-page.c:
770 (gl_object_editor_prepare_image_page),
771 (gl_object_editor_set_image), (gl_object_editor_get_image):
772 * src/object-editor-line-page.c:
773 (gl_object_editor_prepare_line_page),
774 (gl_object_editor_set_line_color),
775 (gl_object_editor_get_line_color):
776 * src/object-editor-private.h:
777 * src/object-editor-text-page.c:
778 (gl_object_editor_prepare_text_page),
779 (gl_object_editor_set_font_family),
780 (gl_object_editor_get_font_family),
781 (gl_object_editor_set_text_color),
782 (gl_object_editor_get_text_color):
783 * src/object-editor.c: (gl_object_editor_set_key_names):
785 In the object editor: replaced all instances of the deprecated
786 GtkCombo widget with the new GtkComboBox.
788 2005-04-18 Jim Evins <evins@snaught.com>
791 Neglected to save this one in previous checkin to support
794 2005-04-17 Jim Evins <evins@snaught.com>
796 * libglabels/libglabels-private.h:
797 * libglabels/paper.c:
798 * libglabels/paper.h:
799 * libglabels/template.c:
800 * libglabels/template.h:
801 * libglabels/xml-paper.c:
802 * libglabels/xml-paper.h:
803 * libglabels/xml-template.c:
808 * src/bc-gnubarcode.c:
819 * src/label-barcode.c:
821 * src/label-ellipse.c:
825 * src/label-object.c:
829 * src/merge-properties-dialog.c:
830 * src/object-editor-bc-page.c:
831 * src/object-editor-data-page.c:
832 * src/object-editor-edit-page.c:
833 * src/object-editor-fill-page.c:
834 * src/object-editor-image-page.c:
835 * src/object-editor-line-page.c:
836 * src/object-editor-lsize-page.c:
837 * src/object-editor-position-page.c:
838 * src/object-editor-private.h:
839 * src/object-editor-size-page.c:
840 * src/object-editor-text-page.c:
841 * src/object-editor.c:
842 * src/object-editor.h:
843 * src/pixbuf-cache.h:
844 * src/prefs-dialog.c:
845 * src/prefs-dialog.h:
849 * src/print-dialog.c:
850 * src/print-dialog.h:
858 * src/template-designer.c:
859 * src/template-designer.h:
862 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
868 * src/view-barcode.c:
870 * src/view-ellipse.c:
871 * src/view-highlight.c:
872 * src/view-highlight.h:
880 * src/wdgt-chain-button.c:
881 * src/wdgt-media-select.c:
882 * src/wdgt-media-select.h:
883 * src/wdgt-mini-preview.c:
884 * src/wdgt-mini-preview.h:
885 * src/wdgt-print-copies.c:
886 * src/wdgt-print-copies.h:
887 * src/wdgt-print-merge.c:
888 * src/wdgt-print-merge.h:
889 * src/wdgt-rotate-label.c:
890 * src/wdgt-rotate-label.h:
893 * src/xml-label-04.c:
894 * src/xml-label-191.c:
896 Cleanup of header files:
897 - all header files are now stand-alone, verified by including
898 first in corresponding "c" files
899 - replaced blanket includes of gnome, gtk, and glib with
902 2005-04-16 Jim Evins <evins@snaught.com>
904 * data/glade/Makefile.am:
905 * data/glade/merge-properties-dialog.glade:
906 Added merge properties dialog glade description file.
907 * src/merge-properties-dialog.h:
908 * src/merge-properties-dialog.c:
909 (gl_merge_properties_dialog_get_type),
910 (gl_merge_properties_dialog_init),
911 (gl_merge_properties_dialog_finalize),
912 (gl_merge_properties_dialog_new),
913 (gl_merge_properties_dialog_construct), (type_changed_cb),
914 (src_changed_cb), (response_cb), (load_tree),
915 (record_select_toggled_cb), (select_all_button_clicked_cb),
916 (unselect_all_button_clicked_cb):
917 Modified merge properties dialog to use libglade. Added
918 "select all" and "unselect all" buttons.
919 * src/merge-text.c: (parse_line):
920 Handle empty lines better.
921 * src/merge.c: (gl_merge_eval_key):
922 Evaluate the key whether the record is selected or not.
924 * src/util.c: (gl_util_combo_box_add_text_model):
925 Since libglade does not use the gtk_combo_box_new_text()
926 constructor for GtkComboBoxes, a utility function was created
927 to add an appropriate text model to a GtkComboBox.
928 * src/view.c: (gl_view_edit_merge_props):
929 Removed unnecessary "show all's".
931 2005-04-15 Jim Evins <evins@snaught.com>
934 Updated russian translation (Vitaly Lipatov)
935 * data/templates/misc-iso-templates.xml:
936 Added templates for russian business cards provided by Vitaly Lipatov.
938 Updated acknowledgements for above.
940 2005-04-15 Jim Evins <evins@snaught.com>
942 * data/templates/avery-us-templates.xml:
943 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
944 * data/templates/misc-iso-templates.xml:
945 Added Ryman standard CD/DVD template, provided by Dan Clark.
947 Added acknowledgements for above.
949 2005-04-10 Jim Evins <evins@snaught.com>
951 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
952 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
953 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
954 (xml_parse_label_cd_node), (xml_parse_alias_node):
955 * libglabels/xml.c: (gl_xml_get_prop_double),
956 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
957 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
958 * src/xml-label-04.c: (xml04_parse_media_description),
959 (xml04_parse_text_props), (xml04_parse_barcode_props),
960 (xml04_parse_merge_properties):
961 * src/xml-label-191.c: (xml191_parse_object),
962 (xml191_parse_text_props), (xml191_parse_barcode_props),
963 (xml191_parse_merge_fields), (xml191_parse_pixdata),
964 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
965 (xml191_parse_alias):
966 * src/xml-label.c: (xml_parse_object_text),
967 (xml_parse_object_barcode), (xml_parse_merge_fields),
968 (xml_parse_pixdata), (xml_parse_toplevel_span):
969 Make sure to use xmlFree for anything obtained from libxml
970 in case libxml and glib use different memory management
973 2005-04-08 Jim Evins <evins@snaught.com>
976 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
977 (gl_util_combo_box_set_active_text):
978 Added utility functions to simplify working with GtkComboBox
980 * src/ui-property-bar.h:
981 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
982 (reset_to_default_properties), (update_text_properties),
983 (font_family_changed_cb):
984 Replaced deprecated GtkCombo with GtkComboBox.
987 2005-04-03 Jim Evins <evins@snaught.com>
990 * src/wdgt-image-select.h:
991 * src/wdgt-image-select.c:
992 Removed obsolete wdgt-image-select.[ch] files.
993 * libglabels/paper.c: (gl_paper_dup):
994 Fixed rename of parameter introduced during documentation
996 * data/glade/object-editor.glade:
997 * src/object-editor-image-page.c:
998 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
999 (gl_object_editor_set_image), (gl_object_editor_get_image),
1000 (update_preview_cb), (add_image_filters_to_chooser):
1001 * src/object-editor-private.h:
1002 Replaced deprecated GnomePixmapEntry with
1003 GtkFileChooserButton.
1005 2005-04-02 Jim Evins <evins@snaught.com>
1007 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1008 (mygal_combo_box_popup_hide_unconditional),
1009 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1010 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1011 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1012 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1013 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1014 Renamed all internal gtk_combo functions to mygal_combo
1015 to prevent namespace confusion.
1017 2005-04-02 Jim Evins <evins@snaught.com>
1019 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1020 (cust_color_set), (color_palette_setup):
1021 * src/mygal/color-palette.h:
1022 Replaced deprecated GnomeColorPicker with GtkColorButton.
1024 2005-04-02 Jim Evins <evins@snaught.com>
1026 * docs/libglabels/libglabels-sections.txt:
1027 * docs/libglabels/libglabels-undocumented.txt:
1028 * docs/libglabels/tmpl/enums.sgml:
1029 * docs/libglabels/tmpl/paper.sgml:
1030 * docs/libglabels/tmpl/xml-paper.sgml:
1031 * docs/libglabels/tmpl/xml-template.sgml:
1032 * libglabels/enums.h:
1033 * libglabels/paper.c: (gl_paper_dup):
1034 * libglabels/paper.h:
1035 * libglabels/xml-paper.c:
1036 * libglabels/xml-template.c:
1037 More documentation updates for libglabels.
1039 2005-03-23 Jim Evins <evins@snaught.com>
1042 Automatically updated.
1047 * docs/libglabels/Makefile.am:
1048 * docs/libglabels/libglabels-docs.sgml:
1049 * docs/libglabels/libglabels-sections.txt:
1050 * docs/libglabels/libglabels-undocumented.txt:
1051 * docs/libglabels/tmpl/enums.sgml:
1052 * docs/libglabels/tmpl/libglabels-unused.sgml:
1053 * docs/libglabels/tmpl/libglabels.sgml:
1054 * docs/libglabels/tmpl/paper.sgml:
1055 * docs/libglabels/tmpl/template.sgml:
1056 * docs/libglabels/tmpl/xml-paper.sgml:
1057 * docs/libglabels/tmpl/xml-template.sgml:
1058 * docs/libglabels/tmpl/xml.sgml:
1059 Added basic gtk-doc stuff to support documenting libglabels
1062 Updated function comments with gtk-doc markup.
1066 2005-03-22 Jim Evins <evins@snaught.com>
1068 Since the development version now requires gtk-2.6/gnome-2.10, I
1069 have made a first pass at removing deprecations.
1072 * libglabels/Makefile.am:
1074 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1075 Also removed all remnants of HAVE_FILECHOOSER.
1076 * src/file.c: (gl_file_open_real):
1077 Removed code for old GtkFileSelection.
1078 * libglabels/libglabels-private.h:
1079 * libglabels/paper.c:
1080 * libglabels/template.c:
1081 * libglabels/xml-paper.c:
1082 * libglabels/xml-template.c:
1086 * src/glabels-batch.c:
1090 * src/merge-properties-dialog.c:
1092 * src/object-editor.c:
1093 * src/prefs-dialog.c:
1095 * src/print-dialog.c:
1098 * src/template-designer.c:
1099 * src/ui-property-bar.c:
1101 * src/view-barcode.c:
1103 * src/view-ellipse.c:
1108 * src/wdgt-image-select.c:
1109 * src/wdgt-media-select.c:
1110 * src/wdgt-print-copies.c:
1111 * src/wdgt-print-merge.c:
1112 * src/wdgt-rotate-label.c:
1114 * src/xml-label-04.c:
1115 * src/xml-label-191.c:
1117 Added '#include <glib/gi18n.h>" where needed.
1118 Removed any unused '#include <gnome.h>"s.
1120 2005-03-22 Jim Evins <evins@snaught.com>
1122 * src/commands.c: (activate_url), (gl_cmd_help_about):
1123 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1124 development version of glabels now depends on GTK 2.6 and
1127 Updated library dependencies.
1129 2005-02-28 Jim Evins <evins@snaught.com>
1132 * data/templates/misc-iso-templates.xml:
1133 Added 'Ednet 45021' template provided by Ali Akcaagac
1136 2005-02-14 Jim Evins <evins@snaught.com>
1138 * data/templates/avery-us-templates.xml:
1139 Updated templates to use inches instead of points.
1140 * src/print-dialog.c: (printer_page_new):
1141 Changed packing style when adding printer selector widget. This fixes
1144 2005-02-13 Jim Evins <evins@snaught.com>
1148 Updated spanish translations. (sergio rivadero)
1150 2005-02-05 Jim Evins <evins@snaught.com>
1152 Some cleanup to libglabels.
1155 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1156 * libglabels/libglabels.pc.in
1158 * libglabels/enums.h
1159 Created. Currently only contains glUnitsType which provides enumerations
1160 for all possible units of distance.
1161 * libglabels/Makefile.am:
1162 Incorporated new files enums.h and libglabels.pc[.in].
1163 * libglabels/libglabels.h:
1165 * libglabels/template.h:
1166 * libglabels/template.c: (gl_template_layout_new):
1167 Changed parameters nx and ny to gint from gdouble.
1169 * libglabels/xml.c: (gl_xml_get_prop_length),
1170 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1171 Added support for different output units.
1172 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1173 (update_prefs_from_locale_page):
1174 * src/prefs-model.c: (string_to_units), (units_to_string):
1175 * src/prefs-model.h:
1176 * src/prefs.c: (gl_prefs_get_units_per_point),
1177 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1178 (gl_prefs_get_units_string):
1180 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1181 Reconciled all length enumerations with the new enumerations provided
1182 in libglabels/enums.h.
1184 2005-02-03 Jim Evins <evins@snaught.com>
1187 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1189 Updated Italian translations. (Daniele Medri)
1191 Updated credits to reflect above translations.
1194 2005-01-22 Jim Evins <evins@snaught.com>
1199 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1201 Final prep for 2.1.0.
1203 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1205 Added '--remove-original' flag to desktop-file-install, so that there is
1206 only one menu entry.
1208 2005-01-20 Jim Evins <evins@snaught.com>
1210 * data/glade/object-editor.glade:
1211 - Font family entry should not be editable.
1212 - img_key_entry should have sensitivity=YES, so that it follows the
1213 sensitivity of img_key_combo.
1215 2005-01-19 Jim Evins <evins@snaught.com>
1218 Give credit to Frederic Ruaudel for the color merge patches.
1220 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1222 Add support to merge color for all other color attribute (Feature
1223 Requests item #1008635. If the data is invalid, the color used is transparent
1224 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1225 by gdk_color_parse() these include name for a color from rgb.txt, such as
1226 DarkSlateGray, or a hex specification such as #305050. File format has been
1227 changed but backward compatibility is preserved for all format. For
1228 box/ellipse/line, keep attribute "line_color" for static color or replace by
1229 "line_color_field" for merge data. For text/barcode objects, keep attribute
1230 "color" for static color or replace by "color_field" for merge data. In the
1231 edit canvas window, merged color are represented by half-transparent black
1234 * data/dtd/glabels-2.0.dtd:
1235 Added line_color_field to line_attrs. Added color_field to
1236 Object-barcode and Span.
1237 * data/glade/object-editor.glade:
1238 Modify the layout of the editor to add merge possibility to color options
1240 Fix a copy/paste error in a comment
1242 Add default color for merge color representation in the editor canvas.
1243 * src/label-barcode.c:
1244 * src/object-editor-bc-page.c:
1245 * src/view-barcode.c:
1246 Add merge color support for barcode color.
1249 Add merge color support for box border color.
1250 * src/label-ellipse.c:
1251 * src/view-ellipse.c:
1252 Add merge color support for ellipse border color.
1255 Add merge color support for line color.
1256 * src/label-object.c:
1257 * src/label-object.h:
1258 * src/object-editor.c:
1259 * src/object-editor.h:
1260 * src/ui-property-bar.c:
1263 * src/xml-label-04.c:
1264 * src/xml-label-191.c:
1265 Add support for merging to other color attribute.
1267 * src/object-editor-text-page.c:
1269 Add merge color support for text color.
1270 * src/object-editor-fill-page.c:
1271 Change a blocked handler that didn't match the good widget. Fix the type
1272 of some debug message.
1273 * src/object-editor-line-page.c:
1274 Add merging support to line color option.
1275 * src/object-editor-private.h:
1276 Add variables for new widget.
1278 Modify the draw functions to get merge data if needed.
1280 Change the default size of the window in order to see all widget in the
1281 "text style tab" of the editor.
1283 Modify the parser to record/retreive the field value for objects that need
1284 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1285 static color or replace by "line_color_field" for merge data. For
1286 text/barcode objects, keep attribute "color" for static color or replace
1287 by "color_field" for merge data.
1289 2005-01-17 Jim Evins <evins@snaught.com>
1291 * src/view.c: (screen_changed_cb):
1292 Don't do anything if we don't have a screen.
1294 2005-01-06 Jim Evins <evins@snaught.com>
1296 * src/view.c: (get_home_scale):
1297 Fixed bad call to gtk_widget_has_screen() -- huh?.
1299 2005-01-06 Jim Evins <evins@snaught.com>
1301 * data/dtd/glabels-2.0.dtd:
1302 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1305 2005-01-06 Jim Evins <evins@snaught.com>
1307 * data/glade/object-editor.glade:
1308 Set entries for fill and data field key dropdowns to NOT editable.
1309 * src/view-box.c: (construct_properties_editor):
1310 * src/view-ellipse.c: (construct_properties_editor):
1311 Update object editor when label's merge property has changed.
1312 * src/xml-label.c: (xml_parse_object_ellipse):
1313 Completed the merge color support for the ellipse item.
1315 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1317 Add support to merge color for object that have a "Fill color" attribute (Feature
1318 Requests item #1008635. If the data is invalid, the color used is transparent
1319 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1320 by gdk_color_parse() these include name for a color from rgb.txt, such as
1321 DarkSlateGray, or a hex specification such as #305050. File format has been
1322 changed but backward compatibility is preserved for all format. For box/ellipse,
1323 keep attribute "fill_color" for static color or replace by "fill_color_field"
1326 * data/glade/object-editor.glade:
1327 Modify "Fill" tab to add the merge key combo and convert the labels into
1331 Add "glColorNode" structure and associated functions to manage it. This
1332 structure is equivalent for color than the "glTextNode". It holds the color
1334 * src/label-object.h:
1335 * src/label-object.c:
1337 * src/label-ellipse.c:
1338 * src/ui-property-bar.c:
1342 * src/view-ellipse.c:
1343 * src/xml-label-04.c:
1344 * src/xml-label-191.c:
1345 Change functions of objects that have a "fill color" attribute to use the
1346 new "glColorNode" structure. Use barcode code as example.
1348 Add the color.[ch] file to glabels_batch binary that now need support for
1350 * src/object-editor.h:
1351 * src/object-editor.c:
1352 * src/object-editor-fill-page.c:
1353 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1354 to choose between static color or merge key. Use barcode code as example.
1355 * src/object-editor-private.h:
1356 Add new widget in the "_glObjectEditorPrivate" structure.
1358 Modify the draw functions to get merge data if needed.
1360 Modify the parser to record/retreive the field value for objects that need
1361 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1362 color or "fill_color_field" for merge data.
1364 2005-01-04 Jim Evins <evins@snaught.com>
1367 * data/templates/avery-iso-templates.xml:
1368 * data/templates/misc-iso-templates.xml:
1369 * data/templates/misc-us-templates.xml:
1370 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1373 2004-11-26 Jim Evins <evins@snaught.com>
1377 Updated french translations provided by Florent Morel <florent@taket.org>.
1378 * src/view-barcode.c:
1380 * src/view-ellipse.c:
1384 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1385 thus _() strings were not being translated.
1387 2004-11-14 Jim Evins <evins@snaught.com>
1390 * src/debug.c: (gl_debug_init), (gl_debug):
1391 Borrowed from gedit: use environmental variables to select debug
1394 Removed unused include of debug.h.
1395 * src/glabels.c: (main):
1396 Added call to gl_debug_init(), and removed debug clutter from command line
1398 * src/glabels-batch.c: (main):
1399 Added call to gl_debug_init().
1401 2004-11-13 Jim Evins <evins@snaught.com>
1403 Drawing and property toolbars were being initialized with the "icons and text"
1404 look in Fedora Core 3. Even though none of the buttons had any text attached to
1405 them, the buttons were being sized as if they were. This led to less real estate
1406 for the property editor, leading to Bug #1064630. The
1408 * data/ui/glabels-ui.xml:
1409 Added explicit "look" property to both drawing and property toolbars.
1410 * src/prefs-model.c: (gl_prefs_model_save_settings),
1411 (gl_prefs_model_load_settings):
1412 * src/prefs-model.h:
1413 Removed drawing_toolbar_button_style configuration parameter.
1414 * src/ui.c: (view_menu_item_toggled_cb),
1415 (set_app_drawing_toolbar_style):
1416 Do not attempt to adjust look property of the drawing toolbar.
1418 2004-10-28 Jim Evins <evins@snaught.com>
1420 * data/pixmaps/glabels-about-logo.png:
1423 2004-10-28 Jim Evins <evins@snaught.com>
1425 * data/man/glabels.1:
1426 * src/glabels-batch.c: (main):
1428 * src/print.c: (gl_print_batch):
1430 Added option to glabels-batch to select the first label to begin
1433 2004-09-26 Jim Evins <evins@snaught.com>
1435 * data/desktop/glabels.desktop.in:
1436 Point to app icon, "glabels.png"
1437 * data/mime/glabels.keys.in:
1438 Point at mime icon, "glabels-application-x-glabels.png"
1439 * data/pixmaps/Makefile.am:
1440 Added glabels_app_icondir. Renamed icons.
1441 * data/pixmaps/glabels.png:
1442 New cleaned up app icon. Deleted glabels-icon.png.
1443 * data/pixmaps/glabels-application-x-glabels.png:
1445 * data/pixmaps/glabels-splash.png:
1446 Renamed glabels-logo to glabels-splash to be more correct about role.
1448 * src/template-designer.c:
1449 Point at app icon, "glabels.png"
1451 Point at renamed splash image, "glabels-splash.png"
1453 2004-08-22 Jim Evins <evins@snaught.com>
1456 * src/glabels-batch.c: (main):
1457 Applied patch with minor mods to allow selecting merge source and
1458 crop-marks on glabels-batch's command line. Original patch provided by
1459 José Dapena Paz <jdapena@igalia.com>.
1461 2004-08-15 Jim Evins <evins@snaught.com>
1463 * data/desktop/glabels.desktop.in:
1464 - Added encoding line
1465 - Removed period from comment
1466 - Fixed Terminal line, changed "0" to "false"
1467 - Added semicolen to Categories line
1469 - Made sure desktop.in comment string above still translated properly
1471 2004-08-14 Jim Evins <evins@snaught.com>
1473 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1474 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1475 * src/xml-label-191.c: (xml191_parse_sheet):
1476 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1478 Reconciled libglabels versioning with 2.0.1.
1481 2004-08-14 Jim Evins <evins@snaught.com>
1484 Updated version to 2.1cvs.
1486 2004-08-14 Jim Evins <evins@snaught.com>
1489 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1491 2004-08-14 Jim Evins <evins@snaught.com>
1493 Fixes for Bug #1008181.
1495 * src/bc.c: (gl_barcode_default_digits):
1496 Make a format of zero digits, harmless.
1497 * src/xml-label.c: (xml_parse_object_barcode):
1498 Set default value of the format property of barcode objects to 10, not
1499 zero. This will prevent crashes when reading pre 2.0.x files.
1501 2004-08-09 Jim Evins <evins@snaught.com>
1505 * help/C/glabels-C.omf:
1506 * help/C/glabels.xml:
1507 Brought documentation up-to-date for 2.0.0 release.
1509 2004-08-09 Jim Evins <evins@snaught.com>
1511 These are hopefully the final preparations for 2.0.0.
1513 * data/mime/Makefile.am:
1514 Include glabels.xml in EXTRA_DIST.
1516 - Updated comment style.
1517 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1518 - Added package and version info to configuration printout
1519 - Update version to 2.0.0
1520 * libglabels/Makefile.am:
1521 Use the new LIBGLABELS_VERSION_INFO macro.
1523 2004-08-09 Jim Evins <evins@snaught.com>
1527 Cleanup of required library macros.
1529 2004-08-08 Jim Evins <evins@snaught.com>
1533 - More specific of what to install in /usr/bin and /usr/lib
1534 - Remove built mime registration files from staging directory
1536 2004-08-08 Jim Evins <evins@snaught.com>
1538 * data/mime/Makefile.am:
1539 Fixed typo: key_files should have been keys_files.
1541 2004-08-08 Jim Evins <evins@snaught.com>
1543 Reorganization of runtime data files. Also added registration of mimetype with
1544 new freedesktop.org mime database if available.
1547 Moved files to appropriate subdirectories, creating local Makefile.am
1548 in each subdirectory.
1549 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1550 These are now installed at $datadir/glabels/templates.
1551 - Moved glabels.1 to man subdirectory.
1552 - Moved glabels-2.0.dtd to dtd subdirectory.
1553 - Moved glabels.desktop.in to desktop subdirectory.
1554 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1556 Moved "./pixmaps" to "./data/pixmaps"
1558 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1560 Moved libglade files from src to data/glade. Created Makefile.am.
1562 Removed pixmaps from SUBDIRS.
1564 - Removed pixmaps from makefiles.
1565 - Added makefiles for new subdirs of data.
1566 - Added tests for freedesktop.org mime database.
1568 - Added tests for freedesktop.org mime database for post install and
1569 post un-install actions.
1570 * libglabels/Makefile.am:
1571 Moved system template files to $(datadir)/glabels/templates.
1572 * libglabels/libglabels-private.h:
1573 Moved system template files to $(datadir)/glabels/templates.
1575 - Accounted for movement of ui and libglade files.
1576 - Added missing .in files.
1577 - Reorganized by directory.
1579 Accounted for movement of ui and libglade files.
1580 * data/mime/glabels.xml.in:
1581 New file for registering with freedesktop.org mime database.
1583 2004-08-07 Jim Evins <evins@snaught.com>
1585 * src/recent-files/*:
1586 Re-synced to latest libegg/recent-files.
1588 2004-08-07 Jim Evins <evins@snaught.com>
1593 Renamed "./doc" directory to "./help" which contains user documentation,
1594 to be more consistent with other GNOME applications.
1597 2004-07-26 Jim Evins <evins@snaught.com>
1599 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1600 Corrected button order of merge properties dialog.
1602 2004-07-18 Jim Evins <evins@snaught.com>
1604 * data/glabels-2.0.dtd:
1605 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1606 (gl_barcode_get_prefered_n):
1608 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1609 (gl_label_barcode_get_props), (get_size):
1610 * src/label-barcode.h:
1611 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1612 (style_changed_cb), (gl_object_editor_set_bc_style),
1613 (gl_object_editor_get_bc_style):
1614 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1615 (gl_object_editor_set_data), (gl_object_editor_get_data):
1616 * src/object-editor-private.h:
1617 * src/object-editor.c: (gl_object_editor_set_key_names):
1618 * src/object-editor.glade:
1619 * src/object-editor.h:
1620 * src/print.c: (draw_barcode_object):
1621 * src/view-barcode.c: (update_object_from_editor_cb),
1622 (update_editor_from_object_cb),
1623 (gl_view_barcode_create_event_handler), (draw_barcode):
1624 * src/xml-label-04.c: (xml04_parse_barcode_props):
1625 * src/xml-label-191.c: (xml191_parse_barcode_props):
1626 * src/xml-label.c: (xml_parse_object_barcode),
1627 (xml_create_object_barcode):
1628 Added "format" attribute to barcode objects. This attribute is used
1629 to properly format freeform barcodes barcodes prior to merge data is
1630 applied, so that barcodes can be accurately layed out. This addresses
1631 remaining issues of feature request #824787. Also added an example of
1632 the format in the object editor.
1634 2004-07-12 Jim Evins <evins@snaught.com>
1636 Various code cleanups.
1638 * src/label-barcode.c:
1639 Removed unneeded include of gnome-glyphlist.h.
1641 * src/label-text.c: (get_size):
1642 Fixed memory leak: unref glyphlists when done with them.
1644 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1645 * src/object-editor-data-page.c:
1646 (gl_object_editor_prepare_data_page):
1647 * src/object-editor-image-page.c:
1648 (gl_object_editor_prepare_image_page):
1649 * src/object-editor-line-page.c:
1650 (gl_object_editor_prepare_line_page):
1651 * src/object-editor-lsize-page.c:
1652 (gl_object_editor_prepare_lsize_page):
1653 * src/object-editor-position-page.c:
1654 (gl_object_editor_prepare_position_page):
1655 * src/object-editor-size-page.c:
1656 (gl_object_editor_prepare_size_page):
1657 * src/object-editor-text-page.c:
1658 (gl_object_editor_prepare_text_page):
1659 Removed unneeded size groups, originally intended to keep widgets aligned.
1660 Now use tables to lay these out in object-editor.glade.
1662 * src/print.c: (draw_text_object):
1663 Fixed memory leak: unref glyphlists when done with them.
1665 * src/view-barcode.c: (draw_barcode):
1666 Fixed memory leak: unref glyphlists when done with them.
1668 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1669 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1671 - Fixed memory leak: unref glyphlists when done with them.
1673 2004-07-11 Jim Evins <evins@snaught.com>
1675 * data/glabels-2.0.dtd:
1676 * src/label-text.c: (gl_label_text_instance_init), (copy),
1677 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1679 * src/object-editor-private.h:
1680 * src/object-editor-text-page.c:
1681 (gl_object_editor_prepare_text_page),
1682 (gl_object_editor_set_text_auto_shrink),
1683 (gl_object_editor_get_text_auto_shrink):
1684 * src/object-editor.c: (gl_object_editor_set_key_names):
1685 * src/object-editor.glade:
1686 * src/object-editor.h:
1687 * src/print.c: (draw_text_object):
1688 * src/view-text.c: (update_object_from_editor_cb),
1689 (update_editor_from_object_cb):
1690 * src/xml-label.c: (xml_parse_object_text),
1691 (xml_create_object_text):
1692 Added option to allow document merge to auto shrink text size to fit
1693 within the text box. The code in print.c that actually shrinks the
1694 text is loosely based on a patch submitted by Mark Harrison
1695 <mark.harrison@velocitynet.com.au>. This addresses feature request
1698 2004-07-11 Jim Evins <evins@snaught.com>
1700 * data/glabels-2.0.dtd:
1701 * libglabels/template.c: (gl_template_rect_label_type_new),
1702 (gl_template_round_label_type_new),
1703 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1704 (template_full_page):
1705 * libglabels/template.h:
1706 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1707 (xml_create_label_node):
1708 * pixmaps/ex-rect-size.png:
1709 * src/print.c: (clip_to_outline), (clip_punchouts):
1710 * src/template-designer.c: (construct_rect_size_page),
1711 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1713 * src/template-designer.glade:
1714 * src/xml-label-191.c: (xml191_parse_label):
1715 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1716 properties for rectangular labels. Templates remain backwards compatible,
1717 but this breaks the libglabels API (I don't know of anyone outside of
1718 glabels using libglabels at this time -- what can I say, the program is
1719 is still "unstable"). This addresses the suggestion in Feature Request
1722 2004-07-05 Jim Evins <evins@snaught.com>
1723 * src/print.c: (print_crop_marks), (draw_outline):
1724 Changed crop marks and label outlines to black, instead of 25% gray.
1725 This addresses debian Bug #257460.
1727 2004-07-05 Jim Evins <evins@snaught.com>
1729 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1730 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1731 Preserve "is_default" of fill and line color_combos when creating from
1734 2004-07-02 Jim Evins <evins@snaught.com>
1737 Created man page. Based on page submitted by Matthew J. Lockner, however
1738 it has been severely edited.
1740 * data/avery-other-templates.xml
1741 * data/misc-other-templates.xml:
1742 Started new files for predefined templates with non-standard sheet sizes.
1743 These have been initially populated with the Avery 06141 and
1744 OfficeMax #86112, both provided by Matthew J. Lockner.
1747 Install above manpage and template files.
1750 Make sure we install man pages.
1752 * src/glabels-batch.c:
1753 Changed short form of help option to '-?' to be consistent with glabels.
1756 Added acknowledgement for above labels.
1758 2004-07-02 Jim Evins <evins@snaught.com>
1760 * src/glabels.c: (main), (save_session_cb):
1761 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1763 - save_session_cb() now returns gboolean.
1764 - Minor formatting changes.
1768 - Now include file.h to provide missing prototype.
1769 - gl_window_get_type() now returns GType, not guint. I believe this may
1770 ultimately be cause of the segfault reported in Bug #982287, since
1771 GType is actually a gulong, which may not be compatible on other
1772 architectures (64bit) -- I cannot personally test this at this time.
1773 I was sloppy in several other xxx_get_type() functions which also
1774 returned guint -- see next group of files:
1776 * src/window.c: (gl_window_get_type):
1777 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1778 * src/canvas-hacktext.h:
1779 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1780 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1781 (gl_hig_hbox_get_type):
1783 * src/label-barcode.c: (gl_label_barcode_get_type):
1784 * src/label-barcode.h:
1785 * src/label-box.c: (gl_label_box_get_type):
1787 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1788 * src/label-ellipse.h:
1789 * src/label-image.c: (gl_label_image_get_type):
1790 * src/label-image.h:
1791 * src/label-line.c: (gl_label_line_get_type):
1793 * src/label-object.c: (gl_label_object_get_type):
1794 * src/label-object.h:
1795 * src/label-text.c: (gl_label_text_get_type):
1797 * src/label.c: (gl_label_get_type):
1799 * src/merge-properties-dialog.c:
1800 (gl_merge_properties_dialog_get_type):
1801 * src/merge-properties-dialog.h:
1802 * src/merge-text.c: (gl_merge_text_get_type):
1804 * src/merge.c: (gl_merge_get_type):
1806 * src/object-editor.c: (gl_object_editor_get_type):
1807 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1808 * src/prefs-dialog.h:
1809 * src/prefs-model.c: (gl_prefs_model_get_type):
1810 * src/prefs-model.h:
1811 * src/print-dialog.c: (gl_print_dialog_get_type):
1812 * src/print-dialog.h:
1813 * src/template-designer.c: (gl_template_designer_get_type):
1814 * src/template-designer.h:
1815 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1816 * src/ui-property-bar.h:
1817 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1819 * src/view-barcode.c: (gl_view_barcode_get_type):
1820 * src/view-barcode.h:
1821 * src/view-box.c: (gl_view_box_get_type):
1823 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1824 * src/view-ellipse.h:
1825 * src/view-highlight.c: (gl_view_highlight_get_type):
1826 * src/view-highlight.h:
1827 * src/view-image.c: (gl_view_image_get_type):
1829 * src/view-line.c: (gl_view_line_get_type):
1831 * src/view-object.c: (gl_view_object_get_type):
1832 * src/view-object.h:
1833 * src/view-text.c: (gl_view_text_get_type):
1835 * src/view.c: (gl_view_get_type):
1837 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1838 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1839 * src/wdgt-image-select.h:
1840 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1841 * src/wdgt-media-select.h:
1842 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1843 * src/wdgt-mini-preview.h:
1844 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1845 * src/wdgt-print-copies.h:
1846 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1847 * src/wdgt-print-merge.h:
1848 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1849 * src/wdgt-rotate-label.h:
1850 - Made sure all xxx_get_type functions returned GType, not guint. This
1851 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1852 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1853 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1854 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1855 window.[ch] details above for more info.
1856 - Reconciled various coding style differences in all xxx_get_type()
1858 * All prototypes include G_GNUC_CONST.
1859 * All prototypes specify the return value as GType, not GtkType
1861 * Info structures are all declared as "static const."
1862 * Generalized the names of type and info variables.
1863 * Miscelaneous formatting.
1865 2004-06-08 Jim Evins <evins@snaught.com>
1871 Don't touch compression of original file -- still defaults to 9 for
1872 new files. Original patch provided by Javier Donaire Segarra
1873 (#912252 in patch tracker).
1875 2004-05-05 Jim Evins <evins@snaught.com>
1877 * data/glabels-2.0.dtd:
1878 Broke DTD previously when adding new barcode types that contain a
1879 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
1880 to avoid the problem.
1881 * data/avery-iso-templates.xml:
1882 * data/zweckform-iso-templates.xml:
1884 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
1885 provided by Frank Altpeter.
1886 * libglabels/xml-template.c: (xml_create_label_node):
1887 Reordered markup and layout sub-nodes so that resulting templates will
1888 validate against DTD.
1890 2004-03-13 Jim Evins <evins@snaught.com>
1892 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
1893 Changed spin callback signals from "value-changed" back to "changed."
1894 This was accidentally introduced in a previous revision, and can cause
1895 size changes just by selecting the size tab.
1897 2004-03-06 Jim Evins <evins@snaught.com>
1899 * src/view.c: (draw_grid_layer):
1900 For round labels (round and cd) adjust grid so that it lines up with
1901 center of label. Also, no longer draw box around label in the grid layer,
1902 it is hidden by he fg layer anyway. Feature suggested by
1903 nemolivier@free.fr. Although the grid is aligned with the center of the
1904 label, the coordinate system is still relative to the upper left corner
1905 of the rectangle containing the label.
1907 2004-02-25 Jim Evins <evins@snaught.com>
1910 Changed version to 2.0pre1cvs
1912 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
1913 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
1914 instead of doc->name fields when errors encountered.
1916 2004-02-21 Jim Evins <evins@snaught.com>
1918 * data/avery-iso-templates.xml:
1919 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
1922 Added libglabels library and include file to installed files.
1925 Final prep for 1.93.3.
1927 2004-02-20 Jim Evins <evins@snaught.com>
1929 * src/glabels-batch.c: (main):
1930 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
1931 as suggested by Javier Donaire Segarra. This addresses bug #901063.
1933 2004-02-16 Jim Evins <evins@snaught.com>
1936 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
1939 Added HAVE_FILE_CHOOSER to INCLUDES.
1941 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
1942 (gl_file_save_as), (save_as_response):
1943 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
1945 2004-02-16 Jim Evins <evins@snaught.com>
1947 * src/xml-label-04.c: (xml04_parse_image_props):
1948 * src/xml-label-191.c: (xml191_parse_image_props):
1949 * src/xml-label.c: (xml_parse_object_image):
1950 Delay setting image size until after image has been applied to new
1953 2004-02-15 Jim Evins <evins@snaught.com>
1955 * src/label-barcode.c: (gl_label_barcode_set_data),
1956 (gl_label_barcode_set_props):
1957 Don't emit "changed" signal, if no change actually made for these
1958 methods. Reduces number of unnecessary redraws of barcodes.
1960 * src/label-object.h:
1961 * src/label-object.c: (gl_label_object_set_position),
1962 (gl_label_object_set_position_relative), (set_size),
1963 (gl_label_object_set_size),
1964 (gl_label_object_set_size_honor_aspect):
1965 Don't emit "changed" signal, if no change actually made for these
1968 2004-02-15 Jim Evins <evins@snaught.com>
1970 * data/glabels-2.0.dtd:
1971 Added specific subtypes for various barcode types.
1974 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
1975 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
1976 (gl_barcode_can_text), (gl_barcode_text_optional),
1977 (gl_barcode_can_csum), (gl_barcode_csum_optional),
1978 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
1979 Changed API to use a string id, rather than a fixed enumeration. Id and
1980 name are separate strings. Added entries to backend table for specific
1981 subtypes for various barcode types.
1984 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
1986 Modified to conform to above API. Now more stringent with data length
1987 for various subtypes.
1989 * src/bc-gnubarcode.h:
1990 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
1991 (is_length_valid), (is_length1_valid), (is_length2_valid):
1992 Modified to conform to above API. Now more stringent with data length
1993 for various subtypes.
1995 * src/label-barcode.h:
1996 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1997 (gl_label_barcode_get_props), (get_size):
1998 Modified to use above API for storing barcode type.
2000 * src/object-editor.h:
2001 * src/object-editor-bc-page.c: (style_changed_cb),
2002 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2003 Modified to use above API for storing barcode type.
2005 * src/object-editor-size-page.c:
2006 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2007 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2008 Added debug markers.
2010 * src/object-editor.glade:
2011 Made barcode style combo's text entry non-editable.
2013 * src/print.c: (draw_barcode_object):
2014 Modified to use above API for barcode type.
2016 * src/view-barcode.c: (update_object_from_editor_cb),
2017 (update_editor_from_object_cb),
2018 (gl_view_barcode_create_event_handler), (draw_barcode):
2019 Modified to use above API for barcode type.
2021 * src/xml-label-04.c: (xml04_parse_barcode_props):
2022 * src/xml-label-191.c: (xml191_parse_barcode_props):
2023 * src/xml-label.c: (xml_parse_object_barcode),
2024 (xml_create_object_barcode):
2025 Modified to use above API for barcode type.
2027 2004-02-07 Jim Evins <evins@snaught.com>
2029 * src/stock-pixmaps/Makefile.am:
2030 * src/stock-pixmaps/stock_hchain_24.png:
2031 * src/stock-pixmaps/stock_hchain_broken_24.png:
2032 * src/stock-pixmaps/stock_vchain_24.png:
2033 * src/stock-pixmaps/stock_vchain_broken_24.png:
2034 Added chain pixmaps borrowed from the gimp's default theme.
2037 * src/stock.c: (gl_stock_init), (add_button_icon):
2038 Added above pixmaps to stock icon sets. Created add_button_icon() to
2039 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2041 * src/wdgt-chain-button.h
2042 * src/wdgt-chain-button.c
2045 Added this Modified version of gimpchainbutton widget, borrowed from
2049 Added acknowledgements of the above borrowing from the gimp.
2051 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2053 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2054 * src/object-editor.glade:
2055 Replaced the keep aspect ratio check box with the above chain-button
2058 * src/text-node.c: (gl_text_node_equal):
2060 Added function gl_text_node_equal() to compare text_nodes.
2062 * src/label-image.c: (gl_label_image_set_filename):
2063 Replaced incomplete text_node comparison code with invocation of
2064 gl_text_node_equal. This fixed the problem of not being able to
2065 resize an image using the object_editor if the aspect ratio is not
2068 2004-02-04 Jim Evins <evins@snaught.com>
2070 * src/object-editor-image-page.c:
2071 (gl_object_editor_prepare_image_page):
2072 Track "changed" signal of pixmap entry's GtkEntry rather than its
2073 "activate" signal -- this catches all changes to the entry rather than
2074 just changes resulting from a browse, so one can easily pull previous
2075 entries from the history. (This change is marked below on 2004-02-03,
2076 but somehow never got checked in.)
2078 * src/view-highlight.c: (sl_resize_event_handler),
2079 (sr_resize_event_handler), (st_resize_event_handler),
2080 (sb_resize_event_handler):
2081 Side resize handles will now confirm the actual resize that the object
2082 accepted before adjusting position parameters. Previously some interesting
2083 things happened when resizing a barcode to its minimum size.
2085 2004-02-03 Jim Evins <evins@snaught.com>
2087 * src/object-editor-image-page.c:
2088 (gl_object_editor_prepare_image_page):
2089 Track "changed" signal of pixmap entry's GtkEntry rather than its
2090 "activate" signal -- this catches all changes to the entry rather than
2091 just changes resulting from a browse, so one can easily pull previous
2092 entries from the history.
2094 * src/view-highlight.c: (tl_resize_event_handler),
2095 (tr_resize_event_handler), (bl_resize_event_handler),
2096 (br_resize_event_handler):
2097 Allow control key to be dropped while dragging a corner resize handle
2098 without losing the aspect ratio lock.
2100 2004-02-02 Jim Evins <evins@snaught.com>
2102 * src/label-image.c: (gl_label_image_set_filename):
2103 When setting a new filename adjust size such that the aspect ratio of
2104 the image is preserved using the current size as a bounding box.
2106 * src/view-image.c: (update_object_from_editor_cb):
2107 When updating object from editor, feed back possible size changes to
2108 editor as a result of a possible change in image.
2110 * src/object-editor-size-page.c: (size_reset_cb):
2111 Fixed typo when blocking spin handlers. If the base size is larger than
2112 the max size, treat max size as a bounding box while keeping aspect
2116 2004-02-02 Jim Evins <evins@snaught.com>
2118 * src/label-object.h:
2119 * src/label-object.c: (gl_label_object_set_size),
2120 (gl_label_object_set_size_honor_aspect):
2121 Added gl_label_object_set_size_honor_aspect() which will maintain the
2122 current aspect ratio by modifying the supplied w or h apropriately.
2124 * src/view-highlight.c: (tl_resize_event_handler),
2125 (tr_resize_event_handler), (bl_resize_event_handler),
2126 (br_resize_event_handler):
2127 Corner handles will now maintain the current aspect ratio if the
2128 control key is pressed while resizing. This addresses feature
2132 2004-01-31 Jim Evins <evins@snaught.com>
2135 * data/avery-us-templates.xml:
2136 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2138 * libglabels/template.c: (read_template_files_from_dir):
2139 Corrected problem with testing for extensions.
2141 * src/object-editor.glade:
2142 Corrected grouping of radio buttons in barcode data page.
2144 * src/print.c: (draw_barcode_object):
2145 * src/view-barcode.c: (draw_barcode):
2146 Corrected problem with calculation of y_offset for locating characters.
2148 2004-01-24 Jim Evins <evins@snaught.com>
2151 * data/avery-us-templates.xml:
2152 Added Avery 5824, submitted by Fred Bacon.
2154 2004-01-20 Jim Evins <evins@snaught.com>
2156 Catching up on a couple of backlogged user template submissions.
2158 * data/avery-iso-templates.xml:
2159 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2160 Suggested by Linas Jakucionis.
2162 * data/zweckform-iso-templates.xml:
2163 Added Zweckform 4760, submitted by Thomas Vill.
2166 Updated to reflect above submissions.
2168 2004-01-06 Jim Evins <evins@snaught.com>
2170 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2171 xml.[ch] into a separate library called libglabels, to facilitate third
2172 party use of glabels template files. This was suggested by Wayne Schuller.
2173 Once split-out, some modifications to the structures and functions to
2174 make a cleaner more useful API, hopefully. Rather extensive changes have
2175 propogated to other modules.
2183 * src/xml-template.h:
2184 * src/xml-template.c:
2187 These files have been moved to libglabels/. API cleanup performed.
2189 * libglabels/libglabels.h:
2190 * libglabels/libglabels-private.h:
2191 * libglabels/Makefile.am:
2192 These files have been added to finish out libglabels.
2199 Modified to reflect new sets of files in src/ and libglabels/.
2201 * COPYING.LIBGLABELS:
2203 Added copy of the LGPL for libglabels, and a copy the GFDL for
2206 * src/glabels-batch.c:
2208 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2209 (gl_label_get_size):
2211 * src/prefs-model.c: (gl_prefs_model_load_settings):
2212 * src/print-dialog.c:
2213 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2214 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2215 (print_crop_marks), (print_label), (draw_outline),
2216 (clip_to_outline), (clip_punchouts):
2217 * src/template-designer.c: (construct_pg_size_page),
2218 (pg_size_page_changed_cb), (layout_page_changed_cb),
2219 (print_test_cb), (build_template):
2220 * src/util.c: (gl_util_fraction):
2222 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2223 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2224 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2225 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2226 (draw_markup_margin_round), (draw_markup_margin_cd),
2227 (draw_markup_margin_cd_bc), (draw_markup_line),
2228 (draw_markup_circle), (gl_view_copy):
2229 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2230 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2231 (get_label_size_desc):
2232 * src/wdgt-mini-preview.c:
2233 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2235 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2236 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2237 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2238 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2239 * src/wdgt-rotate-label.h:
2240 * src/xml-label-04.c: (xml04_parse_media_description):
2241 * src/xml-label-191.c: (gl_xml_label_191_parse),
2242 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2243 (xml191_parse_markup), (xml191_parse_alias):
2244 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2246 Various changes to accomodate new libglabels API.
2248 2004-01-03 Jim Evins <evins@snaught.com>
2253 2004-01-03 Jim Evins <evins@snaught.com>
2256 Added acknowledgement of contributions by Wayne Schuller.
2258 * src/commands.c: (gl_cmd_file_print):
2259 Create extra reference to print dialog, so that it can be properly re-used.
2261 * src/mygal/mygal-combo-box.h:
2262 * src/mygal/mygal-combo-box.c:
2263 (mygal_combo_box_popup_hide_unconditional),
2264 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2265 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2266 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2267 (mygal_combo_box_set_tearable):
2268 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2269 complete the rename of this widget to prevent namespace collisions
2272 * src/prefs-dialog.glade:
2273 Fixed alignment of Fill/Color widgets.
2275 2004-01-03 Jim Evins <evins@snaught.com>
2277 * data/avery-iso-templates.xml:
2278 Added user submitted templates.
2279 Avery 8435A & 8435B, submitted by Ludger Solbach.
2281 * doc/C/glabels.xml:
2282 Added minimal documentation, noting the new template designer.
2284 2004-01-03 Jim Evins <evins@snaught.com>
2286 * pixmaps/ex-rect-size.png:
2287 * pixmaps/ex-round-size.png:
2288 * pixmaps/ex-cd-size.png:
2289 * pixmaps/Makefile.am:
2290 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2291 files to be used as illustrations/examples in the template-designer.
2293 * src/template-designer.c: (construct_rect_size_page),
2294 (construct_round_size_page), (construct_cd_size_page),
2295 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2296 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2297 (layout_page_prepare_cb), (build_template):
2298 * src/template-designer.glade:
2299 Added illustrations for rectangle, round, and cd label size pages.
2300 Added margin spinboxes to these pages, and now add a margin markup
2301 to the constructed template. Added realistic default values for
2302 some of the size spinboxes. Cleaned up the code for setting spinbox
2303 ranges on the layouts page.
2305 2004-01-02 Jim Evins <evins@snaught.com>
2307 * src/object-editor-size-page.c: (h_spin_cb):
2308 Fixed cut-n-paste error in h_spin_cb that loaded h from
2309 the wrong spinbutton.
2311 * src/object-editor.h:
2312 * src/object-editor.c: (gl_object_editor_class_init),
2313 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2314 * src/object-editor-private.h:
2315 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2317 Added "size_changed" signal.
2319 * src/view-text.c: (construct_properties_editor),
2320 (update_object_from_editor_cb),
2321 (update_object_from_editor_size_cb):
2322 Track size changes from object editor separately from other
2323 properties. This is so the default size (0,0) of a text
2324 object is not modified unintentionally.
2326 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2328 Added feature: line spacing - allows you to comfortably space a text box to
2329 fit a label perfectly.
2331 * data/glabels-2.0.dtd:
2332 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2333 (gl_label_object_get_text_alignment),
2334 (gl_label_object_get_text_line_spacing):
2335 * src/label-object.h:
2336 * src/label-text.c: (gl_label_text_class_init),
2337 (gl_label_text_instance_init), (copy), (get_size),
2338 (set_text_line_spacing), (get_text_alignment),
2339 (get_text_line_spacing):
2340 * src/object-editor-private.h:
2341 * src/object-editor-text-page.c:
2342 (gl_object_editor_prepare_text_page),
2343 (gl_object_editor_set_text_line_spacing),
2344 (gl_object_editor_get_text_line_spacing):
2345 * src/object-editor.glade:
2346 * src/object-editor.h:
2347 * src/prefs-dialog.c: (construct_object_page),
2348 (update_object_page_from_prefs), (update_prefs_from_object_page):
2349 * src/prefs-dialog.glade:
2350 * src/prefs-model.c: (gl_prefs_model_save_settings),
2351 (gl_prefs_model_load_settings), (get_float):
2352 * src/prefs-model.h:
2353 * src/print.c: (draw_text_object):
2355 * src/view-text.c: (update_object_from_editor_cb),
2356 (update_editor_from_object_cb),
2357 (gl_view_text_create_event_handler), (draw_hacktext):
2358 * src/view.c: (gl_view_construct),
2359 (gl_view_set_selection_text_line_spacing),
2360 (gl_view_set_default_text_line_spacing),
2361 (gl_view_get_default_text_line_spacing):
2363 * src/xml-label.c: (xml_parse_toplevel_span),
2364 (xml_create_toplevel_span):
2366 2003-12-30 Jim Evins <evins@snaught.com>
2368 * src/template-designer.c:
2369 * src/template-designer.h:
2370 * src/template-designer.glade:
2371 New template designer assistant.
2375 Added entries for src/template-designer.* files.
2377 * pixmaps/ex-1layout.png
2378 * pixmaps/ex-2layouts.png
2379 * pixmaps/Makefile.am:
2380 Added the new image files ex-*.png used as illustrations in the
2381 template designer assistant.
2383 * src/print-dialog.h:
2384 * src/print-dialog.c: (gl_print_dialog_finalize),
2385 (gl_print_dialog_new), (gl_print_dialog_construct),
2386 (gl_print_dialog_force_outline_flag):
2387 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2388 to support printing from the template designer assistant which does not
2389 have a full-fledged view. Nothing else from the view object was being
2390 used by the dialog anyway.
2392 Added the gl_print_dialog_force_outline_flag() method, for better
2393 integration with the template designer assistant.
2397 * src/commands.c: (gl_cmd_file_template_designer),
2398 (gl_cmd_file_print):
2399 Modified print command to provide label instead of view to dialog.
2400 Added the gl_cmd_file_template_designer() command to invoke the
2401 template designer assistant.
2404 * src/glabels-ui.xml:
2405 Added support for template designer assistant.
2407 * src/wdgt-mini-preview.h:
2408 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2409 (gl_wdgt_mini_preview_set_bg_color):
2410 Preview is now centered in canvas. Added
2411 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2412 assistant to match the background color with its own.
2414 * src/print.c: (clip_to_outline):
2415 Fixed really stupid bug when adding waste to clip region of rectangular
2416 labels/cards. Each side of the clip region needs to be extended by
2417 twice the waste margin, as well as negatively offset by the waste
2420 2003-12-28 Jim Evins <evins@snaught.com>
2422 * src/prefs-dialog.c: (update_object_page_from_prefs):
2423 Block intermediary function align_toggle_cb() instead of
2424 update_prefs_from_object_page() for the three alignment
2427 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2429 * src/file.c: (gl_file_new), (gl_file_properties):
2430 Swap button order and set default for higificatory pleasure.
2432 2003-12-27 Jim Evins <evins@snaught.com>
2434 * barcode-0.98/Makefile.am:
2435 One last time: removed doc/Makefile and po/Makefile.in.in from
2438 2003-12-27 Jim Evins <evins@snaught.com>
2440 * barcode-0.98/Makefile.am:
2441 Removed config.stat entry from EXTRA_DIST files.
2443 * barcode-0.98/Makefile.in:
2446 2003-12-27 Jim Evins <evins@snaught.com>
2449 Updated to work with latest gnome-common package from CVS.
2450 Removed recursive configuration of barcode-0.98.
2457 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2459 * barcode-0.98/Makefile.in:
2460 * barcode-0.98/configure.in:
2461 * barcode-0.98/Makefile.am:
2462 * barcode-0.98/README.glabels:
2463 Modified to ignore the barcode package's build system, and build
2464 as a part of glabels.
2465 Renamed Makefile.in to Makefile.in.dist.
2466 Renamed configure.in to configure.in.dist.
2467 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2470 * src/mygal/Makefile.am:
2471 * src/recent-files/Makefile.am:
2472 In order to build against the GNOME 2.5 platform,
2473 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2475 * src/mygal/Makefile.am:
2476 * src/mygal/mygal-combo-box.c:
2477 * src/mygal/mygal-combo-box.h:
2478 * src/mygal/widget-color-combo.c:
2479 * src/mygal/widget-color-combo.h:
2481 In order to build against the GNOME 2.5 platform,
2482 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2483 collisions with the real gtk_combo_box widget, now a part of gtk.
2485 2003-12-26 Jim Evins <evins@snaught.com>
2491 Moved local versions of get_home_data_dir() in paper.c and
2492 template.c to util package. Cleaned up formatting in
2496 In gl_template_register() save a copy of the template in
2497 ~/.glabels if the template is not known. Still need to
2498 handle duplicate filename case and duplicate name but
2499 different template case.
2503 Moved local definition of NAME_SPACE macro from xml-label.c
2506 * src/xml-template.c:
2507 * src/xml-template.h:
2508 Added function gl_xml_template_write_template_to_file(), used
2509 in gl_template_register().