1 2007-02-14 Jim Evins <evins@snaught.com>
11 * src/canvas-hacktext.c:
12 * src/canvas-hacktext.h:
19 * src/label-barcode.c:
20 * src/label-barcode.h:
23 * src/label-ellipse.c:
24 * src/label-ellipse.h:
35 * src/merge-evolution.c:
36 * src/merge-evolution.h:
39 * src/merge-properties-dialog.c:
40 * src/merge-properties-dialog.h:
47 * src/mini-preview-pixbuf.h:
48 * src/new-label-dialog.c:
49 * src/new-label-dialog.h:
50 * src/object-editor-bc-page.c:
51 * src/object-editor-data-page.c:
52 * src/object-editor-edit-page.c:
53 * src/object-editor-fill-page.c:
54 * src/object-editor-image-page.c:
55 * src/object-editor-line-page.c:
56 * src/object-editor-lsize-page.c:
57 * src/object-editor-position-page.c:
58 * src/object-editor-private.h:
59 * src/object-editor-size-page.c:
60 * src/object-editor-text-page.c:
61 * src/object-editor.c:
62 * src/object-editor.h:
74 * src/template-designer.c:
79 * src/ui-property-bar.c:
80 * src/ui-property-bar.h:
95 * src/view-highlight.c:
96 * src/view-highlight.h:
107 * src/wdgt-chain-button.c:
108 * src/wdgt-chain-button.h:
109 * src/wdgt-media-select.c:
110 * src/wdgt-mini-preview.c:
111 * src/wdgt-print-copies.c:
112 * src/wdgt-print-copies.h:
113 * src/wdgt-print-merge.c:
114 * src/wdgt-print-merge.h:
115 * src/wdgt-rotate-label.c:
117 * src/xml-label-04.c:
118 * src/xml-label-04.h:
119 * src/xml-label-191.c:
120 * src/xml-label-191.h:
124 Assorted superficial cleanup. Including:
125 - Use G_DEFINE_TYPE for all objects.
126 - Reconcile style of all class initializer functions
127 - Reconcile style of all finalize functions
128 - Add emacs mode line to all source files
130 2007-02-06 Jim Evins <evins@snaught.com>
132 Assorted cleanup and removal of deprecated items.
137 Removed annoying splash screen.
138 * src/glabels-batch.c: (main):
139 * src/glabels.c: (main):
140 Converted from popt to GOption.
141 * src/object-editor-shadow-page.c:
142 (gl_object_editor_set_shadow_state):
143 Removed deprecated method on GtkToggleButton.
144 * src/ui-commands.c: (gl_ui_cmd_help_about):
145 Removed dependency on libgnomui/qnome-url.h.
146 * src/template-designer.c:
147 Removed dependency on libgnome/gnome-program.h.
150 2007-02-04 Jim Evins <evins@snaught.com>
155 * src/print.c: (draw_text_object):
156 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
157 Removed GnomeCanvas artifacts from color.[ch] and related modules.
159 2007-02-04 Jim Evins <evins@snaught.com>
161 * src/wdgt-mini-preview.c:
162 * src/wdgt-mini-preview.h:
163 Ported widget from GnomeCanvas to Cairo.
165 2007-02-03 Jim Evins <evins@snaught.com>
167 * data/glade/template-designer.glade:
168 * src/template-designer.c:
169 * src/template-designer.h:
170 Ported GnomeDruid to GtkAssistant. Since libglade does not
171 yet support the GtkAssistant and we derive directly from
172 the Assistant, the pages are layed out in a GtkNotebook in
173 the glade description -- we then append each page to the
176 2007-01-25 Jim Evins <evins@snaught.com>
178 * data/glade/object-editor.glade:
179 Added dummy page to notebook, to prevent shadow page from
180 becoming the default current page at creation.
181 * src/view-box.c: (construct_properties_editor):
182 * src/view-ellipse.c: (construct_properties_editor):
183 * src/view-line.c: (construct_properties_editor):
184 * src/view-text.c: (construct_properties_editor):
185 Reconciled order of params.
187 2007-01-19 Jim Evins <evins@snaught.com>
189 * src/label-barcode.h:
190 * src/label-object.c: (gl_label_object_set_font_weight),
191 (gl_label_object_set_text_alignment),
192 (gl_label_object_get_font_weight),
193 (gl_label_object_get_text_alignment):
194 * src/label-object.h:
195 * src/label-text.c: (gl_label_text_instance_init), (copy),
196 (get_size), (set_font_family), (set_font_weight),
197 (set_text_alignment), (get_font_weight), (get_text_alignment):
199 * src/object-editor-text-page.c:
200 (gl_object_editor_prepare_text_page),
201 (gl_object_editor_set_font_family),
202 (gl_object_editor_set_font_weight),
203 (gl_object_editor_get_font_weight),
204 (gl_object_editor_set_text_alignment),
205 (gl_object_editor_get_text_alignment),
206 (gl_object_editor_set_text_color):
207 * src/object-editor.h:
208 * src/prefs-dialog.c: (construct_object_page),
209 (update_object_page_from_prefs), (update_prefs_from_object_page):
210 * src/prefs-model.c: (gl_prefs_model_save_settings),
211 (gl_prefs_model_load_settings):
213 * src/print.c: (draw_text_object):
214 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
215 (reset_to_default_properties), (update_text_properties),
216 (font_bold_toggled_cb), (text_align_toggled_cb):
218 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
219 (gl_util_weight_to_string), (gl_util_string_to_weight),
220 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
222 * src/view-text.c: (update_object_from_editor_cb),
223 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
224 * src/view.c: (gl_view_set_selection_text_alignment),
225 (gl_view_set_default_text_alignment),
226 (gl_view_get_default_text_alignment):
228 * src/xml-label-04.c: (xml04_parse_text_props):
229 * src/xml-label-191.c: (xml191_parse_text_props):
230 * src/xml-label.c: (xml_parse_object_text),
231 (xml_parse_toplevel_span), (xml_create_object_text),
232 (xml_create_toplevel_span):
233 Converted all model internals to Pango. GnomeFont remains in
234 view until GnomeCanvas can be replaced with a cairo-based canvas.
236 2007-01-17 Jim Evins <evins@snaught.com>
242 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
243 (gl_wdgt_print_copies_construct):
244 * src/wdgt-print-copies.h:
245 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
246 (gl_wdgt_print_merge_construct):
247 * src/wdgt-print-merge.h:
248 Removed all remaining HIG wrapper widgets.
250 2007-01-16 Jim Evins <evins@snaught.com>
253 * src/print-dialog.c:
254 * src/print-dialog.h:
257 * src/template-designer.c: (print_test_cb):
258 * src/ui-commands.c: (gl_ui_cmd_file_print):
260 Renamed PrintDialog to PrintOp. Added constructor for batch
262 * src/glabels-batch.c: (main):
263 Converted to use new PrintOp object for printing.
265 2007-01-15 Jim Evins <evins@snaught.com>
267 * data/glade/Makefile.am:
268 * data/glade/print-custom-widget.glade:
269 * src/print-dialog.c:
270 * src/print-dialog.h:
273 * src/template-designer.c: (print_test_cb):
274 * src/ui-commands.c: (gl_ui_cmd_file_print):
275 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
276 * src/wdgt-print-merge.h:
277 * src/window.c: (gl_window_init):
279 Initial conversion to GtkPrintOperation.
281 - Remove font and other libgnomeprint[ui] from elsewhere
282 - Add batch initialization of print operation
284 2007-01-08 Jim Evins <evins@snaught.com>
286 Updated dependencies. Set version to 2.1.pre4cvs.
288 2007-01-03 Jim Evins <evins@snaught.com>
291 Removed EggRecent stuff.
300 Ported from EggRecent to GtkRecentManager.
303 2007-01-02 Jim Evins <evins@snaught.com>
306 * iec16022-0.2.1/BUGS:
307 * iec16022-0.2.1/CHANGELOG:
308 * iec16022-0.2.1/CREDITS:
309 * iec16022-0.2.1/INSTALL:
310 * iec16022-0.2.1/LICENSE:
311 * iec16022-0.2.1/Makefile.am:
312 * iec16022-0.2.1/Makefile.dist:
313 * iec16022-0.2.1/README:
314 * iec16022-0.2.1/README.glabels:
315 * iec16022-0.2.1/TODO:
316 * iec16022-0.2.1/iec16022.1:
317 * iec16022-0.2.1/iec16022.c:
318 * iec16022-0.2.1/iec16022ecc200.c:
319 * iec16022-0.2.1/iec16022ecc200.h:
320 * iec16022-0.2.1/image.c:
321 * iec16022-0.2.1/image.h:
322 * iec16022-0.2.1/reedsol.c:
323 * iec16022-0.2.1/reedsol.h:
324 * iec16022-0.2.1/test/testsuite-example.bin:
325 * iec16022-0.2.1/test/testsuite-example.eps:
326 * iec16022-0.2.1/test/testsuite-example.hex:
327 * iec16022-0.2.1/test/testsuite-example.png:
328 * iec16022-0.2.1/test/testsuite-example.text:
329 * iec16022-0.2.1/test/testsuite.sh:
330 Include modified copy of iec16022-0.2.1 to provide encoding
331 support for datamatrix 2D barcodes.
336 Added initial datamatrix 2D barcode backend to barcode code.
339 Automatic updates to later versions of these files.
341 2006-11-28 Jim Evins <evins@snaught.com>
343 * data/templates/avery-iso-templates.xml:
344 * data/templates/avery-us-templates.xml:
345 * data/templates/categories.xml:
346 * data/templates/misc-iso-templates.xml:
347 * data/templates/misc-us-templates.xml:
348 * data/templates/zweckform-iso-templates.xml:
351 2006-09-12 Jim Evins <evins@snaught.com>
353 * data/dtd/glabels-2.0.dtd:
354 * data/templates/Makefile.am:
355 * data/templates/avery-iso-templates.xml:
356 * data/templates/avery-other-templates.xml:
357 * data/templates/avery-us-templates.xml:
358 * data/templates/categories.xml:
359 * data/templates/misc-iso-templates.xml:
360 * data/templates/misc-other-templates.xml:
361 * data/templates/zweckform-iso-templates.xml:
362 * data/glade/Makefile.am:
363 * data/glade/new-label-dialog.glade:
364 * data/glade/wdgt-media-select.glade:
365 * data/glade/wdgt-rotate-label.glade:
366 * libglabels/Makefile.am:
367 * libglabels/category.c:
368 * libglabels/category.h:
369 * libglabels/libglabels.h:
370 * libglabels/paper.c:
371 * libglabels/template.c:
372 * libglabels/template.h:
373 * libglabels/xml-category.c:
374 * libglabels/xml-category.h:
375 * libglabels/xml-template.c:
376 Added support for category meta data.
379 * src/mini-preview-pixbuf.c:
380 * src/mini-preview-pixbuf.h:
381 * src/new-label-dialog.c:
382 * src/new-label-dialog.h:
383 * src/wdgt-media-select.c:
384 * src/wdgt-media-select.h:
385 * src/wdgt-rotate-label.c:
386 * src/wdgt-rotate-label.h:
387 New "new label" dialog.
389 2006-05-27 Jim Evins <evins@snaught.com>
394 Preparation for 2.1.3.
400 2006-05-22 Jim Evins <evins@snaught.com>
402 * src/print.c: (draw_barcode_object):
403 Don't print "Invalid barcode data" if data field is empty. Patch provided
404 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
406 Added acknowledgment for above patch.
407 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
408 * src/bc-postnet.c: (postnet_code):
409 Removed "Invalid barcode data" warnings from stderr.
410 * src/view-barcode.c: (draw_barcode):
411 Draw box around barcode extent if data empty or invalid. Center a
412 message whether the data is empty or invalid in box.
414 2006-05-22 Jim Evins <evins@snaught.com>
416 * src/print.c: (draw_text_object):
417 Check shadow state when printing text.
419 2006-05-20 Jim Evins <evins@snaught.com>
421 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
422 (gl_ui_cmd_view_markup_toggle):
423 Fixed crash when grid or markup have been toggled off during
424 a previous session. Bug #1434324.
426 2006-04-05 Jim Evins <evins@snaught.com>
428 * src/object-editor.c: (gl_object_editor_set_key_names):
429 Fixed potential crash when freeing empty key list.
431 2006-03-11 Jim Evins <evins@snaught.com>
433 * src/print.c: (draw_text_object):
434 * src/view-text.c: (gl_view_text_new),
435 (construct_properties_editor), (update_object_from_editor_cb),
436 (update_editor_from_object_cb), (update_editor_from_label_cb),
438 Added shadow support to text object.
440 2006-02-18 Jim Evins <evins@snaught.com>
442 * src/print.c: (draw_line_object):
443 * src/view-line.c: (gl_view_line_new),
444 (construct_properties_editor), (update_canvas_item_from_object_cb),
445 (update_object_from_editor_cb), (update_editor_from_object_cb),
446 (update_editor_from_label_cb):
447 Added shadow support to line object.
449 2006-02-16 Jim Evins <evins@snaught.com>
453 * src/print.c: (draw_ellipse_object):
454 * src/view-ellipse.c: (gl_view_ellipse_new),
455 (construct_properties_editor), (update_canvas_item_from_object_cb),
456 (update_object_from_editor_cb), (update_editor_from_object_cb),
457 (update_editor_from_label_cb):
458 Added shadow support to ellipse object.
460 2006-02-15 Jim Evins <evins@snaught.com>
462 * src/label-object.c:
463 Changed default shadow offsets.
464 * src/view-box.c: (gl_view_box_new):
465 Simplified gl_view_box_new() so that is does not duplicate code
466 in update_canvas_item_from_object_cb().
468 2006-02-07 Jim Evins <evins@snaught.com>
470 * data/glade/object-editor.glade:
471 Fixed color groups of color combos.
473 Added default shadow color.
474 * src/object-editor.c: (gl_object_editor_construct_color_combo):
475 Added shadow color group.
477 2006-02-06 Jim Evins <evins@snaught.com>
479 * src/object-editor-shadow-page.c:
480 Forgot to add this file.
481 * src/view-box.c: (gl_view_box_new),
482 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
483 Update limits on shadow offset spinbuttons.
485 2006-01-19 Jim Evins <evins@snaught.com>
487 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
488 Initialize key_list to NULL.
489 * data/glade/object-editor.glade:
493 * src/label-object.c:
494 * src/label-object.h:
495 * src/object-editor-fill-page.c:
496 * src/object-editor-private.h:
497 * src/object-editor.c:
498 * src/object-editor.h:
500 Created infrastructure for shadow support.
503 Initial shadow support in box object only.
505 2006-01-05 Jim Evins <evins@snaught.com>
507 * src/merge-properties-dialog.c: (src_changed_cb):
508 Be extra paranoid before calling strcmp().
509 * src/merge.c: (gl_merge_set_src):
510 Don't make (merge == NULL) a critical error.
512 2005-12-22 Jim Evins <evins@snaught.com>
514 * src/glabels-batch.c: (main):
515 Compile warning free with gcc 4.0.
517 2005-12-21 Jim Evins <evins@snaught.com>
520 Updated example RPM spec file.
522 2005-12-21 Jim Evins <evins@snaught.com>
526 Preparation for 2.1.2.
528 2005-12-20 Jim Evins <evins@snaught.com>
531 Define unique G_LOG_DOMAIN for glabels.
532 * src/critical-error-handler.c: (gl_critical_error_handler_init):
533 * src/warning-handler.c: (gl_warning_handler_init),
535 Register for G_LOG_DOMAIN instead of NULL.
537 2005-12-10 Jim Evins <evins@snaught.com>
539 * src/merge-evolution.c:
543 2005-12-08 Jim Evins <evins@snaught.com>
545 * libglabels/paper.c: (read_paper_files_from_dir):
546 * libglabels/template.c: (gl_template_register),
547 (read_template_files_from_dir):
548 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
549 (gl_xml_paper_parse_papers_doc):
550 * libglabels/xml-template.c:
551 (gl_xml_template_read_templates_from_file),
552 (gl_xml_template_parse_templates_doc),
553 (gl_xml_template_parse_template_node),
554 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
555 (xml_parse_label_cd_node), (xml_parse_layout_node),
556 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
557 (xml_parse_markup_circle_node),
558 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
559 * libglabels/xml.c: (gl_xml_get_prop_length):
560 Re-classified g_warnings to g_messages.
562 * src/glabels.c: (main):
563 * src/warning-handler.c: (gl_warning_handler_init),
565 * src/warning-handler.h:
566 Added warning message handler to make sure the user is
567 presented with appropriate non-fatal errors.
568 * src/critical-error-handler.c: (critical_error_handler):
569 Changed exit to abort.
570 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
571 * src/bc-postnet.c: (postnet_code):
572 * src/bc.c: (id_to_index), (name_to_index):
573 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
574 * src/object-editor.c: (gl_object_notebook_construct_valist):
575 * src/prefs-dialog.c: (update_locale_page_from_prefs):
576 * src/prefs.c: (gl_prefs_get_units_per_point),
577 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
578 (gl_prefs_get_units_string):
579 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
580 * src/splash.c: (gl_splash):
581 * src/ui-commands.c: (gl_ui_cmd_help_contents):
582 * src/view-highlight.c: (gl_view_highlight_new),
583 (highlight_resizable_box_construct), (object_changed_cb),
584 (view_scale_changed_cb):
585 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
586 (draw_markup_layer), (draw_markup_margin),
587 (gl_view_object_create_mode), (canvas_event),
588 (selection_received_cb):
589 * src/wdgt-mini-preview.c: (mini_outline_list_new):
590 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
591 * src/xml-label-04.c: (gl_xml_label_04_parse),
592 (xml04_parse_media_description), (xml04_parse_text_props),
593 (xml04_parse_barcode_props):
594 * src/xml-label-191.c: (gl_xml_label_191_parse),
595 (xml191_parse_objects), (xml191_parse_object),
596 (xml191_parse_text_props), (xml191_parse_image_props),
597 (xml191_parse_barcode_props), (xml191_parse_data),
598 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
599 (xml191_parse_markup):
600 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
601 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
602 (xml_parse_object_text), (xml_parse_object_image),
603 (xml_parse_object_barcode), (xml_parse_data),
604 (xml_parse_toplevel_span), (gl_xml_label_save),
605 (xml_create_objects):
606 Re-classified g_warnings to g_messages.
607 * src/merge-evolution.c: (gl_merge_evolution_open),
608 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
609 Use g_warning to output errors encountered while
610 communicating with the evolution data server
611 instead of embedding them in the data.
613 2005-12-08 Jim Evins <evins@snaught.com>
615 * libglabels/libglabels-private.h:
617 * libglabels/paper.c: (read_papers):
618 * libglabels/template.c: (read_templates):
619 Made appropriate warnings critical.
621 * src/critical-error-handler.h:
622 * src/critical-error-handler.c: (gl_critical_error_handler_init),
623 (critical_error_handler):
624 Created critical error handler.
625 * src/glabels.c: (main):
626 Register critical error handler.
627 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
628 * src/object-editor.c: (gl_object_editor_init):
629 * src/prefs-dialog.c: (gl_prefs_dialog_init):
630 * src/template-designer.c: (gl_template_designer_init):
631 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
632 Made appropriate warnings critical.
634 2005-11-27 Jim Evins <evins@snaught.com>
636 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
637 (gl_merge_evolution_get_primary_key),
638 (gl_merge_evolution_get_record):
639 Don't create "record_key" pseudo-key. Don't populate
640 fields with null data.
642 2005-11-25 Jim Evins <evins@snaught.com>
644 * src/merge-evolution.c: (gl_merge_evolution_finalize),
645 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
646 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
648 Query EDS for all supported fields. Patch provided by
649 Austin Henry <ahenry@users.sourceforge.net>.
651 2005-10-29 Jim Evins <evins@snaught.com>
653 * src/glabels.c: (main):
654 * src/label-barcode.c: (gl_label_barcode_finalize):
655 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
656 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
657 * src/object-editor.c: (gl_object_editor_finalize):
658 Another pass at valgrinding -- plugged several memory leaks.
659 * src/view-text.c: (gl_view_text_new),
660 (update_canvas_item_from_object_cb), (draw_hacktext):
661 Commented out artifacts of edit-in-place code.
663 2005-10-28 Jim Evins <evins@snaught.com>
665 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
666 Fixed use of uninitialized variable. Caught by
667 d binderman <dcb314@hotmail.com>.
669 2005-10-27 Jim Evins <evins@snaught.com>
671 * src/merge-evolution.c: (gl_merge_evolution_get_record):
672 * src/merge-vcard.c: (gl_merge_vcard_get_record),
674 Additional cleanup of EDS and vcard backends. Provided by
675 Austin Henry <ahenry@users.sourceforge.net>.
677 2005-10-24 Jim Evins <evins@snaught.com>
681 * src/merge-evolution.c:
682 * src/merge-evolution.h:
683 * src/merge-init.c: (gl_merge_init):
684 * src/merge-properties-dialog.c: (type_changed_cb):
687 * src/ui-commands.c: (gl_ui_cmd_help_about):
688 Added Evolution Data Server and VCard merge backends. Original patch
689 provided by Austin Henry <ahenry@users.sourceforge.net>.
691 Only support EDS and VCard backends if libebook is installed. Allow
692 user to disable support, even if installed.
694 2005-10-24 Jim Evins <evins@snaught.com>
697 * data/templates/avery-iso-templates.xml:
698 * data/templates/avery-us-templates.xml:
699 * data/templates/misc-iso-templates.xml:
700 * data/templates/zweckform-iso-templates.xml:
701 Collected all template changes and submissions since last
704 2005-10-23 Jim Evins <evins@snaught.com>
707 * data/mime/Makefile.am:
708 Added configure options to disable update-mime-database and
709 update-desktop-database as part of the install. Patch
710 provided by Leonardo Boshell (qhoracio@sourceforge.net).
712 2005-10-23 Jim Evins <evins@snaught.com>
715 * libglabels/xml.c: (gl_xml_get_prop_string),
716 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
717 (gl_xml_is_node), (gl_xml_get_node_content):
718 Added new XML utility functions.
719 * libglabels/xml-paper.c:
720 * libglabels/xml-template.c:
722 Cleanup by using new xml utilities created above.
723 * libglabels/paper.c: (gl_paper_free):
724 * src/file.c: (new_response):
725 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
726 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
727 (gl_pixbuf_cache_get_pixbuf):
728 * src/ui-property-bar.c:
729 (gl_ui_property_bar_construct_color_combo):
730 * src/view-highlight.c: (gl_view_highlight_finalize):
731 * src/view-image.c: (update_object_from_editor_cb):
732 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
733 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
734 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
735 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
736 (draw_markup_margin_round), (draw_markup_margin_cd),
737 (draw_markup_margin_cd_bc):
738 * src/wdgt-mini-preview.c: (mini_outline_list_new):
739 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
740 Plugged various memory leaks located with valgrind.
741 * src/view-image.c: (update_canvas_item_from_object_cb):
742 Don't allow a width or height of zero when drawing pixbuf.
744 2005-10-22 Jim Evins <evins@snaught.com>
746 * libglabels/xml-paper.c:
747 * libglabels/xml-template.c:
750 * src/bc-gnubarcode.c:
751 * src/canvas-hacktext.c:
753 * src/object-editor-data-page.c:
754 * src/print-dialog.c:
757 * src/template-designer.c:
759 * src/ui-property-bar.c:
761 * src/view-barcode.c:
763 * src/view-ellipse.c:
768 * src/wdgt-media-select.c:
769 * src/xml-label-04.c:
770 * src/xml-label-191.c:
772 Modified to compile warning free with gcc-4.0. Mostly
773 casting to change signedness of characters. Did not
774 attack gnu-barcode library yet.
776 2005-10-22 Jim Evins <evins@snaught.com>
778 * src/glabels.c: (main):
779 * src/splash.c: (gl_splash):
780 Removed some small memory leaks.
784 2005-09-19 Jim Evins <evins@snaught.com>
786 * data/glade/property-bar.glade:
787 Remove items from font_family_combo. This prevents the
788 double entry after adding text model and list of fonts.
789 * src/ui-property-bar.c: (reset_to_default_properties):
790 Free font_family_list.
792 2005-07-01 Jim Evins <evins@snaught.com>
795 Updated italian translation (Daniele Medri)
797 2005-06-26 Jim Evins <evins@snaught.com>
799 * docs/libglabels/libglabels-decl-list.txt:
800 Somehow never got checked in before.
801 * docs/libglabels/libglabels.types:
802 Removed -- don't need it afterall.
804 2005-06-20 Jim Evins <evins@snaught.com>
807 Final prep for 2.1.1 release.
809 2005-06-20 Jim Evins <evins@snaught.com>
812 Final preps for 2.1.1 release.
813 * docs/libglabels/libglabels.types:
814 Somehow never got checked in before.
816 Bring up-to-date with recent reorg of ui code.
819 2005-06-19 Jim Evins <evins@snaught.com>
821 * src/template-designer.c: (construct_layout_page):
822 Removed attempt to match background color of mini preview widget to
825 2005-06-17 Jim Evins <evins@snaught.com>
827 * help/C/figures/merge-ex2-4.png:
828 * help/C/glabels.xml:
829 Fixed spelling error.
831 2005-06-13 Jim Evins <evins@snaught.com>
833 * help/C/figures/merge-ex1-1.png:
834 * help/C/figures/merge-ex1-2.png:
835 * help/C/figures/merge-ex1-3.png:
836 * help/C/figures/merge-ex1-4.png:
837 * help/C/figures/merge-ex2-1.png:
838 * help/C/figures/merge-ex2-2.png:
839 * help/C/figures/merge-ex2-3.png:
840 * help/C/figures/merge-ex2-4.png:
841 Added figures for document merge tutorial.
842 * help/C/glabels.xml:
843 Added document merge tutorial.
845 2005-05-19 Jim Evins <evins@snaught.com>
847 * data/glade/merge-properties-dialog.glade:
848 Fixed irregular spacing.
849 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
850 (gl_merge_properties_dialog_construct):
851 Set outer padding and remove separator.
853 2005-05-18 Jim Evins <evins@snaught.com>
857 Removed glHigDialog class.
858 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
859 (gl_file_properties), (create_properties_dialog_widgets):
860 * src/prefs-dialog.h:
861 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
862 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
863 * src/print-dialog.h:
864 * src/prefs-dialog.h:
865 * src/print-dialog.c: (gl_print_dialog_get_type),
866 (gl_print_dialog_init), (gl_print_dialog_construct):
867 Replaced all instances of glHigDialog with GtkDialog.
869 2005-05-17 Jim Evins <evins@snaught.com>
873 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
874 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
875 (save_as_response), (gl_file_close):
876 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
878 2005-05-15 Jim Evins <evins@snaught.com>
888 A little code reformatting -- no functional changes.
890 2005-05-14 Jim Evins <evins@snaught.com>
893 Removed obsolete macros.
895 Added marshalling template to support new view signal: "context_menu_activate."
897 * src/view.c: (gl_view_class_init), (gl_view_construct),
898 (canvas_event_arrow_mode):
899 - Removed hardcoded context menus and added new signal "context_menu_activate"
900 to push this up to the uimanager.
901 - Removed merge properties and print dialogs so that they can be managed with
902 the window by the uimanager.
903 * src/merge-properties-dialog.h:
904 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
905 (gl_merge_properties_dialog_construct):
906 Changed calling convention of gl_merge_properties_dialog_new() to use
907 glLabel and GtkWindow instead of view to make more consistent with other
909 * src/print-dialog.h:
910 * src/print-dialog.c: (gl_print_dialog_new),
911 (gl_print_dialog_construct):
912 Removed last artifact of libbonoboui.
913 * src/ui-commands.c: (gl_ui_cmd_file_print),
914 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
915 Reconciled style for launching dialogs.
916 * src/ui.c: (gl_ui_new):
917 Added context menus to ui manager.
918 * src/view-object.c: (item_event_arrow_mode):
919 No longer try to select objects with right-click.
921 * src/window.c: (gl_window_init), (gl_window_set_label),
922 (context_menu_activate_cb):
923 Context menus and all dialogs are now managed in a consistent way in window
926 2005-05-11 Jim Evins <evins@snaught.com>
929 * src/window.c: (gl_window_init), (gl_window_destroy):
930 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
931 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
932 Moved management of recent_view back from window.c to ui.c -- it just feels
935 2005-05-10 Jim Evins <evins@snaught.com>
938 * src/window.c: (gl_window_init):
940 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
941 (menu_item_select_cb), (menu_item_deselect_cb):
942 Added GtkStatusbar which displays menu tooltips.
944 2005-05-09 Jim Evins <evins@snaught.com>
946 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
951 Removed dependencies on libbonoboui.
953 * data/ui/Makefile.am:
954 * data/ui/glabels-ui.xml:
955 Removed data/ui directory.
956 * data/glade/Makefile.am:
957 * data/property-bar.glade:
958 Added glade description of property-bar for new libglade implementation
967 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
968 since the distinction between "commands" and "tools" is no longer that clear.
971 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
972 no longer has knowledge of eggRecent*.
973 * src/glabels.c: (main):
974 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
976 * src/object-editor.c: (gl_object_editor_init):
977 Make sure notebook does not respond to a "show_all" on the parent.
978 * src/recent-files/Makefile.am:
979 * src/recent-files/*.[ch]
980 Updated from latest version of libegg which now has a view based on
981 GtkUIManager. Removed unused bonobo and gtk views.
982 * src/ui-property-bar.h:
983 * src/ui-property-bar.c:
984 New implementation based on libglade.
987 Sidebar is now simply a GtkWidget and does not expect to be a part of
988 a libbonoboui interface.
993 Converted for use with GtkUIManager.
996 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
997 to create menus and toolbars.
999 2005-04-25 Jim Evins <evins@snaught.com>
1001 * data/templates/misc-iso-templates.xml:
1002 Added Fellows 04715 template provided by Steve Saxon.
1004 Updated acknowledgement for above.
1006 2005-04-23 Jim Evins <evins@snaught.com>
1008 * src/util.c: (gl_util_combo_box_set_strings):
1009 Make sure to clear model before loading a new list of strings.
1010 * src/wdgt-media-select.h:
1011 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1012 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1013 (template_combo_changed_cb), (prefs_changed_cb),
1014 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1015 (gl_wdgt_media_select_get_page_size),
1016 (gl_wdgt_media_select_set_page_size):
1017 Replaced the deprecated GtkCombo widget with the new
1020 2005-04-21 Jim Evins <evins@snaught.com>
1022 * data/glade/template-designer.glade:
1023 * src/template-designer.c: (construct_pg_size_page),
1024 (pg_size_page_changed_cb), (build_template):
1025 Replaced the deprecated GtkCombo widget with the new
1028 2005-04-20 Jim Evins <evins@snaught.com>
1030 * data/glade/prefs-dialog.glade:
1031 * src/prefs-dialog.c: (construct_object_page),
1032 (update_object_page_from_prefs), (update_prefs_from_object_page):
1033 Replaced the deprecated GtkCombo widget with the new
1036 2005-04-19 Jim Evins <evins@snaught.com>
1038 * data/glade/object-editor.glade:
1039 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1040 (style_changed_cb), (gl_object_editor_set_bc_style),
1041 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
1042 (gl_object_editor_get_bc_color):
1043 * src/object-editor-data-page.c:
1044 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
1045 (gl_object_editor_get_data):
1046 * src/object-editor-edit-page.c:
1047 (gl_object_editor_prepare_edit_page), (insert_button_cb):
1048 * src/object-editor-fill-page.c:
1049 (gl_object_editor_prepare_fill_page),
1050 (gl_object_editor_set_fill_color),
1051 (gl_object_editor_get_fill_color):
1052 * src/object-editor-image-page.c:
1053 (gl_object_editor_prepare_image_page),
1054 (gl_object_editor_set_image), (gl_object_editor_get_image):
1055 * src/object-editor-line-page.c:
1056 (gl_object_editor_prepare_line_page),
1057 (gl_object_editor_set_line_color),
1058 (gl_object_editor_get_line_color):
1059 * src/object-editor-private.h:
1060 * src/object-editor-text-page.c:
1061 (gl_object_editor_prepare_text_page),
1062 (gl_object_editor_set_font_family),
1063 (gl_object_editor_get_font_family),
1064 (gl_object_editor_set_text_color),
1065 (gl_object_editor_get_text_color):
1066 * src/object-editor.c: (gl_object_editor_set_key_names):
1068 In the object editor: replaced all instances of the deprecated
1069 GtkCombo widget with the new GtkComboBox.
1071 2005-04-18 Jim Evins <evins@snaught.com>
1074 Neglected to save this one in previous checkin to support
1077 2005-04-17 Jim Evins <evins@snaught.com>
1079 * libglabels/libglabels-private.h:
1080 * libglabels/paper.c:
1081 * libglabels/paper.h:
1082 * libglabels/template.c:
1083 * libglabels/template.h:
1084 * libglabels/xml-paper.c:
1085 * libglabels/xml-paper.h:
1086 * libglabels/xml-template.c:
1091 * src/bc-gnubarcode.c:
1102 * src/label-barcode.c:
1104 * src/label-ellipse.c:
1105 * src/label-image.c:
1106 * src/label-image.h:
1108 * src/label-object.c:
1112 * src/merge-properties-dialog.c:
1113 * src/object-editor-bc-page.c:
1114 * src/object-editor-data-page.c:
1115 * src/object-editor-edit-page.c:
1116 * src/object-editor-fill-page.c:
1117 * src/object-editor-image-page.c:
1118 * src/object-editor-line-page.c:
1119 * src/object-editor-lsize-page.c:
1120 * src/object-editor-position-page.c:
1121 * src/object-editor-private.h:
1122 * src/object-editor-size-page.c:
1123 * src/object-editor-text-page.c:
1124 * src/object-editor.c:
1125 * src/object-editor.h:
1126 * src/pixbuf-cache.h:
1127 * src/prefs-dialog.c:
1128 * src/prefs-dialog.h:
1129 * src/prefs-model.c:
1130 * src/prefs-model.h:
1132 * src/print-dialog.c:
1133 * src/print-dialog.h:
1141 * src/template-designer.c:
1142 * src/template-designer.h:
1145 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
1151 * src/view-barcode.c:
1153 * src/view-ellipse.c:
1154 * src/view-highlight.c:
1155 * src/view-highlight.h:
1158 * src/view-object.c:
1159 * src/view-object.h:
1163 * src/wdgt-chain-button.c:
1164 * src/wdgt-media-select.c:
1165 * src/wdgt-media-select.h:
1166 * src/wdgt-mini-preview.c:
1167 * src/wdgt-mini-preview.h:
1168 * src/wdgt-print-copies.c:
1169 * src/wdgt-print-copies.h:
1170 * src/wdgt-print-merge.c:
1171 * src/wdgt-print-merge.h:
1172 * src/wdgt-rotate-label.c:
1173 * src/wdgt-rotate-label.h:
1176 * src/xml-label-04.c:
1177 * src/xml-label-191.c:
1179 Cleanup of header files:
1180 - all header files are now stand-alone, verified by including
1181 first in corresponding "c" files
1182 - replaced blanket includes of gnome, gtk, and glib with
1185 2005-04-16 Jim Evins <evins@snaught.com>
1187 * data/glade/Makefile.am:
1188 * data/glade/merge-properties-dialog.glade:
1189 Added merge properties dialog glade description file.
1190 * src/merge-properties-dialog.h:
1191 * src/merge-properties-dialog.c:
1192 (gl_merge_properties_dialog_get_type),
1193 (gl_merge_properties_dialog_init),
1194 (gl_merge_properties_dialog_finalize),
1195 (gl_merge_properties_dialog_new),
1196 (gl_merge_properties_dialog_construct), (type_changed_cb),
1197 (src_changed_cb), (response_cb), (load_tree),
1198 (record_select_toggled_cb), (select_all_button_clicked_cb),
1199 (unselect_all_button_clicked_cb):
1200 Modified merge properties dialog to use libglade. Added
1201 "select all" and "unselect all" buttons.
1202 * src/merge-text.c: (parse_line):
1203 Handle empty lines better.
1204 * src/merge.c: (gl_merge_eval_key):
1205 Evaluate the key whether the record is selected or not.
1207 * src/util.c: (gl_util_combo_box_add_text_model):
1208 Since libglade does not use the gtk_combo_box_new_text()
1209 constructor for GtkComboBoxes, a utility function was created
1210 to add an appropriate text model to a GtkComboBox.
1211 * src/view.c: (gl_view_edit_merge_props):
1212 Removed unnecessary "show all's".
1214 2005-04-15 Jim Evins <evins@snaught.com>
1217 Updated russian translation (Vitaly Lipatov)
1218 * data/templates/misc-iso-templates.xml:
1219 Added templates for russian business cards provided by Vitaly Lipatov.
1221 Updated acknowledgements for above.
1223 2005-04-15 Jim Evins <evins@snaught.com>
1225 * data/templates/avery-us-templates.xml:
1226 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1227 * data/templates/misc-iso-templates.xml:
1228 Added Ryman standard CD/DVD template, provided by Dan Clark.
1230 Added acknowledgements for above.
1232 2005-04-10 Jim Evins <evins@snaught.com>
1234 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1235 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1236 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1237 (xml_parse_label_cd_node), (xml_parse_alias_node):
1238 * libglabels/xml.c: (gl_xml_get_prop_double),
1239 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1240 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1241 * src/xml-label-04.c: (xml04_parse_media_description),
1242 (xml04_parse_text_props), (xml04_parse_barcode_props),
1243 (xml04_parse_merge_properties):
1244 * src/xml-label-191.c: (xml191_parse_object),
1245 (xml191_parse_text_props), (xml191_parse_barcode_props),
1246 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1247 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1248 (xml191_parse_alias):
1249 * src/xml-label.c: (xml_parse_object_text),
1250 (xml_parse_object_barcode), (xml_parse_merge_fields),
1251 (xml_parse_pixdata), (xml_parse_toplevel_span):
1252 Make sure to use xmlFree for anything obtained from libxml
1253 in case libxml and glib use different memory management
1256 2005-04-08 Jim Evins <evins@snaught.com>
1259 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1260 (gl_util_combo_box_set_active_text):
1261 Added utility functions to simplify working with GtkComboBox
1263 * src/ui-property-bar.h:
1264 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1265 (reset_to_default_properties), (update_text_properties),
1266 (font_family_changed_cb):
1267 Replaced deprecated GtkCombo with GtkComboBox.
1270 2005-04-03 Jim Evins <evins@snaught.com>
1273 * src/wdgt-image-select.h:
1274 * src/wdgt-image-select.c:
1275 Removed obsolete wdgt-image-select.[ch] files.
1276 * libglabels/paper.c: (gl_paper_dup):
1277 Fixed rename of parameter introduced during documentation
1279 * data/glade/object-editor.glade:
1280 * src/object-editor-image-page.c:
1281 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1282 (gl_object_editor_set_image), (gl_object_editor_get_image),
1283 (update_preview_cb), (add_image_filters_to_chooser):
1284 * src/object-editor-private.h:
1285 Replaced deprecated GnomePixmapEntry with
1286 GtkFileChooserButton.
1288 2005-04-02 Jim Evins <evins@snaught.com>
1290 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1291 (mygal_combo_box_popup_hide_unconditional),
1292 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1293 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1294 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1295 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1296 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1297 Renamed all internal gtk_combo functions to mygal_combo
1298 to prevent namespace confusion.
1300 2005-04-02 Jim Evins <evins@snaught.com>
1302 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1303 (cust_color_set), (color_palette_setup):
1304 * src/mygal/color-palette.h:
1305 Replaced deprecated GnomeColorPicker with GtkColorButton.
1307 2005-04-02 Jim Evins <evins@snaught.com>
1309 * docs/libglabels/libglabels-sections.txt:
1310 * docs/libglabels/libglabels-undocumented.txt:
1311 * docs/libglabels/tmpl/enums.sgml:
1312 * docs/libglabels/tmpl/paper.sgml:
1313 * docs/libglabels/tmpl/xml-paper.sgml:
1314 * docs/libglabels/tmpl/xml-template.sgml:
1315 * libglabels/enums.h:
1316 * libglabels/paper.c: (gl_paper_dup):
1317 * libglabels/paper.h:
1318 * libglabels/xml-paper.c:
1319 * libglabels/xml-template.c:
1320 More documentation updates for libglabels.
1322 2005-03-23 Jim Evins <evins@snaught.com>
1325 Automatically updated.
1330 * docs/libglabels/Makefile.am:
1331 * docs/libglabels/libglabels-docs.sgml:
1332 * docs/libglabels/libglabels-sections.txt:
1333 * docs/libglabels/libglabels-undocumented.txt:
1334 * docs/libglabels/tmpl/enums.sgml:
1335 * docs/libglabels/tmpl/libglabels-unused.sgml:
1336 * docs/libglabels/tmpl/libglabels.sgml:
1337 * docs/libglabels/tmpl/paper.sgml:
1338 * docs/libglabels/tmpl/template.sgml:
1339 * docs/libglabels/tmpl/xml-paper.sgml:
1340 * docs/libglabels/tmpl/xml-template.sgml:
1341 * docs/libglabels/tmpl/xml.sgml:
1342 Added basic gtk-doc stuff to support documenting libglabels
1345 Updated function comments with gtk-doc markup.
1349 2005-03-22 Jim Evins <evins@snaught.com>
1351 Since the development version now requires gtk-2.6/gnome-2.10, I
1352 have made a first pass at removing deprecations.
1355 * libglabels/Makefile.am:
1357 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1358 Also removed all remnants of HAVE_FILECHOOSER.
1359 * src/file.c: (gl_file_open_real):
1360 Removed code for old GtkFileSelection.
1361 * libglabels/libglabels-private.h:
1362 * libglabels/paper.c:
1363 * libglabels/template.c:
1364 * libglabels/xml-paper.c:
1365 * libglabels/xml-template.c:
1369 * src/glabels-batch.c:
1373 * src/merge-properties-dialog.c:
1375 * src/object-editor.c:
1376 * src/prefs-dialog.c:
1378 * src/print-dialog.c:
1381 * src/template-designer.c:
1382 * src/ui-property-bar.c:
1384 * src/view-barcode.c:
1386 * src/view-ellipse.c:
1391 * src/wdgt-image-select.c:
1392 * src/wdgt-media-select.c:
1393 * src/wdgt-print-copies.c:
1394 * src/wdgt-print-merge.c:
1395 * src/wdgt-rotate-label.c:
1397 * src/xml-label-04.c:
1398 * src/xml-label-191.c:
1400 Added '#include <glib/gi18n.h>" where needed.
1401 Removed any unused '#include <gnome.h>"s.
1403 2005-03-22 Jim Evins <evins@snaught.com>
1405 * src/commands.c: (activate_url), (gl_cmd_help_about):
1406 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1407 development version of glabels now depends on GTK 2.6 and
1410 Updated library dependencies.
1412 2005-02-28 Jim Evins <evins@snaught.com>
1415 * data/templates/misc-iso-templates.xml:
1416 Added 'Ednet 45021' template provided by Ali Akcaagac
1419 2005-02-14 Jim Evins <evins@snaught.com>
1421 * data/templates/avery-us-templates.xml:
1422 Updated templates to use inches instead of points.
1423 * src/print-dialog.c: (printer_page_new):
1424 Changed packing style when adding printer selector widget. This fixes
1427 2005-02-13 Jim Evins <evins@snaught.com>
1431 Updated spanish translations. (sergio rivadero)
1433 2005-02-05 Jim Evins <evins@snaught.com>
1435 Some cleanup to libglabels.
1438 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1439 * libglabels/libglabels.pc.in
1441 * libglabels/enums.h
1442 Created. Currently only contains glUnitsType which provides enumerations
1443 for all possible units of distance.
1444 * libglabels/Makefile.am:
1445 Incorporated new files enums.h and libglabels.pc[.in].
1446 * libglabels/libglabels.h:
1448 * libglabels/template.h:
1449 * libglabels/template.c: (gl_template_layout_new):
1450 Changed parameters nx and ny to gint from gdouble.
1452 * libglabels/xml.c: (gl_xml_get_prop_length),
1453 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1454 Added support for different output units.
1455 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1456 (update_prefs_from_locale_page):
1457 * src/prefs-model.c: (string_to_units), (units_to_string):
1458 * src/prefs-model.h:
1459 * src/prefs.c: (gl_prefs_get_units_per_point),
1460 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1461 (gl_prefs_get_units_string):
1463 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1464 Reconciled all length enumerations with the new enumerations provided
1465 in libglabels/enums.h.
1467 2005-02-03 Jim Evins <evins@snaught.com>
1470 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1472 Updated Italian translations. (Daniele Medri)
1474 Updated credits to reflect above translations.
1477 2005-01-22 Jim Evins <evins@snaught.com>
1482 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1484 Final prep for 2.1.0.
1486 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1488 Added '--remove-original' flag to desktop-file-install, so that there is
1489 only one menu entry.
1491 2005-01-20 Jim Evins <evins@snaught.com>
1493 * data/glade/object-editor.glade:
1494 - Font family entry should not be editable.
1495 - img_key_entry should have sensitivity=YES, so that it follows the
1496 sensitivity of img_key_combo.
1498 2005-01-19 Jim Evins <evins@snaught.com>
1501 Give credit to Frederic Ruaudel for the color merge patches.
1503 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1505 Add support to merge color for all other color attribute (Feature
1506 Requests item #1008635. If the data is invalid, the color used is transparent
1507 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1508 by gdk_color_parse() these include name for a color from rgb.txt, such as
1509 DarkSlateGray, or a hex specification such as #305050. File format has been
1510 changed but backward compatibility is preserved for all format. For
1511 box/ellipse/line, keep attribute "line_color" for static color or replace by
1512 "line_color_field" for merge data. For text/barcode objects, keep attribute
1513 "color" for static color or replace by "color_field" for merge data. In the
1514 edit canvas window, merged color are represented by half-transparent black
1517 * data/dtd/glabels-2.0.dtd:
1518 Added line_color_field to line_attrs. Added color_field to
1519 Object-barcode and Span.
1520 * data/glade/object-editor.glade:
1521 Modify the layout of the editor to add merge possibility to color options
1523 Fix a copy/paste error in a comment
1525 Add default color for merge color representation in the editor canvas.
1526 * src/label-barcode.c:
1527 * src/object-editor-bc-page.c:
1528 * src/view-barcode.c:
1529 Add merge color support for barcode color.
1532 Add merge color support for box border color.
1533 * src/label-ellipse.c:
1534 * src/view-ellipse.c:
1535 Add merge color support for ellipse border color.
1538 Add merge color support for line color.
1539 * src/label-object.c:
1540 * src/label-object.h:
1541 * src/object-editor.c:
1542 * src/object-editor.h:
1543 * src/ui-property-bar.c:
1546 * src/xml-label-04.c:
1547 * src/xml-label-191.c:
1548 Add support for merging to other color attribute.
1550 * src/object-editor-text-page.c:
1552 Add merge color support for text color.
1553 * src/object-editor-fill-page.c:
1554 Change a blocked handler that didn't match the good widget. Fix the type
1555 of some debug message.
1556 * src/object-editor-line-page.c:
1557 Add merging support to line color option.
1558 * src/object-editor-private.h:
1559 Add variables for new widget.
1561 Modify the draw functions to get merge data if needed.
1563 Change the default size of the window in order to see all widget in the
1564 "text style tab" of the editor.
1566 Modify the parser to record/retreive the field value for objects that need
1567 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1568 static color or replace by "line_color_field" for merge data. For
1569 text/barcode objects, keep attribute "color" for static color or replace
1570 by "color_field" for merge data.
1572 2005-01-17 Jim Evins <evins@snaught.com>
1574 * src/view.c: (screen_changed_cb):
1575 Don't do anything if we don't have a screen.
1577 2005-01-06 Jim Evins <evins@snaught.com>
1579 * src/view.c: (get_home_scale):
1580 Fixed bad call to gtk_widget_has_screen() -- huh?.
1582 2005-01-06 Jim Evins <evins@snaught.com>
1584 * data/dtd/glabels-2.0.dtd:
1585 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1588 2005-01-06 Jim Evins <evins@snaught.com>
1590 * data/glade/object-editor.glade:
1591 Set entries for fill and data field key dropdowns to NOT editable.
1592 * src/view-box.c: (construct_properties_editor):
1593 * src/view-ellipse.c: (construct_properties_editor):
1594 Update object editor when label's merge property has changed.
1595 * src/xml-label.c: (xml_parse_object_ellipse):
1596 Completed the merge color support for the ellipse item.
1598 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1600 Add support to merge color for object that have a "Fill color" attribute (Feature
1601 Requests item #1008635. If the data is invalid, the color used is transparent
1602 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1603 by gdk_color_parse() these include name for a color from rgb.txt, such as
1604 DarkSlateGray, or a hex specification such as #305050. File format has been
1605 changed but backward compatibility is preserved for all format. For box/ellipse,
1606 keep attribute "fill_color" for static color or replace by "fill_color_field"
1609 * data/glade/object-editor.glade:
1610 Modify "Fill" tab to add the merge key combo and convert the labels into
1614 Add "glColorNode" structure and associated functions to manage it. This
1615 structure is equivalent for color than the "glTextNode". It holds the color
1617 * src/label-object.h:
1618 * src/label-object.c:
1620 * src/label-ellipse.c:
1621 * src/ui-property-bar.c:
1625 * src/view-ellipse.c:
1626 * src/xml-label-04.c:
1627 * src/xml-label-191.c:
1628 Change functions of objects that have a "fill color" attribute to use the
1629 new "glColorNode" structure. Use barcode code as example.
1631 Add the color.[ch] file to glabels_batch binary that now need support for
1633 * src/object-editor.h:
1634 * src/object-editor.c:
1635 * src/object-editor-fill-page.c:
1636 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1637 to choose between static color or merge key. Use barcode code as example.
1638 * src/object-editor-private.h:
1639 Add new widget in the "_glObjectEditorPrivate" structure.
1641 Modify the draw functions to get merge data if needed.
1643 Modify the parser to record/retreive the field value for objects that need
1644 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1645 color or "fill_color_field" for merge data.
1647 2005-01-04 Jim Evins <evins@snaught.com>
1650 * data/templates/avery-iso-templates.xml:
1651 * data/templates/misc-iso-templates.xml:
1652 * data/templates/misc-us-templates.xml:
1653 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1656 2004-11-26 Jim Evins <evins@snaught.com>
1660 Updated french translations provided by Florent Morel <florent@taket.org>.
1661 * src/view-barcode.c:
1663 * src/view-ellipse.c:
1667 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1668 thus _() strings were not being translated.
1670 2004-11-14 Jim Evins <evins@snaught.com>
1673 * src/debug.c: (gl_debug_init), (gl_debug):
1674 Borrowed from gedit: use environmental variables to select debug
1677 Removed unused include of debug.h.
1678 * src/glabels.c: (main):
1679 Added call to gl_debug_init(), and removed debug clutter from command line
1681 * src/glabels-batch.c: (main):
1682 Added call to gl_debug_init().
1684 2004-11-13 Jim Evins <evins@snaught.com>
1686 Drawing and property toolbars were being initialized with the "icons and text"
1687 look in Fedora Core 3. Even though none of the buttons had any text attached to
1688 them, the buttons were being sized as if they were. This led to less real estate
1689 for the property editor, leading to Bug #1064630. The
1691 * data/ui/glabels-ui.xml:
1692 Added explicit "look" property to both drawing and property toolbars.
1693 * src/prefs-model.c: (gl_prefs_model_save_settings),
1694 (gl_prefs_model_load_settings):
1695 * src/prefs-model.h:
1696 Removed drawing_toolbar_button_style configuration parameter.
1697 * src/ui.c: (view_menu_item_toggled_cb),
1698 (set_app_drawing_toolbar_style):
1699 Do not attempt to adjust look property of the drawing toolbar.
1701 2004-10-28 Jim Evins <evins@snaught.com>
1703 * data/pixmaps/glabels-about-logo.png:
1706 2004-10-28 Jim Evins <evins@snaught.com>
1708 * data/man/glabels.1:
1709 * src/glabels-batch.c: (main):
1711 * src/print.c: (gl_print_batch):
1713 Added option to glabels-batch to select the first label to begin
1716 2004-09-26 Jim Evins <evins@snaught.com>
1718 * data/desktop/glabels.desktop.in:
1719 Point to app icon, "glabels.png"
1720 * data/mime/glabels.keys.in:
1721 Point at mime icon, "glabels-application-x-glabels.png"
1722 * data/pixmaps/Makefile.am:
1723 Added glabels_app_icondir. Renamed icons.
1724 * data/pixmaps/glabels.png:
1725 New cleaned up app icon. Deleted glabels-icon.png.
1726 * data/pixmaps/glabels-application-x-glabels.png:
1728 * data/pixmaps/glabels-splash.png:
1729 Renamed glabels-logo to glabels-splash to be more correct about role.
1731 * src/template-designer.c:
1732 Point at app icon, "glabels.png"
1734 Point at renamed splash image, "glabels-splash.png"
1736 2004-08-22 Jim Evins <evins@snaught.com>
1739 * src/glabels-batch.c: (main):
1740 Applied patch with minor mods to allow selecting merge source and
1741 crop-marks on glabels-batch's command line. Original patch provided by
1742 José Dapena Paz <jdapena@igalia.com>.
1744 2004-08-15 Jim Evins <evins@snaught.com>
1746 * data/desktop/glabels.desktop.in:
1747 - Added encoding line
1748 - Removed period from comment
1749 - Fixed Terminal line, changed "0" to "false"
1750 - Added semicolen to Categories line
1752 - Made sure desktop.in comment string above still translated properly
1754 2004-08-14 Jim Evins <evins@snaught.com>
1756 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1757 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1758 * src/xml-label-191.c: (xml191_parse_sheet):
1759 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1761 Reconciled libglabels versioning with 2.0.1.
1764 2004-08-14 Jim Evins <evins@snaught.com>
1767 Updated version to 2.1cvs.
1769 2004-08-14 Jim Evins <evins@snaught.com>
1772 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1774 2004-08-14 Jim Evins <evins@snaught.com>
1776 Fixes for Bug #1008181.
1778 * src/bc.c: (gl_barcode_default_digits):
1779 Make a format of zero digits, harmless.
1780 * src/xml-label.c: (xml_parse_object_barcode):
1781 Set default value of the format property of barcode objects to 10, not
1782 zero. This will prevent crashes when reading pre 2.0.x files.
1784 2004-08-09 Jim Evins <evins@snaught.com>
1788 * help/C/glabels-C.omf:
1789 * help/C/glabels.xml:
1790 Brought documentation up-to-date for 2.0.0 release.
1792 2004-08-09 Jim Evins <evins@snaught.com>
1794 These are hopefully the final preparations for 2.0.0.
1796 * data/mime/Makefile.am:
1797 Include glabels.xml in EXTRA_DIST.
1799 - Updated comment style.
1800 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1801 - Added package and version info to configuration printout
1802 - Update version to 2.0.0
1803 * libglabels/Makefile.am:
1804 Use the new LIBGLABELS_VERSION_INFO macro.
1806 2004-08-09 Jim Evins <evins@snaught.com>
1810 Cleanup of required library macros.
1812 2004-08-08 Jim Evins <evins@snaught.com>
1816 - More specific of what to install in /usr/bin and /usr/lib
1817 - Remove built mime registration files from staging directory
1819 2004-08-08 Jim Evins <evins@snaught.com>
1821 * data/mime/Makefile.am:
1822 Fixed typo: key_files should have been keys_files.
1824 2004-08-08 Jim Evins <evins@snaught.com>
1826 Reorganization of runtime data files. Also added registration of mimetype with
1827 new freedesktop.org mime database if available.
1830 Moved files to appropriate subdirectories, creating local Makefile.am
1831 in each subdirectory.
1832 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1833 These are now installed at $datadir/glabels/templates.
1834 - Moved glabels.1 to man subdirectory.
1835 - Moved glabels-2.0.dtd to dtd subdirectory.
1836 - Moved glabels.desktop.in to desktop subdirectory.
1837 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1839 Moved "./pixmaps" to "./data/pixmaps"
1841 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1843 Moved libglade files from src to data/glade. Created Makefile.am.
1845 Removed pixmaps from SUBDIRS.
1847 - Removed pixmaps from makefiles.
1848 - Added makefiles for new subdirs of data.
1849 - Added tests for freedesktop.org mime database.
1851 - Added tests for freedesktop.org mime database for post install and
1852 post un-install actions.
1853 * libglabels/Makefile.am:
1854 Moved system template files to $(datadir)/glabels/templates.
1855 * libglabels/libglabels-private.h:
1856 Moved system template files to $(datadir)/glabels/templates.
1858 - Accounted for movement of ui and libglade files.
1859 - Added missing .in files.
1860 - Reorganized by directory.
1862 Accounted for movement of ui and libglade files.
1863 * data/mime/glabels.xml.in:
1864 New file for registering with freedesktop.org mime database.
1866 2004-08-07 Jim Evins <evins@snaught.com>
1868 * src/recent-files/*:
1869 Re-synced to latest libegg/recent-files.
1871 2004-08-07 Jim Evins <evins@snaught.com>
1876 Renamed "./doc" directory to "./help" which contains user documentation,
1877 to be more consistent with other GNOME applications.
1880 2004-07-26 Jim Evins <evins@snaught.com>
1882 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1883 Corrected button order of merge properties dialog.
1885 2004-07-18 Jim Evins <evins@snaught.com>
1887 * data/glabels-2.0.dtd:
1888 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1889 (gl_barcode_get_prefered_n):
1891 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1892 (gl_label_barcode_get_props), (get_size):
1893 * src/label-barcode.h:
1894 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1895 (style_changed_cb), (gl_object_editor_set_bc_style),
1896 (gl_object_editor_get_bc_style):
1897 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1898 (gl_object_editor_set_data), (gl_object_editor_get_data):
1899 * src/object-editor-private.h:
1900 * src/object-editor.c: (gl_object_editor_set_key_names):
1901 * src/object-editor.glade:
1902 * src/object-editor.h:
1903 * src/print.c: (draw_barcode_object):
1904 * src/view-barcode.c: (update_object_from_editor_cb),
1905 (update_editor_from_object_cb),
1906 (gl_view_barcode_create_event_handler), (draw_barcode):
1907 * src/xml-label-04.c: (xml04_parse_barcode_props):
1908 * src/xml-label-191.c: (xml191_parse_barcode_props):
1909 * src/xml-label.c: (xml_parse_object_barcode),
1910 (xml_create_object_barcode):
1911 Added "format" attribute to barcode objects. This attribute is used
1912 to properly format freeform barcodes barcodes prior to merge data is
1913 applied, so that barcodes can be accurately layed out. This addresses
1914 remaining issues of feature request #824787. Also added an example of
1915 the format in the object editor.
1917 2004-07-12 Jim Evins <evins@snaught.com>
1919 Various code cleanups.
1921 * src/label-barcode.c:
1922 Removed unneeded include of gnome-glyphlist.h.
1924 * src/label-text.c: (get_size):
1925 Fixed memory leak: unref glyphlists when done with them.
1927 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1928 * src/object-editor-data-page.c:
1929 (gl_object_editor_prepare_data_page):
1930 * src/object-editor-image-page.c:
1931 (gl_object_editor_prepare_image_page):
1932 * src/object-editor-line-page.c:
1933 (gl_object_editor_prepare_line_page):
1934 * src/object-editor-lsize-page.c:
1935 (gl_object_editor_prepare_lsize_page):
1936 * src/object-editor-position-page.c:
1937 (gl_object_editor_prepare_position_page):
1938 * src/object-editor-size-page.c:
1939 (gl_object_editor_prepare_size_page):
1940 * src/object-editor-text-page.c:
1941 (gl_object_editor_prepare_text_page):
1942 Removed unneeded size groups, originally intended to keep widgets aligned.
1943 Now use tables to lay these out in object-editor.glade.
1945 * src/print.c: (draw_text_object):
1946 Fixed memory leak: unref glyphlists when done with them.
1948 * src/view-barcode.c: (draw_barcode):
1949 Fixed memory leak: unref glyphlists when done with them.
1951 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1952 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1954 - Fixed memory leak: unref glyphlists when done with them.
1956 2004-07-11 Jim Evins <evins@snaught.com>
1958 * data/glabels-2.0.dtd:
1959 * src/label-text.c: (gl_label_text_instance_init), (copy),
1960 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1962 * src/object-editor-private.h:
1963 * src/object-editor-text-page.c:
1964 (gl_object_editor_prepare_text_page),
1965 (gl_object_editor_set_text_auto_shrink),
1966 (gl_object_editor_get_text_auto_shrink):
1967 * src/object-editor.c: (gl_object_editor_set_key_names):
1968 * src/object-editor.glade:
1969 * src/object-editor.h:
1970 * src/print.c: (draw_text_object):
1971 * src/view-text.c: (update_object_from_editor_cb),
1972 (update_editor_from_object_cb):
1973 * src/xml-label.c: (xml_parse_object_text),
1974 (xml_create_object_text):
1975 Added option to allow document merge to auto shrink text size to fit
1976 within the text box. The code in print.c that actually shrinks the
1977 text is loosely based on a patch submitted by Mark Harrison
1978 <mark.harrison@velocitynet.com.au>. This addresses feature request
1981 2004-07-11 Jim Evins <evins@snaught.com>
1983 * data/glabels-2.0.dtd:
1984 * libglabels/template.c: (gl_template_rect_label_type_new),
1985 (gl_template_round_label_type_new),
1986 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1987 (template_full_page):
1988 * libglabels/template.h:
1989 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1990 (xml_create_label_node):
1991 * pixmaps/ex-rect-size.png:
1992 * src/print.c: (clip_to_outline), (clip_punchouts):
1993 * src/template-designer.c: (construct_rect_size_page),
1994 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1996 * src/template-designer.glade:
1997 * src/xml-label-191.c: (xml191_parse_label):
1998 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1999 properties for rectangular labels. Templates remain backwards compatible,
2000 but this breaks the libglabels API (I don't know of anyone outside of
2001 glabels using libglabels at this time -- what can I say, the program is
2002 is still "unstable"). This addresses the suggestion in Feature Request
2005 2004-07-05 Jim Evins <evins@snaught.com>
2006 * src/print.c: (print_crop_marks), (draw_outline):
2007 Changed crop marks and label outlines to black, instead of 25% gray.
2008 This addresses debian Bug #257460.
2010 2004-07-05 Jim Evins <evins@snaught.com>
2012 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2013 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2014 Preserve "is_default" of fill and line color_combos when creating from
2017 2004-07-02 Jim Evins <evins@snaught.com>
2020 Created man page. Based on page submitted by Matthew J. Lockner, however
2021 it has been severely edited.
2023 * data/avery-other-templates.xml
2024 * data/misc-other-templates.xml:
2025 Started new files for predefined templates with non-standard sheet sizes.
2026 These have been initially populated with the Avery 06141 and
2027 OfficeMax #86112, both provided by Matthew J. Lockner.
2030 Install above manpage and template files.
2033 Make sure we install man pages.
2035 * src/glabels-batch.c:
2036 Changed short form of help option to '-?' to be consistent with glabels.
2039 Added acknowledgement for above labels.
2041 2004-07-02 Jim Evins <evins@snaught.com>
2043 * src/glabels.c: (main), (save_session_cb):
2044 - Now include libbonoboui.h, recent.h, and file.h to provide missing
2046 - save_session_cb() now returns gboolean.
2047 - Minor formatting changes.
2051 - Now include file.h to provide missing prototype.
2052 - gl_window_get_type() now returns GType, not guint. I believe this may
2053 ultimately be cause of the segfault reported in Bug #982287, since
2054 GType is actually a gulong, which may not be compatible on other
2055 architectures (64bit) -- I cannot personally test this at this time.
2056 I was sloppy in several other xxx_get_type() functions which also
2057 returned guint -- see next group of files:
2059 * src/window.c: (gl_window_get_type):
2060 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
2061 * src/canvas-hacktext.h:
2062 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
2063 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
2064 (gl_hig_hbox_get_type):
2066 * src/label-barcode.c: (gl_label_barcode_get_type):
2067 * src/label-barcode.h:
2068 * src/label-box.c: (gl_label_box_get_type):
2070 * src/label-ellipse.c: (gl_label_ellipse_get_type):
2071 * src/label-ellipse.h:
2072 * src/label-image.c: (gl_label_image_get_type):
2073 * src/label-image.h:
2074 * src/label-line.c: (gl_label_line_get_type):
2076 * src/label-object.c: (gl_label_object_get_type):
2077 * src/label-object.h:
2078 * src/label-text.c: (gl_label_text_get_type):
2080 * src/label.c: (gl_label_get_type):
2082 * src/merge-properties-dialog.c:
2083 (gl_merge_properties_dialog_get_type):
2084 * src/merge-properties-dialog.h:
2085 * src/merge-text.c: (gl_merge_text_get_type):
2087 * src/merge.c: (gl_merge_get_type):
2089 * src/object-editor.c: (gl_object_editor_get_type):
2090 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
2091 * src/prefs-dialog.h:
2092 * src/prefs-model.c: (gl_prefs_model_get_type):
2093 * src/prefs-model.h:
2094 * src/print-dialog.c: (gl_print_dialog_get_type):
2095 * src/print-dialog.h:
2096 * src/template-designer.c: (gl_template_designer_get_type):
2097 * src/template-designer.h:
2098 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
2099 * src/ui-property-bar.h:
2100 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
2102 * src/view-barcode.c: (gl_view_barcode_get_type):
2103 * src/view-barcode.h:
2104 * src/view-box.c: (gl_view_box_get_type):
2106 * src/view-ellipse.c: (gl_view_ellipse_get_type):
2107 * src/view-ellipse.h:
2108 * src/view-highlight.c: (gl_view_highlight_get_type):
2109 * src/view-highlight.h:
2110 * src/view-image.c: (gl_view_image_get_type):
2112 * src/view-line.c: (gl_view_line_get_type):
2114 * src/view-object.c: (gl_view_object_get_type):
2115 * src/view-object.h:
2116 * src/view-text.c: (gl_view_text_get_type):
2118 * src/view.c: (gl_view_get_type):
2120 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
2121 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
2122 * src/wdgt-image-select.h:
2123 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
2124 * src/wdgt-media-select.h:
2125 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
2126 * src/wdgt-mini-preview.h:
2127 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
2128 * src/wdgt-print-copies.h:
2129 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
2130 * src/wdgt-print-merge.h:
2131 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
2132 * src/wdgt-rotate-label.h:
2133 - Made sure all xxx_get_type functions returned GType, not guint. This
2134 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
2135 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
2136 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
2137 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
2138 window.[ch] details above for more info.
2139 - Reconciled various coding style differences in all xxx_get_type()
2141 * All prototypes include G_GNUC_CONST.
2142 * All prototypes specify the return value as GType, not GtkType
2144 * Info structures are all declared as "static const."
2145 * Generalized the names of type and info variables.
2146 * Miscelaneous formatting.
2148 2004-06-08 Jim Evins <evins@snaught.com>
2154 Don't touch compression of original file -- still defaults to 9 for
2155 new files. Original patch provided by Javier Donaire Segarra
2156 (#912252 in patch tracker).
2158 2004-05-05 Jim Evins <evins@snaught.com>
2160 * data/glabels-2.0.dtd:
2161 Broke DTD previously when adding new barcode types that contain a
2162 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
2163 to avoid the problem.
2164 * data/avery-iso-templates.xml:
2165 * data/zweckform-iso-templates.xml:
2167 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2168 provided by Frank Altpeter.
2169 * libglabels/xml-template.c: (xml_create_label_node):
2170 Reordered markup and layout sub-nodes so that resulting templates will
2171 validate against DTD.
2173 2004-03-13 Jim Evins <evins@snaught.com>
2175 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2176 Changed spin callback signals from "value-changed" back to "changed."
2177 This was accidentally introduced in a previous revision, and can cause
2178 size changes just by selecting the size tab.
2180 2004-03-06 Jim Evins <evins@snaught.com>
2182 * src/view.c: (draw_grid_layer):
2183 For round labels (round and cd) adjust grid so that it lines up with
2184 center of label. Also, no longer draw box around label in the grid layer,
2185 it is hidden by he fg layer anyway. Feature suggested by
2186 nemolivier@free.fr. Although the grid is aligned with the center of the
2187 label, the coordinate system is still relative to the upper left corner
2188 of the rectangle containing the label.
2190 2004-02-25 Jim Evins <evins@snaught.com>
2193 Changed version to 2.0pre1cvs
2195 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2196 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2197 instead of doc->name fields when errors encountered.
2199 2004-02-21 Jim Evins <evins@snaught.com>
2201 * data/avery-iso-templates.xml:
2202 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2205 Added libglabels library and include file to installed files.
2208 Final prep for 1.93.3.
2210 2004-02-20 Jim Evins <evins@snaught.com>
2212 * src/glabels-batch.c: (main):
2213 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2214 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2216 2004-02-16 Jim Evins <evins@snaught.com>
2219 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2222 Added HAVE_FILE_CHOOSER to INCLUDES.
2224 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2225 (gl_file_save_as), (save_as_response):
2226 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2228 2004-02-16 Jim Evins <evins@snaught.com>
2230 * src/xml-label-04.c: (xml04_parse_image_props):
2231 * src/xml-label-191.c: (xml191_parse_image_props):
2232 * src/xml-label.c: (xml_parse_object_image):
2233 Delay setting image size until after image has been applied to new
2236 2004-02-15 Jim Evins <evins@snaught.com>
2238 * src/label-barcode.c: (gl_label_barcode_set_data),
2239 (gl_label_barcode_set_props):
2240 Don't emit "changed" signal, if no change actually made for these
2241 methods. Reduces number of unnecessary redraws of barcodes.
2243 * src/label-object.h:
2244 * src/label-object.c: (gl_label_object_set_position),
2245 (gl_label_object_set_position_relative), (set_size),
2246 (gl_label_object_set_size),
2247 (gl_label_object_set_size_honor_aspect):
2248 Don't emit "changed" signal, if no change actually made for these
2251 2004-02-15 Jim Evins <evins@snaught.com>
2253 * data/glabels-2.0.dtd:
2254 Added specific subtypes for various barcode types.
2257 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2258 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2259 (gl_barcode_can_text), (gl_barcode_text_optional),
2260 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2261 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2262 Changed API to use a string id, rather than a fixed enumeration. Id and
2263 name are separate strings. Added entries to backend table for specific
2264 subtypes for various barcode types.
2267 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2269 Modified to conform to above API. Now more stringent with data length
2270 for various subtypes.
2272 * src/bc-gnubarcode.h:
2273 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2274 (is_length_valid), (is_length1_valid), (is_length2_valid):
2275 Modified to conform to above API. Now more stringent with data length
2276 for various subtypes.
2278 * src/label-barcode.h:
2279 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2280 (gl_label_barcode_get_props), (get_size):
2281 Modified to use above API for storing barcode type.
2283 * src/object-editor.h:
2284 * src/object-editor-bc-page.c: (style_changed_cb),
2285 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2286 Modified to use above API for storing barcode type.
2288 * src/object-editor-size-page.c:
2289 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2290 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2291 Added debug markers.
2293 * src/object-editor.glade:
2294 Made barcode style combo's text entry non-editable.
2296 * src/print.c: (draw_barcode_object):
2297 Modified to use above API for barcode type.
2299 * src/view-barcode.c: (update_object_from_editor_cb),
2300 (update_editor_from_object_cb),
2301 (gl_view_barcode_create_event_handler), (draw_barcode):
2302 Modified to use above API for barcode type.
2304 * src/xml-label-04.c: (xml04_parse_barcode_props):
2305 * src/xml-label-191.c: (xml191_parse_barcode_props):
2306 * src/xml-label.c: (xml_parse_object_barcode),
2307 (xml_create_object_barcode):
2308 Modified to use above API for barcode type.
2310 2004-02-07 Jim Evins <evins@snaught.com>
2312 * src/stock-pixmaps/Makefile.am:
2313 * src/stock-pixmaps/stock_hchain_24.png:
2314 * src/stock-pixmaps/stock_hchain_broken_24.png:
2315 * src/stock-pixmaps/stock_vchain_24.png:
2316 * src/stock-pixmaps/stock_vchain_broken_24.png:
2317 Added chain pixmaps borrowed from the gimp's default theme.
2320 * src/stock.c: (gl_stock_init), (add_button_icon):
2321 Added above pixmaps to stock icon sets. Created add_button_icon() to
2322 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2324 * src/wdgt-chain-button.h
2325 * src/wdgt-chain-button.c
2328 Added this Modified version of gimpchainbutton widget, borrowed from
2332 Added acknowledgements of the above borrowing from the gimp.
2334 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2336 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2337 * src/object-editor.glade:
2338 Replaced the keep aspect ratio check box with the above chain-button
2341 * src/text-node.c: (gl_text_node_equal):
2343 Added function gl_text_node_equal() to compare text_nodes.
2345 * src/label-image.c: (gl_label_image_set_filename):
2346 Replaced incomplete text_node comparison code with invocation of
2347 gl_text_node_equal. This fixed the problem of not being able to
2348 resize an image using the object_editor if the aspect ratio is not
2351 2004-02-04 Jim Evins <evins@snaught.com>
2353 * src/object-editor-image-page.c:
2354 (gl_object_editor_prepare_image_page):
2355 Track "changed" signal of pixmap entry's GtkEntry rather than its
2356 "activate" signal -- this catches all changes to the entry rather than
2357 just changes resulting from a browse, so one can easily pull previous
2358 entries from the history. (This change is marked below on 2004-02-03,
2359 but somehow never got checked in.)
2361 * src/view-highlight.c: (sl_resize_event_handler),
2362 (sr_resize_event_handler), (st_resize_event_handler),
2363 (sb_resize_event_handler):
2364 Side resize handles will now confirm the actual resize that the object
2365 accepted before adjusting position parameters. Previously some interesting
2366 things happened when resizing a barcode to its minimum size.
2368 2004-02-03 Jim Evins <evins@snaught.com>
2370 * src/object-editor-image-page.c:
2371 (gl_object_editor_prepare_image_page):
2372 Track "changed" signal of pixmap entry's GtkEntry rather than its
2373 "activate" signal -- this catches all changes to the entry rather than
2374 just changes resulting from a browse, so one can easily pull previous
2375 entries from the history.
2377 * src/view-highlight.c: (tl_resize_event_handler),
2378 (tr_resize_event_handler), (bl_resize_event_handler),
2379 (br_resize_event_handler):
2380 Allow control key to be dropped while dragging a corner resize handle
2381 without losing the aspect ratio lock.
2383 2004-02-02 Jim Evins <evins@snaught.com>
2385 * src/label-image.c: (gl_label_image_set_filename):
2386 When setting a new filename adjust size such that the aspect ratio of
2387 the image is preserved using the current size as a bounding box.
2389 * src/view-image.c: (update_object_from_editor_cb):
2390 When updating object from editor, feed back possible size changes to
2391 editor as a result of a possible change in image.
2393 * src/object-editor-size-page.c: (size_reset_cb):
2394 Fixed typo when blocking spin handlers. If the base size is larger than
2395 the max size, treat max size as a bounding box while keeping aspect
2399 2004-02-02 Jim Evins <evins@snaught.com>
2401 * src/label-object.h:
2402 * src/label-object.c: (gl_label_object_set_size),
2403 (gl_label_object_set_size_honor_aspect):
2404 Added gl_label_object_set_size_honor_aspect() which will maintain the
2405 current aspect ratio by modifying the supplied w or h apropriately.
2407 * src/view-highlight.c: (tl_resize_event_handler),
2408 (tr_resize_event_handler), (bl_resize_event_handler),
2409 (br_resize_event_handler):
2410 Corner handles will now maintain the current aspect ratio if the
2411 control key is pressed while resizing. This addresses feature
2415 2004-01-31 Jim Evins <evins@snaught.com>
2418 * data/avery-us-templates.xml:
2419 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2421 * libglabels/template.c: (read_template_files_from_dir):
2422 Corrected problem with testing for extensions.
2424 * src/object-editor.glade:
2425 Corrected grouping of radio buttons in barcode data page.
2427 * src/print.c: (draw_barcode_object):
2428 * src/view-barcode.c: (draw_barcode):
2429 Corrected problem with calculation of y_offset for locating characters.
2431 2004-01-24 Jim Evins <evins@snaught.com>
2434 * data/avery-us-templates.xml:
2435 Added Avery 5824, submitted by Fred Bacon.
2437 2004-01-20 Jim Evins <evins@snaught.com>
2439 Catching up on a couple of backlogged user template submissions.
2441 * data/avery-iso-templates.xml:
2442 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2443 Suggested by Linas Jakucionis.
2445 * data/zweckform-iso-templates.xml:
2446 Added Zweckform 4760, submitted by Thomas Vill.
2449 Updated to reflect above submissions.
2451 2004-01-06 Jim Evins <evins@snaught.com>
2453 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2454 xml.[ch] into a separate library called libglabels, to facilitate third
2455 party use of glabels template files. This was suggested by Wayne Schuller.
2456 Once split-out, some modifications to the structures and functions to
2457 make a cleaner more useful API, hopefully. Rather extensive changes have
2458 propogated to other modules.
2466 * src/xml-template.h:
2467 * src/xml-template.c:
2470 These files have been moved to libglabels/. API cleanup performed.
2472 * libglabels/libglabels.h:
2473 * libglabels/libglabels-private.h:
2474 * libglabels/Makefile.am:
2475 These files have been added to finish out libglabels.
2482 Modified to reflect new sets of files in src/ and libglabels/.
2484 * COPYING.LIBGLABELS:
2486 Added copy of the LGPL for libglabels, and a copy the GFDL for
2489 * src/glabels-batch.c:
2491 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2492 (gl_label_get_size):
2494 * src/prefs-model.c: (gl_prefs_model_load_settings):
2495 * src/print-dialog.c:
2496 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2497 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2498 (print_crop_marks), (print_label), (draw_outline),
2499 (clip_to_outline), (clip_punchouts):
2500 * src/template-designer.c: (construct_pg_size_page),
2501 (pg_size_page_changed_cb), (layout_page_changed_cb),
2502 (print_test_cb), (build_template):
2503 * src/util.c: (gl_util_fraction):
2505 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2506 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2507 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2508 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2509 (draw_markup_margin_round), (draw_markup_margin_cd),
2510 (draw_markup_margin_cd_bc), (draw_markup_line),
2511 (draw_markup_circle), (gl_view_copy):
2512 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2513 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2514 (get_label_size_desc):
2515 * src/wdgt-mini-preview.c:
2516 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2518 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2519 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2520 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2521 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2522 * src/wdgt-rotate-label.h:
2523 * src/xml-label-04.c: (xml04_parse_media_description):
2524 * src/xml-label-191.c: (gl_xml_label_191_parse),
2525 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2526 (xml191_parse_markup), (xml191_parse_alias):
2527 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2529 Various changes to accomodate new libglabels API.
2531 2004-01-03 Jim Evins <evins@snaught.com>
2536 2004-01-03 Jim Evins <evins@snaught.com>
2539 Added acknowledgement of contributions by Wayne Schuller.
2541 * src/commands.c: (gl_cmd_file_print):
2542 Create extra reference to print dialog, so that it can be properly re-used.
2544 * src/mygal/mygal-combo-box.h:
2545 * src/mygal/mygal-combo-box.c:
2546 (mygal_combo_box_popup_hide_unconditional),
2547 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2548 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2549 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2550 (mygal_combo_box_set_tearable):
2551 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2552 complete the rename of this widget to prevent namespace collisions
2555 * src/prefs-dialog.glade:
2556 Fixed alignment of Fill/Color widgets.
2558 2004-01-03 Jim Evins <evins@snaught.com>
2560 * data/avery-iso-templates.xml:
2561 Added user submitted templates.
2562 Avery 8435A & 8435B, submitted by Ludger Solbach.
2564 * doc/C/glabels.xml:
2565 Added minimal documentation, noting the new template designer.
2567 2004-01-03 Jim Evins <evins@snaught.com>
2569 * pixmaps/ex-rect-size.png:
2570 * pixmaps/ex-round-size.png:
2571 * pixmaps/ex-cd-size.png:
2572 * pixmaps/Makefile.am:
2573 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2574 files to be used as illustrations/examples in the template-designer.
2576 * src/template-designer.c: (construct_rect_size_page),
2577 (construct_round_size_page), (construct_cd_size_page),
2578 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2579 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2580 (layout_page_prepare_cb), (build_template):
2581 * src/template-designer.glade:
2582 Added illustrations for rectangle, round, and cd label size pages.
2583 Added margin spinboxes to these pages, and now add a margin markup
2584 to the constructed template. Added realistic default values for
2585 some of the size spinboxes. Cleaned up the code for setting spinbox
2586 ranges on the layouts page.
2588 2004-01-02 Jim Evins <evins@snaught.com>
2590 * src/object-editor-size-page.c: (h_spin_cb):
2591 Fixed cut-n-paste error in h_spin_cb that loaded h from
2592 the wrong spinbutton.
2594 * src/object-editor.h:
2595 * src/object-editor.c: (gl_object_editor_class_init),
2596 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2597 * src/object-editor-private.h:
2598 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2600 Added "size_changed" signal.
2602 * src/view-text.c: (construct_properties_editor),
2603 (update_object_from_editor_cb),
2604 (update_object_from_editor_size_cb):
2605 Track size changes from object editor separately from other
2606 properties. This is so the default size (0,0) of a text
2607 object is not modified unintentionally.
2609 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2611 Added feature: line spacing - allows you to comfortably space a text box to
2612 fit a label perfectly.
2614 * data/glabels-2.0.dtd:
2615 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2616 (gl_label_object_get_text_alignment),
2617 (gl_label_object_get_text_line_spacing):
2618 * src/label-object.h:
2619 * src/label-text.c: (gl_label_text_class_init),
2620 (gl_label_text_instance_init), (copy), (get_size),
2621 (set_text_line_spacing), (get_text_alignment),
2622 (get_text_line_spacing):
2623 * src/object-editor-private.h:
2624 * src/object-editor-text-page.c:
2625 (gl_object_editor_prepare_text_page),
2626 (gl_object_editor_set_text_line_spacing),
2627 (gl_object_editor_get_text_line_spacing):
2628 * src/object-editor.glade:
2629 * src/object-editor.h:
2630 * src/prefs-dialog.c: (construct_object_page),
2631 (update_object_page_from_prefs), (update_prefs_from_object_page):
2632 * src/prefs-dialog.glade:
2633 * src/prefs-model.c: (gl_prefs_model_save_settings),
2634 (gl_prefs_model_load_settings), (get_float):
2635 * src/prefs-model.h:
2636 * src/print.c: (draw_text_object):
2638 * src/view-text.c: (update_object_from_editor_cb),
2639 (update_editor_from_object_cb),
2640 (gl_view_text_create_event_handler), (draw_hacktext):
2641 * src/view.c: (gl_view_construct),
2642 (gl_view_set_selection_text_line_spacing),
2643 (gl_view_set_default_text_line_spacing),
2644 (gl_view_get_default_text_line_spacing):
2646 * src/xml-label.c: (xml_parse_toplevel_span),
2647 (xml_create_toplevel_span):
2649 2003-12-30 Jim Evins <evins@snaught.com>
2651 * src/template-designer.c:
2652 * src/template-designer.h:
2653 * src/template-designer.glade:
2654 New template designer assistant.
2658 Added entries for src/template-designer.* files.
2660 * pixmaps/ex-1layout.png
2661 * pixmaps/ex-2layouts.png
2662 * pixmaps/Makefile.am:
2663 Added the new image files ex-*.png used as illustrations in the
2664 template designer assistant.
2666 * src/print-dialog.h:
2667 * src/print-dialog.c: (gl_print_dialog_finalize),
2668 (gl_print_dialog_new), (gl_print_dialog_construct),
2669 (gl_print_dialog_force_outline_flag):
2670 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2671 to support printing from the template designer assistant which does not
2672 have a full-fledged view. Nothing else from the view object was being
2673 used by the dialog anyway.
2675 Added the gl_print_dialog_force_outline_flag() method, for better
2676 integration with the template designer assistant.
2680 * src/commands.c: (gl_cmd_file_template_designer),
2681 (gl_cmd_file_print):
2682 Modified print command to provide label instead of view to dialog.
2683 Added the gl_cmd_file_template_designer() command to invoke the
2684 template designer assistant.
2687 * src/glabels-ui.xml:
2688 Added support for template designer assistant.
2690 * src/wdgt-mini-preview.h:
2691 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2692 (gl_wdgt_mini_preview_set_bg_color):
2693 Preview is now centered in canvas. Added
2694 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2695 assistant to match the background color with its own.
2697 * src/print.c: (clip_to_outline):
2698 Fixed really stupid bug when adding waste to clip region of rectangular
2699 labels/cards. Each side of the clip region needs to be extended by
2700 twice the waste margin, as well as negatively offset by the waste
2703 2003-12-28 Jim Evins <evins@snaught.com>
2705 * src/prefs-dialog.c: (update_object_page_from_prefs):
2706 Block intermediary function align_toggle_cb() instead of
2707 update_prefs_from_object_page() for the three alignment
2710 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2712 * src/file.c: (gl_file_new), (gl_file_properties):
2713 Swap button order and set default for higificatory pleasure.
2715 2003-12-27 Jim Evins <evins@snaught.com>
2717 * barcode-0.98/Makefile.am:
2718 One last time: removed doc/Makefile and po/Makefile.in.in from
2721 2003-12-27 Jim Evins <evins@snaught.com>
2723 * barcode-0.98/Makefile.am:
2724 Removed config.stat entry from EXTRA_DIST files.
2726 * barcode-0.98/Makefile.in:
2729 2003-12-27 Jim Evins <evins@snaught.com>
2732 Updated to work with latest gnome-common package from CVS.
2733 Removed recursive configuration of barcode-0.98.
2740 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2742 * barcode-0.98/Makefile.in:
2743 * barcode-0.98/configure.in:
2744 * barcode-0.98/Makefile.am:
2745 * barcode-0.98/README.glabels:
2746 Modified to ignore the barcode package's build system, and build
2747 as a part of glabels.
2748 Renamed Makefile.in to Makefile.in.dist.
2749 Renamed configure.in to configure.in.dist.
2750 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2753 * src/mygal/Makefile.am:
2754 * src/recent-files/Makefile.am:
2755 In order to build against the GNOME 2.5 platform,
2756 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2758 * src/mygal/Makefile.am:
2759 * src/mygal/mygal-combo-box.c:
2760 * src/mygal/mygal-combo-box.h:
2761 * src/mygal/widget-color-combo.c:
2762 * src/mygal/widget-color-combo.h:
2764 In order to build against the GNOME 2.5 platform,
2765 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2766 collisions with the real gtk_combo_box widget, now a part of gtk.
2768 2003-12-26 Jim Evins <evins@snaught.com>
2774 Moved local versions of get_home_data_dir() in paper.c and
2775 template.c to util package. Cleaned up formatting in
2779 In gl_template_register() save a copy of the template in
2780 ~/.glabels if the template is not known. Still need to
2781 handle duplicate filename case and duplicate name but
2782 different template case.
2786 Moved local definition of NAME_SPACE macro from xml-label.c
2789 * src/xml-template.c:
2790 * src/xml-template.h:
2791 Added function gl_xml_template_write_template_to_file(), used
2792 in gl_template_register().