1 2008-02-04 Jim Evins <evins@snaught.com>
3 * src/view-image.c: (update_object_from_editor_cb):
4 Bug #1886438. Don't update the image size unless it is actually
5 triggered by a change in image source. The result of this bug
6 was that any attempt to edit the size spinboxes, immediately
9 2008-02-03 Jim Evins <evins@snaught.com>
11 * src/label-image.c: (gl_label_image_class_init), (set_size):
12 Enforce minimum size for images.
14 2008-02-03 Jim Evins <evins@snaught.com>
16 * src/object-editor-edit-page.c: (field_selected_cb):
17 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
18 * src/object-editor-private.h:
19 * src/object-editor-shadow-page.c:
20 (gl_object_editor_set_max_shadow_offset):
21 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
22 * src/object-editor.c: (gl_object_editor_finalize),
23 (gl_object_editor_new), (gl_object_notebook_construct_valist),
25 * src/object-editor.h:
26 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
27 * src/view-barcode.c: (construct_properties_editor):
28 * src/view-box.c: (construct_properties_editor):
29 * src/view-ellipse.c: (construct_properties_editor):
30 * src/view-image.c: (construct_properties_editor):
31 * src/view-line.c: (construct_properties_editor):
32 * src/view-object.c: (gl_view_object_finalize):
33 * src/view-text.c: (construct_properties_editor),
34 Move update_editor_from_label callback from individual view objects
35 to the object editor, so that signals can be disconnected when
36 object editor is finalized.
37 * src/view-text.c: (gl_view_text_create_button_press_event):
38 Fixed bug that caused multiple view objects to be created for a
39 single text object. This bug would manifest itself as a crash
40 when deleting multi-object selections which included text objects.
42 2008-02-02 Jim Evins <evins@snaught.com>
45 * src/wdgt-merge-menu.c:
46 * src/wdgt-merge-menu.h:
47 * src/debug.c: (gl_debug_init):
50 New merge menu widget.
51 * data/glade/object-editor.glade:
52 * src/object-editor-private.h:
53 * src/object-editor.c: (gl_object_editor_set_key_names):
54 * src/object-editor-edit-page.c:
55 (gl_object_editor_prepare_edit_page), (field_selected_cb),
57 Simplified UI for inserting fields into text objects by launching
58 a merge menu and directly inserting fields from the menu. No more
59 selecting field in combobox, then pressing insert button.
61 2008-01-31 Jim Evins <evins@snaught.com>
63 * src/label-barcode.c: (draw_object):
64 Fixed rendering problem when "Invalid data" is displayed when text
65 object is lower in stacking order.
67 2008-01-30 Jim Evins <evins@snaught.com>
69 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
70 Don't turn off cairo_hint_metrics. This causes serious issues with
73 2008-01-29 Jim Evins <evins@snaught.com>
75 * src/print-op.c: (gl_print_op_construct),
76 (gl_print_op_construct_batch), (set_page_size):
77 Explicitly set page size for "other" page sizes.
79 2008-01-25 Jim Evins <evins@snaught.com>
82 Fixed Code128C backend parameters.
83 * src/label-barcode.c: (get_size):
84 Bug #1766425. If barcode is not renderable with either
85 input data or default data, use a default size. Also
88 2008-01-16 Jim Evins <evins@snaught.com>
90 * src/print.c: (print_label):
91 Bug #1872568. Don't apply special transforms (rotate and
92 mirror) to clipping region or outline.
94 2008-01-01 Jim Evins <evins@snaught.com>
97 Sort font lists alphabetically.
99 2008-01-01 Jim Evins <evins@snaught.com>
101 * src/merge-evolution.c:
102 Do a case-insensitive sort.
104 2008-01-01 Jim Evins <evins@snaught.com>
106 * src/merge-evolution.c:
107 Sort evolution by "file_under" field. Original patch provided
108 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
111 Added acknowledgement for above patch.
113 2008-01-01 Jim Evins <evins@snaught.com>
118 Reconcile with 2.2 branch.
121 2007-12-21 Jim Evins <evins@snaught.com>
123 * COPYING.LIBGLABELS:
124 * COPYING.README_FIRST:
126 Updating license information to make more complete and understandable.
128 2007-12-16 Jim Evins <evins@snaught.com>
131 Updated version to 2.pre2.
132 * help/C/glabels.xml:
133 Updated documentation.
134 * src/ui-commands.c: (gl_ui_cmd_help_about):
135 Updated copyright string.
137 2007-12-15 Jim Evins <evins@snaught.com>
139 * data/glade/object-editor.glade:
140 Removed any GtkTable that contained a GtkComboBox because the size of
141 the combo box was not constrained properly. This sacrifices the nice
142 orderly labels for combo boxes that don't extend beyond the edge of the
145 2007-12-15 Jim Evins <evins@snaught.com>
147 * libglabels/db.c: (lgl_db_lookup_template_from_name):
148 * src/object-editor.c: (gl_object_editor_finalize):
149 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
150 Fixed several small memory leaks.
152 2007-12-14 Jim Evins <evins@snaught.com>
155 Optimize template search by name by using a GHashTable.
156 * src/mini-preview-pixbuf-cache.c:
157 * src/mini-preview-pixbuf-cache.h:
158 Store one pixbuf per template, but use a key for each alias.
159 * src/wdgt-media-select.c:
160 Optimize loading of tree data, thus optimizing the "new label" dialog.
162 2007-12-12 Jim Evins <evins@snaught.com>
164 * data/templates/avery-us-templates.xml:
165 More templates and aliases.
167 2007-12-08 Jim Evins <evins@snaught.com>
170 More prep for 2.1.5/2.2.0.
172 2007-12-08 Jim Evins <evins@snaught.com>
178 Preparation for 2.1.5.
180 2007-12-08 Jim Evins <evins@snaught.com>
182 * docs/libglabels/libglabels-decl-list.txt:
183 * docs/libglabels/libglabels-docs.sgml:
184 * docs/libglabels/libglabels-sections.txt:
185 * docs/libglabels/libglabels-undocumented.txt:
186 * docs/libglabels/tmpl/db.sgml:
187 * docs/libglabels/tmpl/str.sgml:
189 Documentation cleanup for libglabels.
191 2007-11-29 Jim Evins <evins@snaught.com>
195 Added lgl_db_does_template_name_exist().
196 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
199 Proof read recent templates -- make sure they still exist.
200 * src/wdgt-media-select.c:
201 Default to "search all templates" tab if no recent templates found.
203 2007-11-28 Jim Evins <evins@snaught.com>
205 * data/glade/wdgt-media-select.glade:
206 * src/wdgt-media-select.c:
207 Added tabbed notebook to allow selection of recent template versus searching the
211 2007-11-26 Jim Evins <evins@snaught.com>
213 * libglabels/Makefile.am:
214 * libglabels/libglabels.h:
217 * src/prefs-dialog.c:
222 Added tracking of recently used templates.
224 2007-11-20 Jim Evins <evins@snaught.com>
226 * data/glade/template-designer.glade:
227 * src/template-designer.c:
228 Added warning icon when match brand and part match an existing template.
230 2007-11-18 Jim Evins <evins@snaught.com>
232 * libglabels/Makefile.am:
235 Added lgl_str_utf8_casecmp().
236 * libglabels/libglabels-private.h:
237 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
238 * libglabels/db.c: (lgl_db_get_brand_list):
239 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
242 2007-11-18 Jim Evins <evins@snaught.com>
244 * data/glade/template-designer.glade:
245 * src/template-designer.c:
246 Don't advance past name page, if brand and part match an existing template.
248 2007-11-18 Jim Evins <evins@snaught.com>
250 * libglabels/db.c: (lgl_db_register_template), (read_templates):
251 When registering a new template, don't add to "User defined" category before
252 writing to file. Add to "User defined" category when reading from "~/.glabels"
253 directory instead. This will allow legacy templates (and manually created
254 templates) to be automatically added to the "user defined" category.
255 * libglabels/xml-template.c:
256 (lgl_xml_template_create_template_node):
257 Fixed typo/bug causing brand to be wrong.
259 2007-11-16 Jim Evins <evins@snaught.com>
263 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
264 function. Automatically create "User defined" category and add to all user
265 registered templates.
266 * libglabels/xml-template.c:
267 * libglabels/xml-template.h:
268 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
269 lgl_xml_template_write_template_to_file().
270 * docs/libglabels/libglabels-decl-list.txt:
271 * docs/libglabels/libglabels-sections.txt:
272 * docs/libglabels/libglabels-undocumented.txt:
273 * docs/libglabels/tmpl/db.sgml:
274 * docs/libglabels/tmpl/xml-template.sgml:
275 Update documentation to reflect above changes.
277 2007-10-28 Jim Evins <evins@snaught.com>
279 * libglabels/xml-template.c:
280 Remove any leading white space from part #s when parsing old names.
281 * src/mini-preview-pixbuf-cache.c:
282 If name isn't in cache add it.
284 2007-10-26 Jim Evins <evins@snaught.com>
286 * libglabels/Makefile.am:
287 * libglabels/category.c:
288 * libglabels/category.h:
291 * libglabels/libglabels-private.h:
292 * libglabels/libglabels.h:
293 * libglabels/paper.c:
294 * libglabels/paper.h:
295 * libglabels/template.c:
296 * libglabels/template.h:
297 * libglabels/xml-template.c:
298 Another pass at screwing with the libglabels API. Moved all
299 database related stuff to db.[ch].
300 * docs/libglabels/libglabels-decl-list.txt:
301 * docs/libglabels/libglabels-docs.sgml:
302 * docs/libglabels/libglabels-sections.txt:
303 * docs/libglabels/libglabels-undocumented.txt:
304 * docs/libglabels/tmpl/category.sgml:
305 * docs/libglabels/tmpl/db.sgml:
306 * docs/libglabels/tmpl/init.sgml:
307 * docs/libglabels/tmpl/libglabels-unused.sgml:
308 * docs/libglabels/tmpl/paper.sgml:
309 * docs/libglabels/tmpl/template-construction.sgml:
310 * docs/libglabels/tmpl/template-db.sgml:
311 * docs/libglabels/tmpl/template-misc.sgml:
312 * docs/libglabels/tmpl/template-struct.sgml:
313 * docs/libglabels/tmpl/template.sgml:
314 Updated documentation to reflect above changes to libglabels API.
316 * src/glabels-batch.c:
318 * src/mini-preview-pixbuf-cache.c:
321 * src/template-designer.c:
322 * src/wdgt-media-select.c:
323 * src/wdgt-mini-preview.c:
324 * src/wdgt-rotate-label.c:
325 * src/xml-label-04.c:
327 Reconciled usage with above libglabels API changes.
329 2007-10-21 Jim Evins <evins@snaught.com>
331 * data/glade/wdgt-media-select.glade:
332 * src/wdgt-media-select.c:
333 Added brand to filter settings.
335 2007-10-21 Jim Evins <evins@snaught.com>
337 * data/dtd/glabels-2.2.dtd:
338 Forgot to replace Alias name attribute with brand and part attributes.
339 * data/templates/avery-iso-templates.xml:
340 * data/templates/avery-other-templates.xml:
341 * data/templates/avery-us-templates.xml:
342 * data/templates/misc-iso-templates.xml:
343 * data/templates/misc-other-templates.xml:
344 * data/templates/misc-us-templates.xml:
345 * data/templates/zweckform-iso-templates.xml:
346 Replaced all name attributes with brand/part attribute pairs.
348 2007-10-20 Jim Evins <evins@snaught.com>
350 * src/stock-pixmaps/*.png
351 Updated icons to use Tango color palette.
353 2007-10-20 Jim Evins <evins@snaught.com>
355 * data/dtd/Makefile.am:
356 * data/dtd/glabels-2.0.dtd:
357 * data/dtd/glabels-2.2.dtd:
358 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
360 * libglabels/template.c:
361 * libglabels/template.h:
362 * libglabels/xml-template.c:
364 Added brand and part attributes to template and alias structures and nodes.
367 * src/mini-preview-pixbuf-cache.c:
368 * src/template-designer.c:
369 * src/wdgt-media-select.c:
370 Use modified libglabels API.
371 * docs/libglabels/libglabels-decl-list.txt:
372 * docs/libglabels/libglabels-sections.txt:
373 * docs/libglabels/libglabels-undocumented.txt:
374 * docs/libglabels/tmpl/template-construction.sgml:
375 * docs/libglabels/tmpl/template-db.sgml:
376 * docs/libglabels/tmpl/template-struct.sgml:
377 Update libglabels documentation to reflect above modifications.
379 2007-10-14 Jim Evins <evins@snaught.com>
381 * docs/libglabels/libglabels-decl-list.txt:
382 * docs/libglabels/libglabels-sections.txt:
383 * docs/libglabels/libglabels-undocumented.txt:
384 * docs/libglabels/tmpl/category.sgml:
385 * libglabels/category.c:
386 * libglabels/category.h:
387 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
388 parity with paper functions.
390 2007-10-12 Jim Evins <evins@snaught.com>
392 * docs/libglabels/libglabels-decl-list.txt:
393 * docs/libglabels/libglabels-sections.txt:
394 * docs/libglabels/libglabels-undocumented.txt:
395 * docs/libglabels/tmpl/category.sgml:
396 * docs/libglabels/tmpl/enums.sgml:
397 * docs/libglabels/tmpl/libglabels-unused.sgml:
398 * docs/libglabels/tmpl/paper.sgml:
399 * docs/libglabels/tmpl/template-struct.sgml:
401 * libglabels/template.c:
402 * libglabels/template.h:
403 Another pass at fleshing out the libglabels documentation.
404 * src/cairo-label-path.c:
405 * src/cairo-markup-path.c:
407 * src/mini-preview-pixbuf.c:
411 * src/wdgt-media-select.c:
412 * src/wdgt-mini-preview.c:
413 * src/wdgt-print-copies.c:
414 * src/wdgt-print-merge.c:
415 * src/wdgt-rotate-label.c:
416 Removed lgl_template_get_first_frame() from libglabels API and all references.
418 2007-10-11 Jim Evins <evins@snaught.com>
420 Extended checks for deprecated symbols.
421 * libglabels/template.c:
422 Removed g_strcasecmp references, which are deprecated.
424 2007-10-09 Jim Evins <evins@snaught.com>
426 * src/merge-evolution.c:
427 Create address book if it does not exist. Also, be more robust about handling
428 error conditions -- don't just assume GError has been set.
430 2007-10-08 Jim Evins <evins@snaught.com>
432 * libglabels/template.c:
433 * libglabels/xml-template.c:
434 * src/template-designer.c:
435 Missed some symbols with libglabels API work.
437 2007-10-01 Jim Evins <evins@snaught.com>
439 * docs/libglabels/libglabels-decl-list.txt:
440 * docs/libglabels/libglabels-docs.sgml:
441 * docs/libglabels/libglabels-sections.txt:
442 * docs/libglabels/libglabels-undocumented.txt:
443 * docs/libglabels/tmpl/category.sgml:
444 * docs/libglabels/tmpl/enums.sgml:
445 * docs/libglabels/tmpl/init.sgml:
446 * docs/libglabels/tmpl/libglabels-unused.sgml:
447 * docs/libglabels/tmpl/paper.sgml:
448 * docs/libglabels/tmpl/template-construction.sgml:
449 * docs/libglabels/tmpl/template-db.sgml:
450 * docs/libglabels/tmpl/template-misc.sgml:
451 * docs/libglabels/tmpl/template-struct.sgml:
452 * docs/libglabels/tmpl/template.sgml:
453 * docs/libglabels/tmpl/xml-category.sgml:
454 * docs/libglabels/tmpl/xml-template.sgml:
455 * libglabels/category.h:
457 * libglabels/libglabels-private.h:
458 * libglabels/paper.h:
459 * libglabels/template.c:
460 * libglabels/template.h:
461 * libglabels/xml-template.h:
462 Basic documentation framework for libglabels updated. This still needs some
465 2007-09-27 Jim Evins <evins@snaught.com>
467 * docs/libglabels/libglabels-decl-list.txt:
468 * docs/libglabels/libglabels-docs.sgml:
469 * docs/libglabels/libglabels-sections.txt:
470 * docs/libglabels/libglabels-undocumented.txt:
471 * docs/libglabels/tmpl/enums.sgml:
472 * docs/libglabels/tmpl/init.sgml:
473 * docs/libglabels/tmpl/libglabels-unused.sgml:
474 * docs/libglabels/tmpl/paper.sgml:
475 * docs/libglabels/tmpl/template.sgml:
476 * docs/libglabels/tmpl/xml-paper.sgml:
477 * docs/libglabels/tmpl/xml-template.sgml:
478 * docs/libglabels/tmpl/xml.sgml:
479 * libglabels/Makefile.am:
480 * libglabels/category.c:
481 * libglabels/category.h:
482 * libglabels/enums.h:
485 * libglabels/libglabels-private.h:
486 * libglabels/libglabels.h:
487 * libglabels/paper.c:
488 * libglabels/paper.h:
489 * libglabels/template.c:
490 * libglabels/template.h:
491 * libglabels/xml-category.c:
492 * libglabels/xml-category.h:
493 * libglabels/xml-paper.c:
494 * libglabels/xml-paper.h:
495 * libglabels/xml-template.c:
496 * libglabels/xml-template.h:
499 * src/cairo-label-path.c:
500 * src/cairo-label-path.h:
501 * src/cairo-markup-path.c:
502 * src/cairo-markup-path.h:
504 * src/glabels-batch.c:
506 * src/label-object.c:
509 * src/mini-preview-pixbuf-cache.c:
510 * src/mini-preview-pixbuf.c:
511 * src/mini-preview-pixbuf.h:
512 * src/prefs-dialog.c:
519 * src/template-designer.c:
520 * src/view-barcode.c:
522 * src/view-ellipse.c:
526 * src/wdgt-media-select.c:
527 * src/wdgt-mini-preview.c:
528 * src/wdgt-mini-preview.h:
529 * src/wdgt-print-copies.c:
530 * src/wdgt-print-merge.c:
531 * src/wdgt-rotate-label.c:
532 * src/xml-label-04.c:
534 Major cleanup of libglabels API -- this breaks API compatibility with older
535 development and stable versions -- as far as I know, there are currently
536 no external users of this library yet.
538 2007-09-14 Jim Evins <evins@snaught.com>
543 * src/label-object.c:
544 * src/label-object.h:
545 * src/label-barcode.c:
546 * src/label-ellipse.c:
549 * src/view-barcode.c:
551 * src/view-ellipse.c:
555 Better separation of model from view.
557 2007-08-21 Jim Evins <evins@snaught.com>
559 * src/print-op.c: (create_custom_widget_cb):
560 Fix problem with force_outline_flag -- don't override with default.
562 2007-08-21 Jim Evins <evins@snaught.com>
564 * data/dtd/glabels-2.0.dtd:
565 * libglabels/template.c:
566 * libglabels/template.h:
567 * libglabels/xml-template.c:
568 * src/cairo-markup-path.c:
569 Added "Markup-rect" element to template format.
571 2007-08-21 Jim Evins <evins@snaught.com>
574 Changed version to 2.1.pre5svn.
575 * src/view.c: (draw_markup_layer):
576 Do a stroke for each markup path, otherwise multiple markups
579 2007-08-17 Jim Evins <evins@snaught.com>
582 Bump libglabels revision numbers for 2.1.4 release.
584 2007-08-16 Jim Evins <evins@snaught.com>
587 Include subdir iec16022-0.2.1.
591 Preparation for 2.1.4.
594 2007-08-11 Jim Evins <evins@snaught.com>
600 Added Esperanto translation. Provided by Antonio C.
601 Codazzi "la Filozofo" <f_sophia@libero.it>.
603 Updated French translation. Provided by Claude Paroz
604 <claude@2xlibre.net>.
606 Updated to reflect above translations.
608 2007-08-11 Jim Evins <evins@snaught.com>
611 * data/templates/avery-iso-templates.xml:
612 * data/templates/avery-us-templates.xml:
613 * data/templates/misc-iso-templates.xml:
614 * data/templates/misc-other-templates.xml:
615 * data/templates/misc-us-templates.xml:
616 * data/templates/zweckform-iso-templates.xml:
617 Caught up with backlog of template submissions.
619 2007-08-10 Jim Evins <evins@snaught.com>
621 * src/bc-postnet.c: (gl_barcode_postnet_new):
623 Added support for Brazilian CEPNet barcodes. This is simply an
624 instance of the US POSTNET format with 8 digits. Patch supplied
625 by Mário Meyer in bug # 1768792.
627 Updated acknowledgments to reflect above patch and recent shuffling
628 of underlying technology.
630 2007-05-13 Jim Evins <evins@snaught.com>
632 * src/merge-text.c: (parse_line), (parse_field):
633 Remove leading and trailing spaces from CSV fields, unless quoted.
635 2007-05-09 Jim Evins <evins@snaught.com>
637 * src/object-editor-bc-page.c:
638 * src/object-editor-data-page.c:
639 * src/object-editor-fill-page.c:
640 * src/object-editor-image-page.c:
641 * src/object-editor-line-page.c:
642 * src/object-editor-lsize-page.c:
643 * src/object-editor-position-page.c:
644 * src/object-editor-private.h:
645 * src/object-editor-shadow-page.c:
646 * src/object-editor-size-page.c:
647 * src/object-editor-text-page.c:
648 * src/object-editor.c:
649 * src/prefs-dialog.c:
650 * src/template-designer.c:
651 * src/ui-property-bar.c:
652 * src/wdgt-media-select.c:
653 Replaced signal block/unblock pairs with simple flags. This reduces
654 some code clutter, hopefully making it easier to read.
656 2007-05-05 Jim Evins <evins@snaught.com>
658 * src/template-designer.c: (apply_cb):
659 Add new template to mini-preview pixbuf cache.
661 2007-05-03 Jim Evins <evins@snaught.com>
663 * src/label-image.c: (gl_label_image_init), (draw_object):
664 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
667 2007-05-02 Jim Evins <evins@snaught.com>
669 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
670 (button_release_event_cb):
671 Removed attempt at rendering optimization by clipping the updates
672 to areas affected -- this actually seemed to hurt update performance.
674 2007-04-30 Jim Evins <evins@snaught.com>
677 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
678 (gl_color_node_equal), (gl_color_node_expand):
679 * src/label-barcode.c: (draw_object):
680 * src/label-box.c: (draw_object), (draw_shadow):
681 * src/label-ellipse.c: (draw_object), (draw_shadow):
682 * src/label-line.c: (draw_object), (draw_shadow):
683 * src/label-text.c: (draw_object), (draw_shadow):
684 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
685 * src/wdgt-rotate-label.c: (drawingarea_update):
686 Some cleanup to color related code.
688 2007-04-30 Jim Evins <evins@snaught.com>
691 Added glLabelRegion structure type.
692 * src/label-object.c: (gl_label_object_get_extent):
693 * src/label-object.h:
694 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
696 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
697 (gl_view_select_region), (gl_view_align_selection_left),
698 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
699 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
700 (gl_view_align_selection_vcenter),
701 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
702 (gl_view_move_selection), (gl_view_can_selection_text),
703 (motion_notify_event_cb), (button_press_event_cb),
704 (button_release_event_cb):
705 - Reconcile with new gl_label_object_get_extent() API.
706 - Use glLabelRegion for view->select_region.
707 - Added gl_view_update_region() to clip updates to region.
708 - Use gl_view_update_region() during manipulation of view->select_region.
710 2007-04-26 Jim Evins <evins@snaught.com>
712 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
713 (draw_label_outline):
714 * src/print.c: (print_crop_marks), (draw_outline):
715 * src/view-object.c: (gl_view_object_draw_handles):
716 * src/view.c: (draw_bg_layer), (draw_grid_layer),
717 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
718 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
719 * src/wdgt-rotate-label.c: (drawingarea_update):
720 Added defines for various magic numbers.
722 2007-04-25 Jim Evins <evins@snaught.com>
724 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
725 Scale text down. Cairo seems to render text too large.
727 2007-04-25 Jim Evins <evins@snaught.com>
730 * src/view.c: (gl_view_update), (expose_cb),
731 (motion_notify_event_cb), (button_press_event_cb),
732 (button_release_event_cb):
733 - Try not to let updates get backed up.
734 - Grab pointer when doing any drag operations.
736 2007-04-11 Jim Evins <evins@snaught.com>
738 * src/cairo-label-path.c: (gl_cairo_label_path),
739 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
740 (gl_cairo_cd_label_path):
741 * src/cairo-label-path.h:
742 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
743 (draw_label_outline):
744 * src/print.c: (draw_outline), (clip_to_outline):
745 * src/view.c: (draw_bg_layer), (draw_fg_layer):
746 * src/wdgt-mini-preview.c: (draw_labels):
747 * src/wdgt-rotate-label.c: (drawingarea_update):
748 Modified to universally use gl_cairo_label_path() to create paths
749 for labels. Added shadow to mini preview in rotate widget.
751 2007-04-10 Jim Evins <evins@snaught.com>
753 * libglabels/template.h:
754 * libglabels/template.c: (gl_template_get_name_list_unique),
755 (gl_template_get_name_list_all), (gl_template_from_name):
756 Modified libglabels to allow you to get a list of all template names
757 including all aliases or just a list of primary names of each unique
760 * src/file.c: (gl_file_properties):
761 * src/glabels.c: (main):
762 * src/mini-preview-pixbuf-cache.h:
763 * src/mini-preview-pixbuf-cache.c:
764 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
765 (filter_changed_cb), (load_list):
766 Added mini-preview pixbuf cache, so that only one mini-preview is
767 needed for a unique template and gets reused for all aliases. These
768 pixbufs will also live for the life of the program so they are not
769 rebuilt everytime a new label dialog is invoked.
770 * src/mini-preview-pixbuf.c: (draw_paper),
771 (draw_rect_label_outline), (draw_round_label_outline),
772 (draw_cd_label_outline):
773 Removed some comment artifacts.
775 2007-04-04 Jim Evins <evins@snaught.com>
777 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
778 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
779 (draw_round_label_outline), (draw_cd_label_outline):
780 * src/wdgt-media-select.c: (load_list):
781 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
782 Cosmetic enhancments to mini previews.
784 2007-04-04 Jim Evins <evins@snaught.com>
786 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
787 (gl_ui_property_bar_construct):
788 Save copy of GladeXML tree so that we don't lose tooltips.
790 2007-04-02 Jim Evins <evins@snaught.com>
792 * src/merge-properties-dialog.c:
793 * src/new-label-dialog.c:
794 * src/object-editor.c:
795 * src/prefs-dialog.c:
797 * src/template-designer.c:
798 * src/ui-property-bar.c:
799 * src/wdgt-media-select.c:
800 * src/wdgt-rotate-label.c:
801 Fixed several memory leaks.
803 2007-04-01 Jim Evins <evins@snaught.com>
805 * src/label-text.c: (gl_label_text_init), (copy),
806 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
807 (set_font_family), (set_font_size), (set_font_weight),
808 (set_font_italic_flag), (set_text_alignment),
809 (set_text_line_spacing):
810 Cache object size, so that expensive extent calculations are only done
813 2007-03-30 Jim Evins <evins@snaught.com>
815 * src/prefs-model.c: (gl_prefs_model_load_settings):
816 Default to an unlimited list of recent documents, since this parameter
817 seems to be pre-filter anyway.
819 2007-03-30 Jim Evins <evins@snaught.com>
821 * src/label-box.c: (draw_shadow):
822 * src/label-ellipse.c: (draw_shadow):
823 Added missing shadow fill.
825 2007-03-28 Jim Evins <evins@snaught.com>
827 * src/ui-commands.c: (gl_ui_cmd_file_print):
828 Unreferencing the print operation sometimes crashes. Just don't do it
831 2007-03-28 Jim Evins <evins@snaught.com>
833 * src/print-op.c: (gl_print_op_construct),
834 (gl_print_op_get_settings), (gl_print_op_set_settings),
835 (gl_print_op_free_settings), (create_custom_widget_cb):
837 * src/ui-commands.c: (gl_ui_cmd_file_print):
838 * src/window.c: (gl_window_init):
840 Save print settings and custom settings between print operations
843 2007-03-24 Jim Evins <evins@snaught.com>
845 * src/object-editor-image-page.c:
846 (gl_object_editor_prepare_image_page),
847 (gl_object_editor_set_image), (img_selection_changed_cb):
848 Workaround for GtkFileChooserButton bug # 327243. This the root
849 cause for gLabels bug # 1192884. I have actually observed 3 delayed
850 "selection-changed" signals -- the first 2 return NULL -- this is
851 what caused the image to reset to the default followed by setting
852 it back to the original image, trying to fit it into a new bounding
853 box. This sequence of events is much more evident with the new
856 2007-03-23 Jim Evins <evins@snaught.com>
858 Merged all changes from experimental cairo branch to trunk.
859 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
861 2007-03-23 Jim Evins <evins@snaught.com>
863 * src/label-object.h:
864 * src/label-object.c: (gl_label_object_class_init),
865 (gl_label_object_get_raw_size), (gl_label_object_get_size):
866 Created "get_raw_size" method.
867 * src/label-barcode.c: (get_size):
868 * src/xml-label.c: (xml_create_object_text),
869 (xml_create_object_barcode):
870 Use new "get_raw_size" method on label-objects when apropos.
872 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
873 (auto_shrink_font_size):
874 Added "auto shrink" functionality back.
876 2007-03-19 Jim Evins <evins@snaught.com>
878 * src/label-text.c: (draw_object), (draw_shadow):
879 Don't use negative scales in workaround from previous commit.
882 2007-03-18 Jim Evins <evins@snaught.com>
885 Forgot to remove include of xml-lable-191 in previous commit.
886 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
887 Workaround for pango Bug #341481. Render text at device scale,
888 and scale font size accordingly. Also, don't do any hinting.
890 2007-03-18 Jim Evins <evins@snaught.com>
892 * src/cairo-ellipse-path.c:
893 * src/cairo-ellipse-path.h:
894 Forgot to add these new files during last mass commit.
896 2007-03-18 Jim Evins <evins@snaught.com>
899 * src/xml-label-191.c:
900 * src/xml-label-191.h:
901 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
902 so there is no need to keep compatability.
905 * src/cairo-label-path.c:
906 * src/cairo-label-path.h:
907 * src/cairo-markup-path.c:
911 * src/glabels-batch.c:
913 * src/label-barcode.c:
915 * src/label-ellipse.c:
918 * src/label-object.c:
919 * src/label-object.h:
923 * src/merge-properties-dialog.c:
925 * src/new-label-dialog.c:
926 * src/object-editor-bc-page.c:
927 * src/object-editor-data-page.c:
928 * src/object-editor-edit-page.c:
929 * src/object-editor-fill-page.c:
930 * src/object-editor-image-page.c:
931 * src/object-editor-line-page.c:
932 * src/object-editor-private.h:
933 * src/object-editor-shadow-page.c:
934 * src/object-editor-text-page.c:
935 * src/object-editor.c:
936 * src/pixbuf-cache.c:
941 * src/template-designer.c:
943 * src/ui-property-bar.c:
945 * src/view-barcode.c:
947 * src/view-ellipse.c:
954 * src/wdgt-media-select.c:
955 * src/wdgt-print-copies.c:
956 * src/wdgt-print-merge.c:
958 * src/xml-label-04.c:
960 Many changes, including:
961 - Move draw methods from view-*() to label-*().
962 - Use same drawing code for on screen view and printing.
963 - Fix all issues exposed with '-Wall -Werror'.
965 2007-03-14 Jim Evins <evins@snaught.com>
968 * src/cairo-handle-path.c:
969 * src/cairo-handle-path.h:
970 * src/cairo-object-path.c:
971 * src/cairo-object-path.h:
972 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
973 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
975 * src/view-box.c: (gl_view_box_class_init), (draw_object),
976 (draw_shadow), (object_at):
977 * src/view-ellipse.c: (gl_view_ellipse_class_init),
978 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
979 * src/view-image.c: (gl_view_image_class_init), (draw_object),
981 * src/view-line.c: (gl_view_line_class_init), (draw_object),
982 (draw_shadow), (object_at):
983 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
984 (create_handle_path), (gl_view_object_draw_handles),
985 (gl_view_object_handle_at):
987 * src/view-text.c: (gl_view_text_class_init), (draw_object),
988 (draw_shadow), (object_at):
989 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
990 Some restructuring of new code.
992 2007-03-12 Jim Evins <evins@snaught.com>
995 * src/cairo-object-path.c:
996 * src/view-barcode.c:
997 * src/view-barcode.h:
999 Added barcode object support to view.
1001 2007-03-12 Jim Evins <evins@snaught.com>
1007 * src/cairo-object-path.c:
1008 * src/cairo-object-path.h:
1010 * src/view-ellipse.c:
1013 * src/view-object.c:
1014 * src/view-object.h:
1015 Added text object support to view. Added object_at method to all
1018 2007-03-11 Jim Evins <evins@snaught.com>
1021 * src/cairo-object-path.c: (gl_cairo_object_path),
1022 (gl_cairo_image_object_path):
1023 * src/view-image.c: (gl_view_image_class_init),
1024 (gl_view_image_finalize), (gl_view_image_new),
1025 (update_editor_from_label_cb), (draw),
1026 (gl_view_image_get_create_cursor),
1027 (gl_view_image_create_button_press_event),
1028 (gl_view_image_create_motion_event),
1029 (gl_view_image_create_button_release_event):
1031 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1032 (selection_received_cb), (motion_notify_event_cb),
1033 (button_press_event_cb), (button_release_event_cb):
1034 Added image object support to view.
1036 2007-03-11 Jim Evins <evins@snaught.com>
1039 * src/cairo-object-path.c: (gl_cairo_object_path),
1040 (gl_cairo_line_object_path):
1041 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1042 (update_object_from_editor_cb), (update_editor_from_object_cb),
1043 (update_editor_from_label_cb), (draw),
1044 (gl_view_line_get_create_cursor),
1045 (gl_view_line_create_button_press_event),
1046 (gl_view_line_create_motion_event),
1047 (gl_view_line_create_button_release_event):
1049 * src/view-object.c: (gl_view_object_resize_event):
1050 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1051 (selection_received_cb), (motion_notify_event_cb),
1052 (button_press_event_cb), (button_release_event_cb):
1053 Added line object support to view.
1054 * src/cairo-handle-path.c:
1055 Made handles slightly larger.
1058 2007-03-11 Jim Evins <evins@snaught.com>
1061 * src/cairo-handle-path.c:
1062 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1063 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1064 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1065 (gl_cairo_markup_margin_round_path),
1066 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1067 * src/cairo-object-path.c: (gl_cairo_object_path),
1068 (gl_cairo_ellipse_object_path):
1069 * src/label-object.c: (gl_label_object_rotate):
1072 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1073 (gl_view_ellipse_new), (update_object_from_editor_cb),
1074 (update_editor_from_object_cb), (update_editor_from_label_cb),
1075 (draw), (gl_view_ellipse_get_create_cursor),
1076 (gl_view_ellipse_create_button_press_event),
1077 (gl_view_ellipse_create_motion_event),
1078 (gl_view_ellipse_create_button_release_event):
1079 * src/view-ellipse.h:
1080 * src/view-object.c:
1081 * src/view-object.h:
1082 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1083 (select_object_real), (selection_received_cb),
1084 (motion_notify_event_cb), (button_press_event_cb),
1085 (button_release_event_cb):
1087 Added ellipse object support to view. Plus other cleanup.
1089 2007-03-11 Jim Evins <evins@snaught.com>
1092 * src/view-box.c: (gl_view_box_get_create_cursor),
1093 (gl_view_box_create_button_press_event),
1094 (gl_view_box_create_motion_event),
1095 (gl_view_box_create_button_release_event):
1096 * src/view-object.c: (gl_view_object_set_view),
1097 (gl_view_object_handle_at):
1099 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1100 (motion_notify_event_cb), (button_press_event_cb),
1101 (button_release_event_cb), (key_press_event_cb):
1102 Added creation code for box object.
1104 2007-03-09 Jim Evins <evins@snaught.com>
1106 * src/view-object.c: (gl_view_object_resize_event):
1107 * src/view-object.h:
1108 * src/view.c: (motion_notify_event_cb):
1109 Fix bugs with resizing transformed objects.
1110 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1111 * src/cairo-object-path.c: (gl_cairo_object_path):
1112 * src/cairo-object-path.h:
1113 * src/label-object.c: (gl_label_object_init),
1114 (gl_label_object_dup), (gl_label_object_get_extent),
1115 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1116 (gl_label_object_rotate), (gl_label_object_set_matrix),
1117 (gl_label_object_get_matrix):
1118 * src/label-object.h:
1119 * src/print.c: (draw_object):
1121 * src/view-highlight.c:
1122 * src/view-highlight.h:
1123 * src/xml-label-191.c: (xml191_parse_object):
1124 * src/xml-label.c: (xml_parse_affine_attrs),
1125 (xml_create_affine_attrs):
1126 Replace libart affine matrices with cairo matrices.
1128 2007-03-08 Jim Evins <evins@snaught.com>
1130 * src/view-object.h:
1131 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1132 * src/view-object.c: (gl_view_object_handle_at),
1133 (gl_view_object_resize_event):
1134 Added resize code -- still a bit buggy.
1136 2007-03-07 Jim Evins <evins@snaught.com>
1139 * src/cairo-handle-path.c:
1140 * src/cairo-handle-path.h:
1141 * src/view-box.c: (gl_view_box_new):
1142 * src/view-object.c: (gl_view_object_set_object),
1143 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1144 * src/view-object.h:
1145 * src/view.c: (draw_highlight_layer), (select_object_real),
1146 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1147 (button_press_event_cb), (button_release_event_cb),
1148 (key_press_event_cb):
1150 Added beginnings of object resize handles.
1152 2007-03-07 Jim Evins <evins@snaught.com>
1155 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1156 (gl_view_object_create_mode), (motion_notify_event_cb),
1157 (button_press_event_cb), (button_release_event_cb),
1158 (key_press_event_cb):
1159 Added move selection support.
1161 2007-03-05 Jim Evins <evins@snaught.com>
1163 * src/cairo-object-path.c: (gl_cairo_object_path):
1164 * src/view-object.c: (gl_view_object_draw),
1165 (gl_view_object_draw_highlight):
1166 * src/view.c: (view_object_at), (motion_notify_event_cb),
1167 (button_press_event_cb), (button_release_event_cb):
1168 Additional refinements to select logic.
1170 2007-03-05 Jim Evins <evins@snaught.com>
1173 * src/view.c: (gl_view_init), (gl_view_construct),
1174 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1175 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1176 (button_press_event_cb), (button_release_event_cb):
1177 Added initial select region support and context menu.
1179 2007-03-04 Jim Evins <evins@snaught.com>
1190 * src/ui-commands.c:
1193 * src/view-object.c:
1194 * src/view-object.h:
1197 * src/wdgt-print-copies.c:
1198 * src/wdgt-print-merge.c:
1200 Initial port to a raw Cairo canvas. This removes all remaining
1201 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1202 the view is becoming a canvas widget in its own right. Still needs
1204 * src/cairo-label-path.c:
1205 * src/cairo-label-path.h:
1206 * src/cairo-markup-path.c:
1207 * src/cairo-markup-path.h:
1208 * src/cairo-object-path.c:
1209 * src/cairo-object-path.h:
1210 New files to support cairo canvas.
1211 * src/canvas-hacktext.c:
1212 * src/canvas-hacktext.h:
1215 2007-02-18 Jim Evins <evins@snaught.com>
1218 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1220 2007-02-14 Jim Evins <evins@snaught.com>
1224 * src/bc-gnubarcode.c:
1225 * src/bc-gnubarcode.h:
1230 * src/canvas-hacktext.c:
1231 * src/canvas-hacktext.h:
1238 * src/label-barcode.c:
1239 * src/label-barcode.h:
1242 * src/label-ellipse.c:
1243 * src/label-ellipse.h:
1244 * src/label-image.c:
1245 * src/label-image.h:
1248 * src/label-object.c:
1249 * src/label-object.h:
1254 * src/merge-evolution.c:
1255 * src/merge-evolution.h:
1258 * src/merge-properties-dialog.c:
1259 * src/merge-properties-dialog.h:
1262 * src/merge-vcard.c:
1263 * src/merge-vcard.h:
1266 * src/mini-preview-pixbuf.h:
1267 * src/new-label-dialog.c:
1268 * src/new-label-dialog.h:
1269 * src/object-editor-bc-page.c:
1270 * src/object-editor-data-page.c:
1271 * src/object-editor-edit-page.c:
1272 * src/object-editor-fill-page.c:
1273 * src/object-editor-image-page.c:
1274 * src/object-editor-line-page.c:
1275 * src/object-editor-lsize-page.c:
1276 * src/object-editor-position-page.c:
1277 * src/object-editor-private.h:
1278 * src/object-editor-size-page.c:
1279 * src/object-editor-text-page.c:
1280 * src/object-editor.c:
1281 * src/object-editor.h:
1282 * src/pixbuf-cache.c:
1283 * src/pixbuf-cache.h:
1284 * src/prefs-dialog.c:
1285 * src/prefs-dialog.h:
1286 * src/prefs-model.c:
1287 * src/prefs-model.h:
1293 * src/template-designer.c:
1296 * src/ui-commands.c:
1297 * src/ui-commands.h:
1298 * src/ui-property-bar.c:
1299 * src/ui-property-bar.h:
1308 * src/view-barcode.c:
1309 * src/view-barcode.h:
1312 * src/view-ellipse.c:
1313 * src/view-ellipse.h:
1314 * src/view-highlight.c:
1315 * src/view-highlight.h:
1320 * src/view-object.c:
1321 * src/view-object.h:
1326 * src/wdgt-chain-button.c:
1327 * src/wdgt-chain-button.h:
1328 * src/wdgt-media-select.c:
1329 * src/wdgt-mini-preview.c:
1330 * src/wdgt-print-copies.c:
1331 * src/wdgt-print-copies.h:
1332 * src/wdgt-print-merge.c:
1333 * src/wdgt-print-merge.h:
1334 * src/wdgt-rotate-label.c:
1336 * src/xml-label-04.c:
1337 * src/xml-label-04.h:
1338 * src/xml-label-191.c:
1339 * src/xml-label-191.h:
1343 Assorted superficial cleanup. Including:
1344 - Use G_DEFINE_TYPE for all objects.
1345 - Reconcile style of all class initializer functions
1346 - Reconcile style of all finalize functions
1347 - Add emacs mode line to all source files
1349 2007-02-06 Jim Evins <evins@snaught.com>
1351 Assorted cleanup and removal of deprecated items.
1356 Removed annoying splash screen.
1357 * src/glabels-batch.c: (main):
1358 * src/glabels.c: (main):
1359 Converted from popt to GOption.
1360 * src/object-editor-shadow-page.c:
1361 (gl_object_editor_set_shadow_state):
1362 Removed deprecated method on GtkToggleButton.
1363 * src/ui-commands.c: (gl_ui_cmd_help_about):
1364 Removed dependency on libgnomui/qnome-url.h.
1365 * src/template-designer.c:
1366 Removed dependency on libgnome/gnome-program.h.
1369 2007-02-04 Jim Evins <evins@snaught.com>
1373 * src/prefs-model.c:
1374 * src/print.c: (draw_text_object):
1375 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1376 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1378 2007-02-04 Jim Evins <evins@snaught.com>
1380 * src/wdgt-mini-preview.c:
1381 * src/wdgt-mini-preview.h:
1382 Ported widget from GnomeCanvas to Cairo.
1384 2007-02-03 Jim Evins <evins@snaught.com>
1386 * data/glade/template-designer.glade:
1387 * src/template-designer.c:
1388 * src/template-designer.h:
1389 Ported GnomeDruid to GtkAssistant. Since libglade does not
1390 yet support the GtkAssistant and we derive directly from
1391 the Assistant, the pages are layed out in a GtkNotebook in
1392 the glade description -- we then append each page to the
1395 2007-01-25 Jim Evins <evins@snaught.com>
1397 * data/glade/object-editor.glade:
1398 Added dummy page to notebook, to prevent shadow page from
1399 becoming the default current page at creation.
1400 * src/view-box.c: (construct_properties_editor):
1401 * src/view-ellipse.c: (construct_properties_editor):
1402 * src/view-line.c: (construct_properties_editor):
1403 * src/view-text.c: (construct_properties_editor):
1404 Reconciled order of params.
1406 2007-01-19 Jim Evins <evins@snaught.com>
1408 * src/label-barcode.h:
1409 * src/label-object.c: (gl_label_object_set_font_weight),
1410 (gl_label_object_set_text_alignment),
1411 (gl_label_object_get_font_weight),
1412 (gl_label_object_get_text_alignment):
1413 * src/label-object.h:
1414 * src/label-text.c: (gl_label_text_instance_init), (copy),
1415 (get_size), (set_font_family), (set_font_weight),
1416 (set_text_alignment), (get_font_weight), (get_text_alignment):
1418 * src/object-editor-text-page.c:
1419 (gl_object_editor_prepare_text_page),
1420 (gl_object_editor_set_font_family),
1421 (gl_object_editor_set_font_weight),
1422 (gl_object_editor_get_font_weight),
1423 (gl_object_editor_set_text_alignment),
1424 (gl_object_editor_get_text_alignment),
1425 (gl_object_editor_set_text_color):
1426 * src/object-editor.h:
1427 * src/prefs-dialog.c: (construct_object_page),
1428 (update_object_page_from_prefs), (update_prefs_from_object_page):
1429 * src/prefs-model.c: (gl_prefs_model_save_settings),
1430 (gl_prefs_model_load_settings):
1431 * src/prefs-model.h:
1432 * src/print.c: (draw_text_object):
1433 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1434 (reset_to_default_properties), (update_text_properties),
1435 (font_bold_toggled_cb), (text_align_toggled_cb):
1437 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1438 (gl_util_weight_to_string), (gl_util_string_to_weight),
1439 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1441 * src/view-text.c: (update_object_from_editor_cb),
1442 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1443 * src/view.c: (gl_view_set_selection_text_alignment),
1444 (gl_view_set_default_text_alignment),
1445 (gl_view_get_default_text_alignment):
1447 * src/xml-label-04.c: (xml04_parse_text_props):
1448 * src/xml-label-191.c: (xml191_parse_text_props):
1449 * src/xml-label.c: (xml_parse_object_text),
1450 (xml_parse_toplevel_span), (xml_create_object_text),
1451 (xml_create_toplevel_span):
1452 Converted all model internals to Pango. GnomeFont remains in
1453 view until GnomeCanvas can be replaced with a cairo-based canvas.
1455 2007-01-17 Jim Evins <evins@snaught.com>
1461 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1462 (gl_wdgt_print_copies_construct):
1463 * src/wdgt-print-copies.h:
1464 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1465 (gl_wdgt_print_merge_construct):
1466 * src/wdgt-print-merge.h:
1467 Removed all remaining HIG wrapper widgets.
1469 2007-01-16 Jim Evins <evins@snaught.com>
1472 * src/print-dialog.c:
1473 * src/print-dialog.h:
1476 * src/template-designer.c: (print_test_cb):
1477 * src/ui-commands.c: (gl_ui_cmd_file_print):
1479 Renamed PrintDialog to PrintOp. Added constructor for batch
1481 * src/glabels-batch.c: (main):
1482 Converted to use new PrintOp object for printing.
1484 2007-01-15 Jim Evins <evins@snaught.com>
1486 * data/glade/Makefile.am:
1487 * data/glade/print-custom-widget.glade:
1488 * src/print-dialog.c:
1489 * src/print-dialog.h:
1492 * src/template-designer.c: (print_test_cb):
1493 * src/ui-commands.c: (gl_ui_cmd_file_print):
1494 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1495 * src/wdgt-print-merge.h:
1496 * src/window.c: (gl_window_init):
1498 Initial conversion to GtkPrintOperation.
1500 - Remove font and other libgnomeprint[ui] from elsewhere
1501 - Add batch initialization of print operation
1503 2007-01-08 Jim Evins <evins@snaught.com>
1505 Updated dependencies. Set version to 2.1.pre4cvs.
1507 2007-01-03 Jim Evins <evins@snaught.com>
1509 * src/recent-files/*
1510 Removed EggRecent stuff.
1516 * src/ui-commands.c:
1517 * src/ui-commands.h:
1519 Ported from EggRecent to GtkRecentManager.
1522 2007-01-02 Jim Evins <evins@snaught.com>
1525 * iec16022-0.2.1/BUGS:
1526 * iec16022-0.2.1/CHANGELOG:
1527 * iec16022-0.2.1/CREDITS:
1528 * iec16022-0.2.1/INSTALL:
1529 * iec16022-0.2.1/LICENSE:
1530 * iec16022-0.2.1/Makefile.am:
1531 * iec16022-0.2.1/Makefile.dist:
1532 * iec16022-0.2.1/README:
1533 * iec16022-0.2.1/README.glabels:
1534 * iec16022-0.2.1/TODO:
1535 * iec16022-0.2.1/iec16022.1:
1536 * iec16022-0.2.1/iec16022.c:
1537 * iec16022-0.2.1/iec16022ecc200.c:
1538 * iec16022-0.2.1/iec16022ecc200.h:
1539 * iec16022-0.2.1/image.c:
1540 * iec16022-0.2.1/image.h:
1541 * iec16022-0.2.1/reedsol.c:
1542 * iec16022-0.2.1/reedsol.h:
1543 * iec16022-0.2.1/test/testsuite-example.bin:
1544 * iec16022-0.2.1/test/testsuite-example.eps:
1545 * iec16022-0.2.1/test/testsuite-example.hex:
1546 * iec16022-0.2.1/test/testsuite-example.png:
1547 * iec16022-0.2.1/test/testsuite-example.text:
1548 * iec16022-0.2.1/test/testsuite.sh:
1549 Include modified copy of iec16022-0.2.1 to provide encoding
1550 support for datamatrix 2D barcodes.
1552 * src/bc-iec16022.c:
1553 * src/bc-iec16022.h:
1555 Added initial datamatrix 2D barcode backend to barcode code.
1558 Automatic updates to later versions of these files.
1560 2006-11-28 Jim Evins <evins@snaught.com>
1562 * data/templates/avery-iso-templates.xml:
1563 * data/templates/avery-us-templates.xml:
1564 * data/templates/categories.xml:
1565 * data/templates/misc-iso-templates.xml:
1566 * data/templates/misc-us-templates.xml:
1567 * data/templates/zweckform-iso-templates.xml:
1568 More categorization.
1570 2006-09-12 Jim Evins <evins@snaught.com>
1572 * data/dtd/glabels-2.0.dtd:
1573 * data/templates/Makefile.am:
1574 * data/templates/avery-iso-templates.xml:
1575 * data/templates/avery-other-templates.xml:
1576 * data/templates/avery-us-templates.xml:
1577 * data/templates/categories.xml:
1578 * data/templates/misc-iso-templates.xml:
1579 * data/templates/misc-other-templates.xml:
1580 * data/templates/zweckform-iso-templates.xml:
1581 * data/glade/Makefile.am:
1582 * data/glade/new-label-dialog.glade:
1583 * data/glade/wdgt-media-select.glade:
1584 * data/glade/wdgt-rotate-label.glade:
1585 * libglabels/Makefile.am:
1586 * libglabels/category.c:
1587 * libglabels/category.h:
1588 * libglabels/libglabels.h:
1589 * libglabels/paper.c:
1590 * libglabels/template.c:
1591 * libglabels/template.h:
1592 * libglabels/xml-category.c:
1593 * libglabels/xml-category.h:
1594 * libglabels/xml-template.c:
1595 Added support for category meta data.
1598 * src/mini-preview-pixbuf.c:
1599 * src/mini-preview-pixbuf.h:
1600 * src/new-label-dialog.c:
1601 * src/new-label-dialog.h:
1602 * src/wdgt-media-select.c:
1603 * src/wdgt-media-select.h:
1604 * src/wdgt-rotate-label.c:
1605 * src/wdgt-rotate-label.h:
1606 New "new label" dialog.
1608 2006-05-27 Jim Evins <evins@snaught.com>
1613 Preparation for 2.1.3.
1619 2006-05-22 Jim Evins <evins@snaught.com>
1621 * src/print.c: (draw_barcode_object):
1622 Don't print "Invalid barcode data" if data field is empty. Patch provided
1623 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1625 Added acknowledgment for above patch.
1626 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1627 * src/bc-postnet.c: (postnet_code):
1628 Removed "Invalid barcode data" warnings from stderr.
1629 * src/view-barcode.c: (draw_barcode):
1630 Draw box around barcode extent if data empty or invalid. Center a
1631 message whether the data is empty or invalid in box.
1633 2006-05-22 Jim Evins <evins@snaught.com>
1635 * src/print.c: (draw_text_object):
1636 Check shadow state when printing text.
1638 2006-05-20 Jim Evins <evins@snaught.com>
1640 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1641 (gl_ui_cmd_view_markup_toggle):
1642 Fixed crash when grid or markup have been toggled off during
1643 a previous session. Bug #1434324.
1645 2006-04-05 Jim Evins <evins@snaught.com>
1647 * src/object-editor.c: (gl_object_editor_set_key_names):
1648 Fixed potential crash when freeing empty key list.
1650 2006-03-11 Jim Evins <evins@snaught.com>
1652 * src/print.c: (draw_text_object):
1653 * src/view-text.c: (gl_view_text_new),
1654 (construct_properties_editor), (update_object_from_editor_cb),
1655 (update_editor_from_object_cb), (update_editor_from_label_cb),
1657 Added shadow support to text object.
1659 2006-02-18 Jim Evins <evins@snaught.com>
1661 * src/print.c: (draw_line_object):
1662 * src/view-line.c: (gl_view_line_new),
1663 (construct_properties_editor), (update_canvas_item_from_object_cb),
1664 (update_object_from_editor_cb), (update_editor_from_object_cb),
1665 (update_editor_from_label_cb):
1666 Added shadow support to line object.
1668 2006-02-16 Jim Evins <evins@snaught.com>
1672 * src/print.c: (draw_ellipse_object):
1673 * src/view-ellipse.c: (gl_view_ellipse_new),
1674 (construct_properties_editor), (update_canvas_item_from_object_cb),
1675 (update_object_from_editor_cb), (update_editor_from_object_cb),
1676 (update_editor_from_label_cb):
1677 Added shadow support to ellipse object.
1679 2006-02-15 Jim Evins <evins@snaught.com>
1681 * src/label-object.c:
1682 Changed default shadow offsets.
1683 * src/view-box.c: (gl_view_box_new):
1684 Simplified gl_view_box_new() so that is does not duplicate code
1685 in update_canvas_item_from_object_cb().
1687 2006-02-07 Jim Evins <evins@snaught.com>
1689 * data/glade/object-editor.glade:
1690 Fixed color groups of color combos.
1692 Added default shadow color.
1693 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1694 Added shadow color group.
1696 2006-02-06 Jim Evins <evins@snaught.com>
1698 * src/object-editor-shadow-page.c:
1699 Forgot to add this file.
1700 * src/view-box.c: (gl_view_box_new),
1701 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1702 Update limits on shadow offset spinbuttons.
1704 2006-01-19 Jim Evins <evins@snaught.com>
1706 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1707 Initialize key_list to NULL.
1708 * data/glade/object-editor.glade:
1712 * src/label-object.c:
1713 * src/label-object.h:
1714 * src/object-editor-fill-page.c:
1715 * src/object-editor-private.h:
1716 * src/object-editor.c:
1717 * src/object-editor.h:
1719 Created infrastructure for shadow support.
1722 Initial shadow support in box object only.
1724 2006-01-05 Jim Evins <evins@snaught.com>
1726 * src/merge-properties-dialog.c: (src_changed_cb):
1727 Be extra paranoid before calling strcmp().
1728 * src/merge.c: (gl_merge_set_src):
1729 Don't make (merge == NULL) a critical error.
1731 2005-12-22 Jim Evins <evins@snaught.com>
1733 * src/glabels-batch.c: (main):
1734 Compile warning free with gcc 4.0.
1736 2005-12-21 Jim Evins <evins@snaught.com>
1739 Updated example RPM spec file.
1741 2005-12-21 Jim Evins <evins@snaught.com>
1745 Preparation for 2.1.2.
1747 2005-12-20 Jim Evins <evins@snaught.com>
1750 Define unique G_LOG_DOMAIN for glabels.
1751 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1752 * src/warning-handler.c: (gl_warning_handler_init),
1754 Register for G_LOG_DOMAIN instead of NULL.
1756 2005-12-10 Jim Evins <evins@snaught.com>
1758 * src/merge-evolution.c:
1759 * src/merge-vcard.c:
1762 2005-12-08 Jim Evins <evins@snaught.com>
1764 * libglabels/paper.c: (read_paper_files_from_dir):
1765 * libglabels/template.c: (gl_template_register),
1766 (read_template_files_from_dir):
1767 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1768 (gl_xml_paper_parse_papers_doc):
1769 * libglabels/xml-template.c:
1770 (gl_xml_template_read_templates_from_file),
1771 (gl_xml_template_parse_templates_doc),
1772 (gl_xml_template_parse_template_node),
1773 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1774 (xml_parse_label_cd_node), (xml_parse_layout_node),
1775 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1776 (xml_parse_markup_circle_node),
1777 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1778 * libglabels/xml.c: (gl_xml_get_prop_length):
1779 Re-classified g_warnings to g_messages.
1781 * src/glabels.c: (main):
1782 * src/warning-handler.c: (gl_warning_handler_init),
1784 * src/warning-handler.h:
1785 Added warning message handler to make sure the user is
1786 presented with appropriate non-fatal errors.
1787 * src/critical-error-handler.c: (critical_error_handler):
1788 Changed exit to abort.
1789 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1790 * src/bc-postnet.c: (postnet_code):
1791 * src/bc.c: (id_to_index), (name_to_index):
1792 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1793 * src/object-editor.c: (gl_object_notebook_construct_valist):
1794 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1795 * src/prefs.c: (gl_prefs_get_units_per_point),
1796 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1797 (gl_prefs_get_units_string):
1798 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1799 * src/splash.c: (gl_splash):
1800 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1801 * src/view-highlight.c: (gl_view_highlight_new),
1802 (highlight_resizable_box_construct), (object_changed_cb),
1803 (view_scale_changed_cb):
1804 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1805 (draw_markup_layer), (draw_markup_margin),
1806 (gl_view_object_create_mode), (canvas_event),
1807 (selection_received_cb):
1808 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1809 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1810 * src/xml-label-04.c: (gl_xml_label_04_parse),
1811 (xml04_parse_media_description), (xml04_parse_text_props),
1812 (xml04_parse_barcode_props):
1813 * src/xml-label-191.c: (gl_xml_label_191_parse),
1814 (xml191_parse_objects), (xml191_parse_object),
1815 (xml191_parse_text_props), (xml191_parse_image_props),
1816 (xml191_parse_barcode_props), (xml191_parse_data),
1817 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1818 (xml191_parse_markup):
1819 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1820 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1821 (xml_parse_object_text), (xml_parse_object_image),
1822 (xml_parse_object_barcode), (xml_parse_data),
1823 (xml_parse_toplevel_span), (gl_xml_label_save),
1824 (xml_create_objects):
1825 Re-classified g_warnings to g_messages.
1826 * src/merge-evolution.c: (gl_merge_evolution_open),
1827 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1828 Use g_warning to output errors encountered while
1829 communicating with the evolution data server
1830 instead of embedding them in the data.
1832 2005-12-08 Jim Evins <evins@snaught.com>
1834 * libglabels/libglabels-private.h:
1836 * libglabels/paper.c: (read_papers):
1837 * libglabels/template.c: (read_templates):
1838 Made appropriate warnings critical.
1840 * src/critical-error-handler.h:
1841 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1842 (critical_error_handler):
1843 Created critical error handler.
1844 * src/glabels.c: (main):
1845 Register critical error handler.
1846 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1847 * src/object-editor.c: (gl_object_editor_init):
1848 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1849 * src/template-designer.c: (gl_template_designer_init):
1850 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1851 Made appropriate warnings critical.
1853 2005-11-27 Jim Evins <evins@snaught.com>
1855 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1856 (gl_merge_evolution_get_primary_key),
1857 (gl_merge_evolution_get_record):
1858 Don't create "record_key" pseudo-key. Don't populate
1859 fields with null data.
1861 2005-11-25 Jim Evins <evins@snaught.com>
1863 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1864 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1865 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1867 Query EDS for all supported fields. Patch provided by
1868 Austin Henry <ahenry@users.sourceforge.net>.
1870 2005-10-29 Jim Evins <evins@snaught.com>
1872 * src/glabels.c: (main):
1873 * src/label-barcode.c: (gl_label_barcode_finalize):
1874 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1875 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1876 * src/object-editor.c: (gl_object_editor_finalize):
1877 Another pass at valgrinding -- plugged several memory leaks.
1878 * src/view-text.c: (gl_view_text_new),
1879 (update_canvas_item_from_object_cb), (draw_hacktext):
1880 Commented out artifacts of edit-in-place code.
1882 2005-10-28 Jim Evins <evins@snaught.com>
1884 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1885 Fixed use of uninitialized variable. Caught by
1886 d binderman <dcb314@hotmail.com>.
1888 2005-10-27 Jim Evins <evins@snaught.com>
1890 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1891 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1893 Additional cleanup of EDS and vcard backends. Provided by
1894 Austin Henry <ahenry@users.sourceforge.net>.
1896 2005-10-24 Jim Evins <evins@snaught.com>
1900 * src/merge-evolution.c:
1901 * src/merge-evolution.h:
1902 * src/merge-init.c: (gl_merge_init):
1903 * src/merge-properties-dialog.c: (type_changed_cb):
1904 * src/merge-vcard.c:
1905 * src/merge-vcard.h:
1906 * src/ui-commands.c: (gl_ui_cmd_help_about):
1907 Added Evolution Data Server and VCard merge backends. Original patch
1908 provided by Austin Henry <ahenry@users.sourceforge.net>.
1910 Only support EDS and VCard backends if libebook is installed. Allow
1911 user to disable support, even if installed.
1913 2005-10-24 Jim Evins <evins@snaught.com>
1916 * data/templates/avery-iso-templates.xml:
1917 * data/templates/avery-us-templates.xml:
1918 * data/templates/misc-iso-templates.xml:
1919 * data/templates/zweckform-iso-templates.xml:
1920 Collected all template changes and submissions since last
1923 2005-10-23 Jim Evins <evins@snaught.com>
1926 * data/mime/Makefile.am:
1927 Added configure options to disable update-mime-database and
1928 update-desktop-database as part of the install. Patch
1929 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1931 2005-10-23 Jim Evins <evins@snaught.com>
1934 * libglabels/xml.c: (gl_xml_get_prop_string),
1935 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1936 (gl_xml_is_node), (gl_xml_get_node_content):
1937 Added new XML utility functions.
1938 * libglabels/xml-paper.c:
1939 * libglabels/xml-template.c:
1941 Cleanup by using new xml utilities created above.
1942 * libglabels/paper.c: (gl_paper_free):
1943 * src/file.c: (new_response):
1944 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1945 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1946 (gl_pixbuf_cache_get_pixbuf):
1947 * src/ui-property-bar.c:
1948 (gl_ui_property_bar_construct_color_combo):
1949 * src/view-highlight.c: (gl_view_highlight_finalize):
1950 * src/view-image.c: (update_object_from_editor_cb):
1951 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1952 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1953 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1954 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1955 (draw_markup_margin_round), (draw_markup_margin_cd),
1956 (draw_markup_margin_cd_bc):
1957 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1958 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1959 Plugged various memory leaks located with valgrind.
1960 * src/view-image.c: (update_canvas_item_from_object_cb):
1961 Don't allow a width or height of zero when drawing pixbuf.
1963 2005-10-22 Jim Evins <evins@snaught.com>
1965 * libglabels/xml-paper.c:
1966 * libglabels/xml-template.c:
1969 * src/bc-gnubarcode.c:
1970 * src/canvas-hacktext.c:
1972 * src/object-editor-data-page.c:
1973 * src/print-dialog.c:
1976 * src/template-designer.c:
1978 * src/ui-property-bar.c:
1980 * src/view-barcode.c:
1982 * src/view-ellipse.c:
1987 * src/wdgt-media-select.c:
1988 * src/xml-label-04.c:
1989 * src/xml-label-191.c:
1991 Modified to compile warning free with gcc-4.0. Mostly
1992 casting to change signedness of characters. Did not
1993 attack gnu-barcode library yet.
1995 2005-10-22 Jim Evins <evins@snaught.com>
1997 * src/glabels.c: (main):
1998 * src/splash.c: (gl_splash):
1999 Removed some small memory leaks.
2003 2005-09-19 Jim Evins <evins@snaught.com>
2005 * data/glade/property-bar.glade:
2006 Remove items from font_family_combo. This prevents the
2007 double entry after adding text model and list of fonts.
2008 * src/ui-property-bar.c: (reset_to_default_properties):
2009 Free font_family_list.
2011 2005-07-01 Jim Evins <evins@snaught.com>
2014 Updated italian translation (Daniele Medri)
2016 2005-06-26 Jim Evins <evins@snaught.com>
2018 * docs/libglabels/libglabels-decl-list.txt:
2019 Somehow never got checked in before.
2020 * docs/libglabels/libglabels.types:
2021 Removed -- don't need it afterall.
2023 2005-06-20 Jim Evins <evins@snaught.com>
2026 Final prep for 2.1.1 release.
2028 2005-06-20 Jim Evins <evins@snaught.com>
2031 Final preps for 2.1.1 release.
2032 * docs/libglabels/libglabels.types:
2033 Somehow never got checked in before.
2035 Bring up-to-date with recent reorg of ui code.
2038 2005-06-19 Jim Evins <evins@snaught.com>
2040 * src/template-designer.c: (construct_layout_page):
2041 Removed attempt to match background color of mini preview widget to
2044 2005-06-17 Jim Evins <evins@snaught.com>
2046 * help/C/figures/merge-ex2-4.png:
2047 * help/C/glabels.xml:
2048 Fixed spelling error.
2050 2005-06-13 Jim Evins <evins@snaught.com>
2052 * help/C/figures/merge-ex1-1.png:
2053 * help/C/figures/merge-ex1-2.png:
2054 * help/C/figures/merge-ex1-3.png:
2055 * help/C/figures/merge-ex1-4.png:
2056 * help/C/figures/merge-ex2-1.png:
2057 * help/C/figures/merge-ex2-2.png:
2058 * help/C/figures/merge-ex2-3.png:
2059 * help/C/figures/merge-ex2-4.png:
2060 Added figures for document merge tutorial.
2061 * help/C/glabels.xml:
2062 Added document merge tutorial.
2064 2005-05-19 Jim Evins <evins@snaught.com>
2066 * data/glade/merge-properties-dialog.glade:
2067 Fixed irregular spacing.
2068 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2069 (gl_merge_properties_dialog_construct):
2070 Set outer padding and remove separator.
2072 2005-05-18 Jim Evins <evins@snaught.com>
2076 Removed glHigDialog class.
2077 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2078 (gl_file_properties), (create_properties_dialog_widgets):
2079 * src/prefs-dialog.h:
2080 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2081 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2082 * src/print-dialog.h:
2083 * src/prefs-dialog.h:
2084 * src/print-dialog.c: (gl_print_dialog_get_type),
2085 (gl_print_dialog_init), (gl_print_dialog_construct):
2086 Replaced all instances of glHigDialog with GtkDialog.
2088 2005-05-17 Jim Evins <evins@snaught.com>
2092 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2093 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2094 (save_as_response), (gl_file_close):
2095 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2097 2005-05-15 Jim Evins <evins@snaught.com>
2099 * src/ui-commands.h:
2107 A little code reformatting -- no functional changes.
2109 2005-05-14 Jim Evins <evins@snaught.com>
2112 Removed obsolete macros.
2114 Added marshalling template to support new view signal: "context_menu_activate."
2116 * src/view.c: (gl_view_class_init), (gl_view_construct),
2117 (canvas_event_arrow_mode):
2118 - Removed hardcoded context menus and added new signal "context_menu_activate"
2119 to push this up to the uimanager.
2120 - Removed merge properties and print dialogs so that they can be managed with
2121 the window by the uimanager.
2122 * src/merge-properties-dialog.h:
2123 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2124 (gl_merge_properties_dialog_construct):
2125 Changed calling convention of gl_merge_properties_dialog_new() to use
2126 glLabel and GtkWindow instead of view to make more consistent with other
2128 * src/print-dialog.h:
2129 * src/print-dialog.c: (gl_print_dialog_new),
2130 (gl_print_dialog_construct):
2131 Removed last artifact of libbonoboui.
2132 * src/ui-commands.c: (gl_ui_cmd_file_print),
2133 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2134 Reconciled style for launching dialogs.
2135 * src/ui.c: (gl_ui_new):
2136 Added context menus to ui manager.
2137 * src/view-object.c: (item_event_arrow_mode):
2138 No longer try to select objects with right-click.
2140 * src/window.c: (gl_window_init), (gl_window_set_label),
2141 (context_menu_activate_cb):
2142 Context menus and all dialogs are now managed in a consistent way in window
2145 2005-05-11 Jim Evins <evins@snaught.com>
2148 * src/window.c: (gl_window_init), (gl_window_destroy):
2149 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2150 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2151 Moved management of recent_view back from window.c to ui.c -- it just feels
2154 2005-05-10 Jim Evins <evins@snaught.com>
2157 * src/window.c: (gl_window_init):
2159 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2160 (menu_item_select_cb), (menu_item_deselect_cb):
2161 Added GtkStatusbar which displays menu tooltips.
2163 2005-05-09 Jim Evins <evins@snaught.com>
2165 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2170 Removed dependencies on libbonoboui.
2172 * data/ui/Makefile.am:
2173 * data/ui/glabels-ui.xml:
2174 Removed data/ui directory.
2175 * data/glade/Makefile.am:
2176 * data/property-bar.glade:
2177 Added glade description of property-bar for new libglade implementation
2184 * src/ui-commands.h:
2185 * src/ui-commands.c:
2186 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2187 since the distinction between "commands" and "tools" is no longer that clear.
2190 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2191 no longer has knowledge of eggRecent*.
2192 * src/glabels.c: (main):
2193 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2195 * src/object-editor.c: (gl_object_editor_init):
2196 Make sure notebook does not respond to a "show_all" on the parent.
2197 * src/recent-files/Makefile.am:
2198 * src/recent-files/*.[ch]
2199 Updated from latest version of libegg which now has a view based on
2200 GtkUIManager. Removed unused bonobo and gtk views.
2201 * src/ui-property-bar.h:
2202 * src/ui-property-bar.c:
2203 New implementation based on libglade.
2206 Sidebar is now simply a GtkWidget and does not expect to be a part of
2207 a libbonoboui interface.
2212 Converted for use with GtkUIManager.
2215 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2216 to create menus and toolbars.
2218 2005-04-25 Jim Evins <evins@snaught.com>
2220 * data/templates/misc-iso-templates.xml:
2221 Added Fellows 04715 template provided by Steve Saxon.
2223 Updated acknowledgement for above.
2225 2005-04-23 Jim Evins <evins@snaught.com>
2227 * src/util.c: (gl_util_combo_box_set_strings):
2228 Make sure to clear model before loading a new list of strings.
2229 * src/wdgt-media-select.h:
2230 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2231 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2232 (template_combo_changed_cb), (prefs_changed_cb),
2233 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2234 (gl_wdgt_media_select_get_page_size),
2235 (gl_wdgt_media_select_set_page_size):
2236 Replaced the deprecated GtkCombo widget with the new
2239 2005-04-21 Jim Evins <evins@snaught.com>
2241 * data/glade/template-designer.glade:
2242 * src/template-designer.c: (construct_pg_size_page),
2243 (pg_size_page_changed_cb), (build_template):
2244 Replaced the deprecated GtkCombo widget with the new
2247 2005-04-20 Jim Evins <evins@snaught.com>
2249 * data/glade/prefs-dialog.glade:
2250 * src/prefs-dialog.c: (construct_object_page),
2251 (update_object_page_from_prefs), (update_prefs_from_object_page):
2252 Replaced the deprecated GtkCombo widget with the new
2255 2005-04-19 Jim Evins <evins@snaught.com>
2257 * data/glade/object-editor.glade:
2258 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2259 (style_changed_cb), (gl_object_editor_set_bc_style),
2260 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2261 (gl_object_editor_get_bc_color):
2262 * src/object-editor-data-page.c:
2263 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2264 (gl_object_editor_get_data):
2265 * src/object-editor-edit-page.c:
2266 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2267 * src/object-editor-fill-page.c:
2268 (gl_object_editor_prepare_fill_page),
2269 (gl_object_editor_set_fill_color),
2270 (gl_object_editor_get_fill_color):
2271 * src/object-editor-image-page.c:
2272 (gl_object_editor_prepare_image_page),
2273 (gl_object_editor_set_image), (gl_object_editor_get_image):
2274 * src/object-editor-line-page.c:
2275 (gl_object_editor_prepare_line_page),
2276 (gl_object_editor_set_line_color),
2277 (gl_object_editor_get_line_color):
2278 * src/object-editor-private.h:
2279 * src/object-editor-text-page.c:
2280 (gl_object_editor_prepare_text_page),
2281 (gl_object_editor_set_font_family),
2282 (gl_object_editor_get_font_family),
2283 (gl_object_editor_set_text_color),
2284 (gl_object_editor_get_text_color):
2285 * src/object-editor.c: (gl_object_editor_set_key_names):
2287 In the object editor: replaced all instances of the deprecated
2288 GtkCombo widget with the new GtkComboBox.
2290 2005-04-18 Jim Evins <evins@snaught.com>
2293 Neglected to save this one in previous checkin to support
2296 2005-04-17 Jim Evins <evins@snaught.com>
2298 * libglabels/libglabels-private.h:
2299 * libglabels/paper.c:
2300 * libglabels/paper.h:
2301 * libglabels/template.c:
2302 * libglabels/template.h:
2303 * libglabels/xml-paper.c:
2304 * libglabels/xml-paper.h:
2305 * libglabels/xml-template.c:
2310 * src/bc-gnubarcode.c:
2321 * src/label-barcode.c:
2323 * src/label-ellipse.c:
2324 * src/label-image.c:
2325 * src/label-image.h:
2327 * src/label-object.c:
2331 * src/merge-properties-dialog.c:
2332 * src/object-editor-bc-page.c:
2333 * src/object-editor-data-page.c:
2334 * src/object-editor-edit-page.c:
2335 * src/object-editor-fill-page.c:
2336 * src/object-editor-image-page.c:
2337 * src/object-editor-line-page.c:
2338 * src/object-editor-lsize-page.c:
2339 * src/object-editor-position-page.c:
2340 * src/object-editor-private.h:
2341 * src/object-editor-size-page.c:
2342 * src/object-editor-text-page.c:
2343 * src/object-editor.c:
2344 * src/object-editor.h:
2345 * src/pixbuf-cache.h:
2346 * src/prefs-dialog.c:
2347 * src/prefs-dialog.h:
2348 * src/prefs-model.c:
2349 * src/prefs-model.h:
2351 * src/print-dialog.c:
2352 * src/print-dialog.h:
2360 * src/template-designer.c:
2361 * src/template-designer.h:
2364 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2370 * src/view-barcode.c:
2372 * src/view-ellipse.c:
2373 * src/view-highlight.c:
2374 * src/view-highlight.h:
2377 * src/view-object.c:
2378 * src/view-object.h:
2382 * src/wdgt-chain-button.c:
2383 * src/wdgt-media-select.c:
2384 * src/wdgt-media-select.h:
2385 * src/wdgt-mini-preview.c:
2386 * src/wdgt-mini-preview.h:
2387 * src/wdgt-print-copies.c:
2388 * src/wdgt-print-copies.h:
2389 * src/wdgt-print-merge.c:
2390 * src/wdgt-print-merge.h:
2391 * src/wdgt-rotate-label.c:
2392 * src/wdgt-rotate-label.h:
2395 * src/xml-label-04.c:
2396 * src/xml-label-191.c:
2398 Cleanup of header files:
2399 - all header files are now stand-alone, verified by including
2400 first in corresponding "c" files
2401 - replaced blanket includes of gnome, gtk, and glib with
2404 2005-04-16 Jim Evins <evins@snaught.com>
2406 * data/glade/Makefile.am:
2407 * data/glade/merge-properties-dialog.glade:
2408 Added merge properties dialog glade description file.
2409 * src/merge-properties-dialog.h:
2410 * src/merge-properties-dialog.c:
2411 (gl_merge_properties_dialog_get_type),
2412 (gl_merge_properties_dialog_init),
2413 (gl_merge_properties_dialog_finalize),
2414 (gl_merge_properties_dialog_new),
2415 (gl_merge_properties_dialog_construct), (type_changed_cb),
2416 (src_changed_cb), (response_cb), (load_tree),
2417 (record_select_toggled_cb), (select_all_button_clicked_cb),
2418 (unselect_all_button_clicked_cb):
2419 Modified merge properties dialog to use libglade. Added
2420 "select all" and "unselect all" buttons.
2421 * src/merge-text.c: (parse_line):
2422 Handle empty lines better.
2423 * src/merge.c: (gl_merge_eval_key):
2424 Evaluate the key whether the record is selected or not.
2426 * src/util.c: (gl_util_combo_box_add_text_model):
2427 Since libglade does not use the gtk_combo_box_new_text()
2428 constructor for GtkComboBoxes, a utility function was created
2429 to add an appropriate text model to a GtkComboBox.
2430 * src/view.c: (gl_view_edit_merge_props):
2431 Removed unnecessary "show all's".
2433 2005-04-15 Jim Evins <evins@snaught.com>
2436 Updated russian translation (Vitaly Lipatov)
2437 * data/templates/misc-iso-templates.xml:
2438 Added templates for russian business cards provided by Vitaly Lipatov.
2440 Updated acknowledgements for above.
2442 2005-04-15 Jim Evins <evins@snaught.com>
2444 * data/templates/avery-us-templates.xml:
2445 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2446 * data/templates/misc-iso-templates.xml:
2447 Added Ryman standard CD/DVD template, provided by Dan Clark.
2449 Added acknowledgements for above.
2451 2005-04-10 Jim Evins <evins@snaught.com>
2453 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2454 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2455 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2456 (xml_parse_label_cd_node), (xml_parse_alias_node):
2457 * libglabels/xml.c: (gl_xml_get_prop_double),
2458 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2459 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2460 * src/xml-label-04.c: (xml04_parse_media_description),
2461 (xml04_parse_text_props), (xml04_parse_barcode_props),
2462 (xml04_parse_merge_properties):
2463 * src/xml-label-191.c: (xml191_parse_object),
2464 (xml191_parse_text_props), (xml191_parse_barcode_props),
2465 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2466 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2467 (xml191_parse_alias):
2468 * src/xml-label.c: (xml_parse_object_text),
2469 (xml_parse_object_barcode), (xml_parse_merge_fields),
2470 (xml_parse_pixdata), (xml_parse_toplevel_span):
2471 Make sure to use xmlFree for anything obtained from libxml
2472 in case libxml and glib use different memory management
2475 2005-04-08 Jim Evins <evins@snaught.com>
2478 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2479 (gl_util_combo_box_set_active_text):
2480 Added utility functions to simplify working with GtkComboBox
2482 * src/ui-property-bar.h:
2483 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2484 (reset_to_default_properties), (update_text_properties),
2485 (font_family_changed_cb):
2486 Replaced deprecated GtkCombo with GtkComboBox.
2489 2005-04-03 Jim Evins <evins@snaught.com>
2492 * src/wdgt-image-select.h:
2493 * src/wdgt-image-select.c:
2494 Removed obsolete wdgt-image-select.[ch] files.
2495 * libglabels/paper.c: (gl_paper_dup):
2496 Fixed rename of parameter introduced during documentation
2498 * data/glade/object-editor.glade:
2499 * src/object-editor-image-page.c:
2500 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2501 (gl_object_editor_set_image), (gl_object_editor_get_image),
2502 (update_preview_cb), (add_image_filters_to_chooser):
2503 * src/object-editor-private.h:
2504 Replaced deprecated GnomePixmapEntry with
2505 GtkFileChooserButton.
2507 2005-04-02 Jim Evins <evins@snaught.com>
2509 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2510 (mygal_combo_box_popup_hide_unconditional),
2511 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2512 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2513 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2514 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2515 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2516 Renamed all internal gtk_combo functions to mygal_combo
2517 to prevent namespace confusion.
2519 2005-04-02 Jim Evins <evins@snaught.com>
2521 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2522 (cust_color_set), (color_palette_setup):
2523 * src/mygal/color-palette.h:
2524 Replaced deprecated GnomeColorPicker with GtkColorButton.
2526 2005-04-02 Jim Evins <evins@snaught.com>
2528 * docs/libglabels/libglabels-sections.txt:
2529 * docs/libglabels/libglabels-undocumented.txt:
2530 * docs/libglabels/tmpl/enums.sgml:
2531 * docs/libglabels/tmpl/paper.sgml:
2532 * docs/libglabels/tmpl/xml-paper.sgml:
2533 * docs/libglabels/tmpl/xml-template.sgml:
2534 * libglabels/enums.h:
2535 * libglabels/paper.c: (gl_paper_dup):
2536 * libglabels/paper.h:
2537 * libglabels/xml-paper.c:
2538 * libglabels/xml-template.c:
2539 More documentation updates for libglabels.
2541 2005-03-23 Jim Evins <evins@snaught.com>
2544 Automatically updated.
2549 * docs/libglabels/Makefile.am:
2550 * docs/libglabels/libglabels-docs.sgml:
2551 * docs/libglabels/libglabels-sections.txt:
2552 * docs/libglabels/libglabels-undocumented.txt:
2553 * docs/libglabels/tmpl/enums.sgml:
2554 * docs/libglabels/tmpl/libglabels-unused.sgml:
2555 * docs/libglabels/tmpl/libglabels.sgml:
2556 * docs/libglabels/tmpl/paper.sgml:
2557 * docs/libglabels/tmpl/template.sgml:
2558 * docs/libglabels/tmpl/xml-paper.sgml:
2559 * docs/libglabels/tmpl/xml-template.sgml:
2560 * docs/libglabels/tmpl/xml.sgml:
2561 Added basic gtk-doc stuff to support documenting libglabels
2564 Updated function comments with gtk-doc markup.
2568 2005-03-22 Jim Evins <evins@snaught.com>
2570 Since the development version now requires gtk-2.6/gnome-2.10, I
2571 have made a first pass at removing deprecations.
2574 * libglabels/Makefile.am:
2576 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2577 Also removed all remnants of HAVE_FILECHOOSER.
2578 * src/file.c: (gl_file_open_real):
2579 Removed code for old GtkFileSelection.
2580 * libglabels/libglabels-private.h:
2581 * libglabels/paper.c:
2582 * libglabels/template.c:
2583 * libglabels/xml-paper.c:
2584 * libglabels/xml-template.c:
2588 * src/glabels-batch.c:
2592 * src/merge-properties-dialog.c:
2594 * src/object-editor.c:
2595 * src/prefs-dialog.c:
2597 * src/print-dialog.c:
2600 * src/template-designer.c:
2601 * src/ui-property-bar.c:
2603 * src/view-barcode.c:
2605 * src/view-ellipse.c:
2610 * src/wdgt-image-select.c:
2611 * src/wdgt-media-select.c:
2612 * src/wdgt-print-copies.c:
2613 * src/wdgt-print-merge.c:
2614 * src/wdgt-rotate-label.c:
2616 * src/xml-label-04.c:
2617 * src/xml-label-191.c:
2619 Added '#include <glib/gi18n.h>" where needed.
2620 Removed any unused '#include <gnome.h>"s.
2622 2005-03-22 Jim Evins <evins@snaught.com>
2624 * src/commands.c: (activate_url), (gl_cmd_help_about):
2625 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2626 development version of glabels now depends on GTK 2.6 and
2629 Updated library dependencies.
2631 2005-02-28 Jim Evins <evins@snaught.com>
2634 * data/templates/misc-iso-templates.xml:
2635 Added 'Ednet 45021' template provided by Ali Akcaagac
2638 2005-02-14 Jim Evins <evins@snaught.com>
2640 * data/templates/avery-us-templates.xml:
2641 Updated templates to use inches instead of points.
2642 * src/print-dialog.c: (printer_page_new):
2643 Changed packing style when adding printer selector widget. This fixes
2646 2005-02-13 Jim Evins <evins@snaught.com>
2650 Updated spanish translations. (sergio rivadero)
2652 2005-02-05 Jim Evins <evins@snaught.com>
2654 Some cleanup to libglabels.
2657 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2658 * libglabels/libglabels.pc.in
2660 * libglabels/enums.h
2661 Created. Currently only contains glUnitsType which provides enumerations
2662 for all possible units of distance.
2663 * libglabels/Makefile.am:
2664 Incorporated new files enums.h and libglabels.pc[.in].
2665 * libglabels/libglabels.h:
2667 * libglabels/template.h:
2668 * libglabels/template.c: (gl_template_layout_new):
2669 Changed parameters nx and ny to gint from gdouble.
2671 * libglabels/xml.c: (gl_xml_get_prop_length),
2672 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2673 Added support for different output units.
2674 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2675 (update_prefs_from_locale_page):
2676 * src/prefs-model.c: (string_to_units), (units_to_string):
2677 * src/prefs-model.h:
2678 * src/prefs.c: (gl_prefs_get_units_per_point),
2679 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2680 (gl_prefs_get_units_string):
2682 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2683 Reconciled all length enumerations with the new enumerations provided
2684 in libglabels/enums.h.
2686 2005-02-03 Jim Evins <evins@snaught.com>
2689 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2691 Updated Italian translations. (Daniele Medri)
2693 Updated credits to reflect above translations.
2696 2005-01-22 Jim Evins <evins@snaught.com>
2701 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2703 Final prep for 2.1.0.
2705 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2707 Added '--remove-original' flag to desktop-file-install, so that there is
2708 only one menu entry.
2710 2005-01-20 Jim Evins <evins@snaught.com>
2712 * data/glade/object-editor.glade:
2713 - Font family entry should not be editable.
2714 - img_key_entry should have sensitivity=YES, so that it follows the
2715 sensitivity of img_key_combo.
2717 2005-01-19 Jim Evins <evins@snaught.com>
2720 Give credit to Frederic Ruaudel for the color merge patches.
2722 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2724 Add support to merge color for all other color attribute (Feature
2725 Requests item #1008635. If the data is invalid, the color used is transparent
2726 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2727 by gdk_color_parse() these include name for a color from rgb.txt, such as
2728 DarkSlateGray, or a hex specification such as #305050. File format has been
2729 changed but backward compatibility is preserved for all format. For
2730 box/ellipse/line, keep attribute "line_color" for static color or replace by
2731 "line_color_field" for merge data. For text/barcode objects, keep attribute
2732 "color" for static color or replace by "color_field" for merge data. In the
2733 edit canvas window, merged color are represented by half-transparent black
2736 * data/dtd/glabels-2.0.dtd:
2737 Added line_color_field to line_attrs. Added color_field to
2738 Object-barcode and Span.
2739 * data/glade/object-editor.glade:
2740 Modify the layout of the editor to add merge possibility to color options
2742 Fix a copy/paste error in a comment
2744 Add default color for merge color representation in the editor canvas.
2745 * src/label-barcode.c:
2746 * src/object-editor-bc-page.c:
2747 * src/view-barcode.c:
2748 Add merge color support for barcode color.
2751 Add merge color support for box border color.
2752 * src/label-ellipse.c:
2753 * src/view-ellipse.c:
2754 Add merge color support for ellipse border color.
2757 Add merge color support for line color.
2758 * src/label-object.c:
2759 * src/label-object.h:
2760 * src/object-editor.c:
2761 * src/object-editor.h:
2762 * src/ui-property-bar.c:
2765 * src/xml-label-04.c:
2766 * src/xml-label-191.c:
2767 Add support for merging to other color attribute.
2769 * src/object-editor-text-page.c:
2771 Add merge color support for text color.
2772 * src/object-editor-fill-page.c:
2773 Change a blocked handler that didn't match the good widget. Fix the type
2774 of some debug message.
2775 * src/object-editor-line-page.c:
2776 Add merging support to line color option.
2777 * src/object-editor-private.h:
2778 Add variables for new widget.
2780 Modify the draw functions to get merge data if needed.
2782 Change the default size of the window in order to see all widget in the
2783 "text style tab" of the editor.
2785 Modify the parser to record/retreive the field value for objects that need
2786 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2787 static color or replace by "line_color_field" for merge data. For
2788 text/barcode objects, keep attribute "color" for static color or replace
2789 by "color_field" for merge data.
2791 2005-01-17 Jim Evins <evins@snaught.com>
2793 * src/view.c: (screen_changed_cb):
2794 Don't do anything if we don't have a screen.
2796 2005-01-06 Jim Evins <evins@snaught.com>
2798 * src/view.c: (get_home_scale):
2799 Fixed bad call to gtk_widget_has_screen() -- huh?.
2801 2005-01-06 Jim Evins <evins@snaught.com>
2803 * data/dtd/glabels-2.0.dtd:
2804 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2807 2005-01-06 Jim Evins <evins@snaught.com>
2809 * data/glade/object-editor.glade:
2810 Set entries for fill and data field key dropdowns to NOT editable.
2811 * src/view-box.c: (construct_properties_editor):
2812 * src/view-ellipse.c: (construct_properties_editor):
2813 Update object editor when label's merge property has changed.
2814 * src/xml-label.c: (xml_parse_object_ellipse):
2815 Completed the merge color support for the ellipse item.
2817 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2819 Add support to merge color for object that have a "Fill color" attribute (Feature
2820 Requests item #1008635. If the data is invalid, the color used is transparent
2821 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2822 by gdk_color_parse() these include name for a color from rgb.txt, such as
2823 DarkSlateGray, or a hex specification such as #305050. File format has been
2824 changed but backward compatibility is preserved for all format. For box/ellipse,
2825 keep attribute "fill_color" for static color or replace by "fill_color_field"
2828 * data/glade/object-editor.glade:
2829 Modify "Fill" tab to add the merge key combo and convert the labels into
2833 Add "glColorNode" structure and associated functions to manage it. This
2834 structure is equivalent for color than the "glTextNode". It holds the color
2836 * src/label-object.h:
2837 * src/label-object.c:
2839 * src/label-ellipse.c:
2840 * src/ui-property-bar.c:
2844 * src/view-ellipse.c:
2845 * src/xml-label-04.c:
2846 * src/xml-label-191.c:
2847 Change functions of objects that have a "fill color" attribute to use the
2848 new "glColorNode" structure. Use barcode code as example.
2850 Add the color.[ch] file to glabels_batch binary that now need support for
2852 * src/object-editor.h:
2853 * src/object-editor.c:
2854 * src/object-editor-fill-page.c:
2855 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2856 to choose between static color or merge key. Use barcode code as example.
2857 * src/object-editor-private.h:
2858 Add new widget in the "_glObjectEditorPrivate" structure.
2860 Modify the draw functions to get merge data if needed.
2862 Modify the parser to record/retreive the field value for objects that need
2863 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2864 color or "fill_color_field" for merge data.
2866 2005-01-04 Jim Evins <evins@snaught.com>
2869 * data/templates/avery-iso-templates.xml:
2870 * data/templates/misc-iso-templates.xml:
2871 * data/templates/misc-us-templates.xml:
2872 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2875 2004-11-26 Jim Evins <evins@snaught.com>
2879 Updated french translations provided by Florent Morel <florent@taket.org>.
2880 * src/view-barcode.c:
2882 * src/view-ellipse.c:
2886 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2887 thus _() strings were not being translated.
2889 2004-11-14 Jim Evins <evins@snaught.com>
2892 * src/debug.c: (gl_debug_init), (gl_debug):
2893 Borrowed from gedit: use environmental variables to select debug
2896 Removed unused include of debug.h.
2897 * src/glabels.c: (main):
2898 Added call to gl_debug_init(), and removed debug clutter from command line
2900 * src/glabels-batch.c: (main):
2901 Added call to gl_debug_init().
2903 2004-11-13 Jim Evins <evins@snaught.com>
2905 Drawing and property toolbars were being initialized with the "icons and text"
2906 look in Fedora Core 3. Even though none of the buttons had any text attached to
2907 them, the buttons were being sized as if they were. This led to less real estate
2908 for the property editor, leading to Bug #1064630. The
2910 * data/ui/glabels-ui.xml:
2911 Added explicit "look" property to both drawing and property toolbars.
2912 * src/prefs-model.c: (gl_prefs_model_save_settings),
2913 (gl_prefs_model_load_settings):
2914 * src/prefs-model.h:
2915 Removed drawing_toolbar_button_style configuration parameter.
2916 * src/ui.c: (view_menu_item_toggled_cb),
2917 (set_app_drawing_toolbar_style):
2918 Do not attempt to adjust look property of the drawing toolbar.
2920 2004-10-28 Jim Evins <evins@snaught.com>
2922 * data/pixmaps/glabels-about-logo.png:
2925 2004-10-28 Jim Evins <evins@snaught.com>
2927 * data/man/glabels.1:
2928 * src/glabels-batch.c: (main):
2930 * src/print.c: (gl_print_batch):
2932 Added option to glabels-batch to select the first label to begin
2935 2004-09-26 Jim Evins <evins@snaught.com>
2937 * data/desktop/glabels.desktop.in:
2938 Point to app icon, "glabels.png"
2939 * data/mime/glabels.keys.in:
2940 Point at mime icon, "glabels-application-x-glabels.png"
2941 * data/pixmaps/Makefile.am:
2942 Added glabels_app_icondir. Renamed icons.
2943 * data/pixmaps/glabels.png:
2944 New cleaned up app icon. Deleted glabels-icon.png.
2945 * data/pixmaps/glabels-application-x-glabels.png:
2947 * data/pixmaps/glabels-splash.png:
2948 Renamed glabels-logo to glabels-splash to be more correct about role.
2950 * src/template-designer.c:
2951 Point at app icon, "glabels.png"
2953 Point at renamed splash image, "glabels-splash.png"
2955 2004-08-22 Jim Evins <evins@snaught.com>
2958 * src/glabels-batch.c: (main):
2959 Applied patch with minor mods to allow selecting merge source and
2960 crop-marks on glabels-batch's command line. Original patch provided by
2961 José Dapena Paz <jdapena@igalia.com>.
2963 2004-08-15 Jim Evins <evins@snaught.com>
2965 * data/desktop/glabels.desktop.in:
2966 - Added encoding line
2967 - Removed period from comment
2968 - Fixed Terminal line, changed "0" to "false"
2969 - Added semicolen to Categories line
2971 - Made sure desktop.in comment string above still translated properly
2973 2004-08-14 Jim Evins <evins@snaught.com>
2975 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2976 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2977 * src/xml-label-191.c: (xml191_parse_sheet):
2978 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2980 Reconciled libglabels versioning with 2.0.1.
2983 2004-08-14 Jim Evins <evins@snaught.com>
2986 Updated version to 2.1cvs.
2988 2004-08-14 Jim Evins <evins@snaught.com>
2991 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2993 2004-08-14 Jim Evins <evins@snaught.com>
2995 Fixes for Bug #1008181.
2997 * src/bc.c: (gl_barcode_default_digits):
2998 Make a format of zero digits, harmless.
2999 * src/xml-label.c: (xml_parse_object_barcode):
3000 Set default value of the format property of barcode objects to 10, not
3001 zero. This will prevent crashes when reading pre 2.0.x files.
3003 2004-08-09 Jim Evins <evins@snaught.com>
3007 * help/C/glabels-C.omf:
3008 * help/C/glabels.xml:
3009 Brought documentation up-to-date for 2.0.0 release.
3011 2004-08-09 Jim Evins <evins@snaught.com>
3013 These are hopefully the final preparations for 2.0.0.
3015 * data/mime/Makefile.am:
3016 Include glabels.xml in EXTRA_DIST.
3018 - Updated comment style.
3019 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3020 - Added package and version info to configuration printout
3021 - Update version to 2.0.0
3022 * libglabels/Makefile.am:
3023 Use the new LIBGLABELS_VERSION_INFO macro.
3025 2004-08-09 Jim Evins <evins@snaught.com>
3029 Cleanup of required library macros.
3031 2004-08-08 Jim Evins <evins@snaught.com>
3035 - More specific of what to install in /usr/bin and /usr/lib
3036 - Remove built mime registration files from staging directory
3038 2004-08-08 Jim Evins <evins@snaught.com>
3040 * data/mime/Makefile.am:
3041 Fixed typo: key_files should have been keys_files.
3043 2004-08-08 Jim Evins <evins@snaught.com>
3045 Reorganization of runtime data files. Also added registration of mimetype with
3046 new freedesktop.org mime database if available.
3049 Moved files to appropriate subdirectories, creating local Makefile.am
3050 in each subdirectory.
3051 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3052 These are now installed at $datadir/glabels/templates.
3053 - Moved glabels.1 to man subdirectory.
3054 - Moved glabels-2.0.dtd to dtd subdirectory.
3055 - Moved glabels.desktop.in to desktop subdirectory.
3056 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3058 Moved "./pixmaps" to "./data/pixmaps"
3060 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3062 Moved libglade files from src to data/glade. Created Makefile.am.
3064 Removed pixmaps from SUBDIRS.
3066 - Removed pixmaps from makefiles.
3067 - Added makefiles for new subdirs of data.
3068 - Added tests for freedesktop.org mime database.
3070 - Added tests for freedesktop.org mime database for post install and
3071 post un-install actions.
3072 * libglabels/Makefile.am:
3073 Moved system template files to $(datadir)/glabels/templates.
3074 * libglabels/libglabels-private.h:
3075 Moved system template files to $(datadir)/glabels/templates.
3077 - Accounted for movement of ui and libglade files.
3078 - Added missing .in files.
3079 - Reorganized by directory.
3081 Accounted for movement of ui and libglade files.
3082 * data/mime/glabels.xml.in:
3083 New file for registering with freedesktop.org mime database.
3085 2004-08-07 Jim Evins <evins@snaught.com>
3087 * src/recent-files/*:
3088 Re-synced to latest libegg/recent-files.
3090 2004-08-07 Jim Evins <evins@snaught.com>
3095 Renamed "./doc" directory to "./help" which contains user documentation,
3096 to be more consistent with other GNOME applications.
3099 2004-07-26 Jim Evins <evins@snaught.com>
3101 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3102 Corrected button order of merge properties dialog.
3104 2004-07-18 Jim Evins <evins@snaught.com>
3106 * data/glabels-2.0.dtd:
3107 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3108 (gl_barcode_get_prefered_n):
3110 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3111 (gl_label_barcode_get_props), (get_size):
3112 * src/label-barcode.h:
3113 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3114 (style_changed_cb), (gl_object_editor_set_bc_style),
3115 (gl_object_editor_get_bc_style):
3116 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3117 (gl_object_editor_set_data), (gl_object_editor_get_data):
3118 * src/object-editor-private.h:
3119 * src/object-editor.c: (gl_object_editor_set_key_names):
3120 * src/object-editor.glade:
3121 * src/object-editor.h:
3122 * src/print.c: (draw_barcode_object):
3123 * src/view-barcode.c: (update_object_from_editor_cb),
3124 (update_editor_from_object_cb),
3125 (gl_view_barcode_create_event_handler), (draw_barcode):
3126 * src/xml-label-04.c: (xml04_parse_barcode_props):
3127 * src/xml-label-191.c: (xml191_parse_barcode_props):
3128 * src/xml-label.c: (xml_parse_object_barcode),
3129 (xml_create_object_barcode):
3130 Added "format" attribute to barcode objects. This attribute is used
3131 to properly format freeform barcodes barcodes prior to merge data is
3132 applied, so that barcodes can be accurately layed out. This addresses
3133 remaining issues of feature request #824787. Also added an example of
3134 the format in the object editor.
3136 2004-07-12 Jim Evins <evins@snaught.com>
3138 Various code cleanups.
3140 * src/label-barcode.c:
3141 Removed unneeded include of gnome-glyphlist.h.
3143 * src/label-text.c: (get_size):
3144 Fixed memory leak: unref glyphlists when done with them.
3146 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3147 * src/object-editor-data-page.c:
3148 (gl_object_editor_prepare_data_page):
3149 * src/object-editor-image-page.c:
3150 (gl_object_editor_prepare_image_page):
3151 * src/object-editor-line-page.c:
3152 (gl_object_editor_prepare_line_page):
3153 * src/object-editor-lsize-page.c:
3154 (gl_object_editor_prepare_lsize_page):
3155 * src/object-editor-position-page.c:
3156 (gl_object_editor_prepare_position_page):
3157 * src/object-editor-size-page.c:
3158 (gl_object_editor_prepare_size_page):
3159 * src/object-editor-text-page.c:
3160 (gl_object_editor_prepare_text_page):
3161 Removed unneeded size groups, originally intended to keep widgets aligned.
3162 Now use tables to lay these out in object-editor.glade.
3164 * src/print.c: (draw_text_object):
3165 Fixed memory leak: unref glyphlists when done with them.
3167 * src/view-barcode.c: (draw_barcode):
3168 Fixed memory leak: unref glyphlists when done with them.
3170 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3171 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3173 - Fixed memory leak: unref glyphlists when done with them.
3175 2004-07-11 Jim Evins <evins@snaught.com>
3177 * data/glabels-2.0.dtd:
3178 * src/label-text.c: (gl_label_text_instance_init), (copy),
3179 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3181 * src/object-editor-private.h:
3182 * src/object-editor-text-page.c:
3183 (gl_object_editor_prepare_text_page),
3184 (gl_object_editor_set_text_auto_shrink),
3185 (gl_object_editor_get_text_auto_shrink):
3186 * src/object-editor.c: (gl_object_editor_set_key_names):
3187 * src/object-editor.glade:
3188 * src/object-editor.h:
3189 * src/print.c: (draw_text_object):
3190 * src/view-text.c: (update_object_from_editor_cb),
3191 (update_editor_from_object_cb):
3192 * src/xml-label.c: (xml_parse_object_text),
3193 (xml_create_object_text):
3194 Added option to allow document merge to auto shrink text size to fit
3195 within the text box. The code in print.c that actually shrinks the
3196 text is loosely based on a patch submitted by Mark Harrison
3197 <mark.harrison@velocitynet.com.au>. This addresses feature request
3200 2004-07-11 Jim Evins <evins@snaught.com>
3202 * data/glabels-2.0.dtd:
3203 * libglabels/template.c: (gl_template_rect_label_type_new),
3204 (gl_template_round_label_type_new),
3205 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3206 (template_full_page):
3207 * libglabels/template.h:
3208 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3209 (xml_create_label_node):
3210 * pixmaps/ex-rect-size.png:
3211 * src/print.c: (clip_to_outline), (clip_punchouts):
3212 * src/template-designer.c: (construct_rect_size_page),
3213 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3215 * src/template-designer.glade:
3216 * src/xml-label-191.c: (xml191_parse_label):
3217 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3218 properties for rectangular labels. Templates remain backwards compatible,
3219 but this breaks the libglabels API (I don't know of anyone outside of
3220 glabels using libglabels at this time -- what can I say, the program is
3221 is still "unstable"). This addresses the suggestion in Feature Request
3224 2004-07-05 Jim Evins <evins@snaught.com>
3225 * src/print.c: (print_crop_marks), (draw_outline):
3226 Changed crop marks and label outlines to black, instead of 25% gray.
3227 This addresses debian Bug #257460.
3229 2004-07-05 Jim Evins <evins@snaught.com>
3231 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3232 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3233 Preserve "is_default" of fill and line color_combos when creating from
3236 2004-07-02 Jim Evins <evins@snaught.com>
3239 Created man page. Based on page submitted by Matthew J. Lockner, however
3240 it has been severely edited.
3242 * data/avery-other-templates.xml
3243 * data/misc-other-templates.xml:
3244 Started new files for predefined templates with non-standard sheet sizes.
3245 These have been initially populated with the Avery 06141 and
3246 OfficeMax #86112, both provided by Matthew J. Lockner.
3249 Install above manpage and template files.
3252 Make sure we install man pages.
3254 * src/glabels-batch.c:
3255 Changed short form of help option to '-?' to be consistent with glabels.
3258 Added acknowledgement for above labels.
3260 2004-07-02 Jim Evins <evins@snaught.com>
3262 * src/glabels.c: (main), (save_session_cb):
3263 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3265 - save_session_cb() now returns gboolean.
3266 - Minor formatting changes.
3270 - Now include file.h to provide missing prototype.
3271 - gl_window_get_type() now returns GType, not guint. I believe this may
3272 ultimately be cause of the segfault reported in Bug #982287, since
3273 GType is actually a gulong, which may not be compatible on other
3274 architectures (64bit) -- I cannot personally test this at this time.
3275 I was sloppy in several other xxx_get_type() functions which also
3276 returned guint -- see next group of files:
3278 * src/window.c: (gl_window_get_type):
3279 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3280 * src/canvas-hacktext.h:
3281 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3282 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3283 (gl_hig_hbox_get_type):
3285 * src/label-barcode.c: (gl_label_barcode_get_type):
3286 * src/label-barcode.h:
3287 * src/label-box.c: (gl_label_box_get_type):
3289 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3290 * src/label-ellipse.h:
3291 * src/label-image.c: (gl_label_image_get_type):
3292 * src/label-image.h:
3293 * src/label-line.c: (gl_label_line_get_type):
3295 * src/label-object.c: (gl_label_object_get_type):
3296 * src/label-object.h:
3297 * src/label-text.c: (gl_label_text_get_type):
3299 * src/label.c: (gl_label_get_type):
3301 * src/merge-properties-dialog.c:
3302 (gl_merge_properties_dialog_get_type):
3303 * src/merge-properties-dialog.h:
3304 * src/merge-text.c: (gl_merge_text_get_type):
3306 * src/merge.c: (gl_merge_get_type):
3308 * src/object-editor.c: (gl_object_editor_get_type):
3309 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3310 * src/prefs-dialog.h:
3311 * src/prefs-model.c: (gl_prefs_model_get_type):
3312 * src/prefs-model.h:
3313 * src/print-dialog.c: (gl_print_dialog_get_type):
3314 * src/print-dialog.h:
3315 * src/template-designer.c: (gl_template_designer_get_type):
3316 * src/template-designer.h:
3317 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3318 * src/ui-property-bar.h:
3319 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3321 * src/view-barcode.c: (gl_view_barcode_get_type):
3322 * src/view-barcode.h:
3323 * src/view-box.c: (gl_view_box_get_type):
3325 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3326 * src/view-ellipse.h:
3327 * src/view-highlight.c: (gl_view_highlight_get_type):
3328 * src/view-highlight.h:
3329 * src/view-image.c: (gl_view_image_get_type):
3331 * src/view-line.c: (gl_view_line_get_type):
3333 * src/view-object.c: (gl_view_object_get_type):
3334 * src/view-object.h:
3335 * src/view-text.c: (gl_view_text_get_type):
3337 * src/view.c: (gl_view_get_type):
3339 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3340 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3341 * src/wdgt-image-select.h:
3342 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3343 * src/wdgt-media-select.h:
3344 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3345 * src/wdgt-mini-preview.h:
3346 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3347 * src/wdgt-print-copies.h:
3348 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3349 * src/wdgt-print-merge.h:
3350 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3351 * src/wdgt-rotate-label.h:
3352 - Made sure all xxx_get_type functions returned GType, not guint. This
3353 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3354 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3355 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3356 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3357 window.[ch] details above for more info.
3358 - Reconciled various coding style differences in all xxx_get_type()
3360 * All prototypes include G_GNUC_CONST.
3361 * All prototypes specify the return value as GType, not GtkType
3363 * Info structures are all declared as "static const."
3364 * Generalized the names of type and info variables.
3365 * Miscelaneous formatting.
3367 2004-06-08 Jim Evins <evins@snaught.com>
3373 Don't touch compression of original file -- still defaults to 9 for
3374 new files. Original patch provided by Javier Donaire Segarra
3375 (#912252 in patch tracker).
3377 2004-05-05 Jim Evins <evins@snaught.com>
3379 * data/glabels-2.0.dtd:
3380 Broke DTD previously when adding new barcode types that contain a
3381 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3382 to avoid the problem.
3383 * data/avery-iso-templates.xml:
3384 * data/zweckform-iso-templates.xml:
3386 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3387 provided by Frank Altpeter.
3388 * libglabels/xml-template.c: (xml_create_label_node):
3389 Reordered markup and layout sub-nodes so that resulting templates will
3390 validate against DTD.
3392 2004-03-13 Jim Evins <evins@snaught.com>
3394 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3395 Changed spin callback signals from "value-changed" back to "changed."
3396 This was accidentally introduced in a previous revision, and can cause
3397 size changes just by selecting the size tab.
3399 2004-03-06 Jim Evins <evins@snaught.com>
3401 * src/view.c: (draw_grid_layer):
3402 For round labels (round and cd) adjust grid so that it lines up with
3403 center of label. Also, no longer draw box around label in the grid layer,
3404 it is hidden by he fg layer anyway. Feature suggested by
3405 nemolivier@free.fr. Although the grid is aligned with the center of the
3406 label, the coordinate system is still relative to the upper left corner
3407 of the rectangle containing the label.
3409 2004-02-25 Jim Evins <evins@snaught.com>
3412 Changed version to 2.0pre1cvs
3414 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3415 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3416 instead of doc->name fields when errors encountered.
3418 2004-02-21 Jim Evins <evins@snaught.com>
3420 * data/avery-iso-templates.xml:
3421 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3424 Added libglabels library and include file to installed files.
3427 Final prep for 1.93.3.
3429 2004-02-20 Jim Evins <evins@snaught.com>
3431 * src/glabels-batch.c: (main):
3432 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3433 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3435 2004-02-16 Jim Evins <evins@snaught.com>
3438 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3441 Added HAVE_FILE_CHOOSER to INCLUDES.
3443 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3444 (gl_file_save_as), (save_as_response):
3445 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3447 2004-02-16 Jim Evins <evins@snaught.com>
3449 * src/xml-label-04.c: (xml04_parse_image_props):
3450 * src/xml-label-191.c: (xml191_parse_image_props):
3451 * src/xml-label.c: (xml_parse_object_image):
3452 Delay setting image size until after image has been applied to new
3455 2004-02-15 Jim Evins <evins@snaught.com>
3457 * src/label-barcode.c: (gl_label_barcode_set_data),
3458 (gl_label_barcode_set_props):
3459 Don't emit "changed" signal, if no change actually made for these
3460 methods. Reduces number of unnecessary redraws of barcodes.
3462 * src/label-object.h:
3463 * src/label-object.c: (gl_label_object_set_position),
3464 (gl_label_object_set_position_relative), (set_size),
3465 (gl_label_object_set_size),
3466 (gl_label_object_set_size_honor_aspect):
3467 Don't emit "changed" signal, if no change actually made for these
3470 2004-02-15 Jim Evins <evins@snaught.com>
3472 * data/glabels-2.0.dtd:
3473 Added specific subtypes for various barcode types.
3476 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3477 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3478 (gl_barcode_can_text), (gl_barcode_text_optional),
3479 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3480 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3481 Changed API to use a string id, rather than a fixed enumeration. Id and
3482 name are separate strings. Added entries to backend table for specific
3483 subtypes for various barcode types.
3486 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3488 Modified to conform to above API. Now more stringent with data length
3489 for various subtypes.
3491 * src/bc-gnubarcode.h:
3492 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3493 (is_length_valid), (is_length1_valid), (is_length2_valid):
3494 Modified to conform to above API. Now more stringent with data length
3495 for various subtypes.
3497 * src/label-barcode.h:
3498 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3499 (gl_label_barcode_get_props), (get_size):
3500 Modified to use above API for storing barcode type.
3502 * src/object-editor.h:
3503 * src/object-editor-bc-page.c: (style_changed_cb),
3504 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3505 Modified to use above API for storing barcode type.
3507 * src/object-editor-size-page.c:
3508 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3509 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3510 Added debug markers.
3512 * src/object-editor.glade:
3513 Made barcode style combo's text entry non-editable.
3515 * src/print.c: (draw_barcode_object):
3516 Modified to use above API for barcode type.
3518 * src/view-barcode.c: (update_object_from_editor_cb),
3519 (update_editor_from_object_cb),
3520 (gl_view_barcode_create_event_handler), (draw_barcode):
3521 Modified to use above API for barcode type.
3523 * src/xml-label-04.c: (xml04_parse_barcode_props):
3524 * src/xml-label-191.c: (xml191_parse_barcode_props):
3525 * src/xml-label.c: (xml_parse_object_barcode),
3526 (xml_create_object_barcode):
3527 Modified to use above API for barcode type.
3529 2004-02-07 Jim Evins <evins@snaught.com>
3531 * src/stock-pixmaps/Makefile.am:
3532 * src/stock-pixmaps/stock_hchain_24.png:
3533 * src/stock-pixmaps/stock_hchain_broken_24.png:
3534 * src/stock-pixmaps/stock_vchain_24.png:
3535 * src/stock-pixmaps/stock_vchain_broken_24.png:
3536 Added chain pixmaps borrowed from the gimp's default theme.
3539 * src/stock.c: (gl_stock_init), (add_button_icon):
3540 Added above pixmaps to stock icon sets. Created add_button_icon() to
3541 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3543 * src/wdgt-chain-button.h
3544 * src/wdgt-chain-button.c
3547 Added this Modified version of gimpchainbutton widget, borrowed from
3551 Added acknowledgements of the above borrowing from the gimp.
3553 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3555 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3556 * src/object-editor.glade:
3557 Replaced the keep aspect ratio check box with the above chain-button
3560 * src/text-node.c: (gl_text_node_equal):
3562 Added function gl_text_node_equal() to compare text_nodes.
3564 * src/label-image.c: (gl_label_image_set_filename):
3565 Replaced incomplete text_node comparison code with invocation of
3566 gl_text_node_equal. This fixed the problem of not being able to
3567 resize an image using the object_editor if the aspect ratio is not
3570 2004-02-04 Jim Evins <evins@snaught.com>
3572 * src/object-editor-image-page.c:
3573 (gl_object_editor_prepare_image_page):
3574 Track "changed" signal of pixmap entry's GtkEntry rather than its
3575 "activate" signal -- this catches all changes to the entry rather than
3576 just changes resulting from a browse, so one can easily pull previous
3577 entries from the history. (This change is marked below on 2004-02-03,
3578 but somehow never got checked in.)
3580 * src/view-highlight.c: (sl_resize_event_handler),
3581 (sr_resize_event_handler), (st_resize_event_handler),
3582 (sb_resize_event_handler):
3583 Side resize handles will now confirm the actual resize that the object
3584 accepted before adjusting position parameters. Previously some interesting
3585 things happened when resizing a barcode to its minimum size.
3587 2004-02-03 Jim Evins <evins@snaught.com>
3589 * src/object-editor-image-page.c:
3590 (gl_object_editor_prepare_image_page):
3591 Track "changed" signal of pixmap entry's GtkEntry rather than its
3592 "activate" signal -- this catches all changes to the entry rather than
3593 just changes resulting from a browse, so one can easily pull previous
3594 entries from the history.
3596 * src/view-highlight.c: (tl_resize_event_handler),
3597 (tr_resize_event_handler), (bl_resize_event_handler),
3598 (br_resize_event_handler):
3599 Allow control key to be dropped while dragging a corner resize handle
3600 without losing the aspect ratio lock.
3602 2004-02-02 Jim Evins <evins@snaught.com>
3604 * src/label-image.c: (gl_label_image_set_filename):
3605 When setting a new filename adjust size such that the aspect ratio of
3606 the image is preserved using the current size as a bounding box.
3608 * src/view-image.c: (update_object_from_editor_cb):
3609 When updating object from editor, feed back possible size changes to
3610 editor as a result of a possible change in image.
3612 * src/object-editor-size-page.c: (size_reset_cb):
3613 Fixed typo when blocking spin handlers. If the base size is larger than
3614 the max size, treat max size as a bounding box while keeping aspect
3618 2004-02-02 Jim Evins <evins@snaught.com>
3620 * src/label-object.h:
3621 * src/label-object.c: (gl_label_object_set_size),
3622 (gl_label_object_set_size_honor_aspect):
3623 Added gl_label_object_set_size_honor_aspect() which will maintain the
3624 current aspect ratio by modifying the supplied w or h apropriately.
3626 * src/view-highlight.c: (tl_resize_event_handler),
3627 (tr_resize_event_handler), (bl_resize_event_handler),
3628 (br_resize_event_handler):
3629 Corner handles will now maintain the current aspect ratio if the
3630 control key is pressed while resizing. This addresses feature
3634 2004-01-31 Jim Evins <evins@snaught.com>
3637 * data/avery-us-templates.xml:
3638 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3640 * libglabels/template.c: (read_template_files_from_dir):
3641 Corrected problem with testing for extensions.
3643 * src/object-editor.glade:
3644 Corrected grouping of radio buttons in barcode data page.
3646 * src/print.c: (draw_barcode_object):
3647 * src/view-barcode.c: (draw_barcode):
3648 Corrected problem with calculation of y_offset for locating characters.
3650 2004-01-24 Jim Evins <evins@snaught.com>
3653 * data/avery-us-templates.xml:
3654 Added Avery 5824, submitted by Fred Bacon.
3656 2004-01-20 Jim Evins <evins@snaught.com>
3658 Catching up on a couple of backlogged user template submissions.
3660 * data/avery-iso-templates.xml:
3661 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3662 Suggested by Linas Jakucionis.
3664 * data/zweckform-iso-templates.xml:
3665 Added Zweckform 4760, submitted by Thomas Vill.
3668 Updated to reflect above submissions.
3670 2004-01-06 Jim Evins <evins@snaught.com>
3672 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3673 xml.[ch] into a separate library called libglabels, to facilitate third
3674 party use of glabels template files. This was suggested by Wayne Schuller.
3675 Once split-out, some modifications to the structures and functions to
3676 make a cleaner more useful API, hopefully. Rather extensive changes have
3677 propogated to other modules.
3685 * src/xml-template.h:
3686 * src/xml-template.c:
3689 These files have been moved to libglabels/. API cleanup performed.
3691 * libglabels/libglabels.h:
3692 * libglabels/libglabels-private.h:
3693 * libglabels/Makefile.am:
3694 These files have been added to finish out libglabels.
3701 Modified to reflect new sets of files in src/ and libglabels/.
3703 * COPYING.LIBGLABELS:
3705 Added copy of the LGPL for libglabels, and a copy the GFDL for
3708 * src/glabels-batch.c:
3710 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3711 (gl_label_get_size):
3713 * src/prefs-model.c: (gl_prefs_model_load_settings):
3714 * src/print-dialog.c:
3715 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3716 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3717 (print_crop_marks), (print_label), (draw_outline),
3718 (clip_to_outline), (clip_punchouts):
3719 * src/template-designer.c: (construct_pg_size_page),
3720 (pg_size_page_changed_cb), (layout_page_changed_cb),
3721 (print_test_cb), (build_template):
3722 * src/util.c: (gl_util_fraction):
3724 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3725 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3726 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3727 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3728 (draw_markup_margin_round), (draw_markup_margin_cd),
3729 (draw_markup_margin_cd_bc), (draw_markup_line),
3730 (draw_markup_circle), (gl_view_copy):
3731 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3732 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3733 (get_label_size_desc):
3734 * src/wdgt-mini-preview.c:
3735 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3737 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3738 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3739 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3740 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3741 * src/wdgt-rotate-label.h:
3742 * src/xml-label-04.c: (xml04_parse_media_description):
3743 * src/xml-label-191.c: (gl_xml_label_191_parse),
3744 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3745 (xml191_parse_markup), (xml191_parse_alias):
3746 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3748 Various changes to accomodate new libglabels API.
3750 2004-01-03 Jim Evins <evins@snaught.com>
3755 2004-01-03 Jim Evins <evins@snaught.com>
3758 Added acknowledgement of contributions by Wayne Schuller.
3760 * src/commands.c: (gl_cmd_file_print):
3761 Create extra reference to print dialog, so that it can be properly re-used.
3763 * src/mygal/mygal-combo-box.h:
3764 * src/mygal/mygal-combo-box.c:
3765 (mygal_combo_box_popup_hide_unconditional),
3766 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3767 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3768 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3769 (mygal_combo_box_set_tearable):
3770 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3771 complete the rename of this widget to prevent namespace collisions
3774 * src/prefs-dialog.glade:
3775 Fixed alignment of Fill/Color widgets.
3777 2004-01-03 Jim Evins <evins@snaught.com>
3779 * data/avery-iso-templates.xml:
3780 Added user submitted templates.
3781 Avery 8435A & 8435B, submitted by Ludger Solbach.
3783 * doc/C/glabels.xml:
3784 Added minimal documentation, noting the new template designer.
3786 2004-01-03 Jim Evins <evins@snaught.com>
3788 * pixmaps/ex-rect-size.png:
3789 * pixmaps/ex-round-size.png:
3790 * pixmaps/ex-cd-size.png:
3791 * pixmaps/Makefile.am:
3792 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3793 files to be used as illustrations/examples in the template-designer.
3795 * src/template-designer.c: (construct_rect_size_page),
3796 (construct_round_size_page), (construct_cd_size_page),
3797 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3798 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3799 (layout_page_prepare_cb), (build_template):
3800 * src/template-designer.glade:
3801 Added illustrations for rectangle, round, and cd label size pages.
3802 Added margin spinboxes to these pages, and now add a margin markup
3803 to the constructed template. Added realistic default values for
3804 some of the size spinboxes. Cleaned up the code for setting spinbox
3805 ranges on the layouts page.
3807 2004-01-02 Jim Evins <evins@snaught.com>
3809 * src/object-editor-size-page.c: (h_spin_cb):
3810 Fixed cut-n-paste error in h_spin_cb that loaded h from
3811 the wrong spinbutton.
3813 * src/object-editor.h:
3814 * src/object-editor.c: (gl_object_editor_class_init),
3815 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3816 * src/object-editor-private.h:
3817 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3819 Added "size_changed" signal.
3821 * src/view-text.c: (construct_properties_editor),
3822 (update_object_from_editor_cb),
3823 (update_object_from_editor_size_cb):
3824 Track size changes from object editor separately from other
3825 properties. This is so the default size (0,0) of a text
3826 object is not modified unintentionally.
3828 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3830 Added feature: line spacing - allows you to comfortably space a text box to
3831 fit a label perfectly.
3833 * data/glabels-2.0.dtd:
3834 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3835 (gl_label_object_get_text_alignment),
3836 (gl_label_object_get_text_line_spacing):
3837 * src/label-object.h:
3838 * src/label-text.c: (gl_label_text_class_init),
3839 (gl_label_text_instance_init), (copy), (get_size),
3840 (set_text_line_spacing), (get_text_alignment),
3841 (get_text_line_spacing):
3842 * src/object-editor-private.h:
3843 * src/object-editor-text-page.c:
3844 (gl_object_editor_prepare_text_page),
3845 (gl_object_editor_set_text_line_spacing),
3846 (gl_object_editor_get_text_line_spacing):
3847 * src/object-editor.glade:
3848 * src/object-editor.h:
3849 * src/prefs-dialog.c: (construct_object_page),
3850 (update_object_page_from_prefs), (update_prefs_from_object_page):
3851 * src/prefs-dialog.glade:
3852 * src/prefs-model.c: (gl_prefs_model_save_settings),
3853 (gl_prefs_model_load_settings), (get_float):
3854 * src/prefs-model.h:
3855 * src/print.c: (draw_text_object):
3857 * src/view-text.c: (update_object_from_editor_cb),
3858 (update_editor_from_object_cb),
3859 (gl_view_text_create_event_handler), (draw_hacktext):
3860 * src/view.c: (gl_view_construct),
3861 (gl_view_set_selection_text_line_spacing),
3862 (gl_view_set_default_text_line_spacing),
3863 (gl_view_get_default_text_line_spacing):
3865 * src/xml-label.c: (xml_parse_toplevel_span),
3866 (xml_create_toplevel_span):
3868 2003-12-30 Jim Evins <evins@snaught.com>
3870 * src/template-designer.c:
3871 * src/template-designer.h:
3872 * src/template-designer.glade:
3873 New template designer assistant.
3877 Added entries for src/template-designer.* files.
3879 * pixmaps/ex-1layout.png
3880 * pixmaps/ex-2layouts.png
3881 * pixmaps/Makefile.am:
3882 Added the new image files ex-*.png used as illustrations in the
3883 template designer assistant.
3885 * src/print-dialog.h:
3886 * src/print-dialog.c: (gl_print_dialog_finalize),
3887 (gl_print_dialog_new), (gl_print_dialog_construct),
3888 (gl_print_dialog_force_outline_flag):
3889 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3890 to support printing from the template designer assistant which does not
3891 have a full-fledged view. Nothing else from the view object was being
3892 used by the dialog anyway.
3894 Added the gl_print_dialog_force_outline_flag() method, for better
3895 integration with the template designer assistant.
3899 * src/commands.c: (gl_cmd_file_template_designer),
3900 (gl_cmd_file_print):
3901 Modified print command to provide label instead of view to dialog.
3902 Added the gl_cmd_file_template_designer() command to invoke the
3903 template designer assistant.
3906 * src/glabels-ui.xml:
3907 Added support for template designer assistant.
3909 * src/wdgt-mini-preview.h:
3910 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3911 (gl_wdgt_mini_preview_set_bg_color):
3912 Preview is now centered in canvas. Added
3913 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3914 assistant to match the background color with its own.
3916 * src/print.c: (clip_to_outline):
3917 Fixed really stupid bug when adding waste to clip region of rectangular
3918 labels/cards. Each side of the clip region needs to be extended by
3919 twice the waste margin, as well as negatively offset by the waste
3922 2003-12-28 Jim Evins <evins@snaught.com>
3924 * src/prefs-dialog.c: (update_object_page_from_prefs):
3925 Block intermediary function align_toggle_cb() instead of
3926 update_prefs_from_object_page() for the three alignment
3929 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3931 * src/file.c: (gl_file_new), (gl_file_properties):
3932 Swap button order and set default for higificatory pleasure.
3934 2003-12-27 Jim Evins <evins@snaught.com>
3936 * barcode-0.98/Makefile.am:
3937 One last time: removed doc/Makefile and po/Makefile.in.in from
3940 2003-12-27 Jim Evins <evins@snaught.com>
3942 * barcode-0.98/Makefile.am:
3943 Removed config.stat entry from EXTRA_DIST files.
3945 * barcode-0.98/Makefile.in:
3948 2003-12-27 Jim Evins <evins@snaught.com>
3951 Updated to work with latest gnome-common package from CVS.
3952 Removed recursive configuration of barcode-0.98.
3959 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3961 * barcode-0.98/Makefile.in:
3962 * barcode-0.98/configure.in:
3963 * barcode-0.98/Makefile.am:
3964 * barcode-0.98/README.glabels:
3965 Modified to ignore the barcode package's build system, and build
3966 as a part of glabels.
3967 Renamed Makefile.in to Makefile.in.dist.
3968 Renamed configure.in to configure.in.dist.
3969 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3972 * src/mygal/Makefile.am:
3973 * src/recent-files/Makefile.am:
3974 In order to build against the GNOME 2.5 platform,
3975 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3977 * src/mygal/Makefile.am:
3978 * src/mygal/mygal-combo-box.c:
3979 * src/mygal/mygal-combo-box.h:
3980 * src/mygal/widget-color-combo.c:
3981 * src/mygal/widget-color-combo.h:
3983 In order to build against the GNOME 2.5 platform,
3984 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3985 collisions with the real gtk_combo_box widget, now a part of gtk.
3987 2003-12-26 Jim Evins <evins@snaught.com>
3993 Moved local versions of get_home_data_dir() in paper.c and
3994 template.c to util package. Cleaned up formatting in
3998 In gl_template_register() save a copy of the template in
3999 ~/.glabels if the template is not known. Still need to
4000 handle duplicate filename case and duplicate name but
4001 different template case.
4005 Moved local definition of NAME_SPACE macro from xml-label.c
4008 * src/xml-template.c:
4009 * src/xml-template.h:
4010 Added function gl_xml_template_write_template_to_file(), used
4011 in gl_template_register().