1 2008-08-29 Jim Evins <evins@snaught.com>
3 * src/file.c: (gl_file_open), (gl_file_save_as):
4 Bug #2069668. Corrected button order in Open and "Save as"
7 2008-08-17 Jim Evins <evins@snaught.com>
9 * data/dtd/glabels-2.2.dtd:
10 * data/templates/paper-sizes.xml:
11 * libglabels/db.c: (lgl_db_init):
12 * libglabels/paper.c: (lgl_paper_new), (lgl_paper_dup), (lgl_paper_free):
14 * libglabels/xml-paper.c: (lgl_xml_paper_parse_paper_node):
15 * src/print-op.c: (set_page_size):
16 Bug #2049431. Always explicitely set page size. Added pwg_size field (PWG 5101.1-2002
17 size specification) to the libglabels paper database to allow the page size to be
18 communicated to GtkPrintOp un-ambiguously.
20 2008-07-25 Jim Evins <evins@snaught.com>
22 * src/object-editor-size-page.c: (size_reset_cb),
23 (gl_object_editor_set_max_size):
24 Bug #1993550. Set size limits based on longest side of label.
26 2008-07-19 Jim Evins <evins@snaught.com>
29 * src/mygal/Makefile.am:
30 Make sure libtool handles library dependencies for mygal
33 2008-05-21 Jim Evins <evins@snaught.com>
35 * src/glabels-batch.c: (main):
36 Bug #1968653. Initialize prefs subsystem.
38 2008-05-09 Jim Evins <evins@snaught.com>
40 * data/glade/object-editor.glade:
41 Bug #1959135. A couple of radio buttons somehow became
44 2008-04-07 Jim Evins <evins@snaught.com>
46 * src/wdgt-rotate-label.h:
47 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_init),
48 (gl_wdgt_rotate_label_new), (toggled_cb), (create_pixbuf),
49 (gl_wdgt_rotate_label_get_state), (gl_wdgt_rotate_label_set_state),
50 (gl_wdgt_rotate_label_set_template_name):
51 Modified wdgt-rotate-label to better indicate the rotation choices.
52 * data/glade/Makefile.am:
53 * data/glade/wdgt-rotate-label.glade:
54 Deleted wdgt-rotate-label.glade.
56 2008-04-04 Jim Evins <evins@snaught.com>
58 * data/templates/brother-other-templates.xml:
59 Added categories to existing templates.
60 * data/templates/misc-other-templates.xml:
61 Moved dymo templates to their own file.
62 * data/templates/Makefile.am:
63 * data/templates/dymo-other-templates.xml:
64 Additional dymo templates provided by Harald Welte <laforge@gnumonks.org>.
66 Acknowledgement for above templates.
68 2008-03-24 Jim Evins <evins@snaught.com>
70 * src/xml-label.c: (xml_doc_to_label):
71 Bug #1872584. Don't refuse to parse label file if namespace is
72 unrecognized -- it may be from a newer version of glabels.
74 2008-03-15 Jim Evins <evins@snaught.com>
76 * data/templates/Makefile.am:
77 * data/templates/brother-other-templates.xml:
78 Added brother templates.
79 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
80 (gl_cairo_markup_margin_cd_path):
81 * src/view.c: (draw_markup_layer):
82 Fixed markup drawing errors when label is rotated.
84 2008-03-03 Jim Evins <evins@snaught.com>
88 Added korean translation provided by xein@naver.com.
90 2008-02-21 Jim Evins <evins@snaught.com>
93 Fixed typo that prevented "Save" from being deactivated when
94 document is not modified.
96 2008-02-18 Jim Evins <evins@snaught.com>
98 * src/prefs-model.c: (gl_prefs_model_save_settings),
99 (gl_prefs_model_load_settings):
100 Set default units for file output.
102 2008-02-18 Jim Evins <evins@snaught.com>
104 * help/C/glabels.xml:
105 Fixed example template.
107 2008-02-16 Jim Evins <evins@snaught.com>
110 * data/templates/avery-iso-templates.xml:
111 * data/templates/avery-us-templates.xml:
112 * data/templates/misc-iso-templates.xml:
113 * data/templates/misc-us-templates.xml:
114 Caught up on user submitted templates.
116 2008-02-04 Jim Evins <evins@snaught.com>
118 * src/view-image.c: (update_object_from_editor_cb):
119 Bug #1886438. Don't update the image size unless it is actually
120 triggered by a change in image source. The result of this bug
121 was that any attempt to edit the size spinboxes, immediately
124 2008-02-03 Jim Evins <evins@snaught.com>
126 * src/label-image.c: (gl_label_image_class_init), (set_size):
127 Enforce minimum size for images.
129 2008-02-03 Jim Evins <evins@snaught.com>
131 * src/object-editor-edit-page.c: (field_selected_cb):
132 * src/object-editor-lsize-page.c: (gl_object_editor_set_max_lsize):
133 * src/object-editor-private.h:
134 * src/object-editor-shadow-page.c:
135 (gl_object_editor_set_max_shadow_offset):
136 * src/object-editor-size-page.c: (gl_object_editor_set_max_size):
137 * src/object-editor.c: (gl_object_editor_finalize),
138 (gl_object_editor_new), (gl_object_notebook_construct_valist),
140 * src/object-editor.h:
141 * src/ui-sidebar.c: (gl_ui_sidebar_construct):
142 * src/view-barcode.c: (construct_properties_editor):
143 * src/view-box.c: (construct_properties_editor):
144 * src/view-ellipse.c: (construct_properties_editor):
145 * src/view-image.c: (construct_properties_editor):
146 * src/view-line.c: (construct_properties_editor):
147 * src/view-object.c: (gl_view_object_finalize):
148 * src/view-text.c: (construct_properties_editor),
149 Move update_editor_from_label callback from individual view objects
150 to the object editor, so that signals can be disconnected when
151 object editor is finalized.
152 * src/view-text.c: (gl_view_text_create_button_press_event):
153 Fixed bug that caused multiple view objects to be created for a
154 single text object. This bug would manifest itself as a crash
155 when deleting multi-object selections which included text objects.
157 2008-02-02 Jim Evins <evins@snaught.com>
160 * src/wdgt-merge-menu.c:
161 * src/wdgt-merge-menu.h:
162 * src/debug.c: (gl_debug_init):
165 New merge menu widget.
166 * data/glade/object-editor.glade:
167 * src/object-editor-private.h:
168 * src/object-editor.c: (gl_object_editor_set_key_names):
169 * src/object-editor-edit-page.c:
170 (gl_object_editor_prepare_edit_page), (field_selected_cb),
172 Simplified UI for inserting fields into text objects by launching
173 a merge menu and directly inserting fields from the menu. No more
174 selecting field in combobox, then pressing insert button.
176 2008-01-31 Jim Evins <evins@snaught.com>
178 * src/label-barcode.c: (draw_object):
179 Fixed rendering problem when "Invalid data" is displayed when text
180 object is lower in stacking order.
182 2008-01-30 Jim Evins <evins@snaught.com>
184 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
185 Don't turn off cairo_hint_metrics. This causes serious issues with
188 2008-01-29 Jim Evins <evins@snaught.com>
190 * src/print-op.c: (gl_print_op_construct),
191 (gl_print_op_construct_batch), (set_page_size):
192 Explicitly set page size for "other" page sizes.
194 2008-01-25 Jim Evins <evins@snaught.com>
197 Fixed Code128C backend parameters.
198 * src/label-barcode.c: (get_size):
199 Bug #1766425. If barcode is not renderable with either
200 input data or default data, use a default size. Also
203 2008-01-16 Jim Evins <evins@snaught.com>
205 * src/print.c: (print_label):
206 Bug #1872568. Don't apply special transforms (rotate and
207 mirror) to clipping region or outline.
209 2008-01-01 Jim Evins <evins@snaught.com>
212 Sort font lists alphabetically.
214 2008-01-01 Jim Evins <evins@snaught.com>
216 * src/merge-evolution.c:
217 Do a case-insensitive sort.
219 2008-01-01 Jim Evins <evins@snaught.com>
221 * src/merge-evolution.c:
222 Sort evolution by "file_under" field. Original patch provided
223 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
226 Added acknowledgement for above patch.
228 2008-01-01 Jim Evins <evins@snaught.com>
233 Reconcile with 2.2 branch.
236 2007-12-21 Jim Evins <evins@snaught.com>
238 * COPYING.LIBGLABELS:
239 * COPYING.README_FIRST:
241 Updating license information to make more complete and understandable.
243 2007-12-16 Jim Evins <evins@snaught.com>
246 Updated version to 2.pre2.
247 * help/C/glabels.xml:
248 Updated documentation.
249 * src/ui-commands.c: (gl_ui_cmd_help_about):
250 Updated copyright string.
252 2007-12-15 Jim Evins <evins@snaught.com>
254 * data/glade/object-editor.glade:
255 Removed any GtkTable that contained a GtkComboBox because the size of
256 the combo box was not constrained properly. This sacrifices the nice
257 orderly labels for combo boxes that don't extend beyond the edge of the
260 2007-12-15 Jim Evins <evins@snaught.com>
262 * libglabels/db.c: (lgl_db_lookup_template_from_name):
263 * src/object-editor.c: (gl_object_editor_finalize):
264 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
265 Fixed several small memory leaks.
267 2007-12-14 Jim Evins <evins@snaught.com>
270 Optimize template search by name by using a GHashTable.
271 * src/mini-preview-pixbuf-cache.c:
272 * src/mini-preview-pixbuf-cache.h:
273 Store one pixbuf per template, but use a key for each alias.
274 * src/wdgt-media-select.c:
275 Optimize loading of tree data, thus optimizing the "new label" dialog.
277 2007-12-12 Jim Evins <evins@snaught.com>
279 * data/templates/avery-us-templates.xml:
280 More templates and aliases.
282 2007-12-08 Jim Evins <evins@snaught.com>
285 More prep for 2.1.5/2.2.0.
287 2007-12-08 Jim Evins <evins@snaught.com>
293 Preparation for 2.1.5.
295 2007-12-08 Jim Evins <evins@snaught.com>
297 * docs/libglabels/libglabels-decl-list.txt:
298 * docs/libglabels/libglabels-docs.sgml:
299 * docs/libglabels/libglabels-sections.txt:
300 * docs/libglabels/libglabels-undocumented.txt:
301 * docs/libglabels/tmpl/db.sgml:
302 * docs/libglabels/tmpl/str.sgml:
304 Documentation cleanup for libglabels.
306 2007-11-29 Jim Evins <evins@snaught.com>
310 Added lgl_db_does_template_name_exist().
311 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
314 Proof read recent templates -- make sure they still exist.
315 * src/wdgt-media-select.c:
316 Default to "search all templates" tab if no recent templates found.
318 2007-11-28 Jim Evins <evins@snaught.com>
320 * data/glade/wdgt-media-select.glade:
321 * src/wdgt-media-select.c:
322 Added tabbed notebook to allow selection of recent template versus searching the
326 2007-11-26 Jim Evins <evins@snaught.com>
328 * libglabels/Makefile.am:
329 * libglabels/libglabels.h:
332 * src/prefs-dialog.c:
337 Added tracking of recently used templates.
339 2007-11-20 Jim Evins <evins@snaught.com>
341 * data/glade/template-designer.glade:
342 * src/template-designer.c:
343 Added warning icon when match brand and part match an existing template.
345 2007-11-18 Jim Evins <evins@snaught.com>
347 * libglabels/Makefile.am:
350 Added lgl_str_utf8_casecmp().
351 * libglabels/libglabels-private.h:
352 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
353 * libglabels/db.c: (lgl_db_get_brand_list):
354 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
357 2007-11-18 Jim Evins <evins@snaught.com>
359 * data/glade/template-designer.glade:
360 * src/template-designer.c:
361 Don't advance past name page, if brand and part match an existing template.
363 2007-11-18 Jim Evins <evins@snaught.com>
365 * libglabels/db.c: (lgl_db_register_template), (read_templates):
366 When registering a new template, don't add to "User defined" category before
367 writing to file. Add to "User defined" category when reading from "~/.glabels"
368 directory instead. This will allow legacy templates (and manually created
369 templates) to be automatically added to the "user defined" category.
370 * libglabels/xml-template.c:
371 (lgl_xml_template_create_template_node):
372 Fixed typo/bug causing brand to be wrong.
374 2007-11-16 Jim Evins <evins@snaught.com>
378 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
379 function. Automatically create "User defined" category and add to all user
380 registered templates.
381 * libglabels/xml-template.c:
382 * libglabels/xml-template.h:
383 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
384 lgl_xml_template_write_template_to_file().
385 * docs/libglabels/libglabels-decl-list.txt:
386 * docs/libglabels/libglabels-sections.txt:
387 * docs/libglabels/libglabels-undocumented.txt:
388 * docs/libglabels/tmpl/db.sgml:
389 * docs/libglabels/tmpl/xml-template.sgml:
390 Update documentation to reflect above changes.
392 2007-10-28 Jim Evins <evins@snaught.com>
394 * libglabels/xml-template.c:
395 Remove any leading white space from part #s when parsing old names.
396 * src/mini-preview-pixbuf-cache.c:
397 If name isn't in cache add it.
399 2007-10-26 Jim Evins <evins@snaught.com>
401 * libglabels/Makefile.am:
402 * libglabels/category.c:
403 * libglabels/category.h:
406 * libglabels/libglabels-private.h:
407 * libglabels/libglabels.h:
408 * libglabels/paper.c:
409 * libglabels/paper.h:
410 * libglabels/template.c:
411 * libglabels/template.h:
412 * libglabels/xml-template.c:
413 Another pass at screwing with the libglabels API. Moved all
414 database related stuff to db.[ch].
415 * docs/libglabels/libglabels-decl-list.txt:
416 * docs/libglabels/libglabels-docs.sgml:
417 * docs/libglabels/libglabels-sections.txt:
418 * docs/libglabels/libglabels-undocumented.txt:
419 * docs/libglabels/tmpl/category.sgml:
420 * docs/libglabels/tmpl/db.sgml:
421 * docs/libglabels/tmpl/init.sgml:
422 * docs/libglabels/tmpl/libglabels-unused.sgml:
423 * docs/libglabels/tmpl/paper.sgml:
424 * docs/libglabels/tmpl/template-construction.sgml:
425 * docs/libglabels/tmpl/template-db.sgml:
426 * docs/libglabels/tmpl/template-misc.sgml:
427 * docs/libglabels/tmpl/template-struct.sgml:
428 * docs/libglabels/tmpl/template.sgml:
429 Updated documentation to reflect above changes to libglabels API.
431 * src/glabels-batch.c:
433 * src/mini-preview-pixbuf-cache.c:
436 * src/template-designer.c:
437 * src/wdgt-media-select.c:
438 * src/wdgt-mini-preview.c:
439 * src/wdgt-rotate-label.c:
440 * src/xml-label-04.c:
442 Reconciled usage with above libglabels API changes.
444 2007-10-21 Jim Evins <evins@snaught.com>
446 * data/glade/wdgt-media-select.glade:
447 * src/wdgt-media-select.c:
448 Added brand to filter settings.
450 2007-10-21 Jim Evins <evins@snaught.com>
452 * data/dtd/glabels-2.2.dtd:
453 Forgot to replace Alias name attribute with brand and part attributes.
454 * data/templates/avery-iso-templates.xml:
455 * data/templates/avery-other-templates.xml:
456 * data/templates/avery-us-templates.xml:
457 * data/templates/misc-iso-templates.xml:
458 * data/templates/misc-other-templates.xml:
459 * data/templates/misc-us-templates.xml:
460 * data/templates/zweckform-iso-templates.xml:
461 Replaced all name attributes with brand/part attribute pairs.
463 2007-10-20 Jim Evins <evins@snaught.com>
465 * src/stock-pixmaps/*.png
466 Updated icons to use Tango color palette.
468 2007-10-20 Jim Evins <evins@snaught.com>
470 * data/dtd/Makefile.am:
471 * data/dtd/glabels-2.0.dtd:
472 * data/dtd/glabels-2.2.dtd:
473 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
475 * libglabels/template.c:
476 * libglabels/template.h:
477 * libglabels/xml-template.c:
479 Added brand and part attributes to template and alias structures and nodes.
482 * src/mini-preview-pixbuf-cache.c:
483 * src/template-designer.c:
484 * src/wdgt-media-select.c:
485 Use modified libglabels API.
486 * docs/libglabels/libglabels-decl-list.txt:
487 * docs/libglabels/libglabels-sections.txt:
488 * docs/libglabels/libglabels-undocumented.txt:
489 * docs/libglabels/tmpl/template-construction.sgml:
490 * docs/libglabels/tmpl/template-db.sgml:
491 * docs/libglabels/tmpl/template-struct.sgml:
492 Update libglabels documentation to reflect above modifications.
494 2007-10-14 Jim Evins <evins@snaught.com>
496 * docs/libglabels/libglabels-decl-list.txt:
497 * docs/libglabels/libglabels-sections.txt:
498 * docs/libglabels/libglabels-undocumented.txt:
499 * docs/libglabels/tmpl/category.sgml:
500 * libglabels/category.c:
501 * libglabels/category.h:
502 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
503 parity with paper functions.
505 2007-10-12 Jim Evins <evins@snaught.com>
507 * docs/libglabels/libglabels-decl-list.txt:
508 * docs/libglabels/libglabels-sections.txt:
509 * docs/libglabels/libglabels-undocumented.txt:
510 * docs/libglabels/tmpl/category.sgml:
511 * docs/libglabels/tmpl/enums.sgml:
512 * docs/libglabels/tmpl/libglabels-unused.sgml:
513 * docs/libglabels/tmpl/paper.sgml:
514 * docs/libglabels/tmpl/template-struct.sgml:
516 * libglabels/template.c:
517 * libglabels/template.h:
518 Another pass at fleshing out the libglabels documentation.
519 * src/cairo-label-path.c:
520 * src/cairo-markup-path.c:
522 * src/mini-preview-pixbuf.c:
526 * src/wdgt-media-select.c:
527 * src/wdgt-mini-preview.c:
528 * src/wdgt-print-copies.c:
529 * src/wdgt-print-merge.c:
530 * src/wdgt-rotate-label.c:
531 Removed lgl_template_get_first_frame() from libglabels API and all references.
533 2007-10-11 Jim Evins <evins@snaught.com>
535 Extended checks for deprecated symbols.
536 * libglabels/template.c:
537 Removed g_strcasecmp references, which are deprecated.
539 2007-10-09 Jim Evins <evins@snaught.com>
541 * src/merge-evolution.c:
542 Create address book if it does not exist. Also, be more robust about handling
543 error conditions -- don't just assume GError has been set.
545 2007-10-08 Jim Evins <evins@snaught.com>
547 * libglabels/template.c:
548 * libglabels/xml-template.c:
549 * src/template-designer.c:
550 Missed some symbols with libglabels API work.
552 2007-10-01 Jim Evins <evins@snaught.com>
554 * docs/libglabels/libglabels-decl-list.txt:
555 * docs/libglabels/libglabels-docs.sgml:
556 * docs/libglabels/libglabels-sections.txt:
557 * docs/libglabels/libglabels-undocumented.txt:
558 * docs/libglabels/tmpl/category.sgml:
559 * docs/libglabels/tmpl/enums.sgml:
560 * docs/libglabels/tmpl/init.sgml:
561 * docs/libglabels/tmpl/libglabels-unused.sgml:
562 * docs/libglabels/tmpl/paper.sgml:
563 * docs/libglabels/tmpl/template-construction.sgml:
564 * docs/libglabels/tmpl/template-db.sgml:
565 * docs/libglabels/tmpl/template-misc.sgml:
566 * docs/libglabels/tmpl/template-struct.sgml:
567 * docs/libglabels/tmpl/template.sgml:
568 * docs/libglabels/tmpl/xml-category.sgml:
569 * docs/libglabels/tmpl/xml-template.sgml:
570 * libglabels/category.h:
572 * libglabels/libglabels-private.h:
573 * libglabels/paper.h:
574 * libglabels/template.c:
575 * libglabels/template.h:
576 * libglabels/xml-template.h:
577 Basic documentation framework for libglabels updated. This still needs some
580 2007-09-27 Jim Evins <evins@snaught.com>
582 * docs/libglabels/libglabels-decl-list.txt:
583 * docs/libglabels/libglabels-docs.sgml:
584 * docs/libglabels/libglabels-sections.txt:
585 * docs/libglabels/libglabels-undocumented.txt:
586 * docs/libglabels/tmpl/enums.sgml:
587 * docs/libglabels/tmpl/init.sgml:
588 * docs/libglabels/tmpl/libglabels-unused.sgml:
589 * docs/libglabels/tmpl/paper.sgml:
590 * docs/libglabels/tmpl/template.sgml:
591 * docs/libglabels/tmpl/xml-paper.sgml:
592 * docs/libglabels/tmpl/xml-template.sgml:
593 * docs/libglabels/tmpl/xml.sgml:
594 * libglabels/Makefile.am:
595 * libglabels/category.c:
596 * libglabels/category.h:
597 * libglabels/enums.h:
600 * libglabels/libglabels-private.h:
601 * libglabels/libglabels.h:
602 * libglabels/paper.c:
603 * libglabels/paper.h:
604 * libglabels/template.c:
605 * libglabels/template.h:
606 * libglabels/xml-category.c:
607 * libglabels/xml-category.h:
608 * libglabels/xml-paper.c:
609 * libglabels/xml-paper.h:
610 * libglabels/xml-template.c:
611 * libglabels/xml-template.h:
614 * src/cairo-label-path.c:
615 * src/cairo-label-path.h:
616 * src/cairo-markup-path.c:
617 * src/cairo-markup-path.h:
619 * src/glabels-batch.c:
621 * src/label-object.c:
624 * src/mini-preview-pixbuf-cache.c:
625 * src/mini-preview-pixbuf.c:
626 * src/mini-preview-pixbuf.h:
627 * src/prefs-dialog.c:
634 * src/template-designer.c:
635 * src/view-barcode.c:
637 * src/view-ellipse.c:
641 * src/wdgt-media-select.c:
642 * src/wdgt-mini-preview.c:
643 * src/wdgt-mini-preview.h:
644 * src/wdgt-print-copies.c:
645 * src/wdgt-print-merge.c:
646 * src/wdgt-rotate-label.c:
647 * src/xml-label-04.c:
649 Major cleanup of libglabels API -- this breaks API compatibility with older
650 development and stable versions -- as far as I know, there are currently
651 no external users of this library yet.
653 2007-09-14 Jim Evins <evins@snaught.com>
658 * src/label-object.c:
659 * src/label-object.h:
660 * src/label-barcode.c:
661 * src/label-ellipse.c:
664 * src/view-barcode.c:
666 * src/view-ellipse.c:
670 Better separation of model from view.
672 2007-08-21 Jim Evins <evins@snaught.com>
674 * src/print-op.c: (create_custom_widget_cb):
675 Fix problem with force_outline_flag -- don't override with default.
677 2007-08-21 Jim Evins <evins@snaught.com>
679 * data/dtd/glabels-2.0.dtd:
680 * libglabels/template.c:
681 * libglabels/template.h:
682 * libglabels/xml-template.c:
683 * src/cairo-markup-path.c:
684 Added "Markup-rect" element to template format.
686 2007-08-21 Jim Evins <evins@snaught.com>
689 Changed version to 2.1.pre5svn.
690 * src/view.c: (draw_markup_layer):
691 Do a stroke for each markup path, otherwise multiple markups
694 2007-08-17 Jim Evins <evins@snaught.com>
697 Bump libglabels revision numbers for 2.1.4 release.
699 2007-08-16 Jim Evins <evins@snaught.com>
702 Include subdir iec16022-0.2.1.
706 Preparation for 2.1.4.
709 2007-08-11 Jim Evins <evins@snaught.com>
715 Added Esperanto translation. Provided by Antonio C.
716 Codazzi "la Filozofo" <f_sophia@libero.it>.
718 Updated French translation. Provided by Claude Paroz
719 <claude@2xlibre.net>.
721 Updated to reflect above translations.
723 2007-08-11 Jim Evins <evins@snaught.com>
726 * data/templates/avery-iso-templates.xml:
727 * data/templates/avery-us-templates.xml:
728 * data/templates/misc-iso-templates.xml:
729 * data/templates/misc-other-templates.xml:
730 * data/templates/misc-us-templates.xml:
731 * data/templates/zweckform-iso-templates.xml:
732 Caught up with backlog of template submissions.
734 2007-08-10 Jim Evins <evins@snaught.com>
736 * src/bc-postnet.c: (gl_barcode_postnet_new):
738 Added support for Brazilian CEPNet barcodes. This is simply an
739 instance of the US POSTNET format with 8 digits. Patch supplied
740 by Mário Meyer in bug # 1768792.
742 Updated acknowledgments to reflect above patch and recent shuffling
743 of underlying technology.
745 2007-05-13 Jim Evins <evins@snaught.com>
747 * src/merge-text.c: (parse_line), (parse_field):
748 Remove leading and trailing spaces from CSV fields, unless quoted.
750 2007-05-09 Jim Evins <evins@snaught.com>
752 * src/object-editor-bc-page.c:
753 * src/object-editor-data-page.c:
754 * src/object-editor-fill-page.c:
755 * src/object-editor-image-page.c:
756 * src/object-editor-line-page.c:
757 * src/object-editor-lsize-page.c:
758 * src/object-editor-position-page.c:
759 * src/object-editor-private.h:
760 * src/object-editor-shadow-page.c:
761 * src/object-editor-size-page.c:
762 * src/object-editor-text-page.c:
763 * src/object-editor.c:
764 * src/prefs-dialog.c:
765 * src/template-designer.c:
766 * src/ui-property-bar.c:
767 * src/wdgt-media-select.c:
768 Replaced signal block/unblock pairs with simple flags. This reduces
769 some code clutter, hopefully making it easier to read.
771 2007-05-05 Jim Evins <evins@snaught.com>
773 * src/template-designer.c: (apply_cb):
774 Add new template to mini-preview pixbuf cache.
776 2007-05-03 Jim Evins <evins@snaught.com>
778 * src/label-image.c: (gl_label_image_init), (draw_object):
779 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
782 2007-05-02 Jim Evins <evins@snaught.com>
784 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
785 (button_release_event_cb):
786 Removed attempt at rendering optimization by clipping the updates
787 to areas affected -- this actually seemed to hurt update performance.
789 2007-04-30 Jim Evins <evins@snaught.com>
792 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
793 (gl_color_node_equal), (gl_color_node_expand):
794 * src/label-barcode.c: (draw_object):
795 * src/label-box.c: (draw_object), (draw_shadow):
796 * src/label-ellipse.c: (draw_object), (draw_shadow):
797 * src/label-line.c: (draw_object), (draw_shadow):
798 * src/label-text.c: (draw_object), (draw_shadow):
799 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
800 * src/wdgt-rotate-label.c: (drawingarea_update):
801 Some cleanup to color related code.
803 2007-04-30 Jim Evins <evins@snaught.com>
806 Added glLabelRegion structure type.
807 * src/label-object.c: (gl_label_object_get_extent):
808 * src/label-object.h:
809 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
811 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
812 (gl_view_select_region), (gl_view_align_selection_left),
813 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
814 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
815 (gl_view_align_selection_vcenter),
816 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
817 (gl_view_move_selection), (gl_view_can_selection_text),
818 (motion_notify_event_cb), (button_press_event_cb),
819 (button_release_event_cb):
820 - Reconcile with new gl_label_object_get_extent() API.
821 - Use glLabelRegion for view->select_region.
822 - Added gl_view_update_region() to clip updates to region.
823 - Use gl_view_update_region() during manipulation of view->select_region.
825 2007-04-26 Jim Evins <evins@snaught.com>
827 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
828 (draw_label_outline):
829 * src/print.c: (print_crop_marks), (draw_outline):
830 * src/view-object.c: (gl_view_object_draw_handles):
831 * src/view.c: (draw_bg_layer), (draw_grid_layer),
832 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
833 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
834 * src/wdgt-rotate-label.c: (drawingarea_update):
835 Added defines for various magic numbers.
837 2007-04-25 Jim Evins <evins@snaught.com>
839 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
840 Scale text down. Cairo seems to render text too large.
842 2007-04-25 Jim Evins <evins@snaught.com>
845 * src/view.c: (gl_view_update), (expose_cb),
846 (motion_notify_event_cb), (button_press_event_cb),
847 (button_release_event_cb):
848 - Try not to let updates get backed up.
849 - Grab pointer when doing any drag operations.
851 2007-04-11 Jim Evins <evins@snaught.com>
853 * src/cairo-label-path.c: (gl_cairo_label_path),
854 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
855 (gl_cairo_cd_label_path):
856 * src/cairo-label-path.h:
857 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
858 (draw_label_outline):
859 * src/print.c: (draw_outline), (clip_to_outline):
860 * src/view.c: (draw_bg_layer), (draw_fg_layer):
861 * src/wdgt-mini-preview.c: (draw_labels):
862 * src/wdgt-rotate-label.c: (drawingarea_update):
863 Modified to universally use gl_cairo_label_path() to create paths
864 for labels. Added shadow to mini preview in rotate widget.
866 2007-04-10 Jim Evins <evins@snaught.com>
868 * libglabels/template.h:
869 * libglabels/template.c: (gl_template_get_name_list_unique),
870 (gl_template_get_name_list_all), (gl_template_from_name):
871 Modified libglabels to allow you to get a list of all template names
872 including all aliases or just a list of primary names of each unique
875 * src/file.c: (gl_file_properties):
876 * src/glabels.c: (main):
877 * src/mini-preview-pixbuf-cache.h:
878 * src/mini-preview-pixbuf-cache.c:
879 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
880 (filter_changed_cb), (load_list):
881 Added mini-preview pixbuf cache, so that only one mini-preview is
882 needed for a unique template and gets reused for all aliases. These
883 pixbufs will also live for the life of the program so they are not
884 rebuilt everytime a new label dialog is invoked.
885 * src/mini-preview-pixbuf.c: (draw_paper),
886 (draw_rect_label_outline), (draw_round_label_outline),
887 (draw_cd_label_outline):
888 Removed some comment artifacts.
890 2007-04-04 Jim Evins <evins@snaught.com>
892 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
893 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
894 (draw_round_label_outline), (draw_cd_label_outline):
895 * src/wdgt-media-select.c: (load_list):
896 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
897 Cosmetic enhancments to mini previews.
899 2007-04-04 Jim Evins <evins@snaught.com>
901 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
902 (gl_ui_property_bar_construct):
903 Save copy of GladeXML tree so that we don't lose tooltips.
905 2007-04-02 Jim Evins <evins@snaught.com>
907 * src/merge-properties-dialog.c:
908 * src/new-label-dialog.c:
909 * src/object-editor.c:
910 * src/prefs-dialog.c:
912 * src/template-designer.c:
913 * src/ui-property-bar.c:
914 * src/wdgt-media-select.c:
915 * src/wdgt-rotate-label.c:
916 Fixed several memory leaks.
918 2007-04-01 Jim Evins <evins@snaught.com>
920 * src/label-text.c: (gl_label_text_init), (copy),
921 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
922 (set_font_family), (set_font_size), (set_font_weight),
923 (set_font_italic_flag), (set_text_alignment),
924 (set_text_line_spacing):
925 Cache object size, so that expensive extent calculations are only done
928 2007-03-30 Jim Evins <evins@snaught.com>
930 * src/prefs-model.c: (gl_prefs_model_load_settings):
931 Default to an unlimited list of recent documents, since this parameter
932 seems to be pre-filter anyway.
934 2007-03-30 Jim Evins <evins@snaught.com>
936 * src/label-box.c: (draw_shadow):
937 * src/label-ellipse.c: (draw_shadow):
938 Added missing shadow fill.
940 2007-03-28 Jim Evins <evins@snaught.com>
942 * src/ui-commands.c: (gl_ui_cmd_file_print):
943 Unreferencing the print operation sometimes crashes. Just don't do it
946 2007-03-28 Jim Evins <evins@snaught.com>
948 * src/print-op.c: (gl_print_op_construct),
949 (gl_print_op_get_settings), (gl_print_op_set_settings),
950 (gl_print_op_free_settings), (create_custom_widget_cb):
952 * src/ui-commands.c: (gl_ui_cmd_file_print):
953 * src/window.c: (gl_window_init):
955 Save print settings and custom settings between print operations
958 2007-03-24 Jim Evins <evins@snaught.com>
960 * src/object-editor-image-page.c:
961 (gl_object_editor_prepare_image_page),
962 (gl_object_editor_set_image), (img_selection_changed_cb):
963 Workaround for GtkFileChooserButton bug # 327243. This the root
964 cause for gLabels bug # 1192884. I have actually observed 3 delayed
965 "selection-changed" signals -- the first 2 return NULL -- this is
966 what caused the image to reset to the default followed by setting
967 it back to the original image, trying to fit it into a new bounding
968 box. This sequence of events is much more evident with the new
971 2007-03-23 Jim Evins <evins@snaught.com>
973 Merged all changes from experimental cairo branch to trunk.
974 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
976 2007-03-23 Jim Evins <evins@snaught.com>
978 * src/label-object.h:
979 * src/label-object.c: (gl_label_object_class_init),
980 (gl_label_object_get_raw_size), (gl_label_object_get_size):
981 Created "get_raw_size" method.
982 * src/label-barcode.c: (get_size):
983 * src/xml-label.c: (xml_create_object_text),
984 (xml_create_object_barcode):
985 Use new "get_raw_size" method on label-objects when apropos.
987 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
988 (auto_shrink_font_size):
989 Added "auto shrink" functionality back.
991 2007-03-19 Jim Evins <evins@snaught.com>
993 * src/label-text.c: (draw_object), (draw_shadow):
994 Don't use negative scales in workaround from previous commit.
997 2007-03-18 Jim Evins <evins@snaught.com>
1000 Forgot to remove include of xml-lable-191 in previous commit.
1001 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
1002 Workaround for pango Bug #341481. Render text at device scale,
1003 and scale font size accordingly. Also, don't do any hinting.
1005 2007-03-18 Jim Evins <evins@snaught.com>
1007 * src/cairo-ellipse-path.c:
1008 * src/cairo-ellipse-path.h:
1009 Forgot to add these new files during last mass commit.
1011 2007-03-18 Jim Evins <evins@snaught.com>
1014 * src/xml-label-191.c:
1015 * src/xml-label-191.h:
1016 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
1017 so there is no need to keep compatability.
1019 * src/bc-iec16022.c:
1020 * src/cairo-label-path.c:
1021 * src/cairo-label-path.h:
1022 * src/cairo-markup-path.c:
1026 * src/glabels-batch.c:
1028 * src/label-barcode.c:
1030 * src/label-ellipse.c:
1031 * src/label-image.c:
1033 * src/label-object.c:
1034 * src/label-object.h:
1038 * src/merge-properties-dialog.c:
1040 * src/new-label-dialog.c:
1041 * src/object-editor-bc-page.c:
1042 * src/object-editor-data-page.c:
1043 * src/object-editor-edit-page.c:
1044 * src/object-editor-fill-page.c:
1045 * src/object-editor-image-page.c:
1046 * src/object-editor-line-page.c:
1047 * src/object-editor-private.h:
1048 * src/object-editor-shadow-page.c:
1049 * src/object-editor-text-page.c:
1050 * src/object-editor.c:
1051 * src/pixbuf-cache.c:
1056 * src/template-designer.c:
1058 * src/ui-property-bar.c:
1060 * src/view-barcode.c:
1062 * src/view-ellipse.c:
1065 * src/view-object.c:
1066 * src/view-object.h:
1069 * src/wdgt-media-select.c:
1070 * src/wdgt-print-copies.c:
1071 * src/wdgt-print-merge.c:
1073 * src/xml-label-04.c:
1075 Many changes, including:
1076 - Move draw methods from view-*() to label-*().
1077 - Use same drawing code for on screen view and printing.
1078 - Fix all issues exposed with '-Wall -Werror'.
1080 2007-03-14 Jim Evins <evins@snaught.com>
1083 * src/cairo-handle-path.c:
1084 * src/cairo-handle-path.h:
1085 * src/cairo-object-path.c:
1086 * src/cairo-object-path.h:
1087 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
1088 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
1090 * src/view-box.c: (gl_view_box_class_init), (draw_object),
1091 (draw_shadow), (object_at):
1092 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1093 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
1094 * src/view-image.c: (gl_view_image_class_init), (draw_object),
1096 * src/view-line.c: (gl_view_line_class_init), (draw_object),
1097 (draw_shadow), (object_at):
1098 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
1099 (create_handle_path), (gl_view_object_draw_handles),
1100 (gl_view_object_handle_at):
1101 * src/view-object.h:
1102 * src/view-text.c: (gl_view_text_class_init), (draw_object),
1103 (draw_shadow), (object_at):
1104 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
1105 Some restructuring of new code.
1107 2007-03-12 Jim Evins <evins@snaught.com>
1110 * src/cairo-object-path.c:
1111 * src/view-barcode.c:
1112 * src/view-barcode.h:
1114 Added barcode object support to view.
1116 2007-03-12 Jim Evins <evins@snaught.com>
1122 * src/cairo-object-path.c:
1123 * src/cairo-object-path.h:
1125 * src/view-ellipse.c:
1128 * src/view-object.c:
1129 * src/view-object.h:
1130 Added text object support to view. Added object_at method to all
1133 2007-03-11 Jim Evins <evins@snaught.com>
1136 * src/cairo-object-path.c: (gl_cairo_object_path),
1137 (gl_cairo_image_object_path):
1138 * src/view-image.c: (gl_view_image_class_init),
1139 (gl_view_image_finalize), (gl_view_image_new),
1140 (update_editor_from_label_cb), (draw),
1141 (gl_view_image_get_create_cursor),
1142 (gl_view_image_create_button_press_event),
1143 (gl_view_image_create_motion_event),
1144 (gl_view_image_create_button_release_event):
1146 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1147 (selection_received_cb), (motion_notify_event_cb),
1148 (button_press_event_cb), (button_release_event_cb):
1149 Added image object support to view.
1151 2007-03-11 Jim Evins <evins@snaught.com>
1154 * src/cairo-object-path.c: (gl_cairo_object_path),
1155 (gl_cairo_line_object_path):
1156 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1157 (update_object_from_editor_cb), (update_editor_from_object_cb),
1158 (update_editor_from_label_cb), (draw),
1159 (gl_view_line_get_create_cursor),
1160 (gl_view_line_create_button_press_event),
1161 (gl_view_line_create_motion_event),
1162 (gl_view_line_create_button_release_event):
1164 * src/view-object.c: (gl_view_object_resize_event):
1165 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1166 (selection_received_cb), (motion_notify_event_cb),
1167 (button_press_event_cb), (button_release_event_cb):
1168 Added line object support to view.
1169 * src/cairo-handle-path.c:
1170 Made handles slightly larger.
1173 2007-03-11 Jim Evins <evins@snaught.com>
1176 * src/cairo-handle-path.c:
1177 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1178 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1179 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1180 (gl_cairo_markup_margin_round_path),
1181 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1182 * src/cairo-object-path.c: (gl_cairo_object_path),
1183 (gl_cairo_ellipse_object_path):
1184 * src/label-object.c: (gl_label_object_rotate):
1187 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1188 (gl_view_ellipse_new), (update_object_from_editor_cb),
1189 (update_editor_from_object_cb), (update_editor_from_label_cb),
1190 (draw), (gl_view_ellipse_get_create_cursor),
1191 (gl_view_ellipse_create_button_press_event),
1192 (gl_view_ellipse_create_motion_event),
1193 (gl_view_ellipse_create_button_release_event):
1194 * src/view-ellipse.h:
1195 * src/view-object.c:
1196 * src/view-object.h:
1197 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1198 (select_object_real), (selection_received_cb),
1199 (motion_notify_event_cb), (button_press_event_cb),
1200 (button_release_event_cb):
1202 Added ellipse object support to view. Plus other cleanup.
1204 2007-03-11 Jim Evins <evins@snaught.com>
1207 * src/view-box.c: (gl_view_box_get_create_cursor),
1208 (gl_view_box_create_button_press_event),
1209 (gl_view_box_create_motion_event),
1210 (gl_view_box_create_button_release_event):
1211 * src/view-object.c: (gl_view_object_set_view),
1212 (gl_view_object_handle_at):
1214 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1215 (motion_notify_event_cb), (button_press_event_cb),
1216 (button_release_event_cb), (key_press_event_cb):
1217 Added creation code for box object.
1219 2007-03-09 Jim Evins <evins@snaught.com>
1221 * src/view-object.c: (gl_view_object_resize_event):
1222 * src/view-object.h:
1223 * src/view.c: (motion_notify_event_cb):
1224 Fix bugs with resizing transformed objects.
1225 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1226 * src/cairo-object-path.c: (gl_cairo_object_path):
1227 * src/cairo-object-path.h:
1228 * src/label-object.c: (gl_label_object_init),
1229 (gl_label_object_dup), (gl_label_object_get_extent),
1230 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1231 (gl_label_object_rotate), (gl_label_object_set_matrix),
1232 (gl_label_object_get_matrix):
1233 * src/label-object.h:
1234 * src/print.c: (draw_object):
1236 * src/view-highlight.c:
1237 * src/view-highlight.h:
1238 * src/xml-label-191.c: (xml191_parse_object):
1239 * src/xml-label.c: (xml_parse_affine_attrs),
1240 (xml_create_affine_attrs):
1241 Replace libart affine matrices with cairo matrices.
1243 2007-03-08 Jim Evins <evins@snaught.com>
1245 * src/view-object.h:
1246 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1247 * src/view-object.c: (gl_view_object_handle_at),
1248 (gl_view_object_resize_event):
1249 Added resize code -- still a bit buggy.
1251 2007-03-07 Jim Evins <evins@snaught.com>
1254 * src/cairo-handle-path.c:
1255 * src/cairo-handle-path.h:
1256 * src/view-box.c: (gl_view_box_new):
1257 * src/view-object.c: (gl_view_object_set_object),
1258 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1259 * src/view-object.h:
1260 * src/view.c: (draw_highlight_layer), (select_object_real),
1261 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1262 (button_press_event_cb), (button_release_event_cb),
1263 (key_press_event_cb):
1265 Added beginnings of object resize handles.
1267 2007-03-07 Jim Evins <evins@snaught.com>
1270 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1271 (gl_view_object_create_mode), (motion_notify_event_cb),
1272 (button_press_event_cb), (button_release_event_cb),
1273 (key_press_event_cb):
1274 Added move selection support.
1276 2007-03-05 Jim Evins <evins@snaught.com>
1278 * src/cairo-object-path.c: (gl_cairo_object_path):
1279 * src/view-object.c: (gl_view_object_draw),
1280 (gl_view_object_draw_highlight):
1281 * src/view.c: (view_object_at), (motion_notify_event_cb),
1282 (button_press_event_cb), (button_release_event_cb):
1283 Additional refinements to select logic.
1285 2007-03-05 Jim Evins <evins@snaught.com>
1288 * src/view.c: (gl_view_init), (gl_view_construct),
1289 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1290 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1291 (button_press_event_cb), (button_release_event_cb):
1292 Added initial select region support and context menu.
1294 2007-03-04 Jim Evins <evins@snaught.com>
1305 * src/ui-commands.c:
1308 * src/view-object.c:
1309 * src/view-object.h:
1312 * src/wdgt-print-copies.c:
1313 * src/wdgt-print-merge.c:
1315 Initial port to a raw Cairo canvas. This removes all remaining
1316 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1317 the view is becoming a canvas widget in its own right. Still needs
1319 * src/cairo-label-path.c:
1320 * src/cairo-label-path.h:
1321 * src/cairo-markup-path.c:
1322 * src/cairo-markup-path.h:
1323 * src/cairo-object-path.c:
1324 * src/cairo-object-path.h:
1325 New files to support cairo canvas.
1326 * src/canvas-hacktext.c:
1327 * src/canvas-hacktext.h:
1330 2007-02-18 Jim Evins <evins@snaught.com>
1333 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1335 2007-02-14 Jim Evins <evins@snaught.com>
1339 * src/bc-gnubarcode.c:
1340 * src/bc-gnubarcode.h:
1345 * src/canvas-hacktext.c:
1346 * src/canvas-hacktext.h:
1353 * src/label-barcode.c:
1354 * src/label-barcode.h:
1357 * src/label-ellipse.c:
1358 * src/label-ellipse.h:
1359 * src/label-image.c:
1360 * src/label-image.h:
1363 * src/label-object.c:
1364 * src/label-object.h:
1369 * src/merge-evolution.c:
1370 * src/merge-evolution.h:
1373 * src/merge-properties-dialog.c:
1374 * src/merge-properties-dialog.h:
1377 * src/merge-vcard.c:
1378 * src/merge-vcard.h:
1381 * src/mini-preview-pixbuf.h:
1382 * src/new-label-dialog.c:
1383 * src/new-label-dialog.h:
1384 * src/object-editor-bc-page.c:
1385 * src/object-editor-data-page.c:
1386 * src/object-editor-edit-page.c:
1387 * src/object-editor-fill-page.c:
1388 * src/object-editor-image-page.c:
1389 * src/object-editor-line-page.c:
1390 * src/object-editor-lsize-page.c:
1391 * src/object-editor-position-page.c:
1392 * src/object-editor-private.h:
1393 * src/object-editor-size-page.c:
1394 * src/object-editor-text-page.c:
1395 * src/object-editor.c:
1396 * src/object-editor.h:
1397 * src/pixbuf-cache.c:
1398 * src/pixbuf-cache.h:
1399 * src/prefs-dialog.c:
1400 * src/prefs-dialog.h:
1401 * src/prefs-model.c:
1402 * src/prefs-model.h:
1408 * src/template-designer.c:
1411 * src/ui-commands.c:
1412 * src/ui-commands.h:
1413 * src/ui-property-bar.c:
1414 * src/ui-property-bar.h:
1423 * src/view-barcode.c:
1424 * src/view-barcode.h:
1427 * src/view-ellipse.c:
1428 * src/view-ellipse.h:
1429 * src/view-highlight.c:
1430 * src/view-highlight.h:
1435 * src/view-object.c:
1436 * src/view-object.h:
1441 * src/wdgt-chain-button.c:
1442 * src/wdgt-chain-button.h:
1443 * src/wdgt-media-select.c:
1444 * src/wdgt-mini-preview.c:
1445 * src/wdgt-print-copies.c:
1446 * src/wdgt-print-copies.h:
1447 * src/wdgt-print-merge.c:
1448 * src/wdgt-print-merge.h:
1449 * src/wdgt-rotate-label.c:
1451 * src/xml-label-04.c:
1452 * src/xml-label-04.h:
1453 * src/xml-label-191.c:
1454 * src/xml-label-191.h:
1458 Assorted superficial cleanup. Including:
1459 - Use G_DEFINE_TYPE for all objects.
1460 - Reconcile style of all class initializer functions
1461 - Reconcile style of all finalize functions
1462 - Add emacs mode line to all source files
1464 2007-02-06 Jim Evins <evins@snaught.com>
1466 Assorted cleanup and removal of deprecated items.
1471 Removed annoying splash screen.
1472 * src/glabels-batch.c: (main):
1473 * src/glabels.c: (main):
1474 Converted from popt to GOption.
1475 * src/object-editor-shadow-page.c:
1476 (gl_object_editor_set_shadow_state):
1477 Removed deprecated method on GtkToggleButton.
1478 * src/ui-commands.c: (gl_ui_cmd_help_about):
1479 Removed dependency on libgnomui/qnome-url.h.
1480 * src/template-designer.c:
1481 Removed dependency on libgnome/gnome-program.h.
1484 2007-02-04 Jim Evins <evins@snaught.com>
1488 * src/prefs-model.c:
1489 * src/print.c: (draw_text_object):
1490 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1491 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1493 2007-02-04 Jim Evins <evins@snaught.com>
1495 * src/wdgt-mini-preview.c:
1496 * src/wdgt-mini-preview.h:
1497 Ported widget from GnomeCanvas to Cairo.
1499 2007-02-03 Jim Evins <evins@snaught.com>
1501 * data/glade/template-designer.glade:
1502 * src/template-designer.c:
1503 * src/template-designer.h:
1504 Ported GnomeDruid to GtkAssistant. Since libglade does not
1505 yet support the GtkAssistant and we derive directly from
1506 the Assistant, the pages are layed out in a GtkNotebook in
1507 the glade description -- we then append each page to the
1510 2007-01-25 Jim Evins <evins@snaught.com>
1512 * data/glade/object-editor.glade:
1513 Added dummy page to notebook, to prevent shadow page from
1514 becoming the default current page at creation.
1515 * src/view-box.c: (construct_properties_editor):
1516 * src/view-ellipse.c: (construct_properties_editor):
1517 * src/view-line.c: (construct_properties_editor):
1518 * src/view-text.c: (construct_properties_editor):
1519 Reconciled order of params.
1521 2007-01-19 Jim Evins <evins@snaught.com>
1523 * src/label-barcode.h:
1524 * src/label-object.c: (gl_label_object_set_font_weight),
1525 (gl_label_object_set_text_alignment),
1526 (gl_label_object_get_font_weight),
1527 (gl_label_object_get_text_alignment):
1528 * src/label-object.h:
1529 * src/label-text.c: (gl_label_text_instance_init), (copy),
1530 (get_size), (set_font_family), (set_font_weight),
1531 (set_text_alignment), (get_font_weight), (get_text_alignment):
1533 * src/object-editor-text-page.c:
1534 (gl_object_editor_prepare_text_page),
1535 (gl_object_editor_set_font_family),
1536 (gl_object_editor_set_font_weight),
1537 (gl_object_editor_get_font_weight),
1538 (gl_object_editor_set_text_alignment),
1539 (gl_object_editor_get_text_alignment),
1540 (gl_object_editor_set_text_color):
1541 * src/object-editor.h:
1542 * src/prefs-dialog.c: (construct_object_page),
1543 (update_object_page_from_prefs), (update_prefs_from_object_page):
1544 * src/prefs-model.c: (gl_prefs_model_save_settings),
1545 (gl_prefs_model_load_settings):
1546 * src/prefs-model.h:
1547 * src/print.c: (draw_text_object):
1548 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1549 (reset_to_default_properties), (update_text_properties),
1550 (font_bold_toggled_cb), (text_align_toggled_cb):
1552 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1553 (gl_util_weight_to_string), (gl_util_string_to_weight),
1554 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1556 * src/view-text.c: (update_object_from_editor_cb),
1557 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1558 * src/view.c: (gl_view_set_selection_text_alignment),
1559 (gl_view_set_default_text_alignment),
1560 (gl_view_get_default_text_alignment):
1562 * src/xml-label-04.c: (xml04_parse_text_props):
1563 * src/xml-label-191.c: (xml191_parse_text_props):
1564 * src/xml-label.c: (xml_parse_object_text),
1565 (xml_parse_toplevel_span), (xml_create_object_text),
1566 (xml_create_toplevel_span):
1567 Converted all model internals to Pango. GnomeFont remains in
1568 view until GnomeCanvas can be replaced with a cairo-based canvas.
1570 2007-01-17 Jim Evins <evins@snaught.com>
1576 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1577 (gl_wdgt_print_copies_construct):
1578 * src/wdgt-print-copies.h:
1579 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1580 (gl_wdgt_print_merge_construct):
1581 * src/wdgt-print-merge.h:
1582 Removed all remaining HIG wrapper widgets.
1584 2007-01-16 Jim Evins <evins@snaught.com>
1587 * src/print-dialog.c:
1588 * src/print-dialog.h:
1591 * src/template-designer.c: (print_test_cb):
1592 * src/ui-commands.c: (gl_ui_cmd_file_print):
1594 Renamed PrintDialog to PrintOp. Added constructor for batch
1596 * src/glabels-batch.c: (main):
1597 Converted to use new PrintOp object for printing.
1599 2007-01-15 Jim Evins <evins@snaught.com>
1601 * data/glade/Makefile.am:
1602 * data/glade/print-custom-widget.glade:
1603 * src/print-dialog.c:
1604 * src/print-dialog.h:
1607 * src/template-designer.c: (print_test_cb):
1608 * src/ui-commands.c: (gl_ui_cmd_file_print):
1609 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1610 * src/wdgt-print-merge.h:
1611 * src/window.c: (gl_window_init):
1613 Initial conversion to GtkPrintOperation.
1615 - Remove font and other libgnomeprint[ui] from elsewhere
1616 - Add batch initialization of print operation
1618 2007-01-08 Jim Evins <evins@snaught.com>
1620 Updated dependencies. Set version to 2.1.pre4cvs.
1622 2007-01-03 Jim Evins <evins@snaught.com>
1624 * src/recent-files/*
1625 Removed EggRecent stuff.
1631 * src/ui-commands.c:
1632 * src/ui-commands.h:
1634 Ported from EggRecent to GtkRecentManager.
1637 2007-01-02 Jim Evins <evins@snaught.com>
1640 * iec16022-0.2.1/BUGS:
1641 * iec16022-0.2.1/CHANGELOG:
1642 * iec16022-0.2.1/CREDITS:
1643 * iec16022-0.2.1/INSTALL:
1644 * iec16022-0.2.1/LICENSE:
1645 * iec16022-0.2.1/Makefile.am:
1646 * iec16022-0.2.1/Makefile.dist:
1647 * iec16022-0.2.1/README:
1648 * iec16022-0.2.1/README.glabels:
1649 * iec16022-0.2.1/TODO:
1650 * iec16022-0.2.1/iec16022.1:
1651 * iec16022-0.2.1/iec16022.c:
1652 * iec16022-0.2.1/iec16022ecc200.c:
1653 * iec16022-0.2.1/iec16022ecc200.h:
1654 * iec16022-0.2.1/image.c:
1655 * iec16022-0.2.1/image.h:
1656 * iec16022-0.2.1/reedsol.c:
1657 * iec16022-0.2.1/reedsol.h:
1658 * iec16022-0.2.1/test/testsuite-example.bin:
1659 * iec16022-0.2.1/test/testsuite-example.eps:
1660 * iec16022-0.2.1/test/testsuite-example.hex:
1661 * iec16022-0.2.1/test/testsuite-example.png:
1662 * iec16022-0.2.1/test/testsuite-example.text:
1663 * iec16022-0.2.1/test/testsuite.sh:
1664 Include modified copy of iec16022-0.2.1 to provide encoding
1665 support for datamatrix 2D barcodes.
1667 * src/bc-iec16022.c:
1668 * src/bc-iec16022.h:
1670 Added initial datamatrix 2D barcode backend to barcode code.
1673 Automatic updates to later versions of these files.
1675 2006-11-28 Jim Evins <evins@snaught.com>
1677 * data/templates/avery-iso-templates.xml:
1678 * data/templates/avery-us-templates.xml:
1679 * data/templates/categories.xml:
1680 * data/templates/misc-iso-templates.xml:
1681 * data/templates/misc-us-templates.xml:
1682 * data/templates/zweckform-iso-templates.xml:
1683 More categorization.
1685 2006-09-12 Jim Evins <evins@snaught.com>
1687 * data/dtd/glabels-2.0.dtd:
1688 * data/templates/Makefile.am:
1689 * data/templates/avery-iso-templates.xml:
1690 * data/templates/avery-other-templates.xml:
1691 * data/templates/avery-us-templates.xml:
1692 * data/templates/categories.xml:
1693 * data/templates/misc-iso-templates.xml:
1694 * data/templates/misc-other-templates.xml:
1695 * data/templates/zweckform-iso-templates.xml:
1696 * data/glade/Makefile.am:
1697 * data/glade/new-label-dialog.glade:
1698 * data/glade/wdgt-media-select.glade:
1699 * data/glade/wdgt-rotate-label.glade:
1700 * libglabels/Makefile.am:
1701 * libglabels/category.c:
1702 * libglabels/category.h:
1703 * libglabels/libglabels.h:
1704 * libglabels/paper.c:
1705 * libglabels/template.c:
1706 * libglabels/template.h:
1707 * libglabels/xml-category.c:
1708 * libglabels/xml-category.h:
1709 * libglabels/xml-template.c:
1710 Added support for category meta data.
1713 * src/mini-preview-pixbuf.c:
1714 * src/mini-preview-pixbuf.h:
1715 * src/new-label-dialog.c:
1716 * src/new-label-dialog.h:
1717 * src/wdgt-media-select.c:
1718 * src/wdgt-media-select.h:
1719 * src/wdgt-rotate-label.c:
1720 * src/wdgt-rotate-label.h:
1721 New "new label" dialog.
1723 2006-05-27 Jim Evins <evins@snaught.com>
1728 Preparation for 2.1.3.
1734 2006-05-22 Jim Evins <evins@snaught.com>
1736 * src/print.c: (draw_barcode_object):
1737 Don't print "Invalid barcode data" if data field is empty. Patch provided
1738 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1740 Added acknowledgment for above patch.
1741 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1742 * src/bc-postnet.c: (postnet_code):
1743 Removed "Invalid barcode data" warnings from stderr.
1744 * src/view-barcode.c: (draw_barcode):
1745 Draw box around barcode extent if data empty or invalid. Center a
1746 message whether the data is empty or invalid in box.
1748 2006-05-22 Jim Evins <evins@snaught.com>
1750 * src/print.c: (draw_text_object):
1751 Check shadow state when printing text.
1753 2006-05-20 Jim Evins <evins@snaught.com>
1755 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1756 (gl_ui_cmd_view_markup_toggle):
1757 Fixed crash when grid or markup have been toggled off during
1758 a previous session. Bug #1434324.
1760 2006-04-05 Jim Evins <evins@snaught.com>
1762 * src/object-editor.c: (gl_object_editor_set_key_names):
1763 Fixed potential crash when freeing empty key list.
1765 2006-03-11 Jim Evins <evins@snaught.com>
1767 * src/print.c: (draw_text_object):
1768 * src/view-text.c: (gl_view_text_new),
1769 (construct_properties_editor), (update_object_from_editor_cb),
1770 (update_editor_from_object_cb), (update_editor_from_label_cb),
1772 Added shadow support to text object.
1774 2006-02-18 Jim Evins <evins@snaught.com>
1776 * src/print.c: (draw_line_object):
1777 * src/view-line.c: (gl_view_line_new),
1778 (construct_properties_editor), (update_canvas_item_from_object_cb),
1779 (update_object_from_editor_cb), (update_editor_from_object_cb),
1780 (update_editor_from_label_cb):
1781 Added shadow support to line object.
1783 2006-02-16 Jim Evins <evins@snaught.com>
1787 * src/print.c: (draw_ellipse_object):
1788 * src/view-ellipse.c: (gl_view_ellipse_new),
1789 (construct_properties_editor), (update_canvas_item_from_object_cb),
1790 (update_object_from_editor_cb), (update_editor_from_object_cb),
1791 (update_editor_from_label_cb):
1792 Added shadow support to ellipse object.
1794 2006-02-15 Jim Evins <evins@snaught.com>
1796 * src/label-object.c:
1797 Changed default shadow offsets.
1798 * src/view-box.c: (gl_view_box_new):
1799 Simplified gl_view_box_new() so that is does not duplicate code
1800 in update_canvas_item_from_object_cb().
1802 2006-02-07 Jim Evins <evins@snaught.com>
1804 * data/glade/object-editor.glade:
1805 Fixed color groups of color combos.
1807 Added default shadow color.
1808 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1809 Added shadow color group.
1811 2006-02-06 Jim Evins <evins@snaught.com>
1813 * src/object-editor-shadow-page.c:
1814 Forgot to add this file.
1815 * src/view-box.c: (gl_view_box_new),
1816 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1817 Update limits on shadow offset spinbuttons.
1819 2006-01-19 Jim Evins <evins@snaught.com>
1821 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1822 Initialize key_list to NULL.
1823 * data/glade/object-editor.glade:
1827 * src/label-object.c:
1828 * src/label-object.h:
1829 * src/object-editor-fill-page.c:
1830 * src/object-editor-private.h:
1831 * src/object-editor.c:
1832 * src/object-editor.h:
1834 Created infrastructure for shadow support.
1837 Initial shadow support in box object only.
1839 2006-01-05 Jim Evins <evins@snaught.com>
1841 * src/merge-properties-dialog.c: (src_changed_cb):
1842 Be extra paranoid before calling strcmp().
1843 * src/merge.c: (gl_merge_set_src):
1844 Don't make (merge == NULL) a critical error.
1846 2005-12-22 Jim Evins <evins@snaught.com>
1848 * src/glabels-batch.c: (main):
1849 Compile warning free with gcc 4.0.
1851 2005-12-21 Jim Evins <evins@snaught.com>
1854 Updated example RPM spec file.
1856 2005-12-21 Jim Evins <evins@snaught.com>
1860 Preparation for 2.1.2.
1862 2005-12-20 Jim Evins <evins@snaught.com>
1865 Define unique G_LOG_DOMAIN for glabels.
1866 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1867 * src/warning-handler.c: (gl_warning_handler_init),
1869 Register for G_LOG_DOMAIN instead of NULL.
1871 2005-12-10 Jim Evins <evins@snaught.com>
1873 * src/merge-evolution.c:
1874 * src/merge-vcard.c:
1877 2005-12-08 Jim Evins <evins@snaught.com>
1879 * libglabels/paper.c: (read_paper_files_from_dir):
1880 * libglabels/template.c: (gl_template_register),
1881 (read_template_files_from_dir):
1882 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1883 (gl_xml_paper_parse_papers_doc):
1884 * libglabels/xml-template.c:
1885 (gl_xml_template_read_templates_from_file),
1886 (gl_xml_template_parse_templates_doc),
1887 (gl_xml_template_parse_template_node),
1888 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1889 (xml_parse_label_cd_node), (xml_parse_layout_node),
1890 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1891 (xml_parse_markup_circle_node),
1892 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1893 * libglabels/xml.c: (gl_xml_get_prop_length):
1894 Re-classified g_warnings to g_messages.
1896 * src/glabels.c: (main):
1897 * src/warning-handler.c: (gl_warning_handler_init),
1899 * src/warning-handler.h:
1900 Added warning message handler to make sure the user is
1901 presented with appropriate non-fatal errors.
1902 * src/critical-error-handler.c: (critical_error_handler):
1903 Changed exit to abort.
1904 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1905 * src/bc-postnet.c: (postnet_code):
1906 * src/bc.c: (id_to_index), (name_to_index):
1907 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1908 * src/object-editor.c: (gl_object_notebook_construct_valist):
1909 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1910 * src/prefs.c: (gl_prefs_get_units_per_point),
1911 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1912 (gl_prefs_get_units_string):
1913 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1914 * src/splash.c: (gl_splash):
1915 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1916 * src/view-highlight.c: (gl_view_highlight_new),
1917 (highlight_resizable_box_construct), (object_changed_cb),
1918 (view_scale_changed_cb):
1919 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1920 (draw_markup_layer), (draw_markup_margin),
1921 (gl_view_object_create_mode), (canvas_event),
1922 (selection_received_cb):
1923 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1924 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1925 * src/xml-label-04.c: (gl_xml_label_04_parse),
1926 (xml04_parse_media_description), (xml04_parse_text_props),
1927 (xml04_parse_barcode_props):
1928 * src/xml-label-191.c: (gl_xml_label_191_parse),
1929 (xml191_parse_objects), (xml191_parse_object),
1930 (xml191_parse_text_props), (xml191_parse_image_props),
1931 (xml191_parse_barcode_props), (xml191_parse_data),
1932 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1933 (xml191_parse_markup):
1934 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1935 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1936 (xml_parse_object_text), (xml_parse_object_image),
1937 (xml_parse_object_barcode), (xml_parse_data),
1938 (xml_parse_toplevel_span), (gl_xml_label_save),
1939 (xml_create_objects):
1940 Re-classified g_warnings to g_messages.
1941 * src/merge-evolution.c: (gl_merge_evolution_open),
1942 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1943 Use g_warning to output errors encountered while
1944 communicating with the evolution data server
1945 instead of embedding them in the data.
1947 2005-12-08 Jim Evins <evins@snaught.com>
1949 * libglabels/libglabels-private.h:
1951 * libglabels/paper.c: (read_papers):
1952 * libglabels/template.c: (read_templates):
1953 Made appropriate warnings critical.
1955 * src/critical-error-handler.h:
1956 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1957 (critical_error_handler):
1958 Created critical error handler.
1959 * src/glabels.c: (main):
1960 Register critical error handler.
1961 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1962 * src/object-editor.c: (gl_object_editor_init):
1963 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1964 * src/template-designer.c: (gl_template_designer_init):
1965 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1966 Made appropriate warnings critical.
1968 2005-11-27 Jim Evins <evins@snaught.com>
1970 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1971 (gl_merge_evolution_get_primary_key),
1972 (gl_merge_evolution_get_record):
1973 Don't create "record_key" pseudo-key. Don't populate
1974 fields with null data.
1976 2005-11-25 Jim Evins <evins@snaught.com>
1978 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1979 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1980 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1982 Query EDS for all supported fields. Patch provided by
1983 Austin Henry <ahenry@users.sourceforge.net>.
1985 2005-10-29 Jim Evins <evins@snaught.com>
1987 * src/glabels.c: (main):
1988 * src/label-barcode.c: (gl_label_barcode_finalize):
1989 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1990 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1991 * src/object-editor.c: (gl_object_editor_finalize):
1992 Another pass at valgrinding -- plugged several memory leaks.
1993 * src/view-text.c: (gl_view_text_new),
1994 (update_canvas_item_from_object_cb), (draw_hacktext):
1995 Commented out artifacts of edit-in-place code.
1997 2005-10-28 Jim Evins <evins@snaught.com>
1999 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
2000 Fixed use of uninitialized variable. Caught by
2001 d binderman <dcb314@hotmail.com>.
2003 2005-10-27 Jim Evins <evins@snaught.com>
2005 * src/merge-evolution.c: (gl_merge_evolution_get_record):
2006 * src/merge-vcard.c: (gl_merge_vcard_get_record),
2008 Additional cleanup of EDS and vcard backends. Provided by
2009 Austin Henry <ahenry@users.sourceforge.net>.
2011 2005-10-24 Jim Evins <evins@snaught.com>
2015 * src/merge-evolution.c:
2016 * src/merge-evolution.h:
2017 * src/merge-init.c: (gl_merge_init):
2018 * src/merge-properties-dialog.c: (type_changed_cb):
2019 * src/merge-vcard.c:
2020 * src/merge-vcard.h:
2021 * src/ui-commands.c: (gl_ui_cmd_help_about):
2022 Added Evolution Data Server and VCard merge backends. Original patch
2023 provided by Austin Henry <ahenry@users.sourceforge.net>.
2025 Only support EDS and VCard backends if libebook is installed. Allow
2026 user to disable support, even if installed.
2028 2005-10-24 Jim Evins <evins@snaught.com>
2031 * data/templates/avery-iso-templates.xml:
2032 * data/templates/avery-us-templates.xml:
2033 * data/templates/misc-iso-templates.xml:
2034 * data/templates/zweckform-iso-templates.xml:
2035 Collected all template changes and submissions since last
2038 2005-10-23 Jim Evins <evins@snaught.com>
2041 * data/mime/Makefile.am:
2042 Added configure options to disable update-mime-database and
2043 update-desktop-database as part of the install. Patch
2044 provided by Leonardo Boshell (qhoracio@sourceforge.net).
2046 2005-10-23 Jim Evins <evins@snaught.com>
2049 * libglabels/xml.c: (gl_xml_get_prop_string),
2050 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
2051 (gl_xml_is_node), (gl_xml_get_node_content):
2052 Added new XML utility functions.
2053 * libglabels/xml-paper.c:
2054 * libglabels/xml-template.c:
2056 Cleanup by using new xml utilities created above.
2057 * libglabels/paper.c: (gl_paper_free):
2058 * src/file.c: (new_response):
2059 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
2060 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
2061 (gl_pixbuf_cache_get_pixbuf):
2062 * src/ui-property-bar.c:
2063 (gl_ui_property_bar_construct_color_combo):
2064 * src/view-highlight.c: (gl_view_highlight_finalize):
2065 * src/view-image.c: (update_object_from_editor_cb):
2066 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
2067 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
2068 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
2069 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
2070 (draw_markup_margin_round), (draw_markup_margin_cd),
2071 (draw_markup_margin_cd_bc):
2072 * src/wdgt-mini-preview.c: (mini_outline_list_new):
2073 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
2074 Plugged various memory leaks located with valgrind.
2075 * src/view-image.c: (update_canvas_item_from_object_cb):
2076 Don't allow a width or height of zero when drawing pixbuf.
2078 2005-10-22 Jim Evins <evins@snaught.com>
2080 * libglabels/xml-paper.c:
2081 * libglabels/xml-template.c:
2084 * src/bc-gnubarcode.c:
2085 * src/canvas-hacktext.c:
2087 * src/object-editor-data-page.c:
2088 * src/print-dialog.c:
2091 * src/template-designer.c:
2093 * src/ui-property-bar.c:
2095 * src/view-barcode.c:
2097 * src/view-ellipse.c:
2102 * src/wdgt-media-select.c:
2103 * src/xml-label-04.c:
2104 * src/xml-label-191.c:
2106 Modified to compile warning free with gcc-4.0. Mostly
2107 casting to change signedness of characters. Did not
2108 attack gnu-barcode library yet.
2110 2005-10-22 Jim Evins <evins@snaught.com>
2112 * src/glabels.c: (main):
2113 * src/splash.c: (gl_splash):
2114 Removed some small memory leaks.
2118 2005-09-19 Jim Evins <evins@snaught.com>
2120 * data/glade/property-bar.glade:
2121 Remove items from font_family_combo. This prevents the
2122 double entry after adding text model and list of fonts.
2123 * src/ui-property-bar.c: (reset_to_default_properties):
2124 Free font_family_list.
2126 2005-07-01 Jim Evins <evins@snaught.com>
2129 Updated italian translation (Daniele Medri)
2131 2005-06-26 Jim Evins <evins@snaught.com>
2133 * docs/libglabels/libglabels-decl-list.txt:
2134 Somehow never got checked in before.
2135 * docs/libglabels/libglabels.types:
2136 Removed -- don't need it afterall.
2138 2005-06-20 Jim Evins <evins@snaught.com>
2141 Final prep for 2.1.1 release.
2143 2005-06-20 Jim Evins <evins@snaught.com>
2146 Final preps for 2.1.1 release.
2147 * docs/libglabels/libglabels.types:
2148 Somehow never got checked in before.
2150 Bring up-to-date with recent reorg of ui code.
2153 2005-06-19 Jim Evins <evins@snaught.com>
2155 * src/template-designer.c: (construct_layout_page):
2156 Removed attempt to match background color of mini preview widget to
2159 2005-06-17 Jim Evins <evins@snaught.com>
2161 * help/C/figures/merge-ex2-4.png:
2162 * help/C/glabels.xml:
2163 Fixed spelling error.
2165 2005-06-13 Jim Evins <evins@snaught.com>
2167 * help/C/figures/merge-ex1-1.png:
2168 * help/C/figures/merge-ex1-2.png:
2169 * help/C/figures/merge-ex1-3.png:
2170 * help/C/figures/merge-ex1-4.png:
2171 * help/C/figures/merge-ex2-1.png:
2172 * help/C/figures/merge-ex2-2.png:
2173 * help/C/figures/merge-ex2-3.png:
2174 * help/C/figures/merge-ex2-4.png:
2175 Added figures for document merge tutorial.
2176 * help/C/glabels.xml:
2177 Added document merge tutorial.
2179 2005-05-19 Jim Evins <evins@snaught.com>
2181 * data/glade/merge-properties-dialog.glade:
2182 Fixed irregular spacing.
2183 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2184 (gl_merge_properties_dialog_construct):
2185 Set outer padding and remove separator.
2187 2005-05-18 Jim Evins <evins@snaught.com>
2191 Removed glHigDialog class.
2192 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2193 (gl_file_properties), (create_properties_dialog_widgets):
2194 * src/prefs-dialog.h:
2195 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2196 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2197 * src/print-dialog.h:
2198 * src/prefs-dialog.h:
2199 * src/print-dialog.c: (gl_print_dialog_get_type),
2200 (gl_print_dialog_init), (gl_print_dialog_construct):
2201 Replaced all instances of glHigDialog with GtkDialog.
2203 2005-05-17 Jim Evins <evins@snaught.com>
2207 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2208 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2209 (save_as_response), (gl_file_close):
2210 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2212 2005-05-15 Jim Evins <evins@snaught.com>
2214 * src/ui-commands.h:
2222 A little code reformatting -- no functional changes.
2224 2005-05-14 Jim Evins <evins@snaught.com>
2227 Removed obsolete macros.
2229 Added marshalling template to support new view signal: "context_menu_activate."
2231 * src/view.c: (gl_view_class_init), (gl_view_construct),
2232 (canvas_event_arrow_mode):
2233 - Removed hardcoded context menus and added new signal "context_menu_activate"
2234 to push this up to the uimanager.
2235 - Removed merge properties and print dialogs so that they can be managed with
2236 the window by the uimanager.
2237 * src/merge-properties-dialog.h:
2238 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2239 (gl_merge_properties_dialog_construct):
2240 Changed calling convention of gl_merge_properties_dialog_new() to use
2241 glLabel and GtkWindow instead of view to make more consistent with other
2243 * src/print-dialog.h:
2244 * src/print-dialog.c: (gl_print_dialog_new),
2245 (gl_print_dialog_construct):
2246 Removed last artifact of libbonoboui.
2247 * src/ui-commands.c: (gl_ui_cmd_file_print),
2248 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2249 Reconciled style for launching dialogs.
2250 * src/ui.c: (gl_ui_new):
2251 Added context menus to ui manager.
2252 * src/view-object.c: (item_event_arrow_mode):
2253 No longer try to select objects with right-click.
2255 * src/window.c: (gl_window_init), (gl_window_set_label),
2256 (context_menu_activate_cb):
2257 Context menus and all dialogs are now managed in a consistent way in window
2260 2005-05-11 Jim Evins <evins@snaught.com>
2263 * src/window.c: (gl_window_init), (gl_window_destroy):
2264 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2265 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2266 Moved management of recent_view back from window.c to ui.c -- it just feels
2269 2005-05-10 Jim Evins <evins@snaught.com>
2272 * src/window.c: (gl_window_init):
2274 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2275 (menu_item_select_cb), (menu_item_deselect_cb):
2276 Added GtkStatusbar which displays menu tooltips.
2278 2005-05-09 Jim Evins <evins@snaught.com>
2280 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2285 Removed dependencies on libbonoboui.
2287 * data/ui/Makefile.am:
2288 * data/ui/glabels-ui.xml:
2289 Removed data/ui directory.
2290 * data/glade/Makefile.am:
2291 * data/property-bar.glade:
2292 Added glade description of property-bar for new libglade implementation
2299 * src/ui-commands.h:
2300 * src/ui-commands.c:
2301 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2302 since the distinction between "commands" and "tools" is no longer that clear.
2305 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2306 no longer has knowledge of eggRecent*.
2307 * src/glabels.c: (main):
2308 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2310 * src/object-editor.c: (gl_object_editor_init):
2311 Make sure notebook does not respond to a "show_all" on the parent.
2312 * src/recent-files/Makefile.am:
2313 * src/recent-files/*.[ch]
2314 Updated from latest version of libegg which now has a view based on
2315 GtkUIManager. Removed unused bonobo and gtk views.
2316 * src/ui-property-bar.h:
2317 * src/ui-property-bar.c:
2318 New implementation based on libglade.
2321 Sidebar is now simply a GtkWidget and does not expect to be a part of
2322 a libbonoboui interface.
2327 Converted for use with GtkUIManager.
2330 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2331 to create menus and toolbars.
2333 2005-04-25 Jim Evins <evins@snaught.com>
2335 * data/templates/misc-iso-templates.xml:
2336 Added Fellows 04715 template provided by Steve Saxon.
2338 Updated acknowledgement for above.
2340 2005-04-23 Jim Evins <evins@snaught.com>
2342 * src/util.c: (gl_util_combo_box_set_strings):
2343 Make sure to clear model before loading a new list of strings.
2344 * src/wdgt-media-select.h:
2345 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2346 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2347 (template_combo_changed_cb), (prefs_changed_cb),
2348 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2349 (gl_wdgt_media_select_get_page_size),
2350 (gl_wdgt_media_select_set_page_size):
2351 Replaced the deprecated GtkCombo widget with the new
2354 2005-04-21 Jim Evins <evins@snaught.com>
2356 * data/glade/template-designer.glade:
2357 * src/template-designer.c: (construct_pg_size_page),
2358 (pg_size_page_changed_cb), (build_template):
2359 Replaced the deprecated GtkCombo widget with the new
2362 2005-04-20 Jim Evins <evins@snaught.com>
2364 * data/glade/prefs-dialog.glade:
2365 * src/prefs-dialog.c: (construct_object_page),
2366 (update_object_page_from_prefs), (update_prefs_from_object_page):
2367 Replaced the deprecated GtkCombo widget with the new
2370 2005-04-19 Jim Evins <evins@snaught.com>
2372 * data/glade/object-editor.glade:
2373 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2374 (style_changed_cb), (gl_object_editor_set_bc_style),
2375 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2376 (gl_object_editor_get_bc_color):
2377 * src/object-editor-data-page.c:
2378 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2379 (gl_object_editor_get_data):
2380 * src/object-editor-edit-page.c:
2381 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2382 * src/object-editor-fill-page.c:
2383 (gl_object_editor_prepare_fill_page),
2384 (gl_object_editor_set_fill_color),
2385 (gl_object_editor_get_fill_color):
2386 * src/object-editor-image-page.c:
2387 (gl_object_editor_prepare_image_page),
2388 (gl_object_editor_set_image), (gl_object_editor_get_image):
2389 * src/object-editor-line-page.c:
2390 (gl_object_editor_prepare_line_page),
2391 (gl_object_editor_set_line_color),
2392 (gl_object_editor_get_line_color):
2393 * src/object-editor-private.h:
2394 * src/object-editor-text-page.c:
2395 (gl_object_editor_prepare_text_page),
2396 (gl_object_editor_set_font_family),
2397 (gl_object_editor_get_font_family),
2398 (gl_object_editor_set_text_color),
2399 (gl_object_editor_get_text_color):
2400 * src/object-editor.c: (gl_object_editor_set_key_names):
2402 In the object editor: replaced all instances of the deprecated
2403 GtkCombo widget with the new GtkComboBox.
2405 2005-04-18 Jim Evins <evins@snaught.com>
2408 Neglected to save this one in previous checkin to support
2411 2005-04-17 Jim Evins <evins@snaught.com>
2413 * libglabels/libglabels-private.h:
2414 * libglabels/paper.c:
2415 * libglabels/paper.h:
2416 * libglabels/template.c:
2417 * libglabels/template.h:
2418 * libglabels/xml-paper.c:
2419 * libglabels/xml-paper.h:
2420 * libglabels/xml-template.c:
2425 * src/bc-gnubarcode.c:
2436 * src/label-barcode.c:
2438 * src/label-ellipse.c:
2439 * src/label-image.c:
2440 * src/label-image.h:
2442 * src/label-object.c:
2446 * src/merge-properties-dialog.c:
2447 * src/object-editor-bc-page.c:
2448 * src/object-editor-data-page.c:
2449 * src/object-editor-edit-page.c:
2450 * src/object-editor-fill-page.c:
2451 * src/object-editor-image-page.c:
2452 * src/object-editor-line-page.c:
2453 * src/object-editor-lsize-page.c:
2454 * src/object-editor-position-page.c:
2455 * src/object-editor-private.h:
2456 * src/object-editor-size-page.c:
2457 * src/object-editor-text-page.c:
2458 * src/object-editor.c:
2459 * src/object-editor.h:
2460 * src/pixbuf-cache.h:
2461 * src/prefs-dialog.c:
2462 * src/prefs-dialog.h:
2463 * src/prefs-model.c:
2464 * src/prefs-model.h:
2466 * src/print-dialog.c:
2467 * src/print-dialog.h:
2475 * src/template-designer.c:
2476 * src/template-designer.h:
2479 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2485 * src/view-barcode.c:
2487 * src/view-ellipse.c:
2488 * src/view-highlight.c:
2489 * src/view-highlight.h:
2492 * src/view-object.c:
2493 * src/view-object.h:
2497 * src/wdgt-chain-button.c:
2498 * src/wdgt-media-select.c:
2499 * src/wdgt-media-select.h:
2500 * src/wdgt-mini-preview.c:
2501 * src/wdgt-mini-preview.h:
2502 * src/wdgt-print-copies.c:
2503 * src/wdgt-print-copies.h:
2504 * src/wdgt-print-merge.c:
2505 * src/wdgt-print-merge.h:
2506 * src/wdgt-rotate-label.c:
2507 * src/wdgt-rotate-label.h:
2510 * src/xml-label-04.c:
2511 * src/xml-label-191.c:
2513 Cleanup of header files:
2514 - all header files are now stand-alone, verified by including
2515 first in corresponding "c" files
2516 - replaced blanket includes of gnome, gtk, and glib with
2519 2005-04-16 Jim Evins <evins@snaught.com>
2521 * data/glade/Makefile.am:
2522 * data/glade/merge-properties-dialog.glade:
2523 Added merge properties dialog glade description file.
2524 * src/merge-properties-dialog.h:
2525 * src/merge-properties-dialog.c:
2526 (gl_merge_properties_dialog_get_type),
2527 (gl_merge_properties_dialog_init),
2528 (gl_merge_properties_dialog_finalize),
2529 (gl_merge_properties_dialog_new),
2530 (gl_merge_properties_dialog_construct), (type_changed_cb),
2531 (src_changed_cb), (response_cb), (load_tree),
2532 (record_select_toggled_cb), (select_all_button_clicked_cb),
2533 (unselect_all_button_clicked_cb):
2534 Modified merge properties dialog to use libglade. Added
2535 "select all" and "unselect all" buttons.
2536 * src/merge-text.c: (parse_line):
2537 Handle empty lines better.
2538 * src/merge.c: (gl_merge_eval_key):
2539 Evaluate the key whether the record is selected or not.
2541 * src/util.c: (gl_util_combo_box_add_text_model):
2542 Since libglade does not use the gtk_combo_box_new_text()
2543 constructor for GtkComboBoxes, a utility function was created
2544 to add an appropriate text model to a GtkComboBox.
2545 * src/view.c: (gl_view_edit_merge_props):
2546 Removed unnecessary "show all's".
2548 2005-04-15 Jim Evins <evins@snaught.com>
2551 Updated russian translation (Vitaly Lipatov)
2552 * data/templates/misc-iso-templates.xml:
2553 Added templates for russian business cards provided by Vitaly Lipatov.
2555 Updated acknowledgements for above.
2557 2005-04-15 Jim Evins <evins@snaught.com>
2559 * data/templates/avery-us-templates.xml:
2560 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2561 * data/templates/misc-iso-templates.xml:
2562 Added Ryman standard CD/DVD template, provided by Dan Clark.
2564 Added acknowledgements for above.
2566 2005-04-10 Jim Evins <evins@snaught.com>
2568 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2569 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2570 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2571 (xml_parse_label_cd_node), (xml_parse_alias_node):
2572 * libglabels/xml.c: (gl_xml_get_prop_double),
2573 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2574 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2575 * src/xml-label-04.c: (xml04_parse_media_description),
2576 (xml04_parse_text_props), (xml04_parse_barcode_props),
2577 (xml04_parse_merge_properties):
2578 * src/xml-label-191.c: (xml191_parse_object),
2579 (xml191_parse_text_props), (xml191_parse_barcode_props),
2580 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2581 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2582 (xml191_parse_alias):
2583 * src/xml-label.c: (xml_parse_object_text),
2584 (xml_parse_object_barcode), (xml_parse_merge_fields),
2585 (xml_parse_pixdata), (xml_parse_toplevel_span):
2586 Make sure to use xmlFree for anything obtained from libxml
2587 in case libxml and glib use different memory management
2590 2005-04-08 Jim Evins <evins@snaught.com>
2593 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2594 (gl_util_combo_box_set_active_text):
2595 Added utility functions to simplify working with GtkComboBox
2597 * src/ui-property-bar.h:
2598 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2599 (reset_to_default_properties), (update_text_properties),
2600 (font_family_changed_cb):
2601 Replaced deprecated GtkCombo with GtkComboBox.
2604 2005-04-03 Jim Evins <evins@snaught.com>
2607 * src/wdgt-image-select.h:
2608 * src/wdgt-image-select.c:
2609 Removed obsolete wdgt-image-select.[ch] files.
2610 * libglabels/paper.c: (gl_paper_dup):
2611 Fixed rename of parameter introduced during documentation
2613 * data/glade/object-editor.glade:
2614 * src/object-editor-image-page.c:
2615 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2616 (gl_object_editor_set_image), (gl_object_editor_get_image),
2617 (update_preview_cb), (add_image_filters_to_chooser):
2618 * src/object-editor-private.h:
2619 Replaced deprecated GnomePixmapEntry with
2620 GtkFileChooserButton.
2622 2005-04-02 Jim Evins <evins@snaught.com>
2624 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2625 (mygal_combo_box_popup_hide_unconditional),
2626 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2627 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2628 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2629 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2630 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2631 Renamed all internal gtk_combo functions to mygal_combo
2632 to prevent namespace confusion.
2634 2005-04-02 Jim Evins <evins@snaught.com>
2636 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2637 (cust_color_set), (color_palette_setup):
2638 * src/mygal/color-palette.h:
2639 Replaced deprecated GnomeColorPicker with GtkColorButton.
2641 2005-04-02 Jim Evins <evins@snaught.com>
2643 * docs/libglabels/libglabels-sections.txt:
2644 * docs/libglabels/libglabels-undocumented.txt:
2645 * docs/libglabels/tmpl/enums.sgml:
2646 * docs/libglabels/tmpl/paper.sgml:
2647 * docs/libglabels/tmpl/xml-paper.sgml:
2648 * docs/libglabels/tmpl/xml-template.sgml:
2649 * libglabels/enums.h:
2650 * libglabels/paper.c: (gl_paper_dup):
2651 * libglabels/paper.h:
2652 * libglabels/xml-paper.c:
2653 * libglabels/xml-template.c:
2654 More documentation updates for libglabels.
2656 2005-03-23 Jim Evins <evins@snaught.com>
2659 Automatically updated.
2664 * docs/libglabels/Makefile.am:
2665 * docs/libglabels/libglabels-docs.sgml:
2666 * docs/libglabels/libglabels-sections.txt:
2667 * docs/libglabels/libglabels-undocumented.txt:
2668 * docs/libglabels/tmpl/enums.sgml:
2669 * docs/libglabels/tmpl/libglabels-unused.sgml:
2670 * docs/libglabels/tmpl/libglabels.sgml:
2671 * docs/libglabels/tmpl/paper.sgml:
2672 * docs/libglabels/tmpl/template.sgml:
2673 * docs/libglabels/tmpl/xml-paper.sgml:
2674 * docs/libglabels/tmpl/xml-template.sgml:
2675 * docs/libglabels/tmpl/xml.sgml:
2676 Added basic gtk-doc stuff to support documenting libglabels
2679 Updated function comments with gtk-doc markup.
2683 2005-03-22 Jim Evins <evins@snaught.com>
2685 Since the development version now requires gtk-2.6/gnome-2.10, I
2686 have made a first pass at removing deprecations.
2689 * libglabels/Makefile.am:
2691 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2692 Also removed all remnants of HAVE_FILECHOOSER.
2693 * src/file.c: (gl_file_open_real):
2694 Removed code for old GtkFileSelection.
2695 * libglabels/libglabels-private.h:
2696 * libglabels/paper.c:
2697 * libglabels/template.c:
2698 * libglabels/xml-paper.c:
2699 * libglabels/xml-template.c:
2703 * src/glabels-batch.c:
2707 * src/merge-properties-dialog.c:
2709 * src/object-editor.c:
2710 * src/prefs-dialog.c:
2712 * src/print-dialog.c:
2715 * src/template-designer.c:
2716 * src/ui-property-bar.c:
2718 * src/view-barcode.c:
2720 * src/view-ellipse.c:
2725 * src/wdgt-image-select.c:
2726 * src/wdgt-media-select.c:
2727 * src/wdgt-print-copies.c:
2728 * src/wdgt-print-merge.c:
2729 * src/wdgt-rotate-label.c:
2731 * src/xml-label-04.c:
2732 * src/xml-label-191.c:
2734 Added '#include <glib/gi18n.h>" where needed.
2735 Removed any unused '#include <gnome.h>"s.
2737 2005-03-22 Jim Evins <evins@snaught.com>
2739 * src/commands.c: (activate_url), (gl_cmd_help_about):
2740 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2741 development version of glabels now depends on GTK 2.6 and
2744 Updated library dependencies.
2746 2005-02-28 Jim Evins <evins@snaught.com>
2749 * data/templates/misc-iso-templates.xml:
2750 Added 'Ednet 45021' template provided by Ali Akcaagac
2753 2005-02-14 Jim Evins <evins@snaught.com>
2755 * data/templates/avery-us-templates.xml:
2756 Updated templates to use inches instead of points.
2757 * src/print-dialog.c: (printer_page_new):
2758 Changed packing style when adding printer selector widget. This fixes
2761 2005-02-13 Jim Evins <evins@snaught.com>
2765 Updated spanish translations. (sergio rivadero)
2767 2005-02-05 Jim Evins <evins@snaught.com>
2769 Some cleanup to libglabels.
2772 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2773 * libglabels/libglabels.pc.in
2775 * libglabels/enums.h
2776 Created. Currently only contains glUnitsType which provides enumerations
2777 for all possible units of distance.
2778 * libglabels/Makefile.am:
2779 Incorporated new files enums.h and libglabels.pc[.in].
2780 * libglabels/libglabels.h:
2782 * libglabels/template.h:
2783 * libglabels/template.c: (gl_template_layout_new):
2784 Changed parameters nx and ny to gint from gdouble.
2786 * libglabels/xml.c: (gl_xml_get_prop_length),
2787 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2788 Added support for different output units.
2789 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2790 (update_prefs_from_locale_page):
2791 * src/prefs-model.c: (string_to_units), (units_to_string):
2792 * src/prefs-model.h:
2793 * src/prefs.c: (gl_prefs_get_units_per_point),
2794 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2795 (gl_prefs_get_units_string):
2797 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2798 Reconciled all length enumerations with the new enumerations provided
2799 in libglabels/enums.h.
2801 2005-02-03 Jim Evins <evins@snaught.com>
2804 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2806 Updated Italian translations. (Daniele Medri)
2808 Updated credits to reflect above translations.
2811 2005-01-22 Jim Evins <evins@snaught.com>
2816 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2818 Final prep for 2.1.0.
2820 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2822 Added '--remove-original' flag to desktop-file-install, so that there is
2823 only one menu entry.
2825 2005-01-20 Jim Evins <evins@snaught.com>
2827 * data/glade/object-editor.glade:
2828 - Font family entry should not be editable.
2829 - img_key_entry should have sensitivity=YES, so that it follows the
2830 sensitivity of img_key_combo.
2832 2005-01-19 Jim Evins <evins@snaught.com>
2835 Give credit to Frederic Ruaudel for the color merge patches.
2837 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2839 Add support to merge color for all other color attribute (Feature
2840 Requests item #1008635. If the data is invalid, the color used is transparent
2841 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2842 by gdk_color_parse() these include name for a color from rgb.txt, such as
2843 DarkSlateGray, or a hex specification such as #305050. File format has been
2844 changed but backward compatibility is preserved for all format. For
2845 box/ellipse/line, keep attribute "line_color" for static color or replace by
2846 "line_color_field" for merge data. For text/barcode objects, keep attribute
2847 "color" for static color or replace by "color_field" for merge data. In the
2848 edit canvas window, merged color are represented by half-transparent black
2851 * data/dtd/glabels-2.0.dtd:
2852 Added line_color_field to line_attrs. Added color_field to
2853 Object-barcode and Span.
2854 * data/glade/object-editor.glade:
2855 Modify the layout of the editor to add merge possibility to color options
2857 Fix a copy/paste error in a comment
2859 Add default color for merge color representation in the editor canvas.
2860 * src/label-barcode.c:
2861 * src/object-editor-bc-page.c:
2862 * src/view-barcode.c:
2863 Add merge color support for barcode color.
2866 Add merge color support for box border color.
2867 * src/label-ellipse.c:
2868 * src/view-ellipse.c:
2869 Add merge color support for ellipse border color.
2872 Add merge color support for line color.
2873 * src/label-object.c:
2874 * src/label-object.h:
2875 * src/object-editor.c:
2876 * src/object-editor.h:
2877 * src/ui-property-bar.c:
2880 * src/xml-label-04.c:
2881 * src/xml-label-191.c:
2882 Add support for merging to other color attribute.
2884 * src/object-editor-text-page.c:
2886 Add merge color support for text color.
2887 * src/object-editor-fill-page.c:
2888 Change a blocked handler that didn't match the good widget. Fix the type
2889 of some debug message.
2890 * src/object-editor-line-page.c:
2891 Add merging support to line color option.
2892 * src/object-editor-private.h:
2893 Add variables for new widget.
2895 Modify the draw functions to get merge data if needed.
2897 Change the default size of the window in order to see all widget in the
2898 "text style tab" of the editor.
2900 Modify the parser to record/retreive the field value for objects that need
2901 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2902 static color or replace by "line_color_field" for merge data. For
2903 text/barcode objects, keep attribute "color" for static color or replace
2904 by "color_field" for merge data.
2906 2005-01-17 Jim Evins <evins@snaught.com>
2908 * src/view.c: (screen_changed_cb):
2909 Don't do anything if we don't have a screen.
2911 2005-01-06 Jim Evins <evins@snaught.com>
2913 * src/view.c: (get_home_scale):
2914 Fixed bad call to gtk_widget_has_screen() -- huh?.
2916 2005-01-06 Jim Evins <evins@snaught.com>
2918 * data/dtd/glabels-2.0.dtd:
2919 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2922 2005-01-06 Jim Evins <evins@snaught.com>
2924 * data/glade/object-editor.glade:
2925 Set entries for fill and data field key dropdowns to NOT editable.
2926 * src/view-box.c: (construct_properties_editor):
2927 * src/view-ellipse.c: (construct_properties_editor):
2928 Update object editor when label's merge property has changed.
2929 * src/xml-label.c: (xml_parse_object_ellipse):
2930 Completed the merge color support for the ellipse item.
2932 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2934 Add support to merge color for object that have a "Fill color" attribute (Feature
2935 Requests item #1008635. If the data is invalid, the color used is transparent
2936 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2937 by gdk_color_parse() these include name for a color from rgb.txt, such as
2938 DarkSlateGray, or a hex specification such as #305050. File format has been
2939 changed but backward compatibility is preserved for all format. For box/ellipse,
2940 keep attribute "fill_color" for static color or replace by "fill_color_field"
2943 * data/glade/object-editor.glade:
2944 Modify "Fill" tab to add the merge key combo and convert the labels into
2948 Add "glColorNode" structure and associated functions to manage it. This
2949 structure is equivalent for color than the "glTextNode". It holds the color
2951 * src/label-object.h:
2952 * src/label-object.c:
2954 * src/label-ellipse.c:
2955 * src/ui-property-bar.c:
2959 * src/view-ellipse.c:
2960 * src/xml-label-04.c:
2961 * src/xml-label-191.c:
2962 Change functions of objects that have a "fill color" attribute to use the
2963 new "glColorNode" structure. Use barcode code as example.
2965 Add the color.[ch] file to glabels_batch binary that now need support for
2967 * src/object-editor.h:
2968 * src/object-editor.c:
2969 * src/object-editor-fill-page.c:
2970 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2971 to choose between static color or merge key. Use barcode code as example.
2972 * src/object-editor-private.h:
2973 Add new widget in the "_glObjectEditorPrivate" structure.
2975 Modify the draw functions to get merge data if needed.
2977 Modify the parser to record/retreive the field value for objects that need
2978 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2979 color or "fill_color_field" for merge data.
2981 2005-01-04 Jim Evins <evins@snaught.com>
2984 * data/templates/avery-iso-templates.xml:
2985 * data/templates/misc-iso-templates.xml:
2986 * data/templates/misc-us-templates.xml:
2987 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2990 2004-11-26 Jim Evins <evins@snaught.com>
2994 Updated french translations provided by Florent Morel <florent@taket.org>.
2995 * src/view-barcode.c:
2997 * src/view-ellipse.c:
3001 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
3002 thus _() strings were not being translated.
3004 2004-11-14 Jim Evins <evins@snaught.com>
3007 * src/debug.c: (gl_debug_init), (gl_debug):
3008 Borrowed from gedit: use environmental variables to select debug
3011 Removed unused include of debug.h.
3012 * src/glabels.c: (main):
3013 Added call to gl_debug_init(), and removed debug clutter from command line
3015 * src/glabels-batch.c: (main):
3016 Added call to gl_debug_init().
3018 2004-11-13 Jim Evins <evins@snaught.com>
3020 Drawing and property toolbars were being initialized with the "icons and text"
3021 look in Fedora Core 3. Even though none of the buttons had any text attached to
3022 them, the buttons were being sized as if they were. This led to less real estate
3023 for the property editor, leading to Bug #1064630. The
3025 * data/ui/glabels-ui.xml:
3026 Added explicit "look" property to both drawing and property toolbars.
3027 * src/prefs-model.c: (gl_prefs_model_save_settings),
3028 (gl_prefs_model_load_settings):
3029 * src/prefs-model.h:
3030 Removed drawing_toolbar_button_style configuration parameter.
3031 * src/ui.c: (view_menu_item_toggled_cb),
3032 (set_app_drawing_toolbar_style):
3033 Do not attempt to adjust look property of the drawing toolbar.
3035 2004-10-28 Jim Evins <evins@snaught.com>
3037 * data/pixmaps/glabels-about-logo.png:
3040 2004-10-28 Jim Evins <evins@snaught.com>
3042 * data/man/glabels.1:
3043 * src/glabels-batch.c: (main):
3045 * src/print.c: (gl_print_batch):
3047 Added option to glabels-batch to select the first label to begin
3050 2004-09-26 Jim Evins <evins@snaught.com>
3052 * data/desktop/glabels.desktop.in:
3053 Point to app icon, "glabels.png"
3054 * data/mime/glabels.keys.in:
3055 Point at mime icon, "glabels-application-x-glabels.png"
3056 * data/pixmaps/Makefile.am:
3057 Added glabels_app_icondir. Renamed icons.
3058 * data/pixmaps/glabels.png:
3059 New cleaned up app icon. Deleted glabels-icon.png.
3060 * data/pixmaps/glabels-application-x-glabels.png:
3062 * data/pixmaps/glabels-splash.png:
3063 Renamed glabels-logo to glabels-splash to be more correct about role.
3065 * src/template-designer.c:
3066 Point at app icon, "glabels.png"
3068 Point at renamed splash image, "glabels-splash.png"
3070 2004-08-22 Jim Evins <evins@snaught.com>
3073 * src/glabels-batch.c: (main):
3074 Applied patch with minor mods to allow selecting merge source and
3075 crop-marks on glabels-batch's command line. Original patch provided by
3076 José Dapena Paz <jdapena@igalia.com>.
3078 2004-08-15 Jim Evins <evins@snaught.com>
3080 * data/desktop/glabels.desktop.in:
3081 - Added encoding line
3082 - Removed period from comment
3083 - Fixed Terminal line, changed "0" to "false"
3084 - Added semicolen to Categories line
3086 - Made sure desktop.in comment string above still translated properly
3088 2004-08-14 Jim Evins <evins@snaught.com>
3090 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
3091 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
3092 * src/xml-label-191.c: (xml191_parse_sheet):
3093 Fixed improper freeing of gettext strings. Merged from 2.0.1.
3095 Reconciled libglabels versioning with 2.0.1.
3098 2004-08-14 Jim Evins <evins@snaught.com>
3101 Updated version to 2.1cvs.
3103 2004-08-14 Jim Evins <evins@snaught.com>
3106 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
3108 2004-08-14 Jim Evins <evins@snaught.com>
3110 Fixes for Bug #1008181.
3112 * src/bc.c: (gl_barcode_default_digits):
3113 Make a format of zero digits, harmless.
3114 * src/xml-label.c: (xml_parse_object_barcode):
3115 Set default value of the format property of barcode objects to 10, not
3116 zero. This will prevent crashes when reading pre 2.0.x files.
3118 2004-08-09 Jim Evins <evins@snaught.com>
3122 * help/C/glabels-C.omf:
3123 * help/C/glabels.xml:
3124 Brought documentation up-to-date for 2.0.0 release.
3126 2004-08-09 Jim Evins <evins@snaught.com>
3128 These are hopefully the final preparations for 2.0.0.
3130 * data/mime/Makefile.am:
3131 Include glabels.xml in EXTRA_DIST.
3133 - Updated comment style.
3134 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
3135 - Added package and version info to configuration printout
3136 - Update version to 2.0.0
3137 * libglabels/Makefile.am:
3138 Use the new LIBGLABELS_VERSION_INFO macro.
3140 2004-08-09 Jim Evins <evins@snaught.com>
3144 Cleanup of required library macros.
3146 2004-08-08 Jim Evins <evins@snaught.com>
3150 - More specific of what to install in /usr/bin and /usr/lib
3151 - Remove built mime registration files from staging directory
3153 2004-08-08 Jim Evins <evins@snaught.com>
3155 * data/mime/Makefile.am:
3156 Fixed typo: key_files should have been keys_files.
3158 2004-08-08 Jim Evins <evins@snaught.com>
3160 Reorganization of runtime data files. Also added registration of mimetype with
3161 new freedesktop.org mime database if available.
3164 Moved files to appropriate subdirectories, creating local Makefile.am
3165 in each subdirectory.
3166 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3167 These are now installed at $datadir/glabels/templates.
3168 - Moved glabels.1 to man subdirectory.
3169 - Moved glabels-2.0.dtd to dtd subdirectory.
3170 - Moved glabels.desktop.in to desktop subdirectory.
3171 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3173 Moved "./pixmaps" to "./data/pixmaps"
3175 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3177 Moved libglade files from src to data/glade. Created Makefile.am.
3179 Removed pixmaps from SUBDIRS.
3181 - Removed pixmaps from makefiles.
3182 - Added makefiles for new subdirs of data.
3183 - Added tests for freedesktop.org mime database.
3185 - Added tests for freedesktop.org mime database for post install and
3186 post un-install actions.
3187 * libglabels/Makefile.am:
3188 Moved system template files to $(datadir)/glabels/templates.
3189 * libglabels/libglabels-private.h:
3190 Moved system template files to $(datadir)/glabels/templates.
3192 - Accounted for movement of ui and libglade files.
3193 - Added missing .in files.
3194 - Reorganized by directory.
3196 Accounted for movement of ui and libglade files.
3197 * data/mime/glabels.xml.in:
3198 New file for registering with freedesktop.org mime database.
3200 2004-08-07 Jim Evins <evins@snaught.com>
3202 * src/recent-files/*:
3203 Re-synced to latest libegg/recent-files.
3205 2004-08-07 Jim Evins <evins@snaught.com>
3210 Renamed "./doc" directory to "./help" which contains user documentation,
3211 to be more consistent with other GNOME applications.
3214 2004-07-26 Jim Evins <evins@snaught.com>
3216 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3217 Corrected button order of merge properties dialog.
3219 2004-07-18 Jim Evins <evins@snaught.com>
3221 * data/glabels-2.0.dtd:
3222 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3223 (gl_barcode_get_prefered_n):
3225 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3226 (gl_label_barcode_get_props), (get_size):
3227 * src/label-barcode.h:
3228 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3229 (style_changed_cb), (gl_object_editor_set_bc_style),
3230 (gl_object_editor_get_bc_style):
3231 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3232 (gl_object_editor_set_data), (gl_object_editor_get_data):
3233 * src/object-editor-private.h:
3234 * src/object-editor.c: (gl_object_editor_set_key_names):
3235 * src/object-editor.glade:
3236 * src/object-editor.h:
3237 * src/print.c: (draw_barcode_object):
3238 * src/view-barcode.c: (update_object_from_editor_cb),
3239 (update_editor_from_object_cb),
3240 (gl_view_barcode_create_event_handler), (draw_barcode):
3241 * src/xml-label-04.c: (xml04_parse_barcode_props):
3242 * src/xml-label-191.c: (xml191_parse_barcode_props):
3243 * src/xml-label.c: (xml_parse_object_barcode),
3244 (xml_create_object_barcode):
3245 Added "format" attribute to barcode objects. This attribute is used
3246 to properly format freeform barcodes barcodes prior to merge data is
3247 applied, so that barcodes can be accurately layed out. This addresses
3248 remaining issues of feature request #824787. Also added an example of
3249 the format in the object editor.
3251 2004-07-12 Jim Evins <evins@snaught.com>
3253 Various code cleanups.
3255 * src/label-barcode.c:
3256 Removed unneeded include of gnome-glyphlist.h.
3258 * src/label-text.c: (get_size):
3259 Fixed memory leak: unref glyphlists when done with them.
3261 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3262 * src/object-editor-data-page.c:
3263 (gl_object_editor_prepare_data_page):
3264 * src/object-editor-image-page.c:
3265 (gl_object_editor_prepare_image_page):
3266 * src/object-editor-line-page.c:
3267 (gl_object_editor_prepare_line_page):
3268 * src/object-editor-lsize-page.c:
3269 (gl_object_editor_prepare_lsize_page):
3270 * src/object-editor-position-page.c:
3271 (gl_object_editor_prepare_position_page):
3272 * src/object-editor-size-page.c:
3273 (gl_object_editor_prepare_size_page):
3274 * src/object-editor-text-page.c:
3275 (gl_object_editor_prepare_text_page):
3276 Removed unneeded size groups, originally intended to keep widgets aligned.
3277 Now use tables to lay these out in object-editor.glade.
3279 * src/print.c: (draw_text_object):
3280 Fixed memory leak: unref glyphlists when done with them.
3282 * src/view-barcode.c: (draw_barcode):
3283 Fixed memory leak: unref glyphlists when done with them.
3285 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3286 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3288 - Fixed memory leak: unref glyphlists when done with them.
3290 2004-07-11 Jim Evins <evins@snaught.com>
3292 * data/glabels-2.0.dtd:
3293 * src/label-text.c: (gl_label_text_instance_init), (copy),
3294 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3296 * src/object-editor-private.h:
3297 * src/object-editor-text-page.c:
3298 (gl_object_editor_prepare_text_page),
3299 (gl_object_editor_set_text_auto_shrink),
3300 (gl_object_editor_get_text_auto_shrink):
3301 * src/object-editor.c: (gl_object_editor_set_key_names):
3302 * src/object-editor.glade:
3303 * src/object-editor.h:
3304 * src/print.c: (draw_text_object):
3305 * src/view-text.c: (update_object_from_editor_cb),
3306 (update_editor_from_object_cb):
3307 * src/xml-label.c: (xml_parse_object_text),
3308 (xml_create_object_text):
3309 Added option to allow document merge to auto shrink text size to fit
3310 within the text box. The code in print.c that actually shrinks the
3311 text is loosely based on a patch submitted by Mark Harrison
3312 <mark.harrison@velocitynet.com.au>. This addresses feature request
3315 2004-07-11 Jim Evins <evins@snaught.com>
3317 * data/glabels-2.0.dtd:
3318 * libglabels/template.c: (gl_template_rect_label_type_new),
3319 (gl_template_round_label_type_new),
3320 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3321 (template_full_page):
3322 * libglabels/template.h:
3323 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3324 (xml_create_label_node):
3325 * pixmaps/ex-rect-size.png:
3326 * src/print.c: (clip_to_outline), (clip_punchouts):
3327 * src/template-designer.c: (construct_rect_size_page),
3328 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3330 * src/template-designer.glade:
3331 * src/xml-label-191.c: (xml191_parse_label):
3332 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3333 properties for rectangular labels. Templates remain backwards compatible,
3334 but this breaks the libglabels API (I don't know of anyone outside of
3335 glabels using libglabels at this time -- what can I say, the program is
3336 is still "unstable"). This addresses the suggestion in Feature Request
3339 2004-07-05 Jim Evins <evins@snaught.com>
3340 * src/print.c: (print_crop_marks), (draw_outline):
3341 Changed crop marks and label outlines to black, instead of 25% gray.
3342 This addresses debian Bug #257460.
3344 2004-07-05 Jim Evins <evins@snaught.com>
3346 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3347 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3348 Preserve "is_default" of fill and line color_combos when creating from
3351 2004-07-02 Jim Evins <evins@snaught.com>
3354 Created man page. Based on page submitted by Matthew J. Lockner, however
3355 it has been severely edited.
3357 * data/avery-other-templates.xml
3358 * data/misc-other-templates.xml:
3359 Started new files for predefined templates with non-standard sheet sizes.
3360 These have been initially populated with the Avery 06141 and
3361 OfficeMax #86112, both provided by Matthew J. Lockner.
3364 Install above manpage and template files.
3367 Make sure we install man pages.
3369 * src/glabels-batch.c:
3370 Changed short form of help option to '-?' to be consistent with glabels.
3373 Added acknowledgement for above labels.
3375 2004-07-02 Jim Evins <evins@snaught.com>
3377 * src/glabels.c: (main), (save_session_cb):
3378 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3380 - save_session_cb() now returns gboolean.
3381 - Minor formatting changes.
3385 - Now include file.h to provide missing prototype.
3386 - gl_window_get_type() now returns GType, not guint. I believe this may
3387 ultimately be cause of the segfault reported in Bug #982287, since
3388 GType is actually a gulong, which may not be compatible on other
3389 architectures (64bit) -- I cannot personally test this at this time.
3390 I was sloppy in several other xxx_get_type() functions which also
3391 returned guint -- see next group of files:
3393 * src/window.c: (gl_window_get_type):
3394 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3395 * src/canvas-hacktext.h:
3396 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3397 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3398 (gl_hig_hbox_get_type):
3400 * src/label-barcode.c: (gl_label_barcode_get_type):
3401 * src/label-barcode.h:
3402 * src/label-box.c: (gl_label_box_get_type):
3404 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3405 * src/label-ellipse.h:
3406 * src/label-image.c: (gl_label_image_get_type):
3407 * src/label-image.h:
3408 * src/label-line.c: (gl_label_line_get_type):
3410 * src/label-object.c: (gl_label_object_get_type):
3411 * src/label-object.h:
3412 * src/label-text.c: (gl_label_text_get_type):
3414 * src/label.c: (gl_label_get_type):
3416 * src/merge-properties-dialog.c:
3417 (gl_merge_properties_dialog_get_type):
3418 * src/merge-properties-dialog.h:
3419 * src/merge-text.c: (gl_merge_text_get_type):
3421 * src/merge.c: (gl_merge_get_type):
3423 * src/object-editor.c: (gl_object_editor_get_type):
3424 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3425 * src/prefs-dialog.h:
3426 * src/prefs-model.c: (gl_prefs_model_get_type):
3427 * src/prefs-model.h:
3428 * src/print-dialog.c: (gl_print_dialog_get_type):
3429 * src/print-dialog.h:
3430 * src/template-designer.c: (gl_template_designer_get_type):
3431 * src/template-designer.h:
3432 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3433 * src/ui-property-bar.h:
3434 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3436 * src/view-barcode.c: (gl_view_barcode_get_type):
3437 * src/view-barcode.h:
3438 * src/view-box.c: (gl_view_box_get_type):
3440 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3441 * src/view-ellipse.h:
3442 * src/view-highlight.c: (gl_view_highlight_get_type):
3443 * src/view-highlight.h:
3444 * src/view-image.c: (gl_view_image_get_type):
3446 * src/view-line.c: (gl_view_line_get_type):
3448 * src/view-object.c: (gl_view_object_get_type):
3449 * src/view-object.h:
3450 * src/view-text.c: (gl_view_text_get_type):
3452 * src/view.c: (gl_view_get_type):
3454 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3455 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3456 * src/wdgt-image-select.h:
3457 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3458 * src/wdgt-media-select.h:
3459 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3460 * src/wdgt-mini-preview.h:
3461 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3462 * src/wdgt-print-copies.h:
3463 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3464 * src/wdgt-print-merge.h:
3465 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3466 * src/wdgt-rotate-label.h:
3467 - Made sure all xxx_get_type functions returned GType, not guint. This
3468 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3469 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3470 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3471 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3472 window.[ch] details above for more info.
3473 - Reconciled various coding style differences in all xxx_get_type()
3475 * All prototypes include G_GNUC_CONST.
3476 * All prototypes specify the return value as GType, not GtkType
3478 * Info structures are all declared as "static const."
3479 * Generalized the names of type and info variables.
3480 * Miscelaneous formatting.
3482 2004-06-08 Jim Evins <evins@snaught.com>
3488 Don't touch compression of original file -- still defaults to 9 for
3489 new files. Original patch provided by Javier Donaire Segarra
3490 (#912252 in patch tracker).
3492 2004-05-05 Jim Evins <evins@snaught.com>
3494 * data/glabels-2.0.dtd:
3495 Broke DTD previously when adding new barcode types that contain a
3496 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3497 to avoid the problem.
3498 * data/avery-iso-templates.xml:
3499 * data/zweckform-iso-templates.xml:
3501 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3502 provided by Frank Altpeter.
3503 * libglabels/xml-template.c: (xml_create_label_node):
3504 Reordered markup and layout sub-nodes so that resulting templates will
3505 validate against DTD.
3507 2004-03-13 Jim Evins <evins@snaught.com>
3509 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3510 Changed spin callback signals from "value-changed" back to "changed."
3511 This was accidentally introduced in a previous revision, and can cause
3512 size changes just by selecting the size tab.
3514 2004-03-06 Jim Evins <evins@snaught.com>
3516 * src/view.c: (draw_grid_layer):
3517 For round labels (round and cd) adjust grid so that it lines up with
3518 center of label. Also, no longer draw box around label in the grid layer,
3519 it is hidden by he fg layer anyway. Feature suggested by
3520 nemolivier@free.fr. Although the grid is aligned with the center of the
3521 label, the coordinate system is still relative to the upper left corner
3522 of the rectangle containing the label.
3524 2004-02-25 Jim Evins <evins@snaught.com>
3527 Changed version to 2.0pre1cvs
3529 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3530 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3531 instead of doc->name fields when errors encountered.
3533 2004-02-21 Jim Evins <evins@snaught.com>
3535 * data/avery-iso-templates.xml:
3536 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3539 Added libglabels library and include file to installed files.
3542 Final prep for 1.93.3.
3544 2004-02-20 Jim Evins <evins@snaught.com>
3546 * src/glabels-batch.c: (main):
3547 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3548 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3550 2004-02-16 Jim Evins <evins@snaught.com>
3553 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3556 Added HAVE_FILE_CHOOSER to INCLUDES.
3558 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3559 (gl_file_save_as), (save_as_response):
3560 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3562 2004-02-16 Jim Evins <evins@snaught.com>
3564 * src/xml-label-04.c: (xml04_parse_image_props):
3565 * src/xml-label-191.c: (xml191_parse_image_props):
3566 * src/xml-label.c: (xml_parse_object_image):
3567 Delay setting image size until after image has been applied to new
3570 2004-02-15 Jim Evins <evins@snaught.com>
3572 * src/label-barcode.c: (gl_label_barcode_set_data),
3573 (gl_label_barcode_set_props):
3574 Don't emit "changed" signal, if no change actually made for these
3575 methods. Reduces number of unnecessary redraws of barcodes.
3577 * src/label-object.h:
3578 * src/label-object.c: (gl_label_object_set_position),
3579 (gl_label_object_set_position_relative), (set_size),
3580 (gl_label_object_set_size),
3581 (gl_label_object_set_size_honor_aspect):
3582 Don't emit "changed" signal, if no change actually made for these
3585 2004-02-15 Jim Evins <evins@snaught.com>
3587 * data/glabels-2.0.dtd:
3588 Added specific subtypes for various barcode types.
3591 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3592 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3593 (gl_barcode_can_text), (gl_barcode_text_optional),
3594 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3595 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3596 Changed API to use a string id, rather than a fixed enumeration. Id and
3597 name are separate strings. Added entries to backend table for specific
3598 subtypes for various barcode types.
3601 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3603 Modified to conform to above API. Now more stringent with data length
3604 for various subtypes.
3606 * src/bc-gnubarcode.h:
3607 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3608 (is_length_valid), (is_length1_valid), (is_length2_valid):
3609 Modified to conform to above API. Now more stringent with data length
3610 for various subtypes.
3612 * src/label-barcode.h:
3613 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3614 (gl_label_barcode_get_props), (get_size):
3615 Modified to use above API for storing barcode type.
3617 * src/object-editor.h:
3618 * src/object-editor-bc-page.c: (style_changed_cb),
3619 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3620 Modified to use above API for storing barcode type.
3622 * src/object-editor-size-page.c:
3623 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3624 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3625 Added debug markers.
3627 * src/object-editor.glade:
3628 Made barcode style combo's text entry non-editable.
3630 * src/print.c: (draw_barcode_object):
3631 Modified to use above API for barcode type.
3633 * src/view-barcode.c: (update_object_from_editor_cb),
3634 (update_editor_from_object_cb),
3635 (gl_view_barcode_create_event_handler), (draw_barcode):
3636 Modified to use above API for barcode type.
3638 * src/xml-label-04.c: (xml04_parse_barcode_props):
3639 * src/xml-label-191.c: (xml191_parse_barcode_props):
3640 * src/xml-label.c: (xml_parse_object_barcode),
3641 (xml_create_object_barcode):
3642 Modified to use above API for barcode type.
3644 2004-02-07 Jim Evins <evins@snaught.com>
3646 * src/stock-pixmaps/Makefile.am:
3647 * src/stock-pixmaps/stock_hchain_24.png:
3648 * src/stock-pixmaps/stock_hchain_broken_24.png:
3649 * src/stock-pixmaps/stock_vchain_24.png:
3650 * src/stock-pixmaps/stock_vchain_broken_24.png:
3651 Added chain pixmaps borrowed from the gimp's default theme.
3654 * src/stock.c: (gl_stock_init), (add_button_icon):
3655 Added above pixmaps to stock icon sets. Created add_button_icon() to
3656 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3658 * src/wdgt-chain-button.h
3659 * src/wdgt-chain-button.c
3662 Added this Modified version of gimpchainbutton widget, borrowed from
3666 Added acknowledgements of the above borrowing from the gimp.
3668 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3670 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3671 * src/object-editor.glade:
3672 Replaced the keep aspect ratio check box with the above chain-button
3675 * src/text-node.c: (gl_text_node_equal):
3677 Added function gl_text_node_equal() to compare text_nodes.
3679 * src/label-image.c: (gl_label_image_set_filename):
3680 Replaced incomplete text_node comparison code with invocation of
3681 gl_text_node_equal. This fixed the problem of not being able to
3682 resize an image using the object_editor if the aspect ratio is not
3685 2004-02-04 Jim Evins <evins@snaught.com>
3687 * src/object-editor-image-page.c:
3688 (gl_object_editor_prepare_image_page):
3689 Track "changed" signal of pixmap entry's GtkEntry rather than its
3690 "activate" signal -- this catches all changes to the entry rather than
3691 just changes resulting from a browse, so one can easily pull previous
3692 entries from the history. (This change is marked below on 2004-02-03,
3693 but somehow never got checked in.)
3695 * src/view-highlight.c: (sl_resize_event_handler),
3696 (sr_resize_event_handler), (st_resize_event_handler),
3697 (sb_resize_event_handler):
3698 Side resize handles will now confirm the actual resize that the object
3699 accepted before adjusting position parameters. Previously some interesting
3700 things happened when resizing a barcode to its minimum size.
3702 2004-02-03 Jim Evins <evins@snaught.com>
3704 * src/object-editor-image-page.c:
3705 (gl_object_editor_prepare_image_page):
3706 Track "changed" signal of pixmap entry's GtkEntry rather than its
3707 "activate" signal -- this catches all changes to the entry rather than
3708 just changes resulting from a browse, so one can easily pull previous
3709 entries from the history.
3711 * src/view-highlight.c: (tl_resize_event_handler),
3712 (tr_resize_event_handler), (bl_resize_event_handler),
3713 (br_resize_event_handler):
3714 Allow control key to be dropped while dragging a corner resize handle
3715 without losing the aspect ratio lock.
3717 2004-02-02 Jim Evins <evins@snaught.com>
3719 * src/label-image.c: (gl_label_image_set_filename):
3720 When setting a new filename adjust size such that the aspect ratio of
3721 the image is preserved using the current size as a bounding box.
3723 * src/view-image.c: (update_object_from_editor_cb):
3724 When updating object from editor, feed back possible size changes to
3725 editor as a result of a possible change in image.
3727 * src/object-editor-size-page.c: (size_reset_cb):
3728 Fixed typo when blocking spin handlers. If the base size is larger than
3729 the max size, treat max size as a bounding box while keeping aspect
3733 2004-02-02 Jim Evins <evins@snaught.com>
3735 * src/label-object.h:
3736 * src/label-object.c: (gl_label_object_set_size),
3737 (gl_label_object_set_size_honor_aspect):
3738 Added gl_label_object_set_size_honor_aspect() which will maintain the
3739 current aspect ratio by modifying the supplied w or h apropriately.
3741 * src/view-highlight.c: (tl_resize_event_handler),
3742 (tr_resize_event_handler), (bl_resize_event_handler),
3743 (br_resize_event_handler):
3744 Corner handles will now maintain the current aspect ratio if the
3745 control key is pressed while resizing. This addresses feature
3749 2004-01-31 Jim Evins <evins@snaught.com>
3752 * data/avery-us-templates.xml:
3753 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3755 * libglabels/template.c: (read_template_files_from_dir):
3756 Corrected problem with testing for extensions.
3758 * src/object-editor.glade:
3759 Corrected grouping of radio buttons in barcode data page.
3761 * src/print.c: (draw_barcode_object):
3762 * src/view-barcode.c: (draw_barcode):
3763 Corrected problem with calculation of y_offset for locating characters.
3765 2004-01-24 Jim Evins <evins@snaught.com>
3768 * data/avery-us-templates.xml:
3769 Added Avery 5824, submitted by Fred Bacon.
3771 2004-01-20 Jim Evins <evins@snaught.com>
3773 Catching up on a couple of backlogged user template submissions.
3775 * data/avery-iso-templates.xml:
3776 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3777 Suggested by Linas Jakucionis.
3779 * data/zweckform-iso-templates.xml:
3780 Added Zweckform 4760, submitted by Thomas Vill.
3783 Updated to reflect above submissions.
3785 2004-01-06 Jim Evins <evins@snaught.com>
3787 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3788 xml.[ch] into a separate library called libglabels, to facilitate third
3789 party use of glabels template files. This was suggested by Wayne Schuller.
3790 Once split-out, some modifications to the structures and functions to
3791 make a cleaner more useful API, hopefully. Rather extensive changes have
3792 propogated to other modules.
3800 * src/xml-template.h:
3801 * src/xml-template.c:
3804 These files have been moved to libglabels/. API cleanup performed.
3806 * libglabels/libglabels.h:
3807 * libglabels/libglabels-private.h:
3808 * libglabels/Makefile.am:
3809 These files have been added to finish out libglabels.
3816 Modified to reflect new sets of files in src/ and libglabels/.
3818 * COPYING.LIBGLABELS:
3820 Added copy of the LGPL for libglabels, and a copy the GFDL for
3823 * src/glabels-batch.c:
3825 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3826 (gl_label_get_size):
3828 * src/prefs-model.c: (gl_prefs_model_load_settings):
3829 * src/print-dialog.c:
3830 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3831 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3832 (print_crop_marks), (print_label), (draw_outline),
3833 (clip_to_outline), (clip_punchouts):
3834 * src/template-designer.c: (construct_pg_size_page),
3835 (pg_size_page_changed_cb), (layout_page_changed_cb),
3836 (print_test_cb), (build_template):
3837 * src/util.c: (gl_util_fraction):
3839 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3840 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3841 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3842 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3843 (draw_markup_margin_round), (draw_markup_margin_cd),
3844 (draw_markup_margin_cd_bc), (draw_markup_line),
3845 (draw_markup_circle), (gl_view_copy):
3846 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3847 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3848 (get_label_size_desc):
3849 * src/wdgt-mini-preview.c:
3850 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3852 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3853 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3854 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3855 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3856 * src/wdgt-rotate-label.h:
3857 * src/xml-label-04.c: (xml04_parse_media_description):
3858 * src/xml-label-191.c: (gl_xml_label_191_parse),
3859 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3860 (xml191_parse_markup), (xml191_parse_alias):
3861 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3863 Various changes to accomodate new libglabels API.
3865 2004-01-03 Jim Evins <evins@snaught.com>
3870 2004-01-03 Jim Evins <evins@snaught.com>
3873 Added acknowledgement of contributions by Wayne Schuller.
3875 * src/commands.c: (gl_cmd_file_print):
3876 Create extra reference to print dialog, so that it can be properly re-used.
3878 * src/mygal/mygal-combo-box.h:
3879 * src/mygal/mygal-combo-box.c:
3880 (mygal_combo_box_popup_hide_unconditional),
3881 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3882 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3883 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3884 (mygal_combo_box_set_tearable):
3885 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3886 complete the rename of this widget to prevent namespace collisions
3889 * src/prefs-dialog.glade:
3890 Fixed alignment of Fill/Color widgets.
3892 2004-01-03 Jim Evins <evins@snaught.com>
3894 * data/avery-iso-templates.xml:
3895 Added user submitted templates.
3896 Avery 8435A & 8435B, submitted by Ludger Solbach.
3898 * doc/C/glabels.xml:
3899 Added minimal documentation, noting the new template designer.
3901 2004-01-03 Jim Evins <evins@snaught.com>
3903 * pixmaps/ex-rect-size.png:
3904 * pixmaps/ex-round-size.png:
3905 * pixmaps/ex-cd-size.png:
3906 * pixmaps/Makefile.am:
3907 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3908 files to be used as illustrations/examples in the template-designer.
3910 * src/template-designer.c: (construct_rect_size_page),
3911 (construct_round_size_page), (construct_cd_size_page),
3912 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3913 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3914 (layout_page_prepare_cb), (build_template):
3915 * src/template-designer.glade:
3916 Added illustrations for rectangle, round, and cd label size pages.
3917 Added margin spinboxes to these pages, and now add a margin markup
3918 to the constructed template. Added realistic default values for
3919 some of the size spinboxes. Cleaned up the code for setting spinbox
3920 ranges on the layouts page.
3922 2004-01-02 Jim Evins <evins@snaught.com>
3924 * src/object-editor-size-page.c: (h_spin_cb):
3925 Fixed cut-n-paste error in h_spin_cb that loaded h from
3926 the wrong spinbutton.
3928 * src/object-editor.h:
3929 * src/object-editor.c: (gl_object_editor_class_init),
3930 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3931 * src/object-editor-private.h:
3932 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3934 Added "size_changed" signal.
3936 * src/view-text.c: (construct_properties_editor),
3937 (update_object_from_editor_cb),
3938 (update_object_from_editor_size_cb):
3939 Track size changes from object editor separately from other
3940 properties. This is so the default size (0,0) of a text
3941 object is not modified unintentionally.
3943 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3945 Added feature: line spacing - allows you to comfortably space a text box to
3946 fit a label perfectly.
3948 * data/glabels-2.0.dtd:
3949 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3950 (gl_label_object_get_text_alignment),
3951 (gl_label_object_get_text_line_spacing):
3952 * src/label-object.h:
3953 * src/label-text.c: (gl_label_text_class_init),
3954 (gl_label_text_instance_init), (copy), (get_size),
3955 (set_text_line_spacing), (get_text_alignment),
3956 (get_text_line_spacing):
3957 * src/object-editor-private.h:
3958 * src/object-editor-text-page.c:
3959 (gl_object_editor_prepare_text_page),
3960 (gl_object_editor_set_text_line_spacing),
3961 (gl_object_editor_get_text_line_spacing):
3962 * src/object-editor.glade:
3963 * src/object-editor.h:
3964 * src/prefs-dialog.c: (construct_object_page),
3965 (update_object_page_from_prefs), (update_prefs_from_object_page):
3966 * src/prefs-dialog.glade:
3967 * src/prefs-model.c: (gl_prefs_model_save_settings),
3968 (gl_prefs_model_load_settings), (get_float):
3969 * src/prefs-model.h:
3970 * src/print.c: (draw_text_object):
3972 * src/view-text.c: (update_object_from_editor_cb),
3973 (update_editor_from_object_cb),
3974 (gl_view_text_create_event_handler), (draw_hacktext):
3975 * src/view.c: (gl_view_construct),
3976 (gl_view_set_selection_text_line_spacing),
3977 (gl_view_set_default_text_line_spacing),
3978 (gl_view_get_default_text_line_spacing):
3980 * src/xml-label.c: (xml_parse_toplevel_span),
3981 (xml_create_toplevel_span):
3983 2003-12-30 Jim Evins <evins@snaught.com>
3985 * src/template-designer.c:
3986 * src/template-designer.h:
3987 * src/template-designer.glade:
3988 New template designer assistant.
3992 Added entries for src/template-designer.* files.
3994 * pixmaps/ex-1layout.png
3995 * pixmaps/ex-2layouts.png
3996 * pixmaps/Makefile.am:
3997 Added the new image files ex-*.png used as illustrations in the
3998 template designer assistant.
4000 * src/print-dialog.h:
4001 * src/print-dialog.c: (gl_print_dialog_finalize),
4002 (gl_print_dialog_new), (gl_print_dialog_construct),
4003 (gl_print_dialog_force_outline_flag):
4004 Changed first argument of gl_print_dialog_new() from glView to glLabel,
4005 to support printing from the template designer assistant which does not
4006 have a full-fledged view. Nothing else from the view object was being
4007 used by the dialog anyway.
4009 Added the gl_print_dialog_force_outline_flag() method, for better
4010 integration with the template designer assistant.
4014 * src/commands.c: (gl_cmd_file_template_designer),
4015 (gl_cmd_file_print):
4016 Modified print command to provide label instead of view to dialog.
4017 Added the gl_cmd_file_template_designer() command to invoke the
4018 template designer assistant.
4021 * src/glabels-ui.xml:
4022 Added support for template designer assistant.
4024 * src/wdgt-mini-preview.h:
4025 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
4026 (gl_wdgt_mini_preview_set_bg_color):
4027 Preview is now centered in canvas. Added
4028 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
4029 assistant to match the background color with its own.
4031 * src/print.c: (clip_to_outline):
4032 Fixed really stupid bug when adding waste to clip region of rectangular
4033 labels/cards. Each side of the clip region needs to be extended by
4034 twice the waste margin, as well as negatively offset by the waste
4037 2003-12-28 Jim Evins <evins@snaught.com>
4039 * src/prefs-dialog.c: (update_object_page_from_prefs):
4040 Block intermediary function align_toggle_cb() instead of
4041 update_prefs_from_object_page() for the three alignment
4044 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
4046 * src/file.c: (gl_file_new), (gl_file_properties):
4047 Swap button order and set default for higificatory pleasure.
4049 2003-12-27 Jim Evins <evins@snaught.com>
4051 * barcode-0.98/Makefile.am:
4052 One last time: removed doc/Makefile and po/Makefile.in.in from
4055 2003-12-27 Jim Evins <evins@snaught.com>
4057 * barcode-0.98/Makefile.am:
4058 Removed config.stat entry from EXTRA_DIST files.
4060 * barcode-0.98/Makefile.in:
4063 2003-12-27 Jim Evins <evins@snaught.com>
4066 Updated to work with latest gnome-common package from CVS.
4067 Removed recursive configuration of barcode-0.98.
4074 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
4076 * barcode-0.98/Makefile.in:
4077 * barcode-0.98/configure.in:
4078 * barcode-0.98/Makefile.am:
4079 * barcode-0.98/README.glabels:
4080 Modified to ignore the barcode package's build system, and build
4081 as a part of glabels.
4082 Renamed Makefile.in to Makefile.in.dist.
4083 Renamed configure.in to configure.in.dist.
4084 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
4087 * src/mygal/Makefile.am:
4088 * src/recent-files/Makefile.am:
4089 In order to build against the GNOME 2.5 platform,
4090 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
4092 * src/mygal/Makefile.am:
4093 * src/mygal/mygal-combo-box.c:
4094 * src/mygal/mygal-combo-box.h:
4095 * src/mygal/widget-color-combo.c:
4096 * src/mygal/widget-color-combo.h:
4098 In order to build against the GNOME 2.5 platform,
4099 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
4100 collisions with the real gtk_combo_box widget, now a part of gtk.
4102 2003-12-26 Jim Evins <evins@snaught.com>
4108 Moved local versions of get_home_data_dir() in paper.c and
4109 template.c to util package. Cleaned up formatting in
4113 In gl_template_register() save a copy of the template in
4114 ~/.glabels if the template is not known. Still need to
4115 handle duplicate filename case and duplicate name but
4116 different template case.
4120 Moved local definition of NAME_SPACE macro from xml-label.c
4123 * src/xml-template.c:
4124 * src/xml-template.h:
4125 Added function gl_xml_template_write_template_to_file(), used
4126 in gl_template_register().