1 2007-01-03 Jim Evins <evins@snaught.com>
4 Removed EggRecent stuff.
13 Ported from EggRecent to GtkRecentManager.
16 2007-01-02 Jim Evins <evins@snaught.com>
19 * iec16022-0.2.1/BUGS:
20 * iec16022-0.2.1/CHANGELOG:
21 * iec16022-0.2.1/CREDITS:
22 * iec16022-0.2.1/INSTALL:
23 * iec16022-0.2.1/LICENSE:
24 * iec16022-0.2.1/Makefile.am:
25 * iec16022-0.2.1/Makefile.dist:
26 * iec16022-0.2.1/README:
27 * iec16022-0.2.1/README.glabels:
28 * iec16022-0.2.1/TODO:
29 * iec16022-0.2.1/iec16022.1:
30 * iec16022-0.2.1/iec16022.c:
31 * iec16022-0.2.1/iec16022ecc200.c:
32 * iec16022-0.2.1/iec16022ecc200.h:
33 * iec16022-0.2.1/image.c:
34 * iec16022-0.2.1/image.h:
35 * iec16022-0.2.1/reedsol.c:
36 * iec16022-0.2.1/reedsol.h:
37 * iec16022-0.2.1/test/testsuite-example.bin:
38 * iec16022-0.2.1/test/testsuite-example.eps:
39 * iec16022-0.2.1/test/testsuite-example.hex:
40 * iec16022-0.2.1/test/testsuite-example.png:
41 * iec16022-0.2.1/test/testsuite-example.text:
42 * iec16022-0.2.1/test/testsuite.sh:
43 Include modified copy of iec16022-0.2.1 to provide encoding
44 support for datamatrix 2D barcodes.
49 Added initial datamatrix 2D barcode backend to barcode code.
52 Automatic updates to later versions of these files.
54 2006-11-28 Jim Evins <evins@snaught.com>
56 * data/templates/avery-iso-templates.xml:
57 * data/templates/avery-us-templates.xml:
58 * data/templates/categories.xml:
59 * data/templates/misc-iso-templates.xml:
60 * data/templates/misc-us-templates.xml:
61 * data/templates/zweckform-iso-templates.xml:
64 2006-09-12 Jim Evins <evins@snaught.com>
66 * data/dtd/glabels-2.0.dtd:
67 * data/templates/Makefile.am:
68 * data/templates/avery-iso-templates.xml:
69 * data/templates/avery-other-templates.xml:
70 * data/templates/avery-us-templates.xml:
71 * data/templates/categories.xml:
72 * data/templates/misc-iso-templates.xml:
73 * data/templates/misc-other-templates.xml:
74 * data/templates/zweckform-iso-templates.xml:
75 * data/glade/Makefile.am:
76 * data/glade/new-label-dialog.glade:
77 * data/glade/wdgt-media-select.glade:
78 * data/glade/wdgt-rotate-label.glade:
79 * libglabels/Makefile.am:
80 * libglabels/category.c:
81 * libglabels/category.h:
82 * libglabels/libglabels.h:
84 * libglabels/template.c:
85 * libglabels/template.h:
86 * libglabels/xml-category.c:
87 * libglabels/xml-category.h:
88 * libglabels/xml-template.c:
89 Added support for category meta data.
92 * src/mini-preview-pixbuf.c:
93 * src/mini-preview-pixbuf.h:
94 * src/new-label-dialog.c:
95 * src/new-label-dialog.h:
96 * src/wdgt-media-select.c:
97 * src/wdgt-media-select.h:
98 * src/wdgt-rotate-label.c:
99 * src/wdgt-rotate-label.h:
100 New "new label" dialog.
102 2006-05-27 Jim Evins <evins@snaught.com>
107 Preparation for 2.1.3.
113 2006-05-22 Jim Evins <evins@snaught.com>
115 * src/print.c: (draw_barcode_object):
116 Don't print "Invalid barcode data" if data field is empty. Patch provided
117 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
119 Added acknowledgment for above patch.
120 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
121 * src/bc-postnet.c: (postnet_code):
122 Removed "Invalid barcode data" warnings from stderr.
123 * src/view-barcode.c: (draw_barcode):
124 Draw box around barcode extent if data empty or invalid. Center a
125 message whether the data is empty or invalid in box.
127 2006-05-22 Jim Evins <evins@snaught.com>
129 * src/print.c: (draw_text_object):
130 Check shadow state when printing text.
132 2006-05-20 Jim Evins <evins@snaught.com>
134 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
135 (gl_ui_cmd_view_markup_toggle):
136 Fixed crash when grid or markup have been toggled off during
137 a previous session. Bug #1434324.
139 2006-04-05 Jim Evins <evins@snaught.com>
141 * src/object-editor.c: (gl_object_editor_set_key_names):
142 Fixed potential crash when freeing empty key list.
144 2006-03-11 Jim Evins <evins@snaught.com>
146 * src/print.c: (draw_text_object):
147 * src/view-text.c: (gl_view_text_new),
148 (construct_properties_editor), (update_object_from_editor_cb),
149 (update_editor_from_object_cb), (update_editor_from_label_cb),
151 Added shadow support to text object.
153 2006-02-18 Jim Evins <evins@snaught.com>
155 * src/print.c: (draw_line_object):
156 * src/view-line.c: (gl_view_line_new),
157 (construct_properties_editor), (update_canvas_item_from_object_cb),
158 (update_object_from_editor_cb), (update_editor_from_object_cb),
159 (update_editor_from_label_cb):
160 Added shadow support to line object.
162 2006-02-16 Jim Evins <evins@snaught.com>
166 * src/print.c: (draw_ellipse_object):
167 * src/view-ellipse.c: (gl_view_ellipse_new),
168 (construct_properties_editor), (update_canvas_item_from_object_cb),
169 (update_object_from_editor_cb), (update_editor_from_object_cb),
170 (update_editor_from_label_cb):
171 Added shadow support to ellipse object.
173 2006-02-15 Jim Evins <evins@snaught.com>
175 * src/label-object.c:
176 Changed default shadow offsets.
177 * src/view-box.c: (gl_view_box_new):
178 Simplified gl_view_box_new() so that is does not duplicate code
179 in update_canvas_item_from_object_cb().
181 2006-02-07 Jim Evins <evins@snaught.com>
183 * data/glade/object-editor.glade:
184 Fixed color groups of color combos.
186 Added default shadow color.
187 * src/object-editor.c: (gl_object_editor_construct_color_combo):
188 Added shadow color group.
190 2006-02-06 Jim Evins <evins@snaught.com>
192 * src/object-editor-shadow-page.c:
193 Forgot to add this file.
194 * src/view-box.c: (gl_view_box_new),
195 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
196 Update limits on shadow offset spinbuttons.
198 2006-01-19 Jim Evins <evins@snaught.com>
200 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
201 Initialize key_list to NULL.
202 * data/glade/object-editor.glade:
206 * src/label-object.c:
207 * src/label-object.h:
208 * src/object-editor-fill-page.c:
209 * src/object-editor-private.h:
210 * src/object-editor.c:
211 * src/object-editor.h:
213 Created infrastructure for shadow support.
216 Initial shadow support in box object only.
218 2006-01-05 Jim Evins <evins@snaught.com>
220 * src/merge-properties-dialog.c: (src_changed_cb):
221 Be extra paranoid before calling strcmp().
222 * src/merge.c: (gl_merge_set_src):
223 Don't make (merge == NULL) a critical error.
225 2005-12-22 Jim Evins <evins@snaught.com>
227 * src/glabels-batch.c: (main):
228 Compile warning free with gcc 4.0.
230 2005-12-21 Jim Evins <evins@snaught.com>
233 Updated example RPM spec file.
235 2005-12-21 Jim Evins <evins@snaught.com>
239 Preparation for 2.1.2.
241 2005-12-20 Jim Evins <evins@snaught.com>
244 Define unique G_LOG_DOMAIN for glabels.
245 * src/critical-error-handler.c: (gl_critical_error_handler_init):
246 * src/warning-handler.c: (gl_warning_handler_init),
248 Register for G_LOG_DOMAIN instead of NULL.
250 2005-12-10 Jim Evins <evins@snaught.com>
252 * src/merge-evolution.c:
256 2005-12-08 Jim Evins <evins@snaught.com>
258 * libglabels/paper.c: (read_paper_files_from_dir):
259 * libglabels/template.c: (gl_template_register),
260 (read_template_files_from_dir):
261 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
262 (gl_xml_paper_parse_papers_doc):
263 * libglabels/xml-template.c:
264 (gl_xml_template_read_templates_from_file),
265 (gl_xml_template_parse_templates_doc),
266 (gl_xml_template_parse_template_node),
267 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
268 (xml_parse_label_cd_node), (xml_parse_layout_node),
269 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
270 (xml_parse_markup_circle_node),
271 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
272 * libglabels/xml.c: (gl_xml_get_prop_length):
273 Re-classified g_warnings to g_messages.
275 * src/glabels.c: (main):
276 * src/warning-handler.c: (gl_warning_handler_init),
278 * src/warning-handler.h:
279 Added warning message handler to make sure the user is
280 presented with appropriate non-fatal errors.
281 * src/critical-error-handler.c: (critical_error_handler):
282 Changed exit to abort.
283 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
284 * src/bc-postnet.c: (postnet_code):
285 * src/bc.c: (id_to_index), (name_to_index):
286 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
287 * src/object-editor.c: (gl_object_notebook_construct_valist):
288 * src/prefs-dialog.c: (update_locale_page_from_prefs):
289 * src/prefs.c: (gl_prefs_get_units_per_point),
290 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
291 (gl_prefs_get_units_string):
292 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
293 * src/splash.c: (gl_splash):
294 * src/ui-commands.c: (gl_ui_cmd_help_contents):
295 * src/view-highlight.c: (gl_view_highlight_new),
296 (highlight_resizable_box_construct), (object_changed_cb),
297 (view_scale_changed_cb):
298 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
299 (draw_markup_layer), (draw_markup_margin),
300 (gl_view_object_create_mode), (canvas_event),
301 (selection_received_cb):
302 * src/wdgt-mini-preview.c: (mini_outline_list_new):
303 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
304 * src/xml-label-04.c: (gl_xml_label_04_parse),
305 (xml04_parse_media_description), (xml04_parse_text_props),
306 (xml04_parse_barcode_props):
307 * src/xml-label-191.c: (gl_xml_label_191_parse),
308 (xml191_parse_objects), (xml191_parse_object),
309 (xml191_parse_text_props), (xml191_parse_image_props),
310 (xml191_parse_barcode_props), (xml191_parse_data),
311 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
312 (xml191_parse_markup):
313 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
314 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
315 (xml_parse_object_text), (xml_parse_object_image),
316 (xml_parse_object_barcode), (xml_parse_data),
317 (xml_parse_toplevel_span), (gl_xml_label_save),
318 (xml_create_objects):
319 Re-classified g_warnings to g_messages.
320 * src/merge-evolution.c: (gl_merge_evolution_open),
321 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
322 Use g_warning to output errors encountered while
323 communicating with the evolution data server
324 instead of embedding them in the data.
326 2005-12-08 Jim Evins <evins@snaught.com>
328 * libglabels/libglabels-private.h:
330 * libglabels/paper.c: (read_papers):
331 * libglabels/template.c: (read_templates):
332 Made appropriate warnings critical.
334 * src/critical-error-handler.h:
335 * src/critical-error-handler.c: (gl_critical_error_handler_init),
336 (critical_error_handler):
337 Created critical error handler.
338 * src/glabels.c: (main):
339 Register critical error handler.
340 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
341 * src/object-editor.c: (gl_object_editor_init):
342 * src/prefs-dialog.c: (gl_prefs_dialog_init):
343 * src/template-designer.c: (gl_template_designer_init):
344 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
345 Made appropriate warnings critical.
347 2005-11-27 Jim Evins <evins@snaught.com>
349 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
350 (gl_merge_evolution_get_primary_key),
351 (gl_merge_evolution_get_record):
352 Don't create "record_key" pseudo-key. Don't populate
353 fields with null data.
355 2005-11-25 Jim Evins <evins@snaught.com>
357 * src/merge-evolution.c: (gl_merge_evolution_finalize),
358 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
359 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
361 Query EDS for all supported fields. Patch provided by
362 Austin Henry <ahenry@users.sourceforge.net>.
364 2005-10-29 Jim Evins <evins@snaught.com>
366 * src/glabels.c: (main):
367 * src/label-barcode.c: (gl_label_barcode_finalize):
368 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
369 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
370 * src/object-editor.c: (gl_object_editor_finalize):
371 Another pass at valgrinding -- plugged several memory leaks.
372 * src/view-text.c: (gl_view_text_new),
373 (update_canvas_item_from_object_cb), (draw_hacktext):
374 Commented out artifacts of edit-in-place code.
376 2005-10-28 Jim Evins <evins@snaught.com>
378 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
379 Fixed use of uninitialized variable. Caught by
380 d binderman <dcb314@hotmail.com>.
382 2005-10-27 Jim Evins <evins@snaught.com>
384 * src/merge-evolution.c: (gl_merge_evolution_get_record):
385 * src/merge-vcard.c: (gl_merge_vcard_get_record),
387 Additional cleanup of EDS and vcard backends. Provided by
388 Austin Henry <ahenry@users.sourceforge.net>.
390 2005-10-24 Jim Evins <evins@snaught.com>
394 * src/merge-evolution.c:
395 * src/merge-evolution.h:
396 * src/merge-init.c: (gl_merge_init):
397 * src/merge-properties-dialog.c: (type_changed_cb):
400 * src/ui-commands.c: (gl_ui_cmd_help_about):
401 Added Evolution Data Server and VCard merge backends. Original patch
402 provided by Austin Henry <ahenry@users.sourceforge.net>.
404 Only support EDS and VCard backends if libebook is installed. Allow
405 user to disable support, even if installed.
407 2005-10-24 Jim Evins <evins@snaught.com>
410 * data/templates/avery-iso-templates.xml:
411 * data/templates/avery-us-templates.xml:
412 * data/templates/misc-iso-templates.xml:
413 * data/templates/zweckform-iso-templates.xml:
414 Collected all template changes and submissions since last
417 2005-10-23 Jim Evins <evins@snaught.com>
420 * data/mime/Makefile.am:
421 Added configure options to disable update-mime-database and
422 update-desktop-database as part of the install. Patch
423 provided by Leonardo Boshell (qhoracio@sourceforge.net).
425 2005-10-23 Jim Evins <evins@snaught.com>
428 * libglabels/xml.c: (gl_xml_get_prop_string),
429 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
430 (gl_xml_is_node), (gl_xml_get_node_content):
431 Added new XML utility functions.
432 * libglabels/xml-paper.c:
433 * libglabels/xml-template.c:
435 Cleanup by using new xml utilities created above.
436 * libglabels/paper.c: (gl_paper_free):
437 * src/file.c: (new_response):
438 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
439 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
440 (gl_pixbuf_cache_get_pixbuf):
441 * src/ui-property-bar.c:
442 (gl_ui_property_bar_construct_color_combo):
443 * src/view-highlight.c: (gl_view_highlight_finalize):
444 * src/view-image.c: (update_object_from_editor_cb):
445 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
446 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
447 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
448 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
449 (draw_markup_margin_round), (draw_markup_margin_cd),
450 (draw_markup_margin_cd_bc):
451 * src/wdgt-mini-preview.c: (mini_outline_list_new):
452 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
453 Plugged various memory leaks located with valgrind.
454 * src/view-image.c: (update_canvas_item_from_object_cb):
455 Don't allow a width or height of zero when drawing pixbuf.
457 2005-10-22 Jim Evins <evins@snaught.com>
459 * libglabels/xml-paper.c:
460 * libglabels/xml-template.c:
463 * src/bc-gnubarcode.c:
464 * src/canvas-hacktext.c:
466 * src/object-editor-data-page.c:
467 * src/print-dialog.c:
470 * src/template-designer.c:
472 * src/ui-property-bar.c:
474 * src/view-barcode.c:
476 * src/view-ellipse.c:
481 * src/wdgt-media-select.c:
482 * src/xml-label-04.c:
483 * src/xml-label-191.c:
485 Modified to compile warning free with gcc-4.0. Mostly
486 casting to change signedness of characters. Did not
487 attack gnu-barcode library yet.
489 2005-10-22 Jim Evins <evins@snaught.com>
491 * src/glabels.c: (main):
492 * src/splash.c: (gl_splash):
493 Removed some small memory leaks.
497 2005-09-19 Jim Evins <evins@snaught.com>
499 * data/glade/property-bar.glade:
500 Remove items from font_family_combo. This prevents the
501 double entry after adding text model and list of fonts.
502 * src/ui-property-bar.c: (reset_to_default_properties):
503 Free font_family_list.
505 2005-07-01 Jim Evins <evins@snaught.com>
508 Updated italian translation (Daniele Medri)
510 2005-06-26 Jim Evins <evins@snaught.com>
512 * docs/libglabels/libglabels-decl-list.txt:
513 Somehow never got checked in before.
514 * docs/libglabels/libglabels.types:
515 Removed -- don't need it afterall.
517 2005-06-20 Jim Evins <evins@snaught.com>
520 Final prep for 2.1.1 release.
522 2005-06-20 Jim Evins <evins@snaught.com>
525 Final preps for 2.1.1 release.
526 * docs/libglabels/libglabels.types:
527 Somehow never got checked in before.
529 Bring up-to-date with recent reorg of ui code.
532 2005-06-19 Jim Evins <evins@snaught.com>
534 * src/template-designer.c: (construct_layout_page):
535 Removed attempt to match background color of mini preview widget to
538 2005-06-17 Jim Evins <evins@snaught.com>
540 * help/C/figures/merge-ex2-4.png:
541 * help/C/glabels.xml:
542 Fixed spelling error.
544 2005-06-13 Jim Evins <evins@snaught.com>
546 * help/C/figures/merge-ex1-1.png:
547 * help/C/figures/merge-ex1-2.png:
548 * help/C/figures/merge-ex1-3.png:
549 * help/C/figures/merge-ex1-4.png:
550 * help/C/figures/merge-ex2-1.png:
551 * help/C/figures/merge-ex2-2.png:
552 * help/C/figures/merge-ex2-3.png:
553 * help/C/figures/merge-ex2-4.png:
554 Added figures for document merge tutorial.
555 * help/C/glabels.xml:
556 Added document merge tutorial.
558 2005-05-19 Jim Evins <evins@snaught.com>
560 * data/glade/merge-properties-dialog.glade:
561 Fixed irregular spacing.
562 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
563 (gl_merge_properties_dialog_construct):
564 Set outer padding and remove separator.
566 2005-05-18 Jim Evins <evins@snaught.com>
570 Removed glHigDialog class.
571 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
572 (gl_file_properties), (create_properties_dialog_widgets):
573 * src/prefs-dialog.h:
574 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
575 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
576 * src/print-dialog.h:
577 * src/prefs-dialog.h:
578 * src/print-dialog.c: (gl_print_dialog_get_type),
579 (gl_print_dialog_init), (gl_print_dialog_construct):
580 Replaced all instances of glHigDialog with GtkDialog.
582 2005-05-17 Jim Evins <evins@snaught.com>
586 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
587 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
588 (save_as_response), (gl_file_close):
589 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
591 2005-05-15 Jim Evins <evins@snaught.com>
601 A little code reformatting -- no functional changes.
603 2005-05-14 Jim Evins <evins@snaught.com>
606 Removed obsolete macros.
608 Added marshalling template to support new view signal: "context_menu_activate."
610 * src/view.c: (gl_view_class_init), (gl_view_construct),
611 (canvas_event_arrow_mode):
612 - Removed hardcoded context menus and added new signal "context_menu_activate"
613 to push this up to the uimanager.
614 - Removed merge properties and print dialogs so that they can be managed with
615 the window by the uimanager.
616 * src/merge-properties-dialog.h:
617 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
618 (gl_merge_properties_dialog_construct):
619 Changed calling convention of gl_merge_properties_dialog_new() to use
620 glLabel and GtkWindow instead of view to make more consistent with other
622 * src/print-dialog.h:
623 * src/print-dialog.c: (gl_print_dialog_new),
624 (gl_print_dialog_construct):
625 Removed last artifact of libbonoboui.
626 * src/ui-commands.c: (gl_ui_cmd_file_print),
627 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
628 Reconciled style for launching dialogs.
629 * src/ui.c: (gl_ui_new):
630 Added context menus to ui manager.
631 * src/view-object.c: (item_event_arrow_mode):
632 No longer try to select objects with right-click.
634 * src/window.c: (gl_window_init), (gl_window_set_label),
635 (context_menu_activate_cb):
636 Context menus and all dialogs are now managed in a consistent way in window
639 2005-05-11 Jim Evins <evins@snaught.com>
642 * src/window.c: (gl_window_init), (gl_window_destroy):
643 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
644 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
645 Moved management of recent_view back from window.c to ui.c -- it just feels
648 2005-05-10 Jim Evins <evins@snaught.com>
651 * src/window.c: (gl_window_init):
653 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
654 (menu_item_select_cb), (menu_item_deselect_cb):
655 Added GtkStatusbar which displays menu tooltips.
657 2005-05-09 Jim Evins <evins@snaught.com>
659 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
664 Removed dependencies on libbonoboui.
666 * data/ui/Makefile.am:
667 * data/ui/glabels-ui.xml:
668 Removed data/ui directory.
669 * data/glade/Makefile.am:
670 * data/property-bar.glade:
671 Added glade description of property-bar for new libglade implementation
680 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
681 since the distinction between "commands" and "tools" is no longer that clear.
684 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
685 no longer has knowledge of eggRecent*.
686 * src/glabels.c: (main):
687 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
689 * src/object-editor.c: (gl_object_editor_init):
690 Make sure notebook does not respond to a "show_all" on the parent.
691 * src/recent-files/Makefile.am:
692 * src/recent-files/*.[ch]
693 Updated from latest version of libegg which now has a view based on
694 GtkUIManager. Removed unused bonobo and gtk views.
695 * src/ui-property-bar.h:
696 * src/ui-property-bar.c:
697 New implementation based on libglade.
700 Sidebar is now simply a GtkWidget and does not expect to be a part of
701 a libbonoboui interface.
706 Converted for use with GtkUIManager.
709 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
710 to create menus and toolbars.
712 2005-04-25 Jim Evins <evins@snaught.com>
714 * data/templates/misc-iso-templates.xml:
715 Added Fellows 04715 template provided by Steve Saxon.
717 Updated acknowledgement for above.
719 2005-04-23 Jim Evins <evins@snaught.com>
721 * src/util.c: (gl_util_combo_box_set_strings):
722 Make sure to clear model before loading a new list of strings.
723 * src/wdgt-media-select.h:
724 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
725 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
726 (template_combo_changed_cb), (prefs_changed_cb),
727 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
728 (gl_wdgt_media_select_get_page_size),
729 (gl_wdgt_media_select_set_page_size):
730 Replaced the deprecated GtkCombo widget with the new
733 2005-04-21 Jim Evins <evins@snaught.com>
735 * data/glade/template-designer.glade:
736 * src/template-designer.c: (construct_pg_size_page),
737 (pg_size_page_changed_cb), (build_template):
738 Replaced the deprecated GtkCombo widget with the new
741 2005-04-20 Jim Evins <evins@snaught.com>
743 * data/glade/prefs-dialog.glade:
744 * src/prefs-dialog.c: (construct_object_page),
745 (update_object_page_from_prefs), (update_prefs_from_object_page):
746 Replaced the deprecated GtkCombo widget with the new
749 2005-04-19 Jim Evins <evins@snaught.com>
751 * data/glade/object-editor.glade:
752 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
753 (style_changed_cb), (gl_object_editor_set_bc_style),
754 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
755 (gl_object_editor_get_bc_color):
756 * src/object-editor-data-page.c:
757 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
758 (gl_object_editor_get_data):
759 * src/object-editor-edit-page.c:
760 (gl_object_editor_prepare_edit_page), (insert_button_cb):
761 * src/object-editor-fill-page.c:
762 (gl_object_editor_prepare_fill_page),
763 (gl_object_editor_set_fill_color),
764 (gl_object_editor_get_fill_color):
765 * src/object-editor-image-page.c:
766 (gl_object_editor_prepare_image_page),
767 (gl_object_editor_set_image), (gl_object_editor_get_image):
768 * src/object-editor-line-page.c:
769 (gl_object_editor_prepare_line_page),
770 (gl_object_editor_set_line_color),
771 (gl_object_editor_get_line_color):
772 * src/object-editor-private.h:
773 * src/object-editor-text-page.c:
774 (gl_object_editor_prepare_text_page),
775 (gl_object_editor_set_font_family),
776 (gl_object_editor_get_font_family),
777 (gl_object_editor_set_text_color),
778 (gl_object_editor_get_text_color):
779 * src/object-editor.c: (gl_object_editor_set_key_names):
781 In the object editor: replaced all instances of the deprecated
782 GtkCombo widget with the new GtkComboBox.
784 2005-04-18 Jim Evins <evins@snaught.com>
787 Neglected to save this one in previous checkin to support
790 2005-04-17 Jim Evins <evins@snaught.com>
792 * libglabels/libglabels-private.h:
793 * libglabels/paper.c:
794 * libglabels/paper.h:
795 * libglabels/template.c:
796 * libglabels/template.h:
797 * libglabels/xml-paper.c:
798 * libglabels/xml-paper.h:
799 * libglabels/xml-template.c:
804 * src/bc-gnubarcode.c:
815 * src/label-barcode.c:
817 * src/label-ellipse.c:
821 * src/label-object.c:
825 * src/merge-properties-dialog.c:
826 * src/object-editor-bc-page.c:
827 * src/object-editor-data-page.c:
828 * src/object-editor-edit-page.c:
829 * src/object-editor-fill-page.c:
830 * src/object-editor-image-page.c:
831 * src/object-editor-line-page.c:
832 * src/object-editor-lsize-page.c:
833 * src/object-editor-position-page.c:
834 * src/object-editor-private.h:
835 * src/object-editor-size-page.c:
836 * src/object-editor-text-page.c:
837 * src/object-editor.c:
838 * src/object-editor.h:
839 * src/pixbuf-cache.h:
840 * src/prefs-dialog.c:
841 * src/prefs-dialog.h:
845 * src/print-dialog.c:
846 * src/print-dialog.h:
854 * src/template-designer.c:
855 * src/template-designer.h:
858 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
864 * src/view-barcode.c:
866 * src/view-ellipse.c:
867 * src/view-highlight.c:
868 * src/view-highlight.h:
876 * src/wdgt-chain-button.c:
877 * src/wdgt-media-select.c:
878 * src/wdgt-media-select.h:
879 * src/wdgt-mini-preview.c:
880 * src/wdgt-mini-preview.h:
881 * src/wdgt-print-copies.c:
882 * src/wdgt-print-copies.h:
883 * src/wdgt-print-merge.c:
884 * src/wdgt-print-merge.h:
885 * src/wdgt-rotate-label.c:
886 * src/wdgt-rotate-label.h:
889 * src/xml-label-04.c:
890 * src/xml-label-191.c:
892 Cleanup of header files:
893 - all header files are now stand-alone, verified by including
894 first in corresponding "c" files
895 - replaced blanket includes of gnome, gtk, and glib with
898 2005-04-16 Jim Evins <evins@snaught.com>
900 * data/glade/Makefile.am:
901 * data/glade/merge-properties-dialog.glade:
902 Added merge properties dialog glade description file.
903 * src/merge-properties-dialog.h:
904 * src/merge-properties-dialog.c:
905 (gl_merge_properties_dialog_get_type),
906 (gl_merge_properties_dialog_init),
907 (gl_merge_properties_dialog_finalize),
908 (gl_merge_properties_dialog_new),
909 (gl_merge_properties_dialog_construct), (type_changed_cb),
910 (src_changed_cb), (response_cb), (load_tree),
911 (record_select_toggled_cb), (select_all_button_clicked_cb),
912 (unselect_all_button_clicked_cb):
913 Modified merge properties dialog to use libglade. Added
914 "select all" and "unselect all" buttons.
915 * src/merge-text.c: (parse_line):
916 Handle empty lines better.
917 * src/merge.c: (gl_merge_eval_key):
918 Evaluate the key whether the record is selected or not.
920 * src/util.c: (gl_util_combo_box_add_text_model):
921 Since libglade does not use the gtk_combo_box_new_text()
922 constructor for GtkComboBoxes, a utility function was created
923 to add an appropriate text model to a GtkComboBox.
924 * src/view.c: (gl_view_edit_merge_props):
925 Removed unnecessary "show all's".
927 2005-04-15 Jim Evins <evins@snaught.com>
930 Updated russian translation (Vitaly Lipatov)
931 * data/templates/misc-iso-templates.xml:
932 Added templates for russian business cards provided by Vitaly Lipatov.
934 Updated acknowledgements for above.
936 2005-04-15 Jim Evins <evins@snaught.com>
938 * data/templates/avery-us-templates.xml:
939 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
940 * data/templates/misc-iso-templates.xml:
941 Added Ryman standard CD/DVD template, provided by Dan Clark.
943 Added acknowledgements for above.
945 2005-04-10 Jim Evins <evins@snaught.com>
947 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
948 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
949 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
950 (xml_parse_label_cd_node), (xml_parse_alias_node):
951 * libglabels/xml.c: (gl_xml_get_prop_double),
952 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
953 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
954 * src/xml-label-04.c: (xml04_parse_media_description),
955 (xml04_parse_text_props), (xml04_parse_barcode_props),
956 (xml04_parse_merge_properties):
957 * src/xml-label-191.c: (xml191_parse_object),
958 (xml191_parse_text_props), (xml191_parse_barcode_props),
959 (xml191_parse_merge_fields), (xml191_parse_pixdata),
960 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
961 (xml191_parse_alias):
962 * src/xml-label.c: (xml_parse_object_text),
963 (xml_parse_object_barcode), (xml_parse_merge_fields),
964 (xml_parse_pixdata), (xml_parse_toplevel_span):
965 Make sure to use xmlFree for anything obtained from libxml
966 in case libxml and glib use different memory management
969 2005-04-08 Jim Evins <evins@snaught.com>
972 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
973 (gl_util_combo_box_set_active_text):
974 Added utility functions to simplify working with GtkComboBox
976 * src/ui-property-bar.h:
977 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
978 (reset_to_default_properties), (update_text_properties),
979 (font_family_changed_cb):
980 Replaced deprecated GtkCombo with GtkComboBox.
983 2005-04-03 Jim Evins <evins@snaught.com>
986 * src/wdgt-image-select.h:
987 * src/wdgt-image-select.c:
988 Removed obsolete wdgt-image-select.[ch] files.
989 * libglabels/paper.c: (gl_paper_dup):
990 Fixed rename of parameter introduced during documentation
992 * data/glade/object-editor.glade:
993 * src/object-editor-image-page.c:
994 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
995 (gl_object_editor_set_image), (gl_object_editor_get_image),
996 (update_preview_cb), (add_image_filters_to_chooser):
997 * src/object-editor-private.h:
998 Replaced deprecated GnomePixmapEntry with
999 GtkFileChooserButton.
1001 2005-04-02 Jim Evins <evins@snaught.com>
1003 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
1004 (mygal_combo_box_popup_hide_unconditional),
1005 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
1006 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
1007 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
1008 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
1009 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
1010 Renamed all internal gtk_combo functions to mygal_combo
1011 to prevent namespace confusion.
1013 2005-04-02 Jim Evins <evins@snaught.com>
1015 * src/mygal/color-palette.c: (color_palette_change_custom_color),
1016 (cust_color_set), (color_palette_setup):
1017 * src/mygal/color-palette.h:
1018 Replaced deprecated GnomeColorPicker with GtkColorButton.
1020 2005-04-02 Jim Evins <evins@snaught.com>
1022 * docs/libglabels/libglabels-sections.txt:
1023 * docs/libglabels/libglabels-undocumented.txt:
1024 * docs/libglabels/tmpl/enums.sgml:
1025 * docs/libglabels/tmpl/paper.sgml:
1026 * docs/libglabels/tmpl/xml-paper.sgml:
1027 * docs/libglabels/tmpl/xml-template.sgml:
1028 * libglabels/enums.h:
1029 * libglabels/paper.c: (gl_paper_dup):
1030 * libglabels/paper.h:
1031 * libglabels/xml-paper.c:
1032 * libglabels/xml-template.c:
1033 More documentation updates for libglabels.
1035 2005-03-23 Jim Evins <evins@snaught.com>
1038 Automatically updated.
1043 * docs/libglabels/Makefile.am:
1044 * docs/libglabels/libglabels-docs.sgml:
1045 * docs/libglabels/libglabels-sections.txt:
1046 * docs/libglabels/libglabels-undocumented.txt:
1047 * docs/libglabels/tmpl/enums.sgml:
1048 * docs/libglabels/tmpl/libglabels-unused.sgml:
1049 * docs/libglabels/tmpl/libglabels.sgml:
1050 * docs/libglabels/tmpl/paper.sgml:
1051 * docs/libglabels/tmpl/template.sgml:
1052 * docs/libglabels/tmpl/xml-paper.sgml:
1053 * docs/libglabels/tmpl/xml-template.sgml:
1054 * docs/libglabels/tmpl/xml.sgml:
1055 Added basic gtk-doc stuff to support documenting libglabels
1058 Updated function comments with gtk-doc markup.
1062 2005-03-22 Jim Evins <evins@snaught.com>
1064 Since the development version now requires gtk-2.6/gnome-2.10, I
1065 have made a first pass at removing deprecations.
1068 * libglabels/Makefile.am:
1070 Added configure option to turn on X_DISABLE_DEPRECATED flags.
1071 Also removed all remnants of HAVE_FILECHOOSER.
1072 * src/file.c: (gl_file_open_real):
1073 Removed code for old GtkFileSelection.
1074 * libglabels/libglabels-private.h:
1075 * libglabels/paper.c:
1076 * libglabels/template.c:
1077 * libglabels/xml-paper.c:
1078 * libglabels/xml-template.c:
1082 * src/glabels-batch.c:
1086 * src/merge-properties-dialog.c:
1088 * src/object-editor.c:
1089 * src/prefs-dialog.c:
1091 * src/print-dialog.c:
1094 * src/template-designer.c:
1095 * src/ui-property-bar.c:
1097 * src/view-barcode.c:
1099 * src/view-ellipse.c:
1104 * src/wdgt-image-select.c:
1105 * src/wdgt-media-select.c:
1106 * src/wdgt-print-copies.c:
1107 * src/wdgt-print-merge.c:
1108 * src/wdgt-rotate-label.c:
1110 * src/xml-label-04.c:
1111 * src/xml-label-191.c:
1113 Added '#include <glib/gi18n.h>" where needed.
1114 Removed any unused '#include <gnome.h>"s.
1116 2005-03-22 Jim Evins <evins@snaught.com>
1118 * src/commands.c: (activate_url), (gl_cmd_help_about):
1119 Replaced GnomeAbout with GtkAboutDialog. Therefore the
1120 development version of glabels now depends on GTK 2.6 and
1123 Updated library dependencies.
1125 2005-02-28 Jim Evins <evins@snaught.com>
1128 * data/templates/misc-iso-templates.xml:
1129 Added 'Ednet 45021' template provided by Ali Akcaagac
1132 2005-02-14 Jim Evins <evins@snaught.com>
1134 * data/templates/avery-us-templates.xml:
1135 Updated templates to use inches instead of points.
1136 * src/print-dialog.c: (printer_page_new):
1137 Changed packing style when adding printer selector widget. This fixes
1140 2005-02-13 Jim Evins <evins@snaught.com>
1144 Updated spanish translations. (sergio rivadero)
1146 2005-02-05 Jim Evins <evins@snaught.com>
1148 Some cleanup to libglabels.
1151 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1152 * libglabels/libglabels.pc.in
1154 * libglabels/enums.h
1155 Created. Currently only contains glUnitsType which provides enumerations
1156 for all possible units of distance.
1157 * libglabels/Makefile.am:
1158 Incorporated new files enums.h and libglabels.pc[.in].
1159 * libglabels/libglabels.h:
1161 * libglabels/template.h:
1162 * libglabels/template.c: (gl_template_layout_new):
1163 Changed parameters nx and ny to gint from gdouble.
1165 * libglabels/xml.c: (gl_xml_get_prop_length),
1166 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1167 Added support for different output units.
1168 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1169 (update_prefs_from_locale_page):
1170 * src/prefs-model.c: (string_to_units), (units_to_string):
1171 * src/prefs-model.h:
1172 * src/prefs.c: (gl_prefs_get_units_per_point),
1173 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1174 (gl_prefs_get_units_string):
1176 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1177 Reconciled all length enumerations with the new enumerations provided
1178 in libglabels/enums.h.
1180 2005-02-03 Jim Evins <evins@snaught.com>
1183 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1185 Updated Italian translations. (Daniele Medri)
1187 Updated credits to reflect above translations.
1190 2005-01-22 Jim Evins <evins@snaught.com>
1195 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1197 Final prep for 2.1.0.
1199 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1201 Added '--remove-original' flag to desktop-file-install, so that there is
1202 only one menu entry.
1204 2005-01-20 Jim Evins <evins@snaught.com>
1206 * data/glade/object-editor.glade:
1207 - Font family entry should not be editable.
1208 - img_key_entry should have sensitivity=YES, so that it follows the
1209 sensitivity of img_key_combo.
1211 2005-01-19 Jim Evins <evins@snaught.com>
1214 Give credit to Frederic Ruaudel for the color merge patches.
1216 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1218 Add support to merge color for all other color attribute (Feature
1219 Requests item #1008635. If the data is invalid, the color used is transparent
1220 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1221 by gdk_color_parse() these include name for a color from rgb.txt, such as
1222 DarkSlateGray, or a hex specification such as #305050. File format has been
1223 changed but backward compatibility is preserved for all format. For
1224 box/ellipse/line, keep attribute "line_color" for static color or replace by
1225 "line_color_field" for merge data. For text/barcode objects, keep attribute
1226 "color" for static color or replace by "color_field" for merge data. In the
1227 edit canvas window, merged color are represented by half-transparent black
1230 * data/dtd/glabels-2.0.dtd:
1231 Added line_color_field to line_attrs. Added color_field to
1232 Object-barcode and Span.
1233 * data/glade/object-editor.glade:
1234 Modify the layout of the editor to add merge possibility to color options
1236 Fix a copy/paste error in a comment
1238 Add default color for merge color representation in the editor canvas.
1239 * src/label-barcode.c:
1240 * src/object-editor-bc-page.c:
1241 * src/view-barcode.c:
1242 Add merge color support for barcode color.
1245 Add merge color support for box border color.
1246 * src/label-ellipse.c:
1247 * src/view-ellipse.c:
1248 Add merge color support for ellipse border color.
1251 Add merge color support for line color.
1252 * src/label-object.c:
1253 * src/label-object.h:
1254 * src/object-editor.c:
1255 * src/object-editor.h:
1256 * src/ui-property-bar.c:
1259 * src/xml-label-04.c:
1260 * src/xml-label-191.c:
1261 Add support for merging to other color attribute.
1263 * src/object-editor-text-page.c:
1265 Add merge color support for text color.
1266 * src/object-editor-fill-page.c:
1267 Change a blocked handler that didn't match the good widget. Fix the type
1268 of some debug message.
1269 * src/object-editor-line-page.c:
1270 Add merging support to line color option.
1271 * src/object-editor-private.h:
1272 Add variables for new widget.
1274 Modify the draw functions to get merge data if needed.
1276 Change the default size of the window in order to see all widget in the
1277 "text style tab" of the editor.
1279 Modify the parser to record/retreive the field value for objects that need
1280 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1281 static color or replace by "line_color_field" for merge data. For
1282 text/barcode objects, keep attribute "color" for static color or replace
1283 by "color_field" for merge data.
1285 2005-01-17 Jim Evins <evins@snaught.com>
1287 * src/view.c: (screen_changed_cb):
1288 Don't do anything if we don't have a screen.
1290 2005-01-06 Jim Evins <evins@snaught.com>
1292 * src/view.c: (get_home_scale):
1293 Fixed bad call to gtk_widget_has_screen() -- huh?.
1295 2005-01-06 Jim Evins <evins@snaught.com>
1297 * data/dtd/glabels-2.0.dtd:
1298 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1301 2005-01-06 Jim Evins <evins@snaught.com>
1303 * data/glade/object-editor.glade:
1304 Set entries for fill and data field key dropdowns to NOT editable.
1305 * src/view-box.c: (construct_properties_editor):
1306 * src/view-ellipse.c: (construct_properties_editor):
1307 Update object editor when label's merge property has changed.
1308 * src/xml-label.c: (xml_parse_object_ellipse):
1309 Completed the merge color support for the ellipse item.
1311 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1313 Add support to merge color for object that have a "Fill color" attribute (Feature
1314 Requests item #1008635. If the data is invalid, the color used is transparent
1315 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1316 by gdk_color_parse() these include name for a color from rgb.txt, such as
1317 DarkSlateGray, or a hex specification such as #305050. File format has been
1318 changed but backward compatibility is preserved for all format. For box/ellipse,
1319 keep attribute "fill_color" for static color or replace by "fill_color_field"
1322 * data/glade/object-editor.glade:
1323 Modify "Fill" tab to add the merge key combo and convert the labels into
1327 Add "glColorNode" structure and associated functions to manage it. This
1328 structure is equivalent for color than the "glTextNode". It holds the color
1330 * src/label-object.h:
1331 * src/label-object.c:
1333 * src/label-ellipse.c:
1334 * src/ui-property-bar.c:
1338 * src/view-ellipse.c:
1339 * src/xml-label-04.c:
1340 * src/xml-label-191.c:
1341 Change functions of objects that have a "fill color" attribute to use the
1342 new "glColorNode" structure. Use barcode code as example.
1344 Add the color.[ch] file to glabels_batch binary that now need support for
1346 * src/object-editor.h:
1347 * src/object-editor.c:
1348 * src/object-editor-fill-page.c:
1349 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1350 to choose between static color or merge key. Use barcode code as example.
1351 * src/object-editor-private.h:
1352 Add new widget in the "_glObjectEditorPrivate" structure.
1354 Modify the draw functions to get merge data if needed.
1356 Modify the parser to record/retreive the field value for objects that need
1357 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1358 color or "fill_color_field" for merge data.
1360 2005-01-04 Jim Evins <evins@snaught.com>
1363 * data/templates/avery-iso-templates.xml:
1364 * data/templates/misc-iso-templates.xml:
1365 * data/templates/misc-us-templates.xml:
1366 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1369 2004-11-26 Jim Evins <evins@snaught.com>
1373 Updated french translations provided by Florent Morel <florent@taket.org>.
1374 * src/view-barcode.c:
1376 * src/view-ellipse.c:
1380 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1381 thus _() strings were not being translated.
1383 2004-11-14 Jim Evins <evins@snaught.com>
1386 * src/debug.c: (gl_debug_init), (gl_debug):
1387 Borrowed from gedit: use environmental variables to select debug
1390 Removed unused include of debug.h.
1391 * src/glabels.c: (main):
1392 Added call to gl_debug_init(), and removed debug clutter from command line
1394 * src/glabels-batch.c: (main):
1395 Added call to gl_debug_init().
1397 2004-11-13 Jim Evins <evins@snaught.com>
1399 Drawing and property toolbars were being initialized with the "icons and text"
1400 look in Fedora Core 3. Even though none of the buttons had any text attached to
1401 them, the buttons were being sized as if they were. This led to less real estate
1402 for the property editor, leading to Bug #1064630. The
1404 * data/ui/glabels-ui.xml:
1405 Added explicit "look" property to both drawing and property toolbars.
1406 * src/prefs-model.c: (gl_prefs_model_save_settings),
1407 (gl_prefs_model_load_settings):
1408 * src/prefs-model.h:
1409 Removed drawing_toolbar_button_style configuration parameter.
1410 * src/ui.c: (view_menu_item_toggled_cb),
1411 (set_app_drawing_toolbar_style):
1412 Do not attempt to adjust look property of the drawing toolbar.
1414 2004-10-28 Jim Evins <evins@snaught.com>
1416 * data/pixmaps/glabels-about-logo.png:
1419 2004-10-28 Jim Evins <evins@snaught.com>
1421 * data/man/glabels.1:
1422 * src/glabels-batch.c: (main):
1424 * src/print.c: (gl_print_batch):
1426 Added option to glabels-batch to select the first label to begin
1429 2004-09-26 Jim Evins <evins@snaught.com>
1431 * data/desktop/glabels.desktop.in:
1432 Point to app icon, "glabels.png"
1433 * data/mime/glabels.keys.in:
1434 Point at mime icon, "glabels-application-x-glabels.png"
1435 * data/pixmaps/Makefile.am:
1436 Added glabels_app_icondir. Renamed icons.
1437 * data/pixmaps/glabels.png:
1438 New cleaned up app icon. Deleted glabels-icon.png.
1439 * data/pixmaps/glabels-application-x-glabels.png:
1441 * data/pixmaps/glabels-splash.png:
1442 Renamed glabels-logo to glabels-splash to be more correct about role.
1444 * src/template-designer.c:
1445 Point at app icon, "glabels.png"
1447 Point at renamed splash image, "glabels-splash.png"
1449 2004-08-22 Jim Evins <evins@snaught.com>
1452 * src/glabels-batch.c: (main):
1453 Applied patch with minor mods to allow selecting merge source and
1454 crop-marks on glabels-batch's command line. Original patch provided by
1455 José Dapena Paz <jdapena@igalia.com>.
1457 2004-08-15 Jim Evins <evins@snaught.com>
1459 * data/desktop/glabels.desktop.in:
1460 - Added encoding line
1461 - Removed period from comment
1462 - Fixed Terminal line, changed "0" to "false"
1463 - Added semicolen to Categories line
1465 - Made sure desktop.in comment string above still translated properly
1467 2004-08-14 Jim Evins <evins@snaught.com>
1469 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1470 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1471 * src/xml-label-191.c: (xml191_parse_sheet):
1472 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1474 Reconciled libglabels versioning with 2.0.1.
1477 2004-08-14 Jim Evins <evins@snaught.com>
1480 Updated version to 2.1cvs.
1482 2004-08-14 Jim Evins <evins@snaught.com>
1485 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1487 2004-08-14 Jim Evins <evins@snaught.com>
1489 Fixes for Bug #1008181.
1491 * src/bc.c: (gl_barcode_default_digits):
1492 Make a format of zero digits, harmless.
1493 * src/xml-label.c: (xml_parse_object_barcode):
1494 Set default value of the format property of barcode objects to 10, not
1495 zero. This will prevent crashes when reading pre 2.0.x files.
1497 2004-08-09 Jim Evins <evins@snaught.com>
1501 * help/C/glabels-C.omf:
1502 * help/C/glabels.xml:
1503 Brought documentation up-to-date for 2.0.0 release.
1505 2004-08-09 Jim Evins <evins@snaught.com>
1507 These are hopefully the final preparations for 2.0.0.
1509 * data/mime/Makefile.am:
1510 Include glabels.xml in EXTRA_DIST.
1512 - Updated comment style.
1513 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1514 - Added package and version info to configuration printout
1515 - Update version to 2.0.0
1516 * libglabels/Makefile.am:
1517 Use the new LIBGLABELS_VERSION_INFO macro.
1519 2004-08-09 Jim Evins <evins@snaught.com>
1523 Cleanup of required library macros.
1525 2004-08-08 Jim Evins <evins@snaught.com>
1529 - More specific of what to install in /usr/bin and /usr/lib
1530 - Remove built mime registration files from staging directory
1532 2004-08-08 Jim Evins <evins@snaught.com>
1534 * data/mime/Makefile.am:
1535 Fixed typo: key_files should have been keys_files.
1537 2004-08-08 Jim Evins <evins@snaught.com>
1539 Reorganization of runtime data files. Also added registration of mimetype with
1540 new freedesktop.org mime database if available.
1543 Moved files to appropriate subdirectories, creating local Makefile.am
1544 in each subdirectory.
1545 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1546 These are now installed at $datadir/glabels/templates.
1547 - Moved glabels.1 to man subdirectory.
1548 - Moved glabels-2.0.dtd to dtd subdirectory.
1549 - Moved glabels.desktop.in to desktop subdirectory.
1550 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1552 Moved "./pixmaps" to "./data/pixmaps"
1554 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1556 Moved libglade files from src to data/glade. Created Makefile.am.
1558 Removed pixmaps from SUBDIRS.
1560 - Removed pixmaps from makefiles.
1561 - Added makefiles for new subdirs of data.
1562 - Added tests for freedesktop.org mime database.
1564 - Added tests for freedesktop.org mime database for post install and
1565 post un-install actions.
1566 * libglabels/Makefile.am:
1567 Moved system template files to $(datadir)/glabels/templates.
1568 * libglabels/libglabels-private.h:
1569 Moved system template files to $(datadir)/glabels/templates.
1571 - Accounted for movement of ui and libglade files.
1572 - Added missing .in files.
1573 - Reorganized by directory.
1575 Accounted for movement of ui and libglade files.
1576 * data/mime/glabels.xml.in:
1577 New file for registering with freedesktop.org mime database.
1579 2004-08-07 Jim Evins <evins@snaught.com>
1581 * src/recent-files/*:
1582 Re-synced to latest libegg/recent-files.
1584 2004-08-07 Jim Evins <evins@snaught.com>
1589 Renamed "./doc" directory to "./help" which contains user documentation,
1590 to be more consistent with other GNOME applications.
1593 2004-07-26 Jim Evins <evins@snaught.com>
1595 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1596 Corrected button order of merge properties dialog.
1598 2004-07-18 Jim Evins <evins@snaught.com>
1600 * data/glabels-2.0.dtd:
1601 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1602 (gl_barcode_get_prefered_n):
1604 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1605 (gl_label_barcode_get_props), (get_size):
1606 * src/label-barcode.h:
1607 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1608 (style_changed_cb), (gl_object_editor_set_bc_style),
1609 (gl_object_editor_get_bc_style):
1610 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1611 (gl_object_editor_set_data), (gl_object_editor_get_data):
1612 * src/object-editor-private.h:
1613 * src/object-editor.c: (gl_object_editor_set_key_names):
1614 * src/object-editor.glade:
1615 * src/object-editor.h:
1616 * src/print.c: (draw_barcode_object):
1617 * src/view-barcode.c: (update_object_from_editor_cb),
1618 (update_editor_from_object_cb),
1619 (gl_view_barcode_create_event_handler), (draw_barcode):
1620 * src/xml-label-04.c: (xml04_parse_barcode_props):
1621 * src/xml-label-191.c: (xml191_parse_barcode_props):
1622 * src/xml-label.c: (xml_parse_object_barcode),
1623 (xml_create_object_barcode):
1624 Added "format" attribute to barcode objects. This attribute is used
1625 to properly format freeform barcodes barcodes prior to merge data is
1626 applied, so that barcodes can be accurately layed out. This addresses
1627 remaining issues of feature request #824787. Also added an example of
1628 the format in the object editor.
1630 2004-07-12 Jim Evins <evins@snaught.com>
1632 Various code cleanups.
1634 * src/label-barcode.c:
1635 Removed unneeded include of gnome-glyphlist.h.
1637 * src/label-text.c: (get_size):
1638 Fixed memory leak: unref glyphlists when done with them.
1640 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1641 * src/object-editor-data-page.c:
1642 (gl_object_editor_prepare_data_page):
1643 * src/object-editor-image-page.c:
1644 (gl_object_editor_prepare_image_page):
1645 * src/object-editor-line-page.c:
1646 (gl_object_editor_prepare_line_page):
1647 * src/object-editor-lsize-page.c:
1648 (gl_object_editor_prepare_lsize_page):
1649 * src/object-editor-position-page.c:
1650 (gl_object_editor_prepare_position_page):
1651 * src/object-editor-size-page.c:
1652 (gl_object_editor_prepare_size_page):
1653 * src/object-editor-text-page.c:
1654 (gl_object_editor_prepare_text_page):
1655 Removed unneeded size groups, originally intended to keep widgets aligned.
1656 Now use tables to lay these out in object-editor.glade.
1658 * src/print.c: (draw_text_object):
1659 Fixed memory leak: unref glyphlists when done with them.
1661 * src/view-barcode.c: (draw_barcode):
1662 Fixed memory leak: unref glyphlists when done with them.
1664 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1665 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1667 - Fixed memory leak: unref glyphlists when done with them.
1669 2004-07-11 Jim Evins <evins@snaught.com>
1671 * data/glabels-2.0.dtd:
1672 * src/label-text.c: (gl_label_text_instance_init), (copy),
1673 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1675 * src/object-editor-private.h:
1676 * src/object-editor-text-page.c:
1677 (gl_object_editor_prepare_text_page),
1678 (gl_object_editor_set_text_auto_shrink),
1679 (gl_object_editor_get_text_auto_shrink):
1680 * src/object-editor.c: (gl_object_editor_set_key_names):
1681 * src/object-editor.glade:
1682 * src/object-editor.h:
1683 * src/print.c: (draw_text_object):
1684 * src/view-text.c: (update_object_from_editor_cb),
1685 (update_editor_from_object_cb):
1686 * src/xml-label.c: (xml_parse_object_text),
1687 (xml_create_object_text):
1688 Added option to allow document merge to auto shrink text size to fit
1689 within the text box. The code in print.c that actually shrinks the
1690 text is loosely based on a patch submitted by Mark Harrison
1691 <mark.harrison@velocitynet.com.au>. This addresses feature request
1694 2004-07-11 Jim Evins <evins@snaught.com>
1696 * data/glabels-2.0.dtd:
1697 * libglabels/template.c: (gl_template_rect_label_type_new),
1698 (gl_template_round_label_type_new),
1699 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1700 (template_full_page):
1701 * libglabels/template.h:
1702 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1703 (xml_create_label_node):
1704 * pixmaps/ex-rect-size.png:
1705 * src/print.c: (clip_to_outline), (clip_punchouts):
1706 * src/template-designer.c: (construct_rect_size_page),
1707 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1709 * src/template-designer.glade:
1710 * src/xml-label-191.c: (xml191_parse_label):
1711 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1712 properties for rectangular labels. Templates remain backwards compatible,
1713 but this breaks the libglabels API (I don't know of anyone outside of
1714 glabels using libglabels at this time -- what can I say, the program is
1715 is still "unstable"). This addresses the suggestion in Feature Request
1718 2004-07-05 Jim Evins <evins@snaught.com>
1719 * src/print.c: (print_crop_marks), (draw_outline):
1720 Changed crop marks and label outlines to black, instead of 25% gray.
1721 This addresses debian Bug #257460.
1723 2004-07-05 Jim Evins <evins@snaught.com>
1725 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1726 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1727 Preserve "is_default" of fill and line color_combos when creating from
1730 2004-07-02 Jim Evins <evins@snaught.com>
1733 Created man page. Based on page submitted by Matthew J. Lockner, however
1734 it has been severely edited.
1736 * data/avery-other-templates.xml
1737 * data/misc-other-templates.xml:
1738 Started new files for predefined templates with non-standard sheet sizes.
1739 These have been initially populated with the Avery 06141 and
1740 OfficeMax #86112, both provided by Matthew J. Lockner.
1743 Install above manpage and template files.
1746 Make sure we install man pages.
1748 * src/glabels-batch.c:
1749 Changed short form of help option to '-?' to be consistent with glabels.
1752 Added acknowledgement for above labels.
1754 2004-07-02 Jim Evins <evins@snaught.com>
1756 * src/glabels.c: (main), (save_session_cb):
1757 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1759 - save_session_cb() now returns gboolean.
1760 - Minor formatting changes.
1764 - Now include file.h to provide missing prototype.
1765 - gl_window_get_type() now returns GType, not guint. I believe this may
1766 ultimately be cause of the segfault reported in Bug #982287, since
1767 GType is actually a gulong, which may not be compatible on other
1768 architectures (64bit) -- I cannot personally test this at this time.
1769 I was sloppy in several other xxx_get_type() functions which also
1770 returned guint -- see next group of files:
1772 * src/window.c: (gl_window_get_type):
1773 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1774 * src/canvas-hacktext.h:
1775 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1776 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1777 (gl_hig_hbox_get_type):
1779 * src/label-barcode.c: (gl_label_barcode_get_type):
1780 * src/label-barcode.h:
1781 * src/label-box.c: (gl_label_box_get_type):
1783 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1784 * src/label-ellipse.h:
1785 * src/label-image.c: (gl_label_image_get_type):
1786 * src/label-image.h:
1787 * src/label-line.c: (gl_label_line_get_type):
1789 * src/label-object.c: (gl_label_object_get_type):
1790 * src/label-object.h:
1791 * src/label-text.c: (gl_label_text_get_type):
1793 * src/label.c: (gl_label_get_type):
1795 * src/merge-properties-dialog.c:
1796 (gl_merge_properties_dialog_get_type):
1797 * src/merge-properties-dialog.h:
1798 * src/merge-text.c: (gl_merge_text_get_type):
1800 * src/merge.c: (gl_merge_get_type):
1802 * src/object-editor.c: (gl_object_editor_get_type):
1803 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1804 * src/prefs-dialog.h:
1805 * src/prefs-model.c: (gl_prefs_model_get_type):
1806 * src/prefs-model.h:
1807 * src/print-dialog.c: (gl_print_dialog_get_type):
1808 * src/print-dialog.h:
1809 * src/template-designer.c: (gl_template_designer_get_type):
1810 * src/template-designer.h:
1811 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1812 * src/ui-property-bar.h:
1813 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1815 * src/view-barcode.c: (gl_view_barcode_get_type):
1816 * src/view-barcode.h:
1817 * src/view-box.c: (gl_view_box_get_type):
1819 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1820 * src/view-ellipse.h:
1821 * src/view-highlight.c: (gl_view_highlight_get_type):
1822 * src/view-highlight.h:
1823 * src/view-image.c: (gl_view_image_get_type):
1825 * src/view-line.c: (gl_view_line_get_type):
1827 * src/view-object.c: (gl_view_object_get_type):
1828 * src/view-object.h:
1829 * src/view-text.c: (gl_view_text_get_type):
1831 * src/view.c: (gl_view_get_type):
1833 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1834 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1835 * src/wdgt-image-select.h:
1836 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1837 * src/wdgt-media-select.h:
1838 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1839 * src/wdgt-mini-preview.h:
1840 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1841 * src/wdgt-print-copies.h:
1842 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1843 * src/wdgt-print-merge.h:
1844 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1845 * src/wdgt-rotate-label.h:
1846 - Made sure all xxx_get_type functions returned GType, not guint. This
1847 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1848 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1849 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1850 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1851 window.[ch] details above for more info.
1852 - Reconciled various coding style differences in all xxx_get_type()
1854 * All prototypes include G_GNUC_CONST.
1855 * All prototypes specify the return value as GType, not GtkType
1857 * Info structures are all declared as "static const."
1858 * Generalized the names of type and info variables.
1859 * Miscelaneous formatting.
1861 2004-06-08 Jim Evins <evins@snaught.com>
1867 Don't touch compression of original file -- still defaults to 9 for
1868 new files. Original patch provided by Javier Donaire Segarra
1869 (#912252 in patch tracker).
1871 2004-05-05 Jim Evins <evins@snaught.com>
1873 * data/glabels-2.0.dtd:
1874 Broke DTD previously when adding new barcode types that contain a
1875 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
1876 to avoid the problem.
1877 * data/avery-iso-templates.xml:
1878 * data/zweckform-iso-templates.xml:
1880 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
1881 provided by Frank Altpeter.
1882 * libglabels/xml-template.c: (xml_create_label_node):
1883 Reordered markup and layout sub-nodes so that resulting templates will
1884 validate against DTD.
1886 2004-03-13 Jim Evins <evins@snaught.com>
1888 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
1889 Changed spin callback signals from "value-changed" back to "changed."
1890 This was accidentally introduced in a previous revision, and can cause
1891 size changes just by selecting the size tab.
1893 2004-03-06 Jim Evins <evins@snaught.com>
1895 * src/view.c: (draw_grid_layer):
1896 For round labels (round and cd) adjust grid so that it lines up with
1897 center of label. Also, no longer draw box around label in the grid layer,
1898 it is hidden by he fg layer anyway. Feature suggested by
1899 nemolivier@free.fr. Although the grid is aligned with the center of the
1900 label, the coordinate system is still relative to the upper left corner
1901 of the rectangle containing the label.
1903 2004-02-25 Jim Evins <evins@snaught.com>
1906 Changed version to 2.0pre1cvs
1908 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
1909 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
1910 instead of doc->name fields when errors encountered.
1912 2004-02-21 Jim Evins <evins@snaught.com>
1914 * data/avery-iso-templates.xml:
1915 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
1918 Added libglabels library and include file to installed files.
1921 Final prep for 1.93.3.
1923 2004-02-20 Jim Evins <evins@snaught.com>
1925 * src/glabels-batch.c: (main):
1926 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
1927 as suggested by Javier Donaire Segarra. This addresses bug #901063.
1929 2004-02-16 Jim Evins <evins@snaught.com>
1932 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
1935 Added HAVE_FILE_CHOOSER to INCLUDES.
1937 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
1938 (gl_file_save_as), (save_as_response):
1939 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
1941 2004-02-16 Jim Evins <evins@snaught.com>
1943 * src/xml-label-04.c: (xml04_parse_image_props):
1944 * src/xml-label-191.c: (xml191_parse_image_props):
1945 * src/xml-label.c: (xml_parse_object_image):
1946 Delay setting image size until after image has been applied to new
1949 2004-02-15 Jim Evins <evins@snaught.com>
1951 * src/label-barcode.c: (gl_label_barcode_set_data),
1952 (gl_label_barcode_set_props):
1953 Don't emit "changed" signal, if no change actually made for these
1954 methods. Reduces number of unnecessary redraws of barcodes.
1956 * src/label-object.h:
1957 * src/label-object.c: (gl_label_object_set_position),
1958 (gl_label_object_set_position_relative), (set_size),
1959 (gl_label_object_set_size),
1960 (gl_label_object_set_size_honor_aspect):
1961 Don't emit "changed" signal, if no change actually made for these
1964 2004-02-15 Jim Evins <evins@snaught.com>
1966 * data/glabels-2.0.dtd:
1967 Added specific subtypes for various barcode types.
1970 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
1971 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
1972 (gl_barcode_can_text), (gl_barcode_text_optional),
1973 (gl_barcode_can_csum), (gl_barcode_csum_optional),
1974 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
1975 Changed API to use a string id, rather than a fixed enumeration. Id and
1976 name are separate strings. Added entries to backend table for specific
1977 subtypes for various barcode types.
1980 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
1982 Modified to conform to above API. Now more stringent with data length
1983 for various subtypes.
1985 * src/bc-gnubarcode.h:
1986 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
1987 (is_length_valid), (is_length1_valid), (is_length2_valid):
1988 Modified to conform to above API. Now more stringent with data length
1989 for various subtypes.
1991 * src/label-barcode.h:
1992 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1993 (gl_label_barcode_get_props), (get_size):
1994 Modified to use above API for storing barcode type.
1996 * src/object-editor.h:
1997 * src/object-editor-bc-page.c: (style_changed_cb),
1998 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
1999 Modified to use above API for storing barcode type.
2001 * src/object-editor-size-page.c:
2002 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
2003 (w_spin_cb), (h_spin_cb), (size_reset_cb):
2004 Added debug markers.
2006 * src/object-editor.glade:
2007 Made barcode style combo's text entry non-editable.
2009 * src/print.c: (draw_barcode_object):
2010 Modified to use above API for barcode type.
2012 * src/view-barcode.c: (update_object_from_editor_cb),
2013 (update_editor_from_object_cb),
2014 (gl_view_barcode_create_event_handler), (draw_barcode):
2015 Modified to use above API for barcode type.
2017 * src/xml-label-04.c: (xml04_parse_barcode_props):
2018 * src/xml-label-191.c: (xml191_parse_barcode_props):
2019 * src/xml-label.c: (xml_parse_object_barcode),
2020 (xml_create_object_barcode):
2021 Modified to use above API for barcode type.
2023 2004-02-07 Jim Evins <evins@snaught.com>
2025 * src/stock-pixmaps/Makefile.am:
2026 * src/stock-pixmaps/stock_hchain_24.png:
2027 * src/stock-pixmaps/stock_hchain_broken_24.png:
2028 * src/stock-pixmaps/stock_vchain_24.png:
2029 * src/stock-pixmaps/stock_vchain_broken_24.png:
2030 Added chain pixmaps borrowed from the gimp's default theme.
2033 * src/stock.c: (gl_stock_init), (add_button_icon):
2034 Added above pixmaps to stock icon sets. Created add_button_icon() to
2035 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
2037 * src/wdgt-chain-button.h
2038 * src/wdgt-chain-button.c
2041 Added this Modified version of gimpchainbutton widget, borrowed from
2045 Added acknowledgements of the above borrowing from the gimp.
2047 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
2049 * src/object-editor.c: (gl_object_editor_construct_chain_button):
2050 * src/object-editor.glade:
2051 Replaced the keep aspect ratio check box with the above chain-button
2054 * src/text-node.c: (gl_text_node_equal):
2056 Added function gl_text_node_equal() to compare text_nodes.
2058 * src/label-image.c: (gl_label_image_set_filename):
2059 Replaced incomplete text_node comparison code with invocation of
2060 gl_text_node_equal. This fixed the problem of not being able to
2061 resize an image using the object_editor if the aspect ratio is not
2064 2004-02-04 Jim Evins <evins@snaught.com>
2066 * src/object-editor-image-page.c:
2067 (gl_object_editor_prepare_image_page):
2068 Track "changed" signal of pixmap entry's GtkEntry rather than its
2069 "activate" signal -- this catches all changes to the entry rather than
2070 just changes resulting from a browse, so one can easily pull previous
2071 entries from the history. (This change is marked below on 2004-02-03,
2072 but somehow never got checked in.)
2074 * src/view-highlight.c: (sl_resize_event_handler),
2075 (sr_resize_event_handler), (st_resize_event_handler),
2076 (sb_resize_event_handler):
2077 Side resize handles will now confirm the actual resize that the object
2078 accepted before adjusting position parameters. Previously some interesting
2079 things happened when resizing a barcode to its minimum size.
2081 2004-02-03 Jim Evins <evins@snaught.com>
2083 * src/object-editor-image-page.c:
2084 (gl_object_editor_prepare_image_page):
2085 Track "changed" signal of pixmap entry's GtkEntry rather than its
2086 "activate" signal -- this catches all changes to the entry rather than
2087 just changes resulting from a browse, so one can easily pull previous
2088 entries from the history.
2090 * src/view-highlight.c: (tl_resize_event_handler),
2091 (tr_resize_event_handler), (bl_resize_event_handler),
2092 (br_resize_event_handler):
2093 Allow control key to be dropped while dragging a corner resize handle
2094 without losing the aspect ratio lock.
2096 2004-02-02 Jim Evins <evins@snaught.com>
2098 * src/label-image.c: (gl_label_image_set_filename):
2099 When setting a new filename adjust size such that the aspect ratio of
2100 the image is preserved using the current size as a bounding box.
2102 * src/view-image.c: (update_object_from_editor_cb):
2103 When updating object from editor, feed back possible size changes to
2104 editor as a result of a possible change in image.
2106 * src/object-editor-size-page.c: (size_reset_cb):
2107 Fixed typo when blocking spin handlers. If the base size is larger than
2108 the max size, treat max size as a bounding box while keeping aspect
2112 2004-02-02 Jim Evins <evins@snaught.com>
2114 * src/label-object.h:
2115 * src/label-object.c: (gl_label_object_set_size),
2116 (gl_label_object_set_size_honor_aspect):
2117 Added gl_label_object_set_size_honor_aspect() which will maintain the
2118 current aspect ratio by modifying the supplied w or h apropriately.
2120 * src/view-highlight.c: (tl_resize_event_handler),
2121 (tr_resize_event_handler), (bl_resize_event_handler),
2122 (br_resize_event_handler):
2123 Corner handles will now maintain the current aspect ratio if the
2124 control key is pressed while resizing. This addresses feature
2128 2004-01-31 Jim Evins <evins@snaught.com>
2131 * data/avery-us-templates.xml:
2132 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
2134 * libglabels/template.c: (read_template_files_from_dir):
2135 Corrected problem with testing for extensions.
2137 * src/object-editor.glade:
2138 Corrected grouping of radio buttons in barcode data page.
2140 * src/print.c: (draw_barcode_object):
2141 * src/view-barcode.c: (draw_barcode):
2142 Corrected problem with calculation of y_offset for locating characters.
2144 2004-01-24 Jim Evins <evins@snaught.com>
2147 * data/avery-us-templates.xml:
2148 Added Avery 5824, submitted by Fred Bacon.
2150 2004-01-20 Jim Evins <evins@snaught.com>
2152 Catching up on a couple of backlogged user template submissions.
2154 * data/avery-iso-templates.xml:
2155 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2156 Suggested by Linas Jakucionis.
2158 * data/zweckform-iso-templates.xml:
2159 Added Zweckform 4760, submitted by Thomas Vill.
2162 Updated to reflect above submissions.
2164 2004-01-06 Jim Evins <evins@snaught.com>
2166 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2167 xml.[ch] into a separate library called libglabels, to facilitate third
2168 party use of glabels template files. This was suggested by Wayne Schuller.
2169 Once split-out, some modifications to the structures and functions to
2170 make a cleaner more useful API, hopefully. Rather extensive changes have
2171 propogated to other modules.
2179 * src/xml-template.h:
2180 * src/xml-template.c:
2183 These files have been moved to libglabels/. API cleanup performed.
2185 * libglabels/libglabels.h:
2186 * libglabels/libglabels-private.h:
2187 * libglabels/Makefile.am:
2188 These files have been added to finish out libglabels.
2195 Modified to reflect new sets of files in src/ and libglabels/.
2197 * COPYING.LIBGLABELS:
2199 Added copy of the LGPL for libglabels, and a copy the GFDL for
2202 * src/glabels-batch.c:
2204 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2205 (gl_label_get_size):
2207 * src/prefs-model.c: (gl_prefs_model_load_settings):
2208 * src/print-dialog.c:
2209 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2210 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2211 (print_crop_marks), (print_label), (draw_outline),
2212 (clip_to_outline), (clip_punchouts):
2213 * src/template-designer.c: (construct_pg_size_page),
2214 (pg_size_page_changed_cb), (layout_page_changed_cb),
2215 (print_test_cb), (build_template):
2216 * src/util.c: (gl_util_fraction):
2218 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2219 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2220 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2221 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2222 (draw_markup_margin_round), (draw_markup_margin_cd),
2223 (draw_markup_margin_cd_bc), (draw_markup_line),
2224 (draw_markup_circle), (gl_view_copy):
2225 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2226 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2227 (get_label_size_desc):
2228 * src/wdgt-mini-preview.c:
2229 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2231 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2232 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2233 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2234 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2235 * src/wdgt-rotate-label.h:
2236 * src/xml-label-04.c: (xml04_parse_media_description):
2237 * src/xml-label-191.c: (gl_xml_label_191_parse),
2238 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2239 (xml191_parse_markup), (xml191_parse_alias):
2240 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2242 Various changes to accomodate new libglabels API.
2244 2004-01-03 Jim Evins <evins@snaught.com>
2249 2004-01-03 Jim Evins <evins@snaught.com>
2252 Added acknowledgement of contributions by Wayne Schuller.
2254 * src/commands.c: (gl_cmd_file_print):
2255 Create extra reference to print dialog, so that it can be properly re-used.
2257 * src/mygal/mygal-combo-box.h:
2258 * src/mygal/mygal-combo-box.c:
2259 (mygal_combo_box_popup_hide_unconditional),
2260 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2261 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2262 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2263 (mygal_combo_box_set_tearable):
2264 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2265 complete the rename of this widget to prevent namespace collisions
2268 * src/prefs-dialog.glade:
2269 Fixed alignment of Fill/Color widgets.
2271 2004-01-03 Jim Evins <evins@snaught.com>
2273 * data/avery-iso-templates.xml:
2274 Added user submitted templates.
2275 Avery 8435A & 8435B, submitted by Ludger Solbach.
2277 * doc/C/glabels.xml:
2278 Added minimal documentation, noting the new template designer.
2280 2004-01-03 Jim Evins <evins@snaught.com>
2282 * pixmaps/ex-rect-size.png:
2283 * pixmaps/ex-round-size.png:
2284 * pixmaps/ex-cd-size.png:
2285 * pixmaps/Makefile.am:
2286 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2287 files to be used as illustrations/examples in the template-designer.
2289 * src/template-designer.c: (construct_rect_size_page),
2290 (construct_round_size_page), (construct_cd_size_page),
2291 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2292 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2293 (layout_page_prepare_cb), (build_template):
2294 * src/template-designer.glade:
2295 Added illustrations for rectangle, round, and cd label size pages.
2296 Added margin spinboxes to these pages, and now add a margin markup
2297 to the constructed template. Added realistic default values for
2298 some of the size spinboxes. Cleaned up the code for setting spinbox
2299 ranges on the layouts page.
2301 2004-01-02 Jim Evins <evins@snaught.com>
2303 * src/object-editor-size-page.c: (h_spin_cb):
2304 Fixed cut-n-paste error in h_spin_cb that loaded h from
2305 the wrong spinbutton.
2307 * src/object-editor.h:
2308 * src/object-editor.c: (gl_object_editor_class_init),
2309 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2310 * src/object-editor-private.h:
2311 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2313 Added "size_changed" signal.
2315 * src/view-text.c: (construct_properties_editor),
2316 (update_object_from_editor_cb),
2317 (update_object_from_editor_size_cb):
2318 Track size changes from object editor separately from other
2319 properties. This is so the default size (0,0) of a text
2320 object is not modified unintentionally.
2322 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2324 Added feature: line spacing - allows you to comfortably space a text box to
2325 fit a label perfectly.
2327 * data/glabels-2.0.dtd:
2328 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2329 (gl_label_object_get_text_alignment),
2330 (gl_label_object_get_text_line_spacing):
2331 * src/label-object.h:
2332 * src/label-text.c: (gl_label_text_class_init),
2333 (gl_label_text_instance_init), (copy), (get_size),
2334 (set_text_line_spacing), (get_text_alignment),
2335 (get_text_line_spacing):
2336 * src/object-editor-private.h:
2337 * src/object-editor-text-page.c:
2338 (gl_object_editor_prepare_text_page),
2339 (gl_object_editor_set_text_line_spacing),
2340 (gl_object_editor_get_text_line_spacing):
2341 * src/object-editor.glade:
2342 * src/object-editor.h:
2343 * src/prefs-dialog.c: (construct_object_page),
2344 (update_object_page_from_prefs), (update_prefs_from_object_page):
2345 * src/prefs-dialog.glade:
2346 * src/prefs-model.c: (gl_prefs_model_save_settings),
2347 (gl_prefs_model_load_settings), (get_float):
2348 * src/prefs-model.h:
2349 * src/print.c: (draw_text_object):
2351 * src/view-text.c: (update_object_from_editor_cb),
2352 (update_editor_from_object_cb),
2353 (gl_view_text_create_event_handler), (draw_hacktext):
2354 * src/view.c: (gl_view_construct),
2355 (gl_view_set_selection_text_line_spacing),
2356 (gl_view_set_default_text_line_spacing),
2357 (gl_view_get_default_text_line_spacing):
2359 * src/xml-label.c: (xml_parse_toplevel_span),
2360 (xml_create_toplevel_span):
2362 2003-12-30 Jim Evins <evins@snaught.com>
2364 * src/template-designer.c:
2365 * src/template-designer.h:
2366 * src/template-designer.glade:
2367 New template designer assistant.
2371 Added entries for src/template-designer.* files.
2373 * pixmaps/ex-1layout.png
2374 * pixmaps/ex-2layouts.png
2375 * pixmaps/Makefile.am:
2376 Added the new image files ex-*.png used as illustrations in the
2377 template designer assistant.
2379 * src/print-dialog.h:
2380 * src/print-dialog.c: (gl_print_dialog_finalize),
2381 (gl_print_dialog_new), (gl_print_dialog_construct),
2382 (gl_print_dialog_force_outline_flag):
2383 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2384 to support printing from the template designer assistant which does not
2385 have a full-fledged view. Nothing else from the view object was being
2386 used by the dialog anyway.
2388 Added the gl_print_dialog_force_outline_flag() method, for better
2389 integration with the template designer assistant.
2393 * src/commands.c: (gl_cmd_file_template_designer),
2394 (gl_cmd_file_print):
2395 Modified print command to provide label instead of view to dialog.
2396 Added the gl_cmd_file_template_designer() command to invoke the
2397 template designer assistant.
2400 * src/glabels-ui.xml:
2401 Added support for template designer assistant.
2403 * src/wdgt-mini-preview.h:
2404 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2405 (gl_wdgt_mini_preview_set_bg_color):
2406 Preview is now centered in canvas. Added
2407 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2408 assistant to match the background color with its own.
2410 * src/print.c: (clip_to_outline):
2411 Fixed really stupid bug when adding waste to clip region of rectangular
2412 labels/cards. Each side of the clip region needs to be extended by
2413 twice the waste margin, as well as negatively offset by the waste
2416 2003-12-28 Jim Evins <evins@snaught.com>
2418 * src/prefs-dialog.c: (update_object_page_from_prefs):
2419 Block intermediary function align_toggle_cb() instead of
2420 update_prefs_from_object_page() for the three alignment
2423 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2425 * src/file.c: (gl_file_new), (gl_file_properties):
2426 Swap button order and set default for higificatory pleasure.
2428 2003-12-27 Jim Evins <evins@snaught.com>
2430 * barcode-0.98/Makefile.am:
2431 One last time: removed doc/Makefile and po/Makefile.in.in from
2434 2003-12-27 Jim Evins <evins@snaught.com>
2436 * barcode-0.98/Makefile.am:
2437 Removed config.stat entry from EXTRA_DIST files.
2439 * barcode-0.98/Makefile.in:
2442 2003-12-27 Jim Evins <evins@snaught.com>
2445 Updated to work with latest gnome-common package from CVS.
2446 Removed recursive configuration of barcode-0.98.
2453 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2455 * barcode-0.98/Makefile.in:
2456 * barcode-0.98/configure.in:
2457 * barcode-0.98/Makefile.am:
2458 * barcode-0.98/README.glabels:
2459 Modified to ignore the barcode package's build system, and build
2460 as a part of glabels.
2461 Renamed Makefile.in to Makefile.in.dist.
2462 Renamed configure.in to configure.in.dist.
2463 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2466 * src/mygal/Makefile.am:
2467 * src/recent-files/Makefile.am:
2468 In order to build against the GNOME 2.5 platform,
2469 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2471 * src/mygal/Makefile.am:
2472 * src/mygal/mygal-combo-box.c:
2473 * src/mygal/mygal-combo-box.h:
2474 * src/mygal/widget-color-combo.c:
2475 * src/mygal/widget-color-combo.h:
2477 In order to build against the GNOME 2.5 platform,
2478 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2479 collisions with the real gtk_combo_box widget, now a part of gtk.
2481 2003-12-26 Jim Evins <evins@snaught.com>
2487 Moved local versions of get_home_data_dir() in paper.c and
2488 template.c to util package. Cleaned up formatting in
2492 In gl_template_register() save a copy of the template in
2493 ~/.glabels if the template is not known. Still need to
2494 handle duplicate filename case and duplicate name but
2495 different template case.
2499 Moved local definition of NAME_SPACE macro from xml-label.c
2502 * src/xml-template.c:
2503 * src/xml-template.h:
2504 Added function gl_xml_template_write_template_to_file(), used
2505 in gl_template_register().