1 2007-02-03 Jim Evins <evins@snaught.com>
3 * data/glade/template-designer.glade:
4 * src/template-designer.c:
5 * src/template-designer.h:
6 Ported GnomeDruid to GtkAssistant. Since libglade does not
7 yet support the GtkAssistant and we derive directly from
8 the Assistant, the pages are layed out in a GtkNotebook in
9 the glade description -- we then append each page to the
12 2007-01-25 Jim Evins <evins@snaught.com>
14 * data/glade/object-editor.glade:
15 Added dummy page to notebook, to prevent shadow page from
16 becoming the default current page at creation.
17 * src/view-box.c: (construct_properties_editor):
18 * src/view-ellipse.c: (construct_properties_editor):
19 * src/view-line.c: (construct_properties_editor):
20 * src/view-text.c: (construct_properties_editor):
21 Reconciled order of params.
23 2007-01-19 Jim Evins <evins@snaught.com>
25 * src/label-barcode.h:
26 * src/label-object.c: (gl_label_object_set_font_weight),
27 (gl_label_object_set_text_alignment),
28 (gl_label_object_get_font_weight),
29 (gl_label_object_get_text_alignment):
31 * src/label-text.c: (gl_label_text_instance_init), (copy),
32 (get_size), (set_font_family), (set_font_weight),
33 (set_text_alignment), (get_font_weight), (get_text_alignment):
35 * src/object-editor-text-page.c:
36 (gl_object_editor_prepare_text_page),
37 (gl_object_editor_set_font_family),
38 (gl_object_editor_set_font_weight),
39 (gl_object_editor_get_font_weight),
40 (gl_object_editor_set_text_alignment),
41 (gl_object_editor_get_text_alignment),
42 (gl_object_editor_set_text_color):
43 * src/object-editor.h:
44 * src/prefs-dialog.c: (construct_object_page),
45 (update_object_page_from_prefs), (update_prefs_from_object_page):
46 * src/prefs-model.c: (gl_prefs_model_save_settings),
47 (gl_prefs_model_load_settings):
49 * src/print.c: (draw_text_object):
50 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
51 (reset_to_default_properties), (update_text_properties),
52 (font_bold_toggled_cb), (text_align_toggled_cb):
54 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
55 (gl_util_weight_to_string), (gl_util_string_to_weight),
56 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
58 * src/view-text.c: (update_object_from_editor_cb),
59 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
60 * src/view.c: (gl_view_set_selection_text_alignment),
61 (gl_view_set_default_text_alignment),
62 (gl_view_get_default_text_alignment):
64 * src/xml-label-04.c: (xml04_parse_text_props):
65 * src/xml-label-191.c: (xml191_parse_text_props):
66 * src/xml-label.c: (xml_parse_object_text),
67 (xml_parse_toplevel_span), (xml_create_object_text),
68 (xml_create_toplevel_span):
69 Converted all model internals to Pango. GnomeFont remains in
70 view until GnomeCanvas can be replaced with a cairo-based canvas.
72 2007-01-17 Jim Evins <evins@snaught.com>
78 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
79 (gl_wdgt_print_copies_construct):
80 * src/wdgt-print-copies.h:
81 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
82 (gl_wdgt_print_merge_construct):
83 * src/wdgt-print-merge.h:
84 Removed all remaining HIG wrapper widgets.
86 2007-01-16 Jim Evins <evins@snaught.com>
93 * src/template-designer.c: (print_test_cb):
94 * src/ui-commands.c: (gl_ui_cmd_file_print):
96 Renamed PrintDialog to PrintOp. Added constructor for batch
98 * src/glabels-batch.c: (main):
99 Converted to use new PrintOp object for printing.
101 2007-01-15 Jim Evins <evins@snaught.com>
103 * data/glade/Makefile.am:
104 * data/glade/print-custom-widget.glade:
105 * src/print-dialog.c:
106 * src/print-dialog.h:
109 * src/template-designer.c: (print_test_cb):
110 * src/ui-commands.c: (gl_ui_cmd_file_print):
111 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
112 * src/wdgt-print-merge.h:
113 * src/window.c: (gl_window_init):
115 Initial conversion to GtkPrintOperation.
117 - Remove font and other libgnomeprint[ui] from elsewhere
118 - Add batch initialization of print operation
120 2007-01-08 Jim Evins <evins@snaught.com>
122 Updated dependencies. Set version to 2.1.pre4cvs.
124 2007-01-03 Jim Evins <evins@snaught.com>
127 Removed EggRecent stuff.
136 Ported from EggRecent to GtkRecentManager.
139 2007-01-02 Jim Evins <evins@snaught.com>
142 * iec16022-0.2.1/BUGS:
143 * iec16022-0.2.1/CHANGELOG:
144 * iec16022-0.2.1/CREDITS:
145 * iec16022-0.2.1/INSTALL:
146 * iec16022-0.2.1/LICENSE:
147 * iec16022-0.2.1/Makefile.am:
148 * iec16022-0.2.1/Makefile.dist:
149 * iec16022-0.2.1/README:
150 * iec16022-0.2.1/README.glabels:
151 * iec16022-0.2.1/TODO:
152 * iec16022-0.2.1/iec16022.1:
153 * iec16022-0.2.1/iec16022.c:
154 * iec16022-0.2.1/iec16022ecc200.c:
155 * iec16022-0.2.1/iec16022ecc200.h:
156 * iec16022-0.2.1/image.c:
157 * iec16022-0.2.1/image.h:
158 * iec16022-0.2.1/reedsol.c:
159 * iec16022-0.2.1/reedsol.h:
160 * iec16022-0.2.1/test/testsuite-example.bin:
161 * iec16022-0.2.1/test/testsuite-example.eps:
162 * iec16022-0.2.1/test/testsuite-example.hex:
163 * iec16022-0.2.1/test/testsuite-example.png:
164 * iec16022-0.2.1/test/testsuite-example.text:
165 * iec16022-0.2.1/test/testsuite.sh:
166 Include modified copy of iec16022-0.2.1 to provide encoding
167 support for datamatrix 2D barcodes.
172 Added initial datamatrix 2D barcode backend to barcode code.
175 Automatic updates to later versions of these files.
177 2006-11-28 Jim Evins <evins@snaught.com>
179 * data/templates/avery-iso-templates.xml:
180 * data/templates/avery-us-templates.xml:
181 * data/templates/categories.xml:
182 * data/templates/misc-iso-templates.xml:
183 * data/templates/misc-us-templates.xml:
184 * data/templates/zweckform-iso-templates.xml:
187 2006-09-12 Jim Evins <evins@snaught.com>
189 * data/dtd/glabels-2.0.dtd:
190 * data/templates/Makefile.am:
191 * data/templates/avery-iso-templates.xml:
192 * data/templates/avery-other-templates.xml:
193 * data/templates/avery-us-templates.xml:
194 * data/templates/categories.xml:
195 * data/templates/misc-iso-templates.xml:
196 * data/templates/misc-other-templates.xml:
197 * data/templates/zweckform-iso-templates.xml:
198 * data/glade/Makefile.am:
199 * data/glade/new-label-dialog.glade:
200 * data/glade/wdgt-media-select.glade:
201 * data/glade/wdgt-rotate-label.glade:
202 * libglabels/Makefile.am:
203 * libglabels/category.c:
204 * libglabels/category.h:
205 * libglabels/libglabels.h:
206 * libglabels/paper.c:
207 * libglabels/template.c:
208 * libglabels/template.h:
209 * libglabels/xml-category.c:
210 * libglabels/xml-category.h:
211 * libglabels/xml-template.c:
212 Added support for category meta data.
215 * src/mini-preview-pixbuf.c:
216 * src/mini-preview-pixbuf.h:
217 * src/new-label-dialog.c:
218 * src/new-label-dialog.h:
219 * src/wdgt-media-select.c:
220 * src/wdgt-media-select.h:
221 * src/wdgt-rotate-label.c:
222 * src/wdgt-rotate-label.h:
223 New "new label" dialog.
225 2006-05-27 Jim Evins <evins@snaught.com>
230 Preparation for 2.1.3.
236 2006-05-22 Jim Evins <evins@snaught.com>
238 * src/print.c: (draw_barcode_object):
239 Don't print "Invalid barcode data" if data field is empty. Patch provided
240 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
242 Added acknowledgment for above patch.
243 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
244 * src/bc-postnet.c: (postnet_code):
245 Removed "Invalid barcode data" warnings from stderr.
246 * src/view-barcode.c: (draw_barcode):
247 Draw box around barcode extent if data empty or invalid. Center a
248 message whether the data is empty or invalid in box.
250 2006-05-22 Jim Evins <evins@snaught.com>
252 * src/print.c: (draw_text_object):
253 Check shadow state when printing text.
255 2006-05-20 Jim Evins <evins@snaught.com>
257 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
258 (gl_ui_cmd_view_markup_toggle):
259 Fixed crash when grid or markup have been toggled off during
260 a previous session. Bug #1434324.
262 2006-04-05 Jim Evins <evins@snaught.com>
264 * src/object-editor.c: (gl_object_editor_set_key_names):
265 Fixed potential crash when freeing empty key list.
267 2006-03-11 Jim Evins <evins@snaught.com>
269 * src/print.c: (draw_text_object):
270 * src/view-text.c: (gl_view_text_new),
271 (construct_properties_editor), (update_object_from_editor_cb),
272 (update_editor_from_object_cb), (update_editor_from_label_cb),
274 Added shadow support to text object.
276 2006-02-18 Jim Evins <evins@snaught.com>
278 * src/print.c: (draw_line_object):
279 * src/view-line.c: (gl_view_line_new),
280 (construct_properties_editor), (update_canvas_item_from_object_cb),
281 (update_object_from_editor_cb), (update_editor_from_object_cb),
282 (update_editor_from_label_cb):
283 Added shadow support to line object.
285 2006-02-16 Jim Evins <evins@snaught.com>
289 * src/print.c: (draw_ellipse_object):
290 * src/view-ellipse.c: (gl_view_ellipse_new),
291 (construct_properties_editor), (update_canvas_item_from_object_cb),
292 (update_object_from_editor_cb), (update_editor_from_object_cb),
293 (update_editor_from_label_cb):
294 Added shadow support to ellipse object.
296 2006-02-15 Jim Evins <evins@snaught.com>
298 * src/label-object.c:
299 Changed default shadow offsets.
300 * src/view-box.c: (gl_view_box_new):
301 Simplified gl_view_box_new() so that is does not duplicate code
302 in update_canvas_item_from_object_cb().
304 2006-02-07 Jim Evins <evins@snaught.com>
306 * data/glade/object-editor.glade:
307 Fixed color groups of color combos.
309 Added default shadow color.
310 * src/object-editor.c: (gl_object_editor_construct_color_combo):
311 Added shadow color group.
313 2006-02-06 Jim Evins <evins@snaught.com>
315 * src/object-editor-shadow-page.c:
316 Forgot to add this file.
317 * src/view-box.c: (gl_view_box_new),
318 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
319 Update limits on shadow offset spinbuttons.
321 2006-01-19 Jim Evins <evins@snaught.com>
323 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
324 Initialize key_list to NULL.
325 * data/glade/object-editor.glade:
329 * src/label-object.c:
330 * src/label-object.h:
331 * src/object-editor-fill-page.c:
332 * src/object-editor-private.h:
333 * src/object-editor.c:
334 * src/object-editor.h:
336 Created infrastructure for shadow support.
339 Initial shadow support in box object only.
341 2006-01-05 Jim Evins <evins@snaught.com>
343 * src/merge-properties-dialog.c: (src_changed_cb):
344 Be extra paranoid before calling strcmp().
345 * src/merge.c: (gl_merge_set_src):
346 Don't make (merge == NULL) a critical error.
348 2005-12-22 Jim Evins <evins@snaught.com>
350 * src/glabels-batch.c: (main):
351 Compile warning free with gcc 4.0.
353 2005-12-21 Jim Evins <evins@snaught.com>
356 Updated example RPM spec file.
358 2005-12-21 Jim Evins <evins@snaught.com>
362 Preparation for 2.1.2.
364 2005-12-20 Jim Evins <evins@snaught.com>
367 Define unique G_LOG_DOMAIN for glabels.
368 * src/critical-error-handler.c: (gl_critical_error_handler_init):
369 * src/warning-handler.c: (gl_warning_handler_init),
371 Register for G_LOG_DOMAIN instead of NULL.
373 2005-12-10 Jim Evins <evins@snaught.com>
375 * src/merge-evolution.c:
379 2005-12-08 Jim Evins <evins@snaught.com>
381 * libglabels/paper.c: (read_paper_files_from_dir):
382 * libglabels/template.c: (gl_template_register),
383 (read_template_files_from_dir):
384 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
385 (gl_xml_paper_parse_papers_doc):
386 * libglabels/xml-template.c:
387 (gl_xml_template_read_templates_from_file),
388 (gl_xml_template_parse_templates_doc),
389 (gl_xml_template_parse_template_node),
390 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
391 (xml_parse_label_cd_node), (xml_parse_layout_node),
392 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
393 (xml_parse_markup_circle_node),
394 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
395 * libglabels/xml.c: (gl_xml_get_prop_length):
396 Re-classified g_warnings to g_messages.
398 * src/glabels.c: (main):
399 * src/warning-handler.c: (gl_warning_handler_init),
401 * src/warning-handler.h:
402 Added warning message handler to make sure the user is
403 presented with appropriate non-fatal errors.
404 * src/critical-error-handler.c: (critical_error_handler):
405 Changed exit to abort.
406 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
407 * src/bc-postnet.c: (postnet_code):
408 * src/bc.c: (id_to_index), (name_to_index):
409 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
410 * src/object-editor.c: (gl_object_notebook_construct_valist):
411 * src/prefs-dialog.c: (update_locale_page_from_prefs):
412 * src/prefs.c: (gl_prefs_get_units_per_point),
413 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
414 (gl_prefs_get_units_string):
415 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
416 * src/splash.c: (gl_splash):
417 * src/ui-commands.c: (gl_ui_cmd_help_contents):
418 * src/view-highlight.c: (gl_view_highlight_new),
419 (highlight_resizable_box_construct), (object_changed_cb),
420 (view_scale_changed_cb):
421 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
422 (draw_markup_layer), (draw_markup_margin),
423 (gl_view_object_create_mode), (canvas_event),
424 (selection_received_cb):
425 * src/wdgt-mini-preview.c: (mini_outline_list_new):
426 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
427 * src/xml-label-04.c: (gl_xml_label_04_parse),
428 (xml04_parse_media_description), (xml04_parse_text_props),
429 (xml04_parse_barcode_props):
430 * src/xml-label-191.c: (gl_xml_label_191_parse),
431 (xml191_parse_objects), (xml191_parse_object),
432 (xml191_parse_text_props), (xml191_parse_image_props),
433 (xml191_parse_barcode_props), (xml191_parse_data),
434 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
435 (xml191_parse_markup):
436 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
437 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
438 (xml_parse_object_text), (xml_parse_object_image),
439 (xml_parse_object_barcode), (xml_parse_data),
440 (xml_parse_toplevel_span), (gl_xml_label_save),
441 (xml_create_objects):
442 Re-classified g_warnings to g_messages.
443 * src/merge-evolution.c: (gl_merge_evolution_open),
444 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
445 Use g_warning to output errors encountered while
446 communicating with the evolution data server
447 instead of embedding them in the data.
449 2005-12-08 Jim Evins <evins@snaught.com>
451 * libglabels/libglabels-private.h:
453 * libglabels/paper.c: (read_papers):
454 * libglabels/template.c: (read_templates):
455 Made appropriate warnings critical.
457 * src/critical-error-handler.h:
458 * src/critical-error-handler.c: (gl_critical_error_handler_init),
459 (critical_error_handler):
460 Created critical error handler.
461 * src/glabels.c: (main):
462 Register critical error handler.
463 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
464 * src/object-editor.c: (gl_object_editor_init):
465 * src/prefs-dialog.c: (gl_prefs_dialog_init):
466 * src/template-designer.c: (gl_template_designer_init):
467 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
468 Made appropriate warnings critical.
470 2005-11-27 Jim Evins <evins@snaught.com>
472 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
473 (gl_merge_evolution_get_primary_key),
474 (gl_merge_evolution_get_record):
475 Don't create "record_key" pseudo-key. Don't populate
476 fields with null data.
478 2005-11-25 Jim Evins <evins@snaught.com>
480 * src/merge-evolution.c: (gl_merge_evolution_finalize),
481 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
482 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
484 Query EDS for all supported fields. Patch provided by
485 Austin Henry <ahenry@users.sourceforge.net>.
487 2005-10-29 Jim Evins <evins@snaught.com>
489 * src/glabels.c: (main):
490 * src/label-barcode.c: (gl_label_barcode_finalize):
491 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
492 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
493 * src/object-editor.c: (gl_object_editor_finalize):
494 Another pass at valgrinding -- plugged several memory leaks.
495 * src/view-text.c: (gl_view_text_new),
496 (update_canvas_item_from_object_cb), (draw_hacktext):
497 Commented out artifacts of edit-in-place code.
499 2005-10-28 Jim Evins <evins@snaught.com>
501 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
502 Fixed use of uninitialized variable. Caught by
503 d binderman <dcb314@hotmail.com>.
505 2005-10-27 Jim Evins <evins@snaught.com>
507 * src/merge-evolution.c: (gl_merge_evolution_get_record):
508 * src/merge-vcard.c: (gl_merge_vcard_get_record),
510 Additional cleanup of EDS and vcard backends. Provided by
511 Austin Henry <ahenry@users.sourceforge.net>.
513 2005-10-24 Jim Evins <evins@snaught.com>
517 * src/merge-evolution.c:
518 * src/merge-evolution.h:
519 * src/merge-init.c: (gl_merge_init):
520 * src/merge-properties-dialog.c: (type_changed_cb):
523 * src/ui-commands.c: (gl_ui_cmd_help_about):
524 Added Evolution Data Server and VCard merge backends. Original patch
525 provided by Austin Henry <ahenry@users.sourceforge.net>.
527 Only support EDS and VCard backends if libebook is installed. Allow
528 user to disable support, even if installed.
530 2005-10-24 Jim Evins <evins@snaught.com>
533 * data/templates/avery-iso-templates.xml:
534 * data/templates/avery-us-templates.xml:
535 * data/templates/misc-iso-templates.xml:
536 * data/templates/zweckform-iso-templates.xml:
537 Collected all template changes and submissions since last
540 2005-10-23 Jim Evins <evins@snaught.com>
543 * data/mime/Makefile.am:
544 Added configure options to disable update-mime-database and
545 update-desktop-database as part of the install. Patch
546 provided by Leonardo Boshell (qhoracio@sourceforge.net).
548 2005-10-23 Jim Evins <evins@snaught.com>
551 * libglabels/xml.c: (gl_xml_get_prop_string),
552 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
553 (gl_xml_is_node), (gl_xml_get_node_content):
554 Added new XML utility functions.
555 * libglabels/xml-paper.c:
556 * libglabels/xml-template.c:
558 Cleanup by using new xml utilities created above.
559 * libglabels/paper.c: (gl_paper_free):
560 * src/file.c: (new_response):
561 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
562 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
563 (gl_pixbuf_cache_get_pixbuf):
564 * src/ui-property-bar.c:
565 (gl_ui_property_bar_construct_color_combo):
566 * src/view-highlight.c: (gl_view_highlight_finalize):
567 * src/view-image.c: (update_object_from_editor_cb):
568 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
569 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
570 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
571 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
572 (draw_markup_margin_round), (draw_markup_margin_cd),
573 (draw_markup_margin_cd_bc):
574 * src/wdgt-mini-preview.c: (mini_outline_list_new):
575 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
576 Plugged various memory leaks located with valgrind.
577 * src/view-image.c: (update_canvas_item_from_object_cb):
578 Don't allow a width or height of zero when drawing pixbuf.
580 2005-10-22 Jim Evins <evins@snaught.com>
582 * libglabels/xml-paper.c:
583 * libglabels/xml-template.c:
586 * src/bc-gnubarcode.c:
587 * src/canvas-hacktext.c:
589 * src/object-editor-data-page.c:
590 * src/print-dialog.c:
593 * src/template-designer.c:
595 * src/ui-property-bar.c:
597 * src/view-barcode.c:
599 * src/view-ellipse.c:
604 * src/wdgt-media-select.c:
605 * src/xml-label-04.c:
606 * src/xml-label-191.c:
608 Modified to compile warning free with gcc-4.0. Mostly
609 casting to change signedness of characters. Did not
610 attack gnu-barcode library yet.
612 2005-10-22 Jim Evins <evins@snaught.com>
614 * src/glabels.c: (main):
615 * src/splash.c: (gl_splash):
616 Removed some small memory leaks.
620 2005-09-19 Jim Evins <evins@snaught.com>
622 * data/glade/property-bar.glade:
623 Remove items from font_family_combo. This prevents the
624 double entry after adding text model and list of fonts.
625 * src/ui-property-bar.c: (reset_to_default_properties):
626 Free font_family_list.
628 2005-07-01 Jim Evins <evins@snaught.com>
631 Updated italian translation (Daniele Medri)
633 2005-06-26 Jim Evins <evins@snaught.com>
635 * docs/libglabels/libglabels-decl-list.txt:
636 Somehow never got checked in before.
637 * docs/libglabels/libglabels.types:
638 Removed -- don't need it afterall.
640 2005-06-20 Jim Evins <evins@snaught.com>
643 Final prep for 2.1.1 release.
645 2005-06-20 Jim Evins <evins@snaught.com>
648 Final preps for 2.1.1 release.
649 * docs/libglabels/libglabels.types:
650 Somehow never got checked in before.
652 Bring up-to-date with recent reorg of ui code.
655 2005-06-19 Jim Evins <evins@snaught.com>
657 * src/template-designer.c: (construct_layout_page):
658 Removed attempt to match background color of mini preview widget to
661 2005-06-17 Jim Evins <evins@snaught.com>
663 * help/C/figures/merge-ex2-4.png:
664 * help/C/glabels.xml:
665 Fixed spelling error.
667 2005-06-13 Jim Evins <evins@snaught.com>
669 * help/C/figures/merge-ex1-1.png:
670 * help/C/figures/merge-ex1-2.png:
671 * help/C/figures/merge-ex1-3.png:
672 * help/C/figures/merge-ex1-4.png:
673 * help/C/figures/merge-ex2-1.png:
674 * help/C/figures/merge-ex2-2.png:
675 * help/C/figures/merge-ex2-3.png:
676 * help/C/figures/merge-ex2-4.png:
677 Added figures for document merge tutorial.
678 * help/C/glabels.xml:
679 Added document merge tutorial.
681 2005-05-19 Jim Evins <evins@snaught.com>
683 * data/glade/merge-properties-dialog.glade:
684 Fixed irregular spacing.
685 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
686 (gl_merge_properties_dialog_construct):
687 Set outer padding and remove separator.
689 2005-05-18 Jim Evins <evins@snaught.com>
693 Removed glHigDialog class.
694 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
695 (gl_file_properties), (create_properties_dialog_widgets):
696 * src/prefs-dialog.h:
697 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
698 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
699 * src/print-dialog.h:
700 * src/prefs-dialog.h:
701 * src/print-dialog.c: (gl_print_dialog_get_type),
702 (gl_print_dialog_init), (gl_print_dialog_construct):
703 Replaced all instances of glHigDialog with GtkDialog.
705 2005-05-17 Jim Evins <evins@snaught.com>
709 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
710 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
711 (save_as_response), (gl_file_close):
712 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
714 2005-05-15 Jim Evins <evins@snaught.com>
724 A little code reformatting -- no functional changes.
726 2005-05-14 Jim Evins <evins@snaught.com>
729 Removed obsolete macros.
731 Added marshalling template to support new view signal: "context_menu_activate."
733 * src/view.c: (gl_view_class_init), (gl_view_construct),
734 (canvas_event_arrow_mode):
735 - Removed hardcoded context menus and added new signal "context_menu_activate"
736 to push this up to the uimanager.
737 - Removed merge properties and print dialogs so that they can be managed with
738 the window by the uimanager.
739 * src/merge-properties-dialog.h:
740 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
741 (gl_merge_properties_dialog_construct):
742 Changed calling convention of gl_merge_properties_dialog_new() to use
743 glLabel and GtkWindow instead of view to make more consistent with other
745 * src/print-dialog.h:
746 * src/print-dialog.c: (gl_print_dialog_new),
747 (gl_print_dialog_construct):
748 Removed last artifact of libbonoboui.
749 * src/ui-commands.c: (gl_ui_cmd_file_print),
750 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
751 Reconciled style for launching dialogs.
752 * src/ui.c: (gl_ui_new):
753 Added context menus to ui manager.
754 * src/view-object.c: (item_event_arrow_mode):
755 No longer try to select objects with right-click.
757 * src/window.c: (gl_window_init), (gl_window_set_label),
758 (context_menu_activate_cb):
759 Context menus and all dialogs are now managed in a consistent way in window
762 2005-05-11 Jim Evins <evins@snaught.com>
765 * src/window.c: (gl_window_init), (gl_window_destroy):
766 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
767 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
768 Moved management of recent_view back from window.c to ui.c -- it just feels
771 2005-05-10 Jim Evins <evins@snaught.com>
774 * src/window.c: (gl_window_init):
776 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
777 (menu_item_select_cb), (menu_item_deselect_cb):
778 Added GtkStatusbar which displays menu tooltips.
780 2005-05-09 Jim Evins <evins@snaught.com>
782 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
787 Removed dependencies on libbonoboui.
789 * data/ui/Makefile.am:
790 * data/ui/glabels-ui.xml:
791 Removed data/ui directory.
792 * data/glade/Makefile.am:
793 * data/property-bar.glade:
794 Added glade description of property-bar for new libglade implementation
803 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
804 since the distinction between "commands" and "tools" is no longer that clear.
807 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
808 no longer has knowledge of eggRecent*.
809 * src/glabels.c: (main):
810 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
812 * src/object-editor.c: (gl_object_editor_init):
813 Make sure notebook does not respond to a "show_all" on the parent.
814 * src/recent-files/Makefile.am:
815 * src/recent-files/*.[ch]
816 Updated from latest version of libegg which now has a view based on
817 GtkUIManager. Removed unused bonobo and gtk views.
818 * src/ui-property-bar.h:
819 * src/ui-property-bar.c:
820 New implementation based on libglade.
823 Sidebar is now simply a GtkWidget and does not expect to be a part of
824 a libbonoboui interface.
829 Converted for use with GtkUIManager.
832 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
833 to create menus and toolbars.
835 2005-04-25 Jim Evins <evins@snaught.com>
837 * data/templates/misc-iso-templates.xml:
838 Added Fellows 04715 template provided by Steve Saxon.
840 Updated acknowledgement for above.
842 2005-04-23 Jim Evins <evins@snaught.com>
844 * src/util.c: (gl_util_combo_box_set_strings):
845 Make sure to clear model before loading a new list of strings.
846 * src/wdgt-media-select.h:
847 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
848 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
849 (template_combo_changed_cb), (prefs_changed_cb),
850 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
851 (gl_wdgt_media_select_get_page_size),
852 (gl_wdgt_media_select_set_page_size):
853 Replaced the deprecated GtkCombo widget with the new
856 2005-04-21 Jim Evins <evins@snaught.com>
858 * data/glade/template-designer.glade:
859 * src/template-designer.c: (construct_pg_size_page),
860 (pg_size_page_changed_cb), (build_template):
861 Replaced the deprecated GtkCombo widget with the new
864 2005-04-20 Jim Evins <evins@snaught.com>
866 * data/glade/prefs-dialog.glade:
867 * src/prefs-dialog.c: (construct_object_page),
868 (update_object_page_from_prefs), (update_prefs_from_object_page):
869 Replaced the deprecated GtkCombo widget with the new
872 2005-04-19 Jim Evins <evins@snaught.com>
874 * data/glade/object-editor.glade:
875 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
876 (style_changed_cb), (gl_object_editor_set_bc_style),
877 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
878 (gl_object_editor_get_bc_color):
879 * src/object-editor-data-page.c:
880 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
881 (gl_object_editor_get_data):
882 * src/object-editor-edit-page.c:
883 (gl_object_editor_prepare_edit_page), (insert_button_cb):
884 * src/object-editor-fill-page.c:
885 (gl_object_editor_prepare_fill_page),
886 (gl_object_editor_set_fill_color),
887 (gl_object_editor_get_fill_color):
888 * src/object-editor-image-page.c:
889 (gl_object_editor_prepare_image_page),
890 (gl_object_editor_set_image), (gl_object_editor_get_image):
891 * src/object-editor-line-page.c:
892 (gl_object_editor_prepare_line_page),
893 (gl_object_editor_set_line_color),
894 (gl_object_editor_get_line_color):
895 * src/object-editor-private.h:
896 * src/object-editor-text-page.c:
897 (gl_object_editor_prepare_text_page),
898 (gl_object_editor_set_font_family),
899 (gl_object_editor_get_font_family),
900 (gl_object_editor_set_text_color),
901 (gl_object_editor_get_text_color):
902 * src/object-editor.c: (gl_object_editor_set_key_names):
904 In the object editor: replaced all instances of the deprecated
905 GtkCombo widget with the new GtkComboBox.
907 2005-04-18 Jim Evins <evins@snaught.com>
910 Neglected to save this one in previous checkin to support
913 2005-04-17 Jim Evins <evins@snaught.com>
915 * libglabels/libglabels-private.h:
916 * libglabels/paper.c:
917 * libglabels/paper.h:
918 * libglabels/template.c:
919 * libglabels/template.h:
920 * libglabels/xml-paper.c:
921 * libglabels/xml-paper.h:
922 * libglabels/xml-template.c:
927 * src/bc-gnubarcode.c:
938 * src/label-barcode.c:
940 * src/label-ellipse.c:
944 * src/label-object.c:
948 * src/merge-properties-dialog.c:
949 * src/object-editor-bc-page.c:
950 * src/object-editor-data-page.c:
951 * src/object-editor-edit-page.c:
952 * src/object-editor-fill-page.c:
953 * src/object-editor-image-page.c:
954 * src/object-editor-line-page.c:
955 * src/object-editor-lsize-page.c:
956 * src/object-editor-position-page.c:
957 * src/object-editor-private.h:
958 * src/object-editor-size-page.c:
959 * src/object-editor-text-page.c:
960 * src/object-editor.c:
961 * src/object-editor.h:
962 * src/pixbuf-cache.h:
963 * src/prefs-dialog.c:
964 * src/prefs-dialog.h:
968 * src/print-dialog.c:
969 * src/print-dialog.h:
977 * src/template-designer.c:
978 * src/template-designer.h:
981 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
987 * src/view-barcode.c:
989 * src/view-ellipse.c:
990 * src/view-highlight.c:
991 * src/view-highlight.h:
999 * src/wdgt-chain-button.c:
1000 * src/wdgt-media-select.c:
1001 * src/wdgt-media-select.h:
1002 * src/wdgt-mini-preview.c:
1003 * src/wdgt-mini-preview.h:
1004 * src/wdgt-print-copies.c:
1005 * src/wdgt-print-copies.h:
1006 * src/wdgt-print-merge.c:
1007 * src/wdgt-print-merge.h:
1008 * src/wdgt-rotate-label.c:
1009 * src/wdgt-rotate-label.h:
1012 * src/xml-label-04.c:
1013 * src/xml-label-191.c:
1015 Cleanup of header files:
1016 - all header files are now stand-alone, verified by including
1017 first in corresponding "c" files
1018 - replaced blanket includes of gnome, gtk, and glib with
1021 2005-04-16 Jim Evins <evins@snaught.com>
1023 * data/glade/Makefile.am:
1024 * data/glade/merge-properties-dialog.glade:
1025 Added merge properties dialog glade description file.
1026 * src/merge-properties-dialog.h:
1027 * src/merge-properties-dialog.c:
1028 (gl_merge_properties_dialog_get_type),
1029 (gl_merge_properties_dialog_init),
1030 (gl_merge_properties_dialog_finalize),
1031 (gl_merge_properties_dialog_new),
1032 (gl_merge_properties_dialog_construct), (type_changed_cb),
1033 (src_changed_cb), (response_cb), (load_tree),
1034 (record_select_toggled_cb), (select_all_button_clicked_cb),
1035 (unselect_all_button_clicked_cb):
1036 Modified merge properties dialog to use libglade. Added
1037 "select all" and "unselect all" buttons.
1038 * src/merge-text.c: (parse_line):
1039 Handle empty lines better.
1040 * src/merge.c: (gl_merge_eval_key):
1041 Evaluate the key whether the record is selected or not.
1043 * src/util.c: (gl_util_combo_box_add_text_model):
1044 Since libglade does not use the gtk_combo_box_new_text()
1045 constructor for GtkComboBoxes, a utility function was created
1046 to add an appropriate text model to a GtkComboBox.
1047 * src/view.c: (gl_view_edit_merge_props):
1048 Removed unnecessary "show all's".
1050 2005-04-15 Jim Evins <evins@snaught.com>
1053 Updated russian translation (Vitaly Lipatov)
1054 * data/templates/misc-iso-templates.xml:
1055 Added templates for russian business cards provided by Vitaly Lipatov.
1057 Updated acknowledgements for above.
1059 2005-04-15 Jim Evins <evins@snaught.com>
1061 * data/templates/avery-us-templates.xml:
1062 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
1063 * data/templates/misc-iso-templates.xml:
1064 Added Ryman standard CD/DVD template, provided by Dan Clark.
1066 Added acknowledgements for above.
1068 2005-04-10 Jim Evins <evins@snaught.com>
1070 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1071 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
1072 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1073 (xml_parse_label_cd_node), (xml_parse_alias_node):
1074 * libglabels/xml.c: (gl_xml_get_prop_double),
1075 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
1076 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
1077 * src/xml-label-04.c: (xml04_parse_media_description),
1078 (xml04_parse_text_props), (xml04_parse_barcode_props),
1079 (xml04_parse_merge_properties):
1080 * src/xml-label-191.c: (xml191_parse_object),
1081 (xml191_parse_text_props), (xml191_parse_barcode_props),
1082 (xml191_parse_merge_fields), (xml191_parse_pixdata),
1083 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
1084 (xml191_parse_alias):
1085 * src/xml-label.c: (xml_parse_object_text),
1086 (xml_parse_object_barcode), (xml_parse_merge_fields),
1087 (xml_parse_pixdata), (xml_parse_toplevel_span):
1088 Make sure to use xmlFree for anything obtained from libxml
1089 in case libxml and glib use different memory management
1092 2005-04-08 Jim Evins <evins@snaught.com>
1095 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
1096 (gl_util_combo_box_set_active_text):
1097 Added utility functions to simplify working with GtkComboBox
1099 * src/ui-property-bar.h:
1100 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1101 (reset_to_default_properties), (update_text_properties),
1102 (font_family_changed_cb):
1103 Replaced deprecated GtkCombo with GtkComboBox.
1106 2005-04-03 Jim Evins <evins@snaught.com>
1109 * src/wdgt-image-select.h:
1110 * src/wdgt-image-select.c:
1111 Removed obsolete wdgt-image-select.[ch] files.
1112 * libglabels/paper.c: (gl_paper_dup):
1113 Fixed rename of parameter introduced during documentation
1115 * data/glade/object-editor.glade:
1116 * src/object-editor-image-page.c:
1117 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
1118 (gl_object_editor_set_image), (gl_object_editor_get_image),
1119 (update_preview_cb), (add_image_filters_to_chooser):
1120 * src/object-editor-private.h:
1121 Replaced deprecated GnomePixmapEntry with
1122 GtkFileChooserButton.
1124 2005-04-02 Jim Evins <evins@snaught.com>
1126 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1127 (mygal_combo_box_popup_hide_unconditional),
1128 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1129 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1130 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1131 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1132 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1133 Renamed all internal gtk_combo functions to mygal_combo
1134 to prevent namespace confusion.
1136 2005-04-02 Jim Evins <evins@snaught.com>
1138 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1139 (cust_color_set), (color_palette_setup):
1140 * src/mygal/color-palette.h:
1141 Replaced deprecated GnomeColorPicker with GtkColorButton.
1143 2005-04-02 Jim Evins <evins@snaught.com>
1145 * docs/libglabels/libglabels-sections.txt:
1146 * docs/libglabels/libglabels-undocumented.txt:
1147 * docs/libglabels/tmpl/enums.sgml:
1148 * docs/libglabels/tmpl/paper.sgml:
1149 * docs/libglabels/tmpl/xml-paper.sgml:
1150 * docs/libglabels/tmpl/xml-template.sgml:
1151 * libglabels/enums.h:
1152 * libglabels/paper.c: (gl_paper_dup):
1153 * libglabels/paper.h:
1154 * libglabels/xml-paper.c:
1155 * libglabels/xml-template.c:
1156 More documentation updates for libglabels.
1158 2005-03-23 Jim Evins <evins@snaught.com>
1161 Automatically updated.
1166 * docs/libglabels/Makefile.am:
1167 * docs/libglabels/libglabels-docs.sgml:
1168 * docs/libglabels/libglabels-sections.txt:
1169 * docs/libglabels/libglabels-undocumented.txt:
1170 * docs/libglabels/tmpl/enums.sgml:
1171 * docs/libglabels/tmpl/libglabels-unused.sgml:
1172 * docs/libglabels/tmpl/libglabels.sgml:
1173 * docs/libglabels/tmpl/paper.sgml:
1174 * docs/libglabels/tmpl/template.sgml:
1175 * docs/libglabels/tmpl/xml-paper.sgml:
1176 * docs/libglabels/tmpl/xml-template.sgml:
1177 * docs/libglabels/tmpl/xml.sgml:
1178 Added basic gtk-doc stuff to support documenting libglabels
1181 Updated function comments with gtk-doc markup.
1185 2005-03-22 Jim Evins <evins@snaught.com>
1187 Since the development version now requires gtk-2.6/gnome-2.10, I
1188 have made a first pass at removing deprecations.
1191 * libglabels/Makefile.am:
1193 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1194 Also removed all remnants of HAVE_FILECHOOSER.
1195 * src/file.c: (gl_file_open_real):
1196 Removed code for old GtkFileSelection.
1197 * libglabels/libglabels-private.h:
1198 * libglabels/paper.c:
1199 * libglabels/template.c:
1200 * libglabels/xml-paper.c:
1201 * libglabels/xml-template.c:
1205 * src/glabels-batch.c:
1209 * src/merge-properties-dialog.c:
1211 * src/object-editor.c:
1212 * src/prefs-dialog.c:
1214 * src/print-dialog.c:
1217 * src/template-designer.c:
1218 * src/ui-property-bar.c:
1220 * src/view-barcode.c:
1222 * src/view-ellipse.c:
1227 * src/wdgt-image-select.c:
1228 * src/wdgt-media-select.c:
1229 * src/wdgt-print-copies.c:
1230 * src/wdgt-print-merge.c:
1231 * src/wdgt-rotate-label.c:
1233 * src/xml-label-04.c:
1234 * src/xml-label-191.c:
1236 Added '#include <glib/gi18n.h>" where needed.
1237 Removed any unused '#include <gnome.h>"s.
1239 2005-03-22 Jim Evins <evins@snaught.com>
1241 * src/commands.c: (activate_url), (gl_cmd_help_about):
1242 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1243 development version of glabels now depends on GTK 2.6 and
1246 Updated library dependencies.
1248 2005-02-28 Jim Evins <evins@snaught.com>
1251 * data/templates/misc-iso-templates.xml:
1252 Added 'Ednet 45021' template provided by Ali Akcaagac
1255 2005-02-14 Jim Evins <evins@snaught.com>
1257 * data/templates/avery-us-templates.xml:
1258 Updated templates to use inches instead of points.
1259 * src/print-dialog.c: (printer_page_new):
1260 Changed packing style when adding printer selector widget. This fixes
1263 2005-02-13 Jim Evins <evins@snaught.com>
1267 Updated spanish translations. (sergio rivadero)
1269 2005-02-05 Jim Evins <evins@snaught.com>
1271 Some cleanup to libglabels.
1274 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1275 * libglabels/libglabels.pc.in
1277 * libglabels/enums.h
1278 Created. Currently only contains glUnitsType which provides enumerations
1279 for all possible units of distance.
1280 * libglabels/Makefile.am:
1281 Incorporated new files enums.h and libglabels.pc[.in].
1282 * libglabels/libglabels.h:
1284 * libglabels/template.h:
1285 * libglabels/template.c: (gl_template_layout_new):
1286 Changed parameters nx and ny to gint from gdouble.
1288 * libglabels/xml.c: (gl_xml_get_prop_length),
1289 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1290 Added support for different output units.
1291 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1292 (update_prefs_from_locale_page):
1293 * src/prefs-model.c: (string_to_units), (units_to_string):
1294 * src/prefs-model.h:
1295 * src/prefs.c: (gl_prefs_get_units_per_point),
1296 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1297 (gl_prefs_get_units_string):
1299 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1300 Reconciled all length enumerations with the new enumerations provided
1301 in libglabels/enums.h.
1303 2005-02-03 Jim Evins <evins@snaught.com>
1306 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1308 Updated Italian translations. (Daniele Medri)
1310 Updated credits to reflect above translations.
1313 2005-01-22 Jim Evins <evins@snaught.com>
1318 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1320 Final prep for 2.1.0.
1322 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1324 Added '--remove-original' flag to desktop-file-install, so that there is
1325 only one menu entry.
1327 2005-01-20 Jim Evins <evins@snaught.com>
1329 * data/glade/object-editor.glade:
1330 - Font family entry should not be editable.
1331 - img_key_entry should have sensitivity=YES, so that it follows the
1332 sensitivity of img_key_combo.
1334 2005-01-19 Jim Evins <evins@snaught.com>
1337 Give credit to Frederic Ruaudel for the color merge patches.
1339 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1341 Add support to merge color for all other color attribute (Feature
1342 Requests item #1008635. If the data is invalid, the color used is transparent
1343 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1344 by gdk_color_parse() these include name for a color from rgb.txt, such as
1345 DarkSlateGray, or a hex specification such as #305050. File format has been
1346 changed but backward compatibility is preserved for all format. For
1347 box/ellipse/line, keep attribute "line_color" for static color or replace by
1348 "line_color_field" for merge data. For text/barcode objects, keep attribute
1349 "color" for static color or replace by "color_field" for merge data. In the
1350 edit canvas window, merged color are represented by half-transparent black
1353 * data/dtd/glabels-2.0.dtd:
1354 Added line_color_field to line_attrs. Added color_field to
1355 Object-barcode and Span.
1356 * data/glade/object-editor.glade:
1357 Modify the layout of the editor to add merge possibility to color options
1359 Fix a copy/paste error in a comment
1361 Add default color for merge color representation in the editor canvas.
1362 * src/label-barcode.c:
1363 * src/object-editor-bc-page.c:
1364 * src/view-barcode.c:
1365 Add merge color support for barcode color.
1368 Add merge color support for box border color.
1369 * src/label-ellipse.c:
1370 * src/view-ellipse.c:
1371 Add merge color support for ellipse border color.
1374 Add merge color support for line color.
1375 * src/label-object.c:
1376 * src/label-object.h:
1377 * src/object-editor.c:
1378 * src/object-editor.h:
1379 * src/ui-property-bar.c:
1382 * src/xml-label-04.c:
1383 * src/xml-label-191.c:
1384 Add support for merging to other color attribute.
1386 * src/object-editor-text-page.c:
1388 Add merge color support for text color.
1389 * src/object-editor-fill-page.c:
1390 Change a blocked handler that didn't match the good widget. Fix the type
1391 of some debug message.
1392 * src/object-editor-line-page.c:
1393 Add merging support to line color option.
1394 * src/object-editor-private.h:
1395 Add variables for new widget.
1397 Modify the draw functions to get merge data if needed.
1399 Change the default size of the window in order to see all widget in the
1400 "text style tab" of the editor.
1402 Modify the parser to record/retreive the field value for objects that need
1403 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1404 static color or replace by "line_color_field" for merge data. For
1405 text/barcode objects, keep attribute "color" for static color or replace
1406 by "color_field" for merge data.
1408 2005-01-17 Jim Evins <evins@snaught.com>
1410 * src/view.c: (screen_changed_cb):
1411 Don't do anything if we don't have a screen.
1413 2005-01-06 Jim Evins <evins@snaught.com>
1415 * src/view.c: (get_home_scale):
1416 Fixed bad call to gtk_widget_has_screen() -- huh?.
1418 2005-01-06 Jim Evins <evins@snaught.com>
1420 * data/dtd/glabels-2.0.dtd:
1421 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1424 2005-01-06 Jim Evins <evins@snaught.com>
1426 * data/glade/object-editor.glade:
1427 Set entries for fill and data field key dropdowns to NOT editable.
1428 * src/view-box.c: (construct_properties_editor):
1429 * src/view-ellipse.c: (construct_properties_editor):
1430 Update object editor when label's merge property has changed.
1431 * src/xml-label.c: (xml_parse_object_ellipse):
1432 Completed the merge color support for the ellipse item.
1434 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1436 Add support to merge color for object that have a "Fill color" attribute (Feature
1437 Requests item #1008635. If the data is invalid, the color used is transparent
1438 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1439 by gdk_color_parse() these include name for a color from rgb.txt, such as
1440 DarkSlateGray, or a hex specification such as #305050. File format has been
1441 changed but backward compatibility is preserved for all format. For box/ellipse,
1442 keep attribute "fill_color" for static color or replace by "fill_color_field"
1445 * data/glade/object-editor.glade:
1446 Modify "Fill" tab to add the merge key combo and convert the labels into
1450 Add "glColorNode" structure and associated functions to manage it. This
1451 structure is equivalent for color than the "glTextNode". It holds the color
1453 * src/label-object.h:
1454 * src/label-object.c:
1456 * src/label-ellipse.c:
1457 * src/ui-property-bar.c:
1461 * src/view-ellipse.c:
1462 * src/xml-label-04.c:
1463 * src/xml-label-191.c:
1464 Change functions of objects that have a "fill color" attribute to use the
1465 new "glColorNode" structure. Use barcode code as example.
1467 Add the color.[ch] file to glabels_batch binary that now need support for
1469 * src/object-editor.h:
1470 * src/object-editor.c:
1471 * src/object-editor-fill-page.c:
1472 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1473 to choose between static color or merge key. Use barcode code as example.
1474 * src/object-editor-private.h:
1475 Add new widget in the "_glObjectEditorPrivate" structure.
1477 Modify the draw functions to get merge data if needed.
1479 Modify the parser to record/retreive the field value for objects that need
1480 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1481 color or "fill_color_field" for merge data.
1483 2005-01-04 Jim Evins <evins@snaught.com>
1486 * data/templates/avery-iso-templates.xml:
1487 * data/templates/misc-iso-templates.xml:
1488 * data/templates/misc-us-templates.xml:
1489 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1492 2004-11-26 Jim Evins <evins@snaught.com>
1496 Updated french translations provided by Florent Morel <florent@taket.org>.
1497 * src/view-barcode.c:
1499 * src/view-ellipse.c:
1503 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1504 thus _() strings were not being translated.
1506 2004-11-14 Jim Evins <evins@snaught.com>
1509 * src/debug.c: (gl_debug_init), (gl_debug):
1510 Borrowed from gedit: use environmental variables to select debug
1513 Removed unused include of debug.h.
1514 * src/glabels.c: (main):
1515 Added call to gl_debug_init(), and removed debug clutter from command line
1517 * src/glabels-batch.c: (main):
1518 Added call to gl_debug_init().
1520 2004-11-13 Jim Evins <evins@snaught.com>
1522 Drawing and property toolbars were being initialized with the "icons and text"
1523 look in Fedora Core 3. Even though none of the buttons had any text attached to
1524 them, the buttons were being sized as if they were. This led to less real estate
1525 for the property editor, leading to Bug #1064630. The
1527 * data/ui/glabels-ui.xml:
1528 Added explicit "look" property to both drawing and property toolbars.
1529 * src/prefs-model.c: (gl_prefs_model_save_settings),
1530 (gl_prefs_model_load_settings):
1531 * src/prefs-model.h:
1532 Removed drawing_toolbar_button_style configuration parameter.
1533 * src/ui.c: (view_menu_item_toggled_cb),
1534 (set_app_drawing_toolbar_style):
1535 Do not attempt to adjust look property of the drawing toolbar.
1537 2004-10-28 Jim Evins <evins@snaught.com>
1539 * data/pixmaps/glabels-about-logo.png:
1542 2004-10-28 Jim Evins <evins@snaught.com>
1544 * data/man/glabels.1:
1545 * src/glabels-batch.c: (main):
1547 * src/print.c: (gl_print_batch):
1549 Added option to glabels-batch to select the first label to begin
1552 2004-09-26 Jim Evins <evins@snaught.com>
1554 * data/desktop/glabels.desktop.in:
1555 Point to app icon, "glabels.png"
1556 * data/mime/glabels.keys.in:
1557 Point at mime icon, "glabels-application-x-glabels.png"
1558 * data/pixmaps/Makefile.am:
1559 Added glabels_app_icondir. Renamed icons.
1560 * data/pixmaps/glabels.png:
1561 New cleaned up app icon. Deleted glabels-icon.png.
1562 * data/pixmaps/glabels-application-x-glabels.png:
1564 * data/pixmaps/glabels-splash.png:
1565 Renamed glabels-logo to glabels-splash to be more correct about role.
1567 * src/template-designer.c:
1568 Point at app icon, "glabels.png"
1570 Point at renamed splash image, "glabels-splash.png"
1572 2004-08-22 Jim Evins <evins@snaught.com>
1575 * src/glabels-batch.c: (main):
1576 Applied patch with minor mods to allow selecting merge source and
1577 crop-marks on glabels-batch's command line. Original patch provided by
1578 José Dapena Paz <jdapena@igalia.com>.
1580 2004-08-15 Jim Evins <evins@snaught.com>
1582 * data/desktop/glabels.desktop.in:
1583 - Added encoding line
1584 - Removed period from comment
1585 - Fixed Terminal line, changed "0" to "false"
1586 - Added semicolen to Categories line
1588 - Made sure desktop.in comment string above still translated properly
1590 2004-08-14 Jim Evins <evins@snaught.com>
1592 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1593 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1594 * src/xml-label-191.c: (xml191_parse_sheet):
1595 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1597 Reconciled libglabels versioning with 2.0.1.
1600 2004-08-14 Jim Evins <evins@snaught.com>
1603 Updated version to 2.1cvs.
1605 2004-08-14 Jim Evins <evins@snaught.com>
1608 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1610 2004-08-14 Jim Evins <evins@snaught.com>
1612 Fixes for Bug #1008181.
1614 * src/bc.c: (gl_barcode_default_digits):
1615 Make a format of zero digits, harmless.
1616 * src/xml-label.c: (xml_parse_object_barcode):
1617 Set default value of the format property of barcode objects to 10, not
1618 zero. This will prevent crashes when reading pre 2.0.x files.
1620 2004-08-09 Jim Evins <evins@snaught.com>
1624 * help/C/glabels-C.omf:
1625 * help/C/glabels.xml:
1626 Brought documentation up-to-date for 2.0.0 release.
1628 2004-08-09 Jim Evins <evins@snaught.com>
1630 These are hopefully the final preparations for 2.0.0.
1632 * data/mime/Makefile.am:
1633 Include glabels.xml in EXTRA_DIST.
1635 - Updated comment style.
1636 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1637 - Added package and version info to configuration printout
1638 - Update version to 2.0.0
1639 * libglabels/Makefile.am:
1640 Use the new LIBGLABELS_VERSION_INFO macro.
1642 2004-08-09 Jim Evins <evins@snaught.com>
1646 Cleanup of required library macros.
1648 2004-08-08 Jim Evins <evins@snaught.com>
1652 - More specific of what to install in /usr/bin and /usr/lib
1653 - Remove built mime registration files from staging directory
1655 2004-08-08 Jim Evins <evins@snaught.com>
1657 * data/mime/Makefile.am:
1658 Fixed typo: key_files should have been keys_files.
1660 2004-08-08 Jim Evins <evins@snaught.com>
1662 Reorganization of runtime data files. Also added registration of mimetype with
1663 new freedesktop.org mime database if available.
1666 Moved files to appropriate subdirectories, creating local Makefile.am
1667 in each subdirectory.
1668 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1669 These are now installed at $datadir/glabels/templates.
1670 - Moved glabels.1 to man subdirectory.
1671 - Moved glabels-2.0.dtd to dtd subdirectory.
1672 - Moved glabels.desktop.in to desktop subdirectory.
1673 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1675 Moved "./pixmaps" to "./data/pixmaps"
1677 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1679 Moved libglade files from src to data/glade. Created Makefile.am.
1681 Removed pixmaps from SUBDIRS.
1683 - Removed pixmaps from makefiles.
1684 - Added makefiles for new subdirs of data.
1685 - Added tests for freedesktop.org mime database.
1687 - Added tests for freedesktop.org mime database for post install and
1688 post un-install actions.
1689 * libglabels/Makefile.am:
1690 Moved system template files to $(datadir)/glabels/templates.
1691 * libglabels/libglabels-private.h:
1692 Moved system template files to $(datadir)/glabels/templates.
1694 - Accounted for movement of ui and libglade files.
1695 - Added missing .in files.
1696 - Reorganized by directory.
1698 Accounted for movement of ui and libglade files.
1699 * data/mime/glabels.xml.in:
1700 New file for registering with freedesktop.org mime database.
1702 2004-08-07 Jim Evins <evins@snaught.com>
1704 * src/recent-files/*:
1705 Re-synced to latest libegg/recent-files.
1707 2004-08-07 Jim Evins <evins@snaught.com>
1712 Renamed "./doc" directory to "./help" which contains user documentation,
1713 to be more consistent with other GNOME applications.
1716 2004-07-26 Jim Evins <evins@snaught.com>
1718 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1719 Corrected button order of merge properties dialog.
1721 2004-07-18 Jim Evins <evins@snaught.com>
1723 * data/glabels-2.0.dtd:
1724 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1725 (gl_barcode_get_prefered_n):
1727 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1728 (gl_label_barcode_get_props), (get_size):
1729 * src/label-barcode.h:
1730 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1731 (style_changed_cb), (gl_object_editor_set_bc_style),
1732 (gl_object_editor_get_bc_style):
1733 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1734 (gl_object_editor_set_data), (gl_object_editor_get_data):
1735 * src/object-editor-private.h:
1736 * src/object-editor.c: (gl_object_editor_set_key_names):
1737 * src/object-editor.glade:
1738 * src/object-editor.h:
1739 * src/print.c: (draw_barcode_object):
1740 * src/view-barcode.c: (update_object_from_editor_cb),
1741 (update_editor_from_object_cb),
1742 (gl_view_barcode_create_event_handler), (draw_barcode):
1743 * src/xml-label-04.c: (xml04_parse_barcode_props):
1744 * src/xml-label-191.c: (xml191_parse_barcode_props):
1745 * src/xml-label.c: (xml_parse_object_barcode),
1746 (xml_create_object_barcode):
1747 Added "format" attribute to barcode objects. This attribute is used
1748 to properly format freeform barcodes barcodes prior to merge data is
1749 applied, so that barcodes can be accurately layed out. This addresses
1750 remaining issues of feature request #824787. Also added an example of
1751 the format in the object editor.
1753 2004-07-12 Jim Evins <evins@snaught.com>
1755 Various code cleanups.
1757 * src/label-barcode.c:
1758 Removed unneeded include of gnome-glyphlist.h.
1760 * src/label-text.c: (get_size):
1761 Fixed memory leak: unref glyphlists when done with them.
1763 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1764 * src/object-editor-data-page.c:
1765 (gl_object_editor_prepare_data_page):
1766 * src/object-editor-image-page.c:
1767 (gl_object_editor_prepare_image_page):
1768 * src/object-editor-line-page.c:
1769 (gl_object_editor_prepare_line_page):
1770 * src/object-editor-lsize-page.c:
1771 (gl_object_editor_prepare_lsize_page):
1772 * src/object-editor-position-page.c:
1773 (gl_object_editor_prepare_position_page):
1774 * src/object-editor-size-page.c:
1775 (gl_object_editor_prepare_size_page):
1776 * src/object-editor-text-page.c:
1777 (gl_object_editor_prepare_text_page):
1778 Removed unneeded size groups, originally intended to keep widgets aligned.
1779 Now use tables to lay these out in object-editor.glade.
1781 * src/print.c: (draw_text_object):
1782 Fixed memory leak: unref glyphlists when done with them.
1784 * src/view-barcode.c: (draw_barcode):
1785 Fixed memory leak: unref glyphlists when done with them.
1787 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1788 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1790 - Fixed memory leak: unref glyphlists when done with them.
1792 2004-07-11 Jim Evins <evins@snaught.com>
1794 * data/glabels-2.0.dtd:
1795 * src/label-text.c: (gl_label_text_instance_init), (copy),
1796 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1798 * src/object-editor-private.h:
1799 * src/object-editor-text-page.c:
1800 (gl_object_editor_prepare_text_page),
1801 (gl_object_editor_set_text_auto_shrink),
1802 (gl_object_editor_get_text_auto_shrink):
1803 * src/object-editor.c: (gl_object_editor_set_key_names):
1804 * src/object-editor.glade:
1805 * src/object-editor.h:
1806 * src/print.c: (draw_text_object):
1807 * src/view-text.c: (update_object_from_editor_cb),
1808 (update_editor_from_object_cb):
1809 * src/xml-label.c: (xml_parse_object_text),
1810 (xml_create_object_text):
1811 Added option to allow document merge to auto shrink text size to fit
1812 within the text box. The code in print.c that actually shrinks the
1813 text is loosely based on a patch submitted by Mark Harrison
1814 <mark.harrison@velocitynet.com.au>. This addresses feature request
1817 2004-07-11 Jim Evins <evins@snaught.com>
1819 * data/glabels-2.0.dtd:
1820 * libglabels/template.c: (gl_template_rect_label_type_new),
1821 (gl_template_round_label_type_new),
1822 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1823 (template_full_page):
1824 * libglabels/template.h:
1825 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1826 (xml_create_label_node):
1827 * pixmaps/ex-rect-size.png:
1828 * src/print.c: (clip_to_outline), (clip_punchouts):
1829 * src/template-designer.c: (construct_rect_size_page),
1830 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1832 * src/template-designer.glade:
1833 * src/xml-label-191.c: (xml191_parse_label):
1834 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1835 properties for rectangular labels. Templates remain backwards compatible,
1836 but this breaks the libglabels API (I don't know of anyone outside of
1837 glabels using libglabels at this time -- what can I say, the program is
1838 is still "unstable"). This addresses the suggestion in Feature Request
1841 2004-07-05 Jim Evins <evins@snaught.com>
1842 * src/print.c: (print_crop_marks), (draw_outline):
1843 Changed crop marks and label outlines to black, instead of 25% gray.
1844 This addresses debian Bug #257460.
1846 2004-07-05 Jim Evins <evins@snaught.com>
1848 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1849 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1850 Preserve "is_default" of fill and line color_combos when creating from
1853 2004-07-02 Jim Evins <evins@snaught.com>
1856 Created man page. Based on page submitted by Matthew J. Lockner, however
1857 it has been severely edited.
1859 * data/avery-other-templates.xml
1860 * data/misc-other-templates.xml:
1861 Started new files for predefined templates with non-standard sheet sizes.
1862 These have been initially populated with the Avery 06141 and
1863 OfficeMax #86112, both provided by Matthew J. Lockner.
1866 Install above manpage and template files.
1869 Make sure we install man pages.
1871 * src/glabels-batch.c:
1872 Changed short form of help option to '-?' to be consistent with glabels.
1875 Added acknowledgement for above labels.
1877 2004-07-02 Jim Evins <evins@snaught.com>
1879 * src/glabels.c: (main), (save_session_cb):
1880 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1882 - save_session_cb() now returns gboolean.
1883 - Minor formatting changes.
1887 - Now include file.h to provide missing prototype.
1888 - gl_window_get_type() now returns GType, not guint. I believe this may
1889 ultimately be cause of the segfault reported in Bug #982287, since
1890 GType is actually a gulong, which may not be compatible on other
1891 architectures (64bit) -- I cannot personally test this at this time.
1892 I was sloppy in several other xxx_get_type() functions which also
1893 returned guint -- see next group of files:
1895 * src/window.c: (gl_window_get_type):
1896 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1897 * src/canvas-hacktext.h:
1898 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1899 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1900 (gl_hig_hbox_get_type):
1902 * src/label-barcode.c: (gl_label_barcode_get_type):
1903 * src/label-barcode.h:
1904 * src/label-box.c: (gl_label_box_get_type):
1906 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1907 * src/label-ellipse.h:
1908 * src/label-image.c: (gl_label_image_get_type):
1909 * src/label-image.h:
1910 * src/label-line.c: (gl_label_line_get_type):
1912 * src/label-object.c: (gl_label_object_get_type):
1913 * src/label-object.h:
1914 * src/label-text.c: (gl_label_text_get_type):
1916 * src/label.c: (gl_label_get_type):
1918 * src/merge-properties-dialog.c:
1919 (gl_merge_properties_dialog_get_type):
1920 * src/merge-properties-dialog.h:
1921 * src/merge-text.c: (gl_merge_text_get_type):
1923 * src/merge.c: (gl_merge_get_type):
1925 * src/object-editor.c: (gl_object_editor_get_type):
1926 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1927 * src/prefs-dialog.h:
1928 * src/prefs-model.c: (gl_prefs_model_get_type):
1929 * src/prefs-model.h:
1930 * src/print-dialog.c: (gl_print_dialog_get_type):
1931 * src/print-dialog.h:
1932 * src/template-designer.c: (gl_template_designer_get_type):
1933 * src/template-designer.h:
1934 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1935 * src/ui-property-bar.h:
1936 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1938 * src/view-barcode.c: (gl_view_barcode_get_type):
1939 * src/view-barcode.h:
1940 * src/view-box.c: (gl_view_box_get_type):
1942 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1943 * src/view-ellipse.h:
1944 * src/view-highlight.c: (gl_view_highlight_get_type):
1945 * src/view-highlight.h:
1946 * src/view-image.c: (gl_view_image_get_type):
1948 * src/view-line.c: (gl_view_line_get_type):
1950 * src/view-object.c: (gl_view_object_get_type):
1951 * src/view-object.h:
1952 * src/view-text.c: (gl_view_text_get_type):
1954 * src/view.c: (gl_view_get_type):
1956 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1957 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1958 * src/wdgt-image-select.h:
1959 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1960 * src/wdgt-media-select.h:
1961 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1962 * src/wdgt-mini-preview.h:
1963 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1964 * src/wdgt-print-copies.h:
1965 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1966 * src/wdgt-print-merge.h:
1967 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1968 * src/wdgt-rotate-label.h:
1969 - Made sure all xxx_get_type functions returned GType, not guint. This
1970 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1971 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1972 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1973 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1974 window.[ch] details above for more info.
1975 - Reconciled various coding style differences in all xxx_get_type()
1977 * All prototypes include G_GNUC_CONST.
1978 * All prototypes specify the return value as GType, not GtkType
1980 * Info structures are all declared as "static const."
1981 * Generalized the names of type and info variables.
1982 * Miscelaneous formatting.
1984 2004-06-08 Jim Evins <evins@snaught.com>
1990 Don't touch compression of original file -- still defaults to 9 for
1991 new files. Original patch provided by Javier Donaire Segarra
1992 (#912252 in patch tracker).
1994 2004-05-05 Jim Evins <evins@snaught.com>
1996 * data/glabels-2.0.dtd:
1997 Broke DTD previously when adding new barcode types that contain a
1998 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
1999 to avoid the problem.
2000 * data/avery-iso-templates.xml:
2001 * data/zweckform-iso-templates.xml:
2003 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
2004 provided by Frank Altpeter.
2005 * libglabels/xml-template.c: (xml_create_label_node):
2006 Reordered markup and layout sub-nodes so that resulting templates will
2007 validate against DTD.
2009 2004-03-13 Jim Evins <evins@snaught.com>
2011 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
2012 Changed spin callback signals from "value-changed" back to "changed."
2013 This was accidentally introduced in a previous revision, and can cause
2014 size changes just by selecting the size tab.
2016 2004-03-06 Jim Evins <evins@snaught.com>
2018 * src/view.c: (draw_grid_layer):
2019 For round labels (round and cd) adjust grid so that it lines up with
2020 center of label. Also, no longer draw box around label in the grid layer,
2021 it is hidden by he fg layer anyway. Feature suggested by
2022 nemolivier@free.fr. Although the grid is aligned with the center of the
2023 label, the coordinate system is still relative to the upper left corner
2024 of the rectangle containing the label.
2026 2004-02-25 Jim Evins <evins@snaught.com>
2029 Changed version to 2.0pre1cvs
2031 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
2032 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
2033 instead of doc->name fields when errors encountered.
2035 2004-02-21 Jim Evins <evins@snaught.com>
2037 * data/avery-iso-templates.xml:
2038 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
2041 Added libglabels library and include file to installed files.
2044 Final prep for 1.93.3.
2046 2004-02-20 Jim Evins <evins@snaught.com>
2048 * src/glabels-batch.c: (main):
2049 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
2050 as suggested by Javier Donaire Segarra. This addresses bug #901063.
2052 2004-02-16 Jim Evins <evins@snaught.com>
2055 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
2058 Added HAVE_FILE_CHOOSER to INCLUDES.
2060 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
2061 (gl_file_save_as), (save_as_response):
2062 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
2064 2004-02-16 Jim Evins <evins@snaught.com>
2066 * src/xml-label-04.c: (xml04_parse_image_props):
2067 * src/xml-label-191.c: (xml191_parse_image_props):
2068 * src/xml-label.c: (xml_parse_object_image):
2069 Delay setting image size until after image has been applied to new
2072 2004-02-15 Jim Evins <evins@snaught.com>
2074 * src/label-barcode.c: (gl_label_barcode_set_data),
2075 (gl_label_barcode_set_props):
2076 Don't emit "changed" signal, if no change actually made for these
2077 methods. Reduces number of unnecessary redraws of barcodes.
2079 * src/label-object.h:
2080 * src/label-object.c: (gl_label_object_set_position),
2081 (gl_label_object_set_position_relative), (set_size),
2082 (gl_label_object_set_size),
2083 (gl_label_object_set_size_honor_aspect):
2084 Don't emit "changed" signal, if no change actually made for these
2087 2004-02-15 Jim Evins <evins@snaught.com>
2089 * data/glabels-2.0.dtd:
2090 Added specific subtypes for various barcode types.
2093 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
2094 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
2095 (gl_barcode_can_text), (gl_barcode_text_optional),
2096 (gl_barcode_can_csum), (gl_barcode_csum_optional),
2097 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
2098 Changed API to use a string id, rather than a fixed enumeration. Id and
2099 name are separate strings. Added entries to backend table for specific
2100 subtypes for various barcode types.
2103 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
2105 Modified to conform to above API. Now more stringent with data length
2106 for various subtypes.
2108 * src/bc-gnubarcode.h:
2109 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
2110 (is_length_valid), (is_length1_valid), (is_length2_valid):
2111 Modified to conform to above API. Now more stringent with data length
2112 for various subtypes.
2114 * src/label-barcode.h:
2115 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2116 (gl_label_barcode_get_props), (get_size):
2117 Modified to use above API for storing barcode type.
2119 * src/object-editor.h:
2120 * src/object-editor-bc-page.c: (style_changed_cb),
2121 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
2122 Modified to use above API for storing barcode type.
2124 * src/object-editor-size-page.c:
2125 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2126 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2127 Added debug markers.
2129 * src/object-editor.glade:
2130 Made barcode style combo's text entry non-editable.
2132 * src/print.c: (draw_barcode_object):
2133 Modified to use above API for barcode type.
2135 * src/view-barcode.c: (update_object_from_editor_cb),
2136 (update_editor_from_object_cb),
2137 (gl_view_barcode_create_event_handler), (draw_barcode):
2138 Modified to use above API for barcode type.
2140 * src/xml-label-04.c: (xml04_parse_barcode_props):
2141 * src/xml-label-191.c: (xml191_parse_barcode_props):
2142 * src/xml-label.c: (xml_parse_object_barcode),
2143 (xml_create_object_barcode):
2144 Modified to use above API for barcode type.
2146 2004-02-07 Jim Evins <evins@snaught.com>
2148 * src/stock-pixmaps/Makefile.am:
2149 * src/stock-pixmaps/stock_hchain_24.png:
2150 * src/stock-pixmaps/stock_hchain_broken_24.png:
2151 * src/stock-pixmaps/stock_vchain_24.png:
2152 * src/stock-pixmaps/stock_vchain_broken_24.png:
2153 Added chain pixmaps borrowed from the gimp's default theme.
2156 * src/stock.c: (gl_stock_init), (add_button_icon):
2157 Added above pixmaps to stock icon sets. Created add_button_icon() to
2158 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2160 * src/wdgt-chain-button.h
2161 * src/wdgt-chain-button.c
2164 Added this Modified version of gimpchainbutton widget, borrowed from
2168 Added acknowledgements of the above borrowing from the gimp.
2170 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2172 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2173 * src/object-editor.glade:
2174 Replaced the keep aspect ratio check box with the above chain-button
2177 * src/text-node.c: (gl_text_node_equal):
2179 Added function gl_text_node_equal() to compare text_nodes.
2181 * src/label-image.c: (gl_label_image_set_filename):
2182 Replaced incomplete text_node comparison code with invocation of
2183 gl_text_node_equal. This fixed the problem of not being able to
2184 resize an image using the object_editor if the aspect ratio is not
2187 2004-02-04 Jim Evins <evins@snaught.com>
2189 * src/object-editor-image-page.c:
2190 (gl_object_editor_prepare_image_page):
2191 Track "changed" signal of pixmap entry's GtkEntry rather than its
2192 "activate" signal -- this catches all changes to the entry rather than
2193 just changes resulting from a browse, so one can easily pull previous
2194 entries from the history. (This change is marked below on 2004-02-03,
2195 but somehow never got checked in.)
2197 * src/view-highlight.c: (sl_resize_event_handler),
2198 (sr_resize_event_handler), (st_resize_event_handler),
2199 (sb_resize_event_handler):
2200 Side resize handles will now confirm the actual resize that the object
2201 accepted before adjusting position parameters. Previously some interesting
2202 things happened when resizing a barcode to its minimum size.
2204 2004-02-03 Jim Evins <evins@snaught.com>
2206 * src/object-editor-image-page.c:
2207 (gl_object_editor_prepare_image_page):
2208 Track "changed" signal of pixmap entry's GtkEntry rather than its
2209 "activate" signal -- this catches all changes to the entry rather than
2210 just changes resulting from a browse, so one can easily pull previous
2211 entries from the history.
2213 * src/view-highlight.c: (tl_resize_event_handler),
2214 (tr_resize_event_handler), (bl_resize_event_handler),
2215 (br_resize_event_handler):
2216 Allow control key to be dropped while dragging a corner resize handle
2217 without losing the aspect ratio lock.
2219 2004-02-02 Jim Evins <evins@snaught.com>
2221 * src/label-image.c: (gl_label_image_set_filename):
2222 When setting a new filename adjust size such that the aspect ratio of
2223 the image is preserved using the current size as a bounding box.
2225 * src/view-image.c: (update_object_from_editor_cb):
2226 When updating object from editor, feed back possible size changes to
2227 editor as a result of a possible change in image.
2229 * src/object-editor-size-page.c: (size_reset_cb):
2230 Fixed typo when blocking spin handlers. If the base size is larger than
2231 the max size, treat max size as a bounding box while keeping aspect
2235 2004-02-02 Jim Evins <evins@snaught.com>
2237 * src/label-object.h:
2238 * src/label-object.c: (gl_label_object_set_size),
2239 (gl_label_object_set_size_honor_aspect):
2240 Added gl_label_object_set_size_honor_aspect() which will maintain the
2241 current aspect ratio by modifying the supplied w or h apropriately.
2243 * src/view-highlight.c: (tl_resize_event_handler),
2244 (tr_resize_event_handler), (bl_resize_event_handler),
2245 (br_resize_event_handler):
2246 Corner handles will now maintain the current aspect ratio if the
2247 control key is pressed while resizing. This addresses feature
2251 2004-01-31 Jim Evins <evins@snaught.com>
2254 * data/avery-us-templates.xml:
2255 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2257 * libglabels/template.c: (read_template_files_from_dir):
2258 Corrected problem with testing for extensions.
2260 * src/object-editor.glade:
2261 Corrected grouping of radio buttons in barcode data page.
2263 * src/print.c: (draw_barcode_object):
2264 * src/view-barcode.c: (draw_barcode):
2265 Corrected problem with calculation of y_offset for locating characters.
2267 2004-01-24 Jim Evins <evins@snaught.com>
2270 * data/avery-us-templates.xml:
2271 Added Avery 5824, submitted by Fred Bacon.
2273 2004-01-20 Jim Evins <evins@snaught.com>
2275 Catching up on a couple of backlogged user template submissions.
2277 * data/avery-iso-templates.xml:
2278 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2279 Suggested by Linas Jakucionis.
2281 * data/zweckform-iso-templates.xml:
2282 Added Zweckform 4760, submitted by Thomas Vill.
2285 Updated to reflect above submissions.
2287 2004-01-06 Jim Evins <evins@snaught.com>
2289 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2290 xml.[ch] into a separate library called libglabels, to facilitate third
2291 party use of glabels template files. This was suggested by Wayne Schuller.
2292 Once split-out, some modifications to the structures and functions to
2293 make a cleaner more useful API, hopefully. Rather extensive changes have
2294 propogated to other modules.
2302 * src/xml-template.h:
2303 * src/xml-template.c:
2306 These files have been moved to libglabels/. API cleanup performed.
2308 * libglabels/libglabels.h:
2309 * libglabels/libglabels-private.h:
2310 * libglabels/Makefile.am:
2311 These files have been added to finish out libglabels.
2318 Modified to reflect new sets of files in src/ and libglabels/.
2320 * COPYING.LIBGLABELS:
2322 Added copy of the LGPL for libglabels, and a copy the GFDL for
2325 * src/glabels-batch.c:
2327 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2328 (gl_label_get_size):
2330 * src/prefs-model.c: (gl_prefs_model_load_settings):
2331 * src/print-dialog.c:
2332 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2333 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2334 (print_crop_marks), (print_label), (draw_outline),
2335 (clip_to_outline), (clip_punchouts):
2336 * src/template-designer.c: (construct_pg_size_page),
2337 (pg_size_page_changed_cb), (layout_page_changed_cb),
2338 (print_test_cb), (build_template):
2339 * src/util.c: (gl_util_fraction):
2341 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2342 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2343 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2344 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2345 (draw_markup_margin_round), (draw_markup_margin_cd),
2346 (draw_markup_margin_cd_bc), (draw_markup_line),
2347 (draw_markup_circle), (gl_view_copy):
2348 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2349 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2350 (get_label_size_desc):
2351 * src/wdgt-mini-preview.c:
2352 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2354 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2355 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2356 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2357 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2358 * src/wdgt-rotate-label.h:
2359 * src/xml-label-04.c: (xml04_parse_media_description):
2360 * src/xml-label-191.c: (gl_xml_label_191_parse),
2361 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2362 (xml191_parse_markup), (xml191_parse_alias):
2363 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2365 Various changes to accomodate new libglabels API.
2367 2004-01-03 Jim Evins <evins@snaught.com>
2372 2004-01-03 Jim Evins <evins@snaught.com>
2375 Added acknowledgement of contributions by Wayne Schuller.
2377 * src/commands.c: (gl_cmd_file_print):
2378 Create extra reference to print dialog, so that it can be properly re-used.
2380 * src/mygal/mygal-combo-box.h:
2381 * src/mygal/mygal-combo-box.c:
2382 (mygal_combo_box_popup_hide_unconditional),
2383 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2384 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2385 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2386 (mygal_combo_box_set_tearable):
2387 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2388 complete the rename of this widget to prevent namespace collisions
2391 * src/prefs-dialog.glade:
2392 Fixed alignment of Fill/Color widgets.
2394 2004-01-03 Jim Evins <evins@snaught.com>
2396 * data/avery-iso-templates.xml:
2397 Added user submitted templates.
2398 Avery 8435A & 8435B, submitted by Ludger Solbach.
2400 * doc/C/glabels.xml:
2401 Added minimal documentation, noting the new template designer.
2403 2004-01-03 Jim Evins <evins@snaught.com>
2405 * pixmaps/ex-rect-size.png:
2406 * pixmaps/ex-round-size.png:
2407 * pixmaps/ex-cd-size.png:
2408 * pixmaps/Makefile.am:
2409 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2410 files to be used as illustrations/examples in the template-designer.
2412 * src/template-designer.c: (construct_rect_size_page),
2413 (construct_round_size_page), (construct_cd_size_page),
2414 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2415 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2416 (layout_page_prepare_cb), (build_template):
2417 * src/template-designer.glade:
2418 Added illustrations for rectangle, round, and cd label size pages.
2419 Added margin spinboxes to these pages, and now add a margin markup
2420 to the constructed template. Added realistic default values for
2421 some of the size spinboxes. Cleaned up the code for setting spinbox
2422 ranges on the layouts page.
2424 2004-01-02 Jim Evins <evins@snaught.com>
2426 * src/object-editor-size-page.c: (h_spin_cb):
2427 Fixed cut-n-paste error in h_spin_cb that loaded h from
2428 the wrong spinbutton.
2430 * src/object-editor.h:
2431 * src/object-editor.c: (gl_object_editor_class_init),
2432 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2433 * src/object-editor-private.h:
2434 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2436 Added "size_changed" signal.
2438 * src/view-text.c: (construct_properties_editor),
2439 (update_object_from_editor_cb),
2440 (update_object_from_editor_size_cb):
2441 Track size changes from object editor separately from other
2442 properties. This is so the default size (0,0) of a text
2443 object is not modified unintentionally.
2445 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2447 Added feature: line spacing - allows you to comfortably space a text box to
2448 fit a label perfectly.
2450 * data/glabels-2.0.dtd:
2451 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2452 (gl_label_object_get_text_alignment),
2453 (gl_label_object_get_text_line_spacing):
2454 * src/label-object.h:
2455 * src/label-text.c: (gl_label_text_class_init),
2456 (gl_label_text_instance_init), (copy), (get_size),
2457 (set_text_line_spacing), (get_text_alignment),
2458 (get_text_line_spacing):
2459 * src/object-editor-private.h:
2460 * src/object-editor-text-page.c:
2461 (gl_object_editor_prepare_text_page),
2462 (gl_object_editor_set_text_line_spacing),
2463 (gl_object_editor_get_text_line_spacing):
2464 * src/object-editor.glade:
2465 * src/object-editor.h:
2466 * src/prefs-dialog.c: (construct_object_page),
2467 (update_object_page_from_prefs), (update_prefs_from_object_page):
2468 * src/prefs-dialog.glade:
2469 * src/prefs-model.c: (gl_prefs_model_save_settings),
2470 (gl_prefs_model_load_settings), (get_float):
2471 * src/prefs-model.h:
2472 * src/print.c: (draw_text_object):
2474 * src/view-text.c: (update_object_from_editor_cb),
2475 (update_editor_from_object_cb),
2476 (gl_view_text_create_event_handler), (draw_hacktext):
2477 * src/view.c: (gl_view_construct),
2478 (gl_view_set_selection_text_line_spacing),
2479 (gl_view_set_default_text_line_spacing),
2480 (gl_view_get_default_text_line_spacing):
2482 * src/xml-label.c: (xml_parse_toplevel_span),
2483 (xml_create_toplevel_span):
2485 2003-12-30 Jim Evins <evins@snaught.com>
2487 * src/template-designer.c:
2488 * src/template-designer.h:
2489 * src/template-designer.glade:
2490 New template designer assistant.
2494 Added entries for src/template-designer.* files.
2496 * pixmaps/ex-1layout.png
2497 * pixmaps/ex-2layouts.png
2498 * pixmaps/Makefile.am:
2499 Added the new image files ex-*.png used as illustrations in the
2500 template designer assistant.
2502 * src/print-dialog.h:
2503 * src/print-dialog.c: (gl_print_dialog_finalize),
2504 (gl_print_dialog_new), (gl_print_dialog_construct),
2505 (gl_print_dialog_force_outline_flag):
2506 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2507 to support printing from the template designer assistant which does not
2508 have a full-fledged view. Nothing else from the view object was being
2509 used by the dialog anyway.
2511 Added the gl_print_dialog_force_outline_flag() method, for better
2512 integration with the template designer assistant.
2516 * src/commands.c: (gl_cmd_file_template_designer),
2517 (gl_cmd_file_print):
2518 Modified print command to provide label instead of view to dialog.
2519 Added the gl_cmd_file_template_designer() command to invoke the
2520 template designer assistant.
2523 * src/glabels-ui.xml:
2524 Added support for template designer assistant.
2526 * src/wdgt-mini-preview.h:
2527 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2528 (gl_wdgt_mini_preview_set_bg_color):
2529 Preview is now centered in canvas. Added
2530 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2531 assistant to match the background color with its own.
2533 * src/print.c: (clip_to_outline):
2534 Fixed really stupid bug when adding waste to clip region of rectangular
2535 labels/cards. Each side of the clip region needs to be extended by
2536 twice the waste margin, as well as negatively offset by the waste
2539 2003-12-28 Jim Evins <evins@snaught.com>
2541 * src/prefs-dialog.c: (update_object_page_from_prefs):
2542 Block intermediary function align_toggle_cb() instead of
2543 update_prefs_from_object_page() for the three alignment
2546 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2548 * src/file.c: (gl_file_new), (gl_file_properties):
2549 Swap button order and set default for higificatory pleasure.
2551 2003-12-27 Jim Evins <evins@snaught.com>
2553 * barcode-0.98/Makefile.am:
2554 One last time: removed doc/Makefile and po/Makefile.in.in from
2557 2003-12-27 Jim Evins <evins@snaught.com>
2559 * barcode-0.98/Makefile.am:
2560 Removed config.stat entry from EXTRA_DIST files.
2562 * barcode-0.98/Makefile.in:
2565 2003-12-27 Jim Evins <evins@snaught.com>
2568 Updated to work with latest gnome-common package from CVS.
2569 Removed recursive configuration of barcode-0.98.
2576 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2578 * barcode-0.98/Makefile.in:
2579 * barcode-0.98/configure.in:
2580 * barcode-0.98/Makefile.am:
2581 * barcode-0.98/README.glabels:
2582 Modified to ignore the barcode package's build system, and build
2583 as a part of glabels.
2584 Renamed Makefile.in to Makefile.in.dist.
2585 Renamed configure.in to configure.in.dist.
2586 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2589 * src/mygal/Makefile.am:
2590 * src/recent-files/Makefile.am:
2591 In order to build against the GNOME 2.5 platform,
2592 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2594 * src/mygal/Makefile.am:
2595 * src/mygal/mygal-combo-box.c:
2596 * src/mygal/mygal-combo-box.h:
2597 * src/mygal/widget-color-combo.c:
2598 * src/mygal/widget-color-combo.h:
2600 In order to build against the GNOME 2.5 platform,
2601 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2602 collisions with the real gtk_combo_box widget, now a part of gtk.
2604 2003-12-26 Jim Evins <evins@snaught.com>
2610 Moved local versions of get_home_data_dir() in paper.c and
2611 template.c to util package. Cleaned up formatting in
2615 In gl_template_register() save a copy of the template in
2616 ~/.glabels if the template is not known. Still need to
2617 handle duplicate filename case and duplicate name but
2618 different template case.
2622 Moved local definition of NAME_SPACE macro from xml-label.c
2625 * src/xml-template.c:
2626 * src/xml-template.h:
2627 Added function gl_xml_template_write_template_to_file(), used
2628 in gl_template_register().