1 2007-01-16 Jim Evins <evins@snaught.com>
8 * src/template-designer.c: (print_test_cb):
9 * src/ui-commands.c: (gl_ui_cmd_file_print):
11 Renamed PrintDialog to PrintOp. Added constructor for batch
13 * src/glabels-batch.c: (main):
14 Converted to use new PrintOp object for printing.
16 2007-01-15 Jim Evins <evins@snaught.com>
18 * data/glade/Makefile.am:
19 * data/glade/print-custom-widget.glade:
24 * src/template-designer.c: (print_test_cb):
25 * src/ui-commands.c: (gl_ui_cmd_file_print):
26 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
27 * src/wdgt-print-merge.h:
28 * src/window.c: (gl_window_init):
30 Initial conversion to GtkPrintOperation.
32 - Remove font and other libgnomeprint[ui] from elsewhere
33 - Add batch initialization of print operation
35 2007-01-08 Jim Evins <evins@snaught.com>
37 Updated dependencies. Set version to 2.1.pre4cvs.
39 2007-01-03 Jim Evins <evins@snaught.com>
42 Removed EggRecent stuff.
51 Ported from EggRecent to GtkRecentManager.
54 2007-01-02 Jim Evins <evins@snaught.com>
57 * iec16022-0.2.1/BUGS:
58 * iec16022-0.2.1/CHANGELOG:
59 * iec16022-0.2.1/CREDITS:
60 * iec16022-0.2.1/INSTALL:
61 * iec16022-0.2.1/LICENSE:
62 * iec16022-0.2.1/Makefile.am:
63 * iec16022-0.2.1/Makefile.dist:
64 * iec16022-0.2.1/README:
65 * iec16022-0.2.1/README.glabels:
66 * iec16022-0.2.1/TODO:
67 * iec16022-0.2.1/iec16022.1:
68 * iec16022-0.2.1/iec16022.c:
69 * iec16022-0.2.1/iec16022ecc200.c:
70 * iec16022-0.2.1/iec16022ecc200.h:
71 * iec16022-0.2.1/image.c:
72 * iec16022-0.2.1/image.h:
73 * iec16022-0.2.1/reedsol.c:
74 * iec16022-0.2.1/reedsol.h:
75 * iec16022-0.2.1/test/testsuite-example.bin:
76 * iec16022-0.2.1/test/testsuite-example.eps:
77 * iec16022-0.2.1/test/testsuite-example.hex:
78 * iec16022-0.2.1/test/testsuite-example.png:
79 * iec16022-0.2.1/test/testsuite-example.text:
80 * iec16022-0.2.1/test/testsuite.sh:
81 Include modified copy of iec16022-0.2.1 to provide encoding
82 support for datamatrix 2D barcodes.
87 Added initial datamatrix 2D barcode backend to barcode code.
90 Automatic updates to later versions of these files.
92 2006-11-28 Jim Evins <evins@snaught.com>
94 * data/templates/avery-iso-templates.xml:
95 * data/templates/avery-us-templates.xml:
96 * data/templates/categories.xml:
97 * data/templates/misc-iso-templates.xml:
98 * data/templates/misc-us-templates.xml:
99 * data/templates/zweckform-iso-templates.xml:
102 2006-09-12 Jim Evins <evins@snaught.com>
104 * data/dtd/glabels-2.0.dtd:
105 * data/templates/Makefile.am:
106 * data/templates/avery-iso-templates.xml:
107 * data/templates/avery-other-templates.xml:
108 * data/templates/avery-us-templates.xml:
109 * data/templates/categories.xml:
110 * data/templates/misc-iso-templates.xml:
111 * data/templates/misc-other-templates.xml:
112 * data/templates/zweckform-iso-templates.xml:
113 * data/glade/Makefile.am:
114 * data/glade/new-label-dialog.glade:
115 * data/glade/wdgt-media-select.glade:
116 * data/glade/wdgt-rotate-label.glade:
117 * libglabels/Makefile.am:
118 * libglabels/category.c:
119 * libglabels/category.h:
120 * libglabels/libglabels.h:
121 * libglabels/paper.c:
122 * libglabels/template.c:
123 * libglabels/template.h:
124 * libglabels/xml-category.c:
125 * libglabels/xml-category.h:
126 * libglabels/xml-template.c:
127 Added support for category meta data.
130 * src/mini-preview-pixbuf.c:
131 * src/mini-preview-pixbuf.h:
132 * src/new-label-dialog.c:
133 * src/new-label-dialog.h:
134 * src/wdgt-media-select.c:
135 * src/wdgt-media-select.h:
136 * src/wdgt-rotate-label.c:
137 * src/wdgt-rotate-label.h:
138 New "new label" dialog.
140 2006-05-27 Jim Evins <evins@snaught.com>
145 Preparation for 2.1.3.
151 2006-05-22 Jim Evins <evins@snaught.com>
153 * src/print.c: (draw_barcode_object):
154 Don't print "Invalid barcode data" if data field is empty. Patch provided
155 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
157 Added acknowledgment for above patch.
158 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
159 * src/bc-postnet.c: (postnet_code):
160 Removed "Invalid barcode data" warnings from stderr.
161 * src/view-barcode.c: (draw_barcode):
162 Draw box around barcode extent if data empty or invalid. Center a
163 message whether the data is empty or invalid in box.
165 2006-05-22 Jim Evins <evins@snaught.com>
167 * src/print.c: (draw_text_object):
168 Check shadow state when printing text.
170 2006-05-20 Jim Evins <evins@snaught.com>
172 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
173 (gl_ui_cmd_view_markup_toggle):
174 Fixed crash when grid or markup have been toggled off during
175 a previous session. Bug #1434324.
177 2006-04-05 Jim Evins <evins@snaught.com>
179 * src/object-editor.c: (gl_object_editor_set_key_names):
180 Fixed potential crash when freeing empty key list.
182 2006-03-11 Jim Evins <evins@snaught.com>
184 * src/print.c: (draw_text_object):
185 * src/view-text.c: (gl_view_text_new),
186 (construct_properties_editor), (update_object_from_editor_cb),
187 (update_editor_from_object_cb), (update_editor_from_label_cb),
189 Added shadow support to text object.
191 2006-02-18 Jim Evins <evins@snaught.com>
193 * src/print.c: (draw_line_object):
194 * src/view-line.c: (gl_view_line_new),
195 (construct_properties_editor), (update_canvas_item_from_object_cb),
196 (update_object_from_editor_cb), (update_editor_from_object_cb),
197 (update_editor_from_label_cb):
198 Added shadow support to line object.
200 2006-02-16 Jim Evins <evins@snaught.com>
204 * src/print.c: (draw_ellipse_object):
205 * src/view-ellipse.c: (gl_view_ellipse_new),
206 (construct_properties_editor), (update_canvas_item_from_object_cb),
207 (update_object_from_editor_cb), (update_editor_from_object_cb),
208 (update_editor_from_label_cb):
209 Added shadow support to ellipse object.
211 2006-02-15 Jim Evins <evins@snaught.com>
213 * src/label-object.c:
214 Changed default shadow offsets.
215 * src/view-box.c: (gl_view_box_new):
216 Simplified gl_view_box_new() so that is does not duplicate code
217 in update_canvas_item_from_object_cb().
219 2006-02-07 Jim Evins <evins@snaught.com>
221 * data/glade/object-editor.glade:
222 Fixed color groups of color combos.
224 Added default shadow color.
225 * src/object-editor.c: (gl_object_editor_construct_color_combo):
226 Added shadow color group.
228 2006-02-06 Jim Evins <evins@snaught.com>
230 * src/object-editor-shadow-page.c:
231 Forgot to add this file.
232 * src/view-box.c: (gl_view_box_new),
233 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
234 Update limits on shadow offset spinbuttons.
236 2006-01-19 Jim Evins <evins@snaught.com>
238 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
239 Initialize key_list to NULL.
240 * data/glade/object-editor.glade:
244 * src/label-object.c:
245 * src/label-object.h:
246 * src/object-editor-fill-page.c:
247 * src/object-editor-private.h:
248 * src/object-editor.c:
249 * src/object-editor.h:
251 Created infrastructure for shadow support.
254 Initial shadow support in box object only.
256 2006-01-05 Jim Evins <evins@snaught.com>
258 * src/merge-properties-dialog.c: (src_changed_cb):
259 Be extra paranoid before calling strcmp().
260 * src/merge.c: (gl_merge_set_src):
261 Don't make (merge == NULL) a critical error.
263 2005-12-22 Jim Evins <evins@snaught.com>
265 * src/glabels-batch.c: (main):
266 Compile warning free with gcc 4.0.
268 2005-12-21 Jim Evins <evins@snaught.com>
271 Updated example RPM spec file.
273 2005-12-21 Jim Evins <evins@snaught.com>
277 Preparation for 2.1.2.
279 2005-12-20 Jim Evins <evins@snaught.com>
282 Define unique G_LOG_DOMAIN for glabels.
283 * src/critical-error-handler.c: (gl_critical_error_handler_init):
284 * src/warning-handler.c: (gl_warning_handler_init),
286 Register for G_LOG_DOMAIN instead of NULL.
288 2005-12-10 Jim Evins <evins@snaught.com>
290 * src/merge-evolution.c:
294 2005-12-08 Jim Evins <evins@snaught.com>
296 * libglabels/paper.c: (read_paper_files_from_dir):
297 * libglabels/template.c: (gl_template_register),
298 (read_template_files_from_dir):
299 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
300 (gl_xml_paper_parse_papers_doc):
301 * libglabels/xml-template.c:
302 (gl_xml_template_read_templates_from_file),
303 (gl_xml_template_parse_templates_doc),
304 (gl_xml_template_parse_template_node),
305 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
306 (xml_parse_label_cd_node), (xml_parse_layout_node),
307 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
308 (xml_parse_markup_circle_node),
309 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
310 * libglabels/xml.c: (gl_xml_get_prop_length):
311 Re-classified g_warnings to g_messages.
313 * src/glabels.c: (main):
314 * src/warning-handler.c: (gl_warning_handler_init),
316 * src/warning-handler.h:
317 Added warning message handler to make sure the user is
318 presented with appropriate non-fatal errors.
319 * src/critical-error-handler.c: (critical_error_handler):
320 Changed exit to abort.
321 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
322 * src/bc-postnet.c: (postnet_code):
323 * src/bc.c: (id_to_index), (name_to_index):
324 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
325 * src/object-editor.c: (gl_object_notebook_construct_valist):
326 * src/prefs-dialog.c: (update_locale_page_from_prefs):
327 * src/prefs.c: (gl_prefs_get_units_per_point),
328 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
329 (gl_prefs_get_units_string):
330 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
331 * src/splash.c: (gl_splash):
332 * src/ui-commands.c: (gl_ui_cmd_help_contents):
333 * src/view-highlight.c: (gl_view_highlight_new),
334 (highlight_resizable_box_construct), (object_changed_cb),
335 (view_scale_changed_cb):
336 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
337 (draw_markup_layer), (draw_markup_margin),
338 (gl_view_object_create_mode), (canvas_event),
339 (selection_received_cb):
340 * src/wdgt-mini-preview.c: (mini_outline_list_new):
341 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
342 * src/xml-label-04.c: (gl_xml_label_04_parse),
343 (xml04_parse_media_description), (xml04_parse_text_props),
344 (xml04_parse_barcode_props):
345 * src/xml-label-191.c: (gl_xml_label_191_parse),
346 (xml191_parse_objects), (xml191_parse_object),
347 (xml191_parse_text_props), (xml191_parse_image_props),
348 (xml191_parse_barcode_props), (xml191_parse_data),
349 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
350 (xml191_parse_markup):
351 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
352 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
353 (xml_parse_object_text), (xml_parse_object_image),
354 (xml_parse_object_barcode), (xml_parse_data),
355 (xml_parse_toplevel_span), (gl_xml_label_save),
356 (xml_create_objects):
357 Re-classified g_warnings to g_messages.
358 * src/merge-evolution.c: (gl_merge_evolution_open),
359 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
360 Use g_warning to output errors encountered while
361 communicating with the evolution data server
362 instead of embedding them in the data.
364 2005-12-08 Jim Evins <evins@snaught.com>
366 * libglabels/libglabels-private.h:
368 * libglabels/paper.c: (read_papers):
369 * libglabels/template.c: (read_templates):
370 Made appropriate warnings critical.
372 * src/critical-error-handler.h:
373 * src/critical-error-handler.c: (gl_critical_error_handler_init),
374 (critical_error_handler):
375 Created critical error handler.
376 * src/glabels.c: (main):
377 Register critical error handler.
378 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
379 * src/object-editor.c: (gl_object_editor_init):
380 * src/prefs-dialog.c: (gl_prefs_dialog_init):
381 * src/template-designer.c: (gl_template_designer_init):
382 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
383 Made appropriate warnings critical.
385 2005-11-27 Jim Evins <evins@snaught.com>
387 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
388 (gl_merge_evolution_get_primary_key),
389 (gl_merge_evolution_get_record):
390 Don't create "record_key" pseudo-key. Don't populate
391 fields with null data.
393 2005-11-25 Jim Evins <evins@snaught.com>
395 * src/merge-evolution.c: (gl_merge_evolution_finalize),
396 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
397 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
399 Query EDS for all supported fields. Patch provided by
400 Austin Henry <ahenry@users.sourceforge.net>.
402 2005-10-29 Jim Evins <evins@snaught.com>
404 * src/glabels.c: (main):
405 * src/label-barcode.c: (gl_label_barcode_finalize):
406 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
407 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
408 * src/object-editor.c: (gl_object_editor_finalize):
409 Another pass at valgrinding -- plugged several memory leaks.
410 * src/view-text.c: (gl_view_text_new),
411 (update_canvas_item_from_object_cb), (draw_hacktext):
412 Commented out artifacts of edit-in-place code.
414 2005-10-28 Jim Evins <evins@snaught.com>
416 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
417 Fixed use of uninitialized variable. Caught by
418 d binderman <dcb314@hotmail.com>.
420 2005-10-27 Jim Evins <evins@snaught.com>
422 * src/merge-evolution.c: (gl_merge_evolution_get_record):
423 * src/merge-vcard.c: (gl_merge_vcard_get_record),
425 Additional cleanup of EDS and vcard backends. Provided by
426 Austin Henry <ahenry@users.sourceforge.net>.
428 2005-10-24 Jim Evins <evins@snaught.com>
432 * src/merge-evolution.c:
433 * src/merge-evolution.h:
434 * src/merge-init.c: (gl_merge_init):
435 * src/merge-properties-dialog.c: (type_changed_cb):
438 * src/ui-commands.c: (gl_ui_cmd_help_about):
439 Added Evolution Data Server and VCard merge backends. Original patch
440 provided by Austin Henry <ahenry@users.sourceforge.net>.
442 Only support EDS and VCard backends if libebook is installed. Allow
443 user to disable support, even if installed.
445 2005-10-24 Jim Evins <evins@snaught.com>
448 * data/templates/avery-iso-templates.xml:
449 * data/templates/avery-us-templates.xml:
450 * data/templates/misc-iso-templates.xml:
451 * data/templates/zweckform-iso-templates.xml:
452 Collected all template changes and submissions since last
455 2005-10-23 Jim Evins <evins@snaught.com>
458 * data/mime/Makefile.am:
459 Added configure options to disable update-mime-database and
460 update-desktop-database as part of the install. Patch
461 provided by Leonardo Boshell (qhoracio@sourceforge.net).
463 2005-10-23 Jim Evins <evins@snaught.com>
466 * libglabels/xml.c: (gl_xml_get_prop_string),
467 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
468 (gl_xml_is_node), (gl_xml_get_node_content):
469 Added new XML utility functions.
470 * libglabels/xml-paper.c:
471 * libglabels/xml-template.c:
473 Cleanup by using new xml utilities created above.
474 * libglabels/paper.c: (gl_paper_free):
475 * src/file.c: (new_response):
476 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
477 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
478 (gl_pixbuf_cache_get_pixbuf):
479 * src/ui-property-bar.c:
480 (gl_ui_property_bar_construct_color_combo):
481 * src/view-highlight.c: (gl_view_highlight_finalize):
482 * src/view-image.c: (update_object_from_editor_cb):
483 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
484 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
485 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
486 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
487 (draw_markup_margin_round), (draw_markup_margin_cd),
488 (draw_markup_margin_cd_bc):
489 * src/wdgt-mini-preview.c: (mini_outline_list_new):
490 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
491 Plugged various memory leaks located with valgrind.
492 * src/view-image.c: (update_canvas_item_from_object_cb):
493 Don't allow a width or height of zero when drawing pixbuf.
495 2005-10-22 Jim Evins <evins@snaught.com>
497 * libglabels/xml-paper.c:
498 * libglabels/xml-template.c:
501 * src/bc-gnubarcode.c:
502 * src/canvas-hacktext.c:
504 * src/object-editor-data-page.c:
505 * src/print-dialog.c:
508 * src/template-designer.c:
510 * src/ui-property-bar.c:
512 * src/view-barcode.c:
514 * src/view-ellipse.c:
519 * src/wdgt-media-select.c:
520 * src/xml-label-04.c:
521 * src/xml-label-191.c:
523 Modified to compile warning free with gcc-4.0. Mostly
524 casting to change signedness of characters. Did not
525 attack gnu-barcode library yet.
527 2005-10-22 Jim Evins <evins@snaught.com>
529 * src/glabels.c: (main):
530 * src/splash.c: (gl_splash):
531 Removed some small memory leaks.
535 2005-09-19 Jim Evins <evins@snaught.com>
537 * data/glade/property-bar.glade:
538 Remove items from font_family_combo. This prevents the
539 double entry after adding text model and list of fonts.
540 * src/ui-property-bar.c: (reset_to_default_properties):
541 Free font_family_list.
543 2005-07-01 Jim Evins <evins@snaught.com>
546 Updated italian translation (Daniele Medri)
548 2005-06-26 Jim Evins <evins@snaught.com>
550 * docs/libglabels/libglabels-decl-list.txt:
551 Somehow never got checked in before.
552 * docs/libglabels/libglabels.types:
553 Removed -- don't need it afterall.
555 2005-06-20 Jim Evins <evins@snaught.com>
558 Final prep for 2.1.1 release.
560 2005-06-20 Jim Evins <evins@snaught.com>
563 Final preps for 2.1.1 release.
564 * docs/libglabels/libglabels.types:
565 Somehow never got checked in before.
567 Bring up-to-date with recent reorg of ui code.
570 2005-06-19 Jim Evins <evins@snaught.com>
572 * src/template-designer.c: (construct_layout_page):
573 Removed attempt to match background color of mini preview widget to
576 2005-06-17 Jim Evins <evins@snaught.com>
578 * help/C/figures/merge-ex2-4.png:
579 * help/C/glabels.xml:
580 Fixed spelling error.
582 2005-06-13 Jim Evins <evins@snaught.com>
584 * help/C/figures/merge-ex1-1.png:
585 * help/C/figures/merge-ex1-2.png:
586 * help/C/figures/merge-ex1-3.png:
587 * help/C/figures/merge-ex1-4.png:
588 * help/C/figures/merge-ex2-1.png:
589 * help/C/figures/merge-ex2-2.png:
590 * help/C/figures/merge-ex2-3.png:
591 * help/C/figures/merge-ex2-4.png:
592 Added figures for document merge tutorial.
593 * help/C/glabels.xml:
594 Added document merge tutorial.
596 2005-05-19 Jim Evins <evins@snaught.com>
598 * data/glade/merge-properties-dialog.glade:
599 Fixed irregular spacing.
600 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
601 (gl_merge_properties_dialog_construct):
602 Set outer padding and remove separator.
604 2005-05-18 Jim Evins <evins@snaught.com>
608 Removed glHigDialog class.
609 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
610 (gl_file_properties), (create_properties_dialog_widgets):
611 * src/prefs-dialog.h:
612 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
613 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
614 * src/print-dialog.h:
615 * src/prefs-dialog.h:
616 * src/print-dialog.c: (gl_print_dialog_get_type),
617 (gl_print_dialog_init), (gl_print_dialog_construct):
618 Replaced all instances of glHigDialog with GtkDialog.
620 2005-05-17 Jim Evins <evins@snaught.com>
624 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
625 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
626 (save_as_response), (gl_file_close):
627 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
629 2005-05-15 Jim Evins <evins@snaught.com>
639 A little code reformatting -- no functional changes.
641 2005-05-14 Jim Evins <evins@snaught.com>
644 Removed obsolete macros.
646 Added marshalling template to support new view signal: "context_menu_activate."
648 * src/view.c: (gl_view_class_init), (gl_view_construct),
649 (canvas_event_arrow_mode):
650 - Removed hardcoded context menus and added new signal "context_menu_activate"
651 to push this up to the uimanager.
652 - Removed merge properties and print dialogs so that they can be managed with
653 the window by the uimanager.
654 * src/merge-properties-dialog.h:
655 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
656 (gl_merge_properties_dialog_construct):
657 Changed calling convention of gl_merge_properties_dialog_new() to use
658 glLabel and GtkWindow instead of view to make more consistent with other
660 * src/print-dialog.h:
661 * src/print-dialog.c: (gl_print_dialog_new),
662 (gl_print_dialog_construct):
663 Removed last artifact of libbonoboui.
664 * src/ui-commands.c: (gl_ui_cmd_file_print),
665 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
666 Reconciled style for launching dialogs.
667 * src/ui.c: (gl_ui_new):
668 Added context menus to ui manager.
669 * src/view-object.c: (item_event_arrow_mode):
670 No longer try to select objects with right-click.
672 * src/window.c: (gl_window_init), (gl_window_set_label),
673 (context_menu_activate_cb):
674 Context menus and all dialogs are now managed in a consistent way in window
677 2005-05-11 Jim Evins <evins@snaught.com>
680 * src/window.c: (gl_window_init), (gl_window_destroy):
681 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
682 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
683 Moved management of recent_view back from window.c to ui.c -- it just feels
686 2005-05-10 Jim Evins <evins@snaught.com>
689 * src/window.c: (gl_window_init):
691 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
692 (menu_item_select_cb), (menu_item_deselect_cb):
693 Added GtkStatusbar which displays menu tooltips.
695 2005-05-09 Jim Evins <evins@snaught.com>
697 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
702 Removed dependencies on libbonoboui.
704 * data/ui/Makefile.am:
705 * data/ui/glabels-ui.xml:
706 Removed data/ui directory.
707 * data/glade/Makefile.am:
708 * data/property-bar.glade:
709 Added glade description of property-bar for new libglade implementation
718 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
719 since the distinction between "commands" and "tools" is no longer that clear.
722 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
723 no longer has knowledge of eggRecent*.
724 * src/glabels.c: (main):
725 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
727 * src/object-editor.c: (gl_object_editor_init):
728 Make sure notebook does not respond to a "show_all" on the parent.
729 * src/recent-files/Makefile.am:
730 * src/recent-files/*.[ch]
731 Updated from latest version of libegg which now has a view based on
732 GtkUIManager. Removed unused bonobo and gtk views.
733 * src/ui-property-bar.h:
734 * src/ui-property-bar.c:
735 New implementation based on libglade.
738 Sidebar is now simply a GtkWidget and does not expect to be a part of
739 a libbonoboui interface.
744 Converted for use with GtkUIManager.
747 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
748 to create menus and toolbars.
750 2005-04-25 Jim Evins <evins@snaught.com>
752 * data/templates/misc-iso-templates.xml:
753 Added Fellows 04715 template provided by Steve Saxon.
755 Updated acknowledgement for above.
757 2005-04-23 Jim Evins <evins@snaught.com>
759 * src/util.c: (gl_util_combo_box_set_strings):
760 Make sure to clear model before loading a new list of strings.
761 * src/wdgt-media-select.h:
762 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
763 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
764 (template_combo_changed_cb), (prefs_changed_cb),
765 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
766 (gl_wdgt_media_select_get_page_size),
767 (gl_wdgt_media_select_set_page_size):
768 Replaced the deprecated GtkCombo widget with the new
771 2005-04-21 Jim Evins <evins@snaught.com>
773 * data/glade/template-designer.glade:
774 * src/template-designer.c: (construct_pg_size_page),
775 (pg_size_page_changed_cb), (build_template):
776 Replaced the deprecated GtkCombo widget with the new
779 2005-04-20 Jim Evins <evins@snaught.com>
781 * data/glade/prefs-dialog.glade:
782 * src/prefs-dialog.c: (construct_object_page),
783 (update_object_page_from_prefs), (update_prefs_from_object_page):
784 Replaced the deprecated GtkCombo widget with the new
787 2005-04-19 Jim Evins <evins@snaught.com>
789 * data/glade/object-editor.glade:
790 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
791 (style_changed_cb), (gl_object_editor_set_bc_style),
792 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
793 (gl_object_editor_get_bc_color):
794 * src/object-editor-data-page.c:
795 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
796 (gl_object_editor_get_data):
797 * src/object-editor-edit-page.c:
798 (gl_object_editor_prepare_edit_page), (insert_button_cb):
799 * src/object-editor-fill-page.c:
800 (gl_object_editor_prepare_fill_page),
801 (gl_object_editor_set_fill_color),
802 (gl_object_editor_get_fill_color):
803 * src/object-editor-image-page.c:
804 (gl_object_editor_prepare_image_page),
805 (gl_object_editor_set_image), (gl_object_editor_get_image):
806 * src/object-editor-line-page.c:
807 (gl_object_editor_prepare_line_page),
808 (gl_object_editor_set_line_color),
809 (gl_object_editor_get_line_color):
810 * src/object-editor-private.h:
811 * src/object-editor-text-page.c:
812 (gl_object_editor_prepare_text_page),
813 (gl_object_editor_set_font_family),
814 (gl_object_editor_get_font_family),
815 (gl_object_editor_set_text_color),
816 (gl_object_editor_get_text_color):
817 * src/object-editor.c: (gl_object_editor_set_key_names):
819 In the object editor: replaced all instances of the deprecated
820 GtkCombo widget with the new GtkComboBox.
822 2005-04-18 Jim Evins <evins@snaught.com>
825 Neglected to save this one in previous checkin to support
828 2005-04-17 Jim Evins <evins@snaught.com>
830 * libglabels/libglabels-private.h:
831 * libglabels/paper.c:
832 * libglabels/paper.h:
833 * libglabels/template.c:
834 * libglabels/template.h:
835 * libglabels/xml-paper.c:
836 * libglabels/xml-paper.h:
837 * libglabels/xml-template.c:
842 * src/bc-gnubarcode.c:
853 * src/label-barcode.c:
855 * src/label-ellipse.c:
859 * src/label-object.c:
863 * src/merge-properties-dialog.c:
864 * src/object-editor-bc-page.c:
865 * src/object-editor-data-page.c:
866 * src/object-editor-edit-page.c:
867 * src/object-editor-fill-page.c:
868 * src/object-editor-image-page.c:
869 * src/object-editor-line-page.c:
870 * src/object-editor-lsize-page.c:
871 * src/object-editor-position-page.c:
872 * src/object-editor-private.h:
873 * src/object-editor-size-page.c:
874 * src/object-editor-text-page.c:
875 * src/object-editor.c:
876 * src/object-editor.h:
877 * src/pixbuf-cache.h:
878 * src/prefs-dialog.c:
879 * src/prefs-dialog.h:
883 * src/print-dialog.c:
884 * src/print-dialog.h:
892 * src/template-designer.c:
893 * src/template-designer.h:
896 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
902 * src/view-barcode.c:
904 * src/view-ellipse.c:
905 * src/view-highlight.c:
906 * src/view-highlight.h:
914 * src/wdgt-chain-button.c:
915 * src/wdgt-media-select.c:
916 * src/wdgt-media-select.h:
917 * src/wdgt-mini-preview.c:
918 * src/wdgt-mini-preview.h:
919 * src/wdgt-print-copies.c:
920 * src/wdgt-print-copies.h:
921 * src/wdgt-print-merge.c:
922 * src/wdgt-print-merge.h:
923 * src/wdgt-rotate-label.c:
924 * src/wdgt-rotate-label.h:
927 * src/xml-label-04.c:
928 * src/xml-label-191.c:
930 Cleanup of header files:
931 - all header files are now stand-alone, verified by including
932 first in corresponding "c" files
933 - replaced blanket includes of gnome, gtk, and glib with
936 2005-04-16 Jim Evins <evins@snaught.com>
938 * data/glade/Makefile.am:
939 * data/glade/merge-properties-dialog.glade:
940 Added merge properties dialog glade description file.
941 * src/merge-properties-dialog.h:
942 * src/merge-properties-dialog.c:
943 (gl_merge_properties_dialog_get_type),
944 (gl_merge_properties_dialog_init),
945 (gl_merge_properties_dialog_finalize),
946 (gl_merge_properties_dialog_new),
947 (gl_merge_properties_dialog_construct), (type_changed_cb),
948 (src_changed_cb), (response_cb), (load_tree),
949 (record_select_toggled_cb), (select_all_button_clicked_cb),
950 (unselect_all_button_clicked_cb):
951 Modified merge properties dialog to use libglade. Added
952 "select all" and "unselect all" buttons.
953 * src/merge-text.c: (parse_line):
954 Handle empty lines better.
955 * src/merge.c: (gl_merge_eval_key):
956 Evaluate the key whether the record is selected or not.
958 * src/util.c: (gl_util_combo_box_add_text_model):
959 Since libglade does not use the gtk_combo_box_new_text()
960 constructor for GtkComboBoxes, a utility function was created
961 to add an appropriate text model to a GtkComboBox.
962 * src/view.c: (gl_view_edit_merge_props):
963 Removed unnecessary "show all's".
965 2005-04-15 Jim Evins <evins@snaught.com>
968 Updated russian translation (Vitaly Lipatov)
969 * data/templates/misc-iso-templates.xml:
970 Added templates for russian business cards provided by Vitaly Lipatov.
972 Updated acknowledgements for above.
974 2005-04-15 Jim Evins <evins@snaught.com>
976 * data/templates/avery-us-templates.xml:
977 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
978 * data/templates/misc-iso-templates.xml:
979 Added Ryman standard CD/DVD template, provided by Dan Clark.
981 Added acknowledgements for above.
983 2005-04-10 Jim Evins <evins@snaught.com>
985 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
986 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
987 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
988 (xml_parse_label_cd_node), (xml_parse_alias_node):
989 * libglabels/xml.c: (gl_xml_get_prop_double),
990 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
991 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
992 * src/xml-label-04.c: (xml04_parse_media_description),
993 (xml04_parse_text_props), (xml04_parse_barcode_props),
994 (xml04_parse_merge_properties):
995 * src/xml-label-191.c: (xml191_parse_object),
996 (xml191_parse_text_props), (xml191_parse_barcode_props),
997 (xml191_parse_merge_fields), (xml191_parse_pixdata),
998 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
999 (xml191_parse_alias):
1000 * src/xml-label.c: (xml_parse_object_text),
1001 (xml_parse_object_barcode), (xml_parse_merge_fields),
1002 (xml_parse_pixdata), (xml_parse_toplevel_span):
1003 Make sure to use xmlFree for anything obtained from libxml
1004 in case libxml and glib use different memory management
1007 2005-04-08 Jim Evins <evins@snaught.com>
1010 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1011 (gl_util_combo_box_set_active_text):
1012 Added utility functions to simplify working with GtkComboBox
1014 * src/ui-property-bar.h:
1015 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1016 (reset_to_default_properties), (update_text_properties),
1017 (font_family_changed_cb):
1018 Replaced deprecated GtkCombo with GtkComboBox.
1021 2005-04-03 Jim Evins <evins@snaught.com>
1024 * src/wdgt-image-select.h:
1025 * src/wdgt-image-select.c:
1026 Removed obsolete wdgt-image-select.[ch] files.
1027 * libglabels/paper.c: (gl_paper_dup):
1028 Fixed rename of parameter introduced during documentation
1030 * data/glade/object-editor.glade:
1031 * src/object-editor-image-page.c:
1032 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1033 (gl_object_editor_set_image), (gl_object_editor_get_image),
1034 (update_preview_cb), (add_image_filters_to_chooser):
1035 * src/object-editor-private.h:
1036 Replaced deprecated GnomePixmapEntry with
1037 GtkFileChooserButton.
1039 2005-04-02 Jim Evins <evins@snaught.com>
1041 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1042 (mygal_combo_box_popup_hide_unconditional),
1043 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1044 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1045 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1046 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1047 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1048 Renamed all internal gtk_combo functions to mygal_combo
1049 to prevent namespace confusion.
1051 2005-04-02 Jim Evins <evins@snaught.com>
1053 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1054 (cust_color_set), (color_palette_setup):
1055 * src/mygal/color-palette.h:
1056 Replaced deprecated GnomeColorPicker with GtkColorButton.
1058 2005-04-02 Jim Evins <evins@snaught.com>
1060 * docs/libglabels/libglabels-sections.txt:
1061 * docs/libglabels/libglabels-undocumented.txt:
1062 * docs/libglabels/tmpl/enums.sgml:
1063 * docs/libglabels/tmpl/paper.sgml:
1064 * docs/libglabels/tmpl/xml-paper.sgml:
1065 * docs/libglabels/tmpl/xml-template.sgml:
1066 * libglabels/enums.h:
1067 * libglabels/paper.c: (gl_paper_dup):
1068 * libglabels/paper.h:
1069 * libglabels/xml-paper.c:
1070 * libglabels/xml-template.c:
1071 More documentation updates for libglabels.
1073 2005-03-23 Jim Evins <evins@snaught.com>
1076 Automatically updated.
1081 * docs/libglabels/Makefile.am:
1082 * docs/libglabels/libglabels-docs.sgml:
1083 * docs/libglabels/libglabels-sections.txt:
1084 * docs/libglabels/libglabels-undocumented.txt:
1085 * docs/libglabels/tmpl/enums.sgml:
1086 * docs/libglabels/tmpl/libglabels-unused.sgml:
1087 * docs/libglabels/tmpl/libglabels.sgml:
1088 * docs/libglabels/tmpl/paper.sgml:
1089 * docs/libglabels/tmpl/template.sgml:
1090 * docs/libglabels/tmpl/xml-paper.sgml:
1091 * docs/libglabels/tmpl/xml-template.sgml:
1092 * docs/libglabels/tmpl/xml.sgml:
1093 Added basic gtk-doc stuff to support documenting libglabels
1096 Updated function comments with gtk-doc markup.
1100 2005-03-22 Jim Evins <evins@snaught.com>
1102 Since the development version now requires gtk-2.6/gnome-2.10, I
1103 have made a first pass at removing deprecations.
1106 * libglabels/Makefile.am:
1108 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1109 Also removed all remnants of HAVE_FILECHOOSER.
1110 * src/file.c: (gl_file_open_real):
1111 Removed code for old GtkFileSelection.
1112 * libglabels/libglabels-private.h:
1113 * libglabels/paper.c:
1114 * libglabels/template.c:
1115 * libglabels/xml-paper.c:
1116 * libglabels/xml-template.c:
1120 * src/glabels-batch.c:
1124 * src/merge-properties-dialog.c:
1126 * src/object-editor.c:
1127 * src/prefs-dialog.c:
1129 * src/print-dialog.c:
1132 * src/template-designer.c:
1133 * src/ui-property-bar.c:
1135 * src/view-barcode.c:
1137 * src/view-ellipse.c:
1142 * src/wdgt-image-select.c:
1143 * src/wdgt-media-select.c:
1144 * src/wdgt-print-copies.c:
1145 * src/wdgt-print-merge.c:
1146 * src/wdgt-rotate-label.c:
1148 * src/xml-label-04.c:
1149 * src/xml-label-191.c:
1151 Added '#include <glib/gi18n.h>" where needed.
1152 Removed any unused '#include <gnome.h>"s.
1154 2005-03-22 Jim Evins <evins@snaught.com>
1156 * src/commands.c: (activate_url), (gl_cmd_help_about):
1157 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1158 development version of glabels now depends on GTK 2.6 and
1161 Updated library dependencies.
1163 2005-02-28 Jim Evins <evins@snaught.com>
1166 * data/templates/misc-iso-templates.xml:
1167 Added 'Ednet 45021' template provided by Ali Akcaagac
1170 2005-02-14 Jim Evins <evins@snaught.com>
1172 * data/templates/avery-us-templates.xml:
1173 Updated templates to use inches instead of points.
1174 * src/print-dialog.c: (printer_page_new):
1175 Changed packing style when adding printer selector widget. This fixes
1178 2005-02-13 Jim Evins <evins@snaught.com>
1182 Updated spanish translations. (sergio rivadero)
1184 2005-02-05 Jim Evins <evins@snaught.com>
1186 Some cleanup to libglabels.
1189 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1190 * libglabels/libglabels.pc.in
1192 * libglabels/enums.h
1193 Created. Currently only contains glUnitsType which provides enumerations
1194 for all possible units of distance.
1195 * libglabels/Makefile.am:
1196 Incorporated new files enums.h and libglabels.pc[.in].
1197 * libglabels/libglabels.h:
1199 * libglabels/template.h:
1200 * libglabels/template.c: (gl_template_layout_new):
1201 Changed parameters nx and ny to gint from gdouble.
1203 * libglabels/xml.c: (gl_xml_get_prop_length),
1204 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1205 Added support for different output units.
1206 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1207 (update_prefs_from_locale_page):
1208 * src/prefs-model.c: (string_to_units), (units_to_string):
1209 * src/prefs-model.h:
1210 * src/prefs.c: (gl_prefs_get_units_per_point),
1211 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1212 (gl_prefs_get_units_string):
1214 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1215 Reconciled all length enumerations with the new enumerations provided
1216 in libglabels/enums.h.
1218 2005-02-03 Jim Evins <evins@snaught.com>
1221 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1223 Updated Italian translations. (Daniele Medri)
1225 Updated credits to reflect above translations.
1228 2005-01-22 Jim Evins <evins@snaught.com>
1233 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1235 Final prep for 2.1.0.
1237 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1239 Added '--remove-original' flag to desktop-file-install, so that there is
1240 only one menu entry.
1242 2005-01-20 Jim Evins <evins@snaught.com>
1244 * data/glade/object-editor.glade:
1245 - Font family entry should not be editable.
1246 - img_key_entry should have sensitivity=YES, so that it follows the
1247 sensitivity of img_key_combo.
1249 2005-01-19 Jim Evins <evins@snaught.com>
1252 Give credit to Frederic Ruaudel for the color merge patches.
1254 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1256 Add support to merge color for all other color attribute (Feature
1257 Requests item #1008635. If the data is invalid, the color used is transparent
1258 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1259 by gdk_color_parse() these include name for a color from rgb.txt, such as
1260 DarkSlateGray, or a hex specification such as #305050. File format has been
1261 changed but backward compatibility is preserved for all format. For
1262 box/ellipse/line, keep attribute "line_color" for static color or replace by
1263 "line_color_field" for merge data. For text/barcode objects, keep attribute
1264 "color" for static color or replace by "color_field" for merge data. In the
1265 edit canvas window, merged color are represented by half-transparent black
1268 * data/dtd/glabels-2.0.dtd:
1269 Added line_color_field to line_attrs. Added color_field to
1270 Object-barcode and Span.
1271 * data/glade/object-editor.glade:
1272 Modify the layout of the editor to add merge possibility to color options
1274 Fix a copy/paste error in a comment
1276 Add default color for merge color representation in the editor canvas.
1277 * src/label-barcode.c:
1278 * src/object-editor-bc-page.c:
1279 * src/view-barcode.c:
1280 Add merge color support for barcode color.
1283 Add merge color support for box border color.
1284 * src/label-ellipse.c:
1285 * src/view-ellipse.c:
1286 Add merge color support for ellipse border color.
1289 Add merge color support for line color.
1290 * src/label-object.c:
1291 * src/label-object.h:
1292 * src/object-editor.c:
1293 * src/object-editor.h:
1294 * src/ui-property-bar.c:
1297 * src/xml-label-04.c:
1298 * src/xml-label-191.c:
1299 Add support for merging to other color attribute.
1301 * src/object-editor-text-page.c:
1303 Add merge color support for text color.
1304 * src/object-editor-fill-page.c:
1305 Change a blocked handler that didn't match the good widget. Fix the type
1306 of some debug message.
1307 * src/object-editor-line-page.c:
1308 Add merging support to line color option.
1309 * src/object-editor-private.h:
1310 Add variables for new widget.
1312 Modify the draw functions to get merge data if needed.
1314 Change the default size of the window in order to see all widget in the
1315 "text style tab" of the editor.
1317 Modify the parser to record/retreive the field value for objects that need
1318 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1319 static color or replace by "line_color_field" for merge data. For
1320 text/barcode objects, keep attribute "color" for static color or replace
1321 by "color_field" for merge data.
1323 2005-01-17 Jim Evins <evins@snaught.com>
1325 * src/view.c: (screen_changed_cb):
1326 Don't do anything if we don't have a screen.
1328 2005-01-06 Jim Evins <evins@snaught.com>
1330 * src/view.c: (get_home_scale):
1331 Fixed bad call to gtk_widget_has_screen() -- huh?.
1333 2005-01-06 Jim Evins <evins@snaught.com>
1335 * data/dtd/glabels-2.0.dtd:
1336 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1339 2005-01-06 Jim Evins <evins@snaught.com>
1341 * data/glade/object-editor.glade:
1342 Set entries for fill and data field key dropdowns to NOT editable.
1343 * src/view-box.c: (construct_properties_editor):
1344 * src/view-ellipse.c: (construct_properties_editor):
1345 Update object editor when label's merge property has changed.
1346 * src/xml-label.c: (xml_parse_object_ellipse):
1347 Completed the merge color support for the ellipse item.
1349 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1351 Add support to merge color for object that have a "Fill color" attribute (Feature
1352 Requests item #1008635. If the data is invalid, the color used is transparent
1353 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1354 by gdk_color_parse() these include name for a color from rgb.txt, such as
1355 DarkSlateGray, or a hex specification such as #305050. File format has been
1356 changed but backward compatibility is preserved for all format. For box/ellipse,
1357 keep attribute "fill_color" for static color or replace by "fill_color_field"
1360 * data/glade/object-editor.glade:
1361 Modify "Fill" tab to add the merge key combo and convert the labels into
1365 Add "glColorNode" structure and associated functions to manage it. This
1366 structure is equivalent for color than the "glTextNode". It holds the color
1368 * src/label-object.h:
1369 * src/label-object.c:
1371 * src/label-ellipse.c:
1372 * src/ui-property-bar.c:
1376 * src/view-ellipse.c:
1377 * src/xml-label-04.c:
1378 * src/xml-label-191.c:
1379 Change functions of objects that have a "fill color" attribute to use the
1380 new "glColorNode" structure. Use barcode code as example.
1382 Add the color.[ch] file to glabels_batch binary that now need support for
1384 * src/object-editor.h:
1385 * src/object-editor.c:
1386 * src/object-editor-fill-page.c:
1387 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1388 to choose between static color or merge key. Use barcode code as example.
1389 * src/object-editor-private.h:
1390 Add new widget in the "_glObjectEditorPrivate" structure.
1392 Modify the draw functions to get merge data if needed.
1394 Modify the parser to record/retreive the field value for objects that need
1395 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1396 color or "fill_color_field" for merge data.
1398 2005-01-04 Jim Evins <evins@snaught.com>
1401 * data/templates/avery-iso-templates.xml:
1402 * data/templates/misc-iso-templates.xml:
1403 * data/templates/misc-us-templates.xml:
1404 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1407 2004-11-26 Jim Evins <evins@snaught.com>
1411 Updated french translations provided by Florent Morel <florent@taket.org>.
1412 * src/view-barcode.c:
1414 * src/view-ellipse.c:
1418 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1419 thus _() strings were not being translated.
1421 2004-11-14 Jim Evins <evins@snaught.com>
1424 * src/debug.c: (gl_debug_init), (gl_debug):
1425 Borrowed from gedit: use environmental variables to select debug
1428 Removed unused include of debug.h.
1429 * src/glabels.c: (main):
1430 Added call to gl_debug_init(), and removed debug clutter from command line
1432 * src/glabels-batch.c: (main):
1433 Added call to gl_debug_init().
1435 2004-11-13 Jim Evins <evins@snaught.com>
1437 Drawing and property toolbars were being initialized with the "icons and text"
1438 look in Fedora Core 3. Even though none of the buttons had any text attached to
1439 them, the buttons were being sized as if they were. This led to less real estate
1440 for the property editor, leading to Bug #1064630. The
1442 * data/ui/glabels-ui.xml:
1443 Added explicit "look" property to both drawing and property toolbars.
1444 * src/prefs-model.c: (gl_prefs_model_save_settings),
1445 (gl_prefs_model_load_settings):
1446 * src/prefs-model.h:
1447 Removed drawing_toolbar_button_style configuration parameter.
1448 * src/ui.c: (view_menu_item_toggled_cb),
1449 (set_app_drawing_toolbar_style):
1450 Do not attempt to adjust look property of the drawing toolbar.
1452 2004-10-28 Jim Evins <evins@snaught.com>
1454 * data/pixmaps/glabels-about-logo.png:
1457 2004-10-28 Jim Evins <evins@snaught.com>
1459 * data/man/glabels.1:
1460 * src/glabels-batch.c: (main):
1462 * src/print.c: (gl_print_batch):
1464 Added option to glabels-batch to select the first label to begin
1467 2004-09-26 Jim Evins <evins@snaught.com>
1469 * data/desktop/glabels.desktop.in:
1470 Point to app icon, "glabels.png"
1471 * data/mime/glabels.keys.in:
1472 Point at mime icon, "glabels-application-x-glabels.png"
1473 * data/pixmaps/Makefile.am:
1474 Added glabels_app_icondir. Renamed icons.
1475 * data/pixmaps/glabels.png:
1476 New cleaned up app icon. Deleted glabels-icon.png.
1477 * data/pixmaps/glabels-application-x-glabels.png:
1479 * data/pixmaps/glabels-splash.png:
1480 Renamed glabels-logo to glabels-splash to be more correct about role.
1482 * src/template-designer.c:
1483 Point at app icon, "glabels.png"
1485 Point at renamed splash image, "glabels-splash.png"
1487 2004-08-22 Jim Evins <evins@snaught.com>
1490 * src/glabels-batch.c: (main):
1491 Applied patch with minor mods to allow selecting merge source and
1492 crop-marks on glabels-batch's command line. Original patch provided by
1493 José Dapena Paz <jdapena@igalia.com>.
1495 2004-08-15 Jim Evins <evins@snaught.com>
1497 * data/desktop/glabels.desktop.in:
1498 - Added encoding line
1499 - Removed period from comment
1500 - Fixed Terminal line, changed "0" to "false"
1501 - Added semicolen to Categories line
1503 - Made sure desktop.in comment string above still translated properly
1505 2004-08-14 Jim Evins <evins@snaught.com>
1507 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1508 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1509 * src/xml-label-191.c: (xml191_parse_sheet):
1510 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1512 Reconciled libglabels versioning with 2.0.1.
1515 2004-08-14 Jim Evins <evins@snaught.com>
1518 Updated version to 2.1cvs.
1520 2004-08-14 Jim Evins <evins@snaught.com>
1523 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1525 2004-08-14 Jim Evins <evins@snaught.com>
1527 Fixes for Bug #1008181.
1529 * src/bc.c: (gl_barcode_default_digits):
1530 Make a format of zero digits, harmless.
1531 * src/xml-label.c: (xml_parse_object_barcode):
1532 Set default value of the format property of barcode objects to 10, not
1533 zero. This will prevent crashes when reading pre 2.0.x files.
1535 2004-08-09 Jim Evins <evins@snaught.com>
1539 * help/C/glabels-C.omf:
1540 * help/C/glabels.xml:
1541 Brought documentation up-to-date for 2.0.0 release.
1543 2004-08-09 Jim Evins <evins@snaught.com>
1545 These are hopefully the final preparations for 2.0.0.
1547 * data/mime/Makefile.am:
1548 Include glabels.xml in EXTRA_DIST.
1550 - Updated comment style.
1551 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1552 - Added package and version info to configuration printout
1553 - Update version to 2.0.0
1554 * libglabels/Makefile.am:
1555 Use the new LIBGLABELS_VERSION_INFO macro.
1557 2004-08-09 Jim Evins <evins@snaught.com>
1561 Cleanup of required library macros.
1563 2004-08-08 Jim Evins <evins@snaught.com>
1567 - More specific of what to install in /usr/bin and /usr/lib
1568 - Remove built mime registration files from staging directory
1570 2004-08-08 Jim Evins <evins@snaught.com>
1572 * data/mime/Makefile.am:
1573 Fixed typo: key_files should have been keys_files.
1575 2004-08-08 Jim Evins <evins@snaught.com>
1577 Reorganization of runtime data files. Also added registration of mimetype with
1578 new freedesktop.org mime database if available.
1581 Moved files to appropriate subdirectories, creating local Makefile.am
1582 in each subdirectory.
1583 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1584 These are now installed at $datadir/glabels/templates.
1585 - Moved glabels.1 to man subdirectory.
1586 - Moved glabels-2.0.dtd to dtd subdirectory.
1587 - Moved glabels.desktop.in to desktop subdirectory.
1588 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1590 Moved "./pixmaps" to "./data/pixmaps"
1592 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1594 Moved libglade files from src to data/glade. Created Makefile.am.
1596 Removed pixmaps from SUBDIRS.
1598 - Removed pixmaps from makefiles.
1599 - Added makefiles for new subdirs of data.
1600 - Added tests for freedesktop.org mime database.
1602 - Added tests for freedesktop.org mime database for post install and
1603 post un-install actions.
1604 * libglabels/Makefile.am:
1605 Moved system template files to $(datadir)/glabels/templates.
1606 * libglabels/libglabels-private.h:
1607 Moved system template files to $(datadir)/glabels/templates.
1609 - Accounted for movement of ui and libglade files.
1610 - Added missing .in files.
1611 - Reorganized by directory.
1613 Accounted for movement of ui and libglade files.
1614 * data/mime/glabels.xml.in:
1615 New file for registering with freedesktop.org mime database.
1617 2004-08-07 Jim Evins <evins@snaught.com>
1619 * src/recent-files/*:
1620 Re-synced to latest libegg/recent-files.
1622 2004-08-07 Jim Evins <evins@snaught.com>
1627 Renamed "./doc" directory to "./help" which contains user documentation,
1628 to be more consistent with other GNOME applications.
1631 2004-07-26 Jim Evins <evins@snaught.com>
1633 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1634 Corrected button order of merge properties dialog.
1636 2004-07-18 Jim Evins <evins@snaught.com>
1638 * data/glabels-2.0.dtd:
1639 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1640 (gl_barcode_get_prefered_n):
1642 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1643 (gl_label_barcode_get_props), (get_size):
1644 * src/label-barcode.h:
1645 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1646 (style_changed_cb), (gl_object_editor_set_bc_style),
1647 (gl_object_editor_get_bc_style):
1648 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1649 (gl_object_editor_set_data), (gl_object_editor_get_data):
1650 * src/object-editor-private.h:
1651 * src/object-editor.c: (gl_object_editor_set_key_names):
1652 * src/object-editor.glade:
1653 * src/object-editor.h:
1654 * src/print.c: (draw_barcode_object):
1655 * src/view-barcode.c: (update_object_from_editor_cb),
1656 (update_editor_from_object_cb),
1657 (gl_view_barcode_create_event_handler), (draw_barcode):
1658 * src/xml-label-04.c: (xml04_parse_barcode_props):
1659 * src/xml-label-191.c: (xml191_parse_barcode_props):
1660 * src/xml-label.c: (xml_parse_object_barcode),
1661 (xml_create_object_barcode):
1662 Added "format" attribute to barcode objects. This attribute is used
1663 to properly format freeform barcodes barcodes prior to merge data is
1664 applied, so that barcodes can be accurately layed out. This addresses
1665 remaining issues of feature request #824787. Also added an example of
1666 the format in the object editor.
1668 2004-07-12 Jim Evins <evins@snaught.com>
1670 Various code cleanups.
1672 * src/label-barcode.c:
1673 Removed unneeded include of gnome-glyphlist.h.
1675 * src/label-text.c: (get_size):
1676 Fixed memory leak: unref glyphlists when done with them.
1678 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1679 * src/object-editor-data-page.c:
1680 (gl_object_editor_prepare_data_page):
1681 * src/object-editor-image-page.c:
1682 (gl_object_editor_prepare_image_page):
1683 * src/object-editor-line-page.c:
1684 (gl_object_editor_prepare_line_page):
1685 * src/object-editor-lsize-page.c:
1686 (gl_object_editor_prepare_lsize_page):
1687 * src/object-editor-position-page.c:
1688 (gl_object_editor_prepare_position_page):
1689 * src/object-editor-size-page.c:
1690 (gl_object_editor_prepare_size_page):
1691 * src/object-editor-text-page.c:
1692 (gl_object_editor_prepare_text_page):
1693 Removed unneeded size groups, originally intended to keep widgets aligned.
1694 Now use tables to lay these out in object-editor.glade.
1696 * src/print.c: (draw_text_object):
1697 Fixed memory leak: unref glyphlists when done with them.
1699 * src/view-barcode.c: (draw_barcode):
1700 Fixed memory leak: unref glyphlists when done with them.
1702 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1703 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1705 - Fixed memory leak: unref glyphlists when done with them.
1707 2004-07-11 Jim Evins <evins@snaught.com>
1709 * data/glabels-2.0.dtd:
1710 * src/label-text.c: (gl_label_text_instance_init), (copy),
1711 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1713 * src/object-editor-private.h:
1714 * src/object-editor-text-page.c:
1715 (gl_object_editor_prepare_text_page),
1716 (gl_object_editor_set_text_auto_shrink),
1717 (gl_object_editor_get_text_auto_shrink):
1718 * src/object-editor.c: (gl_object_editor_set_key_names):
1719 * src/object-editor.glade:
1720 * src/object-editor.h:
1721 * src/print.c: (draw_text_object):
1722 * src/view-text.c: (update_object_from_editor_cb),
1723 (update_editor_from_object_cb):
1724 * src/xml-label.c: (xml_parse_object_text),
1725 (xml_create_object_text):
1726 Added option to allow document merge to auto shrink text size to fit
1727 within the text box. The code in print.c that actually shrinks the
1728 text is loosely based on a patch submitted by Mark Harrison
1729 <mark.harrison@velocitynet.com.au>. This addresses feature request
1732 2004-07-11 Jim Evins <evins@snaught.com>
1734 * data/glabels-2.0.dtd:
1735 * libglabels/template.c: (gl_template_rect_label_type_new),
1736 (gl_template_round_label_type_new),
1737 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1738 (template_full_page):
1739 * libglabels/template.h:
1740 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1741 (xml_create_label_node):
1742 * pixmaps/ex-rect-size.png:
1743 * src/print.c: (clip_to_outline), (clip_punchouts):
1744 * src/template-designer.c: (construct_rect_size_page),
1745 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1747 * src/template-designer.glade:
1748 * src/xml-label-191.c: (xml191_parse_label):
1749 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1750 properties for rectangular labels. Templates remain backwards compatible,
1751 but this breaks the libglabels API (I don't know of anyone outside of
1752 glabels using libglabels at this time -- what can I say, the program is
1753 is still "unstable"). This addresses the suggestion in Feature Request
1756 2004-07-05 Jim Evins <evins@snaught.com>
1757 * src/print.c: (print_crop_marks), (draw_outline):
1758 Changed crop marks and label outlines to black, instead of 25% gray.
1759 This addresses debian Bug #257460.
1761 2004-07-05 Jim Evins <evins@snaught.com>
1763 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1764 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1765 Preserve "is_default" of fill and line color_combos when creating from
1768 2004-07-02 Jim Evins <evins@snaught.com>
1771 Created man page. Based on page submitted by Matthew J. Lockner, however
1772 it has been severely edited.
1774 * data/avery-other-templates.xml
1775 * data/misc-other-templates.xml:
1776 Started new files for predefined templates with non-standard sheet sizes.
1777 These have been initially populated with the Avery 06141 and
1778 OfficeMax #86112, both provided by Matthew J. Lockner.
1781 Install above manpage and template files.
1784 Make sure we install man pages.
1786 * src/glabels-batch.c:
1787 Changed short form of help option to '-?' to be consistent with glabels.
1790 Added acknowledgement for above labels.
1792 2004-07-02 Jim Evins <evins@snaught.com>
1794 * src/glabels.c: (main), (save_session_cb):
1795 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1797 - save_session_cb() now returns gboolean.
1798 - Minor formatting changes.
1802 - Now include file.h to provide missing prototype.
1803 - gl_window_get_type() now returns GType, not guint. I believe this may
1804 ultimately be cause of the segfault reported in Bug #982287, since
1805 GType is actually a gulong, which may not be compatible on other
1806 architectures (64bit) -- I cannot personally test this at this time.
1807 I was sloppy in several other xxx_get_type() functions which also
1808 returned guint -- see next group of files:
1810 * src/window.c: (gl_window_get_type):
1811 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1812 * src/canvas-hacktext.h:
1813 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1814 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1815 (gl_hig_hbox_get_type):
1817 * src/label-barcode.c: (gl_label_barcode_get_type):
1818 * src/label-barcode.h:
1819 * src/label-box.c: (gl_label_box_get_type):
1821 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1822 * src/label-ellipse.h:
1823 * src/label-image.c: (gl_label_image_get_type):
1824 * src/label-image.h:
1825 * src/label-line.c: (gl_label_line_get_type):
1827 * src/label-object.c: (gl_label_object_get_type):
1828 * src/label-object.h:
1829 * src/label-text.c: (gl_label_text_get_type):
1831 * src/label.c: (gl_label_get_type):
1833 * src/merge-properties-dialog.c:
1834 (gl_merge_properties_dialog_get_type):
1835 * src/merge-properties-dialog.h:
1836 * src/merge-text.c: (gl_merge_text_get_type):
1838 * src/merge.c: (gl_merge_get_type):
1840 * src/object-editor.c: (gl_object_editor_get_type):
1841 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1842 * src/prefs-dialog.h:
1843 * src/prefs-model.c: (gl_prefs_model_get_type):
1844 * src/prefs-model.h:
1845 * src/print-dialog.c: (gl_print_dialog_get_type):
1846 * src/print-dialog.h:
1847 * src/template-designer.c: (gl_template_designer_get_type):
1848 * src/template-designer.h:
1849 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1850 * src/ui-property-bar.h:
1851 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1853 * src/view-barcode.c: (gl_view_barcode_get_type):
1854 * src/view-barcode.h:
1855 * src/view-box.c: (gl_view_box_get_type):
1857 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1858 * src/view-ellipse.h:
1859 * src/view-highlight.c: (gl_view_highlight_get_type):
1860 * src/view-highlight.h:
1861 * src/view-image.c: (gl_view_image_get_type):
1863 * src/view-line.c: (gl_view_line_get_type):
1865 * src/view-object.c: (gl_view_object_get_type):
1866 * src/view-object.h:
1867 * src/view-text.c: (gl_view_text_get_type):
1869 * src/view.c: (gl_view_get_type):
1871 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1872 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1873 * src/wdgt-image-select.h:
1874 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1875 * src/wdgt-media-select.h:
1876 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1877 * src/wdgt-mini-preview.h:
1878 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1879 * src/wdgt-print-copies.h:
1880 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1881 * src/wdgt-print-merge.h:
1882 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1883 * src/wdgt-rotate-label.h:
1884 - Made sure all xxx_get_type functions returned GType, not guint. This
1885 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1886 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1887 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1888 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1889 window.[ch] details above for more info.
1890 - Reconciled various coding style differences in all xxx_get_type()
1892 * All prototypes include G_GNUC_CONST.
1893 * All prototypes specify the return value as GType, not GtkType
1895 * Info structures are all declared as "static const."
1896 * Generalized the names of type and info variables.
1897 * Miscelaneous formatting.
1899 2004-06-08 Jim Evins <evins@snaught.com>
1905 Don't touch compression of original file -- still defaults to 9 for
1906 new files. Original patch provided by Javier Donaire Segarra
1907 (#912252 in patch tracker).
1909 2004-05-05 Jim Evins <evins@snaught.com>
1911 * data/glabels-2.0.dtd:
1912 Broke DTD previously when adding new barcode types that contain a
1913 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
1914 to avoid the problem.
1915 * data/avery-iso-templates.xml:
1916 * data/zweckform-iso-templates.xml:
1918 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
1919 provided by Frank Altpeter.
1920 * libglabels/xml-template.c: (xml_create_label_node):
1921 Reordered markup and layout sub-nodes so that resulting templates will
1922 validate against DTD.
1924 2004-03-13 Jim Evins <evins@snaught.com>
1926 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
1927 Changed spin callback signals from "value-changed" back to "changed."
1928 This was accidentally introduced in a previous revision, and can cause
1929 size changes just by selecting the size tab.
1931 2004-03-06 Jim Evins <evins@snaught.com>
1933 * src/view.c: (draw_grid_layer):
1934 For round labels (round and cd) adjust grid so that it lines up with
1935 center of label. Also, no longer draw box around label in the grid layer,
1936 it is hidden by he fg layer anyway. Feature suggested by
1937 nemolivier@free.fr. Although the grid is aligned with the center of the
1938 label, the coordinate system is still relative to the upper left corner
1939 of the rectangle containing the label.
1941 2004-02-25 Jim Evins <evins@snaught.com>
1944 Changed version to 2.0pre1cvs
1946 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
1947 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
1948 instead of doc->name fields when errors encountered.
1950 2004-02-21 Jim Evins <evins@snaught.com>
1952 * data/avery-iso-templates.xml:
1953 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
1956 Added libglabels library and include file to installed files.
1959 Final prep for 1.93.3.
1961 2004-02-20 Jim Evins <evins@snaught.com>
1963 * src/glabels-batch.c: (main):
1964 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
1965 as suggested by Javier Donaire Segarra. This addresses bug #901063.
1967 2004-02-16 Jim Evins <evins@snaught.com>
1970 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
1973 Added HAVE_FILE_CHOOSER to INCLUDES.
1975 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
1976 (gl_file_save_as), (save_as_response):
1977 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
1979 2004-02-16 Jim Evins <evins@snaught.com>
1981 * src/xml-label-04.c: (xml04_parse_image_props):
1982 * src/xml-label-191.c: (xml191_parse_image_props):
1983 * src/xml-label.c: (xml_parse_object_image):
1984 Delay setting image size until after image has been applied to new
1987 2004-02-15 Jim Evins <evins@snaught.com>
1989 * src/label-barcode.c: (gl_label_barcode_set_data),
1990 (gl_label_barcode_set_props):
1991 Don't emit "changed" signal, if no change actually made for these
1992 methods. Reduces number of unnecessary redraws of barcodes.
1994 * src/label-object.h:
1995 * src/label-object.c: (gl_label_object_set_position),
1996 (gl_label_object_set_position_relative), (set_size),
1997 (gl_label_object_set_size),
1998 (gl_label_object_set_size_honor_aspect):
1999 Don't emit "changed" signal, if no change actually made for these
2002 2004-02-15 Jim Evins <evins@snaught.com>
2004 * data/glabels-2.0.dtd:
2005 Added specific subtypes for various barcode types.
2008 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2009 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2010 (gl_barcode_can_text), (gl_barcode_text_optional),
2011 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2012 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2013 Changed API to use a string id, rather than a fixed enumeration. Id and
2014 name are separate strings. Added entries to backend table for specific
2015 subtypes for various barcode types.
2018 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2020 Modified to conform to above API. Now more stringent with data length
2021 for various subtypes.
2023 * src/bc-gnubarcode.h:
2024 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2025 (is_length_valid), (is_length1_valid), (is_length2_valid):
2026 Modified to conform to above API. Now more stringent with data length
2027 for various subtypes.
2029 * src/label-barcode.h:
2030 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2031 (gl_label_barcode_get_props), (get_size):
2032 Modified to use above API for storing barcode type.
2034 * src/object-editor.h:
2035 * src/object-editor-bc-page.c: (style_changed_cb),
2036 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2037 Modified to use above API for storing barcode type.
2039 * src/object-editor-size-page.c:
2040 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2041 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2042 Added debug markers.
2044 * src/object-editor.glade:
2045 Made barcode style combo's text entry non-editable.
2047 * src/print.c: (draw_barcode_object):
2048 Modified to use above API for barcode type.
2050 * src/view-barcode.c: (update_object_from_editor_cb),
2051 (update_editor_from_object_cb),
2052 (gl_view_barcode_create_event_handler), (draw_barcode):
2053 Modified to use above API for barcode type.
2055 * src/xml-label-04.c: (xml04_parse_barcode_props):
2056 * src/xml-label-191.c: (xml191_parse_barcode_props):
2057 * src/xml-label.c: (xml_parse_object_barcode),
2058 (xml_create_object_barcode):
2059 Modified to use above API for barcode type.
2061 2004-02-07 Jim Evins <evins@snaught.com>
2063 * src/stock-pixmaps/Makefile.am:
2064 * src/stock-pixmaps/stock_hchain_24.png:
2065 * src/stock-pixmaps/stock_hchain_broken_24.png:
2066 * src/stock-pixmaps/stock_vchain_24.png:
2067 * src/stock-pixmaps/stock_vchain_broken_24.png:
2068 Added chain pixmaps borrowed from the gimp's default theme.
2071 * src/stock.c: (gl_stock_init), (add_button_icon):
2072 Added above pixmaps to stock icon sets. Created add_button_icon() to
2073 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2075 * src/wdgt-chain-button.h
2076 * src/wdgt-chain-button.c
2079 Added this Modified version of gimpchainbutton widget, borrowed from
2083 Added acknowledgements of the above borrowing from the gimp.
2085 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2087 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2088 * src/object-editor.glade:
2089 Replaced the keep aspect ratio check box with the above chain-button
2092 * src/text-node.c: (gl_text_node_equal):
2094 Added function gl_text_node_equal() to compare text_nodes.
2096 * src/label-image.c: (gl_label_image_set_filename):
2097 Replaced incomplete text_node comparison code with invocation of
2098 gl_text_node_equal. This fixed the problem of not being able to
2099 resize an image using the object_editor if the aspect ratio is not
2102 2004-02-04 Jim Evins <evins@snaught.com>
2104 * src/object-editor-image-page.c:
2105 (gl_object_editor_prepare_image_page):
2106 Track "changed" signal of pixmap entry's GtkEntry rather than its
2107 "activate" signal -- this catches all changes to the entry rather than
2108 just changes resulting from a browse, so one can easily pull previous
2109 entries from the history. (This change is marked below on 2004-02-03,
2110 but somehow never got checked in.)
2112 * src/view-highlight.c: (sl_resize_event_handler),
2113 (sr_resize_event_handler), (st_resize_event_handler),
2114 (sb_resize_event_handler):
2115 Side resize handles will now confirm the actual resize that the object
2116 accepted before adjusting position parameters. Previously some interesting
2117 things happened when resizing a barcode to its minimum size.
2119 2004-02-03 Jim Evins <evins@snaught.com>
2121 * src/object-editor-image-page.c:
2122 (gl_object_editor_prepare_image_page):
2123 Track "changed" signal of pixmap entry's GtkEntry rather than its
2124 "activate" signal -- this catches all changes to the entry rather than
2125 just changes resulting from a browse, so one can easily pull previous
2126 entries from the history.
2128 * src/view-highlight.c: (tl_resize_event_handler),
2129 (tr_resize_event_handler), (bl_resize_event_handler),
2130 (br_resize_event_handler):
2131 Allow control key to be dropped while dragging a corner resize handle
2132 without losing the aspect ratio lock.
2134 2004-02-02 Jim Evins <evins@snaught.com>
2136 * src/label-image.c: (gl_label_image_set_filename):
2137 When setting a new filename adjust size such that the aspect ratio of
2138 the image is preserved using the current size as a bounding box.
2140 * src/view-image.c: (update_object_from_editor_cb):
2141 When updating object from editor, feed back possible size changes to
2142 editor as a result of a possible change in image.
2144 * src/object-editor-size-page.c: (size_reset_cb):
2145 Fixed typo when blocking spin handlers. If the base size is larger than
2146 the max size, treat max size as a bounding box while keeping aspect
2150 2004-02-02 Jim Evins <evins@snaught.com>
2152 * src/label-object.h:
2153 * src/label-object.c: (gl_label_object_set_size),
2154 (gl_label_object_set_size_honor_aspect):
2155 Added gl_label_object_set_size_honor_aspect() which will maintain the
2156 current aspect ratio by modifying the supplied w or h apropriately.
2158 * src/view-highlight.c: (tl_resize_event_handler),
2159 (tr_resize_event_handler), (bl_resize_event_handler),
2160 (br_resize_event_handler):
2161 Corner handles will now maintain the current aspect ratio if the
2162 control key is pressed while resizing. This addresses feature
2166 2004-01-31 Jim Evins <evins@snaught.com>
2169 * data/avery-us-templates.xml:
2170 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2172 * libglabels/template.c: (read_template_files_from_dir):
2173 Corrected problem with testing for extensions.
2175 * src/object-editor.glade:
2176 Corrected grouping of radio buttons in barcode data page.
2178 * src/print.c: (draw_barcode_object):
2179 * src/view-barcode.c: (draw_barcode):
2180 Corrected problem with calculation of y_offset for locating characters.
2182 2004-01-24 Jim Evins <evins@snaught.com>
2185 * data/avery-us-templates.xml:
2186 Added Avery 5824, submitted by Fred Bacon.
2188 2004-01-20 Jim Evins <evins@snaught.com>
2190 Catching up on a couple of backlogged user template submissions.
2192 * data/avery-iso-templates.xml:
2193 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2194 Suggested by Linas Jakucionis.
2196 * data/zweckform-iso-templates.xml:
2197 Added Zweckform 4760, submitted by Thomas Vill.
2200 Updated to reflect above submissions.
2202 2004-01-06 Jim Evins <evins@snaught.com>
2204 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2205 xml.[ch] into a separate library called libglabels, to facilitate third
2206 party use of glabels template files. This was suggested by Wayne Schuller.
2207 Once split-out, some modifications to the structures and functions to
2208 make a cleaner more useful API, hopefully. Rather extensive changes have
2209 propogated to other modules.
2217 * src/xml-template.h:
2218 * src/xml-template.c:
2221 These files have been moved to libglabels/. API cleanup performed.
2223 * libglabels/libglabels.h:
2224 * libglabels/libglabels-private.h:
2225 * libglabels/Makefile.am:
2226 These files have been added to finish out libglabels.
2233 Modified to reflect new sets of files in src/ and libglabels/.
2235 * COPYING.LIBGLABELS:
2237 Added copy of the LGPL for libglabels, and a copy the GFDL for
2240 * src/glabels-batch.c:
2242 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2243 (gl_label_get_size):
2245 * src/prefs-model.c: (gl_prefs_model_load_settings):
2246 * src/print-dialog.c:
2247 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2248 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2249 (print_crop_marks), (print_label), (draw_outline),
2250 (clip_to_outline), (clip_punchouts):
2251 * src/template-designer.c: (construct_pg_size_page),
2252 (pg_size_page_changed_cb), (layout_page_changed_cb),
2253 (print_test_cb), (build_template):
2254 * src/util.c: (gl_util_fraction):
2256 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2257 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2258 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2259 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2260 (draw_markup_margin_round), (draw_markup_margin_cd),
2261 (draw_markup_margin_cd_bc), (draw_markup_line),
2262 (draw_markup_circle), (gl_view_copy):
2263 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2264 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2265 (get_label_size_desc):
2266 * src/wdgt-mini-preview.c:
2267 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2269 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2270 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2271 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2272 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2273 * src/wdgt-rotate-label.h:
2274 * src/xml-label-04.c: (xml04_parse_media_description):
2275 * src/xml-label-191.c: (gl_xml_label_191_parse),
2276 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2277 (xml191_parse_markup), (xml191_parse_alias):
2278 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2280 Various changes to accomodate new libglabels API.
2282 2004-01-03 Jim Evins <evins@snaught.com>
2287 2004-01-03 Jim Evins <evins@snaught.com>
2290 Added acknowledgement of contributions by Wayne Schuller.
2292 * src/commands.c: (gl_cmd_file_print):
2293 Create extra reference to print dialog, so that it can be properly re-used.
2295 * src/mygal/mygal-combo-box.h:
2296 * src/mygal/mygal-combo-box.c:
2297 (mygal_combo_box_popup_hide_unconditional),
2298 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2299 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2300 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2301 (mygal_combo_box_set_tearable):
2302 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2303 complete the rename of this widget to prevent namespace collisions
2306 * src/prefs-dialog.glade:
2307 Fixed alignment of Fill/Color widgets.
2309 2004-01-03 Jim Evins <evins@snaught.com>
2311 * data/avery-iso-templates.xml:
2312 Added user submitted templates.
2313 Avery 8435A & 8435B, submitted by Ludger Solbach.
2315 * doc/C/glabels.xml:
2316 Added minimal documentation, noting the new template designer.
2318 2004-01-03 Jim Evins <evins@snaught.com>
2320 * pixmaps/ex-rect-size.png:
2321 * pixmaps/ex-round-size.png:
2322 * pixmaps/ex-cd-size.png:
2323 * pixmaps/Makefile.am:
2324 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2325 files to be used as illustrations/examples in the template-designer.
2327 * src/template-designer.c: (construct_rect_size_page),
2328 (construct_round_size_page), (construct_cd_size_page),
2329 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2330 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2331 (layout_page_prepare_cb), (build_template):
2332 * src/template-designer.glade:
2333 Added illustrations for rectangle, round, and cd label size pages.
2334 Added margin spinboxes to these pages, and now add a margin markup
2335 to the constructed template. Added realistic default values for
2336 some of the size spinboxes. Cleaned up the code for setting spinbox
2337 ranges on the layouts page.
2339 2004-01-02 Jim Evins <evins@snaught.com>
2341 * src/object-editor-size-page.c: (h_spin_cb):
2342 Fixed cut-n-paste error in h_spin_cb that loaded h from
2343 the wrong spinbutton.
2345 * src/object-editor.h:
2346 * src/object-editor.c: (gl_object_editor_class_init),
2347 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2348 * src/object-editor-private.h:
2349 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2351 Added "size_changed" signal.
2353 * src/view-text.c: (construct_properties_editor),
2354 (update_object_from_editor_cb),
2355 (update_object_from_editor_size_cb):
2356 Track size changes from object editor separately from other
2357 properties. This is so the default size (0,0) of a text
2358 object is not modified unintentionally.
2360 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2362 Added feature: line spacing - allows you to comfortably space a text box to
2363 fit a label perfectly.
2365 * data/glabels-2.0.dtd:
2366 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2367 (gl_label_object_get_text_alignment),
2368 (gl_label_object_get_text_line_spacing):
2369 * src/label-object.h:
2370 * src/label-text.c: (gl_label_text_class_init),
2371 (gl_label_text_instance_init), (copy), (get_size),
2372 (set_text_line_spacing), (get_text_alignment),
2373 (get_text_line_spacing):
2374 * src/object-editor-private.h:
2375 * src/object-editor-text-page.c:
2376 (gl_object_editor_prepare_text_page),
2377 (gl_object_editor_set_text_line_spacing),
2378 (gl_object_editor_get_text_line_spacing):
2379 * src/object-editor.glade:
2380 * src/object-editor.h:
2381 * src/prefs-dialog.c: (construct_object_page),
2382 (update_object_page_from_prefs), (update_prefs_from_object_page):
2383 * src/prefs-dialog.glade:
2384 * src/prefs-model.c: (gl_prefs_model_save_settings),
2385 (gl_prefs_model_load_settings), (get_float):
2386 * src/prefs-model.h:
2387 * src/print.c: (draw_text_object):
2389 * src/view-text.c: (update_object_from_editor_cb),
2390 (update_editor_from_object_cb),
2391 (gl_view_text_create_event_handler), (draw_hacktext):
2392 * src/view.c: (gl_view_construct),
2393 (gl_view_set_selection_text_line_spacing),
2394 (gl_view_set_default_text_line_spacing),
2395 (gl_view_get_default_text_line_spacing):
2397 * src/xml-label.c: (xml_parse_toplevel_span),
2398 (xml_create_toplevel_span):
2400 2003-12-30 Jim Evins <evins@snaught.com>
2402 * src/template-designer.c:
2403 * src/template-designer.h:
2404 * src/template-designer.glade:
2405 New template designer assistant.
2409 Added entries for src/template-designer.* files.
2411 * pixmaps/ex-1layout.png
2412 * pixmaps/ex-2layouts.png
2413 * pixmaps/Makefile.am:
2414 Added the new image files ex-*.png used as illustrations in the
2415 template designer assistant.
2417 * src/print-dialog.h:
2418 * src/print-dialog.c: (gl_print_dialog_finalize),
2419 (gl_print_dialog_new), (gl_print_dialog_construct),
2420 (gl_print_dialog_force_outline_flag):
2421 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2422 to support printing from the template designer assistant which does not
2423 have a full-fledged view. Nothing else from the view object was being
2424 used by the dialog anyway.
2426 Added the gl_print_dialog_force_outline_flag() method, for better
2427 integration with the template designer assistant.
2431 * src/commands.c: (gl_cmd_file_template_designer),
2432 (gl_cmd_file_print):
2433 Modified print command to provide label instead of view to dialog.
2434 Added the gl_cmd_file_template_designer() command to invoke the
2435 template designer assistant.
2438 * src/glabels-ui.xml:
2439 Added support for template designer assistant.
2441 * src/wdgt-mini-preview.h:
2442 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2443 (gl_wdgt_mini_preview_set_bg_color):
2444 Preview is now centered in canvas. Added
2445 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2446 assistant to match the background color with its own.
2448 * src/print.c: (clip_to_outline):
2449 Fixed really stupid bug when adding waste to clip region of rectangular
2450 labels/cards. Each side of the clip region needs to be extended by
2451 twice the waste margin, as well as negatively offset by the waste
2454 2003-12-28 Jim Evins <evins@snaught.com>
2456 * src/prefs-dialog.c: (update_object_page_from_prefs):
2457 Block intermediary function align_toggle_cb() instead of
2458 update_prefs_from_object_page() for the three alignment
2461 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2463 * src/file.c: (gl_file_new), (gl_file_properties):
2464 Swap button order and set default for higificatory pleasure.
2466 2003-12-27 Jim Evins <evins@snaught.com>
2468 * barcode-0.98/Makefile.am:
2469 One last time: removed doc/Makefile and po/Makefile.in.in from
2472 2003-12-27 Jim Evins <evins@snaught.com>
2474 * barcode-0.98/Makefile.am:
2475 Removed config.stat entry from EXTRA_DIST files.
2477 * barcode-0.98/Makefile.in:
2480 2003-12-27 Jim Evins <evins@snaught.com>
2483 Updated to work with latest gnome-common package from CVS.
2484 Removed recursive configuration of barcode-0.98.
2491 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2493 * barcode-0.98/Makefile.in:
2494 * barcode-0.98/configure.in:
2495 * barcode-0.98/Makefile.am:
2496 * barcode-0.98/README.glabels:
2497 Modified to ignore the barcode package's build system, and build
2498 as a part of glabels.
2499 Renamed Makefile.in to Makefile.in.dist.
2500 Renamed configure.in to configure.in.dist.
2501 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2504 * src/mygal/Makefile.am:
2505 * src/recent-files/Makefile.am:
2506 In order to build against the GNOME 2.5 platform,
2507 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2509 * src/mygal/Makefile.am:
2510 * src/mygal/mygal-combo-box.c:
2511 * src/mygal/mygal-combo-box.h:
2512 * src/mygal/widget-color-combo.c:
2513 * src/mygal/widget-color-combo.h:
2515 In order to build against the GNOME 2.5 platform,
2516 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2517 collisions with the real gtk_combo_box widget, now a part of gtk.
2519 2003-12-26 Jim Evins <evins@snaught.com>
2525 Moved local versions of get_home_data_dir() in paper.c and
2526 template.c to util package. Cleaned up formatting in
2530 In gl_template_register() save a copy of the template in
2531 ~/.glabels if the template is not known. Still need to
2532 handle duplicate filename case and duplicate name but
2533 different template case.
2537 Moved local definition of NAME_SPACE macro from xml-label.c
2540 * src/xml-template.c:
2541 * src/xml-template.h:
2542 Added function gl_xml_template_write_template_to_file(), used
2543 in gl_template_register().