1 2006-04-05 Jim Evins <evins@snaught.com>
3 * src/object-editor.c: (gl_object_editor_set_key_names):
4 Fixed potential crash when freeing empty key list.
6 2006-03-11 Jim Evins <evins@snaught.com>
8 * src/print.c: (draw_text_object):
9 * src/view-text.c: (gl_view_text_new),
10 (construct_properties_editor), (update_object_from_editor_cb),
11 (update_editor_from_object_cb), (update_editor_from_label_cb),
13 Added shadow support to text object.
15 2006-02-18 Jim Evins <evins@snaught.com>
17 * src/print.c: (draw_line_object):
18 * src/view-line.c: (gl_view_line_new),
19 (construct_properties_editor), (update_canvas_item_from_object_cb),
20 (update_object_from_editor_cb), (update_editor_from_object_cb),
21 (update_editor_from_label_cb):
22 Added shadow support to line object.
24 2006-02-16 Jim Evins <evins@snaught.com>
28 * src/print.c: (draw_ellipse_object):
29 * src/view-ellipse.c: (gl_view_ellipse_new),
30 (construct_properties_editor), (update_canvas_item_from_object_cb),
31 (update_object_from_editor_cb), (update_editor_from_object_cb),
32 (update_editor_from_label_cb):
33 Added shadow support to ellipse object.
35 2006-02-15 Jim Evins <evins@snaught.com>
38 Changed default shadow offsets.
39 * src/view-box.c: (gl_view_box_new):
40 Simplified gl_view_box_new() so that is does not duplicate code
41 in update_canvas_item_from_object_cb().
43 2006-02-07 Jim Evins <evins@snaught.com>
45 * data/glade/object-editor.glade:
46 Fixed color groups of color combos.
48 Added default shadow color.
49 * src/object-editor.c: (gl_object_editor_construct_color_combo):
50 Added shadow color group.
52 2006-02-06 Jim Evins <evins@snaught.com>
54 * src/object-editor-shadow-page.c:
55 Forgot to add this file.
56 * src/view-box.c: (gl_view_box_new),
57 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
58 Update limits on shadow offset spinbuttons.
60 2006-01-19 Jim Evins <evins@snaught.com>
62 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
63 Initialize key_list to NULL.
64 * data/glade/object-editor.glade:
70 * src/object-editor-fill-page.c:
71 * src/object-editor-private.h:
72 * src/object-editor.c:
73 * src/object-editor.h:
75 Created infrastructure for shadow support.
78 Initial shadow support in box object only.
80 2006-01-05 Jim Evins <evins@snaught.com>
82 * src/merge-properties-dialog.c: (src_changed_cb):
83 Be extra paranoid before calling strcmp().
84 * src/merge.c: (gl_merge_set_src):
85 Don't make (merge == NULL) a critical error.
87 2005-12-22 Jim Evins <evins@snaught.com>
89 * src/glabels-batch.c: (main):
90 Compile warning free with gcc 4.0.
92 2005-12-21 Jim Evins <evins@snaught.com>
95 Updated example RPM spec file.
97 2005-12-21 Jim Evins <evins@snaught.com>
101 Preparation for 2.1.2.
103 2005-12-20 Jim Evins <evins@snaught.com>
106 Define unique G_LOG_DOMAIN for glabels.
107 * src/critical-error-handler.c: (gl_critical_error_handler_init):
108 * src/warning-handler.c: (gl_warning_handler_init),
110 Register for G_LOG_DOMAIN instead of NULL.
112 2005-12-10 Jim Evins <evins@snaught.com>
114 * src/merge-evolution.c:
118 2005-12-08 Jim Evins <evins@snaught.com>
120 * libglabels/paper.c: (read_paper_files_from_dir):
121 * libglabels/template.c: (gl_template_register),
122 (read_template_files_from_dir):
123 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
124 (gl_xml_paper_parse_papers_doc):
125 * libglabels/xml-template.c:
126 (gl_xml_template_read_templates_from_file),
127 (gl_xml_template_parse_templates_doc),
128 (gl_xml_template_parse_template_node),
129 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
130 (xml_parse_label_cd_node), (xml_parse_layout_node),
131 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
132 (xml_parse_markup_circle_node),
133 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
134 * libglabels/xml.c: (gl_xml_get_prop_length):
135 Re-classified g_warnings to g_messages.
137 * src/glabels.c: (main):
138 * src/warning-handler.c: (gl_warning_handler_init),
140 * src/warning-handler.h:
141 Added warning message handler to make sure the user is
142 presented with appropriate non-fatal errors.
143 * src/critical-error-handler.c: (critical_error_handler):
144 Changed exit to abort.
145 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
146 * src/bc-postnet.c: (postnet_code):
147 * src/bc.c: (id_to_index), (name_to_index):
148 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
149 * src/object-editor.c: (gl_object_notebook_construct_valist):
150 * src/prefs-dialog.c: (update_locale_page_from_prefs):
151 * src/prefs.c: (gl_prefs_get_units_per_point),
152 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
153 (gl_prefs_get_units_string):
154 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
155 * src/splash.c: (gl_splash):
156 * src/ui-commands.c: (gl_ui_cmd_help_contents):
157 * src/view-highlight.c: (gl_view_highlight_new),
158 (highlight_resizable_box_construct), (object_changed_cb),
159 (view_scale_changed_cb):
160 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
161 (draw_markup_layer), (draw_markup_margin),
162 (gl_view_object_create_mode), (canvas_event),
163 (selection_received_cb):
164 * src/wdgt-mini-preview.c: (mini_outline_list_new):
165 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
166 * src/xml-label-04.c: (gl_xml_label_04_parse),
167 (xml04_parse_media_description), (xml04_parse_text_props),
168 (xml04_parse_barcode_props):
169 * src/xml-label-191.c: (gl_xml_label_191_parse),
170 (xml191_parse_objects), (xml191_parse_object),
171 (xml191_parse_text_props), (xml191_parse_image_props),
172 (xml191_parse_barcode_props), (xml191_parse_data),
173 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
174 (xml191_parse_markup):
175 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
176 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
177 (xml_parse_object_text), (xml_parse_object_image),
178 (xml_parse_object_barcode), (xml_parse_data),
179 (xml_parse_toplevel_span), (gl_xml_label_save),
180 (xml_create_objects):
181 Re-classified g_warnings to g_messages.
182 * src/merge-evolution.c: (gl_merge_evolution_open),
183 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
184 Use g_warning to output errors encountered while
185 communicating with the evolution data server
186 instead of embedding them in the data.
188 2005-12-08 Jim Evins <evins@snaught.com>
190 * libglabels/libglabels-private.h:
192 * libglabels/paper.c: (read_papers):
193 * libglabels/template.c: (read_templates):
194 Made appropriate warnings critical.
196 * src/critical-error-handler.h:
197 * src/critical-error-handler.c: (gl_critical_error_handler_init),
198 (critical_error_handler):
199 Created critical error handler.
200 * src/glabels.c: (main):
201 Register critical error handler.
202 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
203 * src/object-editor.c: (gl_object_editor_init):
204 * src/prefs-dialog.c: (gl_prefs_dialog_init):
205 * src/template-designer.c: (gl_template_designer_init):
206 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
207 Made appropriate warnings critical.
209 2005-11-27 Jim Evins <evins@snaught.com>
211 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
212 (gl_merge_evolution_get_primary_key),
213 (gl_merge_evolution_get_record):
214 Don't create "record_key" pseudo-key. Don't populate
215 fields with null data.
217 2005-11-25 Jim Evins <evins@snaught.com>
219 * src/merge-evolution.c: (gl_merge_evolution_finalize),
220 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
221 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
223 Query EDS for all supported fields. Patch provided by
224 Austin Henry <ahenry@users.sourceforge.net>.
226 2005-10-29 Jim Evins <evins@snaught.com>
228 * src/glabels.c: (main):
229 * src/label-barcode.c: (gl_label_barcode_finalize):
230 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
231 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
232 * src/object-editor.c: (gl_object_editor_finalize):
233 Another pass at valgrinding -- plugged several memory leaks.
234 * src/view-text.c: (gl_view_text_new),
235 (update_canvas_item_from_object_cb), (draw_hacktext):
236 Commented out artifacts of edit-in-place code.
238 2005-10-28 Jim Evins <evins@snaught.com>
240 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
241 Fixed use of uninitialized variable. Caught by
242 d binderman <dcb314@hotmail.com>.
244 2005-10-27 Jim Evins <evins@snaught.com>
246 * src/merge-evolution.c: (gl_merge_evolution_get_record):
247 * src/merge-vcard.c: (gl_merge_vcard_get_record),
249 Additional cleanup of EDS and vcard backends. Provided by
250 Austin Henry <ahenry@users.sourceforge.net>.
252 2005-10-24 Jim Evins <evins@snaught.com>
256 * src/merge-evolution.c:
257 * src/merge-evolution.h:
258 * src/merge-init.c: (gl_merge_init):
259 * src/merge-properties-dialog.c: (type_changed_cb):
262 * src/ui-commands.c: (gl_ui_cmd_help_about):
263 Added Evolution Data Server and VCard merge backends. Original patch
264 provided by Austin Henry <ahenry@users.sourceforge.net>.
266 Only support EDS and VCard backends if libebook is installed. Allow
267 user to disable support, even if installed.
269 2005-10-24 Jim Evins <evins@snaught.com>
272 * data/templates/avery-iso-templates.xml:
273 * data/templates/avery-us-templates.xml:
274 * data/templates/misc-iso-templates.xml:
275 * data/templates/zweckform-iso-templates.xml:
276 Collected all template changes and submissions since last
279 2005-10-23 Jim Evins <evins@snaught.com>
282 * data/mime/Makefile.am:
283 Added configure options to disable update-mime-database and
284 update-desktop-database as part of the install. Patch
285 provided by Leonardo Boshell (qhoracio@sourceforge.net).
287 2005-10-23 Jim Evins <evins@snaught.com>
290 * libglabels/xml.c: (gl_xml_get_prop_string),
291 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
292 (gl_xml_is_node), (gl_xml_get_node_content):
293 Added new XML utility functions.
294 * libglabels/xml-paper.c:
295 * libglabels/xml-template.c:
297 Cleanup by using new xml utilities created above.
298 * libglabels/paper.c: (gl_paper_free):
299 * src/file.c: (new_response):
300 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
301 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
302 (gl_pixbuf_cache_get_pixbuf):
303 * src/ui-property-bar.c:
304 (gl_ui_property_bar_construct_color_combo):
305 * src/view-highlight.c: (gl_view_highlight_finalize):
306 * src/view-image.c: (update_object_from_editor_cb):
307 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
308 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
309 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
310 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
311 (draw_markup_margin_round), (draw_markup_margin_cd),
312 (draw_markup_margin_cd_bc):
313 * src/wdgt-mini-preview.c: (mini_outline_list_new):
314 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
315 Plugged various memory leaks located with valgrind.
316 * src/view-image.c: (update_canvas_item_from_object_cb):
317 Don't allow a width or height of zero when drawing pixbuf.
319 2005-10-22 Jim Evins <evins@snaught.com>
321 * libglabels/xml-paper.c:
322 * libglabels/xml-template.c:
325 * src/bc-gnubarcode.c:
326 * src/canvas-hacktext.c:
328 * src/object-editor-data-page.c:
329 * src/print-dialog.c:
332 * src/template-designer.c:
334 * src/ui-property-bar.c:
336 * src/view-barcode.c:
338 * src/view-ellipse.c:
343 * src/wdgt-media-select.c:
344 * src/xml-label-04.c:
345 * src/xml-label-191.c:
347 Modified to compile warning free with gcc-4.0. Mostly
348 casting to change signedness of characters. Did not
349 attack gnu-barcode library yet.
351 2005-10-22 Jim Evins <evins@snaught.com>
353 * src/glabels.c: (main):
354 * src/splash.c: (gl_splash):
355 Removed some small memory leaks.
359 2005-09-19 Jim Evins <evins@snaught.com>
361 * data/glade/property-bar.glade:
362 Remove items from font_family_combo. This prevents the
363 double entry after adding text model and list of fonts.
364 * src/ui-property-bar.c: (reset_to_default_properties):
365 Free font_family_list.
367 2005-07-01 Jim Evins <evins@snaught.com>
370 Updated italian translation (Daniele Medri)
372 2005-06-26 Jim Evins <evins@snaught.com>
374 * docs/libglabels/libglabels-decl-list.txt:
375 Somehow never got checked in before.
376 * docs/libglabels/libglabels.types:
377 Removed -- don't need it afterall.
379 2005-06-20 Jim Evins <evins@snaught.com>
382 Final prep for 2.1.1 release.
384 2005-06-20 Jim Evins <evins@snaught.com>
387 Final preps for 2.1.1 release.
388 * docs/libglabels/libglabels.types:
389 Somehow never got checked in before.
391 Bring up-to-date with recent reorg of ui code.
394 2005-06-19 Jim Evins <evins@snaught.com>
396 * src/template-designer.c: (construct_layout_page):
397 Removed attempt to match background color of mini preview widget to
400 2005-06-17 Jim Evins <evins@snaught.com>
402 * help/C/figures/merge-ex2-4.png:
403 * help/C/glabels.xml:
404 Fixed spelling error.
406 2005-06-13 Jim Evins <evins@snaught.com>
408 * help/C/figures/merge-ex1-1.png:
409 * help/C/figures/merge-ex1-2.png:
410 * help/C/figures/merge-ex1-3.png:
411 * help/C/figures/merge-ex1-4.png:
412 * help/C/figures/merge-ex2-1.png:
413 * help/C/figures/merge-ex2-2.png:
414 * help/C/figures/merge-ex2-3.png:
415 * help/C/figures/merge-ex2-4.png:
416 Added figures for document merge tutorial.
417 * help/C/glabels.xml:
418 Added document merge tutorial.
420 2005-05-19 Jim Evins <evins@snaught.com>
422 * data/glade/merge-properties-dialog.glade:
423 Fixed irregular spacing.
424 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
425 (gl_merge_properties_dialog_construct):
426 Set outer padding and remove separator.
428 2005-05-18 Jim Evins <evins@snaught.com>
432 Removed glHigDialog class.
433 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
434 (gl_file_properties), (create_properties_dialog_widgets):
435 * src/prefs-dialog.h:
436 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
437 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
438 * src/print-dialog.h:
439 * src/prefs-dialog.h:
440 * src/print-dialog.c: (gl_print_dialog_get_type),
441 (gl_print_dialog_init), (gl_print_dialog_construct):
442 Replaced all instances of glHigDialog with GtkDialog.
444 2005-05-17 Jim Evins <evins@snaught.com>
448 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
449 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
450 (save_as_response), (gl_file_close):
451 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
453 2005-05-15 Jim Evins <evins@snaught.com>
463 A little code reformatting -- no functional changes.
465 2005-05-14 Jim Evins <evins@snaught.com>
468 Removed obsolete macros.
470 Added marshalling template to support new view signal: "context_menu_activate."
472 * src/view.c: (gl_view_class_init), (gl_view_construct),
473 (canvas_event_arrow_mode):
474 - Removed hardcoded context menus and added new signal "context_menu_activate"
475 to push this up to the uimanager.
476 - Removed merge properties and print dialogs so that they can be managed with
477 the window by the uimanager.
478 * src/merge-properties-dialog.h:
479 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
480 (gl_merge_properties_dialog_construct):
481 Changed calling convention of gl_merge_properties_dialog_new() to use
482 glLabel and GtkWindow instead of view to make more consistent with other
484 * src/print-dialog.h:
485 * src/print-dialog.c: (gl_print_dialog_new),
486 (gl_print_dialog_construct):
487 Removed last artifact of libbonoboui.
488 * src/ui-commands.c: (gl_ui_cmd_file_print),
489 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
490 Reconciled style for launching dialogs.
491 * src/ui.c: (gl_ui_new):
492 Added context menus to ui manager.
493 * src/view-object.c: (item_event_arrow_mode):
494 No longer try to select objects with right-click.
496 * src/window.c: (gl_window_init), (gl_window_set_label),
497 (context_menu_activate_cb):
498 Context menus and all dialogs are now managed in a consistent way in window
501 2005-05-11 Jim Evins <evins@snaught.com>
504 * src/window.c: (gl_window_init), (gl_window_destroy):
505 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
506 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
507 Moved management of recent_view back from window.c to ui.c -- it just feels
510 2005-05-10 Jim Evins <evins@snaught.com>
513 * src/window.c: (gl_window_init):
515 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
516 (menu_item_select_cb), (menu_item_deselect_cb):
517 Added GtkStatusbar which displays menu tooltips.
519 2005-05-09 Jim Evins <evins@snaught.com>
521 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
526 Removed dependencies on libbonoboui.
528 * data/ui/Makefile.am:
529 * data/ui/glabels-ui.xml:
530 Removed data/ui directory.
531 * data/glade/Makefile.am:
532 * data/property-bar.glade:
533 Added glade description of property-bar for new libglade implementation
542 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
543 since the distinction between "commands" and "tools" is no longer that clear.
546 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
547 no longer has knowledge of eggRecent*.
548 * src/glabels.c: (main):
549 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
551 * src/object-editor.c: (gl_object_editor_init):
552 Make sure notebook does not respond to a "show_all" on the parent.
553 * src/recent-files/Makefile.am:
554 * src/recent-files/*.[ch]
555 Updated from latest version of libegg which now has a view based on
556 GtkUIManager. Removed unused bonobo and gtk views.
557 * src/ui-property-bar.h:
558 * src/ui-property-bar.c:
559 New implementation based on libglade.
562 Sidebar is now simply a GtkWidget and does not expect to be a part of
563 a libbonoboui interface.
568 Converted for use with GtkUIManager.
571 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
572 to create menus and toolbars.
574 2005-04-25 Jim Evins <evins@snaught.com>
576 * data/templates/misc-iso-templates.xml:
577 Added Fellows 04715 template provided by Steve Saxon.
579 Updated acknowledgement for above.
581 2005-04-23 Jim Evins <evins@snaught.com>
583 * src/util.c: (gl_util_combo_box_set_strings):
584 Make sure to clear model before loading a new list of strings.
585 * src/wdgt-media-select.h:
586 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
587 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
588 (template_combo_changed_cb), (prefs_changed_cb),
589 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
590 (gl_wdgt_media_select_get_page_size),
591 (gl_wdgt_media_select_set_page_size):
592 Replaced the deprecated GtkCombo widget with the new
595 2005-04-21 Jim Evins <evins@snaught.com>
597 * data/glade/template-designer.glade:
598 * src/template-designer.c: (construct_pg_size_page),
599 (pg_size_page_changed_cb), (build_template):
600 Replaced the deprecated GtkCombo widget with the new
603 2005-04-20 Jim Evins <evins@snaught.com>
605 * data/glade/prefs-dialog.glade:
606 * src/prefs-dialog.c: (construct_object_page),
607 (update_object_page_from_prefs), (update_prefs_from_object_page):
608 Replaced the deprecated GtkCombo widget with the new
611 2005-04-19 Jim Evins <evins@snaught.com>
613 * data/glade/object-editor.glade:
614 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
615 (style_changed_cb), (gl_object_editor_set_bc_style),
616 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
617 (gl_object_editor_get_bc_color):
618 * src/object-editor-data-page.c:
619 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
620 (gl_object_editor_get_data):
621 * src/object-editor-edit-page.c:
622 (gl_object_editor_prepare_edit_page), (insert_button_cb):
623 * src/object-editor-fill-page.c:
624 (gl_object_editor_prepare_fill_page),
625 (gl_object_editor_set_fill_color),
626 (gl_object_editor_get_fill_color):
627 * src/object-editor-image-page.c:
628 (gl_object_editor_prepare_image_page),
629 (gl_object_editor_set_image), (gl_object_editor_get_image):
630 * src/object-editor-line-page.c:
631 (gl_object_editor_prepare_line_page),
632 (gl_object_editor_set_line_color),
633 (gl_object_editor_get_line_color):
634 * src/object-editor-private.h:
635 * src/object-editor-text-page.c:
636 (gl_object_editor_prepare_text_page),
637 (gl_object_editor_set_font_family),
638 (gl_object_editor_get_font_family),
639 (gl_object_editor_set_text_color),
640 (gl_object_editor_get_text_color):
641 * src/object-editor.c: (gl_object_editor_set_key_names):
643 In the object editor: replaced all instances of the deprecated
644 GtkCombo widget with the new GtkComboBox.
646 2005-04-18 Jim Evins <evins@snaught.com>
649 Neglected to save this one in previous checkin to support
652 2005-04-17 Jim Evins <evins@snaught.com>
654 * libglabels/libglabels-private.h:
655 * libglabels/paper.c:
656 * libglabels/paper.h:
657 * libglabels/template.c:
658 * libglabels/template.h:
659 * libglabels/xml-paper.c:
660 * libglabels/xml-paper.h:
661 * libglabels/xml-template.c:
666 * src/bc-gnubarcode.c:
677 * src/label-barcode.c:
679 * src/label-ellipse.c:
683 * src/label-object.c:
687 * src/merge-properties-dialog.c:
688 * src/object-editor-bc-page.c:
689 * src/object-editor-data-page.c:
690 * src/object-editor-edit-page.c:
691 * src/object-editor-fill-page.c:
692 * src/object-editor-image-page.c:
693 * src/object-editor-line-page.c:
694 * src/object-editor-lsize-page.c:
695 * src/object-editor-position-page.c:
696 * src/object-editor-private.h:
697 * src/object-editor-size-page.c:
698 * src/object-editor-text-page.c:
699 * src/object-editor.c:
700 * src/object-editor.h:
701 * src/pixbuf-cache.h:
702 * src/prefs-dialog.c:
703 * src/prefs-dialog.h:
707 * src/print-dialog.c:
708 * src/print-dialog.h:
716 * src/template-designer.c:
717 * src/template-designer.h:
720 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
726 * src/view-barcode.c:
728 * src/view-ellipse.c:
729 * src/view-highlight.c:
730 * src/view-highlight.h:
738 * src/wdgt-chain-button.c:
739 * src/wdgt-media-select.c:
740 * src/wdgt-media-select.h:
741 * src/wdgt-mini-preview.c:
742 * src/wdgt-mini-preview.h:
743 * src/wdgt-print-copies.c:
744 * src/wdgt-print-copies.h:
745 * src/wdgt-print-merge.c:
746 * src/wdgt-print-merge.h:
747 * src/wdgt-rotate-label.c:
748 * src/wdgt-rotate-label.h:
751 * src/xml-label-04.c:
752 * src/xml-label-191.c:
754 Cleanup of header files:
755 - all header files are now stand-alone, verified by including
756 first in corresponding "c" files
757 - replaced blanket includes of gnome, gtk, and glib with
760 2005-04-16 Jim Evins <evins@snaught.com>
762 * data/glade/Makefile.am:
763 * data/glade/merge-properties-dialog.glade:
764 Added merge properties dialog glade description file.
765 * src/merge-properties-dialog.h:
766 * src/merge-properties-dialog.c:
767 (gl_merge_properties_dialog_get_type),
768 (gl_merge_properties_dialog_init),
769 (gl_merge_properties_dialog_finalize),
770 (gl_merge_properties_dialog_new),
771 (gl_merge_properties_dialog_construct), (type_changed_cb),
772 (src_changed_cb), (response_cb), (load_tree),
773 (record_select_toggled_cb), (select_all_button_clicked_cb),
774 (unselect_all_button_clicked_cb):
775 Modified merge properties dialog to use libglade. Added
776 "select all" and "unselect all" buttons.
777 * src/merge-text.c: (parse_line):
778 Handle empty lines better.
779 * src/merge.c: (gl_merge_eval_key):
780 Evaluate the key whether the record is selected or not.
782 * src/util.c: (gl_util_combo_box_add_text_model):
783 Since libglade does not use the gtk_combo_box_new_text()
784 constructor for GtkComboBoxes, a utility function was created
785 to add an appropriate text model to a GtkComboBox.
786 * src/view.c: (gl_view_edit_merge_props):
787 Removed unnecessary "show all's".
789 2005-04-15 Jim Evins <evins@snaught.com>
792 Updated russian translation (Vitaly Lipatov)
793 * data/templates/misc-iso-templates.xml:
794 Added templates for russian business cards provided by Vitaly Lipatov.
796 Updated acknowledgements for above.
798 2005-04-15 Jim Evins <evins@snaught.com>
800 * data/templates/avery-us-templates.xml:
801 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
802 * data/templates/misc-iso-templates.xml:
803 Added Ryman standard CD/DVD template, provided by Dan Clark.
805 Added acknowledgements for above.
807 2005-04-10 Jim Evins <evins@snaught.com>
809 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
810 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
811 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
812 (xml_parse_label_cd_node), (xml_parse_alias_node):
813 * libglabels/xml.c: (gl_xml_get_prop_double),
814 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
815 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
816 * src/xml-label-04.c: (xml04_parse_media_description),
817 (xml04_parse_text_props), (xml04_parse_barcode_props),
818 (xml04_parse_merge_properties):
819 * src/xml-label-191.c: (xml191_parse_object),
820 (xml191_parse_text_props), (xml191_parse_barcode_props),
821 (xml191_parse_merge_fields), (xml191_parse_pixdata),
822 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
823 (xml191_parse_alias):
824 * src/xml-label.c: (xml_parse_object_text),
825 (xml_parse_object_barcode), (xml_parse_merge_fields),
826 (xml_parse_pixdata), (xml_parse_toplevel_span):
827 Make sure to use xmlFree for anything obtained from libxml
828 in case libxml and glib use different memory management
831 2005-04-08 Jim Evins <evins@snaught.com>
834 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
835 (gl_util_combo_box_set_active_text):
836 Added utility functions to simplify working with GtkComboBox
838 * src/ui-property-bar.h:
839 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
840 (reset_to_default_properties), (update_text_properties),
841 (font_family_changed_cb):
842 Replaced deprecated GtkCombo with GtkComboBox.
845 2005-04-03 Jim Evins <evins@snaught.com>
848 * src/wdgt-image-select.h:
849 * src/wdgt-image-select.c:
850 Removed obsolete wdgt-image-select.[ch] files.
851 * libglabels/paper.c: (gl_paper_dup):
852 Fixed rename of parameter introduced during documentation
854 * data/glade/object-editor.glade:
855 * src/object-editor-image-page.c:
856 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
857 (gl_object_editor_set_image), (gl_object_editor_get_image),
858 (update_preview_cb), (add_image_filters_to_chooser):
859 * src/object-editor-private.h:
860 Replaced deprecated GnomePixmapEntry with
861 GtkFileChooserButton.
863 2005-04-02 Jim Evins <evins@snaught.com>
865 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
866 (mygal_combo_box_popup_hide_unconditional),
867 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
868 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
869 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
870 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
871 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
872 Renamed all internal gtk_combo functions to mygal_combo
873 to prevent namespace confusion.
875 2005-04-02 Jim Evins <evins@snaught.com>
877 * src/mygal/color-palette.c: (color_palette_change_custom_color),
878 (cust_color_set), (color_palette_setup):
879 * src/mygal/color-palette.h:
880 Replaced deprecated GnomeColorPicker with GtkColorButton.
882 2005-04-02 Jim Evins <evins@snaught.com>
884 * docs/libglabels/libglabels-sections.txt:
885 * docs/libglabels/libglabels-undocumented.txt:
886 * docs/libglabels/tmpl/enums.sgml:
887 * docs/libglabels/tmpl/paper.sgml:
888 * docs/libglabels/tmpl/xml-paper.sgml:
889 * docs/libglabels/tmpl/xml-template.sgml:
890 * libglabels/enums.h:
891 * libglabels/paper.c: (gl_paper_dup):
892 * libglabels/paper.h:
893 * libglabels/xml-paper.c:
894 * libglabels/xml-template.c:
895 More documentation updates for libglabels.
897 2005-03-23 Jim Evins <evins@snaught.com>
900 Automatically updated.
905 * docs/libglabels/Makefile.am:
906 * docs/libglabels/libglabels-docs.sgml:
907 * docs/libglabels/libglabels-sections.txt:
908 * docs/libglabels/libglabels-undocumented.txt:
909 * docs/libglabels/tmpl/enums.sgml:
910 * docs/libglabels/tmpl/libglabels-unused.sgml:
911 * docs/libglabels/tmpl/libglabels.sgml:
912 * docs/libglabels/tmpl/paper.sgml:
913 * docs/libglabels/tmpl/template.sgml:
914 * docs/libglabels/tmpl/xml-paper.sgml:
915 * docs/libglabels/tmpl/xml-template.sgml:
916 * docs/libglabels/tmpl/xml.sgml:
917 Added basic gtk-doc stuff to support documenting libglabels
920 Updated function comments with gtk-doc markup.
924 2005-03-22 Jim Evins <evins@snaught.com>
926 Since the development version now requires gtk-2.6/gnome-2.10, I
927 have made a first pass at removing deprecations.
930 * libglabels/Makefile.am:
932 Added configure option to turn on X_DISABLE_DEPRECATED flags.
933 Also removed all remnants of HAVE_FILECHOOSER.
934 * src/file.c: (gl_file_open_real):
935 Removed code for old GtkFileSelection.
936 * libglabels/libglabels-private.h:
937 * libglabels/paper.c:
938 * libglabels/template.c:
939 * libglabels/xml-paper.c:
940 * libglabels/xml-template.c:
944 * src/glabels-batch.c:
948 * src/merge-properties-dialog.c:
950 * src/object-editor.c:
951 * src/prefs-dialog.c:
953 * src/print-dialog.c:
956 * src/template-designer.c:
957 * src/ui-property-bar.c:
959 * src/view-barcode.c:
961 * src/view-ellipse.c:
966 * src/wdgt-image-select.c:
967 * src/wdgt-media-select.c:
968 * src/wdgt-print-copies.c:
969 * src/wdgt-print-merge.c:
970 * src/wdgt-rotate-label.c:
972 * src/xml-label-04.c:
973 * src/xml-label-191.c:
975 Added '#include <glib/gi18n.h>" where needed.
976 Removed any unused '#include <gnome.h>"s.
978 2005-03-22 Jim Evins <evins@snaught.com>
980 * src/commands.c: (activate_url), (gl_cmd_help_about):
981 Replaced GnomeAbout with GtkAboutDialog. Therefore the
982 development version of glabels now depends on GTK 2.6 and
985 Updated library dependencies.
987 2005-02-28 Jim Evins <evins@snaught.com>
990 * data/templates/misc-iso-templates.xml:
991 Added 'Ednet 45021' template provided by Ali Akcaagac
994 2005-02-14 Jim Evins <evins@snaught.com>
996 * data/templates/avery-us-templates.xml:
997 Updated templates to use inches instead of points.
998 * src/print-dialog.c: (printer_page_new):
999 Changed packing style when adding printer selector widget. This fixes
1002 2005-02-13 Jim Evins <evins@snaught.com>
1006 Updated spanish translations. (sergio rivadero)
1008 2005-02-05 Jim Evins <evins@snaught.com>
1010 Some cleanup to libglabels.
1013 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
1014 * libglabels/libglabels.pc.in
1016 * libglabels/enums.h
1017 Created. Currently only contains glUnitsType which provides enumerations
1018 for all possible units of distance.
1019 * libglabels/Makefile.am:
1020 Incorporated new files enums.h and libglabels.pc[.in].
1021 * libglabels/libglabels.h:
1023 * libglabels/template.h:
1024 * libglabels/template.c: (gl_template_layout_new):
1025 Changed parameters nx and ny to gint from gdouble.
1027 * libglabels/xml.c: (gl_xml_get_prop_length),
1028 (gl_xml_set_prop_length), (gl_xml_set_default_units):
1029 Added support for different output units.
1030 * src/prefs-dialog.c: (update_locale_page_from_prefs),
1031 (update_prefs_from_locale_page):
1032 * src/prefs-model.c: (string_to_units), (units_to_string):
1033 * src/prefs-model.h:
1034 * src/prefs.c: (gl_prefs_get_units_per_point),
1035 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1036 (gl_prefs_get_units_string):
1038 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
1039 Reconciled all length enumerations with the new enumerations provided
1040 in libglabels/enums.h.
1042 2005-02-03 Jim Evins <evins@snaught.com>
1045 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
1047 Updated Italian translations. (Daniele Medri)
1049 Updated credits to reflect above translations.
1052 2005-01-22 Jim Evins <evins@snaught.com>
1057 Added MESSAGE-OF-DOOM to EXTRA_DIST.
1059 Final prep for 2.1.0.
1061 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
1063 Added '--remove-original' flag to desktop-file-install, so that there is
1064 only one menu entry.
1066 2005-01-20 Jim Evins <evins@snaught.com>
1068 * data/glade/object-editor.glade:
1069 - Font family entry should not be editable.
1070 - img_key_entry should have sensitivity=YES, so that it follows the
1071 sensitivity of img_key_combo.
1073 2005-01-19 Jim Evins <evins@snaught.com>
1076 Give credit to Frederic Ruaudel for the color merge patches.
1078 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
1080 Add support to merge color for all other color attribute (Feature
1081 Requests item #1008635. If the data is invalid, the color used is transparent
1082 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1083 by gdk_color_parse() these include name for a color from rgb.txt, such as
1084 DarkSlateGray, or a hex specification such as #305050. File format has been
1085 changed but backward compatibility is preserved for all format. For
1086 box/ellipse/line, keep attribute "line_color" for static color or replace by
1087 "line_color_field" for merge data. For text/barcode objects, keep attribute
1088 "color" for static color or replace by "color_field" for merge data. In the
1089 edit canvas window, merged color are represented by half-transparent black
1092 * data/dtd/glabels-2.0.dtd:
1093 Added line_color_field to line_attrs. Added color_field to
1094 Object-barcode and Span.
1095 * data/glade/object-editor.glade:
1096 Modify the layout of the editor to add merge possibility to color options
1098 Fix a copy/paste error in a comment
1100 Add default color for merge color representation in the editor canvas.
1101 * src/label-barcode.c:
1102 * src/object-editor-bc-page.c:
1103 * src/view-barcode.c:
1104 Add merge color support for barcode color.
1107 Add merge color support for box border color.
1108 * src/label-ellipse.c:
1109 * src/view-ellipse.c:
1110 Add merge color support for ellipse border color.
1113 Add merge color support for line color.
1114 * src/label-object.c:
1115 * src/label-object.h:
1116 * src/object-editor.c:
1117 * src/object-editor.h:
1118 * src/ui-property-bar.c:
1121 * src/xml-label-04.c:
1122 * src/xml-label-191.c:
1123 Add support for merging to other color attribute.
1125 * src/object-editor-text-page.c:
1127 Add merge color support for text color.
1128 * src/object-editor-fill-page.c:
1129 Change a blocked handler that didn't match the good widget. Fix the type
1130 of some debug message.
1131 * src/object-editor-line-page.c:
1132 Add merging support to line color option.
1133 * src/object-editor-private.h:
1134 Add variables for new widget.
1136 Modify the draw functions to get merge data if needed.
1138 Change the default size of the window in order to see all widget in the
1139 "text style tab" of the editor.
1141 Modify the parser to record/retreive the field value for objects that need
1142 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
1143 static color or replace by "line_color_field" for merge data. For
1144 text/barcode objects, keep attribute "color" for static color or replace
1145 by "color_field" for merge data.
1147 2005-01-17 Jim Evins <evins@snaught.com>
1149 * src/view.c: (screen_changed_cb):
1150 Don't do anything if we don't have a screen.
1152 2005-01-06 Jim Evins <evins@snaught.com>
1154 * src/view.c: (get_home_scale):
1155 Fixed bad call to gtk_widget_has_screen() -- huh?.
1157 2005-01-06 Jim Evins <evins@snaught.com>
1159 * data/dtd/glabels-2.0.dtd:
1160 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
1163 2005-01-06 Jim Evins <evins@snaught.com>
1165 * data/glade/object-editor.glade:
1166 Set entries for fill and data field key dropdowns to NOT editable.
1167 * src/view-box.c: (construct_properties_editor):
1168 * src/view-ellipse.c: (construct_properties_editor):
1169 Update object editor when label's merge property has changed.
1170 * src/xml-label.c: (xml_parse_object_ellipse):
1171 Completed the merge color support for the ellipse item.
1173 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
1175 Add support to merge color for object that have a "Fill color" attribute (Feature
1176 Requests item #1008635. If the data is invalid, the color used is transparent
1177 (GL_COLOR_NONE). The format for color in merge data file are those accepted
1178 by gdk_color_parse() these include name for a color from rgb.txt, such as
1179 DarkSlateGray, or a hex specification such as #305050. File format has been
1180 changed but backward compatibility is preserved for all format. For box/ellipse,
1181 keep attribute "fill_color" for static color or replace by "fill_color_field"
1184 * data/glade/object-editor.glade:
1185 Modify "Fill" tab to add the merge key combo and convert the labels into
1189 Add "glColorNode" structure and associated functions to manage it. This
1190 structure is equivalent for color than the "glTextNode". It holds the color
1192 * src/label-object.h:
1193 * src/label-object.c:
1195 * src/label-ellipse.c:
1196 * src/ui-property-bar.c:
1200 * src/view-ellipse.c:
1201 * src/xml-label-04.c:
1202 * src/xml-label-191.c:
1203 Change functions of objects that have a "fill color" attribute to use the
1204 new "glColorNode" structure. Use barcode code as example.
1206 Add the color.[ch] file to glabels_batch binary that now need support for
1208 * src/object-editor.h:
1209 * src/object-editor.c:
1210 * src/object-editor-fill-page.c:
1211 Manage the new widget of the editor's "Fill" tab : key combo and radio button
1212 to choose between static color or merge key. Use barcode code as example.
1213 * src/object-editor-private.h:
1214 Add new widget in the "_glObjectEditorPrivate" structure.
1216 Modify the draw functions to get merge data if needed.
1218 Modify the parser to record/retreive the field value for objects that need
1219 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
1220 color or "fill_color_field" for merge data.
1222 2005-01-04 Jim Evins <evins@snaught.com>
1225 * data/templates/avery-iso-templates.xml:
1226 * data/templates/misc-iso-templates.xml:
1227 * data/templates/misc-us-templates.xml:
1228 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
1231 2004-11-26 Jim Evins <evins@snaught.com>
1235 Updated french translations provided by Florent Morel <florent@taket.org>.
1236 * src/view-barcode.c:
1238 * src/view-ellipse.c:
1242 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
1243 thus _() strings were not being translated.
1245 2004-11-14 Jim Evins <evins@snaught.com>
1248 * src/debug.c: (gl_debug_init), (gl_debug):
1249 Borrowed from gedit: use environmental variables to select debug
1252 Removed unused include of debug.h.
1253 * src/glabels.c: (main):
1254 Added call to gl_debug_init(), and removed debug clutter from command line
1256 * src/glabels-batch.c: (main):
1257 Added call to gl_debug_init().
1259 2004-11-13 Jim Evins <evins@snaught.com>
1261 Drawing and property toolbars were being initialized with the "icons and text"
1262 look in Fedora Core 3. Even though none of the buttons had any text attached to
1263 them, the buttons were being sized as if they were. This led to less real estate
1264 for the property editor, leading to Bug #1064630. The
1266 * data/ui/glabels-ui.xml:
1267 Added explicit "look" property to both drawing and property toolbars.
1268 * src/prefs-model.c: (gl_prefs_model_save_settings),
1269 (gl_prefs_model_load_settings):
1270 * src/prefs-model.h:
1271 Removed drawing_toolbar_button_style configuration parameter.
1272 * src/ui.c: (view_menu_item_toggled_cb),
1273 (set_app_drawing_toolbar_style):
1274 Do not attempt to adjust look property of the drawing toolbar.
1276 2004-10-28 Jim Evins <evins@snaught.com>
1278 * data/pixmaps/glabels-about-logo.png:
1281 2004-10-28 Jim Evins <evins@snaught.com>
1283 * data/man/glabels.1:
1284 * src/glabels-batch.c: (main):
1286 * src/print.c: (gl_print_batch):
1288 Added option to glabels-batch to select the first label to begin
1291 2004-09-26 Jim Evins <evins@snaught.com>
1293 * data/desktop/glabels.desktop.in:
1294 Point to app icon, "glabels.png"
1295 * data/mime/glabels.keys.in:
1296 Point at mime icon, "glabels-application-x-glabels.png"
1297 * data/pixmaps/Makefile.am:
1298 Added glabels_app_icondir. Renamed icons.
1299 * data/pixmaps/glabels.png:
1300 New cleaned up app icon. Deleted glabels-icon.png.
1301 * data/pixmaps/glabels-application-x-glabels.png:
1303 * data/pixmaps/glabels-splash.png:
1304 Renamed glabels-logo to glabels-splash to be more correct about role.
1306 * src/template-designer.c:
1307 Point at app icon, "glabels.png"
1309 Point at renamed splash image, "glabels-splash.png"
1311 2004-08-22 Jim Evins <evins@snaught.com>
1314 * src/glabels-batch.c: (main):
1315 Applied patch with minor mods to allow selecting merge source and
1316 crop-marks on glabels-batch's command line. Original patch provided by
1317 José Dapena Paz <jdapena@igalia.com>.
1319 2004-08-15 Jim Evins <evins@snaught.com>
1321 * data/desktop/glabels.desktop.in:
1322 - Added encoding line
1323 - Removed period from comment
1324 - Fixed Terminal line, changed "0" to "false"
1325 - Added semicolen to Categories line
1327 - Made sure desktop.in comment string above still translated properly
1329 2004-08-14 Jim Evins <evins@snaught.com>
1331 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
1332 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
1333 * src/xml-label-191.c: (xml191_parse_sheet):
1334 Fixed improper freeing of gettext strings. Merged from 2.0.1.
1336 Reconciled libglabels versioning with 2.0.1.
1339 2004-08-14 Jim Evins <evins@snaught.com>
1342 Updated version to 2.1cvs.
1344 2004-08-14 Jim Evins <evins@snaught.com>
1347 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
1349 2004-08-14 Jim Evins <evins@snaught.com>
1351 Fixes for Bug #1008181.
1353 * src/bc.c: (gl_barcode_default_digits):
1354 Make a format of zero digits, harmless.
1355 * src/xml-label.c: (xml_parse_object_barcode):
1356 Set default value of the format property of barcode objects to 10, not
1357 zero. This will prevent crashes when reading pre 2.0.x files.
1359 2004-08-09 Jim Evins <evins@snaught.com>
1363 * help/C/glabels-C.omf:
1364 * help/C/glabels.xml:
1365 Brought documentation up-to-date for 2.0.0 release.
1367 2004-08-09 Jim Evins <evins@snaught.com>
1369 These are hopefully the final preparations for 2.0.0.
1371 * data/mime/Makefile.am:
1372 Include glabels.xml in EXTRA_DIST.
1374 - Updated comment style.
1375 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
1376 - Added package and version info to configuration printout
1377 - Update version to 2.0.0
1378 * libglabels/Makefile.am:
1379 Use the new LIBGLABELS_VERSION_INFO macro.
1381 2004-08-09 Jim Evins <evins@snaught.com>
1385 Cleanup of required library macros.
1387 2004-08-08 Jim Evins <evins@snaught.com>
1391 - More specific of what to install in /usr/bin and /usr/lib
1392 - Remove built mime registration files from staging directory
1394 2004-08-08 Jim Evins <evins@snaught.com>
1396 * data/mime/Makefile.am:
1397 Fixed typo: key_files should have been keys_files.
1399 2004-08-08 Jim Evins <evins@snaught.com>
1401 Reorganization of runtime data files. Also added registration of mimetype with
1402 new freedesktop.org mime database if available.
1405 Moved files to appropriate subdirectories, creating local Makefile.am
1406 in each subdirectory.
1407 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
1408 These are now installed at $datadir/glabels/templates.
1409 - Moved glabels.1 to man subdirectory.
1410 - Moved glabels-2.0.dtd to dtd subdirectory.
1411 - Moved glabels.desktop.in to desktop subdirectory.
1412 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
1414 Moved "./pixmaps" to "./data/pixmaps"
1416 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
1418 Moved libglade files from src to data/glade. Created Makefile.am.
1420 Removed pixmaps from SUBDIRS.
1422 - Removed pixmaps from makefiles.
1423 - Added makefiles for new subdirs of data.
1424 - Added tests for freedesktop.org mime database.
1426 - Added tests for freedesktop.org mime database for post install and
1427 post un-install actions.
1428 * libglabels/Makefile.am:
1429 Moved system template files to $(datadir)/glabels/templates.
1430 * libglabels/libglabels-private.h:
1431 Moved system template files to $(datadir)/glabels/templates.
1433 - Accounted for movement of ui and libglade files.
1434 - Added missing .in files.
1435 - Reorganized by directory.
1437 Accounted for movement of ui and libglade files.
1438 * data/mime/glabels.xml.in:
1439 New file for registering with freedesktop.org mime database.
1441 2004-08-07 Jim Evins <evins@snaught.com>
1443 * src/recent-files/*:
1444 Re-synced to latest libegg/recent-files.
1446 2004-08-07 Jim Evins <evins@snaught.com>
1451 Renamed "./doc" directory to "./help" which contains user documentation,
1452 to be more consistent with other GNOME applications.
1455 2004-07-26 Jim Evins <evins@snaught.com>
1457 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1458 Corrected button order of merge properties dialog.
1460 2004-07-18 Jim Evins <evins@snaught.com>
1462 * data/glabels-2.0.dtd:
1463 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
1464 (gl_barcode_get_prefered_n):
1466 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1467 (gl_label_barcode_get_props), (get_size):
1468 * src/label-barcode.h:
1469 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
1470 (style_changed_cb), (gl_object_editor_set_bc_style),
1471 (gl_object_editor_get_bc_style):
1472 * src/object-editor-data-page.c: (data_radio_toggled_cb),
1473 (gl_object_editor_set_data), (gl_object_editor_get_data):
1474 * src/object-editor-private.h:
1475 * src/object-editor.c: (gl_object_editor_set_key_names):
1476 * src/object-editor.glade:
1477 * src/object-editor.h:
1478 * src/print.c: (draw_barcode_object):
1479 * src/view-barcode.c: (update_object_from_editor_cb),
1480 (update_editor_from_object_cb),
1481 (gl_view_barcode_create_event_handler), (draw_barcode):
1482 * src/xml-label-04.c: (xml04_parse_barcode_props):
1483 * src/xml-label-191.c: (xml191_parse_barcode_props):
1484 * src/xml-label.c: (xml_parse_object_barcode),
1485 (xml_create_object_barcode):
1486 Added "format" attribute to barcode objects. This attribute is used
1487 to properly format freeform barcodes barcodes prior to merge data is
1488 applied, so that barcodes can be accurately layed out. This addresses
1489 remaining issues of feature request #824787. Also added an example of
1490 the format in the object editor.
1492 2004-07-12 Jim Evins <evins@snaught.com>
1494 Various code cleanups.
1496 * src/label-barcode.c:
1497 Removed unneeded include of gnome-glyphlist.h.
1499 * src/label-text.c: (get_size):
1500 Fixed memory leak: unref glyphlists when done with them.
1502 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
1503 * src/object-editor-data-page.c:
1504 (gl_object_editor_prepare_data_page):
1505 * src/object-editor-image-page.c:
1506 (gl_object_editor_prepare_image_page):
1507 * src/object-editor-line-page.c:
1508 (gl_object_editor_prepare_line_page):
1509 * src/object-editor-lsize-page.c:
1510 (gl_object_editor_prepare_lsize_page):
1511 * src/object-editor-position-page.c:
1512 (gl_object_editor_prepare_position_page):
1513 * src/object-editor-size-page.c:
1514 (gl_object_editor_prepare_size_page):
1515 * src/object-editor-text-page.c:
1516 (gl_object_editor_prepare_text_page):
1517 Removed unneeded size groups, originally intended to keep widgets aligned.
1518 Now use tables to lay these out in object-editor.glade.
1520 * src/print.c: (draw_text_object):
1521 Fixed memory leak: unref glyphlists when done with them.
1523 * src/view-barcode.c: (draw_barcode):
1524 Fixed memory leak: unref glyphlists when done with them.
1526 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
1527 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
1529 - Fixed memory leak: unref glyphlists when done with them.
1531 2004-07-11 Jim Evins <evins@snaught.com>
1533 * data/glabels-2.0.dtd:
1534 * src/label-text.c: (gl_label_text_instance_init), (copy),
1535 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
1537 * src/object-editor-private.h:
1538 * src/object-editor-text-page.c:
1539 (gl_object_editor_prepare_text_page),
1540 (gl_object_editor_set_text_auto_shrink),
1541 (gl_object_editor_get_text_auto_shrink):
1542 * src/object-editor.c: (gl_object_editor_set_key_names):
1543 * src/object-editor.glade:
1544 * src/object-editor.h:
1545 * src/print.c: (draw_text_object):
1546 * src/view-text.c: (update_object_from_editor_cb),
1547 (update_editor_from_object_cb):
1548 * src/xml-label.c: (xml_parse_object_text),
1549 (xml_create_object_text):
1550 Added option to allow document merge to auto shrink text size to fit
1551 within the text box. The code in print.c that actually shrinks the
1552 text is loosely based on a patch submitted by Mark Harrison
1553 <mark.harrison@velocitynet.com.au>. This addresses feature request
1556 2004-07-11 Jim Evins <evins@snaught.com>
1558 * data/glabels-2.0.dtd:
1559 * libglabels/template.c: (gl_template_rect_label_type_new),
1560 (gl_template_round_label_type_new),
1561 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
1562 (template_full_page):
1563 * libglabels/template.h:
1564 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
1565 (xml_create_label_node):
1566 * pixmaps/ex-rect-size.png:
1567 * src/print.c: (clip_to_outline), (clip_punchouts):
1568 * src/template-designer.c: (construct_rect_size_page),
1569 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
1571 * src/template-designer.glade:
1572 * src/xml-label-191.c: (xml191_parse_label):
1573 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
1574 properties for rectangular labels. Templates remain backwards compatible,
1575 but this breaks the libglabels API (I don't know of anyone outside of
1576 glabels using libglabels at this time -- what can I say, the program is
1577 is still "unstable"). This addresses the suggestion in Feature Request
1580 2004-07-05 Jim Evins <evins@snaught.com>
1581 * src/print.c: (print_crop_marks), (draw_outline):
1582 Changed crop marks and label outlines to black, instead of 25% gray.
1583 This addresses debian Bug #257460.
1585 2004-07-05 Jim Evins <evins@snaught.com>
1587 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
1588 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
1589 Preserve "is_default" of fill and line color_combos when creating from
1592 2004-07-02 Jim Evins <evins@snaught.com>
1595 Created man page. Based on page submitted by Matthew J. Lockner, however
1596 it has been severely edited.
1598 * data/avery-other-templates.xml
1599 * data/misc-other-templates.xml:
1600 Started new files for predefined templates with non-standard sheet sizes.
1601 These have been initially populated with the Avery 06141 and
1602 OfficeMax #86112, both provided by Matthew J. Lockner.
1605 Install above manpage and template files.
1608 Make sure we install man pages.
1610 * src/glabels-batch.c:
1611 Changed short form of help option to '-?' to be consistent with glabels.
1614 Added acknowledgement for above labels.
1616 2004-07-02 Jim Evins <evins@snaught.com>
1618 * src/glabels.c: (main), (save_session_cb):
1619 - Now include libbonoboui.h, recent.h, and file.h to provide missing
1621 - save_session_cb() now returns gboolean.
1622 - Minor formatting changes.
1626 - Now include file.h to provide missing prototype.
1627 - gl_window_get_type() now returns GType, not guint. I believe this may
1628 ultimately be cause of the segfault reported in Bug #982287, since
1629 GType is actually a gulong, which may not be compatible on other
1630 architectures (64bit) -- I cannot personally test this at this time.
1631 I was sloppy in several other xxx_get_type() functions which also
1632 returned guint -- see next group of files:
1634 * src/window.c: (gl_window_get_type):
1635 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
1636 * src/canvas-hacktext.h:
1637 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
1638 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
1639 (gl_hig_hbox_get_type):
1641 * src/label-barcode.c: (gl_label_barcode_get_type):
1642 * src/label-barcode.h:
1643 * src/label-box.c: (gl_label_box_get_type):
1645 * src/label-ellipse.c: (gl_label_ellipse_get_type):
1646 * src/label-ellipse.h:
1647 * src/label-image.c: (gl_label_image_get_type):
1648 * src/label-image.h:
1649 * src/label-line.c: (gl_label_line_get_type):
1651 * src/label-object.c: (gl_label_object_get_type):
1652 * src/label-object.h:
1653 * src/label-text.c: (gl_label_text_get_type):
1655 * src/label.c: (gl_label_get_type):
1657 * src/merge-properties-dialog.c:
1658 (gl_merge_properties_dialog_get_type):
1659 * src/merge-properties-dialog.h:
1660 * src/merge-text.c: (gl_merge_text_get_type):
1662 * src/merge.c: (gl_merge_get_type):
1664 * src/object-editor.c: (gl_object_editor_get_type):
1665 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
1666 * src/prefs-dialog.h:
1667 * src/prefs-model.c: (gl_prefs_model_get_type):
1668 * src/prefs-model.h:
1669 * src/print-dialog.c: (gl_print_dialog_get_type):
1670 * src/print-dialog.h:
1671 * src/template-designer.c: (gl_template_designer_get_type):
1672 * src/template-designer.h:
1673 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
1674 * src/ui-property-bar.h:
1675 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
1677 * src/view-barcode.c: (gl_view_barcode_get_type):
1678 * src/view-barcode.h:
1679 * src/view-box.c: (gl_view_box_get_type):
1681 * src/view-ellipse.c: (gl_view_ellipse_get_type):
1682 * src/view-ellipse.h:
1683 * src/view-highlight.c: (gl_view_highlight_get_type):
1684 * src/view-highlight.h:
1685 * src/view-image.c: (gl_view_image_get_type):
1687 * src/view-line.c: (gl_view_line_get_type):
1689 * src/view-object.c: (gl_view_object_get_type):
1690 * src/view-object.h:
1691 * src/view-text.c: (gl_view_text_get_type):
1693 * src/view.c: (gl_view_get_type):
1695 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
1696 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
1697 * src/wdgt-image-select.h:
1698 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
1699 * src/wdgt-media-select.h:
1700 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
1701 * src/wdgt-mini-preview.h:
1702 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
1703 * src/wdgt-print-copies.h:
1704 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
1705 * src/wdgt-print-merge.h:
1706 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
1707 * src/wdgt-rotate-label.h:
1708 - Made sure all xxx_get_type functions returned GType, not guint. This
1709 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
1710 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
1711 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
1712 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
1713 window.[ch] details above for more info.
1714 - Reconciled various coding style differences in all xxx_get_type()
1716 * All prototypes include G_GNUC_CONST.
1717 * All prototypes specify the return value as GType, not GtkType
1719 * Info structures are all declared as "static const."
1720 * Generalized the names of type and info variables.
1721 * Miscelaneous formatting.
1723 2004-06-08 Jim Evins <evins@snaught.com>
1729 Don't touch compression of original file -- still defaults to 9 for
1730 new files. Original patch provided by Javier Donaire Segarra
1731 (#912252 in patch tracker).
1733 2004-05-05 Jim Evins <evins@snaught.com>
1735 * data/glabels-2.0.dtd:
1736 Broke DTD previously when adding new barcode types that contain a
1737 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
1738 to avoid the problem.
1739 * data/avery-iso-templates.xml:
1740 * data/zweckform-iso-templates.xml:
1742 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
1743 provided by Frank Altpeter.
1744 * libglabels/xml-template.c: (xml_create_label_node):
1745 Reordered markup and layout sub-nodes so that resulting templates will
1746 validate against DTD.
1748 2004-03-13 Jim Evins <evins@snaught.com>
1750 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
1751 Changed spin callback signals from "value-changed" back to "changed."
1752 This was accidentally introduced in a previous revision, and can cause
1753 size changes just by selecting the size tab.
1755 2004-03-06 Jim Evins <evins@snaught.com>
1757 * src/view.c: (draw_grid_layer):
1758 For round labels (round and cd) adjust grid so that it lines up with
1759 center of label. Also, no longer draw box around label in the grid layer,
1760 it is hidden by he fg layer anyway. Feature suggested by
1761 nemolivier@free.fr. Although the grid is aligned with the center of the
1762 label, the coordinate system is still relative to the upper left corner
1763 of the rectangle containing the label.
1765 2004-02-25 Jim Evins <evins@snaught.com>
1768 Changed version to 2.0pre1cvs
1770 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
1771 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
1772 instead of doc->name fields when errors encountered.
1774 2004-02-21 Jim Evins <evins@snaught.com>
1776 * data/avery-iso-templates.xml:
1777 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
1780 Added libglabels library and include file to installed files.
1783 Final prep for 1.93.3.
1785 2004-02-20 Jim Evins <evins@snaught.com>
1787 * src/glabels-batch.c: (main):
1788 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
1789 as suggested by Javier Donaire Segarra. This addresses bug #901063.
1791 2004-02-16 Jim Evins <evins@snaught.com>
1794 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
1797 Added HAVE_FILE_CHOOSER to INCLUDES.
1799 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
1800 (gl_file_save_as), (save_as_response):
1801 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
1803 2004-02-16 Jim Evins <evins@snaught.com>
1805 * src/xml-label-04.c: (xml04_parse_image_props):
1806 * src/xml-label-191.c: (xml191_parse_image_props):
1807 * src/xml-label.c: (xml_parse_object_image):
1808 Delay setting image size until after image has been applied to new
1811 2004-02-15 Jim Evins <evins@snaught.com>
1813 * src/label-barcode.c: (gl_label_barcode_set_data),
1814 (gl_label_barcode_set_props):
1815 Don't emit "changed" signal, if no change actually made for these
1816 methods. Reduces number of unnecessary redraws of barcodes.
1818 * src/label-object.h:
1819 * src/label-object.c: (gl_label_object_set_position),
1820 (gl_label_object_set_position_relative), (set_size),
1821 (gl_label_object_set_size),
1822 (gl_label_object_set_size_honor_aspect):
1823 Don't emit "changed" signal, if no change actually made for these
1826 2004-02-15 Jim Evins <evins@snaught.com>
1828 * data/glabels-2.0.dtd:
1829 Added specific subtypes for various barcode types.
1832 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
1833 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
1834 (gl_barcode_can_text), (gl_barcode_text_optional),
1835 (gl_barcode_can_csum), (gl_barcode_csum_optional),
1836 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
1837 Changed API to use a string id, rather than a fixed enumeration. Id and
1838 name are separate strings. Added entries to backend table for specific
1839 subtypes for various barcode types.
1842 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
1844 Modified to conform to above API. Now more stringent with data length
1845 for various subtypes.
1847 * src/bc-gnubarcode.h:
1848 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
1849 (is_length_valid), (is_length1_valid), (is_length2_valid):
1850 Modified to conform to above API. Now more stringent with data length
1851 for various subtypes.
1853 * src/label-barcode.h:
1854 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1855 (gl_label_barcode_get_props), (get_size):
1856 Modified to use above API for storing barcode type.
1858 * src/object-editor.h:
1859 * src/object-editor-bc-page.c: (style_changed_cb),
1860 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
1861 Modified to use above API for storing barcode type.
1863 * src/object-editor-size-page.c:
1864 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
1865 (w_spin_cb), (h_spin_cb), (size_reset_cb):
1866 Added debug markers.
1868 * src/object-editor.glade:
1869 Made barcode style combo's text entry non-editable.
1871 * src/print.c: (draw_barcode_object):
1872 Modified to use above API for barcode type.
1874 * src/view-barcode.c: (update_object_from_editor_cb),
1875 (update_editor_from_object_cb),
1876 (gl_view_barcode_create_event_handler), (draw_barcode):
1877 Modified to use above API for barcode type.
1879 * src/xml-label-04.c: (xml04_parse_barcode_props):
1880 * src/xml-label-191.c: (xml191_parse_barcode_props):
1881 * src/xml-label.c: (xml_parse_object_barcode),
1882 (xml_create_object_barcode):
1883 Modified to use above API for barcode type.
1885 2004-02-07 Jim Evins <evins@snaught.com>
1887 * src/stock-pixmaps/Makefile.am:
1888 * src/stock-pixmaps/stock_hchain_24.png:
1889 * src/stock-pixmaps/stock_hchain_broken_24.png:
1890 * src/stock-pixmaps/stock_vchain_24.png:
1891 * src/stock-pixmaps/stock_vchain_broken_24.png:
1892 Added chain pixmaps borrowed from the gimp's default theme.
1895 * src/stock.c: (gl_stock_init), (add_button_icon):
1896 Added above pixmaps to stock icon sets. Created add_button_icon() to
1897 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
1899 * src/wdgt-chain-button.h
1900 * src/wdgt-chain-button.c
1903 Added this Modified version of gimpchainbutton widget, borrowed from
1907 Added acknowledgements of the above borrowing from the gimp.
1909 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
1911 * src/object-editor.c: (gl_object_editor_construct_chain_button):
1912 * src/object-editor.glade:
1913 Replaced the keep aspect ratio check box with the above chain-button
1916 * src/text-node.c: (gl_text_node_equal):
1918 Added function gl_text_node_equal() to compare text_nodes.
1920 * src/label-image.c: (gl_label_image_set_filename):
1921 Replaced incomplete text_node comparison code with invocation of
1922 gl_text_node_equal. This fixed the problem of not being able to
1923 resize an image using the object_editor if the aspect ratio is not
1926 2004-02-04 Jim Evins <evins@snaught.com>
1928 * src/object-editor-image-page.c:
1929 (gl_object_editor_prepare_image_page):
1930 Track "changed" signal of pixmap entry's GtkEntry rather than its
1931 "activate" signal -- this catches all changes to the entry rather than
1932 just changes resulting from a browse, so one can easily pull previous
1933 entries from the history. (This change is marked below on 2004-02-03,
1934 but somehow never got checked in.)
1936 * src/view-highlight.c: (sl_resize_event_handler),
1937 (sr_resize_event_handler), (st_resize_event_handler),
1938 (sb_resize_event_handler):
1939 Side resize handles will now confirm the actual resize that the object
1940 accepted before adjusting position parameters. Previously some interesting
1941 things happened when resizing a barcode to its minimum size.
1943 2004-02-03 Jim Evins <evins@snaught.com>
1945 * src/object-editor-image-page.c:
1946 (gl_object_editor_prepare_image_page):
1947 Track "changed" signal of pixmap entry's GtkEntry rather than its
1948 "activate" signal -- this catches all changes to the entry rather than
1949 just changes resulting from a browse, so one can easily pull previous
1950 entries from the history.
1952 * src/view-highlight.c: (tl_resize_event_handler),
1953 (tr_resize_event_handler), (bl_resize_event_handler),
1954 (br_resize_event_handler):
1955 Allow control key to be dropped while dragging a corner resize handle
1956 without losing the aspect ratio lock.
1958 2004-02-02 Jim Evins <evins@snaught.com>
1960 * src/label-image.c: (gl_label_image_set_filename):
1961 When setting a new filename adjust size such that the aspect ratio of
1962 the image is preserved using the current size as a bounding box.
1964 * src/view-image.c: (update_object_from_editor_cb):
1965 When updating object from editor, feed back possible size changes to
1966 editor as a result of a possible change in image.
1968 * src/object-editor-size-page.c: (size_reset_cb):
1969 Fixed typo when blocking spin handlers. If the base size is larger than
1970 the max size, treat max size as a bounding box while keeping aspect
1974 2004-02-02 Jim Evins <evins@snaught.com>
1976 * src/label-object.h:
1977 * src/label-object.c: (gl_label_object_set_size),
1978 (gl_label_object_set_size_honor_aspect):
1979 Added gl_label_object_set_size_honor_aspect() which will maintain the
1980 current aspect ratio by modifying the supplied w or h apropriately.
1982 * src/view-highlight.c: (tl_resize_event_handler),
1983 (tr_resize_event_handler), (bl_resize_event_handler),
1984 (br_resize_event_handler):
1985 Corner handles will now maintain the current aspect ratio if the
1986 control key is pressed while resizing. This addresses feature
1990 2004-01-31 Jim Evins <evins@snaught.com>
1993 * data/avery-us-templates.xml:
1994 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
1996 * libglabels/template.c: (read_template_files_from_dir):
1997 Corrected problem with testing for extensions.
1999 * src/object-editor.glade:
2000 Corrected grouping of radio buttons in barcode data page.
2002 * src/print.c: (draw_barcode_object):
2003 * src/view-barcode.c: (draw_barcode):
2004 Corrected problem with calculation of y_offset for locating characters.
2006 2004-01-24 Jim Evins <evins@snaught.com>
2009 * data/avery-us-templates.xml:
2010 Added Avery 5824, submitted by Fred Bacon.
2012 2004-01-20 Jim Evins <evins@snaught.com>
2014 Catching up on a couple of backlogged user template submissions.
2016 * data/avery-iso-templates.xml:
2017 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
2018 Suggested by Linas Jakucionis.
2020 * data/zweckform-iso-templates.xml:
2021 Added Zweckform 4760, submitted by Thomas Vill.
2024 Updated to reflect above submissions.
2026 2004-01-06 Jim Evins <evins@snaught.com>
2028 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
2029 xml.[ch] into a separate library called libglabels, to facilitate third
2030 party use of glabels template files. This was suggested by Wayne Schuller.
2031 Once split-out, some modifications to the structures and functions to
2032 make a cleaner more useful API, hopefully. Rather extensive changes have
2033 propogated to other modules.
2041 * src/xml-template.h:
2042 * src/xml-template.c:
2045 These files have been moved to libglabels/. API cleanup performed.
2047 * libglabels/libglabels.h:
2048 * libglabels/libglabels-private.h:
2049 * libglabels/Makefile.am:
2050 These files have been added to finish out libglabels.
2057 Modified to reflect new sets of files in src/ and libglabels/.
2059 * COPYING.LIBGLABELS:
2061 Added copy of the LGPL for libglabels, and a copy the GFDL for
2064 * src/glabels-batch.c:
2066 * src/label.c: (gl_label_finalize), (gl_label_set_template),
2067 (gl_label_get_size):
2069 * src/prefs-model.c: (gl_prefs_model_load_settings):
2070 * src/print-dialog.c:
2071 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
2072 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
2073 (print_crop_marks), (print_label), (draw_outline),
2074 (clip_to_outline), (clip_punchouts):
2075 * src/template-designer.c: (construct_pg_size_page),
2076 (pg_size_page_changed_cb), (layout_page_changed_cb),
2077 (print_test_cb), (build_template):
2078 * src/util.c: (gl_util_fraction):
2080 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
2081 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2082 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2083 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2084 (draw_markup_margin_round), (draw_markup_margin_cd),
2085 (draw_markup_margin_cd_bc), (draw_markup_line),
2086 (draw_markup_circle), (gl_view_copy):
2087 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
2088 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
2089 (get_label_size_desc):
2090 * src/wdgt-mini-preview.c:
2091 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
2093 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
2094 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
2095 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
2096 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
2097 * src/wdgt-rotate-label.h:
2098 * src/xml-label-04.c: (xml04_parse_media_description):
2099 * src/xml-label-191.c: (gl_xml_label_191_parse),
2100 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2101 (xml191_parse_markup), (xml191_parse_alias):
2102 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
2104 Various changes to accomodate new libglabels API.
2106 2004-01-03 Jim Evins <evins@snaught.com>
2111 2004-01-03 Jim Evins <evins@snaught.com>
2114 Added acknowledgement of contributions by Wayne Schuller.
2116 * src/commands.c: (gl_cmd_file_print):
2117 Create extra reference to print dialog, so that it can be properly re-used.
2119 * src/mygal/mygal-combo-box.h:
2120 * src/mygal/mygal-combo-box.c:
2121 (mygal_combo_box_popup_hide_unconditional),
2122 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
2123 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
2124 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
2125 (mygal_combo_box_set_tearable):
2126 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
2127 complete the rename of this widget to prevent namespace collisions
2130 * src/prefs-dialog.glade:
2131 Fixed alignment of Fill/Color widgets.
2133 2004-01-03 Jim Evins <evins@snaught.com>
2135 * data/avery-iso-templates.xml:
2136 Added user submitted templates.
2137 Avery 8435A & 8435B, submitted by Ludger Solbach.
2139 * doc/C/glabels.xml:
2140 Added minimal documentation, noting the new template designer.
2142 2004-01-03 Jim Evins <evins@snaught.com>
2144 * pixmaps/ex-rect-size.png:
2145 * pixmaps/ex-round-size.png:
2146 * pixmaps/ex-cd-size.png:
2147 * pixmaps/Makefile.am:
2148 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
2149 files to be used as illustrations/examples in the template-designer.
2151 * src/template-designer.c: (construct_rect_size_page),
2152 (construct_round_size_page), (construct_cd_size_page),
2153 (construct_nlayouts_page), (rect_size_page_prepare_cb),
2154 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
2155 (layout_page_prepare_cb), (build_template):
2156 * src/template-designer.glade:
2157 Added illustrations for rectangle, round, and cd label size pages.
2158 Added margin spinboxes to these pages, and now add a margin markup
2159 to the constructed template. Added realistic default values for
2160 some of the size spinboxes. Cleaned up the code for setting spinbox
2161 ranges on the layouts page.
2163 2004-01-02 Jim Evins <evins@snaught.com>
2165 * src/object-editor-size-page.c: (h_spin_cb):
2166 Fixed cut-n-paste error in h_spin_cb that loaded h from
2167 the wrong spinbutton.
2169 * src/object-editor.h:
2170 * src/object-editor.c: (gl_object_editor_class_init),
2171 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
2172 * src/object-editor-private.h:
2173 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
2175 Added "size_changed" signal.
2177 * src/view-text.c: (construct_properties_editor),
2178 (update_object_from_editor_cb),
2179 (update_object_from_editor_size_cb):
2180 Track size changes from object editor separately from other
2181 properties. This is so the default size (0,0) of a text
2182 object is not modified unintentionally.
2184 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
2186 Added feature: line spacing - allows you to comfortably space a text box to
2187 fit a label perfectly.
2189 * data/glabels-2.0.dtd:
2190 * src/label-object.c: (gl_label_object_set_text_line_spacing),
2191 (gl_label_object_get_text_alignment),
2192 (gl_label_object_get_text_line_spacing):
2193 * src/label-object.h:
2194 * src/label-text.c: (gl_label_text_class_init),
2195 (gl_label_text_instance_init), (copy), (get_size),
2196 (set_text_line_spacing), (get_text_alignment),
2197 (get_text_line_spacing):
2198 * src/object-editor-private.h:
2199 * src/object-editor-text-page.c:
2200 (gl_object_editor_prepare_text_page),
2201 (gl_object_editor_set_text_line_spacing),
2202 (gl_object_editor_get_text_line_spacing):
2203 * src/object-editor.glade:
2204 * src/object-editor.h:
2205 * src/prefs-dialog.c: (construct_object_page),
2206 (update_object_page_from_prefs), (update_prefs_from_object_page):
2207 * src/prefs-dialog.glade:
2208 * src/prefs-model.c: (gl_prefs_model_save_settings),
2209 (gl_prefs_model_load_settings), (get_float):
2210 * src/prefs-model.h:
2211 * src/print.c: (draw_text_object):
2213 * src/view-text.c: (update_object_from_editor_cb),
2214 (update_editor_from_object_cb),
2215 (gl_view_text_create_event_handler), (draw_hacktext):
2216 * src/view.c: (gl_view_construct),
2217 (gl_view_set_selection_text_line_spacing),
2218 (gl_view_set_default_text_line_spacing),
2219 (gl_view_get_default_text_line_spacing):
2221 * src/xml-label.c: (xml_parse_toplevel_span),
2222 (xml_create_toplevel_span):
2224 2003-12-30 Jim Evins <evins@snaught.com>
2226 * src/template-designer.c:
2227 * src/template-designer.h:
2228 * src/template-designer.glade:
2229 New template designer assistant.
2233 Added entries for src/template-designer.* files.
2235 * pixmaps/ex-1layout.png
2236 * pixmaps/ex-2layouts.png
2237 * pixmaps/Makefile.am:
2238 Added the new image files ex-*.png used as illustrations in the
2239 template designer assistant.
2241 * src/print-dialog.h:
2242 * src/print-dialog.c: (gl_print_dialog_finalize),
2243 (gl_print_dialog_new), (gl_print_dialog_construct),
2244 (gl_print_dialog_force_outline_flag):
2245 Changed first argument of gl_print_dialog_new() from glView to glLabel,
2246 to support printing from the template designer assistant which does not
2247 have a full-fledged view. Nothing else from the view object was being
2248 used by the dialog anyway.
2250 Added the gl_print_dialog_force_outline_flag() method, for better
2251 integration with the template designer assistant.
2255 * src/commands.c: (gl_cmd_file_template_designer),
2256 (gl_cmd_file_print):
2257 Modified print command to provide label instead of view to dialog.
2258 Added the gl_cmd_file_template_designer() command to invoke the
2259 template designer assistant.
2262 * src/glabels-ui.xml:
2263 Added support for template designer assistant.
2265 * src/wdgt-mini-preview.h:
2266 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
2267 (gl_wdgt_mini_preview_set_bg_color):
2268 Preview is now centered in canvas. Added
2269 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
2270 assistant to match the background color with its own.
2272 * src/print.c: (clip_to_outline):
2273 Fixed really stupid bug when adding waste to clip region of rectangular
2274 labels/cards. Each side of the clip region needs to be extended by
2275 twice the waste margin, as well as negatively offset by the waste
2278 2003-12-28 Jim Evins <evins@snaught.com>
2280 * src/prefs-dialog.c: (update_object_page_from_prefs):
2281 Block intermediary function align_toggle_cb() instead of
2282 update_prefs_from_object_page() for the three alignment
2285 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
2287 * src/file.c: (gl_file_new), (gl_file_properties):
2288 Swap button order and set default for higificatory pleasure.
2290 2003-12-27 Jim Evins <evins@snaught.com>
2292 * barcode-0.98/Makefile.am:
2293 One last time: removed doc/Makefile and po/Makefile.in.in from
2296 2003-12-27 Jim Evins <evins@snaught.com>
2298 * barcode-0.98/Makefile.am:
2299 Removed config.stat entry from EXTRA_DIST files.
2301 * barcode-0.98/Makefile.in:
2304 2003-12-27 Jim Evins <evins@snaught.com>
2307 Updated to work with latest gnome-common package from CVS.
2308 Removed recursive configuration of barcode-0.98.
2315 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
2317 * barcode-0.98/Makefile.in:
2318 * barcode-0.98/configure.in:
2319 * barcode-0.98/Makefile.am:
2320 * barcode-0.98/README.glabels:
2321 Modified to ignore the barcode package's build system, and build
2322 as a part of glabels.
2323 Renamed Makefile.in to Makefile.in.dist.
2324 Renamed configure.in to configure.in.dist.
2325 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
2328 * src/mygal/Makefile.am:
2329 * src/recent-files/Makefile.am:
2330 In order to build against the GNOME 2.5 platform,
2331 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
2333 * src/mygal/Makefile.am:
2334 * src/mygal/mygal-combo-box.c:
2335 * src/mygal/mygal-combo-box.h:
2336 * src/mygal/widget-color-combo.c:
2337 * src/mygal/widget-color-combo.h:
2339 In order to build against the GNOME 2.5 platform,
2340 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
2341 collisions with the real gtk_combo_box widget, now a part of gtk.
2343 2003-12-26 Jim Evins <evins@snaught.com>
2349 Moved local versions of get_home_data_dir() in paper.c and
2350 template.c to util package. Cleaned up formatting in
2354 In gl_template_register() save a copy of the template in
2355 ~/.glabels if the template is not known. Still need to
2356 handle duplicate filename case and duplicate name but
2357 different template case.
2361 Moved local definition of NAME_SPACE macro from xml-label.c
2364 * src/xml-template.c:
2365 * src/xml-template.h:
2366 Added function gl_xml_template_write_template_to_file(), used
2367 in gl_template_register().