1 2007-01-15 Jim Evins <evins@snaught.com>
3 * data/glade/Makefile.am:
4 * data/glade/print-custom-widget.glade:
9 * src/template-designer.c: (print_test_cb):
10 * src/ui-commands.c: (gl_ui_cmd_file_print):
11 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
12 * src/wdgt-print-merge.h:
13 * src/window.c: (gl_window_init):
15 Initial conversion to GtkPrintOperation.
17 - Remove font and other libgnomeprint[ui] from elsewhere
18 - Add batch initialization of print operation
20 2007-01-08 Jim Evins <evins@snaught.com>
22 Updated dependencies. Set version to 2.1.pre4cvs.
24 2007-01-03 Jim Evins <evins@snaught.com>
27 Removed EggRecent stuff.
36 Ported from EggRecent to GtkRecentManager.
39 2007-01-02 Jim Evins <evins@snaught.com>
42 * iec16022-0.2.1/BUGS:
43 * iec16022-0.2.1/CHANGELOG:
44 * iec16022-0.2.1/CREDITS:
45 * iec16022-0.2.1/INSTALL:
46 * iec16022-0.2.1/LICENSE:
47 * iec16022-0.2.1/Makefile.am:
48 * iec16022-0.2.1/Makefile.dist:
49 * iec16022-0.2.1/README:
50 * iec16022-0.2.1/README.glabels:
51 * iec16022-0.2.1/TODO:
52 * iec16022-0.2.1/iec16022.1:
53 * iec16022-0.2.1/iec16022.c:
54 * iec16022-0.2.1/iec16022ecc200.c:
55 * iec16022-0.2.1/iec16022ecc200.h:
56 * iec16022-0.2.1/image.c:
57 * iec16022-0.2.1/image.h:
58 * iec16022-0.2.1/reedsol.c:
59 * iec16022-0.2.1/reedsol.h:
60 * iec16022-0.2.1/test/testsuite-example.bin:
61 * iec16022-0.2.1/test/testsuite-example.eps:
62 * iec16022-0.2.1/test/testsuite-example.hex:
63 * iec16022-0.2.1/test/testsuite-example.png:
64 * iec16022-0.2.1/test/testsuite-example.text:
65 * iec16022-0.2.1/test/testsuite.sh:
66 Include modified copy of iec16022-0.2.1 to provide encoding
67 support for datamatrix 2D barcodes.
72 Added initial datamatrix 2D barcode backend to barcode code.
75 Automatic updates to later versions of these files.
77 2006-11-28 Jim Evins <evins@snaught.com>
79 * data/templates/avery-iso-templates.xml:
80 * data/templates/avery-us-templates.xml:
81 * data/templates/categories.xml:
82 * data/templates/misc-iso-templates.xml:
83 * data/templates/misc-us-templates.xml:
84 * data/templates/zweckform-iso-templates.xml:
87 2006-09-12 Jim Evins <evins@snaught.com>
89 * data/dtd/glabels-2.0.dtd:
90 * data/templates/Makefile.am:
91 * data/templates/avery-iso-templates.xml:
92 * data/templates/avery-other-templates.xml:
93 * data/templates/avery-us-templates.xml:
94 * data/templates/categories.xml:
95 * data/templates/misc-iso-templates.xml:
96 * data/templates/misc-other-templates.xml:
97 * data/templates/zweckform-iso-templates.xml:
98 * data/glade/Makefile.am:
99 * data/glade/new-label-dialog.glade:
100 * data/glade/wdgt-media-select.glade:
101 * data/glade/wdgt-rotate-label.glade:
102 * libglabels/Makefile.am:
103 * libglabels/category.c:
104 * libglabels/category.h:
105 * libglabels/libglabels.h:
106 * libglabels/paper.c:
107 * libglabels/template.c:
108 * libglabels/template.h:
109 * libglabels/xml-category.c:
110 * libglabels/xml-category.h:
111 * libglabels/xml-template.c:
112 Added support for category meta data.
115 * src/mini-preview-pixbuf.c:
116 * src/mini-preview-pixbuf.h:
117 * src/new-label-dialog.c:
118 * src/new-label-dialog.h:
119 * src/wdgt-media-select.c:
120 * src/wdgt-media-select.h:
121 * src/wdgt-rotate-label.c:
122 * src/wdgt-rotate-label.h:
123 New "new label" dialog.
125 2006-05-27 Jim Evins <evins@snaught.com>
130 Preparation for 2.1.3.
136 2006-05-22 Jim Evins <evins@snaught.com>
138 * src/print.c: (draw_barcode_object):
139 Don't print "Invalid barcode data" if data field is empty. Patch provided
140 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
142 Added acknowledgment for above patch.
143 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
144 * src/bc-postnet.c: (postnet_code):
145 Removed "Invalid barcode data" warnings from stderr.
146 * src/view-barcode.c: (draw_barcode):
147 Draw box around barcode extent if data empty or invalid. Center a
148 message whether the data is empty or invalid in box.
150 2006-05-22 Jim Evins <evins@snaught.com>
152 * src/print.c: (draw_text_object):
153 Check shadow state when printing text.
155 2006-05-20 Jim Evins <evins@snaught.com>
157 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
158 (gl_ui_cmd_view_markup_toggle):
159 Fixed crash when grid or markup have been toggled off during
160 a previous session. Bug #1434324.
162 2006-04-05 Jim Evins <evins@snaught.com>
164 * src/object-editor.c: (gl_object_editor_set_key_names):
165 Fixed potential crash when freeing empty key list.
167 2006-03-11 Jim Evins <evins@snaught.com>
169 * src/print.c: (draw_text_object):
170 * src/view-text.c: (gl_view_text_new),
171 (construct_properties_editor), (update_object_from_editor_cb),
172 (update_editor_from_object_cb), (update_editor_from_label_cb),
174 Added shadow support to text object.
176 2006-02-18 Jim Evins <evins@snaught.com>
178 * src/print.c: (draw_line_object):
179 * src/view-line.c: (gl_view_line_new),
180 (construct_properties_editor), (update_canvas_item_from_object_cb),
181 (update_object_from_editor_cb), (update_editor_from_object_cb),
182 (update_editor_from_label_cb):
183 Added shadow support to line object.
185 2006-02-16 Jim Evins <evins@snaught.com>
189 * src/print.c: (draw_ellipse_object):
190 * src/view-ellipse.c: (gl_view_ellipse_new),
191 (construct_properties_editor), (update_canvas_item_from_object_cb),
192 (update_object_from_editor_cb), (update_editor_from_object_cb),
193 (update_editor_from_label_cb):
194 Added shadow support to ellipse object.
196 2006-02-15 Jim Evins <evins@snaught.com>
198 * src/label-object.c:
199 Changed default shadow offsets.
200 * src/view-box.c: (gl_view_box_new):
201 Simplified gl_view_box_new() so that is does not duplicate code
202 in update_canvas_item_from_object_cb().
204 2006-02-07 Jim Evins <evins@snaught.com>
206 * data/glade/object-editor.glade:
207 Fixed color groups of color combos.
209 Added default shadow color.
210 * src/object-editor.c: (gl_object_editor_construct_color_combo):
211 Added shadow color group.
213 2006-02-06 Jim Evins <evins@snaught.com>
215 * src/object-editor-shadow-page.c:
216 Forgot to add this file.
217 * src/view-box.c: (gl_view_box_new),
218 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
219 Update limits on shadow offset spinbuttons.
221 2006-01-19 Jim Evins <evins@snaught.com>
223 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
224 Initialize key_list to NULL.
225 * data/glade/object-editor.glade:
229 * src/label-object.c:
230 * src/label-object.h:
231 * src/object-editor-fill-page.c:
232 * src/object-editor-private.h:
233 * src/object-editor.c:
234 * src/object-editor.h:
236 Created infrastructure for shadow support.
239 Initial shadow support in box object only.
241 2006-01-05 Jim Evins <evins@snaught.com>
243 * src/merge-properties-dialog.c: (src_changed_cb):
244 Be extra paranoid before calling strcmp().
245 * src/merge.c: (gl_merge_set_src):
246 Don't make (merge == NULL) a critical error.
248 2005-12-22 Jim Evins <evins@snaught.com>
250 * src/glabels-batch.c: (main):
251 Compile warning free with gcc 4.0.
253 2005-12-21 Jim Evins <evins@snaught.com>
256 Updated example RPM spec file.
258 2005-12-21 Jim Evins <evins@snaught.com>
262 Preparation for 2.1.2.
264 2005-12-20 Jim Evins <evins@snaught.com>
267 Define unique G_LOG_DOMAIN for glabels.
268 * src/critical-error-handler.c: (gl_critical_error_handler_init):
269 * src/warning-handler.c: (gl_warning_handler_init),
271 Register for G_LOG_DOMAIN instead of NULL.
273 2005-12-10 Jim Evins <evins@snaught.com>
275 * src/merge-evolution.c:
279 2005-12-08 Jim Evins <evins@snaught.com>
281 * libglabels/paper.c: (read_paper_files_from_dir):
282 * libglabels/template.c: (gl_template_register),
283 (read_template_files_from_dir):
284 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
285 (gl_xml_paper_parse_papers_doc):
286 * libglabels/xml-template.c:
287 (gl_xml_template_read_templates_from_file),
288 (gl_xml_template_parse_templates_doc),
289 (gl_xml_template_parse_template_node),
290 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
291 (xml_parse_label_cd_node), (xml_parse_layout_node),
292 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
293 (xml_parse_markup_circle_node),
294 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
295 * libglabels/xml.c: (gl_xml_get_prop_length):
296 Re-classified g_warnings to g_messages.
298 * src/glabels.c: (main):
299 * src/warning-handler.c: (gl_warning_handler_init),
301 * src/warning-handler.h:
302 Added warning message handler to make sure the user is
303 presented with appropriate non-fatal errors.
304 * src/critical-error-handler.c: (critical_error_handler):
305 Changed exit to abort.
306 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
307 * src/bc-postnet.c: (postnet_code):
308 * src/bc.c: (id_to_index), (name_to_index):
309 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
310 * src/object-editor.c: (gl_object_notebook_construct_valist):
311 * src/prefs-dialog.c: (update_locale_page_from_prefs):
312 * src/prefs.c: (gl_prefs_get_units_per_point),
313 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
314 (gl_prefs_get_units_string):
315 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
316 * src/splash.c: (gl_splash):
317 * src/ui-commands.c: (gl_ui_cmd_help_contents):
318 * src/view-highlight.c: (gl_view_highlight_new),
319 (highlight_resizable_box_construct), (object_changed_cb),
320 (view_scale_changed_cb):
321 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
322 (draw_markup_layer), (draw_markup_margin),
323 (gl_view_object_create_mode), (canvas_event),
324 (selection_received_cb):
325 * src/wdgt-mini-preview.c: (mini_outline_list_new):
326 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
327 * src/xml-label-04.c: (gl_xml_label_04_parse),
328 (xml04_parse_media_description), (xml04_parse_text_props),
329 (xml04_parse_barcode_props):
330 * src/xml-label-191.c: (gl_xml_label_191_parse),
331 (xml191_parse_objects), (xml191_parse_object),
332 (xml191_parse_text_props), (xml191_parse_image_props),
333 (xml191_parse_barcode_props), (xml191_parse_data),
334 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
335 (xml191_parse_markup):
336 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
337 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
338 (xml_parse_object_text), (xml_parse_object_image),
339 (xml_parse_object_barcode), (xml_parse_data),
340 (xml_parse_toplevel_span), (gl_xml_label_save),
341 (xml_create_objects):
342 Re-classified g_warnings to g_messages.
343 * src/merge-evolution.c: (gl_merge_evolution_open),
344 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
345 Use g_warning to output errors encountered while
346 communicating with the evolution data server
347 instead of embedding them in the data.
349 2005-12-08 Jim Evins <evins@snaught.com>
351 * libglabels/libglabels-private.h:
353 * libglabels/paper.c: (read_papers):
354 * libglabels/template.c: (read_templates):
355 Made appropriate warnings critical.
357 * src/critical-error-handler.h:
358 * src/critical-error-handler.c: (gl_critical_error_handler_init),
359 (critical_error_handler):
360 Created critical error handler.
361 * src/glabels.c: (main):
362 Register critical error handler.
363 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
364 * src/object-editor.c: (gl_object_editor_init):
365 * src/prefs-dialog.c: (gl_prefs_dialog_init):
366 * src/template-designer.c: (gl_template_designer_init):
367 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
368 Made appropriate warnings critical.
370 2005-11-27 Jim Evins <evins@snaught.com>
372 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
373 (gl_merge_evolution_get_primary_key),
374 (gl_merge_evolution_get_record):
375 Don't create "record_key" pseudo-key. Don't populate
376 fields with null data.
378 2005-11-25 Jim Evins <evins@snaught.com>
380 * src/merge-evolution.c: (gl_merge_evolution_finalize),
381 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
382 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
384 Query EDS for all supported fields. Patch provided by
385 Austin Henry <ahenry@users.sourceforge.net>.
387 2005-10-29 Jim Evins <evins@snaught.com>
389 * src/glabels.c: (main):
390 * src/label-barcode.c: (gl_label_barcode_finalize):
391 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
392 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
393 * src/object-editor.c: (gl_object_editor_finalize):
394 Another pass at valgrinding -- plugged several memory leaks.
395 * src/view-text.c: (gl_view_text_new),
396 (update_canvas_item_from_object_cb), (draw_hacktext):
397 Commented out artifacts of edit-in-place code.
399 2005-10-28 Jim Evins <evins@snaught.com>
401 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
402 Fixed use of uninitialized variable. Caught by
403 d binderman <dcb314@hotmail.com>.
405 2005-10-27 Jim Evins <evins@snaught.com>
407 * src/merge-evolution.c: (gl_merge_evolution_get_record):
408 * src/merge-vcard.c: (gl_merge_vcard_get_record),
410 Additional cleanup of EDS and vcard backends. Provided by
411 Austin Henry <ahenry@users.sourceforge.net>.
413 2005-10-24 Jim Evins <evins@snaught.com>
417 * src/merge-evolution.c:
418 * src/merge-evolution.h:
419 * src/merge-init.c: (gl_merge_init):
420 * src/merge-properties-dialog.c: (type_changed_cb):
423 * src/ui-commands.c: (gl_ui_cmd_help_about):
424 Added Evolution Data Server and VCard merge backends. Original patch
425 provided by Austin Henry <ahenry@users.sourceforge.net>.
427 Only support EDS and VCard backends if libebook is installed. Allow
428 user to disable support, even if installed.
430 2005-10-24 Jim Evins <evins@snaught.com>
433 * data/templates/avery-iso-templates.xml:
434 * data/templates/avery-us-templates.xml:
435 * data/templates/misc-iso-templates.xml:
436 * data/templates/zweckform-iso-templates.xml:
437 Collected all template changes and submissions since last
440 2005-10-23 Jim Evins <evins@snaught.com>
443 * data/mime/Makefile.am:
444 Added configure options to disable update-mime-database and
445 update-desktop-database as part of the install. Patch
446 provided by Leonardo Boshell (qhoracio@sourceforge.net).
448 2005-10-23 Jim Evins <evins@snaught.com>
451 * libglabels/xml.c: (gl_xml_get_prop_string),
452 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
453 (gl_xml_is_node), (gl_xml_get_node_content):
454 Added new XML utility functions.
455 * libglabels/xml-paper.c:
456 * libglabels/xml-template.c:
458 Cleanup by using new xml utilities created above.
459 * libglabels/paper.c: (gl_paper_free):
460 * src/file.c: (new_response):
461 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
462 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
463 (gl_pixbuf_cache_get_pixbuf):
464 * src/ui-property-bar.c:
465 (gl_ui_property_bar_construct_color_combo):
466 * src/view-highlight.c: (gl_view_highlight_finalize):
467 * src/view-image.c: (update_object_from_editor_cb):
468 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
469 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
470 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
471 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
472 (draw_markup_margin_round), (draw_markup_margin_cd),
473 (draw_markup_margin_cd_bc):
474 * src/wdgt-mini-preview.c: (mini_outline_list_new):
475 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
476 Plugged various memory leaks located with valgrind.
477 * src/view-image.c: (update_canvas_item_from_object_cb):
478 Don't allow a width or height of zero when drawing pixbuf.
480 2005-10-22 Jim Evins <evins@snaught.com>
482 * libglabels/xml-paper.c:
483 * libglabels/xml-template.c:
486 * src/bc-gnubarcode.c:
487 * src/canvas-hacktext.c:
489 * src/object-editor-data-page.c:
490 * src/print-dialog.c:
493 * src/template-designer.c:
495 * src/ui-property-bar.c:
497 * src/view-barcode.c:
499 * src/view-ellipse.c:
504 * src/wdgt-media-select.c:
505 * src/xml-label-04.c:
506 * src/xml-label-191.c:
508 Modified to compile warning free with gcc-4.0. Mostly
509 casting to change signedness of characters. Did not
510 attack gnu-barcode library yet.
512 2005-10-22 Jim Evins <evins@snaught.com>
514 * src/glabels.c: (main):
515 * src/splash.c: (gl_splash):
516 Removed some small memory leaks.
520 2005-09-19 Jim Evins <evins@snaught.com>
522 * data/glade/property-bar.glade:
523 Remove items from font_family_combo. This prevents the
524 double entry after adding text model and list of fonts.
525 * src/ui-property-bar.c: (reset_to_default_properties):
526 Free font_family_list.
528 2005-07-01 Jim Evins <evins@snaught.com>
531 Updated italian translation (Daniele Medri)
533 2005-06-26 Jim Evins <evins@snaught.com>
535 * docs/libglabels/libglabels-decl-list.txt:
536 Somehow never got checked in before.
537 * docs/libglabels/libglabels.types:
538 Removed -- don't need it afterall.
540 2005-06-20 Jim Evins <evins@snaught.com>
543 Final prep for 2.1.1 release.
545 2005-06-20 Jim Evins <evins@snaught.com>
548 Final preps for 2.1.1 release.
549 * docs/libglabels/libglabels.types:
550 Somehow never got checked in before.
552 Bring up-to-date with recent reorg of ui code.
555 2005-06-19 Jim Evins <evins@snaught.com>
557 * src/template-designer.c: (construct_layout_page):
558 Removed attempt to match background color of mini preview widget to
561 2005-06-17 Jim Evins <evins@snaught.com>
563 * help/C/figures/merge-ex2-4.png:
564 * help/C/glabels.xml:
565 Fixed spelling error.
567 2005-06-13 Jim Evins <evins@snaught.com>
569 * help/C/figures/merge-ex1-1.png:
570 * help/C/figures/merge-ex1-2.png:
571 * help/C/figures/merge-ex1-3.png:
572 * help/C/figures/merge-ex1-4.png:
573 * help/C/figures/merge-ex2-1.png:
574 * help/C/figures/merge-ex2-2.png:
575 * help/C/figures/merge-ex2-3.png:
576 * help/C/figures/merge-ex2-4.png:
577 Added figures for document merge tutorial.
578 * help/C/glabels.xml:
579 Added document merge tutorial.
581 2005-05-19 Jim Evins <evins@snaught.com>
583 * data/glade/merge-properties-dialog.glade:
584 Fixed irregular spacing.
585 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
586 (gl_merge_properties_dialog_construct):
587 Set outer padding and remove separator.
589 2005-05-18 Jim Evins <evins@snaught.com>
593 Removed glHigDialog class.
594 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
595 (gl_file_properties), (create_properties_dialog_widgets):
596 * src/prefs-dialog.h:
597 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
598 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
599 * src/print-dialog.h:
600 * src/prefs-dialog.h:
601 * src/print-dialog.c: (gl_print_dialog_get_type),
602 (gl_print_dialog_init), (gl_print_dialog_construct):
603 Replaced all instances of glHigDialog with GtkDialog.
605 2005-05-17 Jim Evins <evins@snaught.com>
609 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
610 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
611 (save_as_response), (gl_file_close):
612 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
614 2005-05-15 Jim Evins <evins@snaught.com>
624 A little code reformatting -- no functional changes.
626 2005-05-14 Jim Evins <evins@snaught.com>
629 Removed obsolete macros.
631 Added marshalling template to support new view signal: "context_menu_activate."
633 * src/view.c: (gl_view_class_init), (gl_view_construct),
634 (canvas_event_arrow_mode):
635 - Removed hardcoded context menus and added new signal "context_menu_activate"
636 to push this up to the uimanager.
637 - Removed merge properties and print dialogs so that they can be managed with
638 the window by the uimanager.
639 * src/merge-properties-dialog.h:
640 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
641 (gl_merge_properties_dialog_construct):
642 Changed calling convention of gl_merge_properties_dialog_new() to use
643 glLabel and GtkWindow instead of view to make more consistent with other
645 * src/print-dialog.h:
646 * src/print-dialog.c: (gl_print_dialog_new),
647 (gl_print_dialog_construct):
648 Removed last artifact of libbonoboui.
649 * src/ui-commands.c: (gl_ui_cmd_file_print),
650 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
651 Reconciled style for launching dialogs.
652 * src/ui.c: (gl_ui_new):
653 Added context menus to ui manager.
654 * src/view-object.c: (item_event_arrow_mode):
655 No longer try to select objects with right-click.
657 * src/window.c: (gl_window_init), (gl_window_set_label),
658 (context_menu_activate_cb):
659 Context menus and all dialogs are now managed in a consistent way in window
662 2005-05-11 Jim Evins <evins@snaught.com>
665 * src/window.c: (gl_window_init), (gl_window_destroy):
666 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
667 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
668 Moved management of recent_view back from window.c to ui.c -- it just feels
671 2005-05-10 Jim Evins <evins@snaught.com>
674 * src/window.c: (gl_window_init):
676 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
677 (menu_item_select_cb), (menu_item_deselect_cb):
678 Added GtkStatusbar which displays menu tooltips.
680 2005-05-09 Jim Evins <evins@snaught.com>
682 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
687 Removed dependencies on libbonoboui.
689 * data/ui/Makefile.am:
690 * data/ui/glabels-ui.xml:
691 Removed data/ui directory.
692 * data/glade/Makefile.am:
693 * data/property-bar.glade:
694 Added glade description of property-bar for new libglade implementation
703 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
704 since the distinction between "commands" and "tools" is no longer that clear.
707 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
708 no longer has knowledge of eggRecent*.
709 * src/glabels.c: (main):
710 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
712 * src/object-editor.c: (gl_object_editor_init):
713 Make sure notebook does not respond to a "show_all" on the parent.
714 * src/recent-files/Makefile.am:
715 * src/recent-files/*.[ch]
716 Updated from latest version of libegg which now has a view based on
717 GtkUIManager. Removed unused bonobo and gtk views.
718 * src/ui-property-bar.h:
719 * src/ui-property-bar.c:
720 New implementation based on libglade.
723 Sidebar is now simply a GtkWidget and does not expect to be a part of
724 a libbonoboui interface.
729 Converted for use with GtkUIManager.
732 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
733 to create menus and toolbars.
735 2005-04-25 Jim Evins <evins@snaught.com>
737 * data/templates/misc-iso-templates.xml:
738 Added Fellows 04715 template provided by Steve Saxon.
740 Updated acknowledgement for above.
742 2005-04-23 Jim Evins <evins@snaught.com>
744 * src/util.c: (gl_util_combo_box_set_strings):
745 Make sure to clear model before loading a new list of strings.
746 * src/wdgt-media-select.h:
747 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
748 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
749 (template_combo_changed_cb), (prefs_changed_cb),
750 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
751 (gl_wdgt_media_select_get_page_size),
752 (gl_wdgt_media_select_set_page_size):
753 Replaced the deprecated GtkCombo widget with the new
756 2005-04-21 Jim Evins <evins@snaught.com>
758 * data/glade/template-designer.glade:
759 * src/template-designer.c: (construct_pg_size_page),
760 (pg_size_page_changed_cb), (build_template):
761 Replaced the deprecated GtkCombo widget with the new
764 2005-04-20 Jim Evins <evins@snaught.com>
766 * data/glade/prefs-dialog.glade:
767 * src/prefs-dialog.c: (construct_object_page),
768 (update_object_page_from_prefs), (update_prefs_from_object_page):
769 Replaced the deprecated GtkCombo widget with the new
772 2005-04-19 Jim Evins <evins@snaught.com>
774 * data/glade/object-editor.glade:
775 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
776 (style_changed_cb), (gl_object_editor_set_bc_style),
777 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
778 (gl_object_editor_get_bc_color):
779 * src/object-editor-data-page.c:
780 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
781 (gl_object_editor_get_data):
782 * src/object-editor-edit-page.c:
783 (gl_object_editor_prepare_edit_page), (insert_button_cb):
784 * src/object-editor-fill-page.c:
785 (gl_object_editor_prepare_fill_page),
786 (gl_object_editor_set_fill_color),
787 (gl_object_editor_get_fill_color):
788 * src/object-editor-image-page.c:
789 (gl_object_editor_prepare_image_page),
790 (gl_object_editor_set_image), (gl_object_editor_get_image):
791 * src/object-editor-line-page.c:
792 (gl_object_editor_prepare_line_page),
793 (gl_object_editor_set_line_color),
794 (gl_object_editor_get_line_color):
795 * src/object-editor-private.h:
796 * src/object-editor-text-page.c:
797 (gl_object_editor_prepare_text_page),
798 (gl_object_editor_set_font_family),
799 (gl_object_editor_get_font_family),
800 (gl_object_editor_set_text_color),
801 (gl_object_editor_get_text_color):
802 * src/object-editor.c: (gl_object_editor_set_key_names):
804 In the object editor: replaced all instances of the deprecated
805 GtkCombo widget with the new GtkComboBox.
807 2005-04-18 Jim Evins <evins@snaught.com>
810 Neglected to save this one in previous checkin to support
813 2005-04-17 Jim Evins <evins@snaught.com>
815 * libglabels/libglabels-private.h:
816 * libglabels/paper.c:
817 * libglabels/paper.h:
818 * libglabels/template.c:
819 * libglabels/template.h:
820 * libglabels/xml-paper.c:
821 * libglabels/xml-paper.h:
822 * libglabels/xml-template.c:
827 * src/bc-gnubarcode.c:
838 * src/label-barcode.c:
840 * src/label-ellipse.c:
844 * src/label-object.c:
848 * src/merge-properties-dialog.c:
849 * src/object-editor-bc-page.c:
850 * src/object-editor-data-page.c:
851 * src/object-editor-edit-page.c:
852 * src/object-editor-fill-page.c:
853 * src/object-editor-image-page.c:
854 * src/object-editor-line-page.c:
855 * src/object-editor-lsize-page.c:
856 * src/object-editor-position-page.c:
857 * src/object-editor-private.h:
858 * src/object-editor-size-page.c:
859 * src/object-editor-text-page.c:
860 * src/object-editor.c:
861 * src/object-editor.h:
862 * src/pixbuf-cache.h:
863 * src/prefs-dialog.c:
864 * src/prefs-dialog.h:
868 * src/print-dialog.c:
869 * src/print-dialog.h:
877 * src/template-designer.c:
878 * src/template-designer.h:
881 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
887 * src/view-barcode.c:
889 * src/view-ellipse.c:
890 * src/view-highlight.c:
891 * src/view-highlight.h:
899 * src/wdgt-chain-button.c:
900 * src/wdgt-media-select.c:
901 * src/wdgt-media-select.h:
902 * src/wdgt-mini-preview.c:
903 * src/wdgt-mini-preview.h:
904 * src/wdgt-print-copies.c:
905 * src/wdgt-print-copies.h:
906 * src/wdgt-print-merge.c:
907 * src/wdgt-print-merge.h:
908 * src/wdgt-rotate-label.c:
909 * src/wdgt-rotate-label.h:
912 * src/xml-label-04.c:
913 * src/xml-label-191.c:
915 Cleanup of header files:
916 - all header files are now stand-alone, verified by including
917 first in corresponding "c" files
918 - replaced blanket includes of gnome, gtk, and glib with
921 2005-04-16 Jim Evins <evins@snaught.com>
923 * data/glade/Makefile.am:
924 * data/glade/merge-properties-dialog.glade:
925 Added merge properties dialog glade description file.
926 * src/merge-properties-dialog.h:
927 * src/merge-properties-dialog.c:
928 (gl_merge_properties_dialog_get_type),
929 (gl_merge_properties_dialog_init),
930 (gl_merge_properties_dialog_finalize),
931 (gl_merge_properties_dialog_new),
932 (gl_merge_properties_dialog_construct), (type_changed_cb),
933 (src_changed_cb), (response_cb), (load_tree),
934 (record_select_toggled_cb), (select_all_button_clicked_cb),
935 (unselect_all_button_clicked_cb):
936 Modified merge properties dialog to use libglade. Added
937 "select all" and "unselect all" buttons.
938 * src/merge-text.c: (parse_line):
939 Handle empty lines better.
940 * src/merge.c: (gl_merge_eval_key):
941 Evaluate the key whether the record is selected or not.
943 * src/util.c: (gl_util_combo_box_add_text_model):
944 Since libglade does not use the gtk_combo_box_new_text()
945 constructor for GtkComboBoxes, a utility function was created
946 to add an appropriate text model to a GtkComboBox.
947 * src/view.c: (gl_view_edit_merge_props):
948 Removed unnecessary "show all's".
950 2005-04-15 Jim Evins <evins@snaught.com>
953 Updated russian translation (Vitaly Lipatov)
954 * data/templates/misc-iso-templates.xml:
955 Added templates for russian business cards provided by Vitaly Lipatov.
957 Updated acknowledgements for above.
959 2005-04-15 Jim Evins <evins@snaught.com>
961 * data/templates/avery-us-templates.xml:
962 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
963 * data/templates/misc-iso-templates.xml:
964 Added Ryman standard CD/DVD template, provided by Dan Clark.
966 Added acknowledgements for above.
968 2005-04-10 Jim Evins <evins@snaught.com>
970 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
971 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
972 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
973 (xml_parse_label_cd_node), (xml_parse_alias_node):
974 * libglabels/xml.c: (gl_xml_get_prop_double),
975 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
976 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
977 * src/xml-label-04.c: (xml04_parse_media_description),
978 (xml04_parse_text_props), (xml04_parse_barcode_props),
979 (xml04_parse_merge_properties):
980 * src/xml-label-191.c: (xml191_parse_object),
981 (xml191_parse_text_props), (xml191_parse_barcode_props),
982 (xml191_parse_merge_fields), (xml191_parse_pixdata),
983 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
984 (xml191_parse_alias):
985 * src/xml-label.c: (xml_parse_object_text),
986 (xml_parse_object_barcode), (xml_parse_merge_fields),
987 (xml_parse_pixdata), (xml_parse_toplevel_span):
988 Make sure to use xmlFree for anything obtained from libxml
989 in case libxml and glib use different memory management
992 2005-04-08 Jim Evins <evins@snaught.com>
995 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
996 (gl_util_combo_box_set_active_text):
997 Added utility functions to simplify working with GtkComboBox
999 * src/ui-property-bar.h:
1000 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1001 (reset_to_default_properties), (update_text_properties),
1002 (font_family_changed_cb):
1003 Replaced deprecated GtkCombo with GtkComboBox.
1006 2005-04-03 Jim Evins <evins@snaught.com>
1009 * src/wdgt-image-select.h:
1010 * src/wdgt-image-select.c:
1011 Removed obsolete wdgt-image-select.[ch] files.
1012 * libglabels/paper.c: (gl_paper_dup):
1013 Fixed rename of parameter introduced during documentation
1015 * data/glade/object-editor.glade:
1016 * src/object-editor-image-page.c:
1017 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1018 (gl_object_editor_set_image), (gl_object_editor_get_image),
1019 (update_preview_cb), (add_image_filters_to_chooser):
1020 * src/object-editor-private.h:
1021 Replaced deprecated GnomePixmapEntry with
1022 GtkFileChooserButton.
1024 2005-04-02 Jim Evins <evins@snaught.com>
1026 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1027 (mygal_combo_box_popup_hide_unconditional),
1028 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1029 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1030 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1031 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1032 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1033 Renamed all internal gtk_combo functions to mygal_combo
1034 to prevent namespace confusion.
1036 2005-04-02 Jim Evins <evins@snaught.com>
1038 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1039 (cust_color_set), (color_palette_setup):
1040 * src/mygal/color-palette.h:
1041 Replaced deprecated GnomeColorPicker with GtkColorButton.
1043 2005-04-02 Jim Evins <evins@snaught.com>
1045 * docs/libglabels/libglabels-sections.txt:
1046 * docs/libglabels/libglabels-undocumented.txt:
1047 * docs/libglabels/tmpl/enums.sgml:
1048 * docs/libglabels/tmpl/paper.sgml:
1049 * docs/libglabels/tmpl/xml-paper.sgml:
1050 * docs/libglabels/tmpl/xml-template.sgml:
1051 * libglabels/enums.h:
1052 * libglabels/paper.c: (gl_paper_dup):
1053 * libglabels/paper.h:
1054 * libglabels/xml-paper.c:
1055 * libglabels/xml-template.c:
1056 More documentation updates for libglabels.
1058 2005-03-23 Jim Evins <evins@snaught.com>
1061 Automatically updated.
1066 * docs/libglabels/Makefile.am:
1067 * docs/libglabels/libglabels-docs.sgml:
1068 * docs/libglabels/libglabels-sections.txt:
1069 * docs/libglabels/libglabels-undocumented.txt:
1070 * docs/libglabels/tmpl/enums.sgml:
1071 * docs/libglabels/tmpl/libglabels-unused.sgml:
1072 * docs/libglabels/tmpl/libglabels.sgml:
1073 * docs/libglabels/tmpl/paper.sgml:
1074 * docs/libglabels/tmpl/template.sgml:
1075 * docs/libglabels/tmpl/xml-paper.sgml:
1076 * docs/libglabels/tmpl/xml-template.sgml:
1077 * docs/libglabels/tmpl/xml.sgml:
1078 Added basic gtk-doc stuff to support documenting libglabels
1081 Updated function comments with gtk-doc markup.
1085 2005-03-22 Jim Evins <evins@snaught.com>
1087 Since the development version now requires gtk-2.6/gnome-2.10, I
1088 have made a first pass at removing deprecations.
1091 * libglabels/Makefile.am:
1093 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1094 Also removed all remnants of HAVE_FILECHOOSER.
1095 * src/file.c: (gl_file_open_real):
1096 Removed code for old GtkFileSelection.
1097 * libglabels/libglabels-private.h:
1098 * libglabels/paper.c:
1099 * libglabels/template.c:
1100 * libglabels/xml-paper.c:
1101 * libglabels/xml-template.c:
1105 * src/glabels-batch.c:
1109 * src/merge-properties-dialog.c:
1111 * src/object-editor.c:
1112 * src/prefs-dialog.c:
1114 * src/print-dialog.c:
1117 * src/template-designer.c:
1118 * src/ui-property-bar.c:
1120 * src/view-barcode.c:
1122 * src/view-ellipse.c:
1127 * src/wdgt-image-select.c:
1128 * src/wdgt-media-select.c:
1129 * src/wdgt-print-copies.c:
1130 * src/wdgt-print-merge.c:
1131 * src/wdgt-rotate-label.c:
1133 * src/xml-label-04.c:
1134 * src/xml-label-191.c:
1136 Added '#include <glib/gi18n.h>" where needed.
1137 Removed any unused '#include <gnome.h>"s.
1139 2005-03-22 Jim Evins <evins@snaught.com>
1141 * src/commands.c: (activate_url), (gl_cmd_help_about):
1142 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1143 development version of glabels now depends on GTK 2.6 and
1146 Updated library dependencies.
1148 2005-02-28 Jim Evins <evins@snaught.com>
1151 * data/templates/misc-iso-templates.xml:
1152 Added 'Ednet 45021' template provided by Ali Akcaagac
1155 2005-02-14 Jim Evins <evins@snaught.com>
1157 * data/templates/avery-us-templates.xml:
1158 Updated templates to use inches instead of points.
1159 * src/print-dialog.c: (printer_page_new):
1160 Changed packing style when adding printer selector widget. This fixes
1163 2005-02-13 Jim Evins <evins@snaught.com>
1167 Updated spanish translations. (sergio rivadero)
1169 2005-02-05 Jim Evins <evins@snaught.com>
1171 Some cleanup to libglabels.
1174 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1175 * libglabels/libglabels.pc.in
1177 * libglabels/enums.h
1178 Created. Currently only contains glUnitsType which provides enumerations
1179 for all possible units of distance.
1180 * libglabels/Makefile.am:
1181 Incorporated new files enums.h and libglabels.pc[.in].
1182 * libglabels/libglabels.h:
1184 * libglabels/template.h:
1185 * libglabels/template.c: (gl_template_layout_new):
1186 Changed parameters nx and ny to gint from gdouble.
1188 * libglabels/xml.c: (gl_xml_get_prop_length),
1189 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1190 Added support for different output units.
1191 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1192 (update_prefs_from_locale_page):
1193 * src/prefs-model.c: (string_to_units), (units_to_string):
1194 * src/prefs-model.h:
1195 * src/prefs.c: (gl_prefs_get_units_per_point),
1196 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1197 (gl_prefs_get_units_string):
1199 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1200 Reconciled all length enumerations with the new enumerations provided
1201 in libglabels/enums.h.
1203 2005-02-03 Jim Evins <evins@snaught.com>
1206 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1208 Updated Italian translations. (Daniele Medri)
1210 Updated credits to reflect above translations.
1213 2005-01-22 Jim Evins <evins@snaught.com>
1218 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1220 Final prep for 2.1.0.
1222 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1224 Added '--remove-original' flag to desktop-file-install, so that there is
1225 only one menu entry.
1227 2005-01-20 Jim Evins <evins@snaught.com>
1229 * data/glade/object-editor.glade:
1230 - Font family entry should not be editable.
1231 - img_key_entry should have sensitivity=YES, so that it follows the
1232 sensitivity of img_key_combo.
1234 2005-01-19 Jim Evins <evins@snaught.com>
1237 Give credit to Frederic Ruaudel for the color merge patches.
1239 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1241 Add support to merge color for all other color attribute (Feature
1242 Requests item #1008635. If the data is invalid, the color used is transparent
1243 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1244 by gdk_color_parse() these include name for a color from rgb.txt, such as
1245 DarkSlateGray, or a hex specification such as #305050. File format has been
1246 changed but backward compatibility is preserved for all format. For
1247 box/ellipse/line, keep attribute "line_color" for static color or replace by
1248 "line_color_field" for merge data. For text/barcode objects, keep attribute
1249 "color" for static color or replace by "color_field" for merge data. In the
1250 edit canvas window, merged color are represented by half-transparent black
1253 * data/dtd/glabels-2.0.dtd:
1254 Added line_color_field to line_attrs. Added color_field to
1255 Object-barcode and Span.
1256 * data/glade/object-editor.glade:
1257 Modify the layout of the editor to add merge possibility to color options
1259 Fix a copy/paste error in a comment
1261 Add default color for merge color representation in the editor canvas.
1262 * src/label-barcode.c:
1263 * src/object-editor-bc-page.c:
1264 * src/view-barcode.c:
1265 Add merge color support for barcode color.
1268 Add merge color support for box border color.
1269 * src/label-ellipse.c:
1270 * src/view-ellipse.c:
1271 Add merge color support for ellipse border color.
1274 Add merge color support for line color.
1275 * src/label-object.c:
1276 * src/label-object.h:
1277 * src/object-editor.c:
1278 * src/object-editor.h:
1279 * src/ui-property-bar.c:
1282 * src/xml-label-04.c:
1283 * src/xml-label-191.c:
1284 Add support for merging to other color attribute.
1286 * src/object-editor-text-page.c:
1288 Add merge color support for text color.
1289 * src/object-editor-fill-page.c:
1290 Change a blocked handler that didn't match the good widget. Fix the type
1291 of some debug message.
1292 * src/object-editor-line-page.c:
1293 Add merging support to line color option.
1294 * src/object-editor-private.h:
1295 Add variables for new widget.
1297 Modify the draw functions to get merge data if needed.
1299 Change the default size of the window in order to see all widget in the
1300 "text style tab" of the editor.
1302 Modify the parser to record/retreive the field value for objects that need
1303 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1304 static color or replace by "line_color_field" for merge data. For
1305 text/barcode objects, keep attribute "color" for static color or replace
1306 by "color_field" for merge data.
1308 2005-01-17 Jim Evins <evins@snaught.com>
1310 * src/view.c: (screen_changed_cb):
1311 Don't do anything if we don't have a screen.
1313 2005-01-06 Jim Evins <evins@snaught.com>
1315 * src/view.c: (get_home_scale):
1316 Fixed bad call to gtk_widget_has_screen() -- huh?.
1318 2005-01-06 Jim Evins <evins@snaught.com>
1320 * data/dtd/glabels-2.0.dtd:
1321 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1324 2005-01-06 Jim Evins <evins@snaught.com>
1326 * data/glade/object-editor.glade:
1327 Set entries for fill and data field key dropdowns to NOT editable.
1328 * src/view-box.c: (construct_properties_editor):
1329 * src/view-ellipse.c: (construct_properties_editor):
1330 Update object editor when label's merge property has changed.
1331 * src/xml-label.c: (xml_parse_object_ellipse):
1332 Completed the merge color support for the ellipse item.
1334 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1336 Add support to merge color for object that have a "Fill color" attribute (Feature
1337 Requests item #1008635. If the data is invalid, the color used is transparent
1338 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1339 by gdk_color_parse() these include name for a color from rgb.txt, such as
1340 DarkSlateGray, or a hex specification such as #305050. File format has been
1341 changed but backward compatibility is preserved for all format. For box/ellipse,
1342 keep attribute "fill_color" for static color or replace by "fill_color_field"
1345 * data/glade/object-editor.glade:
1346 Modify "Fill" tab to add the merge key combo and convert the labels into
1350 Add "glColorNode" structure and associated functions to manage it. This
1351 structure is equivalent for color than the "glTextNode". It holds the color
1353 * src/label-object.h:
1354 * src/label-object.c:
1356 * src/label-ellipse.c:
1357 * src/ui-property-bar.c:
1361 * src/view-ellipse.c:
1362 * src/xml-label-04.c:
1363 * src/xml-label-191.c:
1364 Change functions of objects that have a "fill color" attribute to use the
1365 new "glColorNode" structure. Use barcode code as example.
1367 Add the color.[ch] file to glabels_batch binary that now need support for
1369 * src/object-editor.h:
1370 * src/object-editor.c:
1371 * src/object-editor-fill-page.c:
1372 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1373 to choose between static color or merge key. Use barcode code as example.
1374 * src/object-editor-private.h:
1375 Add new widget in the "_glObjectEditorPrivate" structure.
1377 Modify the draw functions to get merge data if needed.
1379 Modify the parser to record/retreive the field value for objects that need
1380 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1381 color or "fill_color_field" for merge data.
1383 2005-01-04 Jim Evins <evins@snaught.com>
1386 * data/templates/avery-iso-templates.xml:
1387 * data/templates/misc-iso-templates.xml:
1388 * data/templates/misc-us-templates.xml:
1389 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1392 2004-11-26 Jim Evins <evins@snaught.com>
1396 Updated french translations provided by Florent Morel <florent@taket.org>.
1397 * src/view-barcode.c:
1399 * src/view-ellipse.c:
1403 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1404 thus _() strings were not being translated.
1406 2004-11-14 Jim Evins <evins@snaught.com>
1409 * src/debug.c: (gl_debug_init), (gl_debug):
1410 Borrowed from gedit: use environmental variables to select debug
1413 Removed unused include of debug.h.
1414 * src/glabels.c: (main):
1415 Added call to gl_debug_init(), and removed debug clutter from command line
1417 * src/glabels-batch.c: (main):
1418 Added call to gl_debug_init().
1420 2004-11-13 Jim Evins <evins@snaught.com>
1422 Drawing and property toolbars were being initialized with the "icons and text"
1423 look in Fedora Core 3. Even though none of the buttons had any text attached to
1424 them, the buttons were being sized as if they were. This led to less real estate
1425 for the property editor, leading to Bug #1064630. The
1427 * data/ui/glabels-ui.xml:
1428 Added explicit "look" property to both drawing and property toolbars.
1429 * src/prefs-model.c: (gl_prefs_model_save_settings),
1430 (gl_prefs_model_load_settings):
1431 * src/prefs-model.h:
1432 Removed drawing_toolbar_button_style configuration parameter.
1433 * src/ui.c: (view_menu_item_toggled_cb),
1434 (set_app_drawing_toolbar_style):
1435 Do not attempt to adjust look property of the drawing toolbar.
1437 2004-10-28 Jim Evins <evins@snaught.com>
1439 * data/pixmaps/glabels-about-logo.png:
1442 2004-10-28 Jim Evins <evins@snaught.com>
1444 * data/man/glabels.1:
1445 * src/glabels-batch.c: (main):
1447 * src/print.c: (gl_print_batch):
1449 Added option to glabels-batch to select the first label to begin
1452 2004-09-26 Jim Evins <evins@snaught.com>
1454 * data/desktop/glabels.desktop.in:
1455 Point to app icon, "glabels.png"
1456 * data/mime/glabels.keys.in:
1457 Point at mime icon, "glabels-application-x-glabels.png"
1458 * data/pixmaps/Makefile.am:
1459 Added glabels_app_icondir. Renamed icons.
1460 * data/pixmaps/glabels.png:
1461 New cleaned up app icon. Deleted glabels-icon.png.
1462 * data/pixmaps/glabels-application-x-glabels.png:
1464 * data/pixmaps/glabels-splash.png:
1465 Renamed glabels-logo to glabels-splash to be more correct about role.
1467 * src/template-designer.c:
1468 Point at app icon, "glabels.png"
1470 Point at renamed splash image, "glabels-splash.png"
1472 2004-08-22 Jim Evins <evins@snaught.com>
1475 * src/glabels-batch.c: (main):
1476 Applied patch with minor mods to allow selecting merge source and
1477 crop-marks on glabels-batch's command line. Original patch provided by
1478 José Dapena Paz <jdapena@igalia.com>.
1480 2004-08-15 Jim Evins <evins@snaught.com>
1482 * data/desktop/glabels.desktop.in:
1483 - Added encoding line
1484 - Removed period from comment
1485 - Fixed Terminal line, changed "0" to "false"
1486 - Added semicolen to Categories line
1488 - Made sure desktop.in comment string above still translated properly
1490 2004-08-14 Jim Evins <evins@snaught.com>
1492 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1493 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1494 * src/xml-label-191.c: (xml191_parse_sheet):
1495 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1497 Reconciled libglabels versioning with 2.0.1.
1500 2004-08-14 Jim Evins <evins@snaught.com>
1503 Updated version to 2.1cvs.
1505 2004-08-14 Jim Evins <evins@snaught.com>
1508 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1510 2004-08-14 Jim Evins <evins@snaught.com>
1512 Fixes for Bug #1008181.
1514 * src/bc.c: (gl_barcode_default_digits):
1515 Make a format of zero digits, harmless.
1516 * src/xml-label.c: (xml_parse_object_barcode):
1517 Set default value of the format property of barcode objects to 10, not
1518 zero. This will prevent crashes when reading pre 2.0.x files.
1520 2004-08-09 Jim Evins <evins@snaught.com>
1524 * help/C/glabels-C.omf:
1525 * help/C/glabels.xml:
1526 Brought documentation up-to-date for 2.0.0 release.
1528 2004-08-09 Jim Evins <evins@snaught.com>
1530 These are hopefully the final preparations for 2.0.0.
1532 * data/mime/Makefile.am:
1533 Include glabels.xml in EXTRA_DIST.
1535 - Updated comment style.
1536 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1537 - Added package and version info to configuration printout
1538 - Update version to 2.0.0
1539 * libglabels/Makefile.am:
1540 Use the new LIBGLABELS_VERSION_INFO macro.
1542 2004-08-09 Jim Evins <evins@snaught.com>
1546 Cleanup of required library macros.
1548 2004-08-08 Jim Evins <evins@snaught.com>
1552 - More specific of what to install in /usr/bin and /usr/lib
1553 - Remove built mime registration files from staging directory
1555 2004-08-08 Jim Evins <evins@snaught.com>
1557 * data/mime/Makefile.am:
1558 Fixed typo: key_files should have been keys_files.
1560 2004-08-08 Jim Evins <evins@snaught.com>
1562 Reorganization of runtime data files. Also added registration of mimetype with
1563 new freedesktop.org mime database if available.
1566 Moved files to appropriate subdirectories, creating local Makefile.am
1567 in each subdirectory.
1568 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1569 These are now installed at $datadir/glabels/templates.
1570 - Moved glabels.1 to man subdirectory.
1571 - Moved glabels-2.0.dtd to dtd subdirectory.
1572 - Moved glabels.desktop.in to desktop subdirectory.
1573 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1575 Moved "./pixmaps" to "./data/pixmaps"
1577 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1579 Moved libglade files from src to data/glade. Created Makefile.am.
1581 Removed pixmaps from SUBDIRS.
1583 - Removed pixmaps from makefiles.
1584 - Added makefiles for new subdirs of data.
1585 - Added tests for freedesktop.org mime database.
1587 - Added tests for freedesktop.org mime database for post install and
1588 post un-install actions.
1589 * libglabels/Makefile.am:
1590 Moved system template files to $(datadir)/glabels/templates.
1591 * libglabels/libglabels-private.h:
1592 Moved system template files to $(datadir)/glabels/templates.
1594 - Accounted for movement of ui and libglade files.
1595 - Added missing .in files.
1596 - Reorganized by directory.
1598 Accounted for movement of ui and libglade files.
1599 * data/mime/glabels.xml.in:
1600 New file for registering with freedesktop.org mime database.
1602 2004-08-07 Jim Evins <evins@snaught.com>
1604 * src/recent-files/*:
1605 Re-synced to latest libegg/recent-files.
1607 2004-08-07 Jim Evins <evins@snaught.com>
1612 Renamed "./doc" directory to "./help" which contains user documentation,
1613 to be more consistent with other GNOME applications.
1616 2004-07-26 Jim Evins <evins@snaught.com>
1618 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1619 Corrected button order of merge properties dialog.
1621 2004-07-18 Jim Evins <evins@snaught.com>
1623 * data/glabels-2.0.dtd:
1624 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1625 (gl_barcode_get_prefered_n):
1627 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1628 (gl_label_barcode_get_props), (get_size):
1629 * src/label-barcode.h:
1630 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1631 (style_changed_cb), (gl_object_editor_set_bc_style),
1632 (gl_object_editor_get_bc_style):
1633 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1634 (gl_object_editor_set_data), (gl_object_editor_get_data):
1635 * src/object-editor-private.h:
1636 * src/object-editor.c: (gl_object_editor_set_key_names):
1637 * src/object-editor.glade:
1638 * src/object-editor.h:
1639 * src/print.c: (draw_barcode_object):
1640 * src/view-barcode.c: (update_object_from_editor_cb),
1641 (update_editor_from_object_cb),
1642 (gl_view_barcode_create_event_handler), (draw_barcode):
1643 * src/xml-label-04.c: (xml04_parse_barcode_props):
1644 * src/xml-label-191.c: (xml191_parse_barcode_props):
1645 * src/xml-label.c: (xml_parse_object_barcode),
1646 (xml_create_object_barcode):
1647 Added "format" attribute to barcode objects. This attribute is used
1648 to properly format freeform barcodes barcodes prior to merge data is
1649 applied, so that barcodes can be accurately layed out. This addresses
1650 remaining issues of feature request #824787. Also added an example of
1651 the format in the object editor.
1653 2004-07-12 Jim Evins <evins@snaught.com>
1655 Various code cleanups.
1657 * src/label-barcode.c:
1658 Removed unneeded include of gnome-glyphlist.h.
1660 * src/label-text.c: (get_size):
1661 Fixed memory leak: unref glyphlists when done with them.
1663 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1664 * src/object-editor-data-page.c:
1665 (gl_object_editor_prepare_data_page):
1666 * src/object-editor-image-page.c:
1667 (gl_object_editor_prepare_image_page):
1668 * src/object-editor-line-page.c:
1669 (gl_object_editor_prepare_line_page):
1670 * src/object-editor-lsize-page.c:
1671 (gl_object_editor_prepare_lsize_page):
1672 * src/object-editor-position-page.c:
1673 (gl_object_editor_prepare_position_page):
1674 * src/object-editor-size-page.c:
1675 (gl_object_editor_prepare_size_page):
1676 * src/object-editor-text-page.c:
1677 (gl_object_editor_prepare_text_page):
1678 Removed unneeded size groups, originally intended to keep widgets aligned.
1679 Now use tables to lay these out in object-editor.glade.
1681 * src/print.c: (draw_text_object):
1682 Fixed memory leak: unref glyphlists when done with them.
1684 * src/view-barcode.c: (draw_barcode):
1685 Fixed memory leak: unref glyphlists when done with them.
1687 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1688 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1690 - Fixed memory leak: unref glyphlists when done with them.
1692 2004-07-11 Jim Evins <evins@snaught.com>
1694 * data/glabels-2.0.dtd:
1695 * src/label-text.c: (gl_label_text_instance_init), (copy),
1696 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1698 * src/object-editor-private.h:
1699 * src/object-editor-text-page.c:
1700 (gl_object_editor_prepare_text_page),
1701 (gl_object_editor_set_text_auto_shrink),
1702 (gl_object_editor_get_text_auto_shrink):
1703 * src/object-editor.c: (gl_object_editor_set_key_names):
1704 * src/object-editor.glade:
1705 * src/object-editor.h:
1706 * src/print.c: (draw_text_object):
1707 * src/view-text.c: (update_object_from_editor_cb),
1708 (update_editor_from_object_cb):
1709 * src/xml-label.c: (xml_parse_object_text),
1710 (xml_create_object_text):
1711 Added option to allow document merge to auto shrink text size to fit
1712 within the text box. The code in print.c that actually shrinks the
1713 text is loosely based on a patch submitted by Mark Harrison
1714 <mark.harrison@velocitynet.com.au>. This addresses feature request
1717 2004-07-11 Jim Evins <evins@snaught.com>
1719 * data/glabels-2.0.dtd:
1720 * libglabels/template.c: (gl_template_rect_label_type_new),
1721 (gl_template_round_label_type_new),
1722 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1723 (template_full_page):
1724 * libglabels/template.h:
1725 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1726 (xml_create_label_node):
1727 * pixmaps/ex-rect-size.png:
1728 * src/print.c: (clip_to_outline), (clip_punchouts):
1729 * src/template-designer.c: (construct_rect_size_page),
1730 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1732 * src/template-designer.glade:
1733 * src/xml-label-191.c: (xml191_parse_label):
1734 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1735 properties for rectangular labels. Templates remain backwards compatible,
1736 but this breaks the libglabels API (I don't know of anyone outside of
1737 glabels using libglabels at this time -- what can I say, the program is
1738 is still "unstable"). This addresses the suggestion in Feature Request
1741 2004-07-05 Jim Evins <evins@snaught.com>
1742 * src/print.c: (print_crop_marks), (draw_outline):
1743 Changed crop marks and label outlines to black, instead of 25% gray.
1744 This addresses debian Bug #257460.
1746 2004-07-05 Jim Evins <evins@snaught.com>
1748 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1749 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1750 Preserve "is_default" of fill and line color_combos when creating from
1753 2004-07-02 Jim Evins <evins@snaught.com>
1756 Created man page. Based on page submitted by Matthew J. Lockner, however
1757 it has been severely edited.
1759 * data/avery-other-templates.xml
1760 * data/misc-other-templates.xml:
1761 Started new files for predefined templates with non-standard sheet sizes.
1762 These have been initially populated with the Avery 06141 and
1763 OfficeMax #86112, both provided by Matthew J. Lockner.
1766 Install above manpage and template files.
1769 Make sure we install man pages.
1771 * src/glabels-batch.c:
1772 Changed short form of help option to '-?' to be consistent with glabels.
1775 Added acknowledgement for above labels.
1777 2004-07-02 Jim Evins <evins@snaught.com>
1779 * src/glabels.c: (main), (save_session_cb):
1780 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1782 - save_session_cb() now returns gboolean.
1783 - Minor formatting changes.
1787 - Now include file.h to provide missing prototype.
1788 - gl_window_get_type() now returns GType, not guint. I believe this may
1789 ultimately be cause of the segfault reported in Bug #982287, since
1790 GType is actually a gulong, which may not be compatible on other
1791 architectures (64bit) -- I cannot personally test this at this time.
1792 I was sloppy in several other xxx_get_type() functions which also
1793 returned guint -- see next group of files:
1795 * src/window.c: (gl_window_get_type):
1796 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1797 * src/canvas-hacktext.h:
1798 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1799 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1800 (gl_hig_hbox_get_type):
1802 * src/label-barcode.c: (gl_label_barcode_get_type):
1803 * src/label-barcode.h:
1804 * src/label-box.c: (gl_label_box_get_type):
1806 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1807 * src/label-ellipse.h:
1808 * src/label-image.c: (gl_label_image_get_type):
1809 * src/label-image.h:
1810 * src/label-line.c: (gl_label_line_get_type):
1812 * src/label-object.c: (gl_label_object_get_type):
1813 * src/label-object.h:
1814 * src/label-text.c: (gl_label_text_get_type):
1816 * src/label.c: (gl_label_get_type):
1818 * src/merge-properties-dialog.c:
1819 (gl_merge_properties_dialog_get_type):
1820 * src/merge-properties-dialog.h:
1821 * src/merge-text.c: (gl_merge_text_get_type):
1823 * src/merge.c: (gl_merge_get_type):
1825 * src/object-editor.c: (gl_object_editor_get_type):
1826 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1827 * src/prefs-dialog.h:
1828 * src/prefs-model.c: (gl_prefs_model_get_type):
1829 * src/prefs-model.h:
1830 * src/print-dialog.c: (gl_print_dialog_get_type):
1831 * src/print-dialog.h:
1832 * src/template-designer.c: (gl_template_designer_get_type):
1833 * src/template-designer.h:
1834 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1835 * src/ui-property-bar.h:
1836 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1838 * src/view-barcode.c: (gl_view_barcode_get_type):
1839 * src/view-barcode.h:
1840 * src/view-box.c: (gl_view_box_get_type):
1842 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1843 * src/view-ellipse.h:
1844 * src/view-highlight.c: (gl_view_highlight_get_type):
1845 * src/view-highlight.h:
1846 * src/view-image.c: (gl_view_image_get_type):
1848 * src/view-line.c: (gl_view_line_get_type):
1850 * src/view-object.c: (gl_view_object_get_type):
1851 * src/view-object.h:
1852 * src/view-text.c: (gl_view_text_get_type):
1854 * src/view.c: (gl_view_get_type):
1856 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1857 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1858 * src/wdgt-image-select.h:
1859 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1860 * src/wdgt-media-select.h:
1861 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1862 * src/wdgt-mini-preview.h:
1863 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1864 * src/wdgt-print-copies.h:
1865 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1866 * src/wdgt-print-merge.h:
1867 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1868 * src/wdgt-rotate-label.h:
1869 - Made sure all xxx_get_type functions returned GType, not guint. This
1870 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1871 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1872 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1873 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1874 window.[ch] details above for more info.
1875 - Reconciled various coding style differences in all xxx_get_type()
1877 * All prototypes include G_GNUC_CONST.
1878 * All prototypes specify the return value as GType, not GtkType
1880 * Info structures are all declared as "static const."
1881 * Generalized the names of type and info variables.
1882 * Miscelaneous formatting.
1884 2004-06-08 Jim Evins <evins@snaught.com>
1890 Don't touch compression of original file -- still defaults to 9 for
1891 new files. Original patch provided by Javier Donaire Segarra
1892 (#912252 in patch tracker).
1894 2004-05-05 Jim Evins <evins@snaught.com>
1896 * data/glabels-2.0.dtd:
1897 Broke DTD previously when adding new barcode types that contain a
1898 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
1899 to avoid the problem.
1900 * data/avery-iso-templates.xml:
1901 * data/zweckform-iso-templates.xml:
1903 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
1904 provided by Frank Altpeter.
1905 * libglabels/xml-template.c: (xml_create_label_node):
1906 Reordered markup and layout sub-nodes so that resulting templates will
1907 validate against DTD.
1909 2004-03-13 Jim Evins <evins@snaught.com>
1911 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
1912 Changed spin callback signals from "value-changed" back to "changed."
1913 This was accidentally introduced in a previous revision, and can cause
1914 size changes just by selecting the size tab.
1916 2004-03-06 Jim Evins <evins@snaught.com>
1918 * src/view.c: (draw_grid_layer):
1919 For round labels (round and cd) adjust grid so that it lines up with
1920 center of label. Also, no longer draw box around label in the grid layer,
1921 it is hidden by he fg layer anyway. Feature suggested by
1922 nemolivier@free.fr. Although the grid is aligned with the center of the
1923 label, the coordinate system is still relative to the upper left corner
1924 of the rectangle containing the label.
1926 2004-02-25 Jim Evins <evins@snaught.com>
1929 Changed version to 2.0pre1cvs
1931 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
1932 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
1933 instead of doc->name fields when errors encountered.
1935 2004-02-21 Jim Evins <evins@snaught.com>
1937 * data/avery-iso-templates.xml:
1938 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
1941 Added libglabels library and include file to installed files.
1944 Final prep for 1.93.3.
1946 2004-02-20 Jim Evins <evins@snaught.com>
1948 * src/glabels-batch.c: (main):
1949 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
1950 as suggested by Javier Donaire Segarra. This addresses bug #901063.
1952 2004-02-16 Jim Evins <evins@snaught.com>
1955 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
1958 Added HAVE_FILE_CHOOSER to INCLUDES.
1960 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
1961 (gl_file_save_as), (save_as_response):
1962 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
1964 2004-02-16 Jim Evins <evins@snaught.com>
1966 * src/xml-label-04.c: (xml04_parse_image_props):
1967 * src/xml-label-191.c: (xml191_parse_image_props):
1968 * src/xml-label.c: (xml_parse_object_image):
1969 Delay setting image size until after image has been applied to new
1972 2004-02-15 Jim Evins <evins@snaught.com>
1974 * src/label-barcode.c: (gl_label_barcode_set_data),
1975 (gl_label_barcode_set_props):
1976 Don't emit "changed" signal, if no change actually made for these
1977 methods. Reduces number of unnecessary redraws of barcodes.
1979 * src/label-object.h:
1980 * src/label-object.c: (gl_label_object_set_position),
1981 (gl_label_object_set_position_relative), (set_size),
1982 (gl_label_object_set_size),
1983 (gl_label_object_set_size_honor_aspect):
1984 Don't emit "changed" signal, if no change actually made for these
1987 2004-02-15 Jim Evins <evins@snaught.com>
1989 * data/glabels-2.0.dtd:
1990 Added specific subtypes for various barcode types.
1993 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
1994 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
1995 (gl_barcode_can_text), (gl_barcode_text_optional),
1996 (gl_barcode_can_csum), (gl_barcode_csum_optional),
1997 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
1998 Changed API to use a string id, rather than a fixed enumeration. Id and
1999 name are separate strings. Added entries to backend table for specific
2000 subtypes for various barcode types.
2003 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2005 Modified to conform to above API. Now more stringent with data length
2006 for various subtypes.
2008 * src/bc-gnubarcode.h:
2009 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2010 (is_length_valid), (is_length1_valid), (is_length2_valid):
2011 Modified to conform to above API. Now more stringent with data length
2012 for various subtypes.
2014 * src/label-barcode.h:
2015 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2016 (gl_label_barcode_get_props), (get_size):
2017 Modified to use above API for storing barcode type.
2019 * src/object-editor.h:
2020 * src/object-editor-bc-page.c: (style_changed_cb),
2021 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2022 Modified to use above API for storing barcode type.
2024 * src/object-editor-size-page.c:
2025 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2026 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2027 Added debug markers.
2029 * src/object-editor.glade:
2030 Made barcode style combo's text entry non-editable.
2032 * src/print.c: (draw_barcode_object):
2033 Modified to use above API for barcode type.
2035 * src/view-barcode.c: (update_object_from_editor_cb),
2036 (update_editor_from_object_cb),
2037 (gl_view_barcode_create_event_handler), (draw_barcode):
2038 Modified to use above API for barcode type.
2040 * src/xml-label-04.c: (xml04_parse_barcode_props):
2041 * src/xml-label-191.c: (xml191_parse_barcode_props):
2042 * src/xml-label.c: (xml_parse_object_barcode),
2043 (xml_create_object_barcode):
2044 Modified to use above API for barcode type.
2046 2004-02-07 Jim Evins <evins@snaught.com>
2048 * src/stock-pixmaps/Makefile.am:
2049 * src/stock-pixmaps/stock_hchain_24.png:
2050 * src/stock-pixmaps/stock_hchain_broken_24.png:
2051 * src/stock-pixmaps/stock_vchain_24.png:
2052 * src/stock-pixmaps/stock_vchain_broken_24.png:
2053 Added chain pixmaps borrowed from the gimp's default theme.
2056 * src/stock.c: (gl_stock_init), (add_button_icon):
2057 Added above pixmaps to stock icon sets. Created add_button_icon() to
2058 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2060 * src/wdgt-chain-button.h
2061 * src/wdgt-chain-button.c
2064 Added this Modified version of gimpchainbutton widget, borrowed from
2068 Added acknowledgements of the above borrowing from the gimp.
2070 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2072 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2073 * src/object-editor.glade:
2074 Replaced the keep aspect ratio check box with the above chain-button
2077 * src/text-node.c: (gl_text_node_equal):
2079 Added function gl_text_node_equal() to compare text_nodes.
2081 * src/label-image.c: (gl_label_image_set_filename):
2082 Replaced incomplete text_node comparison code with invocation of
2083 gl_text_node_equal. This fixed the problem of not being able to
2084 resize an image using the object_editor if the aspect ratio is not
2087 2004-02-04 Jim Evins <evins@snaught.com>
2089 * src/object-editor-image-page.c:
2090 (gl_object_editor_prepare_image_page):
2091 Track "changed" signal of pixmap entry's GtkEntry rather than its
2092 "activate" signal -- this catches all changes to the entry rather than
2093 just changes resulting from a browse, so one can easily pull previous
2094 entries from the history. (This change is marked below on 2004-02-03,
2095 but somehow never got checked in.)
2097 * src/view-highlight.c: (sl_resize_event_handler),
2098 (sr_resize_event_handler), (st_resize_event_handler),
2099 (sb_resize_event_handler):
2100 Side resize handles will now confirm the actual resize that the object
2101 accepted before adjusting position parameters. Previously some interesting
2102 things happened when resizing a barcode to its minimum size.
2104 2004-02-03 Jim Evins <evins@snaught.com>
2106 * src/object-editor-image-page.c:
2107 (gl_object_editor_prepare_image_page):
2108 Track "changed" signal of pixmap entry's GtkEntry rather than its
2109 "activate" signal -- this catches all changes to the entry rather than
2110 just changes resulting from a browse, so one can easily pull previous
2111 entries from the history.
2113 * src/view-highlight.c: (tl_resize_event_handler),
2114 (tr_resize_event_handler), (bl_resize_event_handler),
2115 (br_resize_event_handler):
2116 Allow control key to be dropped while dragging a corner resize handle
2117 without losing the aspect ratio lock.
2119 2004-02-02 Jim Evins <evins@snaught.com>
2121 * src/label-image.c: (gl_label_image_set_filename):
2122 When setting a new filename adjust size such that the aspect ratio of
2123 the image is preserved using the current size as a bounding box.
2125 * src/view-image.c: (update_object_from_editor_cb):
2126 When updating object from editor, feed back possible size changes to
2127 editor as a result of a possible change in image.
2129 * src/object-editor-size-page.c: (size_reset_cb):
2130 Fixed typo when blocking spin handlers. If the base size is larger than
2131 the max size, treat max size as a bounding box while keeping aspect
2135 2004-02-02 Jim Evins <evins@snaught.com>
2137 * src/label-object.h:
2138 * src/label-object.c: (gl_label_object_set_size),
2139 (gl_label_object_set_size_honor_aspect):
2140 Added gl_label_object_set_size_honor_aspect() which will maintain the
2141 current aspect ratio by modifying the supplied w or h apropriately.
2143 * src/view-highlight.c: (tl_resize_event_handler),
2144 (tr_resize_event_handler), (bl_resize_event_handler),
2145 (br_resize_event_handler):
2146 Corner handles will now maintain the current aspect ratio if the
2147 control key is pressed while resizing. This addresses feature
2151 2004-01-31 Jim Evins <evins@snaught.com>
2154 * data/avery-us-templates.xml:
2155 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2157 * libglabels/template.c: (read_template_files_from_dir):
2158 Corrected problem with testing for extensions.
2160 * src/object-editor.glade:
2161 Corrected grouping of radio buttons in barcode data page.
2163 * src/print.c: (draw_barcode_object):
2164 * src/view-barcode.c: (draw_barcode):
2165 Corrected problem with calculation of y_offset for locating characters.
2167 2004-01-24 Jim Evins <evins@snaught.com>
2170 * data/avery-us-templates.xml:
2171 Added Avery 5824, submitted by Fred Bacon.
2173 2004-01-20 Jim Evins <evins@snaught.com>
2175 Catching up on a couple of backlogged user template submissions.
2177 * data/avery-iso-templates.xml:
2178 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2179 Suggested by Linas Jakucionis.
2181 * data/zweckform-iso-templates.xml:
2182 Added Zweckform 4760, submitted by Thomas Vill.
2185 Updated to reflect above submissions.
2187 2004-01-06 Jim Evins <evins@snaught.com>
2189 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2190 xml.[ch] into a separate library called libglabels, to facilitate third
2191 party use of glabels template files. This was suggested by Wayne Schuller.
2192 Once split-out, some modifications to the structures and functions to
2193 make a cleaner more useful API, hopefully. Rather extensive changes have
2194 propogated to other modules.
2202 * src/xml-template.h:
2203 * src/xml-template.c:
2206 These files have been moved to libglabels/. API cleanup performed.
2208 * libglabels/libglabels.h:
2209 * libglabels/libglabels-private.h:
2210 * libglabels/Makefile.am:
2211 These files have been added to finish out libglabels.
2218 Modified to reflect new sets of files in src/ and libglabels/.
2220 * COPYING.LIBGLABELS:
2222 Added copy of the LGPL for libglabels, and a copy the GFDL for
2225 * src/glabels-batch.c:
2227 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2228 (gl_label_get_size):
2230 * src/prefs-model.c: (gl_prefs_model_load_settings):
2231 * src/print-dialog.c:
2232 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2233 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2234 (print_crop_marks), (print_label), (draw_outline),
2235 (clip_to_outline), (clip_punchouts):
2236 * src/template-designer.c: (construct_pg_size_page),
2237 (pg_size_page_changed_cb), (layout_page_changed_cb),
2238 (print_test_cb), (build_template):
2239 * src/util.c: (gl_util_fraction):
2241 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2242 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2243 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2244 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2245 (draw_markup_margin_round), (draw_markup_margin_cd),
2246 (draw_markup_margin_cd_bc), (draw_markup_line),
2247 (draw_markup_circle), (gl_view_copy):
2248 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2249 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2250 (get_label_size_desc):
2251 * src/wdgt-mini-preview.c:
2252 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2254 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2255 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2256 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2257 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2258 * src/wdgt-rotate-label.h:
2259 * src/xml-label-04.c: (xml04_parse_media_description):
2260 * src/xml-label-191.c: (gl_xml_label_191_parse),
2261 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2262 (xml191_parse_markup), (xml191_parse_alias):
2263 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2265 Various changes to accomodate new libglabels API.
2267 2004-01-03 Jim Evins <evins@snaught.com>
2272 2004-01-03 Jim Evins <evins@snaught.com>
2275 Added acknowledgement of contributions by Wayne Schuller.
2277 * src/commands.c: (gl_cmd_file_print):
2278 Create extra reference to print dialog, so that it can be properly re-used.
2280 * src/mygal/mygal-combo-box.h:
2281 * src/mygal/mygal-combo-box.c:
2282 (mygal_combo_box_popup_hide_unconditional),
2283 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2284 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2285 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2286 (mygal_combo_box_set_tearable):
2287 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2288 complete the rename of this widget to prevent namespace collisions
2291 * src/prefs-dialog.glade:
2292 Fixed alignment of Fill/Color widgets.
2294 2004-01-03 Jim Evins <evins@snaught.com>
2296 * data/avery-iso-templates.xml:
2297 Added user submitted templates.
2298 Avery 8435A & 8435B, submitted by Ludger Solbach.
2300 * doc/C/glabels.xml:
2301 Added minimal documentation, noting the new template designer.
2303 2004-01-03 Jim Evins <evins@snaught.com>
2305 * pixmaps/ex-rect-size.png:
2306 * pixmaps/ex-round-size.png:
2307 * pixmaps/ex-cd-size.png:
2308 * pixmaps/Makefile.am:
2309 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2310 files to be used as illustrations/examples in the template-designer.
2312 * src/template-designer.c: (construct_rect_size_page),
2313 (construct_round_size_page), (construct_cd_size_page),
2314 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2315 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2316 (layout_page_prepare_cb), (build_template):
2317 * src/template-designer.glade:
2318 Added illustrations for rectangle, round, and cd label size pages.
2319 Added margin spinboxes to these pages, and now add a margin markup
2320 to the constructed template. Added realistic default values for
2321 some of the size spinboxes. Cleaned up the code for setting spinbox
2322 ranges on the layouts page.
2324 2004-01-02 Jim Evins <evins@snaught.com>
2326 * src/object-editor-size-page.c: (h_spin_cb):
2327 Fixed cut-n-paste error in h_spin_cb that loaded h from
2328 the wrong spinbutton.
2330 * src/object-editor.h:
2331 * src/object-editor.c: (gl_object_editor_class_init),
2332 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2333 * src/object-editor-private.h:
2334 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2336 Added "size_changed" signal.
2338 * src/view-text.c: (construct_properties_editor),
2339 (update_object_from_editor_cb),
2340 (update_object_from_editor_size_cb):
2341 Track size changes from object editor separately from other
2342 properties. This is so the default size (0,0) of a text
2343 object is not modified unintentionally.
2345 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2347 Added feature: line spacing - allows you to comfortably space a text box to
2348 fit a label perfectly.
2350 * data/glabels-2.0.dtd:
2351 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2352 (gl_label_object_get_text_alignment),
2353 (gl_label_object_get_text_line_spacing):
2354 * src/label-object.h:
2355 * src/label-text.c: (gl_label_text_class_init),
2356 (gl_label_text_instance_init), (copy), (get_size),
2357 (set_text_line_spacing), (get_text_alignment),
2358 (get_text_line_spacing):
2359 * src/object-editor-private.h:
2360 * src/object-editor-text-page.c:
2361 (gl_object_editor_prepare_text_page),
2362 (gl_object_editor_set_text_line_spacing),
2363 (gl_object_editor_get_text_line_spacing):
2364 * src/object-editor.glade:
2365 * src/object-editor.h:
2366 * src/prefs-dialog.c: (construct_object_page),
2367 (update_object_page_from_prefs), (update_prefs_from_object_page):
2368 * src/prefs-dialog.glade:
2369 * src/prefs-model.c: (gl_prefs_model_save_settings),
2370 (gl_prefs_model_load_settings), (get_float):
2371 * src/prefs-model.h:
2372 * src/print.c: (draw_text_object):
2374 * src/view-text.c: (update_object_from_editor_cb),
2375 (update_editor_from_object_cb),
2376 (gl_view_text_create_event_handler), (draw_hacktext):
2377 * src/view.c: (gl_view_construct),
2378 (gl_view_set_selection_text_line_spacing),
2379 (gl_view_set_default_text_line_spacing),
2380 (gl_view_get_default_text_line_spacing):
2382 * src/xml-label.c: (xml_parse_toplevel_span),
2383 (xml_create_toplevel_span):
2385 2003-12-30 Jim Evins <evins@snaught.com>
2387 * src/template-designer.c:
2388 * src/template-designer.h:
2389 * src/template-designer.glade:
2390 New template designer assistant.
2394 Added entries for src/template-designer.* files.
2396 * pixmaps/ex-1layout.png
2397 * pixmaps/ex-2layouts.png
2398 * pixmaps/Makefile.am:
2399 Added the new image files ex-*.png used as illustrations in the
2400 template designer assistant.
2402 * src/print-dialog.h:
2403 * src/print-dialog.c: (gl_print_dialog_finalize),
2404 (gl_print_dialog_new), (gl_print_dialog_construct),
2405 (gl_print_dialog_force_outline_flag):
2406 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2407 to support printing from the template designer assistant which does not
2408 have a full-fledged view. Nothing else from the view object was being
2409 used by the dialog anyway.
2411 Added the gl_print_dialog_force_outline_flag() method, for better
2412 integration with the template designer assistant.
2416 * src/commands.c: (gl_cmd_file_template_designer),
2417 (gl_cmd_file_print):
2418 Modified print command to provide label instead of view to dialog.
2419 Added the gl_cmd_file_template_designer() command to invoke the
2420 template designer assistant.
2423 * src/glabels-ui.xml:
2424 Added support for template designer assistant.
2426 * src/wdgt-mini-preview.h:
2427 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2428 (gl_wdgt_mini_preview_set_bg_color):
2429 Preview is now centered in canvas. Added
2430 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2431 assistant to match the background color with its own.
2433 * src/print.c: (clip_to_outline):
2434 Fixed really stupid bug when adding waste to clip region of rectangular
2435 labels/cards. Each side of the clip region needs to be extended by
2436 twice the waste margin, as well as negatively offset by the waste
2439 2003-12-28 Jim Evins <evins@snaught.com>
2441 * src/prefs-dialog.c: (update_object_page_from_prefs):
2442 Block intermediary function align_toggle_cb() instead of
2443 update_prefs_from_object_page() for the three alignment
2446 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2448 * src/file.c: (gl_file_new), (gl_file_properties):
2449 Swap button order and set default for higificatory pleasure.
2451 2003-12-27 Jim Evins <evins@snaught.com>
2453 * barcode-0.98/Makefile.am:
2454 One last time: removed doc/Makefile and po/Makefile.in.in from
2457 2003-12-27 Jim Evins <evins@snaught.com>
2459 * barcode-0.98/Makefile.am:
2460 Removed config.stat entry from EXTRA_DIST files.
2462 * barcode-0.98/Makefile.in:
2465 2003-12-27 Jim Evins <evins@snaught.com>
2468 Updated to work with latest gnome-common package from CVS.
2469 Removed recursive configuration of barcode-0.98.
2476 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2478 * barcode-0.98/Makefile.in:
2479 * barcode-0.98/configure.in:
2480 * barcode-0.98/Makefile.am:
2481 * barcode-0.98/README.glabels:
2482 Modified to ignore the barcode package's build system, and build
2483 as a part of glabels.
2484 Renamed Makefile.in to Makefile.in.dist.
2485 Renamed configure.in to configure.in.dist.
2486 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2489 * src/mygal/Makefile.am:
2490 * src/recent-files/Makefile.am:
2491 In order to build against the GNOME 2.5 platform,
2492 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2494 * src/mygal/Makefile.am:
2495 * src/mygal/mygal-combo-box.c:
2496 * src/mygal/mygal-combo-box.h:
2497 * src/mygal/widget-color-combo.c:
2498 * src/mygal/widget-color-combo.h:
2500 In order to build against the GNOME 2.5 platform,
2501 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2502 collisions with the real gtk_combo_box widget, now a part of gtk.
2504 2003-12-26 Jim Evins <evins@snaught.com>
2510 Moved local versions of get_home_data_dir() in paper.c and
2511 template.c to util package. Cleaned up formatting in
2515 In gl_template_register() save a copy of the template in
2516 ~/.glabels if the template is not known. Still need to
2517 handle duplicate filename case and duplicate name but
2518 different template case.
2522 Moved local definition of NAME_SPACE macro from xml-label.c
2525 * src/xml-template.c:
2526 * src/xml-template.h:
2527 Added function gl_xml_template_write_template_to_file(), used
2528 in gl_template_register().