1 2009-02-21 JimEvins <evins@snaught.com>
3 * src/prefs-model.c: (gl_prefs_model_save_settings),
4 (gl_prefs_model_load_settings):
7 * src/ui-property-bar.c:
8 * src/ui.c: (view_ui_item_toggled_cb),
9 (set_app_main_toolbar_style), (set_app_drawing_toolbar_style):
10 Removed tooltip toggling capability, which wasn't working
13 2009-02-21 JimEvins <evins@snaught.com>
17 * data/builder/object-editor.glade:
18 * data/builder/prefs-dialog.glade:
19 * data/builder/property-bar.glade:
20 * data/builder/template-designer.glade:
22 * src/color-combo-color-menu-item.c:
23 * src/color-combo-color-menu-item.h:
24 * src/color-combo-menu.h:
25 * src/glabels-batch.c: (main):
26 * src/glabels.c: (main):
27 * src/merge-properties-dialog.h:
28 * src/new-label-dialog.h:
29 * src/object-editor-lsize-page.c:
30 (gl_object_editor_prepare_lsize_page), (lsize_prefs_changed_cb):
31 * src/object-editor.h:
34 * src/template-designer.h:
35 * src/ui-commands.c: (gl_ui_cmd_view_property_bar_tips_toggle),
36 (gl_ui_cmd_help_contents), (gl_ui_cmd_help_about):
37 * src/ui-property-bar.c:
38 * src/ui-property-bar.h:
39 * src/ui-sidebar.c: (gl_ui_sidebar_construct),
40 (selection_changed_cb):
43 * src/wdgt-media-select.h:
44 * src/wdgt-merge-menu.h:
45 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_class_init):
46 * src/wdgt-mini-preview.h:
47 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
48 * src/wdgt-print-copies.h:
49 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
50 * src/wdgt-print-merge.h:
51 * src/wdgt-rotate-label.h:
53 Removed final dependencies on libgnome and libgnomeui.
54 Removed all currently deprecated symbols as of GTK 2.14.
56 2009-01-07 Jim Evins <evins@snaught.com>
58 * src/critical-error-handler.c: (critical_error_handler):
59 * src/ui-commands.c: (gl_ui_cmd_help_contents):
60 * src/warning-handler.c: (warning_handler):
61 * src/view.c: (selection_received_cb):
62 Compile without warning with additional CFLAGS of
65 2009-01-02 Jim Evins <evins@snaught.com>
67 * COPYING.README_FIRST:
70 2008-12-27 Jim Evins <evins@snaught.com>
72 * data/templates/avery-iso-templates.xml:
73 * data/templates/avery-other-templates.xml:
74 * data/templates/avery-us-templates.xml:
75 * data/templates/brother-other-templates.xml:
76 * data/templates/misc-iso-templates.xml:
77 * data/templates/misc-other-templates.xml:
78 * data/templates/zweckform-iso-templates.xml:
79 Make sure all descriptions are marked as translatable.
81 2008-12-27 Jim Evins <evins@snaught.com>
84 Updated german translation (Mario Blättermann)
86 Updated credits to reflect above translation.
87 * data/builder/object-editor.glade:
88 * data/builder/prefs-dialog.glade:
89 * data/builder/template-designer.glade:
90 Removed "translatable" attribute from whitespace strings,
91 which are used only to help layout.
93 2008-12-21 Jim Evins <evins@snaught.com>
95 * data/templates/avery-us-templates.xml:
96 * data/templates/misc-iso-templates.xml:
97 A couple of recent template submissions.
99 Acknowledgements for above templates.
101 2008-12-21 Jim Evins <evins@snaught.com>
103 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
104 Don't check for handles on aggregate selections.
106 2008-12-20 Jim Evins <evins@snaught.com>
109 Updated prerequisite library versions required.
111 2008-12-18 Jim Evins <evins@snaught.com>
113 * src/view.c: (selection_received_cb):
114 Fixed paste bug that caused a duplicate phantom view_object to be created for
115 each new label_object. This is because the view now (as of r673) the view
116 monitiors the label for new objects and creates view_objects automatically.
118 2008-12-14 Jim Evins <evins@snaught.com>
120 * src/ui.c: (gl_ui_new):
121 Bug #2395628. Fixed i18n for application shell.
123 Bug #2395628. Reconciled POTFILES.in with current files.
125 2008-12-14 Jim Evins <evins@snaught.com>
128 Bug #2316013. Added PKG_PROG_PKG_CONFIG.
130 2008-11-15 Jim Evins <evins@snaught.com>
132 * libglabels/db.c: (lgl_db_register_template):
133 * libglabels/xml-template.c:
134 (lgl_xml_template_parse_template_node):
135 * src/glabels-batch.c:
136 * src/view-text.c: (gl_view_text_create_button_press_event):
137 Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
139 2008-11-09 Jim Evins <evins@snaught.com>
141 * data/templates/misc-iso-templates.xml:
142 Another user submitted template.
144 2008-10-27 Jim Evins <evins@snaught.com>
146 * data/templates/avery-us-templates.xml:
147 * data/templates/misc-iso-templates.xml:
148 * data/templates/zweckform-iso-templates.xml:
149 Caught up on user submitted templates.
151 Acknowledgements for above templates.
153 2008-10-23 Jim Evins <evins@snaught.com>
155 * src/label-text.c: (set_font_family):
156 * src/object-editor-text-page.c:
157 (gl_object_editor_prepare_text_page),
158 (gl_object_editor_set_font_family):
159 * src/prefs-dialog.c: (construct_object_page),
160 (update_object_page_from_prefs):
161 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
162 (reset_to_default_properties):
163 * src/util.c: (gl_util_get_font_family_list):
165 Bug #1902275 and Bug #2186214. Cache font list so that it is not re-created
166 everytime the list is requested.
167 * src/object-editor-text-page.c:
168 (gl_object_editor_set_font_family):
169 Don't change font-family if it hasn't actually changed.
171 2008-10-19 Jim Evins <evins@snaught.com>
173 * data/builder/object-editor.glade:
174 Some tweaking of builder/glade widgets.
176 2008-10-18 Jim Evins <evins@snaught.com>
178 Migrated all use of libglade to GtkBuilder.
180 * data/glade/Makefile.am:
181 * data/glade/merge-properties-dialog.glade:
182 * data/glade/new-label-dialog.glade:
183 * data/glade/object-editor.glade:
184 * data/glade/prefs-dialog.glade:
185 * data/glade/print-custom-widget.glade:
186 * data/glade/property-bar.glade:
187 * data/glade/template-designer.glade:
188 * data/glade/wdgt-media-select.glade:
189 Removed data/glade directory.
190 * data/builder/Makefile.am:
191 * data/builder/merge-properties-dialog.glade:
192 * data/builder/new-label-dialog.glade:
193 * data/builder/object-editor.glade:
194 * data/builder/prefs-dialog.glade:
195 * data/builder/print-custom-widget.glade:
196 * data/builder/property-bar.glade:
197 * data/builder/template-designer.glade:
198 * data/builder/wdgt-media-select.glade:
199 Added data/builder directory.
203 Change glade to builder.
204 * src/merge-properties-dialog.c:
205 (gl_merge_properties_dialog_finalize),
206 (gl_merge_properties_dialog_construct):
207 * src/new-label-dialog.c: (gl_new_label_dialog_finalize),
208 (gl_new_label_dialog_construct):
209 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
210 * src/object-editor-data-page.c:
211 (gl_object_editor_prepare_data_page):
212 * src/object-editor-edit-page.c:
213 (gl_object_editor_prepare_edit_page):
214 * src/object-editor-fill-page.c:
215 (gl_object_editor_prepare_fill_page):
216 * src/object-editor-image-page.c:
217 (gl_object_editor_prepare_image_page):
218 * src/object-editor-line-page.c:
219 (gl_object_editor_prepare_line_page):
220 * src/object-editor-lsize-page.c:
221 (gl_object_editor_prepare_lsize_page):
222 * src/object-editor-position-page.c:
223 (gl_object_editor_prepare_position_page):
224 * src/object-editor-private.h:
225 * src/object-editor-shadow-page.c:
226 (gl_object_editor_prepare_shadow_page):
227 * src/object-editor-size-page.c:
228 (gl_object_editor_prepare_size_page):
229 * src/object-editor-text-page.c:
230 (gl_object_editor_prepare_text_page):
231 * src/object-editor.c: (gl_object_editor_init):
232 * src/prefs-dialog.c: (gl_prefs_dialog_init),
233 (gl_prefs_dialog_construct), (construct_locale_page),
234 (construct_object_page):
235 * src/print-op.c: (gl_print_op_finalize),
236 (create_custom_widget_cb):
237 * src/template-designer.c: (gl_template_designer_class_init),
238 (gl_template_designer_finalize), (gl_template_designer_construct),
239 (construct_start_page), (construct_name_page),
240 (construct_pg_size_page), (construct_shape_page),
241 (construct_rect_size_page), (construct_round_size_page),
242 (construct_cd_size_page), (construct_nlayouts_page),
243 (construct_layout_page), (construct_finish_page):
244 * src/template-designer.h:
245 * src/ui-property-bar.c: (gl_ui_property_bar_init),
246 (gl_ui_property_bar_finalize), (gl_ui_property_bar_new),
247 (gl_ui_property_bar_construct), (reset_to_default_properties),
248 (gl_ui_property_bar_set_view), (gl_ui_property_bar_set_tooltips),
249 (update_text_properties), (update_fill_color), (update_line_color),
250 (update_line_width), (selection_changed_cb),
251 (font_family_changed_cb), (font_size_changed_cb),
252 (text_color_changed_cb), (fill_color_changed_cb),
253 (line_color_changed_cb), (line_width_changed_cb),
254 (font_bold_toggled_cb), (font_italic_toggled_cb),
255 (text_align_toggled_cb), (set_doc_items_sensitive),
256 (set_text_items_sensitive), (set_fill_items_sensitive),
257 (set_line_color_items_sensitive), (set_line_width_items_sensitive):
258 * src/ui-property-bar.h:
259 * src/util.c: (gl_util_get_builder_widgets):
261 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize),
262 (gl_wdgt_media_select_construct):
263 Migration of glade to builder.
265 New macros for color combo initialization.
267 Added idea for internal merge database.
268 * docs/libglabels/libglabels-undocumented.txt:
269 * docs/libglabels/tmpl/paper.sgml:
273 2008-10-12 Jim Evins <evins@snaught.com>
275 * src/mygal/Makefile.am:
276 * src/mygal/color-group.c:
277 * src/mygal/color-group.h:
278 * src/mygal/color-palette.c:
279 * src/mygal/color-palette.h:
280 * src/mygal/e-colors.c:
281 * src/mygal/e-colors.h:
282 * src/mygal/e-marshal.list:
283 * src/mygal/e-util.h:
284 * src/mygal/mygal-combo-box.c:
285 * src/mygal/mygal-combo-box.h:
286 * src/mygal/widget-color-combo.c:
287 * src/mygal/widget-color-combo.h:
293 * src/color-combo-color-menu-item.c:
294 * src/color-combo-color-menu-item.h:
295 * src/color-combo-history.c:
296 * src/color-combo-history.h:
297 * src/color-combo-menu.c:
298 * src/color-combo-menu.h:
303 Created new glColorCombo widget.
304 * src/object-editor-bc-page.c:
305 * src/object-editor-edit-page.c:
306 * src/object-editor-fill-page.c:
307 * src/object-editor-line-page.c:
308 * src/object-editor-shadow-page.c:
309 * src/object-editor-text-page.c:
310 * src/object-editor.c:
311 * src/prefs-dialog.c:
312 * src/ui-property-bar.c:
313 Replaced use of mygal color combo with new glColorCombo widget.
315 2008-08-29 Jim Evins <evins@snaught.com>
317 * src/file.c: (gl_file_open), (gl_file_save_as):
318 Bug #2069668. Corrected button order in Open and "Save as"
321 2008-08-17 Jim Evins <evins@snaught.com>
323 * data/dtd/glabels-2.2.dtd:
324 * data/templates/paper-sizes.xml:
325 * libglabels/db.c: (lgl_db_init):
326 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
327 * libglabels/paper.h:
328 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
329 * src/print-op.c: (set_page_size):
330 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
331 size specification) to the libglabels paper database to allow the page size to be
332 communicated to GtkPrintOp un-ambiguously.
334 2008-07-25 Jim Evins <evins@snaught.com>
336 * src/object-editor-size-page.c: (size_reset_cb),
337 (gl_object_editor_set_max_size):
338 Bug #1993550. Set size limits based on longest side of label.
340 2008-07-19 Jim Evins <evins@snaught.com>
343 * src/mygal/Makefile.am:
344 Make sure libtool handles library dependencies for mygal
347 2008-05-21 Jim Evins <evins@snaught.com>
349 * src/glabels-batch.c: (main):
350 Bug #1968653. Initialize prefs subsystem.
352 2008-05-09 Jim Evins <evins@snaught.com>
354 * data/glade/object-editor.glade:
355 Bug #1959135. A couple of radio buttons somehow became
358 2008-04-07 Jim Evins <evins@snaught.com>
360 * src/wdgt-rotate-label.h:
361 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
362 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
363 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
364 (gl_wdgt_rotate_label_set_template_name):
365 Modified wdgt-rotate-label to better indicate the rotation choices.
366 * data/glade/Makefile.am:
367 * data/glade/wdgt-rotate-label.glade:
368 Deleted wdgt-rotate-label.glade.
370 2008-04-04 Jim Evins <evins@snaught.com>
372 * data/templates/brother-other-templates.xml:
373 Added categories to existing templates.
374 * data/templates/misc-other-templates.xml:
375 Moved dymo templates to their own file.
376 * data/templates/Makefile.am:
377 * data/templates/dymo-other-templates.xml:
378 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
380 Acknowledgement for above templates.
382 2008-03-24 Jim Evins <evins@snaught.com>
384 * src/xml-label.c: (xml_doc_to_label):
385 Bug #1872584. Don't refuse to parse label file if namespace is
386 unrecognized -- it may be from a newer version of glabels.
388 2008-03-15 Jim Evins <evins@snaught.com>
390 * data/templates/Makefile.am:
391 * data/templates/brother-other-templates.xml:
392 Added brother templates.
393 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
394 (gl_cairo_markup_margin_cd_path):
395 * src/view.c: (draw_markup_layer):
396 Fixed markup drawing errors when label is rotated.
398 2008-03-03 Jim Evins <evins@snaught.com>
402 Added korean translation provided by xein@naver.com.
404 2008-02-21 Jim Evins <evins@snaught.com>
407 Fixed typo that prevented "Save" from being deactivated when
408 document is not modified.
410 2008-02-18 Jim Evins <evins@snaught.com>
412 * src/prefs-model.c: (gl_prefs_model_save_settings),
413 (gl_prefs_model_load_settings):
414 Set default units for file output.
416 2008-02-18 Jim Evins <evins@snaught.com>
418 * help/C/glabels.xml:
419 Fixed example template.
421 2008-02-16 Jim Evins <evins@snaught.com>
424 * data/templates/avery-iso-templates.xml:
425 * data/templates/avery-us-templates.xml:
426 * data/templates/misc-iso-templates.xml:
427 * data/templates/misc-us-templates.xml:
428 Caught up on user submitted templates.
430 2008-02-04 Jim Evins <evins@snaught.com>
432 * src/view-image.c: (update_object_from_editor_cb):
433 Bug #1886438. Don't update the image size unless it is actually
434 triggered by a change in image source. The result of this bug
435 was that any attempt to edit the size spinboxes, immediately
438 2008-02-03 Jim Evins <evins@snaught.com>
440 * src/label-image.c: (gl_label_image_class_init), (set_size):
441 Enforce minimum size for images.
443 2008-02-03 Jim Evins <evins@snaught.com>
445 * src/object-editor-edit-page.c: (field_selected_cb):
446 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
447 * src/object-editor-private.h:
448 * src/object-editor-shadow-page.c:
449 (gl_object_editor_set_max_shadow_offset):
450 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
451 * src/object-editor.c: (gl_object_editor_finalize),
452 (gl_object_editor_new), (gl_object_notebook_construct_valist),
454 * src/object-editor.h:
455 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
456 * src/view-barcode.c: (construct_properties_editor):
457 * src/view-box.c: (construct_properties_editor):
458 * src/view-ellipse.c: (construct_properties_editor):
459 * src/view-image.c: (construct_properties_editor):
460 * src/view-line.c: (construct_properties_editor):
461 * src/view-object.c: (gl_view_object_finalize):
462 * src/view-text.c: (construct_properties_editor),
463 Move update_editor_from_label callback from individual view objects
464 to the object editor, so that signals can be disconnected when
465 object editor is finalized.
466 * src/view-text.c: (gl_view_text_create_button_press_event):
467 Fixed bug that caused multiple view objects to be created for a
468 single text object. This bug would manifest itself as a crash
469 when deleting multi-object selections which included text objects.
471 2008-02-02 Jim Evins <evins@snaught.com>
474 * src/wdgt-merge-menu.c:
475 * src/wdgt-merge-menu.h:
476 * src/debug.c: (gl_debug_init):
479 New merge menu widget.
480 * data/glade/object-editor.glade:
481 * src/object-editor-private.h:
482 * src/object-editor.c: (gl_object_editor_set_key_names):
483 * src/object-editor-edit-page.c:
484 (gl_object_editor_prepare_edit_page), (field_selected_cb),
486 Simplified UI for inserting fields into text objects by launching
487 a merge menu and directly inserting fields from the menu. No more
488 selecting field in combobox, then pressing insert button.
490 2008-01-31 Jim Evins <evins@snaught.com>
492 * src/label-barcode.c: (draw_object):
493 Fixed rendering problem when "Invalid data" is displayed when text
494 object is lower in stacking order.
496 2008-01-30 Jim Evins <evins@snaught.com>
498 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
499 Don't turn off cairo_hint_metrics. This causes serious issues with
502 2008-01-29 Jim Evins <evins@snaught.com>
504 * src/print-op.c: (gl_print_op_construct),
505 (gl_print_op_construct_batch), (set_page_size):
506 Explicitly set page size for "other" page sizes.
508 2008-01-25 Jim Evins <evins@snaught.com>
511 Fixed Code128C backend parameters.
512 * src/label-barcode.c: (get_size):
513 Bug #1766425. If barcode is not renderable with either
514 input data or default data, use a default size. Also
517 2008-01-16 Jim Evins <evins@snaught.com>
519 * src/print.c: (print_label):
520 Bug #1872568. Don't apply special transforms (rotate and
521 mirror) to clipping region or outline.
523 2008-01-01 Jim Evins <evins@snaught.com>
526 Sort font lists alphabetically.
528 2008-01-01 Jim Evins <evins@snaught.com>
530 * src/merge-evolution.c:
531 Do a case-insensitive sort.
533 2008-01-01 Jim Evins <evins@snaught.com>
535 * src/merge-evolution.c:
536 Sort evolution by "file_under" field. Original patch provided
537 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
540 Added acknowledgement for above patch.
542 2008-01-01 Jim Evins <evins@snaught.com>
547 Reconcile with 2.2 branch.
550 2007-12-21 Jim Evins <evins@snaught.com>
552 * COPYING.LIBGLABELS:
553 * COPYING.README_FIRST:
555 Updating license information to make more complete and understandable.
557 2007-12-16 Jim Evins <evins@snaught.com>
560 Updated version to 2.pre2.
561 * help/C/glabels.xml:
562 Updated documentation.
563 * src/ui-commands.c: (gl_ui_cmd_help_about):
564 Updated copyright string.
566 2007-12-15 Jim Evins <evins@snaught.com>
568 * data/glade/object-editor.glade:
569 Removed any GtkTable that contained a GtkComboBox because the size of
570 the combo box was not constrained properly. This sacrifices the nice
571 orderly labels for combo boxes that don't extend beyond the edge of the
574 2007-12-15 Jim Evins <evins@snaught.com>
576 * libglabels/db.c: (lgl_db_lookup_template_from_name):
577 * src/object-editor.c: (gl_object_editor_finalize):
578 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
579 Fixed several small memory leaks.
581 2007-12-14 Jim Evins <evins@snaught.com>
584 Optimize template search by name by using a GHashTable.
585 * src/mini-preview-pixbuf-cache.c:
586 * src/mini-preview-pixbuf-cache.h:
587 Store one pixbuf per template, but use a key for each alias.
588 * src/wdgt-media-select.c:
589 Optimize loading of tree data, thus optimizing the "new label" dialog.
591 2007-12-12 Jim Evins <evins@snaught.com>
593 * data/templates/avery-us-templates.xml:
594 More templates and aliases.
596 2007-12-08 Jim Evins <evins@snaught.com>
599 More prep for 2.1.5/2.2.0.
601 2007-12-08 Jim Evins <evins@snaught.com>
607 Preparation for 2.1.5.
609 2007-12-08 Jim Evins <evins@snaught.com>
611 * docs/libglabels/libglabels-decl-list.txt:
612 * docs/libglabels/libglabels-docs.sgml:
613 * docs/libglabels/libglabels-sections.txt:
614 * docs/libglabels/libglabels-undocumented.txt:
615 * docs/libglabels/tmpl/db.sgml:
616 * docs/libglabels/tmpl/str.sgml:
618 Documentation cleanup for libglabels.
620 2007-11-29 Jim Evins <evins@snaught.com>
624 Added lgl_db_does_template_name_exist().
625 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
628 Proof read recent templates -- make sure they still exist.
629 * src/wdgt-media-select.c:
630 Default to "search all templates" tab if no recent templates found.
632 2007-11-28 Jim Evins <evins@snaught.com>
634 * data/glade/wdgt-media-select.glade:
635 * src/wdgt-media-select.c:
636 Added tabbed notebook to allow selection of recent template versus searching the
640 2007-11-26 Jim Evins <evins@snaught.com>
642 * libglabels/Makefile.am:
643 * libglabels/libglabels.h:
646 * src/prefs-dialog.c:
651 Added tracking of recently used templates.
653 2007-11-20 Jim Evins <evins@snaught.com>
655 * data/glade/template-designer.glade:
656 * src/template-designer.c:
657 Added warning icon when match brand and part match an existing template.
659 2007-11-18 Jim Evins <evins@snaught.com>
661 * libglabels/Makefile.am:
664 Added lgl_str_utf8_casecmp().
665 * libglabels/libglabels-private.h:
666 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
667 * libglabels/db.c: (lgl_db_get_brand_list):
668 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
671 2007-11-18 Jim Evins <evins@snaught.com>
673 * data/glade/template-designer.glade:
674 * src/template-designer.c:
675 Don't advance past name page, if brand and part match an existing template.
677 2007-11-18 Jim Evins <evins@snaught.com>
679 * libglabels/db.c: (lgl_db_register_template), (read_templates):
680 When registering a new template, don't add to "User defined" category before
681 writing to file. Add to "User defined" category when reading from "~/.glabels"
682 directory instead. This will allow legacy templates (and manually created
683 templates) to be automatically added to the "user defined" category.
684 * libglabels/xml-template.c:
685 (lgl_xml_template_create_template_node):
686 Fixed typo/bug causing brand to be wrong.
688 2007-11-16 Jim Evins <evins@snaught.com>
692 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
693 function. Automatically create "User defined" category and add to all user
694 registered templates.
695 * libglabels/xml-template.c:
696 * libglabels/xml-template.h:
697 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
698 lgl_xml_template_write_template_to_file().
699 * docs/libglabels/libglabels-decl-list.txt:
700 * docs/libglabels/libglabels-sections.txt:
701 * docs/libglabels/libglabels-undocumented.txt:
702 * docs/libglabels/tmpl/db.sgml:
703 * docs/libglabels/tmpl/xml-template.sgml:
704 Update documentation to reflect above changes.
706 2007-10-28 Jim Evins <evins@snaught.com>
708 * libglabels/xml-template.c:
709 Remove any leading white space from part #s when parsing old names.
710 * src/mini-preview-pixbuf-cache.c:
711 If name isn't in cache add it.
713 2007-10-26 Jim Evins <evins@snaught.com>
715 * libglabels/Makefile.am:
716 * libglabels/category.c:
717 * libglabels/category.h:
720 * libglabels/libglabels-private.h:
721 * libglabels/libglabels.h:
722 * libglabels/paper.c:
723 * libglabels/paper.h:
724 * libglabels/template.c:
725 * libglabels/template.h:
726 * libglabels/xml-template.c:
727 Another pass at screwing with the libglabels API. Moved all
728 database related stuff to db.[ch].
729 * docs/libglabels/libglabels-decl-list.txt:
730 * docs/libglabels/libglabels-docs.sgml:
731 * docs/libglabels/libglabels-sections.txt:
732 * docs/libglabels/libglabels-undocumented.txt:
733 * docs/libglabels/tmpl/category.sgml:
734 * docs/libglabels/tmpl/db.sgml:
735 * docs/libglabels/tmpl/init.sgml:
736 * docs/libglabels/tmpl/libglabels-unused.sgml:
737 * docs/libglabels/tmpl/paper.sgml:
738 * docs/libglabels/tmpl/template-construction.sgml:
739 * docs/libglabels/tmpl/template-db.sgml:
740 * docs/libglabels/tmpl/template-misc.sgml:
741 * docs/libglabels/tmpl/template-struct.sgml:
742 * docs/libglabels/tmpl/template.sgml:
743 Updated documentation to reflect above changes to libglabels API.
745 * src/glabels-batch.c:
747 * src/mini-preview-pixbuf-cache.c:
750 * src/template-designer.c:
751 * src/wdgt-media-select.c:
752 * src/wdgt-mini-preview.c:
753 * src/wdgt-rotate-label.c:
754 * src/xml-label-04.c:
756 Reconciled usage with above libglabels API changes.
758 2007-10-21 Jim Evins <evins@snaught.com>
760 * data/glade/wdgt-media-select.glade:
761 * src/wdgt-media-select.c:
762 Added brand to filter settings.
764 2007-10-21 Jim Evins <evins@snaught.com>
766 * data/dtd/glabels-2.2.dtd:
767 Forgot to replace Alias name attribute with brand and part attributes.
768 * data/templates/avery-iso-templates.xml:
769 * data/templates/avery-other-templates.xml:
770 * data/templates/avery-us-templates.xml:
771 * data/templates/misc-iso-templates.xml:
772 * data/templates/misc-other-templates.xml:
773 * data/templates/misc-us-templates.xml:
774 * data/templates/zweckform-iso-templates.xml:
775 Replaced all name attributes with brand/part attribute pairs.
777 2007-10-20 Jim Evins <evins@snaught.com>
779 * src/stock-pixmaps/*.png
780 Updated icons to use Tango color palette.
782 2007-10-20 Jim Evins <evins@snaught.com>
784 * data/dtd/Makefile.am:
785 * data/dtd/glabels-2.0.dtd:
786 * data/dtd/glabels-2.2.dtd:
787 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
789 * libglabels/template.c:
790 * libglabels/template.h:
791 * libglabels/xml-template.c:
793 Added brand and part attributes to template and alias structures and nodes.
796 * src/mini-preview-pixbuf-cache.c:
797 * src/template-designer.c:
798 * src/wdgt-media-select.c:
799 Use modified libglabels API.
800 * docs/libglabels/libglabels-decl-list.txt:
801 * docs/libglabels/libglabels-sections.txt:
802 * docs/libglabels/libglabels-undocumented.txt:
803 * docs/libglabels/tmpl/template-construction.sgml:
804 * docs/libglabels/tmpl/template-db.sgml:
805 * docs/libglabels/tmpl/template-struct.sgml:
806 Update libglabels documentation to reflect above modifications.
808 2007-10-14 Jim Evins <evins@snaught.com>
810 * docs/libglabels/libglabels-decl-list.txt:
811 * docs/libglabels/libglabels-sections.txt:
812 * docs/libglabels/libglabels-undocumented.txt:
813 * docs/libglabels/tmpl/category.sgml:
814 * libglabels/category.c:
815 * libglabels/category.h:
816 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
817 parity with paper functions.
819 2007-10-12 Jim Evins <evins@snaught.com>
821 * docs/libglabels/libglabels-decl-list.txt:
822 * docs/libglabels/libglabels-sections.txt:
823 * docs/libglabels/libglabels-undocumented.txt:
824 * docs/libglabels/tmpl/category.sgml:
825 * docs/libglabels/tmpl/enums.sgml:
826 * docs/libglabels/tmpl/libglabels-unused.sgml:
827 * docs/libglabels/tmpl/paper.sgml:
828 * docs/libglabels/tmpl/template-struct.sgml:
830 * libglabels/template.c:
831 * libglabels/template.h:
832 Another pass at fleshing out the libglabels documentation.
833 * src/cairo-label-path.c:
834 * src/cairo-markup-path.c:
836 * src/mini-preview-pixbuf.c:
840 * src/wdgt-media-select.c:
841 * src/wdgt-mini-preview.c:
842 * src/wdgt-print-copies.c:
843 * src/wdgt-print-merge.c:
844 * src/wdgt-rotate-label.c:
845 Removed lgl_template_get_first_frame() from libglabels API and all references.
847 2007-10-11 Jim Evins <evins@snaught.com>
849 Extended checks for deprecated symbols.
850 * libglabels/template.c:
851 Removed g_strcasecmp references, which are deprecated.
853 2007-10-09 Jim Evins <evins@snaught.com>
855 * src/merge-evolution.c:
856 Create address book if it does not exist. Also, be more robust about handling
857 error conditions -- don't just assume GError has been set.
859 2007-10-08 Jim Evins <evins@snaught.com>
861 * libglabels/template.c:
862 * libglabels/xml-template.c:
863 * src/template-designer.c:
864 Missed some symbols with libglabels API work.
866 2007-10-01 Jim Evins <evins@snaught.com>
868 * docs/libglabels/libglabels-decl-list.txt:
869 * docs/libglabels/libglabels-docs.sgml:
870 * docs/libglabels/libglabels-sections.txt:
871 * docs/libglabels/libglabels-undocumented.txt:
872 * docs/libglabels/tmpl/category.sgml:
873 * docs/libglabels/tmpl/enums.sgml:
874 * docs/libglabels/tmpl/init.sgml:
875 * docs/libglabels/tmpl/libglabels-unused.sgml:
876 * docs/libglabels/tmpl/paper.sgml:
877 * docs/libglabels/tmpl/template-construction.sgml:
878 * docs/libglabels/tmpl/template-db.sgml:
879 * docs/libglabels/tmpl/template-misc.sgml:
880 * docs/libglabels/tmpl/template-struct.sgml:
881 * docs/libglabels/tmpl/template.sgml:
882 * docs/libglabels/tmpl/xml-category.sgml:
883 * docs/libglabels/tmpl/xml-template.sgml:
884 * libglabels/category.h:
886 * libglabels/libglabels-private.h:
887 * libglabels/paper.h:
888 * libglabels/template.c:
889 * libglabels/template.h:
890 * libglabels/xml-template.h:
891 Basic documentation framework for libglabels updated. This still needs some
894 2007-09-27 Jim Evins <evins@snaught.com>
896 * docs/libglabels/libglabels-decl-list.txt:
897 * docs/libglabels/libglabels-docs.sgml:
898 * docs/libglabels/libglabels-sections.txt:
899 * docs/libglabels/libglabels-undocumented.txt:
900 * docs/libglabels/tmpl/enums.sgml:
901 * docs/libglabels/tmpl/init.sgml:
902 * docs/libglabels/tmpl/libglabels-unused.sgml:
903 * docs/libglabels/tmpl/paper.sgml:
904 * docs/libglabels/tmpl/template.sgml:
905 * docs/libglabels/tmpl/xml-paper.sgml:
906 * docs/libglabels/tmpl/xml-template.sgml:
907 * docs/libglabels/tmpl/xml.sgml:
908 * libglabels/Makefile.am:
909 * libglabels/category.c:
910 * libglabels/category.h:
911 * libglabels/enums.h:
914 * libglabels/libglabels-private.h:
915 * libglabels/libglabels.h:
916 * libglabels/paper.c:
917 * libglabels/paper.h:
918 * libglabels/template.c:
919 * libglabels/template.h:
920 * libglabels/xml-category.c:
921 * libglabels/xml-category.h:
922 * libglabels/xml-paper.c:
923 * libglabels/xml-paper.h:
924 * libglabels/xml-template.c:
925 * libglabels/xml-template.h:
928 * src/cairo-label-path.c:
929 * src/cairo-label-path.h:
930 * src/cairo-markup-path.c:
931 * src/cairo-markup-path.h:
933 * src/glabels-batch.c:
935 * src/label-object.c:
938 * src/mini-preview-pixbuf-cache.c:
939 * src/mini-preview-pixbuf.c:
940 * src/mini-preview-pixbuf.h:
941 * src/prefs-dialog.c:
948 * src/template-designer.c:
949 * src/view-barcode.c:
951 * src/view-ellipse.c:
955 * src/wdgt-media-select.c:
956 * src/wdgt-mini-preview.c:
957 * src/wdgt-mini-preview.h:
958 * src/wdgt-print-copies.c:
959 * src/wdgt-print-merge.c:
960 * src/wdgt-rotate-label.c:
961 * src/xml-label-04.c:
963 Major cleanup of libglabels API -- this breaks API compatibility with older
964 development and stable versions -- as far as I know, there are currently
965 no external users of this library yet.
967 2007-09-14 Jim Evins <evins@snaught.com>
972 * src/label-object.c:
973 * src/label-object.h:
974 * src/label-barcode.c:
975 * src/label-ellipse.c:
978 * src/view-barcode.c:
980 * src/view-ellipse.c:
984 Better separation of model from view.
986 2007-08-21 Jim Evins <evins@snaught.com>
988 * src/print-op.c: (create_custom_widget_cb):
989 Fix problem with force_outline_flag -- don't override with default.
991 2007-08-21 Jim Evins <evins@snaught.com>
993 * data/dtd/glabels-2.0.dtd:
994 * libglabels/template.c:
995 * libglabels/template.h:
996 * libglabels/xml-template.c:
997 * src/cairo-markup-path.c:
998 Added "Markup-rect" element to template format.
1000 2007-08-21 Jim Evins <evins@snaught.com>
1003 Changed version to 2.1.pre5svn.
1004 * src/view.c: (draw_markup_layer):
1005 Do a stroke for each markup path, otherwise multiple markups
1008 2007-08-17 Jim Evins <evins@snaught.com>
1011 Bump libglabels revision numbers for 2.1.4 release.
1013 2007-08-16 Jim Evins <evins@snaught.com>
1016 Include subdir iec16022-0.2.1.
1020 Preparation for 2.1.4.
1023 2007-08-11 Jim Evins <evins@snaught.com>
1029 Added Esperanto translation. Provided by Antonio C.
1030 Codazzi "la Filozofo" <f_sophia@libero.it>.
1032 Updated French translation. Provided by Claude Paroz
1033 <claude@2xlibre.net>.
1035 Updated to reflect above translations.
1037 2007-08-11 Jim Evins <evins@snaught.com>
1040 * data/templates/avery-iso-templates.xml:
1041 * data/templates/avery-us-templates.xml:
1042 * data/templates/misc-iso-templates.xml:
1043 * data/templates/misc-other-templates.xml:
1044 * data/templates/misc-us-templates.xml:
1045 * data/templates/zweckform-iso-templates.xml:
1046 Caught up with backlog of template submissions.
1048 2007-08-10 Jim Evins <evins@snaught.com>
1050 * src/bc-postnet.c: (gl_barcode_postnet_new):
1052 Added support for Brazilian CEPNet barcodes. This is simply an
1053 instance of the US POSTNET format with 8 digits. Patch supplied
1054 by Mário Meyer in bug # 1768792.
1056 Updated acknowledgments to reflect above patch and recent shuffling
1057 of underlying technology.
1059 2007-05-13 Jim Evins <evins@snaught.com>
1061 * src/merge-text.c: (parse_line), (parse_field):
1062 Remove leading and trailing spaces from CSV fields, unless quoted.
1064 2007-05-09 Jim Evins <evins@snaught.com>
1066 * src/object-editor-bc-page.c:
1067 * src/object-editor-data-page.c:
1068 * src/object-editor-fill-page.c:
1069 * src/object-editor-image-page.c:
1070 * src/object-editor-line-page.c:
1071 * src/object-editor-lsize-page.c:
1072 * src/object-editor-position-page.c:
1073 * src/object-editor-private.h:
1074 * src/object-editor-shadow-page.c:
1075 * src/object-editor-size-page.c:
1076 * src/object-editor-text-page.c:
1077 * src/object-editor.c:
1078 * src/prefs-dialog.c:
1079 * src/template-designer.c:
1080 * src/ui-property-bar.c:
1081 * src/wdgt-media-select.c:
1082 Replaced signal block/unblock pairs with simple flags. This reduces
1083 some code clutter, hopefully making it easier to read.
1085 2007-05-05 Jim Evins <evins@snaught.com>
1087 * src/template-designer.c: (apply_cb):
1088 Add new template to mini-preview pixbuf cache.
1090 2007-05-03 Jim Evins <evins@snaught.com>
1092 * src/label-image.c: (gl_label_image_init), (draw_object):
1093 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
1096 2007-05-02 Jim Evins <evins@snaught.com>
1098 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
1099 (button_release_event_cb):
1100 Removed attempt at rendering optimization by clipping the updates
1101 to areas affected -- this actually seemed to hurt update performance.
1103 2007-04-30 Jim Evins <evins@snaught.com>
1106 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
1107 (gl_color_node_equal), (gl_color_node_expand):
1108 * src/label-barcode.c: (draw_object):
1109 * src/label-box.c: (draw_object), (draw_shadow):
1110 * src/label-ellipse.c: (draw_object), (draw_shadow):
1111 * src/label-line.c: (draw_object), (draw_shadow):
1112 * src/label-text.c: (draw_object), (draw_shadow):
1113 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
1114 * src/wdgt-rotate-label.c: (drawingarea_update):
1115 Some cleanup to color related code.
1117 2007-04-30 Jim Evins <evins@snaught.com>
1120 Added glLabelRegion structure type.
1121 * src/label-object.c: (gl_label_object_get_extent):
1122 * src/label-object.h:
1123 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
1125 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
1126 (gl_view_select_region), (gl_view_align_selection_left),
1127 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
1128 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
1129 (gl_view_align_selection_vcenter),
1130 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
1131 (gl_view_move_selection), (gl_view_can_selection_text),
1132 (motion_notify_event_cb), (button_press_event_cb),
1133 (button_release_event_cb):
1134 - Reconcile with new gl_label_object_get_extent() API.
1135 - Use glLabelRegion for view->select_region.
1136 - Added gl_view_update_region() to clip updates to region.
1137 - Use gl_view_update_region() during manipulation of view->select_region.
1139 2007-04-26 Jim Evins <evins@snaught.com>
1141 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1142 (draw_label_outline):
1143 * src/print.c: (print_crop_marks), (draw_outline):
1144 * src/view-object.c: (gl_view_object_draw_handles):
1145 * src/view.c: (draw_bg_layer), (draw_grid_layer),
1146 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
1147 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
1148 * src/wdgt-rotate-label.c: (drawingarea_update):
1149 Added defines for various magic numbers.
1151 2007-04-25 Jim Evins <evins@snaught.com>
1153 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1154 Scale text down. Cairo seems to render text too large.
1156 2007-04-25 Jim Evins <evins@snaught.com>
1159 * src/view.c: (gl_view_update), (expose_cb),
1160 (motion_notify_event_cb), (button_press_event_cb),
1161 (button_release_event_cb):
1162 - Try not to let updates get backed up.
1163 - Grab pointer when doing any drag operations.
1165 2007-04-11 Jim Evins <evins@snaught.com>
1167 * src/cairo-label-path.c: (gl_cairo_label_path),
1168 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
1169 (gl_cairo_cd_label_path):
1170 * src/cairo-label-path.h:
1171 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
1172 (draw_label_outline):
1173 * src/print.c: (draw_outline), (clip_to_outline):
1174 * src/view.c: (draw_bg_layer), (draw_fg_layer):
1175 * src/wdgt-mini-preview.c: (draw_labels):
1176 * src/wdgt-rotate-label.c: (drawingarea_update):
1177 Modified to universally use gl_cairo_label_path() to create paths
1178 for labels. Added shadow to mini preview in rotate widget.
1180 2007-04-10 Jim Evins <evins@snaught.com>
1182 * libglabels/template.h:
1183 * libglabels/template.c: (gl_template_get_name_list_unique),
1184 (gl_template_get_name_list_all), (gl_template_from_name):
1185 Modified libglabels to allow you to get a list of all template names
1186 including all aliases or just a list of primary names of each unique
1189 * src/file.c: (gl_file_properties):
1190 * src/glabels.c: (main):
1191 * src/mini-preview-pixbuf-cache.h:
1192 * src/mini-preview-pixbuf-cache.c:
1193 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1194 (filter_changed_cb), (load_list):
1195 Added mini-preview pixbuf cache, so that only one mini-preview is
1196 needed for a unique template and gets reused for all aliases. These
1197 pixbufs will also live for the life of the program so they are not
1198 rebuilt everytime a new label dialog is invoked.
1199 * src/mini-preview-pixbuf.c: (draw_paper),
1200 (draw_rect_label_outline), (draw_round_label_outline),
1201 (draw_cd_label_outline):
1202 Removed some comment artifacts.
1204 2007-04-04 Jim Evins <evins@snaught.com>
1206 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
1207 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
1208 (draw_round_label_outline), (draw_cd_label_outline):
1209 * src/wdgt-media-select.c: (load_list):
1210 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
1211 Cosmetic enhancments to mini previews.
1213 2007-04-04 Jim Evins <evins@snaught.com>
1215 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
1216 (gl_ui_property_bar_construct):
1217 Save copy of GladeXML tree so that we don't lose tooltips.
1219 2007-04-02 Jim Evins <evins@snaught.com>
1221 * src/merge-properties-dialog.c:
1222 * src/new-label-dialog.c:
1223 * src/object-editor.c:
1224 * src/prefs-dialog.c:
1226 * src/template-designer.c:
1227 * src/ui-property-bar.c:
1228 * src/wdgt-media-select.c:
1229 * src/wdgt-rotate-label.c:
1230 Fixed several memory leaks.
1232 2007-04-01 Jim Evins <evins@snaught.com>
1234 * src/label-text.c: (gl_label_text_init), (copy),
1235 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
1236 (set_font_family), (set_font_size), (set_font_weight),
1237 (set_font_italic_flag), (set_text_alignment),
1238 (set_text_line_spacing):
1239 Cache object size, so that expensive extent calculations are only done
1242 2007-03-30 Jim Evins <evins@snaught.com>
1244 * src/prefs-model.c: (gl_prefs_model_load_settings):
1245 Default to an unlimited list of recent documents, since this parameter
1246 seems to be pre-filter anyway.
1248 2007-03-30 Jim Evins <evins@snaught.com>
1250 * src/label-box.c: (draw_shadow):
1251 * src/label-ellipse.c: (draw_shadow):
1252 Added missing shadow fill.
1254 2007-03-28 Jim Evins <evins@snaught.com>
1256 * src/ui-commands.c: (gl_ui_cmd_file_print):
1257 Unreferencing the print operation sometimes crashes. Just don't do it
1260 2007-03-28 Jim Evins <evins@snaught.com>
1262 * src/print-op.c: (gl_print_op_construct),
1263 (gl_print_op_get_settings), (gl_print_op_set_settings),
1264 (gl_print_op_free_settings), (create_custom_widget_cb):
1266 * src/ui-commands.c: (gl_ui_cmd_file_print):
1267 * src/window.c: (gl_window_init):
1269 Save print settings and custom settings between print operations
1272 2007-03-24 Jim Evins <evins@snaught.com>
1274 * src/object-editor-image-page.c:
1275 (gl_object_editor_prepare_image_page),
1276 (gl_object_editor_set_image), (img_selection_changed_cb):
1277 Workaround for GtkFileChooserButton bug # 327243. This the root
1278 cause for gLabels bug # 1192884. I have actually observed 3 delayed
1279 "selection-changed" signals -- the first 2 return NULL -- this is
1280 what caused the image to reset to the default followed by setting
1281 it back to the original image, trying to fit it into a new bounding
1282 box. This sequence of events is much more evident with the new
1285 2007-03-23 Jim Evins <evins@snaught.com>
1287 Merged all changes from experimental cairo branch to trunk.
1288 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
1290 2007-03-23 Jim Evins <evins@snaught.com>
1292 * src/label-object.h:
1293 * src/label-object.c: (gl_label_object_class_init),
1294 (gl_label_object_get_raw_size), (gl_label_object_get_size):
1295 Created "get_raw_size" method.
1296 * src/label-barcode.c: (get_size):
1297 * src/xml-label.c: (xml_create_object_text),
1298 (xml_create_object_barcode):
1299 Use new "get_raw_size" method on label-objects when apropos.
1301 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
1302 (auto_shrink_font_size):
1303 Added "auto shrink" functionality back.
1305 2007-03-19 Jim Evins <evins@snaught.com>
1307 * src/label-text.c: (draw_object), (draw_shadow):
1308 Don't use negative scales in workaround from previous commit.
1311 2007-03-18 Jim Evins <evins@snaught.com>
1314 Forgot to remove include of xml-lable-191 in previous commit.
1315 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1316 Workaround for pango Bug #341481. Render text at device scale,
1317 and scale font size accordingly. Also, don't do any hinting.
1319 2007-03-18 Jim Evins <evins@snaught.com>
1321 * src/cairo-ellipse-path.c:
1322 * src/cairo-ellipse-path.h:
1323 Forgot to add these new files during last mass commit.
1325 2007-03-18 Jim Evins <evins@snaught.com>
1328 * src/xml-label-191.c:
1329 * src/xml-label-191.h:
1330 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1331 so there is no need to keep compatability.
1333 * src/bc-iec16022.c:
1334 * src/cairo-label-path.c:
1335 * src/cairo-label-path.h:
1336 * src/cairo-markup-path.c:
1340 * src/glabels-batch.c:
1342 * src/label-barcode.c:
1344 * src/label-ellipse.c:
1345 * src/label-image.c:
1347 * src/label-object.c:
1348 * src/label-object.h:
1352 * src/merge-properties-dialog.c:
1354 * src/new-label-dialog.c:
1355 * src/object-editor-bc-page.c:
1356 * src/object-editor-data-page.c:
1357 * src/object-editor-edit-page.c:
1358 * src/object-editor-fill-page.c:
1359 * src/object-editor-image-page.c:
1360 * src/object-editor-line-page.c:
1361 * src/object-editor-private.h:
1362 * src/object-editor-shadow-page.c:
1363 * src/object-editor-text-page.c:
1364 * src/object-editor.c:
1365 * src/pixbuf-cache.c:
1370 * src/template-designer.c:
1372 * src/ui-property-bar.c:
1374 * src/view-barcode.c:
1376 * src/view-ellipse.c:
1379 * src/view-object.c:
1380 * src/view-object.h:
1383 * src/wdgt-media-select.c:
1384 * src/wdgt-print-copies.c:
1385 * src/wdgt-print-merge.c:
1387 * src/xml-label-04.c:
1389 Many changes, including:
1390 - Move draw methods from view-*() to label-*().
1391 - Use same drawing code for on screen view and printing.
1392 - Fix all issues exposed with '-Wall -Werror'.
1394 2007-03-14 Jim Evins <evins@snaught.com>
1397 * src/cairo-handle-path.c:
1398 * src/cairo-handle-path.h:
1399 * src/cairo-object-path.c:
1400 * src/cairo-object-path.h:
1401 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1402 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1404 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1405 (draw_shadow), (object_at):
1406 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1407 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1408 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1410 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1411 (draw_shadow), (object_at):
1412 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1413 (create_handle_path), (gl_view_object_draw_handles),
1414 (gl_view_object_handle_at):
1415 * src/view-object.h:
1416 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1417 (draw_shadow), (object_at):
1418 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1419 Some restructuring of new code.
1421 2007-03-12 Jim Evins <evins@snaught.com>
1424 * src/cairo-object-path.c:
1425 * src/view-barcode.c:
1426 * src/view-barcode.h:
1428 Added barcode object support to view.
1430 2007-03-12 Jim Evins <evins@snaught.com>
1436 * src/cairo-object-path.c:
1437 * src/cairo-object-path.h:
1439 * src/view-ellipse.c:
1442 * src/view-object.c:
1443 * src/view-object.h:
1444 Added text object support to view. Added object_at method to all
1447 2007-03-11 Jim Evins <evins@snaught.com>
1450 * src/cairo-object-path.c: (gl_cairo_object_path),
1451 (gl_cairo_image_object_path):
1452 * src/view-image.c: (gl_view_image_class_init),
1453 (gl_view_image_finalize), (gl_view_image_new),
1454 (update_editor_from_label_cb), (draw),
1455 (gl_view_image_get_create_cursor),
1456 (gl_view_image_create_button_press_event),
1457 (gl_view_image_create_motion_event),
1458 (gl_view_image_create_button_release_event):
1460 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1461 (selection_received_cb), (motion_notify_event_cb),
1462 (button_press_event_cb), (button_release_event_cb):
1463 Added image object support to view.
1465 2007-03-11 Jim Evins <evins@snaught.com>
1468 * src/cairo-object-path.c: (gl_cairo_object_path),
1469 (gl_cairo_line_object_path):
1470 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1471 (update_object_from_editor_cb), (update_editor_from_object_cb),
1472 (update_editor_from_label_cb), (draw),
1473 (gl_view_line_get_create_cursor),
1474 (gl_view_line_create_button_press_event),
1475 (gl_view_line_create_motion_event),
1476 (gl_view_line_create_button_release_event):
1478 * src/view-object.c: (gl_view_object_resize_event):
1479 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1480 (selection_received_cb), (motion_notify_event_cb),
1481 (button_press_event_cb), (button_release_event_cb):
1482 Added line object support to view.
1483 * src/cairo-handle-path.c:
1484 Made handles slightly larger.
1487 2007-03-11 Jim Evins <evins@snaught.com>
1490 * src/cairo-handle-path.c:
1491 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1492 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1493 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1494 (gl_cairo_markup_margin_round_path),
1495 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1496 * src/cairo-object-path.c: (gl_cairo_object_path),
1497 (gl_cairo_ellipse_object_path):
1498 * src/label-object.c: (gl_label_object_rotate):
1501 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1502 (gl_view_ellipse_new), (update_object_from_editor_cb),
1503 (update_editor_from_object_cb), (update_editor_from_label_cb),
1504 (draw), (gl_view_ellipse_get_create_cursor),
1505 (gl_view_ellipse_create_button_press_event),
1506 (gl_view_ellipse_create_motion_event),
1507 (gl_view_ellipse_create_button_release_event):
1508 * src/view-ellipse.h:
1509 * src/view-object.c:
1510 * src/view-object.h:
1511 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1512 (select_object_real), (selection_received_cb),
1513 (motion_notify_event_cb), (button_press_event_cb),
1514 (button_release_event_cb):
1516 Added ellipse object support to view. Plus other cleanup.
1518 2007-03-11 Jim Evins <evins@snaught.com>
1521 * src/view-box.c: (gl_view_box_get_create_cursor),
1522 (gl_view_box_create_button_press_event),
1523 (gl_view_box_create_motion_event),
1524 (gl_view_box_create_button_release_event):
1525 * src/view-object.c: (gl_view_object_set_view),
1526 (gl_view_object_handle_at):
1528 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1529 (motion_notify_event_cb), (button_press_event_cb),
1530 (button_release_event_cb), (key_press_event_cb):
1531 Added creation code for box object.
1533 2007-03-09 Jim Evins <evins@snaught.com>
1535 * src/view-object.c: (gl_view_object_resize_event):
1536 * src/view-object.h:
1537 * src/view.c: (motion_notify_event_cb):
1538 Fix bugs with resizing transformed objects.
1539 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1540 * src/cairo-object-path.c: (gl_cairo_object_path):
1541 * src/cairo-object-path.h:
1542 * src/label-object.c: (gl_label_object_init),
1543 (gl_label_object_dup), (gl_label_object_get_extent),
1544 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1545 (gl_label_object_rotate), (gl_label_object_set_matrix),
1546 (gl_label_object_get_matrix):
1547 * src/label-object.h:
1548 * src/print.c: (draw_object):
1550 * src/view-highlight.c:
1551 * src/view-highlight.h:
1552 * src/xml-label-191.c: (xml191_parse_object):
1553 * src/xml-label.c: (xml_parse_affine_attrs),
1554 (xml_create_affine_attrs):
1555 Replace libart affine matrices with cairo matrices.
1557 2007-03-08 Jim Evins <evins@snaught.com>
1559 * src/view-object.h:
1560 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1561 * src/view-object.c: (gl_view_object_handle_at),
1562 (gl_view_object_resize_event):
1563 Added resize code -- still a bit buggy.
1565 2007-03-07 Jim Evins <evins@snaught.com>
1568 * src/cairo-handle-path.c:
1569 * src/cairo-handle-path.h:
1570 * src/view-box.c: (gl_view_box_new):
1571 * src/view-object.c: (gl_view_object_set_object),
1572 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1573 * src/view-object.h:
1574 * src/view.c: (draw_highlight_layer), (select_object_real),
1575 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1576 (button_press_event_cb), (button_release_event_cb),
1577 (key_press_event_cb):
1579 Added beginnings of object resize handles.
1581 2007-03-07 Jim Evins <evins@snaught.com>
1584 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1585 (gl_view_object_create_mode), (motion_notify_event_cb),
1586 (button_press_event_cb), (button_release_event_cb),
1587 (key_press_event_cb):
1588 Added move selection support.
1590 2007-03-05 Jim Evins <evins@snaught.com>
1592 * src/cairo-object-path.c: (gl_cairo_object_path):
1593 * src/view-object.c: (gl_view_object_draw),
1594 (gl_view_object_draw_highlight):
1595 * src/view.c: (view_object_at), (motion_notify_event_cb),
1596 (button_press_event_cb), (button_release_event_cb):
1597 Additional refinements to select logic.
1599 2007-03-05 Jim Evins <evins@snaught.com>
1602 * src/view.c: (gl_view_init), (gl_view_construct),
1603 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1604 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1605 (button_press_event_cb), (button_release_event_cb):
1606 Added initial select region support and context menu.
1608 2007-03-04 Jim Evins <evins@snaught.com>
1619 * src/ui-commands.c:
1622 * src/view-object.c:
1623 * src/view-object.h:
1626 * src/wdgt-print-copies.c:
1627 * src/wdgt-print-merge.c:
1629 Initial port to a raw Cairo canvas. This removes all remaining
1630 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1631 the view is becoming a canvas widget in its own right. Still needs
1633 * src/cairo-label-path.c:
1634 * src/cairo-label-path.h:
1635 * src/cairo-markup-path.c:
1636 * src/cairo-markup-path.h:
1637 * src/cairo-object-path.c:
1638 * src/cairo-object-path.h:
1639 New files to support cairo canvas.
1640 * src/canvas-hacktext.c:
1641 * src/canvas-hacktext.h:
1644 2007-02-18 Jim Evins <evins@snaught.com>
1647 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1649 2007-02-14 Jim Evins <evins@snaught.com>
1653 * src/bc-gnubarcode.c:
1654 * src/bc-gnubarcode.h:
1659 * src/canvas-hacktext.c:
1660 * src/canvas-hacktext.h:
1667 * src/label-barcode.c:
1668 * src/label-barcode.h:
1671 * src/label-ellipse.c:
1672 * src/label-ellipse.h:
1673 * src/label-image.c:
1674 * src/label-image.h:
1677 * src/label-object.c:
1678 * src/label-object.h:
1683 * src/merge-evolution.c:
1684 * src/merge-evolution.h:
1687 * src/merge-properties-dialog.c:
1688 * src/merge-properties-dialog.h:
1691 * src/merge-vcard.c:
1692 * src/merge-vcard.h:
1695 * src/mini-preview-pixbuf.h:
1696 * src/new-label-dialog.c:
1697 * src/new-label-dialog.h:
1698 * src/object-editor-bc-page.c:
1699 * src/object-editor-data-page.c:
1700 * src/object-editor-edit-page.c:
1701 * src/object-editor-fill-page.c:
1702 * src/object-editor-image-page.c:
1703 * src/object-editor-line-page.c:
1704 * src/object-editor-lsize-page.c:
1705 * src/object-editor-position-page.c:
1706 * src/object-editor-private.h:
1707 * src/object-editor-size-page.c:
1708 * src/object-editor-text-page.c:
1709 * src/object-editor.c:
1710 * src/object-editor.h:
1711 * src/pixbuf-cache.c:
1712 * src/pixbuf-cache.h:
1713 * src/prefs-dialog.c:
1714 * src/prefs-dialog.h:
1715 * src/prefs-model.c:
1716 * src/prefs-model.h:
1722 * src/template-designer.c:
1725 * src/ui-commands.c:
1726 * src/ui-commands.h:
1727 * src/ui-property-bar.c:
1728 * src/ui-property-bar.h:
1737 * src/view-barcode.c:
1738 * src/view-barcode.h:
1741 * src/view-ellipse.c:
1742 * src/view-ellipse.h:
1743 * src/view-highlight.c:
1744 * src/view-highlight.h:
1749 * src/view-object.c:
1750 * src/view-object.h:
1755 * src/wdgt-chain-button.c:
1756 * src/wdgt-chain-button.h:
1757 * src/wdgt-media-select.c:
1758 * src/wdgt-mini-preview.c:
1759 * src/wdgt-print-copies.c:
1760 * src/wdgt-print-copies.h:
1761 * src/wdgt-print-merge.c:
1762 * src/wdgt-print-merge.h:
1763 * src/wdgt-rotate-label.c:
1765 * src/xml-label-04.c:
1766 * src/xml-label-04.h:
1767 * src/xml-label-191.c:
1768 * src/xml-label-191.h:
1772 Assorted superficial cleanup. Including:
1773 - Use G_DEFINE_TYPE for all objects.
1774 - Reconcile style of all class initializer functions
1775 - Reconcile style of all finalize functions
1776 - Add emacs mode line to all source files
1778 2007-02-06 Jim Evins <evins@snaught.com>
1780 Assorted cleanup and removal of deprecated items.
1785 Removed annoying splash screen.
1786 * src/glabels-batch.c: (main):
1787 * src/glabels.c: (main):
1788 Converted from popt to GOption.
1789 * src/object-editor-shadow-page.c:
1790 (gl_object_editor_set_shadow_state):
1791 Removed deprecated method on GtkToggleButton.
1792 * src/ui-commands.c: (gl_ui_cmd_help_about):
1793 Removed dependency on libgnomui/qnome-url.h.
1794 * src/template-designer.c:
1795 Removed dependency on libgnome/gnome-program.h.
1798 2007-02-04 Jim Evins <evins@snaught.com>
1802 * src/prefs-model.c:
1803 * src/print.c: (draw_text_object):
1804 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1805 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1807 2007-02-04 Jim Evins <evins@snaught.com>
1809 * src/wdgt-mini-preview.c:
1810 * src/wdgt-mini-preview.h:
1811 Ported widget from GnomeCanvas to Cairo.
1813 2007-02-03 Jim Evins <evins@snaught.com>
1815 * data/glade/template-designer.glade:
1816 * src/template-designer.c:
1817 * src/template-designer.h:
1818 Ported GnomeDruid to GtkAssistant. Since libglade does not
1819 yet support the GtkAssistant and we derive directly from
1820 the Assistant, the pages are layed out in a GtkNotebook in
1821 the glade description -- we then append each page to the
1824 2007-01-25 Jim Evins <evins@snaught.com>
1826 * data/glade/object-editor.glade:
1827 Added dummy page to notebook, to prevent shadow page from
1828 becoming the default current page at creation.
1829 * src/view-box.c: (construct_properties_editor):
1830 * src/view-ellipse.c: (construct_properties_editor):
1831 * src/view-line.c: (construct_properties_editor):
1832 * src/view-text.c: (construct_properties_editor):
1833 Reconciled order of params.
1835 2007-01-19 Jim Evins <evins@snaught.com>
1837 * src/label-barcode.h:
1838 * src/label-object.c: (gl_label_object_set_font_weight),
1839 (gl_label_object_set_text_alignment),
1840 (gl_label_object_get_font_weight),
1841 (gl_label_object_get_text_alignment):
1842 * src/label-object.h:
1843 * src/label-text.c: (gl_label_text_instance_init), (copy),
1844 (get_size), (set_font_family), (set_font_weight),
1845 (set_text_alignment), (get_font_weight), (get_text_alignment):
1847 * src/object-editor-text-page.c:
1848 (gl_object_editor_prepare_text_page),
1849 (gl_object_editor_set_font_family),
1850 (gl_object_editor_set_font_weight),
1851 (gl_object_editor_get_font_weight),
1852 (gl_object_editor_set_text_alignment),
1853 (gl_object_editor_get_text_alignment),
1854 (gl_object_editor_set_text_color):
1855 * src/object-editor.h:
1856 * src/prefs-dialog.c: (construct_object_page),
1857 (update_object_page_from_prefs), (update_prefs_from_object_page):
1858 * src/prefs-model.c: (gl_prefs_model_save_settings),
1859 (gl_prefs_model_load_settings):
1860 * src/prefs-model.h:
1861 * src/print.c: (draw_text_object):
1862 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1863 (reset_to_default_properties), (update_text_properties),
1864 (font_bold_toggled_cb), (text_align_toggled_cb):
1866 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1867 (gl_util_weight_to_string), (gl_util_string_to_weight),
1868 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1870 * src/view-text.c: (update_object_from_editor_cb),
1871 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1872 * src/view.c: (gl_view_set_selection_text_alignment),
1873 (gl_view_set_default_text_alignment),
1874 (gl_view_get_default_text_alignment):
1876 * src/xml-label-04.c: (xml04_parse_text_props):
1877 * src/xml-label-191.c: (xml191_parse_text_props):
1878 * src/xml-label.c: (xml_parse_object_text),
1879 (xml_parse_toplevel_span), (xml_create_object_text),
1880 (xml_create_toplevel_span):
1881 Converted all model internals to Pango. GnomeFont remains in
1882 view until GnomeCanvas can be replaced with a cairo-based canvas.
1884 2007-01-17 Jim Evins <evins@snaught.com>
1890 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1891 (gl_wdgt_print_copies_construct):
1892 * src/wdgt-print-copies.h:
1893 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1894 (gl_wdgt_print_merge_construct):
1895 * src/wdgt-print-merge.h:
1896 Removed all remaining HIG wrapper widgets.
1898 2007-01-16 Jim Evins <evins@snaught.com>
1901 * src/print-dialog.c:
1902 * src/print-dialog.h:
1905 * src/template-designer.c: (print_test_cb):
1906 * src/ui-commands.c: (gl_ui_cmd_file_print):
1908 Renamed PrintDialog to PrintOp. Added constructor for batch
1910 * src/glabels-batch.c: (main):
1911 Converted to use new PrintOp object for printing.
1913 2007-01-15 Jim Evins <evins@snaught.com>
1915 * data/glade/Makefile.am:
1916 * data/glade/print-custom-widget.glade:
1917 * src/print-dialog.c:
1918 * src/print-dialog.h:
1921 * src/template-designer.c: (print_test_cb):
1922 * src/ui-commands.c: (gl_ui_cmd_file_print):
1923 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1924 * src/wdgt-print-merge.h:
1925 * src/window.c: (gl_window_init):
1927 Initial conversion to GtkPrintOperation.
1929 - Remove font and other libgnomeprint[ui] from elsewhere
1930 - Add batch initialization of print operation
1932 2007-01-08 Jim Evins <evins@snaught.com>
1934 Updated dependencies. Set version to 2.1.pre4cvs.
1936 2007-01-03 Jim Evins <evins@snaught.com>
1938 * src/recent-files/*
1939 Removed EggRecent stuff.
1945 * src/ui-commands.c:
1946 * src/ui-commands.h:
1948 Ported from EggRecent to GtkRecentManager.
1951 2007-01-02 Jim Evins <evins@snaught.com>
1954 * iec16022-0.2.1/BUGS:
1955 * iec16022-0.2.1/CHANGELOG:
1956 * iec16022-0.2.1/CREDITS:
1957 * iec16022-0.2.1/INSTALL:
1958 * iec16022-0.2.1/LICENSE:
1959 * iec16022-0.2.1/Makefile.am:
1960 * iec16022-0.2.1/Makefile.dist:
1961 * iec16022-0.2.1/README:
1962 * iec16022-0.2.1/README.glabels:
1963 * iec16022-0.2.1/TODO:
1964 * iec16022-0.2.1/iec16022.1:
1965 * iec16022-0.2.1/iec16022.c:
1966 * iec16022-0.2.1/iec16022ecc200.c:
1967 * iec16022-0.2.1/iec16022ecc200.h:
1968 * iec16022-0.2.1/image.c:
1969 * iec16022-0.2.1/image.h:
1970 * iec16022-0.2.1/reedsol.c:
1971 * iec16022-0.2.1/reedsol.h:
1972 * iec16022-0.2.1/test/testsuite-example.bin:
1973 * iec16022-0.2.1/test/testsuite-example.eps:
1974 * iec16022-0.2.1/test/testsuite-example.hex:
1975 * iec16022-0.2.1/test/testsuite-example.png:
1976 * iec16022-0.2.1/test/testsuite-example.text:
1977 * iec16022-0.2.1/test/testsuite.sh:
1978 Include modified copy of iec16022-0.2.1 to provide encoding
1979 support for datamatrix 2D barcodes.
1981 * src/bc-iec16022.c:
1982 * src/bc-iec16022.h:
1984 Added initial datamatrix 2D barcode backend to barcode code.
1987 Automatic updates to later versions of these files.
1989 2006-11-28 Jim Evins <evins@snaught.com>
1991 * data/templates/avery-iso-templates.xml:
1992 * data/templates/avery-us-templates.xml:
1993 * data/templates/categories.xml:
1994 * data/templates/misc-iso-templates.xml:
1995 * data/templates/misc-us-templates.xml:
1996 * data/templates/zweckform-iso-templates.xml:
1997 More categorization.
1999 2006-09-12 Jim Evins <evins@snaught.com>
2001 * data/dtd/glabels-2.0.dtd:
2002 * data/templates/Makefile.am:
2003 * data/templates/avery-iso-templates.xml:
2004 * data/templates/avery-other-templates.xml:
2005 * data/templates/avery-us-templates.xml:
2006 * data/templates/categories.xml:
2007 * data/templates/misc-iso-templates.xml:
2008 * data/templates/misc-other-templates.xml:
2009 * data/templates/zweckform-iso-templates.xml:
2010 * data/glade/Makefile.am:
2011 * data/glade/new-label-dialog.glade:
2012 * data/glade/wdgt-media-select.glade:
2013 * data/glade/wdgt-rotate-label.glade:
2014 * libglabels/Makefile.am:
2015 * libglabels/category.c:
2016 * libglabels/category.h:
2017 * libglabels/libglabels.h:
2018 * libglabels/paper.c:
2019 * libglabels/template.c:
2020 * libglabels/template.h:
2021 * libglabels/xml-category.c:
2022 * libglabels/xml-category.h:
2023 * libglabels/xml-template.c:
2024 Added support for category meta data.
2027 * src/mini-preview-pixbuf.c:
2028 * src/mini-preview-pixbuf.h:
2029 * src/new-label-dialog.c:
2030 * src/new-label-dialog.h:
2031 * src/wdgt-media-select.c:
2032 * src/wdgt-media-select.h:
2033 * src/wdgt-rotate-label.c:
2034 * src/wdgt-rotate-label.h:
2035 New "new label" dialog.
2037 2006-05-27 Jim Evins <evins@snaught.com>
2042 Preparation for 2.1.3.
2048 2006-05-22 Jim Evins <evins@snaught.com>
2050 * src/print.c: (draw_barcode_object):
2051 Don't print "Invalid barcode data" if data field is empty. Patch provided
2052 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
2054 Added acknowledgment for above patch.
2055 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
2056 * src/bc-postnet.c: (postnet_code):
2057 Removed "Invalid barcode data" warnings from stderr.
2058 * src/view-barcode.c: (draw_barcode):
2059 Draw box around barcode extent if data empty or invalid. Center a
2060 message whether the data is empty or invalid in box.
2062 2006-05-22 Jim Evins <evins@snaught.com>
2064 * src/print.c: (draw_text_object):
2065 Check shadow state when printing text.
2067 2006-05-20 Jim Evins <evins@snaught.com>
2069 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
2070 (gl_ui_cmd_view_markup_toggle):
2071 Fixed crash when grid or markup have been toggled off during
2072 a previous session. Bug #1434324.
2074 2006-04-05 Jim Evins <evins@snaught.com>
2076 * src/object-editor.c: (gl_object_editor_set_key_names):
2077 Fixed potential crash when freeing empty key list.
2079 2006-03-11 Jim Evins <evins@snaught.com>
2081 * src/print.c: (draw_text_object):
2082 * src/view-text.c: (gl_view_text_new),
2083 (construct_properties_editor), (update_object_from_editor_cb),
2084 (update_editor_from_object_cb), (update_editor_from_label_cb),
2086 Added shadow support to text object.
2088 2006-02-18 Jim Evins <evins@snaught.com>
2090 * src/print.c: (draw_line_object):
2091 * src/view-line.c: (gl_view_line_new),
2092 (construct_properties_editor), (update_canvas_item_from_object_cb),
2093 (update_object_from_editor_cb), (update_editor_from_object_cb),
2094 (update_editor_from_label_cb):
2095 Added shadow support to line object.
2097 2006-02-16 Jim Evins <evins@snaught.com>
2101 * src/print.c: (draw_ellipse_object):
2102 * src/view-ellipse.c: (gl_view_ellipse_new),
2103 (construct_properties_editor), (update_canvas_item_from_object_cb),
2104 (update_object_from_editor_cb), (update_editor_from_object_cb),
2105 (update_editor_from_label_cb):
2106 Added shadow support to ellipse object.
2108 2006-02-15 Jim Evins <evins@snaught.com>
2110 * src/label-object.c:
2111 Changed default shadow offsets.
2112 * src/view-box.c: (gl_view_box_new):
2113 Simplified gl_view_box_new() so that is does not duplicate code
2114 in update_canvas_item_from_object_cb().
2116 2006-02-07 Jim Evins <evins@snaught.com>
2118 * data/glade/object-editor.glade:
2119 Fixed color groups of color combos.
2121 Added default shadow color.
2122 * src/object-editor.c: (gl_object_editor_construct_color_combo):
2123 Added shadow color group.
2125 2006-02-06 Jim Evins <evins@snaught.com>
2127 * src/object-editor-shadow-page.c:
2128 Forgot to add this file.
2129 * src/view-box.c: (gl_view_box_new),
2130 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
2131 Update limits on shadow offset spinbuttons.
2133 2006-01-19 Jim Evins <evins@snaught.com>
2135 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
2136 Initialize key_list to NULL.
2137 * data/glade/object-editor.glade:
2141 * src/label-object.c:
2142 * src/label-object.h:
2143 * src/object-editor-fill-page.c:
2144 * src/object-editor-private.h:
2145 * src/object-editor.c:
2146 * src/object-editor.h:
2148 Created infrastructure for shadow support.
2151 Initial shadow support in box object only.
2153 2006-01-05 Jim Evins <evins@snaught.com>
2155 * src/merge-properties-dialog.c: (src_changed_cb):
2156 Be extra paranoid before calling strcmp().
2157 * src/merge.c: (gl_merge_set_src):
2158 Don't make (merge == NULL) a critical error.
2160 2005-12-22 Jim Evins <evins@snaught.com>
2162 * src/glabels-batch.c: (main):
2163 Compile warning free with gcc 4.0.
2165 2005-12-21 Jim Evins <evins@snaught.com>
2168 Updated example RPM spec file.
2170 2005-12-21 Jim Evins <evins@snaught.com>
2174 Preparation for 2.1.2.
2176 2005-12-20 Jim Evins <evins@snaught.com>
2179 Define unique G_LOG_DOMAIN for glabels.
2180 * src/critical-error-handler.c: (gl_critical_error_handler_init):
2181 * src/warning-handler.c: (gl_warning_handler_init),
2183 Register for G_LOG_DOMAIN instead of NULL.
2185 2005-12-10 Jim Evins <evins@snaught.com>
2187 * src/merge-evolution.c:
2188 * src/merge-vcard.c:
2191 2005-12-08 Jim Evins <evins@snaught.com>
2193 * libglabels/paper.c: (read_paper_files_from_dir):
2194 * libglabels/template.c: (gl_template_register),
2195 (read_template_files_from_dir):
2196 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
2197 (gl_xml_paper_parse_papers_doc):
2198 * libglabels/xml-template.c:
2199 (gl_xml_template_read_templates_from_file),
2200 (gl_xml_template_parse_templates_doc),
2201 (gl_xml_template_parse_template_node),
2202 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2203 (xml_parse_label_cd_node), (xml_parse_layout_node),
2204 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
2205 (xml_parse_markup_circle_node),
2206 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
2207 * libglabels/xml.c: (gl_xml_get_prop_length):
2208 Re-classified g_warnings to g_messages.
2210 * src/glabels.c: (main):
2211 * src/warning-handler.c: (gl_warning_handler_init),
2213 * src/warning-handler.h:
2214 Added warning message handler to make sure the user is
2215 presented with appropriate non-fatal errors.
2216 * src/critical-error-handler.c: (critical_error_handler):
2217 Changed exit to abort.
2218 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
2219 * src/bc-postnet.c: (postnet_code):
2220 * src/bc.c: (id_to_index), (name_to_index):
2221 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
2222 * src/object-editor.c: (gl_object_notebook_construct_valist):
2223 * src/prefs-dialog.c: (update_locale_page_from_prefs):
2224 * src/prefs.c: (gl_prefs_get_units_per_point),
2225 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2226 (gl_prefs_get_units_string):
2227 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
2228 * src/splash.c: (gl_splash):
2229 * src/ui-commands.c: (gl_ui_cmd_help_contents):
2230 * src/view-highlight.c: (gl_view_highlight_new),
2231 (highlight_resizable_box_construct), (object_changed_cb),
2232 (view_scale_changed_cb):
2233 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
2234 (draw_markup_layer), (draw_markup_margin),
2235 (gl_view_object_create_mode), (canvas_event),
2236 (selection_received_cb):
2237 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2238 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
2239 * src/xml-label-04.c: (gl_xml_label_04_parse),
2240 (xml04_parse_media_description), (xml04_parse_text_props),
2241 (xml04_parse_barcode_props):
2242 * src/xml-label-191.c: (gl_xml_label_191_parse),
2243 (xml191_parse_objects), (xml191_parse_object),
2244 (xml191_parse_text_props), (xml191_parse_image_props),
2245 (xml191_parse_barcode_props), (xml191_parse_data),
2246 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
2247 (xml191_parse_markup):
2248 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
2249 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
2250 (xml_parse_object_text), (xml_parse_object_image),
2251 (xml_parse_object_barcode), (xml_parse_data),
2252 (xml_parse_toplevel_span), (gl_xml_label_save),
2253 (xml_create_objects):
2254 Re-classified g_warnings to g_messages.
2255 * src/merge-evolution.c: (gl_merge_evolution_open),
2256 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
2257 Use g_warning to output errors encountered while
2258 communicating with the evolution data server
2259 instead of embedding them in the data.
2261 2005-12-08 Jim Evins <evins@snaught.com>
2263 * libglabels/libglabels-private.h:
2265 * libglabels/paper.c: (read_papers):
2266 * libglabels/template.c: (read_templates):
2267 Made appropriate warnings critical.
2269 * src/critical-error-handler.h:
2270 * src/critical-error-handler.c: (gl_critical_error_handler_init),
2271 (critical_error_handler):
2272 Created critical error handler.
2273 * src/glabels.c: (main):
2274 Register critical error handler.
2275 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2276 * src/object-editor.c: (gl_object_editor_init):
2277 * src/prefs-dialog.c: (gl_prefs_dialog_init):
2278 * src/template-designer.c: (gl_template_designer_init):
2279 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
2280 Made appropriate warnings critical.
2282 2005-11-27 Jim Evins <evins@snaught.com>
2284 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
2285 (gl_merge_evolution_get_primary_key),
2286 (gl_merge_evolution_get_record):
2287 Don't create "record_key" pseudo-key. Don't populate
2288 fields with null data.
2290 2005-11-25 Jim Evins <evins@snaught.com>
2292 * src/merge-evolution.c: (gl_merge_evolution_finalize),
2293 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
2294 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
2296 Query EDS for all supported fields. Patch provided by
2297 Austin Henry <ahenry@users.sourceforge.net>.
2299 2005-10-29 Jim Evins <evins@snaught.com>
2301 * src/glabels.c: (main):
2302 * src/label-barcode.c: (gl_label_barcode_finalize):
2303 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
2304 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
2305 * src/object-editor.c: (gl_object_editor_finalize):
2306 Another pass at valgrinding -- plugged several memory leaks.
2307 * src/view-text.c: (gl_view_text_new),
2308 (update_canvas_item_from_object_cb), (draw_hacktext):
2309 Commented out artifacts of edit-in-place code.
2311 2005-10-28 Jim Evins <evins@snaught.com>
2313 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2314 Fixed use of uninitialized variable. Caught by
2315 d binderman <dcb314@hotmail.com>.
2317 2005-10-27 Jim Evins <evins@snaught.com>
2319 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2320 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2322 Additional cleanup of EDS and vcard backends. Provided by
2323 Austin Henry <ahenry@users.sourceforge.net>.
2325 2005-10-24 Jim Evins <evins@snaught.com>
2329 * src/merge-evolution.c:
2330 * src/merge-evolution.h:
2331 * src/merge-init.c: (gl_merge_init):
2332 * src/merge-properties-dialog.c: (type_changed_cb):
2333 * src/merge-vcard.c:
2334 * src/merge-vcard.h:
2335 * src/ui-commands.c: (gl_ui_cmd_help_about):
2336 Added Evolution Data Server and VCard merge backends. Original patch
2337 provided by Austin Henry <ahenry@users.sourceforge.net>.
2339 Only support EDS and VCard backends if libebook is installed. Allow
2340 user to disable support, even if installed.
2342 2005-10-24 Jim Evins <evins@snaught.com>
2345 * data/templates/avery-iso-templates.xml:
2346 * data/templates/avery-us-templates.xml:
2347 * data/templates/misc-iso-templates.xml:
2348 * data/templates/zweckform-iso-templates.xml:
2349 Collected all template changes and submissions since last
2352 2005-10-23 Jim Evins <evins@snaught.com>
2355 * data/mime/Makefile.am:
2356 Added configure options to disable update-mime-database and
2357 update-desktop-database as part of the install. Patch
2358 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2360 2005-10-23 Jim Evins <evins@snaught.com>
2363 * libglabels/xml.c: (gl_xml_get_prop_string),
2364 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2365 (gl_xml_is_node), (gl_xml_get_node_content):
2366 Added new XML utility functions.
2367 * libglabels/xml-paper.c:
2368 * libglabels/xml-template.c:
2370 Cleanup by using new xml utilities created above.
2371 * libglabels/paper.c: (gl_paper_free):
2372 * src/file.c: (new_response):
2373 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2374 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2375 (gl_pixbuf_cache_get_pixbuf):
2376 * src/ui-property-bar.c:
2377 (gl_ui_property_bar_construct_color_combo):
2378 * src/view-highlight.c: (gl_view_highlight_finalize):
2379 * src/view-image.c: (update_object_from_editor_cb):
2380 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2381 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2382 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2383 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2384 (draw_markup_margin_round), (draw_markup_margin_cd),
2385 (draw_markup_margin_cd_bc):
2386 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2387 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2388 Plugged various memory leaks located with valgrind.
2389 * src/view-image.c: (update_canvas_item_from_object_cb):
2390 Don't allow a width or height of zero when drawing pixbuf.
2392 2005-10-22 Jim Evins <evins@snaught.com>
2394 * libglabels/xml-paper.c:
2395 * libglabels/xml-template.c:
2398 * src/bc-gnubarcode.c:
2399 * src/canvas-hacktext.c:
2401 * src/object-editor-data-page.c:
2402 * src/print-dialog.c:
2405 * src/template-designer.c:
2407 * src/ui-property-bar.c:
2409 * src/view-barcode.c:
2411 * src/view-ellipse.c:
2416 * src/wdgt-media-select.c:
2417 * src/xml-label-04.c:
2418 * src/xml-label-191.c:
2420 Modified to compile warning free with gcc-4.0. Mostly
2421 casting to change signedness of characters. Did not
2422 attack gnu-barcode library yet.
2424 2005-10-22 Jim Evins <evins@snaught.com>
2426 * src/glabels.c: (main):
2427 * src/splash.c: (gl_splash):
2428 Removed some small memory leaks.
2432 2005-09-19 Jim Evins <evins@snaught.com>
2434 * data/glade/property-bar.glade:
2435 Remove items from font_family_combo. This prevents the
2436 double entry after adding text model and list of fonts.
2437 * src/ui-property-bar.c: (reset_to_default_properties):
2438 Free font_family_list.
2440 2005-07-01 Jim Evins <evins@snaught.com>
2443 Updated italian translation (Daniele Medri)
2445 2005-06-26 Jim Evins <evins@snaught.com>
2447 * docs/libglabels/libglabels-decl-list.txt:
2448 Somehow never got checked in before.
2449 * docs/libglabels/libglabels.types:
2450 Removed -- don't need it afterall.
2452 2005-06-20 Jim Evins <evins@snaught.com>
2455 Final prep for 2.1.1 release.
2457 2005-06-20 Jim Evins <evins@snaught.com>
2460 Final preps for 2.1.1 release.
2461 * docs/libglabels/libglabels.types:
2462 Somehow never got checked in before.
2464 Bring up-to-date with recent reorg of ui code.
2467 2005-06-19 Jim Evins <evins@snaught.com>
2469 * src/template-designer.c: (construct_layout_page):
2470 Removed attempt to match background color of mini preview widget to
2473 2005-06-17 Jim Evins <evins@snaught.com>
2475 * help/C/figures/merge-ex2-4.png:
2476 * help/C/glabels.xml:
2477 Fixed spelling error.
2479 2005-06-13 Jim Evins <evins@snaught.com>
2481 * help/C/figures/merge-ex1-1.png:
2482 * help/C/figures/merge-ex1-2.png:
2483 * help/C/figures/merge-ex1-3.png:
2484 * help/C/figures/merge-ex1-4.png:
2485 * help/C/figures/merge-ex2-1.png:
2486 * help/C/figures/merge-ex2-2.png:
2487 * help/C/figures/merge-ex2-3.png:
2488 * help/C/figures/merge-ex2-4.png:
2489 Added figures for document merge tutorial.
2490 * help/C/glabels.xml:
2491 Added document merge tutorial.
2493 2005-05-19 Jim Evins <evins@snaught.com>
2495 * data/glade/merge-properties-dialog.glade:
2496 Fixed irregular spacing.
2497 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2498 (gl_merge_properties_dialog_construct):
2499 Set outer padding and remove separator.
2501 2005-05-18 Jim Evins <evins@snaught.com>
2505 Removed glHigDialog class.
2506 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2507 (gl_file_properties), (create_properties_dialog_widgets):
2508 * src/prefs-dialog.h:
2509 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2510 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2511 * src/print-dialog.h:
2512 * src/prefs-dialog.h:
2513 * src/print-dialog.c: (gl_print_dialog_get_type),
2514 (gl_print_dialog_init), (gl_print_dialog_construct):
2515 Replaced all instances of glHigDialog with GtkDialog.
2517 2005-05-17 Jim Evins <evins@snaught.com>
2521 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2522 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2523 (save_as_response), (gl_file_close):
2524 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2526 2005-05-15 Jim Evins <evins@snaught.com>
2528 * src/ui-commands.h:
2536 A little code reformatting -- no functional changes.
2538 2005-05-14 Jim Evins <evins@snaught.com>
2541 Removed obsolete macros.
2543 Added marshalling template to support new view signal: "context_menu_activate."
2545 * src/view.c: (gl_view_class_init), (gl_view_construct),
2546 (canvas_event_arrow_mode):
2547 - Removed hardcoded context menus and added new signal "context_menu_activate"
2548 to push this up to the uimanager.
2549 - Removed merge properties and print dialogs so that they can be managed with
2550 the window by the uimanager.
2551 * src/merge-properties-dialog.h:
2552 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2553 (gl_merge_properties_dialog_construct):
2554 Changed calling convention of gl_merge_properties_dialog_new() to use
2555 glLabel and GtkWindow instead of view to make more consistent with other
2557 * src/print-dialog.h:
2558 * src/print-dialog.c: (gl_print_dialog_new),
2559 (gl_print_dialog_construct):
2560 Removed last artifact of libbonoboui.
2561 * src/ui-commands.c: (gl_ui_cmd_file_print),
2562 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2563 Reconciled style for launching dialogs.
2564 * src/ui.c: (gl_ui_new):
2565 Added context menus to ui manager.
2566 * src/view-object.c: (item_event_arrow_mode):
2567 No longer try to select objects with right-click.
2569 * src/window.c: (gl_window_init), (gl_window_set_label),
2570 (context_menu_activate_cb):
2571 Context menus and all dialogs are now managed in a consistent way in window
2574 2005-05-11 Jim Evins <evins@snaught.com>
2577 * src/window.c: (gl_window_init), (gl_window_destroy):
2578 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2579 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2580 Moved management of recent_view back from window.c to ui.c -- it just feels
2583 2005-05-10 Jim Evins <evins@snaught.com>
2586 * src/window.c: (gl_window_init):
2588 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2589 (menu_item_select_cb), (menu_item_deselect_cb):
2590 Added GtkStatusbar which displays menu tooltips.
2592 2005-05-09 Jim Evins <evins@snaught.com>
2594 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2599 Removed dependencies on libbonoboui.
2601 * data/ui/Makefile.am:
2602 * data/ui/glabels-ui.xml:
2603 Removed data/ui directory.
2604 * data/glade/Makefile.am:
2605 * data/property-bar.glade:
2606 Added glade description of property-bar for new libglade implementation
2613 * src/ui-commands.h:
2614 * src/ui-commands.c:
2615 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2616 since the distinction between "commands" and "tools" is no longer that clear.
2619 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2620 no longer has knowledge of eggRecent*.
2621 * src/glabels.c: (main):
2622 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2624 * src/object-editor.c: (gl_object_editor_init):
2625 Make sure notebook does not respond to a "show_all" on the parent.
2626 * src/recent-files/Makefile.am:
2627 * src/recent-files/*.[ch]
2628 Updated from latest version of libegg which now has a view based on
2629 GtkUIManager. Removed unused bonobo and gtk views.
2630 * src/ui-property-bar.h:
2631 * src/ui-property-bar.c:
2632 New implementation based on libglade.
2635 Sidebar is now simply a GtkWidget and does not expect to be a part of
2636 a libbonoboui interface.
2641 Converted for use with GtkUIManager.
2644 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2645 to create menus and toolbars.
2647 2005-04-25 Jim Evins <evins@snaught.com>
2649 * data/templates/misc-iso-templates.xml:
2650 Added Fellows 04715 template provided by Steve Saxon.
2652 Updated acknowledgement for above.
2654 2005-04-23 Jim Evins <evins@snaught.com>
2656 * src/util.c: (gl_util_combo_box_set_strings):
2657 Make sure to clear model before loading a new list of strings.
2658 * src/wdgt-media-select.h:
2659 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2660 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2661 (template_combo_changed_cb), (prefs_changed_cb),
2662 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2663 (gl_wdgt_media_select_get_page_size),
2664 (gl_wdgt_media_select_set_page_size):
2665 Replaced the deprecated GtkCombo widget with the new
2668 2005-04-21 Jim Evins <evins@snaught.com>
2670 * data/glade/template-designer.glade:
2671 * src/template-designer.c: (construct_pg_size_page),
2672 (pg_size_page_changed_cb), (build_template):
2673 Replaced the deprecated GtkCombo widget with the new
2676 2005-04-20 Jim Evins <evins@snaught.com>
2678 * data/glade/prefs-dialog.glade:
2679 * src/prefs-dialog.c: (construct_object_page),
2680 (update_object_page_from_prefs), (update_prefs_from_object_page):
2681 Replaced the deprecated GtkCombo widget with the new
2684 2005-04-19 Jim Evins <evins@snaught.com>
2686 * data/glade/object-editor.glade:
2687 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2688 (style_changed_cb), (gl_object_editor_set_bc_style),
2689 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2690 (gl_object_editor_get_bc_color):
2691 * src/object-editor-data-page.c:
2692 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2693 (gl_object_editor_get_data):
2694 * src/object-editor-edit-page.c:
2695 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2696 * src/object-editor-fill-page.c:
2697 (gl_object_editor_prepare_fill_page),
2698 (gl_object_editor_set_fill_color),
2699 (gl_object_editor_get_fill_color):
2700 * src/object-editor-image-page.c:
2701 (gl_object_editor_prepare_image_page),
2702 (gl_object_editor_set_image), (gl_object_editor_get_image):
2703 * src/object-editor-line-page.c:
2704 (gl_object_editor_prepare_line_page),
2705 (gl_object_editor_set_line_color),
2706 (gl_object_editor_get_line_color):
2707 * src/object-editor-private.h:
2708 * src/object-editor-text-page.c:
2709 (gl_object_editor_prepare_text_page),
2710 (gl_object_editor_set_font_family),
2711 (gl_object_editor_get_font_family),
2712 (gl_object_editor_set_text_color),
2713 (gl_object_editor_get_text_color):
2714 * src/object-editor.c: (gl_object_editor_set_key_names):
2716 In the object editor: replaced all instances of the deprecated
2717 GtkCombo widget with the new GtkComboBox.
2719 2005-04-18 Jim Evins <evins@snaught.com>
2722 Neglected to save this one in previous checkin to support
2725 2005-04-17 Jim Evins <evins@snaught.com>
2727 * libglabels/libglabels-private.h:
2728 * libglabels/paper.c:
2729 * libglabels/paper.h:
2730 * libglabels/template.c:
2731 * libglabels/template.h:
2732 * libglabels/xml-paper.c:
2733 * libglabels/xml-paper.h:
2734 * libglabels/xml-template.c:
2739 * src/bc-gnubarcode.c:
2750 * src/label-barcode.c:
2752 * src/label-ellipse.c:
2753 * src/label-image.c:
2754 * src/label-image.h:
2756 * src/label-object.c:
2760 * src/merge-properties-dialog.c:
2761 * src/object-editor-bc-page.c:
2762 * src/object-editor-data-page.c:
2763 * src/object-editor-edit-page.c:
2764 * src/object-editor-fill-page.c:
2765 * src/object-editor-image-page.c:
2766 * src/object-editor-line-page.c:
2767 * src/object-editor-lsize-page.c:
2768 * src/object-editor-position-page.c:
2769 * src/object-editor-private.h:
2770 * src/object-editor-size-page.c:
2771 * src/object-editor-text-page.c:
2772 * src/object-editor.c:
2773 * src/object-editor.h:
2774 * src/pixbuf-cache.h:
2775 * src/prefs-dialog.c:
2776 * src/prefs-dialog.h:
2777 * src/prefs-model.c:
2778 * src/prefs-model.h:
2780 * src/print-dialog.c:
2781 * src/print-dialog.h:
2789 * src/template-designer.c:
2790 * src/template-designer.h:
2793 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2799 * src/view-barcode.c:
2801 * src/view-ellipse.c:
2802 * src/view-highlight.c:
2803 * src/view-highlight.h:
2806 * src/view-object.c:
2807 * src/view-object.h:
2811 * src/wdgt-chain-button.c:
2812 * src/wdgt-media-select.c:
2813 * src/wdgt-media-select.h:
2814 * src/wdgt-mini-preview.c:
2815 * src/wdgt-mini-preview.h:
2816 * src/wdgt-print-copies.c:
2817 * src/wdgt-print-copies.h:
2818 * src/wdgt-print-merge.c:
2819 * src/wdgt-print-merge.h:
2820 * src/wdgt-rotate-label.c:
2821 * src/wdgt-rotate-label.h:
2824 * src/xml-label-04.c:
2825 * src/xml-label-191.c:
2827 Cleanup of header files:
2828 - all header files are now stand-alone, verified by including
2829 first in corresponding "c" files
2830 - replaced blanket includes of gnome, gtk, and glib with
2833 2005-04-16 Jim Evins <evins@snaught.com>
2835 * data/glade/Makefile.am:
2836 * data/glade/merge-properties-dialog.glade:
2837 Added merge properties dialog glade description file.
2838 * src/merge-properties-dialog.h:
2839 * src/merge-properties-dialog.c:
2840 (gl_merge_properties_dialog_get_type),
2841 (gl_merge_properties_dialog_init),
2842 (gl_merge_properties_dialog_finalize),
2843 (gl_merge_properties_dialog_new),
2844 (gl_merge_properties_dialog_construct), (type_changed_cb),
2845 (src_changed_cb), (response_cb), (load_tree),
2846 (record_select_toggled_cb), (select_all_button_clicked_cb),
2847 (unselect_all_button_clicked_cb):
2848 Modified merge properties dialog to use libglade. Added
2849 "select all" and "unselect all" buttons.
2850 * src/merge-text.c: (parse_line):
2851 Handle empty lines better.
2852 * src/merge.c: (gl_merge_eval_key):
2853 Evaluate the key whether the record is selected or not.
2855 * src/util.c: (gl_util_combo_box_add_text_model):
2856 Since libglade does not use the gtk_combo_box_new_text()
2857 constructor for GtkComboBoxes, a utility function was created
2858 to add an appropriate text model to a GtkComboBox.
2859 * src/view.c: (gl_view_edit_merge_props):
2860 Removed unnecessary "show all's".
2862 2005-04-15 Jim Evins <evins@snaught.com>
2865 Updated russian translation (Vitaly Lipatov)
2866 * data/templates/misc-iso-templates.xml:
2867 Added templates for russian business cards provided by Vitaly Lipatov.
2869 Updated acknowledgements for above.
2871 2005-04-15 Jim Evins <evins@snaught.com>
2873 * data/templates/avery-us-templates.xml:
2874 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2875 * data/templates/misc-iso-templates.xml:
2876 Added Ryman standard CD/DVD template, provided by Dan Clark.
2878 Added acknowledgements for above.
2880 2005-04-10 Jim Evins <evins@snaught.com>
2882 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2883 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2884 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2885 (xml_parse_label_cd_node), (xml_parse_alias_node):
2886 * libglabels/xml.c: (gl_xml_get_prop_double),
2887 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2888 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2889 * src/xml-label-04.c: (xml04_parse_media_description),
2890 (xml04_parse_text_props), (xml04_parse_barcode_props),
2891 (xml04_parse_merge_properties):
2892 * src/xml-label-191.c: (xml191_parse_object),
2893 (xml191_parse_text_props), (xml191_parse_barcode_props),
2894 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2895 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2896 (xml191_parse_alias):
2897 * src/xml-label.c: (xml_parse_object_text),
2898 (xml_parse_object_barcode), (xml_parse_merge_fields),
2899 (xml_parse_pixdata), (xml_parse_toplevel_span):
2900 Make sure to use xmlFree for anything obtained from libxml
2901 in case libxml and glib use different memory management
2904 2005-04-08 Jim Evins <evins@snaught.com>
2907 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2908 (gl_util_combo_box_set_active_text):
2909 Added utility functions to simplify working with GtkComboBox
2911 * src/ui-property-bar.h:
2912 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2913 (reset_to_default_properties), (update_text_properties),
2914 (font_family_changed_cb):
2915 Replaced deprecated GtkCombo with GtkComboBox.
2918 2005-04-03 Jim Evins <evins@snaught.com>
2921 * src/wdgt-image-select.h:
2922 * src/wdgt-image-select.c:
2923 Removed obsolete wdgt-image-select.[ch] files.
2924 * libglabels/paper.c: (gl_paper_dup):
2925 Fixed rename of parameter introduced during documentation
2927 * data/glade/object-editor.glade:
2928 * src/object-editor-image-page.c:
2929 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2930 (gl_object_editor_set_image), (gl_object_editor_get_image),
2931 (update_preview_cb), (add_image_filters_to_chooser):
2932 * src/object-editor-private.h:
2933 Replaced deprecated GnomePixmapEntry with
2934 GtkFileChooserButton.
2936 2005-04-02 Jim Evins <evins@snaught.com>
2938 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2939 (mygal_combo_box_popup_hide_unconditional),
2940 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2941 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2942 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2943 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2944 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2945 Renamed all internal gtk_combo functions to mygal_combo
2946 to prevent namespace confusion.
2948 2005-04-02 Jim Evins <evins@snaught.com>
2950 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2951 (cust_color_set), (color_palette_setup):
2952 * src/mygal/color-palette.h:
2953 Replaced deprecated GnomeColorPicker with GtkColorButton.
2955 2005-04-02 Jim Evins <evins@snaught.com>
2957 * docs/libglabels/libglabels-sections.txt:
2958 * docs/libglabels/libglabels-undocumented.txt:
2959 * docs/libglabels/tmpl/enums.sgml:
2960 * docs/libglabels/tmpl/paper.sgml:
2961 * docs/libglabels/tmpl/xml-paper.sgml:
2962 * docs/libglabels/tmpl/xml-template.sgml:
2963 * libglabels/enums.h:
2964 * libglabels/paper.c: (gl_paper_dup):
2965 * libglabels/paper.h:
2966 * libglabels/xml-paper.c:
2967 * libglabels/xml-template.c:
2968 More documentation updates for libglabels.
2970 2005-03-23 Jim Evins <evins@snaught.com>
2973 Automatically updated.
2978 * docs/libglabels/Makefile.am:
2979 * docs/libglabels/libglabels-docs.sgml:
2980 * docs/libglabels/libglabels-sections.txt:
2981 * docs/libglabels/libglabels-undocumented.txt:
2982 * docs/libglabels/tmpl/enums.sgml:
2983 * docs/libglabels/tmpl/libglabels-unused.sgml:
2984 * docs/libglabels/tmpl/libglabels.sgml:
2985 * docs/libglabels/tmpl/paper.sgml:
2986 * docs/libglabels/tmpl/template.sgml:
2987 * docs/libglabels/tmpl/xml-paper.sgml:
2988 * docs/libglabels/tmpl/xml-template.sgml:
2989 * docs/libglabels/tmpl/xml.sgml:
2990 Added basic gtk-doc stuff to support documenting libglabels
2993 Updated function comments with gtk-doc markup.
2997 2005-03-22 Jim Evins <evins@snaught.com>
2999 Since the development version now requires gtk-2.6/gnome-2.10, I
3000 have made a first pass at removing deprecations.
3003 * libglabels/Makefile.am:
3005 Added configure option to turn on X_DISABLE_DEPRECATED flags.
3006 Also removed all remnants of HAVE_FILECHOOSER.
3007 * src/file.c: (gl_file_open_real):
3008 Removed code for old GtkFileSelection.
3009 * libglabels/libglabels-private.h:
3010 * libglabels/paper.c:
3011 * libglabels/template.c:
3012 * libglabels/xml-paper.c:
3013 * libglabels/xml-template.c:
3017 * src/glabels-batch.c:
3021 * src/merge-properties-dialog.c:
3023 * src/object-editor.c:
3024 * src/prefs-dialog.c:
3026 * src/print-dialog.c:
3029 * src/template-designer.c:
3030 * src/ui-property-bar.c:
3032 * src/view-barcode.c:
3034 * src/view-ellipse.c:
3039 * src/wdgt-image-select.c:
3040 * src/wdgt-media-select.c:
3041 * src/wdgt-print-copies.c:
3042 * src/wdgt-print-merge.c:
3043 * src/wdgt-rotate-label.c:
3045 * src/xml-label-04.c:
3046 * src/xml-label-191.c:
3048 Added '#include <glib/gi18n.h>" where needed.
3049 Removed any unused '#include <gnome.h>"s.
3051 2005-03-22 Jim Evins <evins@snaught.com>
3053 * src/commands.c: (activate_url), (gl_cmd_help_about):
3054 Replaced GnomeAbout with GtkAboutDialog. Therefore the
3055 development version of glabels now depends on GTK 2.6 and
3058 Updated library dependencies.
3060 2005-02-28 Jim Evins <evins@snaught.com>
3063 * data/templates/misc-iso-templates.xml:
3064 Added 'Ednet 45021' template provided by Ali Akcaagac
3067 2005-02-14 Jim Evins <evins@snaught.com>
3069 * data/templates/avery-us-templates.xml:
3070 Updated templates to use inches instead of points.
3071 * src/print-dialog.c: (printer_page_new):
3072 Changed packing style when adding printer selector widget. This fixes
3075 2005-02-13 Jim Evins <evins@snaught.com>
3079 Updated spanish translations. (sergio rivadero)
3081 2005-02-05 Jim Evins <evins@snaught.com>
3083 Some cleanup to libglabels.
3086 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
3087 * libglabels/libglabels.pc.in
3089 * libglabels/enums.h
3090 Created. Currently only contains glUnitsType which provides enumerations
3091 for all possible units of distance.
3092 * libglabels/Makefile.am:
3093 Incorporated new files enums.h and libglabels.pc[.in].
3094 * libglabels/libglabels.h:
3096 * libglabels/template.h:
3097 * libglabels/template.c: (gl_template_layout_new):
3098 Changed parameters nx and ny to gint from gdouble.
3100 * libglabels/xml.c: (gl_xml_get_prop_length),
3101 (gl_xml_set_prop_length), (gl_xml_set_default_units):
3102 Added support for different output units.
3103 * src/prefs-dialog.c: (update_locale_page_from_prefs),
3104 (update_prefs_from_locale_page):
3105 * src/prefs-model.c: (string_to_units), (units_to_string):
3106 * src/prefs-model.h:
3107 * src/prefs.c: (gl_prefs_get_units_per_point),
3108 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
3109 (gl_prefs_get_units_string):
3111 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
3112 Reconciled all length enumerations with the new enumerations provided
3113 in libglabels/enums.h.
3115 2005-02-03 Jim Evins <evins@snaught.com>
3118 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
3120 Updated Italian translations. (Daniele Medri)
3122 Updated credits to reflect above translations.
3125 2005-01-22 Jim Evins <evins@snaught.com>
3130 Added MESSAGE-OF-DOOM to EXTRA_DIST.
3132 Final prep for 2.1.0.
3134 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
3136 Added '--remove-original' flag to desktop-file-install, so that there is
3137 only one menu entry.
3139 2005-01-20 Jim Evins <evins@snaught.com>
3141 * data/glade/object-editor.glade:
3142 - Font family entry should not be editable.
3143 - img_key_entry should have sensitivity=YES, so that it follows the
3144 sensitivity of img_key_combo.
3146 2005-01-19 Jim Evins <evins@snaught.com>
3149 Give credit to Frederic Ruaudel for the color merge patches.
3151 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
3153 Add support to merge color for all other color attribute (Feature
3154 Requests item #1008635. If the data is invalid, the color used is transparent
3155 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3156 by gdk_color_parse() these include name for a color from rgb.txt, such as
3157 DarkSlateGray, or a hex specification such as #305050. File format has been
3158 changed but backward compatibility is preserved for all format. For
3159 box/ellipse/line, keep attribute "line_color" for static color or replace by
3160 "line_color_field" for merge data. For text/barcode objects, keep attribute
3161 "color" for static color or replace by "color_field" for merge data. In the
3162 edit canvas window, merged color are represented by half-transparent black
3165 * data/dtd/glabels-2.0.dtd:
3166 Added line_color_field to line_attrs. Added color_field to
3167 Object-barcode and Span.
3168 * data/glade/object-editor.glade:
3169 Modify the layout of the editor to add merge possibility to color options
3171 Fix a copy/paste error in a comment
3173 Add default color for merge color representation in the editor canvas.
3174 * src/label-barcode.c:
3175 * src/object-editor-bc-page.c:
3176 * src/view-barcode.c:
3177 Add merge color support for barcode color.
3180 Add merge color support for box border color.
3181 * src/label-ellipse.c:
3182 * src/view-ellipse.c:
3183 Add merge color support for ellipse border color.
3186 Add merge color support for line color.
3187 * src/label-object.c:
3188 * src/label-object.h:
3189 * src/object-editor.c:
3190 * src/object-editor.h:
3191 * src/ui-property-bar.c:
3194 * src/xml-label-04.c:
3195 * src/xml-label-191.c:
3196 Add support for merging to other color attribute.
3198 * src/object-editor-text-page.c:
3200 Add merge color support for text color.
3201 * src/object-editor-fill-page.c:
3202 Change a blocked handler that didn't match the good widget. Fix the type
3203 of some debug message.
3204 * src/object-editor-line-page.c:
3205 Add merging support to line color option.
3206 * src/object-editor-private.h:
3207 Add variables for new widget.
3209 Modify the draw functions to get merge data if needed.
3211 Change the default size of the window in order to see all widget in the
3212 "text style tab" of the editor.
3214 Modify the parser to record/retreive the field value for objects that need
3215 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
3216 static color or replace by "line_color_field" for merge data. For
3217 text/barcode objects, keep attribute "color" for static color or replace
3218 by "color_field" for merge data.
3220 2005-01-17 Jim Evins <evins@snaught.com>
3222 * src/view.c: (screen_changed_cb):
3223 Don't do anything if we don't have a screen.
3225 2005-01-06 Jim Evins <evins@snaught.com>
3227 * src/view.c: (get_home_scale):
3228 Fixed bad call to gtk_widget_has_screen() -- huh?.
3230 2005-01-06 Jim Evins <evins@snaught.com>
3232 * data/dtd/glabels-2.0.dtd:
3233 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
3236 2005-01-06 Jim Evins <evins@snaught.com>
3238 * data/glade/object-editor.glade:
3239 Set entries for fill and data field key dropdowns to NOT editable.
3240 * src/view-box.c: (construct_properties_editor):
3241 * src/view-ellipse.c: (construct_properties_editor):
3242 Update object editor when label's merge property has changed.
3243 * src/xml-label.c: (xml_parse_object_ellipse):
3244 Completed the merge color support for the ellipse item.
3246 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
3248 Add support to merge color for object that have a "Fill color" attribute (Feature
3249 Requests item #1008635. If the data is invalid, the color used is transparent
3250 (GL_COLOR_NONE). The format for color in merge data file are those accepted
3251 by gdk_color_parse() these include name for a color from rgb.txt, such as
3252 DarkSlateGray, or a hex specification such as #305050. File format has been
3253 changed but backward compatibility is preserved for all format. For box/ellipse,
3254 keep attribute "fill_color" for static color or replace by "fill_color_field"
3257 * data/glade/object-editor.glade:
3258 Modify "Fill" tab to add the merge key combo and convert the labels into
3262 Add "glColorNode" structure and associated functions to manage it. This
3263 structure is equivalent for color than the "glTextNode". It holds the color
3265 * src/label-object.h:
3266 * src/label-object.c:
3268 * src/label-ellipse.c:
3269 * src/ui-property-bar.c:
3273 * src/view-ellipse.c:
3274 * src/xml-label-04.c:
3275 * src/xml-label-191.c:
3276 Change functions of objects that have a "fill color" attribute to use the
3277 new "glColorNode" structure. Use barcode code as example.
3279 Add the color.[ch] file to glabels_batch binary that now need support for
3281 * src/object-editor.h:
3282 * src/object-editor.c:
3283 * src/object-editor-fill-page.c:
3284 Manage the new widget of the editor's "Fill" tab : key combo and radio button
3285 to choose between static color or merge key. Use barcode code as example.
3286 * src/object-editor-private.h:
3287 Add new widget in the "_glObjectEditorPrivate" structure.
3289 Modify the draw functions to get merge data if needed.
3291 Modify the parser to record/retreive the field value for objects that need
3292 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
3293 color or "fill_color_field" for merge data.
3295 2005-01-04 Jim Evins <evins@snaught.com>
3298 * data/templates/avery-iso-templates.xml:
3299 * data/templates/misc-iso-templates.xml:
3300 * data/templates/misc-us-templates.xml:
3301 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
3304 2004-11-26 Jim Evins <evins@snaught.com>
3308 Updated french translations provided by Florent Morel <florent@taket.org>.
3309 * src/view-barcode.c:
3311 * src/view-ellipse.c:
3315 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3316 thus _() strings were not being translated.
3318 2004-11-14 Jim Evins <evins@snaught.com>
3321 * src/debug.c: (gl_debug_init), (gl_debug):
3322 Borrowed from gedit: use environmental variables to select debug
3325 Removed unused include of debug.h.
3326 * src/glabels.c: (main):
3327 Added call to gl_debug_init(), and removed debug clutter from command line
3329 * src/glabels-batch.c: (main):
3330 Added call to gl_debug_init().
3332 2004-11-13 Jim Evins <evins@snaught.com>
3334 Drawing and property toolbars were being initialized with the "icons and text"
3335 look in Fedora Core 3. Even though none of the buttons had any text attached to
3336 them, the buttons were being sized as if they were. This led to less real estate
3337 for the property editor, leading to Bug #1064630. The
3339 * data/ui/glabels-ui.xml:
3340 Added explicit "look" property to both drawing and property toolbars.
3341 * src/prefs-model.c: (gl_prefs_model_save_settings),
3342 (gl_prefs_model_load_settings):
3343 * src/prefs-model.h:
3344 Removed drawing_toolbar_button_style configuration parameter.
3345 * src/ui.c: (view_menu_item_toggled_cb),
3346 (set_app_drawing_toolbar_style):
3347 Do not attempt to adjust look property of the drawing toolbar.
3349 2004-10-28 Jim Evins <evins@snaught.com>
3351 * data/pixmaps/glabels-about-logo.png:
3354 2004-10-28 Jim Evins <evins@snaught.com>
3356 * data/man/glabels.1:
3357 * src/glabels-batch.c: (main):
3359 * src/print.c: (gl_print_batch):
3361 Added option to glabels-batch to select the first label to begin
3364 2004-09-26 Jim Evins <evins@snaught.com>
3366 * data/desktop/glabels.desktop.in:
3367 Point to app icon, "glabels.png"
3368 * data/mime/glabels.keys.in:
3369 Point at mime icon, "glabels-application-x-glabels.png"
3370 * data/pixmaps/Makefile.am:
3371 Added glabels_app_icondir. Renamed icons.
3372 * data/pixmaps/glabels.png:
3373 New cleaned up app icon. Deleted glabels-icon.png.
3374 * data/pixmaps/glabels-application-x-glabels.png:
3376 * data/pixmaps/glabels-splash.png:
3377 Renamed glabels-logo to glabels-splash to be more correct about role.
3379 * src/template-designer.c:
3380 Point at app icon, "glabels.png"
3382 Point at renamed splash image, "glabels-splash.png"
3384 2004-08-22 Jim Evins <evins@snaught.com>
3387 * src/glabels-batch.c: (main):
3388 Applied patch with minor mods to allow selecting merge source and
3389 crop-marks on glabels-batch's command line. Original patch provided by
3390 José Dapena Paz <jdapena@igalia.com>.
3392 2004-08-15 Jim Evins <evins@snaught.com>
3394 * data/desktop/glabels.desktop.in:
3395 - Added encoding line
3396 - Removed period from comment
3397 - Fixed Terminal line, changed "0" to "false"
3398 - Added semicolen to Categories line
3400 - Made sure desktop.in comment string above still translated properly
3402 2004-08-14 Jim Evins <evins@snaught.com>
3404 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3405 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3406 * src/xml-label-191.c: (xml191_parse_sheet):
3407 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3409 Reconciled libglabels versioning with 2.0.1.
3412 2004-08-14 Jim Evins <evins@snaught.com>
3415 Updated version to 2.1cvs.
3417 2004-08-14 Jim Evins <evins@snaught.com>
3420 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3422 2004-08-14 Jim Evins <evins@snaught.com>
3424 Fixes for Bug #1008181.
3426 * src/bc.c: (gl_barcode_default_digits):
3427 Make a format of zero digits, harmless.
3428 * src/xml-label.c: (xml_parse_object_barcode):
3429 Set default value of the format property of barcode objects to 10, not
3430 zero. This will prevent crashes when reading pre 2.0.x files.
3432 2004-08-09 Jim Evins <evins@snaught.com>
3436 * help/C/glabels-C.omf:
3437 * help/C/glabels.xml:
3438 Brought documentation up-to-date for 2.0.0 release.
3440 2004-08-09 Jim Evins <evins@snaught.com>
3442 These are hopefully the final preparations for 2.0.0.
3444 * data/mime/Makefile.am:
3445 Include glabels.xml in EXTRA_DIST.
3447 - Updated comment style.
3448 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3449 - Added package and version info to configuration printout
3450 - Update version to 2.0.0
3451 * libglabels/Makefile.am:
3452 Use the new LIBGLABELS_VERSION_INFO macro.
3454 2004-08-09 Jim Evins <evins@snaught.com>
3458 Cleanup of required library macros.
3460 2004-08-08 Jim Evins <evins@snaught.com>
3464 - More specific of what to install in /usr/bin and /usr/lib
3465 - Remove built mime registration files from staging directory
3467 2004-08-08 Jim Evins <evins@snaught.com>
3469 * data/mime/Makefile.am:
3470 Fixed typo: key_files should have been keys_files.
3472 2004-08-08 Jim Evins <evins@snaught.com>
3474 Reorganization of runtime data files. Also added registration of mimetype with
3475 new freedesktop.org mime database if available.
3478 Moved files to appropriate subdirectories, creating local Makefile.am
3479 in each subdirectory.
3480 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3481 These are now installed at $datadir/glabels/templates.
3482 - Moved glabels.1 to man subdirectory.
3483 - Moved glabels-2.0.dtd to dtd subdirectory.
3484 - Moved glabels.desktop.in to desktop subdirectory.
3485 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3487 Moved "./pixmaps" to "./data/pixmaps"
3489 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3491 Moved libglade files from src to data/glade. Created Makefile.am.
3493 Removed pixmaps from SUBDIRS.
3495 - Removed pixmaps from makefiles.
3496 - Added makefiles for new subdirs of data.
3497 - Added tests for freedesktop.org mime database.
3499 - Added tests for freedesktop.org mime database for post install and
3500 post un-install actions.
3501 * libglabels/Makefile.am:
3502 Moved system template files to $(datadir)/glabels/templates.
3503 * libglabels/libglabels-private.h:
3504 Moved system template files to $(datadir)/glabels/templates.
3506 - Accounted for movement of ui and libglade files.
3507 - Added missing .in files.
3508 - Reorganized by directory.
3510 Accounted for movement of ui and libglade files.
3511 * data/mime/glabels.xml.in:
3512 New file for registering with freedesktop.org mime database.
3514 2004-08-07 Jim Evins <evins@snaught.com>
3516 * src/recent-files/*:
3517 Re-synced to latest libegg/recent-files.
3519 2004-08-07 Jim Evins <evins@snaught.com>
3524 Renamed "./doc" directory to "./help" which contains user documentation,
3525 to be more consistent with other GNOME applications.
3528 2004-07-26 Jim Evins <evins@snaught.com>
3530 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3531 Corrected button order of merge properties dialog.
3533 2004-07-18 Jim Evins <evins@snaught.com>
3535 * data/glabels-2.0.dtd:
3536 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3537 (gl_barcode_get_prefered_n):
3539 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3540 (gl_label_barcode_get_props), (get_size):
3541 * src/label-barcode.h:
3542 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3543 (style_changed_cb), (gl_object_editor_set_bc_style),
3544 (gl_object_editor_get_bc_style):
3545 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3546 (gl_object_editor_set_data), (gl_object_editor_get_data):
3547 * src/object-editor-private.h:
3548 * src/object-editor.c: (gl_object_editor_set_key_names):
3549 * src/object-editor.glade:
3550 * src/object-editor.h:
3551 * src/print.c: (draw_barcode_object):
3552 * src/view-barcode.c: (update_object_from_editor_cb),
3553 (update_editor_from_object_cb),
3554 (gl_view_barcode_create_event_handler), (draw_barcode):
3555 * src/xml-label-04.c: (xml04_parse_barcode_props):
3556 * src/xml-label-191.c: (xml191_parse_barcode_props):
3557 * src/xml-label.c: (xml_parse_object_barcode),
3558 (xml_create_object_barcode):
3559 Added "format" attribute to barcode objects. This attribute is used
3560 to properly format freeform barcodes barcodes prior to merge data is
3561 applied, so that barcodes can be accurately layed out. This addresses
3562 remaining issues of feature request #824787. Also added an example of
3563 the format in the object editor.
3565 2004-07-12 Jim Evins <evins@snaught.com>
3567 Various code cleanups.
3569 * src/label-barcode.c:
3570 Removed unneeded include of gnome-glyphlist.h.
3572 * src/label-text.c: (get_size):
3573 Fixed memory leak: unref glyphlists when done with them.
3575 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3576 * src/object-editor-data-page.c:
3577 (gl_object_editor_prepare_data_page):
3578 * src/object-editor-image-page.c:
3579 (gl_object_editor_prepare_image_page):
3580 * src/object-editor-line-page.c:
3581 (gl_object_editor_prepare_line_page):
3582 * src/object-editor-lsize-page.c:
3583 (gl_object_editor_prepare_lsize_page):
3584 * src/object-editor-position-page.c:
3585 (gl_object_editor_prepare_position_page):
3586 * src/object-editor-size-page.c:
3587 (gl_object_editor_prepare_size_page):
3588 * src/object-editor-text-page.c:
3589 (gl_object_editor_prepare_text_page):
3590 Removed unneeded size groups, originally intended to keep widgets aligned.
3591 Now use tables to lay these out in object-editor.glade.
3593 * src/print.c: (draw_text_object):
3594 Fixed memory leak: unref glyphlists when done with them.
3596 * src/view-barcode.c: (draw_barcode):
3597 Fixed memory leak: unref glyphlists when done with them.
3599 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3600 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3602 - Fixed memory leak: unref glyphlists when done with them.
3604 2004-07-11 Jim Evins <evins@snaught.com>
3606 * data/glabels-2.0.dtd:
3607 * src/label-text.c: (gl_label_text_instance_init), (copy),
3608 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3610 * src/object-editor-private.h:
3611 * src/object-editor-text-page.c:
3612 (gl_object_editor_prepare_text_page),
3613 (gl_object_editor_set_text_auto_shrink),
3614 (gl_object_editor_get_text_auto_shrink):
3615 * src/object-editor.c: (gl_object_editor_set_key_names):
3616 * src/object-editor.glade:
3617 * src/object-editor.h:
3618 * src/print.c: (draw_text_object):
3619 * src/view-text.c: (update_object_from_editor_cb),
3620 (update_editor_from_object_cb):
3621 * src/xml-label.c: (xml_parse_object_text),
3622 (xml_create_object_text):
3623 Added option to allow document merge to auto shrink text size to fit
3624 within the text box. The code in print.c that actually shrinks the
3625 text is loosely based on a patch submitted by Mark Harrison
3626 <mark.harrison@velocitynet.com.au>. This addresses feature request
3629 2004-07-11 Jim Evins <evins@snaught.com>
3631 * data/glabels-2.0.dtd:
3632 * libglabels/template.c: (gl_template_rect_label_type_new),
3633 (gl_template_round_label_type_new),
3634 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3635 (template_full_page):
3636 * libglabels/template.h:
3637 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3638 (xml_create_label_node):
3639 * pixmaps/ex-rect-size.png:
3640 * src/print.c: (clip_to_outline), (clip_punchouts):
3641 * src/template-designer.c: (construct_rect_size_page),
3642 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3644 * src/template-designer.glade:
3645 * src/xml-label-191.c: (xml191_parse_label):
3646 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3647 properties for rectangular labels. Templates remain backwards compatible,
3648 but this breaks the libglabels API (I don't know of anyone outside of
3649 glabels using libglabels at this time -- what can I say, the program is
3650 is still "unstable"). This addresses the suggestion in Feature Request
3653 2004-07-05 Jim Evins <evins@snaught.com>
3654 * src/print.c: (print_crop_marks), (draw_outline):
3655 Changed crop marks and label outlines to black, instead of 25% gray.
3656 This addresses debian Bug #257460.
3658 2004-07-05 Jim Evins <evins@snaught.com>
3660 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3661 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3662 Preserve "is_default" of fill and line color_combos when creating from
3665 2004-07-02 Jim Evins <evins@snaught.com>
3668 Created man page. Based on page submitted by Matthew J. Lockner, however
3669 it has been severely edited.
3671 * data/avery-other-templates.xml
3672 * data/misc-other-templates.xml:
3673 Started new files for predefined templates with non-standard sheet sizes.
3674 These have been initially populated with the Avery 06141 and
3675 OfficeMax #86112, both provided by Matthew J. Lockner.
3678 Install above manpage and template files.
3681 Make sure we install man pages.
3683 * src/glabels-batch.c:
3684 Changed short form of help option to '-?' to be consistent with glabels.
3687 Added acknowledgement for above labels.
3689 2004-07-02 Jim Evins <evins@snaught.com>
3691 * src/glabels.c: (main), (save_session_cb):
3692 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3694 - save_session_cb() now returns gboolean.
3695 - Minor formatting changes.
3699 - Now include file.h to provide missing prototype.
3700 - gl_window_get_type() now returns GType, not guint. I believe this may
3701 ultimately be cause of the segfault reported in Bug #982287, since
3702 GType is actually a gulong, which may not be compatible on other
3703 architectures (64bit) -- I cannot personally test this at this time.
3704 I was sloppy in several other xxx_get_type() functions which also
3705 returned guint -- see next group of files:
3707 * src/window.c: (gl_window_get_type):
3708 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3709 * src/canvas-hacktext.h:
3710 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3711 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3712 (gl_hig_hbox_get_type):
3714 * src/label-barcode.c: (gl_label_barcode_get_type):
3715 * src/label-barcode.h:
3716 * src/label-box.c: (gl_label_box_get_type):
3718 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3719 * src/label-ellipse.h:
3720 * src/label-image.c: (gl_label_image_get_type):
3721 * src/label-image.h:
3722 * src/label-line.c: (gl_label_line_get_type):
3724 * src/label-object.c: (gl_label_object_get_type):
3725 * src/label-object.h:
3726 * src/label-text.c: (gl_label_text_get_type):
3728 * src/label.c: (gl_label_get_type):
3730 * src/merge-properties-dialog.c:
3731 (gl_merge_properties_dialog_get_type):
3732 * src/merge-properties-dialog.h:
3733 * src/merge-text.c: (gl_merge_text_get_type):
3735 * src/merge.c: (gl_merge_get_type):
3737 * src/object-editor.c: (gl_object_editor_get_type):
3738 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3739 * src/prefs-dialog.h:
3740 * src/prefs-model.c: (gl_prefs_model_get_type):
3741 * src/prefs-model.h:
3742 * src/print-dialog.c: (gl_print_dialog_get_type):
3743 * src/print-dialog.h:
3744 * src/template-designer.c: (gl_template_designer_get_type):
3745 * src/template-designer.h:
3746 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3747 * src/ui-property-bar.h:
3748 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3750 * src/view-barcode.c: (gl_view_barcode_get_type):
3751 * src/view-barcode.h:
3752 * src/view-box.c: (gl_view_box_get_type):
3754 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3755 * src/view-ellipse.h:
3756 * src/view-highlight.c: (gl_view_highlight_get_type):
3757 * src/view-highlight.h:
3758 * src/view-image.c: (gl_view_image_get_type):
3760 * src/view-line.c: (gl_view_line_get_type):
3762 * src/view-object.c: (gl_view_object_get_type):
3763 * src/view-object.h:
3764 * src/view-text.c: (gl_view_text_get_type):
3766 * src/view.c: (gl_view_get_type):
3768 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3769 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3770 * src/wdgt-image-select.h:
3771 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3772 * src/wdgt-media-select.h:
3773 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3774 * src/wdgt-mini-preview.h:
3775 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3776 * src/wdgt-print-copies.h:
3777 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3778 * src/wdgt-print-merge.h:
3779 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3780 * src/wdgt-rotate-label.h:
3781 - Made sure all xxx_get_type functions returned GType, not guint. This
3782 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3783 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3784 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3785 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3786 window.[ch] details above for more info.
3787 - Reconciled various coding style differences in all xxx_get_type()
3789 * All prototypes include G_GNUC_CONST.
3790 * All prototypes specify the return value as GType, not GtkType
3792 * Info structures are all declared as "static const."
3793 * Generalized the names of type and info variables.
3794 * Miscelaneous formatting.
3796 2004-06-08 Jim Evins <evins@snaught.com>
3802 Don't touch compression of original file -- still defaults to 9 for
3803 new files. Original patch provided by Javier Donaire Segarra
3804 (#912252 in patch tracker).
3806 2004-05-05 Jim Evins <evins@snaught.com>
3808 * data/glabels-2.0.dtd:
3809 Broke DTD previously when adding new barcode types that contain a
3810 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3811 to avoid the problem.
3812 * data/avery-iso-templates.xml:
3813 * data/zweckform-iso-templates.xml:
3815 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3816 provided by Frank Altpeter.
3817 * libglabels/xml-template.c: (xml_create_label_node):
3818 Reordered markup and layout sub-nodes so that resulting templates will
3819 validate against DTD.
3821 2004-03-13 Jim Evins <evins@snaught.com>
3823 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3824 Changed spin callback signals from "value-changed" back to "changed."
3825 This was accidentally introduced in a previous revision, and can cause
3826 size changes just by selecting the size tab.
3828 2004-03-06 Jim Evins <evins@snaught.com>
3830 * src/view.c: (draw_grid_layer):
3831 For round labels (round and cd) adjust grid so that it lines up with
3832 center of label. Also, no longer draw box around label in the grid layer,
3833 it is hidden by he fg layer anyway. Feature suggested by
3834 nemolivier@free.fr. Although the grid is aligned with the center of the
3835 label, the coordinate system is still relative to the upper left corner
3836 of the rectangle containing the label.
3838 2004-02-25 Jim Evins <evins@snaught.com>
3841 Changed version to 2.0pre1cvs
3843 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3844 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3845 instead of doc->name fields when errors encountered.
3847 2004-02-21 Jim Evins <evins@snaught.com>
3849 * data/avery-iso-templates.xml:
3850 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3853 Added libglabels library and include file to installed files.
3856 Final prep for 1.93.3.
3858 2004-02-20 Jim Evins <evins@snaught.com>
3860 * src/glabels-batch.c: (main):
3861 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3862 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3864 2004-02-16 Jim Evins <evins@snaught.com>
3867 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3870 Added HAVE_FILE_CHOOSER to INCLUDES.
3872 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3873 (gl_file_save_as), (save_as_response):
3874 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3876 2004-02-16 Jim Evins <evins@snaught.com>
3878 * src/xml-label-04.c: (xml04_parse_image_props):
3879 * src/xml-label-191.c: (xml191_parse_image_props):
3880 * src/xml-label.c: (xml_parse_object_image):
3881 Delay setting image size until after image has been applied to new
3884 2004-02-15 Jim Evins <evins@snaught.com>
3886 * src/label-barcode.c: (gl_label_barcode_set_data),
3887 (gl_label_barcode_set_props):
3888 Don't emit "changed" signal, if no change actually made for these
3889 methods. Reduces number of unnecessary redraws of barcodes.
3891 * src/label-object.h:
3892 * src/label-object.c: (gl_label_object_set_position),
3893 (gl_label_object_set_position_relative), (set_size),
3894 (gl_label_object_set_size),
3895 (gl_label_object_set_size_honor_aspect):
3896 Don't emit "changed" signal, if no change actually made for these
3899 2004-02-15 Jim Evins <evins@snaught.com>
3901 * data/glabels-2.0.dtd:
3902 Added specific subtypes for various barcode types.
3905 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3906 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3907 (gl_barcode_can_text), (gl_barcode_text_optional),
3908 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3909 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3910 Changed API to use a string id, rather than a fixed enumeration. Id and
3911 name are separate strings. Added entries to backend table for specific
3912 subtypes for various barcode types.
3915 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3917 Modified to conform to above API. Now more stringent with data length
3918 for various subtypes.
3920 * src/bc-gnubarcode.h:
3921 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3922 (is_length_valid), (is_length1_valid), (is_length2_valid):
3923 Modified to conform to above API. Now more stringent with data length
3924 for various subtypes.
3926 * src/label-barcode.h:
3927 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3928 (gl_label_barcode_get_props), (get_size):
3929 Modified to use above API for storing barcode type.
3931 * src/object-editor.h:
3932 * src/object-editor-bc-page.c: (style_changed_cb),
3933 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3934 Modified to use above API for storing barcode type.
3936 * src/object-editor-size-page.c:
3937 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3938 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3939 Added debug markers.
3941 * src/object-editor.glade:
3942 Made barcode style combo's text entry non-editable.
3944 * src/print.c: (draw_barcode_object):
3945 Modified to use above API for barcode type.
3947 * src/view-barcode.c: (update_object_from_editor_cb),
3948 (update_editor_from_object_cb),
3949 (gl_view_barcode_create_event_handler), (draw_barcode):
3950 Modified to use above API for barcode type.
3952 * src/xml-label-04.c: (xml04_parse_barcode_props):
3953 * src/xml-label-191.c: (xml191_parse_barcode_props):
3954 * src/xml-label.c: (xml_parse_object_barcode),
3955 (xml_create_object_barcode):
3956 Modified to use above API for barcode type.
3958 2004-02-07 Jim Evins <evins@snaught.com>
3960 * src/stock-pixmaps/Makefile.am:
3961 * src/stock-pixmaps/stock_hchain_24.png:
3962 * src/stock-pixmaps/stock_hchain_broken_24.png:
3963 * src/stock-pixmaps/stock_vchain_24.png:
3964 * src/stock-pixmaps/stock_vchain_broken_24.png:
3965 Added chain pixmaps borrowed from the gimp's default theme.
3968 * src/stock.c: (gl_stock_init), (add_button_icon):
3969 Added above pixmaps to stock icon sets. Created add_button_icon() to
3970 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3972 * src/wdgt-chain-button.h
3973 * src/wdgt-chain-button.c
3976 Added this Modified version of gimpchainbutton widget, borrowed from
3980 Added acknowledgements of the above borrowing from the gimp.
3982 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3984 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3985 * src/object-editor.glade:
3986 Replaced the keep aspect ratio check box with the above chain-button
3989 * src/text-node.c: (gl_text_node_equal):
3991 Added function gl_text_node_equal() to compare text_nodes.
3993 * src/label-image.c: (gl_label_image_set_filename):
3994 Replaced incomplete text_node comparison code with invocation of
3995 gl_text_node_equal. This fixed the problem of not being able to
3996 resize an image using the object_editor if the aspect ratio is not
3999 2004-02-04 Jim Evins <evins@snaught.com>
4001 * src/object-editor-image-page.c:
4002 (gl_object_editor_prepare_image_page):
4003 Track "changed" signal of pixmap entry's GtkEntry rather than its
4004 "activate" signal -- this catches all changes to the entry rather than
4005 just changes resulting from a browse, so one can easily pull previous
4006 entries from the history. (This change is marked below on 2004-02-03,
4007 but somehow never got checked in.)
4009 * src/view-highlight.c: (sl_resize_event_handler),
4010 (sr_resize_event_handler), (st_resize_event_handler),
4011 (sb_resize_event_handler):
4012 Side resize handles will now confirm the actual resize that the object
4013 accepted before adjusting position parameters. Previously some interesting
4014 things happened when resizing a barcode to its minimum size.
4016 2004-02-03 Jim Evins <evins@snaught.com>
4018 * src/object-editor-image-page.c:
4019 (gl_object_editor_prepare_image_page):
4020 Track "changed" signal of pixmap entry's GtkEntry rather than its
4021 "activate" signal -- this catches all changes to the entry rather than
4022 just changes resulting from a browse, so one can easily pull previous
4023 entries from the history.
4025 * src/view-highlight.c: (tl_resize_event_handler),
4026 (tr_resize_event_handler), (bl_resize_event_handler),
4027 (br_resize_event_handler):
4028 Allow control key to be dropped while dragging a corner resize handle
4029 without losing the aspect ratio lock.
4031 2004-02-02 Jim Evins <evins@snaught.com>
4033 * src/label-image.c: (gl_label_image_set_filename):
4034 When setting a new filename adjust size such that the aspect ratio of
4035 the image is preserved using the current size as a bounding box.
4037 * src/view-image.c: (update_object_from_editor_cb):
4038 When updating object from editor, feed back possible size changes to
4039 editor as a result of a possible change in image.
4041 * src/object-editor-size-page.c: (size_reset_cb):
4042 Fixed typo when blocking spin handlers. If the base size is larger than
4043 the max size, treat max size as a bounding box while keeping aspect
4047 2004-02-02 Jim Evins <evins@snaught.com>
4049 * src/label-object.h:
4050 * src/label-object.c: (gl_label_object_set_size),
4051 (gl_label_object_set_size_honor_aspect):
4052 Added gl_label_object_set_size_honor_aspect() which will maintain the
4053 current aspect ratio by modifying the supplied w or h apropriately.
4055 * src/view-highlight.c: (tl_resize_event_handler),
4056 (tr_resize_event_handler), (bl_resize_event_handler),
4057 (br_resize_event_handler):
4058 Corner handles will now maintain the current aspect ratio if the
4059 control key is pressed while resizing. This addresses feature
4063 2004-01-31 Jim Evins <evins@snaught.com>
4066 * data/avery-us-templates.xml:
4067 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
4069 * libglabels/template.c: (read_template_files_from_dir):
4070 Corrected problem with testing for extensions.
4072 * src/object-editor.glade:
4073 Corrected grouping of radio buttons in barcode data page.
4075 * src/print.c: (draw_barcode_object):
4076 * src/view-barcode.c: (draw_barcode):
4077 Corrected problem with calculation of y_offset for locating characters.
4079 2004-01-24 Jim Evins <evins@snaught.com>
4082 * data/avery-us-templates.xml:
4083 Added Avery 5824, submitted by Fred Bacon.
4085 2004-01-20 Jim Evins <evins@snaught.com>
4087 Catching up on a couple of backlogged user template submissions.
4089 * data/avery-iso-templates.xml:
4090 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
4091 Suggested by Linas Jakucionis.
4093 * data/zweckform-iso-templates.xml:
4094 Added Zweckform 4760, submitted by Thomas Vill.
4097 Updated to reflect above submissions.
4099 2004-01-06 Jim Evins <evins@snaught.com>
4101 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
4102 xml.[ch] into a separate library called libglabels, to facilitate third
4103 party use of glabels template files. This was suggested by Wayne Schuller.
4104 Once split-out, some modifications to the structures and functions to
4105 make a cleaner more useful API, hopefully. Rather extensive changes have
4106 propogated to other modules.
4114 * src/xml-template.h:
4115 * src/xml-template.c:
4118 These files have been moved to libglabels/. API cleanup performed.
4120 * libglabels/libglabels.h:
4121 * libglabels/libglabels-private.h:
4122 * libglabels/Makefile.am:
4123 These files have been added to finish out libglabels.
4130 Modified to reflect new sets of files in src/ and libglabels/.
4132 * COPYING.LIBGLABELS:
4134 Added copy of the LGPL for libglabels, and a copy the GFDL for
4137 * src/glabels-batch.c:
4139 * src/label.c: (gl_label_finalize), (gl_label_set_template),
4140 (gl_label_get_size):
4142 * src/prefs-model.c: (gl_prefs_model_load_settings):
4143 * src/print-dialog.c:
4144 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
4145 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
4146 (print_crop_marks), (print_label), (draw_outline),
4147 (clip_to_outline), (clip_punchouts):
4148 * src/template-designer.c: (construct_pg_size_page),
4149 (pg_size_page_changed_cb), (layout_page_changed_cb),
4150 (print_test_cb), (build_template):
4151 * src/util.c: (gl_util_fraction):
4153 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
4154 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
4155 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
4156 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
4157 (draw_markup_margin_round), (draw_markup_margin_cd),
4158 (draw_markup_margin_cd_bc), (draw_markup_line),
4159 (draw_markup_circle), (gl_view_copy):
4160 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
4161 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
4162 (get_label_size_desc):
4163 * src/wdgt-mini-preview.c:
4164 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
4166 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
4167 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
4168 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
4169 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
4170 * src/wdgt-rotate-label.h:
4171 * src/xml-label-04.c: (xml04_parse_media_description):
4172 * src/xml-label-191.c: (gl_xml_label_191_parse),
4173 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
4174 (xml191_parse_markup), (xml191_parse_alias):
4175 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
4177 Various changes to accomodate new libglabels API.
4179 2004-01-03 Jim Evins <evins@snaught.com>
4184 2004-01-03 Jim Evins <evins@snaught.com>
4187 Added acknowledgement of contributions by Wayne Schuller.
4189 * src/commands.c: (gl_cmd_file_print):
4190 Create extra reference to print dialog, so that it can be properly re-used.
4192 * src/mygal/mygal-combo-box.h:
4193 * src/mygal/mygal-combo-box.c:
4194 (mygal_combo_box_popup_hide_unconditional),
4195 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
4196 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
4197 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
4198 (mygal_combo_box_set_tearable):
4199 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
4200 complete the rename of this widget to prevent namespace collisions
4203 * src/prefs-dialog.glade:
4204 Fixed alignment of Fill/Color widgets.
4206 2004-01-03 Jim Evins <evins@snaught.com>
4208 * data/avery-iso-templates.xml:
4209 Added user submitted templates.
4210 Avery 8435A & 8435B, submitted by Ludger Solbach.
4212 * doc/C/glabels.xml:
4213 Added minimal documentation, noting the new template designer.
4215 2004-01-03 Jim Evins <evins@snaught.com>
4217 * pixmaps/ex-rect-size.png:
4218 * pixmaps/ex-round-size.png:
4219 * pixmaps/ex-cd-size.png:
4220 * pixmaps/Makefile.am:
4221 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
4222 files to be used as illustrations/examples in the template-designer.
4224 * src/template-designer.c: (construct_rect_size_page),
4225 (construct_round_size_page), (construct_cd_size_page),
4226 (construct_nlayouts_page), (rect_size_page_prepare_cb),
4227 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
4228 (layout_page_prepare_cb), (build_template):
4229 * src/template-designer.glade:
4230 Added illustrations for rectangle, round, and cd label size pages.
4231 Added margin spinboxes to these pages, and now add a margin markup
4232 to the constructed template. Added realistic default values for
4233 some of the size spinboxes. Cleaned up the code for setting spinbox
4234 ranges on the layouts page.
4236 2004-01-02 Jim Evins <evins@snaught.com>
4238 * src/object-editor-size-page.c: (h_spin_cb):
4239 Fixed cut-n-paste error in h_spin_cb that loaded h from
4240 the wrong spinbutton.
4242 * src/object-editor.h:
4243 * src/object-editor.c: (gl_object_editor_class_init),
4244 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
4245 * src/object-editor-private.h:
4246 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
4248 Added "size_changed" signal.
4250 * src/view-text.c: (construct_properties_editor),
4251 (update_object_from_editor_cb),
4252 (update_object_from_editor_size_cb):
4253 Track size changes from object editor separately from other
4254 properties. This is so the default size (0,0) of a text
4255 object is not modified unintentionally.
4257 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
4259 Added feature: line spacing - allows you to comfortably space a text box to
4260 fit a label perfectly.
4262 * data/glabels-2.0.dtd:
4263 * src/label-object.c: (gl_label_object_set_text_line_spacing),
4264 (gl_label_object_get_text_alignment),
4265 (gl_label_object_get_text_line_spacing):
4266 * src/label-object.h:
4267 * src/label-text.c: (gl_label_text_class_init),
4268 (gl_label_text_instance_init), (copy), (get_size),
4269 (set_text_line_spacing), (get_text_alignment),
4270 (get_text_line_spacing):
4271 * src/object-editor-private.h:
4272 * src/object-editor-text-page.c:
4273 (gl_object_editor_prepare_text_page),
4274 (gl_object_editor_set_text_line_spacing),
4275 (gl_object_editor_get_text_line_spacing):
4276 * src/object-editor.glade:
4277 * src/object-editor.h:
4278 * src/prefs-dialog.c: (construct_object_page),
4279 (update_object_page_from_prefs), (update_prefs_from_object_page):
4280 * src/prefs-dialog.glade:
4281 * src/prefs-model.c: (gl_prefs_model_save_settings),
4282 (gl_prefs_model_load_settings), (get_float):
4283 * src/prefs-model.h:
4284 * src/print.c: (draw_text_object):
4286 * src/view-text.c: (update_object_from_editor_cb),
4287 (update_editor_from_object_cb),
4288 (gl_view_text_create_event_handler), (draw_hacktext):
4289 * src/view.c: (gl_view_construct),
4290 (gl_view_set_selection_text_line_spacing),
4291 (gl_view_set_default_text_line_spacing),
4292 (gl_view_get_default_text_line_spacing):
4294 * src/xml-label.c: (xml_parse_toplevel_span),
4295 (xml_create_toplevel_span):
4297 2003-12-30 Jim Evins <evins@snaught.com>
4299 * src/template-designer.c:
4300 * src/template-designer.h:
4301 * src/template-designer.glade:
4302 New template designer assistant.
4306 Added entries for src/template-designer.* files.
4308 * pixmaps/ex-1layout.png
4309 * pixmaps/ex-2layouts.png
4310 * pixmaps/Makefile.am:
4311 Added the new image files ex-*.png used as illustrations in the
4312 template designer assistant.
4314 * src/print-dialog.h:
4315 * src/print-dialog.c: (gl_print_dialog_finalize),
4316 (gl_print_dialog_new), (gl_print_dialog_construct),
4317 (gl_print_dialog_force_outline_flag):
4318 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4319 to support printing from the template designer assistant which does not
4320 have a full-fledged view. Nothing else from the view object was being
4321 used by the dialog anyway.
4323 Added the gl_print_dialog_force_outline_flag() method, for better
4324 integration with the template designer assistant.
4328 * src/commands.c: (gl_cmd_file_template_designer),
4329 (gl_cmd_file_print):
4330 Modified print command to provide label instead of view to dialog.
4331 Added the gl_cmd_file_template_designer() command to invoke the
4332 template designer assistant.
4335 * src/glabels-ui.xml:
4336 Added support for template designer assistant.
4338 * src/wdgt-mini-preview.h:
4339 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4340 (gl_wdgt_mini_preview_set_bg_color):
4341 Preview is now centered in canvas. Added
4342 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4343 assistant to match the background color with its own.
4345 * src/print.c: (clip_to_outline):
4346 Fixed really stupid bug when adding waste to clip region of rectangular
4347 labels/cards. Each side of the clip region needs to be extended by
4348 twice the waste margin, as well as negatively offset by the waste
4351 2003-12-28 Jim Evins <evins@snaught.com>
4353 * src/prefs-dialog.c: (update_object_page_from_prefs):
4354 Block intermediary function align_toggle_cb() instead of
4355 update_prefs_from_object_page() for the three alignment
4358 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4360 * src/file.c: (gl_file_new), (gl_file_properties):
4361 Swap button order and set default for higificatory pleasure.
4363 2003-12-27 Jim Evins <evins@snaught.com>
4365 * barcode-0.98/Makefile.am:
4366 One last time: removed doc/Makefile and po/Makefile.in.in from
4369 2003-12-27 Jim Evins <evins@snaught.com>
4371 * barcode-0.98/Makefile.am:
4372 Removed config.stat entry from EXTRA_DIST files.
4374 * barcode-0.98/Makefile.in:
4377 2003-12-27 Jim Evins <evins@snaught.com>
4380 Updated to work with latest gnome-common package from CVS.
4381 Removed recursive configuration of barcode-0.98.
4388 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4390 * barcode-0.98/Makefile.in:
4391 * barcode-0.98/configure.in:
4392 * barcode-0.98/Makefile.am:
4393 * barcode-0.98/README.glabels:
4394 Modified to ignore the barcode package's build system, and build
4395 as a part of glabels.
4396 Renamed Makefile.in to Makefile.in.dist.
4397 Renamed configure.in to configure.in.dist.
4398 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4401 * src/mygal/Makefile.am:
4402 * src/recent-files/Makefile.am:
4403 In order to build against the GNOME 2.5 platform,
4404 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4406 * src/mygal/Makefile.am:
4407 * src/mygal/mygal-combo-box.c:
4408 * src/mygal/mygal-combo-box.h:
4409 * src/mygal/widget-color-combo.c:
4410 * src/mygal/widget-color-combo.h:
4412 In order to build against the GNOME 2.5 platform,
4413 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4414 collisions with the real gtk_combo_box widget, now a part of gtk.
4416 2003-12-26 Jim Evins <evins@snaught.com>
4422 Moved local versions of get_home_data_dir() in paper.c and
4423 template.c to util package. Cleaned up formatting in
4427 In gl_template_register() save a copy of the template in
4428 ~/.glabels if the template is not known. Still need to
4429 handle duplicate filename case and duplicate name but
4430 different template case.
4434 Moved local definition of NAME_SPACE macro from xml-label.c
4437 * src/xml-template.c:
4438 * src/xml-template.h:
4439 Added function gl_xml_template_write_template_to_file(), used
4440 in gl_template_register().