1 2008-01-16 Jim Evins <evins@snaught.com>
3 * src/print.c: (print_label):
4 Bug #1872568. Don't apply special transforms (rotate and
5 mirror) to clipping region or outline.
7 2008-01-01 Jim Evins <evins@snaught.com>
10 Sort font lists alphabetically.
12 2008-01-01 Jim Evins <evins@snaught.com>
14 * src/merge-evolution.c:
15 Do a case-insensitive sort.
17 2008-01-01 Jim Evins <evins@snaught.com>
19 * src/merge-evolution.c:
20 Sort evolution by "file_under" field. Original patch provided
21 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
24 Added acknowledgement for above patch.
26 2008-01-01 Jim Evins <evins@snaught.com>
31 Reconcile with 2.2 branch.
34 2007-12-21 Jim Evins <evins@snaught.com>
37 * COPYING.README_FIRST:
39 Updating license information to make more complete and understandable.
41 2007-12-16 Jim Evins <evins@snaught.com>
44 Updated version to 2.pre2.
46 Updated documentation.
47 * src/ui-commands.c: (gl_ui_cmd_help_about):
48 Updated copyright string.
50 2007-12-15 Jim Evins <evins@snaught.com>
52 * data/glade/object-editor.glade:
53 Removed any GtkTable that contained a GtkComboBox because the size of
54 the combo box was not constrained properly. This sacrifices the nice
55 orderly labels for combo boxes that don't extend beyond the edge of the
58 2007-12-15 Jim Evins <evins@snaught.com>
60 * libglabels/db.c: (lgl_db_lookup_template_from_name):
61 * src/object-editor.c: (gl_object_editor_finalize):
62 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
63 Fixed several small memory leaks.
65 2007-12-14 Jim Evins <evins@snaught.com>
68 Optimize template search by name by using a GHashTable.
69 * src/mini-preview-pixbuf-cache.c:
70 * src/mini-preview-pixbuf-cache.h:
71 Store one pixbuf per template, but use a key for each alias.
72 * src/wdgt-media-select.c:
73 Optimize loading of tree data, thus optimizing the "new label" dialog.
75 2007-12-12 Jim Evins <evins@snaught.com>
77 * data/templates/avery-us-templates.xml:
78 More templates and aliases.
80 2007-12-08 Jim Evins <evins@snaught.com>
83 More prep for 2.1.5/2.2.0.
85 2007-12-08 Jim Evins <evins@snaught.com>
91 Preparation for 2.1.5.
93 2007-12-08 Jim Evins <evins@snaught.com>
95 * docs/libglabels/libglabels-decl-list.txt:
96 * docs/libglabels/libglabels-docs.sgml:
97 * docs/libglabels/libglabels-sections.txt:
98 * docs/libglabels/libglabels-undocumented.txt:
99 * docs/libglabels/tmpl/db.sgml:
100 * docs/libglabels/tmpl/str.sgml:
102 Documentation cleanup for libglabels.
104 2007-11-29 Jim Evins <evins@snaught.com>
108 Added lgl_db_does_template_name_exist().
109 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
112 Proof read recent templates -- make sure they still exist.
113 * src/wdgt-media-select.c:
114 Default to "search all templates" tab if no recent templates found.
116 2007-11-28 Jim Evins <evins@snaught.com>
118 * data/glade/wdgt-media-select.glade:
119 * src/wdgt-media-select.c:
120 Added tabbed notebook to allow selection of recent template versus searching the
124 2007-11-26 Jim Evins <evins@snaught.com>
126 * libglabels/Makefile.am:
127 * libglabels/libglabels.h:
130 * src/prefs-dialog.c:
135 Added tracking of recently used templates.
137 2007-11-20 Jim Evins <evins@snaught.com>
139 * data/glade/template-designer.glade:
140 * src/template-designer.c:
141 Added warning icon when match brand and part match an existing template.
143 2007-11-18 Jim Evins <evins@snaught.com>
145 * libglabels/Makefile.am:
148 Added lgl_str_utf8_casecmp().
149 * libglabels/libglabels-private.h:
150 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
151 * libglabels/db.c: (lgl_db_get_brand_list):
152 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
155 2007-11-18 Jim Evins <evins@snaught.com>
157 * data/glade/template-designer.glade:
158 * src/template-designer.c:
159 Don't advance past name page, if brand and part match an existing template.
161 2007-11-18 Jim Evins <evins@snaught.com>
163 * libglabels/db.c: (lgl_db_register_template), (read_templates):
164 When registering a new template, don't add to "User defined" category before
165 writing to file. Add to "User defined" category when reading from "~/.glabels"
166 directory instead. This will allow legacy templates (and manually created
167 templates) to be automatically added to the "user defined" category.
168 * libglabels/xml-template.c:
169 (lgl_xml_template_create_template_node):
170 Fixed typo/bug causing brand to be wrong.
172 2007-11-16 Jim Evins <evins@snaught.com>
176 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
177 function. Automatically create "User defined" category and add to all user
178 registered templates.
179 * libglabels/xml-template.c:
180 * libglabels/xml-template.h:
181 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
182 lgl_xml_template_write_template_to_file().
183 * docs/libglabels/libglabels-decl-list.txt:
184 * docs/libglabels/libglabels-sections.txt:
185 * docs/libglabels/libglabels-undocumented.txt:
186 * docs/libglabels/tmpl/db.sgml:
187 * docs/libglabels/tmpl/xml-template.sgml:
188 Update documentation to reflect above changes.
190 2007-10-28 Jim Evins <evins@snaught.com>
192 * libglabels/xml-template.c:
193 Remove any leading white space from part #s when parsing old names.
194 * src/mini-preview-pixbuf-cache.c:
195 If name isn't in cache add it.
197 2007-10-26 Jim Evins <evins@snaught.com>
199 * libglabels/Makefile.am:
200 * libglabels/category.c:
201 * libglabels/category.h:
204 * libglabels/libglabels-private.h:
205 * libglabels/libglabels.h:
206 * libglabels/paper.c:
207 * libglabels/paper.h:
208 * libglabels/template.c:
209 * libglabels/template.h:
210 * libglabels/xml-template.c:
211 Another pass at screwing with the libglabels API. Moved all
212 database related stuff to db.[ch].
213 * docs/libglabels/libglabels-decl-list.txt:
214 * docs/libglabels/libglabels-docs.sgml:
215 * docs/libglabels/libglabels-sections.txt:
216 * docs/libglabels/libglabels-undocumented.txt:
217 * docs/libglabels/tmpl/category.sgml:
218 * docs/libglabels/tmpl/db.sgml:
219 * docs/libglabels/tmpl/init.sgml:
220 * docs/libglabels/tmpl/libglabels-unused.sgml:
221 * docs/libglabels/tmpl/paper.sgml:
222 * docs/libglabels/tmpl/template-construction.sgml:
223 * docs/libglabels/tmpl/template-db.sgml:
224 * docs/libglabels/tmpl/template-misc.sgml:
225 * docs/libglabels/tmpl/template-struct.sgml:
226 * docs/libglabels/tmpl/template.sgml:
227 Updated documentation to reflect above changes to libglabels API.
229 * src/glabels-batch.c:
231 * src/mini-preview-pixbuf-cache.c:
234 * src/template-designer.c:
235 * src/wdgt-media-select.c:
236 * src/wdgt-mini-preview.c:
237 * src/wdgt-rotate-label.c:
238 * src/xml-label-04.c:
240 Reconciled usage with above libglabels API changes.
242 2007-10-21 Jim Evins <evins@snaught.com>
244 * data/glade/wdgt-media-select.glade:
245 * src/wdgt-media-select.c:
246 Added brand to filter settings.
248 2007-10-21 Jim Evins <evins@snaught.com>
250 * data/dtd/glabels-2.2.dtd:
251 Forgot to replace Alias name attribute with brand and part attributes.
252 * data/templates/avery-iso-templates.xml:
253 * data/templates/avery-other-templates.xml:
254 * data/templates/avery-us-templates.xml:
255 * data/templates/misc-iso-templates.xml:
256 * data/templates/misc-other-templates.xml:
257 * data/templates/misc-us-templates.xml:
258 * data/templates/zweckform-iso-templates.xml:
259 Replaced all name attributes with brand/part attribute pairs.
261 2007-10-20 Jim Evins <evins@snaught.com>
263 * src/stock-pixmaps/*.png
264 Updated icons to use Tango color palette.
266 2007-10-20 Jim Evins <evins@snaught.com>
268 * data/dtd/Makefile.am:
269 * data/dtd/glabels-2.0.dtd:
270 * data/dtd/glabels-2.2.dtd:
271 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
273 * libglabels/template.c:
274 * libglabels/template.h:
275 * libglabels/xml-template.c:
277 Added brand and part attributes to template and alias structures and nodes.
280 * src/mini-preview-pixbuf-cache.c:
281 * src/template-designer.c:
282 * src/wdgt-media-select.c:
283 Use modified libglabels API.
284 * docs/libglabels/libglabels-decl-list.txt:
285 * docs/libglabels/libglabels-sections.txt:
286 * docs/libglabels/libglabels-undocumented.txt:
287 * docs/libglabels/tmpl/template-construction.sgml:
288 * docs/libglabels/tmpl/template-db.sgml:
289 * docs/libglabels/tmpl/template-struct.sgml:
290 Update libglabels documentation to reflect above modifications.
292 2007-10-14 Jim Evins <evins@snaught.com>
294 * docs/libglabels/libglabels-decl-list.txt:
295 * docs/libglabels/libglabels-sections.txt:
296 * docs/libglabels/libglabels-undocumented.txt:
297 * docs/libglabels/tmpl/category.sgml:
298 * libglabels/category.c:
299 * libglabels/category.h:
300 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
301 parity with paper functions.
303 2007-10-12 Jim Evins <evins@snaught.com>
305 * docs/libglabels/libglabels-decl-list.txt:
306 * docs/libglabels/libglabels-sections.txt:
307 * docs/libglabels/libglabels-undocumented.txt:
308 * docs/libglabels/tmpl/category.sgml:
309 * docs/libglabels/tmpl/enums.sgml:
310 * docs/libglabels/tmpl/libglabels-unused.sgml:
311 * docs/libglabels/tmpl/paper.sgml:
312 * docs/libglabels/tmpl/template-struct.sgml:
314 * libglabels/template.c:
315 * libglabels/template.h:
316 Another pass at fleshing out the libglabels documentation.
317 * src/cairo-label-path.c:
318 * src/cairo-markup-path.c:
320 * src/mini-preview-pixbuf.c:
324 * src/wdgt-media-select.c:
325 * src/wdgt-mini-preview.c:
326 * src/wdgt-print-copies.c:
327 * src/wdgt-print-merge.c:
328 * src/wdgt-rotate-label.c:
329 Removed lgl_template_get_first_frame() from libglabels API and all references.
331 2007-10-11 Jim Evins <evins@snaught.com>
333 Extended checks for deprecated symbols.
334 * libglabels/template.c:
335 Removed g_strcasecmp references, which are deprecated.
337 2007-10-09 Jim Evins <evins@snaught.com>
339 * src/merge-evolution.c:
340 Create address book if it does not exist. Also, be more robust about handling
341 error conditions -- don't just assume GError has been set.
343 2007-10-08 Jim Evins <evins@snaught.com>
345 * libglabels/template.c:
346 * libglabels/xml-template.c:
347 * src/template-designer.c:
348 Missed some symbols with libglabels API work.
350 2007-10-01 Jim Evins <evins@snaught.com>
352 * docs/libglabels/libglabels-decl-list.txt:
353 * docs/libglabels/libglabels-docs.sgml:
354 * docs/libglabels/libglabels-sections.txt:
355 * docs/libglabels/libglabels-undocumented.txt:
356 * docs/libglabels/tmpl/category.sgml:
357 * docs/libglabels/tmpl/enums.sgml:
358 * docs/libglabels/tmpl/init.sgml:
359 * docs/libglabels/tmpl/libglabels-unused.sgml:
360 * docs/libglabels/tmpl/paper.sgml:
361 * docs/libglabels/tmpl/template-construction.sgml:
362 * docs/libglabels/tmpl/template-db.sgml:
363 * docs/libglabels/tmpl/template-misc.sgml:
364 * docs/libglabels/tmpl/template-struct.sgml:
365 * docs/libglabels/tmpl/template.sgml:
366 * docs/libglabels/tmpl/xml-category.sgml:
367 * docs/libglabels/tmpl/xml-template.sgml:
368 * libglabels/category.h:
370 * libglabels/libglabels-private.h:
371 * libglabels/paper.h:
372 * libglabels/template.c:
373 * libglabels/template.h:
374 * libglabels/xml-template.h:
375 Basic documentation framework for libglabels updated. This still needs some
378 2007-09-27 Jim Evins <evins@snaught.com>
380 * docs/libglabels/libglabels-decl-list.txt:
381 * docs/libglabels/libglabels-docs.sgml:
382 * docs/libglabels/libglabels-sections.txt:
383 * docs/libglabels/libglabels-undocumented.txt:
384 * docs/libglabels/tmpl/enums.sgml:
385 * docs/libglabels/tmpl/init.sgml:
386 * docs/libglabels/tmpl/libglabels-unused.sgml:
387 * docs/libglabels/tmpl/paper.sgml:
388 * docs/libglabels/tmpl/template.sgml:
389 * docs/libglabels/tmpl/xml-paper.sgml:
390 * docs/libglabels/tmpl/xml-template.sgml:
391 * docs/libglabels/tmpl/xml.sgml:
392 * libglabels/Makefile.am:
393 * libglabels/category.c:
394 * libglabels/category.h:
395 * libglabels/enums.h:
398 * libglabels/libglabels-private.h:
399 * libglabels/libglabels.h:
400 * libglabels/paper.c:
401 * libglabels/paper.h:
402 * libglabels/template.c:
403 * libglabels/template.h:
404 * libglabels/xml-category.c:
405 * libglabels/xml-category.h:
406 * libglabels/xml-paper.c:
407 * libglabels/xml-paper.h:
408 * libglabels/xml-template.c:
409 * libglabels/xml-template.h:
412 * src/cairo-label-path.c:
413 * src/cairo-label-path.h:
414 * src/cairo-markup-path.c:
415 * src/cairo-markup-path.h:
417 * src/glabels-batch.c:
419 * src/label-object.c:
422 * src/mini-preview-pixbuf-cache.c:
423 * src/mini-preview-pixbuf.c:
424 * src/mini-preview-pixbuf.h:
425 * src/prefs-dialog.c:
432 * src/template-designer.c:
433 * src/view-barcode.c:
435 * src/view-ellipse.c:
439 * src/wdgt-media-select.c:
440 * src/wdgt-mini-preview.c:
441 * src/wdgt-mini-preview.h:
442 * src/wdgt-print-copies.c:
443 * src/wdgt-print-merge.c:
444 * src/wdgt-rotate-label.c:
445 * src/xml-label-04.c:
447 Major cleanup of libglabels API -- this breaks API compatibility with older
448 development and stable versions -- as far as I know, there are currently
449 no external users of this library yet.
451 2007-09-14 Jim Evins <evins@snaught.com>
456 * src/label-object.c:
457 * src/label-object.h:
458 * src/label-barcode.c:
459 * src/label-ellipse.c:
462 * src/view-barcode.c:
464 * src/view-ellipse.c:
468 Better separation of model from view.
470 2007-08-21 Jim Evins <evins@snaught.com>
472 * src/print-op.c: (create_custom_widget_cb):
473 Fix problem with force_outline_flag -- don't override with default.
475 2007-08-21 Jim Evins <evins@snaught.com>
477 * data/dtd/glabels-2.0.dtd:
478 * libglabels/template.c:
479 * libglabels/template.h:
480 * libglabels/xml-template.c:
481 * src/cairo-markup-path.c:
482 Added "Markup-rect" element to template format.
484 2007-08-21 Jim Evins <evins@snaught.com>
487 Changed version to 2.1.pre5svn.
488 * src/view.c: (draw_markup_layer):
489 Do a stroke for each markup path, otherwise multiple markups
492 2007-08-17 Jim Evins <evins@snaught.com>
495 Bump libglabels revision numbers for 2.1.4 release.
497 2007-08-16 Jim Evins <evins@snaught.com>
500 Include subdir iec16022-0.2.1.
504 Preparation for 2.1.4.
507 2007-08-11 Jim Evins <evins@snaught.com>
513 Added Esperanto translation. Provided by Antonio C.
514 Codazzi "la Filozofo" <f_sophia@libero.it>.
516 Updated French translation. Provided by Claude Paroz
517 <claude@2xlibre.net>.
519 Updated to reflect above translations.
521 2007-08-11 Jim Evins <evins@snaught.com>
524 * data/templates/avery-iso-templates.xml:
525 * data/templates/avery-us-templates.xml:
526 * data/templates/misc-iso-templates.xml:
527 * data/templates/misc-other-templates.xml:
528 * data/templates/misc-us-templates.xml:
529 * data/templates/zweckform-iso-templates.xml:
530 Caught up with backlog of template submissions.
532 2007-08-10 Jim Evins <evins@snaught.com>
534 * src/bc-postnet.c: (gl_barcode_postnet_new):
536 Added support for Brazilian CEPNet barcodes. This is simply an
537 instance of the US POSTNET format with 8 digits. Patch supplied
538 by Mário Meyer in bug # 1768792.
540 Updated acknowledgments to reflect above patch and recent shuffling
541 of underlying technology.
543 2007-05-13 Jim Evins <evins@snaught.com>
545 * src/merge-text.c: (parse_line), (parse_field):
546 Remove leading and trailing spaces from CSV fields, unless quoted.
548 2007-05-09 Jim Evins <evins@snaught.com>
550 * src/object-editor-bc-page.c:
551 * src/object-editor-data-page.c:
552 * src/object-editor-fill-page.c:
553 * src/object-editor-image-page.c:
554 * src/object-editor-line-page.c:
555 * src/object-editor-lsize-page.c:
556 * src/object-editor-position-page.c:
557 * src/object-editor-private.h:
558 * src/object-editor-shadow-page.c:
559 * src/object-editor-size-page.c:
560 * src/object-editor-text-page.c:
561 * src/object-editor.c:
562 * src/prefs-dialog.c:
563 * src/template-designer.c:
564 * src/ui-property-bar.c:
565 * src/wdgt-media-select.c:
566 Replaced signal block/unblock pairs with simple flags. This reduces
567 some code clutter, hopefully making it easier to read.
569 2007-05-05 Jim Evins <evins@snaught.com>
571 * src/template-designer.c: (apply_cb):
572 Add new template to mini-preview pixbuf cache.
574 2007-05-03 Jim Evins <evins@snaught.com>
576 * src/label-image.c: (gl_label_image_init), (draw_object):
577 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
580 2007-05-02 Jim Evins <evins@snaught.com>
582 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
583 (button_release_event_cb):
584 Removed attempt at rendering optimization by clipping the updates
585 to areas affected -- this actually seemed to hurt update performance.
587 2007-04-30 Jim Evins <evins@snaught.com>
590 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
591 (gl_color_node_equal), (gl_color_node_expand):
592 * src/label-barcode.c: (draw_object):
593 * src/label-box.c: (draw_object), (draw_shadow):
594 * src/label-ellipse.c: (draw_object), (draw_shadow):
595 * src/label-line.c: (draw_object), (draw_shadow):
596 * src/label-text.c: (draw_object), (draw_shadow):
597 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
598 * src/wdgt-rotate-label.c: (drawingarea_update):
599 Some cleanup to color related code.
601 2007-04-30 Jim Evins <evins@snaught.com>
604 Added glLabelRegion structure type.
605 * src/label-object.c: (gl_label_object_get_extent):
606 * src/label-object.h:
607 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
609 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
610 (gl_view_select_region), (gl_view_align_selection_left),
611 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
612 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
613 (gl_view_align_selection_vcenter),
614 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
615 (gl_view_move_selection), (gl_view_can_selection_text),
616 (motion_notify_event_cb), (button_press_event_cb),
617 (button_release_event_cb):
618 - Reconcile with new gl_label_object_get_extent() API.
619 - Use glLabelRegion for view->select_region.
620 - Added gl_view_update_region() to clip updates to region.
621 - Use gl_view_update_region() during manipulation of view->select_region.
623 2007-04-26 Jim Evins <evins@snaught.com>
625 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
626 (draw_label_outline):
627 * src/print.c: (print_crop_marks), (draw_outline):
628 * src/view-object.c: (gl_view_object_draw_handles):
629 * src/view.c: (draw_bg_layer), (draw_grid_layer),
630 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
631 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
632 * src/wdgt-rotate-label.c: (drawingarea_update):
633 Added defines for various magic numbers.
635 2007-04-25 Jim Evins <evins@snaught.com>
637 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
638 Scale text down. Cairo seems to render text too large.
640 2007-04-25 Jim Evins <evins@snaught.com>
643 * src/view.c: (gl_view_update), (expose_cb),
644 (motion_notify_event_cb), (button_press_event_cb),
645 (button_release_event_cb):
646 - Try not to let updates get backed up.
647 - Grab pointer when doing any drag operations.
649 2007-04-11 Jim Evins <evins@snaught.com>
651 * src/cairo-label-path.c: (gl_cairo_label_path),
652 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
653 (gl_cairo_cd_label_path):
654 * src/cairo-label-path.h:
655 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
656 (draw_label_outline):
657 * src/print.c: (draw_outline), (clip_to_outline):
658 * src/view.c: (draw_bg_layer), (draw_fg_layer):
659 * src/wdgt-mini-preview.c: (draw_labels):
660 * src/wdgt-rotate-label.c: (drawingarea_update):
661 Modified to universally use gl_cairo_label_path() to create paths
662 for labels. Added shadow to mini preview in rotate widget.
664 2007-04-10 Jim Evins <evins@snaught.com>
666 * libglabels/template.h:
667 * libglabels/template.c: (gl_template_get_name_list_unique),
668 (gl_template_get_name_list_all), (gl_template_from_name):
669 Modified libglabels to allow you to get a list of all template names
670 including all aliases or just a list of primary names of each unique
673 * src/file.c: (gl_file_properties):
674 * src/glabels.c: (main):
675 * src/mini-preview-pixbuf-cache.h:
676 * src/mini-preview-pixbuf-cache.c:
677 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
678 (filter_changed_cb), (load_list):
679 Added mini-preview pixbuf cache, so that only one mini-preview is
680 needed for a unique template and gets reused for all aliases. These
681 pixbufs will also live for the life of the program so they are not
682 rebuilt everytime a new label dialog is invoked.
683 * src/mini-preview-pixbuf.c: (draw_paper),
684 (draw_rect_label_outline), (draw_round_label_outline),
685 (draw_cd_label_outline):
686 Removed some comment artifacts.
688 2007-04-04 Jim Evins <evins@snaught.com>
690 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
691 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
692 (draw_round_label_outline), (draw_cd_label_outline):
693 * src/wdgt-media-select.c: (load_list):
694 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
695 Cosmetic enhancments to mini previews.
697 2007-04-04 Jim Evins <evins@snaught.com>
699 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
700 (gl_ui_property_bar_construct):
701 Save copy of GladeXML tree so that we don't lose tooltips.
703 2007-04-02 Jim Evins <evins@snaught.com>
705 * src/merge-properties-dialog.c:
706 * src/new-label-dialog.c:
707 * src/object-editor.c:
708 * src/prefs-dialog.c:
710 * src/template-designer.c:
711 * src/ui-property-bar.c:
712 * src/wdgt-media-select.c:
713 * src/wdgt-rotate-label.c:
714 Fixed several memory leaks.
716 2007-04-01 Jim Evins <evins@snaught.com>
718 * src/label-text.c: (gl_label_text_init), (copy),
719 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
720 (set_font_family), (set_font_size), (set_font_weight),
721 (set_font_italic_flag), (set_text_alignment),
722 (set_text_line_spacing):
723 Cache object size, so that expensive extent calculations are only done
726 2007-03-30 Jim Evins <evins@snaught.com>
728 * src/prefs-model.c: (gl_prefs_model_load_settings):
729 Default to an unlimited list of recent documents, since this parameter
730 seems to be pre-filter anyway.
732 2007-03-30 Jim Evins <evins@snaught.com>
734 * src/label-box.c: (draw_shadow):
735 * src/label-ellipse.c: (draw_shadow):
736 Added missing shadow fill.
738 2007-03-28 Jim Evins <evins@snaught.com>
740 * src/ui-commands.c: (gl_ui_cmd_file_print):
741 Unreferencing the print operation sometimes crashes. Just don't do it
744 2007-03-28 Jim Evins <evins@snaught.com>
746 * src/print-op.c: (gl_print_op_construct),
747 (gl_print_op_get_settings), (gl_print_op_set_settings),
748 (gl_print_op_free_settings), (create_custom_widget_cb):
750 * src/ui-commands.c: (gl_ui_cmd_file_print):
751 * src/window.c: (gl_window_init):
753 Save print settings and custom settings between print operations
756 2007-03-24 Jim Evins <evins@snaught.com>
758 * src/object-editor-image-page.c:
759 (gl_object_editor_prepare_image_page),
760 (gl_object_editor_set_image), (img_selection_changed_cb):
761 Workaround for GtkFileChooserButton bug # 327243. This the root
762 cause for gLabels bug # 1192884. I have actually observed 3 delayed
763 "selection-changed" signals -- the first 2 return NULL -- this is
764 what caused the image to reset to the default followed by setting
765 it back to the original image, trying to fit it into a new bounding
766 box. This sequence of events is much more evident with the new
769 2007-03-23 Jim Evins <evins@snaught.com>
771 Merged all changes from experimental cairo branch to trunk.
772 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
774 2007-03-23 Jim Evins <evins@snaught.com>
776 * src/label-object.h:
777 * src/label-object.c: (gl_label_object_class_init),
778 (gl_label_object_get_raw_size), (gl_label_object_get_size):
779 Created "get_raw_size" method.
780 * src/label-barcode.c: (get_size):
781 * src/xml-label.c: (xml_create_object_text),
782 (xml_create_object_barcode):
783 Use new "get_raw_size" method on label-objects when apropos.
785 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
786 (auto_shrink_font_size):
787 Added "auto shrink" functionality back.
789 2007-03-19 Jim Evins <evins@snaught.com>
791 * src/label-text.c: (draw_object), (draw_shadow):
792 Don't use negative scales in workaround from previous commit.
795 2007-03-18 Jim Evins <evins@snaught.com>
798 Forgot to remove include of xml-lable-191 in previous commit.
799 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
800 Workaround for pango Bug #341481. Render text at device scale,
801 and scale font size accordingly. Also, don't do any hinting.
803 2007-03-18 Jim Evins <evins@snaught.com>
805 * src/cairo-ellipse-path.c:
806 * src/cairo-ellipse-path.h:
807 Forgot to add these new files during last mass commit.
809 2007-03-18 Jim Evins <evins@snaught.com>
812 * src/xml-label-191.c:
813 * src/xml-label-191.h:
814 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
815 so there is no need to keep compatability.
818 * src/cairo-label-path.c:
819 * src/cairo-label-path.h:
820 * src/cairo-markup-path.c:
824 * src/glabels-batch.c:
826 * src/label-barcode.c:
828 * src/label-ellipse.c:
831 * src/label-object.c:
832 * src/label-object.h:
836 * src/merge-properties-dialog.c:
838 * src/new-label-dialog.c:
839 * src/object-editor-bc-page.c:
840 * src/object-editor-data-page.c:
841 * src/object-editor-edit-page.c:
842 * src/object-editor-fill-page.c:
843 * src/object-editor-image-page.c:
844 * src/object-editor-line-page.c:
845 * src/object-editor-private.h:
846 * src/object-editor-shadow-page.c:
847 * src/object-editor-text-page.c:
848 * src/object-editor.c:
849 * src/pixbuf-cache.c:
854 * src/template-designer.c:
856 * src/ui-property-bar.c:
858 * src/view-barcode.c:
860 * src/view-ellipse.c:
867 * src/wdgt-media-select.c:
868 * src/wdgt-print-copies.c:
869 * src/wdgt-print-merge.c:
871 * src/xml-label-04.c:
873 Many changes, including:
874 - Move draw methods from view-*() to label-*().
875 - Use same drawing code for on screen view and printing.
876 - Fix all issues exposed with '-Wall -Werror'.
878 2007-03-14 Jim Evins <evins@snaught.com>
881 * src/cairo-handle-path.c:
882 * src/cairo-handle-path.h:
883 * src/cairo-object-path.c:
884 * src/cairo-object-path.h:
885 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
886 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
888 * src/view-box.c: (gl_view_box_class_init), (draw_object),
889 (draw_shadow), (object_at):
890 * src/view-ellipse.c: (gl_view_ellipse_class_init),
891 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
892 * src/view-image.c: (gl_view_image_class_init), (draw_object),
894 * src/view-line.c: (gl_view_line_class_init), (draw_object),
895 (draw_shadow), (object_at):
896 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
897 (create_handle_path), (gl_view_object_draw_handles),
898 (gl_view_object_handle_at):
900 * src/view-text.c: (gl_view_text_class_init), (draw_object),
901 (draw_shadow), (object_at):
902 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
903 Some restructuring of new code.
905 2007-03-12 Jim Evins <evins@snaught.com>
908 * src/cairo-object-path.c:
909 * src/view-barcode.c:
910 * src/view-barcode.h:
912 Added barcode object support to view.
914 2007-03-12 Jim Evins <evins@snaught.com>
920 * src/cairo-object-path.c:
921 * src/cairo-object-path.h:
923 * src/view-ellipse.c:
928 Added text object support to view. Added object_at method to all
931 2007-03-11 Jim Evins <evins@snaught.com>
934 * src/cairo-object-path.c: (gl_cairo_object_path),
935 (gl_cairo_image_object_path):
936 * src/view-image.c: (gl_view_image_class_init),
937 (gl_view_image_finalize), (gl_view_image_new),
938 (update_editor_from_label_cb), (draw),
939 (gl_view_image_get_create_cursor),
940 (gl_view_image_create_button_press_event),
941 (gl_view_image_create_motion_event),
942 (gl_view_image_create_button_release_event):
944 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
945 (selection_received_cb), (motion_notify_event_cb),
946 (button_press_event_cb), (button_release_event_cb):
947 Added image object support to view.
949 2007-03-11 Jim Evins <evins@snaught.com>
952 * src/cairo-object-path.c: (gl_cairo_object_path),
953 (gl_cairo_line_object_path):
954 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
955 (update_object_from_editor_cb), (update_editor_from_object_cb),
956 (update_editor_from_label_cb), (draw),
957 (gl_view_line_get_create_cursor),
958 (gl_view_line_create_button_press_event),
959 (gl_view_line_create_motion_event),
960 (gl_view_line_create_button_release_event):
962 * src/view-object.c: (gl_view_object_resize_event):
963 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
964 (selection_received_cb), (motion_notify_event_cb),
965 (button_press_event_cb), (button_release_event_cb):
966 Added line object support to view.
967 * src/cairo-handle-path.c:
968 Made handles slightly larger.
971 2007-03-11 Jim Evins <evins@snaught.com>
974 * src/cairo-handle-path.c:
975 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
976 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
977 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
978 (gl_cairo_markup_margin_round_path),
979 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
980 * src/cairo-object-path.c: (gl_cairo_object_path),
981 (gl_cairo_ellipse_object_path):
982 * src/label-object.c: (gl_label_object_rotate):
985 * src/view-ellipse.c: (gl_view_ellipse_class_init),
986 (gl_view_ellipse_new), (update_object_from_editor_cb),
987 (update_editor_from_object_cb), (update_editor_from_label_cb),
988 (draw), (gl_view_ellipse_get_create_cursor),
989 (gl_view_ellipse_create_button_press_event),
990 (gl_view_ellipse_create_motion_event),
991 (gl_view_ellipse_create_button_release_event):
992 * src/view-ellipse.h:
995 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
996 (select_object_real), (selection_received_cb),
997 (motion_notify_event_cb), (button_press_event_cb),
998 (button_release_event_cb):
1000 Added ellipse object support to view. Plus other cleanup.
1002 2007-03-11 Jim Evins <evins@snaught.com>
1005 * src/view-box.c: (gl_view_box_get_create_cursor),
1006 (gl_view_box_create_button_press_event),
1007 (gl_view_box_create_motion_event),
1008 (gl_view_box_create_button_release_event):
1009 * src/view-object.c: (gl_view_object_set_view),
1010 (gl_view_object_handle_at):
1012 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1013 (motion_notify_event_cb), (button_press_event_cb),
1014 (button_release_event_cb), (key_press_event_cb):
1015 Added creation code for box object.
1017 2007-03-09 Jim Evins <evins@snaught.com>
1019 * src/view-object.c: (gl_view_object_resize_event):
1020 * src/view-object.h:
1021 * src/view.c: (motion_notify_event_cb):
1022 Fix bugs with resizing transformed objects.
1023 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1024 * src/cairo-object-path.c: (gl_cairo_object_path):
1025 * src/cairo-object-path.h:
1026 * src/label-object.c: (gl_label_object_init),
1027 (gl_label_object_dup), (gl_label_object_get_extent),
1028 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1029 (gl_label_object_rotate), (gl_label_object_set_matrix),
1030 (gl_label_object_get_matrix):
1031 * src/label-object.h:
1032 * src/print.c: (draw_object):
1034 * src/view-highlight.c:
1035 * src/view-highlight.h:
1036 * src/xml-label-191.c: (xml191_parse_object):
1037 * src/xml-label.c: (xml_parse_affine_attrs),
1038 (xml_create_affine_attrs):
1039 Replace libart affine matrices with cairo matrices.
1041 2007-03-08 Jim Evins <evins@snaught.com>
1043 * src/view-object.h:
1044 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1045 * src/view-object.c: (gl_view_object_handle_at),
1046 (gl_view_object_resize_event):
1047 Added resize code -- still a bit buggy.
1049 2007-03-07 Jim Evins <evins@snaught.com>
1052 * src/cairo-handle-path.c:
1053 * src/cairo-handle-path.h:
1054 * src/view-box.c: (gl_view_box_new):
1055 * src/view-object.c: (gl_view_object_set_object),
1056 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1057 * src/view-object.h:
1058 * src/view.c: (draw_highlight_layer), (select_object_real),
1059 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1060 (button_press_event_cb), (button_release_event_cb),
1061 (key_press_event_cb):
1063 Added beginnings of object resize handles.
1065 2007-03-07 Jim Evins <evins@snaught.com>
1068 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1069 (gl_view_object_create_mode), (motion_notify_event_cb),
1070 (button_press_event_cb), (button_release_event_cb),
1071 (key_press_event_cb):
1072 Added move selection support.
1074 2007-03-05 Jim Evins <evins@snaught.com>
1076 * src/cairo-object-path.c: (gl_cairo_object_path):
1077 * src/view-object.c: (gl_view_object_draw),
1078 (gl_view_object_draw_highlight):
1079 * src/view.c: (view_object_at), (motion_notify_event_cb),
1080 (button_press_event_cb), (button_release_event_cb):
1081 Additional refinements to select logic.
1083 2007-03-05 Jim Evins <evins@snaught.com>
1086 * src/view.c: (gl_view_init), (gl_view_construct),
1087 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1088 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1089 (button_press_event_cb), (button_release_event_cb):
1090 Added initial select region support and context menu.
1092 2007-03-04 Jim Evins <evins@snaught.com>
1103 * src/ui-commands.c:
1106 * src/view-object.c:
1107 * src/view-object.h:
1110 * src/wdgt-print-copies.c:
1111 * src/wdgt-print-merge.c:
1113 Initial port to a raw Cairo canvas. This removes all remaining
1114 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1115 the view is becoming a canvas widget in its own right. Still needs
1117 * src/cairo-label-path.c:
1118 * src/cairo-label-path.h:
1119 * src/cairo-markup-path.c:
1120 * src/cairo-markup-path.h:
1121 * src/cairo-object-path.c:
1122 * src/cairo-object-path.h:
1123 New files to support cairo canvas.
1124 * src/canvas-hacktext.c:
1125 * src/canvas-hacktext.h:
1128 2007-02-18 Jim Evins <evins@snaught.com>
1131 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1133 2007-02-14 Jim Evins <evins@snaught.com>
1137 * src/bc-gnubarcode.c:
1138 * src/bc-gnubarcode.h:
1143 * src/canvas-hacktext.c:
1144 * src/canvas-hacktext.h:
1151 * src/label-barcode.c:
1152 * src/label-barcode.h:
1155 * src/label-ellipse.c:
1156 * src/label-ellipse.h:
1157 * src/label-image.c:
1158 * src/label-image.h:
1161 * src/label-object.c:
1162 * src/label-object.h:
1167 * src/merge-evolution.c:
1168 * src/merge-evolution.h:
1171 * src/merge-properties-dialog.c:
1172 * src/merge-properties-dialog.h:
1175 * src/merge-vcard.c:
1176 * src/merge-vcard.h:
1179 * src/mini-preview-pixbuf.h:
1180 * src/new-label-dialog.c:
1181 * src/new-label-dialog.h:
1182 * src/object-editor-bc-page.c:
1183 * src/object-editor-data-page.c:
1184 * src/object-editor-edit-page.c:
1185 * src/object-editor-fill-page.c:
1186 * src/object-editor-image-page.c:
1187 * src/object-editor-line-page.c:
1188 * src/object-editor-lsize-page.c:
1189 * src/object-editor-position-page.c:
1190 * src/object-editor-private.h:
1191 * src/object-editor-size-page.c:
1192 * src/object-editor-text-page.c:
1193 * src/object-editor.c:
1194 * src/object-editor.h:
1195 * src/pixbuf-cache.c:
1196 * src/pixbuf-cache.h:
1197 * src/prefs-dialog.c:
1198 * src/prefs-dialog.h:
1199 * src/prefs-model.c:
1200 * src/prefs-model.h:
1206 * src/template-designer.c:
1209 * src/ui-commands.c:
1210 * src/ui-commands.h:
1211 * src/ui-property-bar.c:
1212 * src/ui-property-bar.h:
1221 * src/view-barcode.c:
1222 * src/view-barcode.h:
1225 * src/view-ellipse.c:
1226 * src/view-ellipse.h:
1227 * src/view-highlight.c:
1228 * src/view-highlight.h:
1233 * src/view-object.c:
1234 * src/view-object.h:
1239 * src/wdgt-chain-button.c:
1240 * src/wdgt-chain-button.h:
1241 * src/wdgt-media-select.c:
1242 * src/wdgt-mini-preview.c:
1243 * src/wdgt-print-copies.c:
1244 * src/wdgt-print-copies.h:
1245 * src/wdgt-print-merge.c:
1246 * src/wdgt-print-merge.h:
1247 * src/wdgt-rotate-label.c:
1249 * src/xml-label-04.c:
1250 * src/xml-label-04.h:
1251 * src/xml-label-191.c:
1252 * src/xml-label-191.h:
1256 Assorted superficial cleanup. Including:
1257 - Use G_DEFINE_TYPE for all objects.
1258 - Reconcile style of all class initializer functions
1259 - Reconcile style of all finalize functions
1260 - Add emacs mode line to all source files
1262 2007-02-06 Jim Evins <evins@snaught.com>
1264 Assorted cleanup and removal of deprecated items.
1269 Removed annoying splash screen.
1270 * src/glabels-batch.c: (main):
1271 * src/glabels.c: (main):
1272 Converted from popt to GOption.
1273 * src/object-editor-shadow-page.c:
1274 (gl_object_editor_set_shadow_state):
1275 Removed deprecated method on GtkToggleButton.
1276 * src/ui-commands.c: (gl_ui_cmd_help_about):
1277 Removed dependency on libgnomui/qnome-url.h.
1278 * src/template-designer.c:
1279 Removed dependency on libgnome/gnome-program.h.
1282 2007-02-04 Jim Evins <evins@snaught.com>
1286 * src/prefs-model.c:
1287 * src/print.c: (draw_text_object):
1288 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1289 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1291 2007-02-04 Jim Evins <evins@snaught.com>
1293 * src/wdgt-mini-preview.c:
1294 * src/wdgt-mini-preview.h:
1295 Ported widget from GnomeCanvas to Cairo.
1297 2007-02-03 Jim Evins <evins@snaught.com>
1299 * data/glade/template-designer.glade:
1300 * src/template-designer.c:
1301 * src/template-designer.h:
1302 Ported GnomeDruid to GtkAssistant. Since libglade does not
1303 yet support the GtkAssistant and we derive directly from
1304 the Assistant, the pages are layed out in a GtkNotebook in
1305 the glade description -- we then append each page to the
1308 2007-01-25 Jim Evins <evins@snaught.com>
1310 * data/glade/object-editor.glade:
1311 Added dummy page to notebook, to prevent shadow page from
1312 becoming the default current page at creation.
1313 * src/view-box.c: (construct_properties_editor):
1314 * src/view-ellipse.c: (construct_properties_editor):
1315 * src/view-line.c: (construct_properties_editor):
1316 * src/view-text.c: (construct_properties_editor):
1317 Reconciled order of params.
1319 2007-01-19 Jim Evins <evins@snaught.com>
1321 * src/label-barcode.h:
1322 * src/label-object.c: (gl_label_object_set_font_weight),
1323 (gl_label_object_set_text_alignment),
1324 (gl_label_object_get_font_weight),
1325 (gl_label_object_get_text_alignment):
1326 * src/label-object.h:
1327 * src/label-text.c: (gl_label_text_instance_init), (copy),
1328 (get_size), (set_font_family), (set_font_weight),
1329 (set_text_alignment), (get_font_weight), (get_text_alignment):
1331 * src/object-editor-text-page.c:
1332 (gl_object_editor_prepare_text_page),
1333 (gl_object_editor_set_font_family),
1334 (gl_object_editor_set_font_weight),
1335 (gl_object_editor_get_font_weight),
1336 (gl_object_editor_set_text_alignment),
1337 (gl_object_editor_get_text_alignment),
1338 (gl_object_editor_set_text_color):
1339 * src/object-editor.h:
1340 * src/prefs-dialog.c: (construct_object_page),
1341 (update_object_page_from_prefs), (update_prefs_from_object_page):
1342 * src/prefs-model.c: (gl_prefs_model_save_settings),
1343 (gl_prefs_model_load_settings):
1344 * src/prefs-model.h:
1345 * src/print.c: (draw_text_object):
1346 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1347 (reset_to_default_properties), (update_text_properties),
1348 (font_bold_toggled_cb), (text_align_toggled_cb):
1350 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1351 (gl_util_weight_to_string), (gl_util_string_to_weight),
1352 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1354 * src/view-text.c: (update_object_from_editor_cb),
1355 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1356 * src/view.c: (gl_view_set_selection_text_alignment),
1357 (gl_view_set_default_text_alignment),
1358 (gl_view_get_default_text_alignment):
1360 * src/xml-label-04.c: (xml04_parse_text_props):
1361 * src/xml-label-191.c: (xml191_parse_text_props):
1362 * src/xml-label.c: (xml_parse_object_text),
1363 (xml_parse_toplevel_span), (xml_create_object_text),
1364 (xml_create_toplevel_span):
1365 Converted all model internals to Pango. GnomeFont remains in
1366 view until GnomeCanvas can be replaced with a cairo-based canvas.
1368 2007-01-17 Jim Evins <evins@snaught.com>
1374 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1375 (gl_wdgt_print_copies_construct):
1376 * src/wdgt-print-copies.h:
1377 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1378 (gl_wdgt_print_merge_construct):
1379 * src/wdgt-print-merge.h:
1380 Removed all remaining HIG wrapper widgets.
1382 2007-01-16 Jim Evins <evins@snaught.com>
1385 * src/print-dialog.c:
1386 * src/print-dialog.h:
1389 * src/template-designer.c: (print_test_cb):
1390 * src/ui-commands.c: (gl_ui_cmd_file_print):
1392 Renamed PrintDialog to PrintOp. Added constructor for batch
1394 * src/glabels-batch.c: (main):
1395 Converted to use new PrintOp object for printing.
1397 2007-01-15 Jim Evins <evins@snaught.com>
1399 * data/glade/Makefile.am:
1400 * data/glade/print-custom-widget.glade:
1401 * src/print-dialog.c:
1402 * src/print-dialog.h:
1405 * src/template-designer.c: (print_test_cb):
1406 * src/ui-commands.c: (gl_ui_cmd_file_print):
1407 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1408 * src/wdgt-print-merge.h:
1409 * src/window.c: (gl_window_init):
1411 Initial conversion to GtkPrintOperation.
1413 - Remove font and other libgnomeprint[ui] from elsewhere
1414 - Add batch initialization of print operation
1416 2007-01-08 Jim Evins <evins@snaught.com>
1418 Updated dependencies. Set version to 2.1.pre4cvs.
1420 2007-01-03 Jim Evins <evins@snaught.com>
1422 * src/recent-files/*
1423 Removed EggRecent stuff.
1429 * src/ui-commands.c:
1430 * src/ui-commands.h:
1432 Ported from EggRecent to GtkRecentManager.
1435 2007-01-02 Jim Evins <evins@snaught.com>
1438 * iec16022-0.2.1/BUGS:
1439 * iec16022-0.2.1/CHANGELOG:
1440 * iec16022-0.2.1/CREDITS:
1441 * iec16022-0.2.1/INSTALL:
1442 * iec16022-0.2.1/LICENSE:
1443 * iec16022-0.2.1/Makefile.am:
1444 * iec16022-0.2.1/Makefile.dist:
1445 * iec16022-0.2.1/README:
1446 * iec16022-0.2.1/README.glabels:
1447 * iec16022-0.2.1/TODO:
1448 * iec16022-0.2.1/iec16022.1:
1449 * iec16022-0.2.1/iec16022.c:
1450 * iec16022-0.2.1/iec16022ecc200.c:
1451 * iec16022-0.2.1/iec16022ecc200.h:
1452 * iec16022-0.2.1/image.c:
1453 * iec16022-0.2.1/image.h:
1454 * iec16022-0.2.1/reedsol.c:
1455 * iec16022-0.2.1/reedsol.h:
1456 * iec16022-0.2.1/test/testsuite-example.bin:
1457 * iec16022-0.2.1/test/testsuite-example.eps:
1458 * iec16022-0.2.1/test/testsuite-example.hex:
1459 * iec16022-0.2.1/test/testsuite-example.png:
1460 * iec16022-0.2.1/test/testsuite-example.text:
1461 * iec16022-0.2.1/test/testsuite.sh:
1462 Include modified copy of iec16022-0.2.1 to provide encoding
1463 support for datamatrix 2D barcodes.
1465 * src/bc-iec16022.c:
1466 * src/bc-iec16022.h:
1468 Added initial datamatrix 2D barcode backend to barcode code.
1471 Automatic updates to later versions of these files.
1473 2006-11-28 Jim Evins <evins@snaught.com>
1475 * data/templates/avery-iso-templates.xml:
1476 * data/templates/avery-us-templates.xml:
1477 * data/templates/categories.xml:
1478 * data/templates/misc-iso-templates.xml:
1479 * data/templates/misc-us-templates.xml:
1480 * data/templates/zweckform-iso-templates.xml:
1481 More categorization.
1483 2006-09-12 Jim Evins <evins@snaught.com>
1485 * data/dtd/glabels-2.0.dtd:
1486 * data/templates/Makefile.am:
1487 * data/templates/avery-iso-templates.xml:
1488 * data/templates/avery-other-templates.xml:
1489 * data/templates/avery-us-templates.xml:
1490 * data/templates/categories.xml:
1491 * data/templates/misc-iso-templates.xml:
1492 * data/templates/misc-other-templates.xml:
1493 * data/templates/zweckform-iso-templates.xml:
1494 * data/glade/Makefile.am:
1495 * data/glade/new-label-dialog.glade:
1496 * data/glade/wdgt-media-select.glade:
1497 * data/glade/wdgt-rotate-label.glade:
1498 * libglabels/Makefile.am:
1499 * libglabels/category.c:
1500 * libglabels/category.h:
1501 * libglabels/libglabels.h:
1502 * libglabels/paper.c:
1503 * libglabels/template.c:
1504 * libglabels/template.h:
1505 * libglabels/xml-category.c:
1506 * libglabels/xml-category.h:
1507 * libglabels/xml-template.c:
1508 Added support for category meta data.
1511 * src/mini-preview-pixbuf.c:
1512 * src/mini-preview-pixbuf.h:
1513 * src/new-label-dialog.c:
1514 * src/new-label-dialog.h:
1515 * src/wdgt-media-select.c:
1516 * src/wdgt-media-select.h:
1517 * src/wdgt-rotate-label.c:
1518 * src/wdgt-rotate-label.h:
1519 New "new label" dialog.
1521 2006-05-27 Jim Evins <evins@snaught.com>
1526 Preparation for 2.1.3.
1532 2006-05-22 Jim Evins <evins@snaught.com>
1534 * src/print.c: (draw_barcode_object):
1535 Don't print "Invalid barcode data" if data field is empty. Patch provided
1536 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1538 Added acknowledgment for above patch.
1539 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1540 * src/bc-postnet.c: (postnet_code):
1541 Removed "Invalid barcode data" warnings from stderr.
1542 * src/view-barcode.c: (draw_barcode):
1543 Draw box around barcode extent if data empty or invalid. Center a
1544 message whether the data is empty or invalid in box.
1546 2006-05-22 Jim Evins <evins@snaught.com>
1548 * src/print.c: (draw_text_object):
1549 Check shadow state when printing text.
1551 2006-05-20 Jim Evins <evins@snaught.com>
1553 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1554 (gl_ui_cmd_view_markup_toggle):
1555 Fixed crash when grid or markup have been toggled off during
1556 a previous session. Bug #1434324.
1558 2006-04-05 Jim Evins <evins@snaught.com>
1560 * src/object-editor.c: (gl_object_editor_set_key_names):
1561 Fixed potential crash when freeing empty key list.
1563 2006-03-11 Jim Evins <evins@snaught.com>
1565 * src/print.c: (draw_text_object):
1566 * src/view-text.c: (gl_view_text_new),
1567 (construct_properties_editor), (update_object_from_editor_cb),
1568 (update_editor_from_object_cb), (update_editor_from_label_cb),
1570 Added shadow support to text object.
1572 2006-02-18 Jim Evins <evins@snaught.com>
1574 * src/print.c: (draw_line_object):
1575 * src/view-line.c: (gl_view_line_new),
1576 (construct_properties_editor), (update_canvas_item_from_object_cb),
1577 (update_object_from_editor_cb), (update_editor_from_object_cb),
1578 (update_editor_from_label_cb):
1579 Added shadow support to line object.
1581 2006-02-16 Jim Evins <evins@snaught.com>
1585 * src/print.c: (draw_ellipse_object):
1586 * src/view-ellipse.c: (gl_view_ellipse_new),
1587 (construct_properties_editor), (update_canvas_item_from_object_cb),
1588 (update_object_from_editor_cb), (update_editor_from_object_cb),
1589 (update_editor_from_label_cb):
1590 Added shadow support to ellipse object.
1592 2006-02-15 Jim Evins <evins@snaught.com>
1594 * src/label-object.c:
1595 Changed default shadow offsets.
1596 * src/view-box.c: (gl_view_box_new):
1597 Simplified gl_view_box_new() so that is does not duplicate code
1598 in update_canvas_item_from_object_cb().
1600 2006-02-07 Jim Evins <evins@snaught.com>
1602 * data/glade/object-editor.glade:
1603 Fixed color groups of color combos.
1605 Added default shadow color.
1606 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1607 Added shadow color group.
1609 2006-02-06 Jim Evins <evins@snaught.com>
1611 * src/object-editor-shadow-page.c:
1612 Forgot to add this file.
1613 * src/view-box.c: (gl_view_box_new),
1614 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1615 Update limits on shadow offset spinbuttons.
1617 2006-01-19 Jim Evins <evins@snaught.com>
1619 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1620 Initialize key_list to NULL.
1621 * data/glade/object-editor.glade:
1625 * src/label-object.c:
1626 * src/label-object.h:
1627 * src/object-editor-fill-page.c:
1628 * src/object-editor-private.h:
1629 * src/object-editor.c:
1630 * src/object-editor.h:
1632 Created infrastructure for shadow support.
1635 Initial shadow support in box object only.
1637 2006-01-05 Jim Evins <evins@snaught.com>
1639 * src/merge-properties-dialog.c: (src_changed_cb):
1640 Be extra paranoid before calling strcmp().
1641 * src/merge.c: (gl_merge_set_src):
1642 Don't make (merge == NULL) a critical error.
1644 2005-12-22 Jim Evins <evins@snaught.com>
1646 * src/glabels-batch.c: (main):
1647 Compile warning free with gcc 4.0.
1649 2005-12-21 Jim Evins <evins@snaught.com>
1652 Updated example RPM spec file.
1654 2005-12-21 Jim Evins <evins@snaught.com>
1658 Preparation for 2.1.2.
1660 2005-12-20 Jim Evins <evins@snaught.com>
1663 Define unique G_LOG_DOMAIN for glabels.
1664 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1665 * src/warning-handler.c: (gl_warning_handler_init),
1667 Register for G_LOG_DOMAIN instead of NULL.
1669 2005-12-10 Jim Evins <evins@snaught.com>
1671 * src/merge-evolution.c:
1672 * src/merge-vcard.c:
1675 2005-12-08 Jim Evins <evins@snaught.com>
1677 * libglabels/paper.c: (read_paper_files_from_dir):
1678 * libglabels/template.c: (gl_template_register),
1679 (read_template_files_from_dir):
1680 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1681 (gl_xml_paper_parse_papers_doc):
1682 * libglabels/xml-template.c:
1683 (gl_xml_template_read_templates_from_file),
1684 (gl_xml_template_parse_templates_doc),
1685 (gl_xml_template_parse_template_node),
1686 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1687 (xml_parse_label_cd_node), (xml_parse_layout_node),
1688 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1689 (xml_parse_markup_circle_node),
1690 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1691 * libglabels/xml.c: (gl_xml_get_prop_length):
1692 Re-classified g_warnings to g_messages.
1694 * src/glabels.c: (main):
1695 * src/warning-handler.c: (gl_warning_handler_init),
1697 * src/warning-handler.h:
1698 Added warning message handler to make sure the user is
1699 presented with appropriate non-fatal errors.
1700 * src/critical-error-handler.c: (critical_error_handler):
1701 Changed exit to abort.
1702 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1703 * src/bc-postnet.c: (postnet_code):
1704 * src/bc.c: (id_to_index), (name_to_index):
1705 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1706 * src/object-editor.c: (gl_object_notebook_construct_valist):
1707 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1708 * src/prefs.c: (gl_prefs_get_units_per_point),
1709 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1710 (gl_prefs_get_units_string):
1711 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1712 * src/splash.c: (gl_splash):
1713 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1714 * src/view-highlight.c: (gl_view_highlight_new),
1715 (highlight_resizable_box_construct), (object_changed_cb),
1716 (view_scale_changed_cb):
1717 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1718 (draw_markup_layer), (draw_markup_margin),
1719 (gl_view_object_create_mode), (canvas_event),
1720 (selection_received_cb):
1721 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1722 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1723 * src/xml-label-04.c: (gl_xml_label_04_parse),
1724 (xml04_parse_media_description), (xml04_parse_text_props),
1725 (xml04_parse_barcode_props):
1726 * src/xml-label-191.c: (gl_xml_label_191_parse),
1727 (xml191_parse_objects), (xml191_parse_object),
1728 (xml191_parse_text_props), (xml191_parse_image_props),
1729 (xml191_parse_barcode_props), (xml191_parse_data),
1730 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1731 (xml191_parse_markup):
1732 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1733 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1734 (xml_parse_object_text), (xml_parse_object_image),
1735 (xml_parse_object_barcode), (xml_parse_data),
1736 (xml_parse_toplevel_span), (gl_xml_label_save),
1737 (xml_create_objects):
1738 Re-classified g_warnings to g_messages.
1739 * src/merge-evolution.c: (gl_merge_evolution_open),
1740 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1741 Use g_warning to output errors encountered while
1742 communicating with the evolution data server
1743 instead of embedding them in the data.
1745 2005-12-08 Jim Evins <evins@snaught.com>
1747 * libglabels/libglabels-private.h:
1749 * libglabels/paper.c: (read_papers):
1750 * libglabels/template.c: (read_templates):
1751 Made appropriate warnings critical.
1753 * src/critical-error-handler.h:
1754 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1755 (critical_error_handler):
1756 Created critical error handler.
1757 * src/glabels.c: (main):
1758 Register critical error handler.
1759 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1760 * src/object-editor.c: (gl_object_editor_init):
1761 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1762 * src/template-designer.c: (gl_template_designer_init):
1763 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1764 Made appropriate warnings critical.
1766 2005-11-27 Jim Evins <evins@snaught.com>
1768 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1769 (gl_merge_evolution_get_primary_key),
1770 (gl_merge_evolution_get_record):
1771 Don't create "record_key" pseudo-key. Don't populate
1772 fields with null data.
1774 2005-11-25 Jim Evins <evins@snaught.com>
1776 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1777 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1778 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1780 Query EDS for all supported fields. Patch provided by
1781 Austin Henry <ahenry@users.sourceforge.net>.
1783 2005-10-29 Jim Evins <evins@snaught.com>
1785 * src/glabels.c: (main):
1786 * src/label-barcode.c: (gl_label_barcode_finalize):
1787 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1788 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1789 * src/object-editor.c: (gl_object_editor_finalize):
1790 Another pass at valgrinding -- plugged several memory leaks.
1791 * src/view-text.c: (gl_view_text_new),
1792 (update_canvas_item_from_object_cb), (draw_hacktext):
1793 Commented out artifacts of edit-in-place code.
1795 2005-10-28 Jim Evins <evins@snaught.com>
1797 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1798 Fixed use of uninitialized variable. Caught by
1799 d binderman <dcb314@hotmail.com>.
1801 2005-10-27 Jim Evins <evins@snaught.com>
1803 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1804 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1806 Additional cleanup of EDS and vcard backends. Provided by
1807 Austin Henry <ahenry@users.sourceforge.net>.
1809 2005-10-24 Jim Evins <evins@snaught.com>
1813 * src/merge-evolution.c:
1814 * src/merge-evolution.h:
1815 * src/merge-init.c: (gl_merge_init):
1816 * src/merge-properties-dialog.c: (type_changed_cb):
1817 * src/merge-vcard.c:
1818 * src/merge-vcard.h:
1819 * src/ui-commands.c: (gl_ui_cmd_help_about):
1820 Added Evolution Data Server and VCard merge backends. Original patch
1821 provided by Austin Henry <ahenry@users.sourceforge.net>.
1823 Only support EDS and VCard backends if libebook is installed. Allow
1824 user to disable support, even if installed.
1826 2005-10-24 Jim Evins <evins@snaught.com>
1829 * data/templates/avery-iso-templates.xml:
1830 * data/templates/avery-us-templates.xml:
1831 * data/templates/misc-iso-templates.xml:
1832 * data/templates/zweckform-iso-templates.xml:
1833 Collected all template changes and submissions since last
1836 2005-10-23 Jim Evins <evins@snaught.com>
1839 * data/mime/Makefile.am:
1840 Added configure options to disable update-mime-database and
1841 update-desktop-database as part of the install. Patch
1842 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1844 2005-10-23 Jim Evins <evins@snaught.com>
1847 * libglabels/xml.c: (gl_xml_get_prop_string),
1848 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1849 (gl_xml_is_node), (gl_xml_get_node_content):
1850 Added new XML utility functions.
1851 * libglabels/xml-paper.c:
1852 * libglabels/xml-template.c:
1854 Cleanup by using new xml utilities created above.
1855 * libglabels/paper.c: (gl_paper_free):
1856 * src/file.c: (new_response):
1857 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1858 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1859 (gl_pixbuf_cache_get_pixbuf):
1860 * src/ui-property-bar.c:
1861 (gl_ui_property_bar_construct_color_combo):
1862 * src/view-highlight.c: (gl_view_highlight_finalize):
1863 * src/view-image.c: (update_object_from_editor_cb):
1864 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1865 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1866 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1867 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1868 (draw_markup_margin_round), (draw_markup_margin_cd),
1869 (draw_markup_margin_cd_bc):
1870 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1871 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1872 Plugged various memory leaks located with valgrind.
1873 * src/view-image.c: (update_canvas_item_from_object_cb):
1874 Don't allow a width or height of zero when drawing pixbuf.
1876 2005-10-22 Jim Evins <evins@snaught.com>
1878 * libglabels/xml-paper.c:
1879 * libglabels/xml-template.c:
1882 * src/bc-gnubarcode.c:
1883 * src/canvas-hacktext.c:
1885 * src/object-editor-data-page.c:
1886 * src/print-dialog.c:
1889 * src/template-designer.c:
1891 * src/ui-property-bar.c:
1893 * src/view-barcode.c:
1895 * src/view-ellipse.c:
1900 * src/wdgt-media-select.c:
1901 * src/xml-label-04.c:
1902 * src/xml-label-191.c:
1904 Modified to compile warning free with gcc-4.0. Mostly
1905 casting to change signedness of characters. Did not
1906 attack gnu-barcode library yet.
1908 2005-10-22 Jim Evins <evins@snaught.com>
1910 * src/glabels.c: (main):
1911 * src/splash.c: (gl_splash):
1912 Removed some small memory leaks.
1916 2005-09-19 Jim Evins <evins@snaught.com>
1918 * data/glade/property-bar.glade:
1919 Remove items from font_family_combo. This prevents the
1920 double entry after adding text model and list of fonts.
1921 * src/ui-property-bar.c: (reset_to_default_properties):
1922 Free font_family_list.
1924 2005-07-01 Jim Evins <evins@snaught.com>
1927 Updated italian translation (Daniele Medri)
1929 2005-06-26 Jim Evins <evins@snaught.com>
1931 * docs/libglabels/libglabels-decl-list.txt:
1932 Somehow never got checked in before.
1933 * docs/libglabels/libglabels.types:
1934 Removed -- don't need it afterall.
1936 2005-06-20 Jim Evins <evins@snaught.com>
1939 Final prep for 2.1.1 release.
1941 2005-06-20 Jim Evins <evins@snaught.com>
1944 Final preps for 2.1.1 release.
1945 * docs/libglabels/libglabels.types:
1946 Somehow never got checked in before.
1948 Bring up-to-date with recent reorg of ui code.
1951 2005-06-19 Jim Evins <evins@snaught.com>
1953 * src/template-designer.c: (construct_layout_page):
1954 Removed attempt to match background color of mini preview widget to
1957 2005-06-17 Jim Evins <evins@snaught.com>
1959 * help/C/figures/merge-ex2-4.png:
1960 * help/C/glabels.xml:
1961 Fixed spelling error.
1963 2005-06-13 Jim Evins <evins@snaught.com>
1965 * help/C/figures/merge-ex1-1.png:
1966 * help/C/figures/merge-ex1-2.png:
1967 * help/C/figures/merge-ex1-3.png:
1968 * help/C/figures/merge-ex1-4.png:
1969 * help/C/figures/merge-ex2-1.png:
1970 * help/C/figures/merge-ex2-2.png:
1971 * help/C/figures/merge-ex2-3.png:
1972 * help/C/figures/merge-ex2-4.png:
1973 Added figures for document merge tutorial.
1974 * help/C/glabels.xml:
1975 Added document merge tutorial.
1977 2005-05-19 Jim Evins <evins@snaught.com>
1979 * data/glade/merge-properties-dialog.glade:
1980 Fixed irregular spacing.
1981 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1982 (gl_merge_properties_dialog_construct):
1983 Set outer padding and remove separator.
1985 2005-05-18 Jim Evins <evins@snaught.com>
1989 Removed glHigDialog class.
1990 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1991 (gl_file_properties), (create_properties_dialog_widgets):
1992 * src/prefs-dialog.h:
1993 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1994 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1995 * src/print-dialog.h:
1996 * src/prefs-dialog.h:
1997 * src/print-dialog.c: (gl_print_dialog_get_type),
1998 (gl_print_dialog_init), (gl_print_dialog_construct):
1999 Replaced all instances of glHigDialog with GtkDialog.
2001 2005-05-17 Jim Evins <evins@snaught.com>
2005 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2006 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2007 (save_as_response), (gl_file_close):
2008 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2010 2005-05-15 Jim Evins <evins@snaught.com>
2012 * src/ui-commands.h:
2020 A little code reformatting -- no functional changes.
2022 2005-05-14 Jim Evins <evins@snaught.com>
2025 Removed obsolete macros.
2027 Added marshalling template to support new view signal: "context_menu_activate."
2029 * src/view.c: (gl_view_class_init), (gl_view_construct),
2030 (canvas_event_arrow_mode):
2031 - Removed hardcoded context menus and added new signal "context_menu_activate"
2032 to push this up to the uimanager.
2033 - Removed merge properties and print dialogs so that they can be managed with
2034 the window by the uimanager.
2035 * src/merge-properties-dialog.h:
2036 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2037 (gl_merge_properties_dialog_construct):
2038 Changed calling convention of gl_merge_properties_dialog_new() to use
2039 glLabel and GtkWindow instead of view to make more consistent with other
2041 * src/print-dialog.h:
2042 * src/print-dialog.c: (gl_print_dialog_new),
2043 (gl_print_dialog_construct):
2044 Removed last artifact of libbonoboui.
2045 * src/ui-commands.c: (gl_ui_cmd_file_print),
2046 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2047 Reconciled style for launching dialogs.
2048 * src/ui.c: (gl_ui_new):
2049 Added context menus to ui manager.
2050 * src/view-object.c: (item_event_arrow_mode):
2051 No longer try to select objects with right-click.
2053 * src/window.c: (gl_window_init), (gl_window_set_label),
2054 (context_menu_activate_cb):
2055 Context menus and all dialogs are now managed in a consistent way in window
2058 2005-05-11 Jim Evins <evins@snaught.com>
2061 * src/window.c: (gl_window_init), (gl_window_destroy):
2062 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2063 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2064 Moved management of recent_view back from window.c to ui.c -- it just feels
2067 2005-05-10 Jim Evins <evins@snaught.com>
2070 * src/window.c: (gl_window_init):
2072 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2073 (menu_item_select_cb), (menu_item_deselect_cb):
2074 Added GtkStatusbar which displays menu tooltips.
2076 2005-05-09 Jim Evins <evins@snaught.com>
2078 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2083 Removed dependencies on libbonoboui.
2085 * data/ui/Makefile.am:
2086 * data/ui/glabels-ui.xml:
2087 Removed data/ui directory.
2088 * data/glade/Makefile.am:
2089 * data/property-bar.glade:
2090 Added glade description of property-bar for new libglade implementation
2097 * src/ui-commands.h:
2098 * src/ui-commands.c:
2099 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2100 since the distinction between "commands" and "tools" is no longer that clear.
2103 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2104 no longer has knowledge of eggRecent*.
2105 * src/glabels.c: (main):
2106 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2108 * src/object-editor.c: (gl_object_editor_init):
2109 Make sure notebook does not respond to a "show_all" on the parent.
2110 * src/recent-files/Makefile.am:
2111 * src/recent-files/*.[ch]
2112 Updated from latest version of libegg which now has a view based on
2113 GtkUIManager. Removed unused bonobo and gtk views.
2114 * src/ui-property-bar.h:
2115 * src/ui-property-bar.c:
2116 New implementation based on libglade.
2119 Sidebar is now simply a GtkWidget and does not expect to be a part of
2120 a libbonoboui interface.
2125 Converted for use with GtkUIManager.
2128 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2129 to create menus and toolbars.
2131 2005-04-25 Jim Evins <evins@snaught.com>
2133 * data/templates/misc-iso-templates.xml:
2134 Added Fellows 04715 template provided by Steve Saxon.
2136 Updated acknowledgement for above.
2138 2005-04-23 Jim Evins <evins@snaught.com>
2140 * src/util.c: (gl_util_combo_box_set_strings):
2141 Make sure to clear model before loading a new list of strings.
2142 * src/wdgt-media-select.h:
2143 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2144 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2145 (template_combo_changed_cb), (prefs_changed_cb),
2146 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2147 (gl_wdgt_media_select_get_page_size),
2148 (gl_wdgt_media_select_set_page_size):
2149 Replaced the deprecated GtkCombo widget with the new
2152 2005-04-21 Jim Evins <evins@snaught.com>
2154 * data/glade/template-designer.glade:
2155 * src/template-designer.c: (construct_pg_size_page),
2156 (pg_size_page_changed_cb), (build_template):
2157 Replaced the deprecated GtkCombo widget with the new
2160 2005-04-20 Jim Evins <evins@snaught.com>
2162 * data/glade/prefs-dialog.glade:
2163 * src/prefs-dialog.c: (construct_object_page),
2164 (update_object_page_from_prefs), (update_prefs_from_object_page):
2165 Replaced the deprecated GtkCombo widget with the new
2168 2005-04-19 Jim Evins <evins@snaught.com>
2170 * data/glade/object-editor.glade:
2171 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2172 (style_changed_cb), (gl_object_editor_set_bc_style),
2173 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2174 (gl_object_editor_get_bc_color):
2175 * src/object-editor-data-page.c:
2176 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2177 (gl_object_editor_get_data):
2178 * src/object-editor-edit-page.c:
2179 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2180 * src/object-editor-fill-page.c:
2181 (gl_object_editor_prepare_fill_page),
2182 (gl_object_editor_set_fill_color),
2183 (gl_object_editor_get_fill_color):
2184 * src/object-editor-image-page.c:
2185 (gl_object_editor_prepare_image_page),
2186 (gl_object_editor_set_image), (gl_object_editor_get_image):
2187 * src/object-editor-line-page.c:
2188 (gl_object_editor_prepare_line_page),
2189 (gl_object_editor_set_line_color),
2190 (gl_object_editor_get_line_color):
2191 * src/object-editor-private.h:
2192 * src/object-editor-text-page.c:
2193 (gl_object_editor_prepare_text_page),
2194 (gl_object_editor_set_font_family),
2195 (gl_object_editor_get_font_family),
2196 (gl_object_editor_set_text_color),
2197 (gl_object_editor_get_text_color):
2198 * src/object-editor.c: (gl_object_editor_set_key_names):
2200 In the object editor: replaced all instances of the deprecated
2201 GtkCombo widget with the new GtkComboBox.
2203 2005-04-18 Jim Evins <evins@snaught.com>
2206 Neglected to save this one in previous checkin to support
2209 2005-04-17 Jim Evins <evins@snaught.com>
2211 * libglabels/libglabels-private.h:
2212 * libglabels/paper.c:
2213 * libglabels/paper.h:
2214 * libglabels/template.c:
2215 * libglabels/template.h:
2216 * libglabels/xml-paper.c:
2217 * libglabels/xml-paper.h:
2218 * libglabels/xml-template.c:
2223 * src/bc-gnubarcode.c:
2234 * src/label-barcode.c:
2236 * src/label-ellipse.c:
2237 * src/label-image.c:
2238 * src/label-image.h:
2240 * src/label-object.c:
2244 * src/merge-properties-dialog.c:
2245 * src/object-editor-bc-page.c:
2246 * src/object-editor-data-page.c:
2247 * src/object-editor-edit-page.c:
2248 * src/object-editor-fill-page.c:
2249 * src/object-editor-image-page.c:
2250 * src/object-editor-line-page.c:
2251 * src/object-editor-lsize-page.c:
2252 * src/object-editor-position-page.c:
2253 * src/object-editor-private.h:
2254 * src/object-editor-size-page.c:
2255 * src/object-editor-text-page.c:
2256 * src/object-editor.c:
2257 * src/object-editor.h:
2258 * src/pixbuf-cache.h:
2259 * src/prefs-dialog.c:
2260 * src/prefs-dialog.h:
2261 * src/prefs-model.c:
2262 * src/prefs-model.h:
2264 * src/print-dialog.c:
2265 * src/print-dialog.h:
2273 * src/template-designer.c:
2274 * src/template-designer.h:
2277 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2283 * src/view-barcode.c:
2285 * src/view-ellipse.c:
2286 * src/view-highlight.c:
2287 * src/view-highlight.h:
2290 * src/view-object.c:
2291 * src/view-object.h:
2295 * src/wdgt-chain-button.c:
2296 * src/wdgt-media-select.c:
2297 * src/wdgt-media-select.h:
2298 * src/wdgt-mini-preview.c:
2299 * src/wdgt-mini-preview.h:
2300 * src/wdgt-print-copies.c:
2301 * src/wdgt-print-copies.h:
2302 * src/wdgt-print-merge.c:
2303 * src/wdgt-print-merge.h:
2304 * src/wdgt-rotate-label.c:
2305 * src/wdgt-rotate-label.h:
2308 * src/xml-label-04.c:
2309 * src/xml-label-191.c:
2311 Cleanup of header files:
2312 - all header files are now stand-alone, verified by including
2313 first in corresponding "c" files
2314 - replaced blanket includes of gnome, gtk, and glib with
2317 2005-04-16 Jim Evins <evins@snaught.com>
2319 * data/glade/Makefile.am:
2320 * data/glade/merge-properties-dialog.glade:
2321 Added merge properties dialog glade description file.
2322 * src/merge-properties-dialog.h:
2323 * src/merge-properties-dialog.c:
2324 (gl_merge_properties_dialog_get_type),
2325 (gl_merge_properties_dialog_init),
2326 (gl_merge_properties_dialog_finalize),
2327 (gl_merge_properties_dialog_new),
2328 (gl_merge_properties_dialog_construct), (type_changed_cb),
2329 (src_changed_cb), (response_cb), (load_tree),
2330 (record_select_toggled_cb), (select_all_button_clicked_cb),
2331 (unselect_all_button_clicked_cb):
2332 Modified merge properties dialog to use libglade. Added
2333 "select all" and "unselect all" buttons.
2334 * src/merge-text.c: (parse_line):
2335 Handle empty lines better.
2336 * src/merge.c: (gl_merge_eval_key):
2337 Evaluate the key whether the record is selected or not.
2339 * src/util.c: (gl_util_combo_box_add_text_model):
2340 Since libglade does not use the gtk_combo_box_new_text()
2341 constructor for GtkComboBoxes, a utility function was created
2342 to add an appropriate text model to a GtkComboBox.
2343 * src/view.c: (gl_view_edit_merge_props):
2344 Removed unnecessary "show all's".
2346 2005-04-15 Jim Evins <evins@snaught.com>
2349 Updated russian translation (Vitaly Lipatov)
2350 * data/templates/misc-iso-templates.xml:
2351 Added templates for russian business cards provided by Vitaly Lipatov.
2353 Updated acknowledgements for above.
2355 2005-04-15 Jim Evins <evins@snaught.com>
2357 * data/templates/avery-us-templates.xml:
2358 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2359 * data/templates/misc-iso-templates.xml:
2360 Added Ryman standard CD/DVD template, provided by Dan Clark.
2362 Added acknowledgements for above.
2364 2005-04-10 Jim Evins <evins@snaught.com>
2366 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2367 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2368 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2369 (xml_parse_label_cd_node), (xml_parse_alias_node):
2370 * libglabels/xml.c: (gl_xml_get_prop_double),
2371 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2372 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2373 * src/xml-label-04.c: (xml04_parse_media_description),
2374 (xml04_parse_text_props), (xml04_parse_barcode_props),
2375 (xml04_parse_merge_properties):
2376 * src/xml-label-191.c: (xml191_parse_object),
2377 (xml191_parse_text_props), (xml191_parse_barcode_props),
2378 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2379 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2380 (xml191_parse_alias):
2381 * src/xml-label.c: (xml_parse_object_text),
2382 (xml_parse_object_barcode), (xml_parse_merge_fields),
2383 (xml_parse_pixdata), (xml_parse_toplevel_span):
2384 Make sure to use xmlFree for anything obtained from libxml
2385 in case libxml and glib use different memory management
2388 2005-04-08 Jim Evins <evins@snaught.com>
2391 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2392 (gl_util_combo_box_set_active_text):
2393 Added utility functions to simplify working with GtkComboBox
2395 * src/ui-property-bar.h:
2396 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2397 (reset_to_default_properties), (update_text_properties),
2398 (font_family_changed_cb):
2399 Replaced deprecated GtkCombo with GtkComboBox.
2402 2005-04-03 Jim Evins <evins@snaught.com>
2405 * src/wdgt-image-select.h:
2406 * src/wdgt-image-select.c:
2407 Removed obsolete wdgt-image-select.[ch] files.
2408 * libglabels/paper.c: (gl_paper_dup):
2409 Fixed rename of parameter introduced during documentation
2411 * data/glade/object-editor.glade:
2412 * src/object-editor-image-page.c:
2413 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2414 (gl_object_editor_set_image), (gl_object_editor_get_image),
2415 (update_preview_cb), (add_image_filters_to_chooser):
2416 * src/object-editor-private.h:
2417 Replaced deprecated GnomePixmapEntry with
2418 GtkFileChooserButton.
2420 2005-04-02 Jim Evins <evins@snaught.com>
2422 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2423 (mygal_combo_box_popup_hide_unconditional),
2424 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2425 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2426 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2427 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2428 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2429 Renamed all internal gtk_combo functions to mygal_combo
2430 to prevent namespace confusion.
2432 2005-04-02 Jim Evins <evins@snaught.com>
2434 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2435 (cust_color_set), (color_palette_setup):
2436 * src/mygal/color-palette.h:
2437 Replaced deprecated GnomeColorPicker with GtkColorButton.
2439 2005-04-02 Jim Evins <evins@snaught.com>
2441 * docs/libglabels/libglabels-sections.txt:
2442 * docs/libglabels/libglabels-undocumented.txt:
2443 * docs/libglabels/tmpl/enums.sgml:
2444 * docs/libglabels/tmpl/paper.sgml:
2445 * docs/libglabels/tmpl/xml-paper.sgml:
2446 * docs/libglabels/tmpl/xml-template.sgml:
2447 * libglabels/enums.h:
2448 * libglabels/paper.c: (gl_paper_dup):
2449 * libglabels/paper.h:
2450 * libglabels/xml-paper.c:
2451 * libglabels/xml-template.c:
2452 More documentation updates for libglabels.
2454 2005-03-23 Jim Evins <evins@snaught.com>
2457 Automatically updated.
2462 * docs/libglabels/Makefile.am:
2463 * docs/libglabels/libglabels-docs.sgml:
2464 * docs/libglabels/libglabels-sections.txt:
2465 * docs/libglabels/libglabels-undocumented.txt:
2466 * docs/libglabels/tmpl/enums.sgml:
2467 * docs/libglabels/tmpl/libglabels-unused.sgml:
2468 * docs/libglabels/tmpl/libglabels.sgml:
2469 * docs/libglabels/tmpl/paper.sgml:
2470 * docs/libglabels/tmpl/template.sgml:
2471 * docs/libglabels/tmpl/xml-paper.sgml:
2472 * docs/libglabels/tmpl/xml-template.sgml:
2473 * docs/libglabels/tmpl/xml.sgml:
2474 Added basic gtk-doc stuff to support documenting libglabels
2477 Updated function comments with gtk-doc markup.
2481 2005-03-22 Jim Evins <evins@snaught.com>
2483 Since the development version now requires gtk-2.6/gnome-2.10, I
2484 have made a first pass at removing deprecations.
2487 * libglabels/Makefile.am:
2489 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2490 Also removed all remnants of HAVE_FILECHOOSER.
2491 * src/file.c: (gl_file_open_real):
2492 Removed code for old GtkFileSelection.
2493 * libglabels/libglabels-private.h:
2494 * libglabels/paper.c:
2495 * libglabels/template.c:
2496 * libglabels/xml-paper.c:
2497 * libglabels/xml-template.c:
2501 * src/glabels-batch.c:
2505 * src/merge-properties-dialog.c:
2507 * src/object-editor.c:
2508 * src/prefs-dialog.c:
2510 * src/print-dialog.c:
2513 * src/template-designer.c:
2514 * src/ui-property-bar.c:
2516 * src/view-barcode.c:
2518 * src/view-ellipse.c:
2523 * src/wdgt-image-select.c:
2524 * src/wdgt-media-select.c:
2525 * src/wdgt-print-copies.c:
2526 * src/wdgt-print-merge.c:
2527 * src/wdgt-rotate-label.c:
2529 * src/xml-label-04.c:
2530 * src/xml-label-191.c:
2532 Added '#include <glib/gi18n.h>" where needed.
2533 Removed any unused '#include <gnome.h>"s.
2535 2005-03-22 Jim Evins <evins@snaught.com>
2537 * src/commands.c: (activate_url), (gl_cmd_help_about):
2538 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2539 development version of glabels now depends on GTK 2.6 and
2542 Updated library dependencies.
2544 2005-02-28 Jim Evins <evins@snaught.com>
2547 * data/templates/misc-iso-templates.xml:
2548 Added 'Ednet 45021' template provided by Ali Akcaagac
2551 2005-02-14 Jim Evins <evins@snaught.com>
2553 * data/templates/avery-us-templates.xml:
2554 Updated templates to use inches instead of points.
2555 * src/print-dialog.c: (printer_page_new):
2556 Changed packing style when adding printer selector widget. This fixes
2559 2005-02-13 Jim Evins <evins@snaught.com>
2563 Updated spanish translations. (sergio rivadero)
2565 2005-02-05 Jim Evins <evins@snaught.com>
2567 Some cleanup to libglabels.
2570 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2571 * libglabels/libglabels.pc.in
2573 * libglabels/enums.h
2574 Created. Currently only contains glUnitsType which provides enumerations
2575 for all possible units of distance.
2576 * libglabels/Makefile.am:
2577 Incorporated new files enums.h and libglabels.pc[.in].
2578 * libglabels/libglabels.h:
2580 * libglabels/template.h:
2581 * libglabels/template.c: (gl_template_layout_new):
2582 Changed parameters nx and ny to gint from gdouble.
2584 * libglabels/xml.c: (gl_xml_get_prop_length),
2585 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2586 Added support for different output units.
2587 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2588 (update_prefs_from_locale_page):
2589 * src/prefs-model.c: (string_to_units), (units_to_string):
2590 * src/prefs-model.h:
2591 * src/prefs.c: (gl_prefs_get_units_per_point),
2592 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2593 (gl_prefs_get_units_string):
2595 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2596 Reconciled all length enumerations with the new enumerations provided
2597 in libglabels/enums.h.
2599 2005-02-03 Jim Evins <evins@snaught.com>
2602 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2604 Updated Italian translations. (Daniele Medri)
2606 Updated credits to reflect above translations.
2609 2005-01-22 Jim Evins <evins@snaught.com>
2614 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2616 Final prep for 2.1.0.
2618 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2620 Added '--remove-original' flag to desktop-file-install, so that there is
2621 only one menu entry.
2623 2005-01-20 Jim Evins <evins@snaught.com>
2625 * data/glade/object-editor.glade:
2626 - Font family entry should not be editable.
2627 - img_key_entry should have sensitivity=YES, so that it follows the
2628 sensitivity of img_key_combo.
2630 2005-01-19 Jim Evins <evins@snaught.com>
2633 Give credit to Frederic Ruaudel for the color merge patches.
2635 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2637 Add support to merge color for all other color attribute (Feature
2638 Requests item #1008635. If the data is invalid, the color used is transparent
2639 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2640 by gdk_color_parse() these include name for a color from rgb.txt, such as
2641 DarkSlateGray, or a hex specification such as #305050. File format has been
2642 changed but backward compatibility is preserved for all format. For
2643 box/ellipse/line, keep attribute "line_color" for static color or replace by
2644 "line_color_field" for merge data. For text/barcode objects, keep attribute
2645 "color" for static color or replace by "color_field" for merge data. In the
2646 edit canvas window, merged color are represented by half-transparent black
2649 * data/dtd/glabels-2.0.dtd:
2650 Added line_color_field to line_attrs. Added color_field to
2651 Object-barcode and Span.
2652 * data/glade/object-editor.glade:
2653 Modify the layout of the editor to add merge possibility to color options
2655 Fix a copy/paste error in a comment
2657 Add default color for merge color representation in the editor canvas.
2658 * src/label-barcode.c:
2659 * src/object-editor-bc-page.c:
2660 * src/view-barcode.c:
2661 Add merge color support for barcode color.
2664 Add merge color support for box border color.
2665 * src/label-ellipse.c:
2666 * src/view-ellipse.c:
2667 Add merge color support for ellipse border color.
2670 Add merge color support for line color.
2671 * src/label-object.c:
2672 * src/label-object.h:
2673 * src/object-editor.c:
2674 * src/object-editor.h:
2675 * src/ui-property-bar.c:
2678 * src/xml-label-04.c:
2679 * src/xml-label-191.c:
2680 Add support for merging to other color attribute.
2682 * src/object-editor-text-page.c:
2684 Add merge color support for text color.
2685 * src/object-editor-fill-page.c:
2686 Change a blocked handler that didn't match the good widget. Fix the type
2687 of some debug message.
2688 * src/object-editor-line-page.c:
2689 Add merging support to line color option.
2690 * src/object-editor-private.h:
2691 Add variables for new widget.
2693 Modify the draw functions to get merge data if needed.
2695 Change the default size of the window in order to see all widget in the
2696 "text style tab" of the editor.
2698 Modify the parser to record/retreive the field value for objects that need
2699 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2700 static color or replace by "line_color_field" for merge data. For
2701 text/barcode objects, keep attribute "color" for static color or replace
2702 by "color_field" for merge data.
2704 2005-01-17 Jim Evins <evins@snaught.com>
2706 * src/view.c: (screen_changed_cb):
2707 Don't do anything if we don't have a screen.
2709 2005-01-06 Jim Evins <evins@snaught.com>
2711 * src/view.c: (get_home_scale):
2712 Fixed bad call to gtk_widget_has_screen() -- huh?.
2714 2005-01-06 Jim Evins <evins@snaught.com>
2716 * data/dtd/glabels-2.0.dtd:
2717 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2720 2005-01-06 Jim Evins <evins@snaught.com>
2722 * data/glade/object-editor.glade:
2723 Set entries for fill and data field key dropdowns to NOT editable.
2724 * src/view-box.c: (construct_properties_editor):
2725 * src/view-ellipse.c: (construct_properties_editor):
2726 Update object editor when label's merge property has changed.
2727 * src/xml-label.c: (xml_parse_object_ellipse):
2728 Completed the merge color support for the ellipse item.
2730 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2732 Add support to merge color for object that have a "Fill color" attribute (Feature
2733 Requests item #1008635. If the data is invalid, the color used is transparent
2734 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2735 by gdk_color_parse() these include name for a color from rgb.txt, such as
2736 DarkSlateGray, or a hex specification such as #305050. File format has been
2737 changed but backward compatibility is preserved for all format. For box/ellipse,
2738 keep attribute "fill_color" for static color or replace by "fill_color_field"
2741 * data/glade/object-editor.glade:
2742 Modify "Fill" tab to add the merge key combo and convert the labels into
2746 Add "glColorNode" structure and associated functions to manage it. This
2747 structure is equivalent for color than the "glTextNode". It holds the color
2749 * src/label-object.h:
2750 * src/label-object.c:
2752 * src/label-ellipse.c:
2753 * src/ui-property-bar.c:
2757 * src/view-ellipse.c:
2758 * src/xml-label-04.c:
2759 * src/xml-label-191.c:
2760 Change functions of objects that have a "fill color" attribute to use the
2761 new "glColorNode" structure. Use barcode code as example.
2763 Add the color.[ch] file to glabels_batch binary that now need support for
2765 * src/object-editor.h:
2766 * src/object-editor.c:
2767 * src/object-editor-fill-page.c:
2768 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2769 to choose between static color or merge key. Use barcode code as example.
2770 * src/object-editor-private.h:
2771 Add new widget in the "_glObjectEditorPrivate" structure.
2773 Modify the draw functions to get merge data if needed.
2775 Modify the parser to record/retreive the field value for objects that need
2776 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2777 color or "fill_color_field" for merge data.
2779 2005-01-04 Jim Evins <evins@snaught.com>
2782 * data/templates/avery-iso-templates.xml:
2783 * data/templates/misc-iso-templates.xml:
2784 * data/templates/misc-us-templates.xml:
2785 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2788 2004-11-26 Jim Evins <evins@snaught.com>
2792 Updated french translations provided by Florent Morel <florent@taket.org>.
2793 * src/view-barcode.c:
2795 * src/view-ellipse.c:
2799 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2800 thus _() strings were not being translated.
2802 2004-11-14 Jim Evins <evins@snaught.com>
2805 * src/debug.c: (gl_debug_init), (gl_debug):
2806 Borrowed from gedit: use environmental variables to select debug
2809 Removed unused include of debug.h.
2810 * src/glabels.c: (main):
2811 Added call to gl_debug_init(), and removed debug clutter from command line
2813 * src/glabels-batch.c: (main):
2814 Added call to gl_debug_init().
2816 2004-11-13 Jim Evins <evins@snaught.com>
2818 Drawing and property toolbars were being initialized with the "icons and text"
2819 look in Fedora Core 3. Even though none of the buttons had any text attached to
2820 them, the buttons were being sized as if they were. This led to less real estate
2821 for the property editor, leading to Bug #1064630. The
2823 * data/ui/glabels-ui.xml:
2824 Added explicit "look" property to both drawing and property toolbars.
2825 * src/prefs-model.c: (gl_prefs_model_save_settings),
2826 (gl_prefs_model_load_settings):
2827 * src/prefs-model.h:
2828 Removed drawing_toolbar_button_style configuration parameter.
2829 * src/ui.c: (view_menu_item_toggled_cb),
2830 (set_app_drawing_toolbar_style):
2831 Do not attempt to adjust look property of the drawing toolbar.
2833 2004-10-28 Jim Evins <evins@snaught.com>
2835 * data/pixmaps/glabels-about-logo.png:
2838 2004-10-28 Jim Evins <evins@snaught.com>
2840 * data/man/glabels.1:
2841 * src/glabels-batch.c: (main):
2843 * src/print.c: (gl_print_batch):
2845 Added option to glabels-batch to select the first label to begin
2848 2004-09-26 Jim Evins <evins@snaught.com>
2850 * data/desktop/glabels.desktop.in:
2851 Point to app icon, "glabels.png"
2852 * data/mime/glabels.keys.in:
2853 Point at mime icon, "glabels-application-x-glabels.png"
2854 * data/pixmaps/Makefile.am:
2855 Added glabels_app_icondir. Renamed icons.
2856 * data/pixmaps/glabels.png:
2857 New cleaned up app icon. Deleted glabels-icon.png.
2858 * data/pixmaps/glabels-application-x-glabels.png:
2860 * data/pixmaps/glabels-splash.png:
2861 Renamed glabels-logo to glabels-splash to be more correct about role.
2863 * src/template-designer.c:
2864 Point at app icon, "glabels.png"
2866 Point at renamed splash image, "glabels-splash.png"
2868 2004-08-22 Jim Evins <evins@snaught.com>
2871 * src/glabels-batch.c: (main):
2872 Applied patch with minor mods to allow selecting merge source and
2873 crop-marks on glabels-batch's command line. Original patch provided by
2874 José Dapena Paz <jdapena@igalia.com>.
2876 2004-08-15 Jim Evins <evins@snaught.com>
2878 * data/desktop/glabels.desktop.in:
2879 - Added encoding line
2880 - Removed period from comment
2881 - Fixed Terminal line, changed "0" to "false"
2882 - Added semicolen to Categories line
2884 - Made sure desktop.in comment string above still translated properly
2886 2004-08-14 Jim Evins <evins@snaught.com>
2888 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2889 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2890 * src/xml-label-191.c: (xml191_parse_sheet):
2891 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2893 Reconciled libglabels versioning with 2.0.1.
2896 2004-08-14 Jim Evins <evins@snaught.com>
2899 Updated version to 2.1cvs.
2901 2004-08-14 Jim Evins <evins@snaught.com>
2904 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2906 2004-08-14 Jim Evins <evins@snaught.com>
2908 Fixes for Bug #1008181.
2910 * src/bc.c: (gl_barcode_default_digits):
2911 Make a format of zero digits, harmless.
2912 * src/xml-label.c: (xml_parse_object_barcode):
2913 Set default value of the format property of barcode objects to 10, not
2914 zero. This will prevent crashes when reading pre 2.0.x files.
2916 2004-08-09 Jim Evins <evins@snaught.com>
2920 * help/C/glabels-C.omf:
2921 * help/C/glabels.xml:
2922 Brought documentation up-to-date for 2.0.0 release.
2924 2004-08-09 Jim Evins <evins@snaught.com>
2926 These are hopefully the final preparations for 2.0.0.
2928 * data/mime/Makefile.am:
2929 Include glabels.xml in EXTRA_DIST.
2931 - Updated comment style.
2932 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2933 - Added package and version info to configuration printout
2934 - Update version to 2.0.0
2935 * libglabels/Makefile.am:
2936 Use the new LIBGLABELS_VERSION_INFO macro.
2938 2004-08-09 Jim Evins <evins@snaught.com>
2942 Cleanup of required library macros.
2944 2004-08-08 Jim Evins <evins@snaught.com>
2948 - More specific of what to install in /usr/bin and /usr/lib
2949 - Remove built mime registration files from staging directory
2951 2004-08-08 Jim Evins <evins@snaught.com>
2953 * data/mime/Makefile.am:
2954 Fixed typo: key_files should have been keys_files.
2956 2004-08-08 Jim Evins <evins@snaught.com>
2958 Reorganization of runtime data files. Also added registration of mimetype with
2959 new freedesktop.org mime database if available.
2962 Moved files to appropriate subdirectories, creating local Makefile.am
2963 in each subdirectory.
2964 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2965 These are now installed at $datadir/glabels/templates.
2966 - Moved glabels.1 to man subdirectory.
2967 - Moved glabels-2.0.dtd to dtd subdirectory.
2968 - Moved glabels.desktop.in to desktop subdirectory.
2969 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2971 Moved "./pixmaps" to "./data/pixmaps"
2973 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2975 Moved libglade files from src to data/glade. Created Makefile.am.
2977 Removed pixmaps from SUBDIRS.
2979 - Removed pixmaps from makefiles.
2980 - Added makefiles for new subdirs of data.
2981 - Added tests for freedesktop.org mime database.
2983 - Added tests for freedesktop.org mime database for post install and
2984 post un-install actions.
2985 * libglabels/Makefile.am:
2986 Moved system template files to $(datadir)/glabels/templates.
2987 * libglabels/libglabels-private.h:
2988 Moved system template files to $(datadir)/glabels/templates.
2990 - Accounted for movement of ui and libglade files.
2991 - Added missing .in files.
2992 - Reorganized by directory.
2994 Accounted for movement of ui and libglade files.
2995 * data/mime/glabels.xml.in:
2996 New file for registering with freedesktop.org mime database.
2998 2004-08-07 Jim Evins <evins@snaught.com>
3000 * src/recent-files/*:
3001 Re-synced to latest libegg/recent-files.
3003 2004-08-07 Jim Evins <evins@snaught.com>
3008 Renamed "./doc" directory to "./help" which contains user documentation,
3009 to be more consistent with other GNOME applications.
3012 2004-07-26 Jim Evins <evins@snaught.com>
3014 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3015 Corrected button order of merge properties dialog.
3017 2004-07-18 Jim Evins <evins@snaught.com>
3019 * data/glabels-2.0.dtd:
3020 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3021 (gl_barcode_get_prefered_n):
3023 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3024 (gl_label_barcode_get_props), (get_size):
3025 * src/label-barcode.h:
3026 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3027 (style_changed_cb), (gl_object_editor_set_bc_style),
3028 (gl_object_editor_get_bc_style):
3029 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3030 (gl_object_editor_set_data), (gl_object_editor_get_data):
3031 * src/object-editor-private.h:
3032 * src/object-editor.c: (gl_object_editor_set_key_names):
3033 * src/object-editor.glade:
3034 * src/object-editor.h:
3035 * src/print.c: (draw_barcode_object):
3036 * src/view-barcode.c: (update_object_from_editor_cb),
3037 (update_editor_from_object_cb),
3038 (gl_view_barcode_create_event_handler), (draw_barcode):
3039 * src/xml-label-04.c: (xml04_parse_barcode_props):
3040 * src/xml-label-191.c: (xml191_parse_barcode_props):
3041 * src/xml-label.c: (xml_parse_object_barcode),
3042 (xml_create_object_barcode):
3043 Added "format" attribute to barcode objects. This attribute is used
3044 to properly format freeform barcodes barcodes prior to merge data is
3045 applied, so that barcodes can be accurately layed out. This addresses
3046 remaining issues of feature request #824787. Also added an example of
3047 the format in the object editor.
3049 2004-07-12 Jim Evins <evins@snaught.com>
3051 Various code cleanups.
3053 * src/label-barcode.c:
3054 Removed unneeded include of gnome-glyphlist.h.
3056 * src/label-text.c: (get_size):
3057 Fixed memory leak: unref glyphlists when done with them.
3059 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3060 * src/object-editor-data-page.c:
3061 (gl_object_editor_prepare_data_page):
3062 * src/object-editor-image-page.c:
3063 (gl_object_editor_prepare_image_page):
3064 * src/object-editor-line-page.c:
3065 (gl_object_editor_prepare_line_page):
3066 * src/object-editor-lsize-page.c:
3067 (gl_object_editor_prepare_lsize_page):
3068 * src/object-editor-position-page.c:
3069 (gl_object_editor_prepare_position_page):
3070 * src/object-editor-size-page.c:
3071 (gl_object_editor_prepare_size_page):
3072 * src/object-editor-text-page.c:
3073 (gl_object_editor_prepare_text_page):
3074 Removed unneeded size groups, originally intended to keep widgets aligned.
3075 Now use tables to lay these out in object-editor.glade.
3077 * src/print.c: (draw_text_object):
3078 Fixed memory leak: unref glyphlists when done with them.
3080 * src/view-barcode.c: (draw_barcode):
3081 Fixed memory leak: unref glyphlists when done with them.
3083 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3084 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3086 - Fixed memory leak: unref glyphlists when done with them.
3088 2004-07-11 Jim Evins <evins@snaught.com>
3090 * data/glabels-2.0.dtd:
3091 * src/label-text.c: (gl_label_text_instance_init), (copy),
3092 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3094 * src/object-editor-private.h:
3095 * src/object-editor-text-page.c:
3096 (gl_object_editor_prepare_text_page),
3097 (gl_object_editor_set_text_auto_shrink),
3098 (gl_object_editor_get_text_auto_shrink):
3099 * src/object-editor.c: (gl_object_editor_set_key_names):
3100 * src/object-editor.glade:
3101 * src/object-editor.h:
3102 * src/print.c: (draw_text_object):
3103 * src/view-text.c: (update_object_from_editor_cb),
3104 (update_editor_from_object_cb):
3105 * src/xml-label.c: (xml_parse_object_text),
3106 (xml_create_object_text):
3107 Added option to allow document merge to auto shrink text size to fit
3108 within the text box. The code in print.c that actually shrinks the
3109 text is loosely based on a patch submitted by Mark Harrison
3110 <mark.harrison@velocitynet.com.au>. This addresses feature request
3113 2004-07-11 Jim Evins <evins@snaught.com>
3115 * data/glabels-2.0.dtd:
3116 * libglabels/template.c: (gl_template_rect_label_type_new),
3117 (gl_template_round_label_type_new),
3118 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3119 (template_full_page):
3120 * libglabels/template.h:
3121 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3122 (xml_create_label_node):
3123 * pixmaps/ex-rect-size.png:
3124 * src/print.c: (clip_to_outline), (clip_punchouts):
3125 * src/template-designer.c: (construct_rect_size_page),
3126 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3128 * src/template-designer.glade:
3129 * src/xml-label-191.c: (xml191_parse_label):
3130 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3131 properties for rectangular labels. Templates remain backwards compatible,
3132 but this breaks the libglabels API (I don't know of anyone outside of
3133 glabels using libglabels at this time -- what can I say, the program is
3134 is still "unstable"). This addresses the suggestion in Feature Request
3137 2004-07-05 Jim Evins <evins@snaught.com>
3138 * src/print.c: (print_crop_marks), (draw_outline):
3139 Changed crop marks and label outlines to black, instead of 25% gray.
3140 This addresses debian Bug #257460.
3142 2004-07-05 Jim Evins <evins@snaught.com>
3144 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3145 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3146 Preserve "is_default" of fill and line color_combos when creating from
3149 2004-07-02 Jim Evins <evins@snaught.com>
3152 Created man page. Based on page submitted by Matthew J. Lockner, however
3153 it has been severely edited.
3155 * data/avery-other-templates.xml
3156 * data/misc-other-templates.xml:
3157 Started new files for predefined templates with non-standard sheet sizes.
3158 These have been initially populated with the Avery 06141 and
3159 OfficeMax #86112, both provided by Matthew J. Lockner.
3162 Install above manpage and template files.
3165 Make sure we install man pages.
3167 * src/glabels-batch.c:
3168 Changed short form of help option to '-?' to be consistent with glabels.
3171 Added acknowledgement for above labels.
3173 2004-07-02 Jim Evins <evins@snaught.com>
3175 * src/glabels.c: (main), (save_session_cb):
3176 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3178 - save_session_cb() now returns gboolean.
3179 - Minor formatting changes.
3183 - Now include file.h to provide missing prototype.
3184 - gl_window_get_type() now returns GType, not guint. I believe this may
3185 ultimately be cause of the segfault reported in Bug #982287, since
3186 GType is actually a gulong, which may not be compatible on other
3187 architectures (64bit) -- I cannot personally test this at this time.
3188 I was sloppy in several other xxx_get_type() functions which also
3189 returned guint -- see next group of files:
3191 * src/window.c: (gl_window_get_type):
3192 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3193 * src/canvas-hacktext.h:
3194 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3195 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3196 (gl_hig_hbox_get_type):
3198 * src/label-barcode.c: (gl_label_barcode_get_type):
3199 * src/label-barcode.h:
3200 * src/label-box.c: (gl_label_box_get_type):
3202 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3203 * src/label-ellipse.h:
3204 * src/label-image.c: (gl_label_image_get_type):
3205 * src/label-image.h:
3206 * src/label-line.c: (gl_label_line_get_type):
3208 * src/label-object.c: (gl_label_object_get_type):
3209 * src/label-object.h:
3210 * src/label-text.c: (gl_label_text_get_type):
3212 * src/label.c: (gl_label_get_type):
3214 * src/merge-properties-dialog.c:
3215 (gl_merge_properties_dialog_get_type):
3216 * src/merge-properties-dialog.h:
3217 * src/merge-text.c: (gl_merge_text_get_type):
3219 * src/merge.c: (gl_merge_get_type):
3221 * src/object-editor.c: (gl_object_editor_get_type):
3222 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3223 * src/prefs-dialog.h:
3224 * src/prefs-model.c: (gl_prefs_model_get_type):
3225 * src/prefs-model.h:
3226 * src/print-dialog.c: (gl_print_dialog_get_type):
3227 * src/print-dialog.h:
3228 * src/template-designer.c: (gl_template_designer_get_type):
3229 * src/template-designer.h:
3230 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3231 * src/ui-property-bar.h:
3232 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3234 * src/view-barcode.c: (gl_view_barcode_get_type):
3235 * src/view-barcode.h:
3236 * src/view-box.c: (gl_view_box_get_type):
3238 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3239 * src/view-ellipse.h:
3240 * src/view-highlight.c: (gl_view_highlight_get_type):
3241 * src/view-highlight.h:
3242 * src/view-image.c: (gl_view_image_get_type):
3244 * src/view-line.c: (gl_view_line_get_type):
3246 * src/view-object.c: (gl_view_object_get_type):
3247 * src/view-object.h:
3248 * src/view-text.c: (gl_view_text_get_type):
3250 * src/view.c: (gl_view_get_type):
3252 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3253 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3254 * src/wdgt-image-select.h:
3255 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3256 * src/wdgt-media-select.h:
3257 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3258 * src/wdgt-mini-preview.h:
3259 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3260 * src/wdgt-print-copies.h:
3261 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3262 * src/wdgt-print-merge.h:
3263 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3264 * src/wdgt-rotate-label.h:
3265 - Made sure all xxx_get_type functions returned GType, not guint. This
3266 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3267 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3268 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3269 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3270 window.[ch] details above for more info.
3271 - Reconciled various coding style differences in all xxx_get_type()
3273 * All prototypes include G_GNUC_CONST.
3274 * All prototypes specify the return value as GType, not GtkType
3276 * Info structures are all declared as "static const."
3277 * Generalized the names of type and info variables.
3278 * Miscelaneous formatting.
3280 2004-06-08 Jim Evins <evins@snaught.com>
3286 Don't touch compression of original file -- still defaults to 9 for
3287 new files. Original patch provided by Javier Donaire Segarra
3288 (#912252 in patch tracker).
3290 2004-05-05 Jim Evins <evins@snaught.com>
3292 * data/glabels-2.0.dtd:
3293 Broke DTD previously when adding new barcode types that contain a
3294 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3295 to avoid the problem.
3296 * data/avery-iso-templates.xml:
3297 * data/zweckform-iso-templates.xml:
3299 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3300 provided by Frank Altpeter.
3301 * libglabels/xml-template.c: (xml_create_label_node):
3302 Reordered markup and layout sub-nodes so that resulting templates will
3303 validate against DTD.
3305 2004-03-13 Jim Evins <evins@snaught.com>
3307 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3308 Changed spin callback signals from "value-changed" back to "changed."
3309 This was accidentally introduced in a previous revision, and can cause
3310 size changes just by selecting the size tab.
3312 2004-03-06 Jim Evins <evins@snaught.com>
3314 * src/view.c: (draw_grid_layer):
3315 For round labels (round and cd) adjust grid so that it lines up with
3316 center of label. Also, no longer draw box around label in the grid layer,
3317 it is hidden by he fg layer anyway. Feature suggested by
3318 nemolivier@free.fr. Although the grid is aligned with the center of the
3319 label, the coordinate system is still relative to the upper left corner
3320 of the rectangle containing the label.
3322 2004-02-25 Jim Evins <evins@snaught.com>
3325 Changed version to 2.0pre1cvs
3327 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3328 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3329 instead of doc->name fields when errors encountered.
3331 2004-02-21 Jim Evins <evins@snaught.com>
3333 * data/avery-iso-templates.xml:
3334 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3337 Added libglabels library and include file to installed files.
3340 Final prep for 1.93.3.
3342 2004-02-20 Jim Evins <evins@snaught.com>
3344 * src/glabels-batch.c: (main):
3345 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3346 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3348 2004-02-16 Jim Evins <evins@snaught.com>
3351 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3354 Added HAVE_FILE_CHOOSER to INCLUDES.
3356 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3357 (gl_file_save_as), (save_as_response):
3358 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3360 2004-02-16 Jim Evins <evins@snaught.com>
3362 * src/xml-label-04.c: (xml04_parse_image_props):
3363 * src/xml-label-191.c: (xml191_parse_image_props):
3364 * src/xml-label.c: (xml_parse_object_image):
3365 Delay setting image size until after image has been applied to new
3368 2004-02-15 Jim Evins <evins@snaught.com>
3370 * src/label-barcode.c: (gl_label_barcode_set_data),
3371 (gl_label_barcode_set_props):
3372 Don't emit "changed" signal, if no change actually made for these
3373 methods. Reduces number of unnecessary redraws of barcodes.
3375 * src/label-object.h:
3376 * src/label-object.c: (gl_label_object_set_position),
3377 (gl_label_object_set_position_relative), (set_size),
3378 (gl_label_object_set_size),
3379 (gl_label_object_set_size_honor_aspect):
3380 Don't emit "changed" signal, if no change actually made for these
3383 2004-02-15 Jim Evins <evins@snaught.com>
3385 * data/glabels-2.0.dtd:
3386 Added specific subtypes for various barcode types.
3389 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3390 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3391 (gl_barcode_can_text), (gl_barcode_text_optional),
3392 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3393 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3394 Changed API to use a string id, rather than a fixed enumeration. Id and
3395 name are separate strings. Added entries to backend table for specific
3396 subtypes for various barcode types.
3399 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3401 Modified to conform to above API. Now more stringent with data length
3402 for various subtypes.
3404 * src/bc-gnubarcode.h:
3405 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3406 (is_length_valid), (is_length1_valid), (is_length2_valid):
3407 Modified to conform to above API. Now more stringent with data length
3408 for various subtypes.
3410 * src/label-barcode.h:
3411 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3412 (gl_label_barcode_get_props), (get_size):
3413 Modified to use above API for storing barcode type.
3415 * src/object-editor.h:
3416 * src/object-editor-bc-page.c: (style_changed_cb),
3417 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3418 Modified to use above API for storing barcode type.
3420 * src/object-editor-size-page.c:
3421 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3422 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3423 Added debug markers.
3425 * src/object-editor.glade:
3426 Made barcode style combo's text entry non-editable.
3428 * src/print.c: (draw_barcode_object):
3429 Modified to use above API for barcode type.
3431 * src/view-barcode.c: (update_object_from_editor_cb),
3432 (update_editor_from_object_cb),
3433 (gl_view_barcode_create_event_handler), (draw_barcode):
3434 Modified to use above API for barcode type.
3436 * src/xml-label-04.c: (xml04_parse_barcode_props):
3437 * src/xml-label-191.c: (xml191_parse_barcode_props):
3438 * src/xml-label.c: (xml_parse_object_barcode),
3439 (xml_create_object_barcode):
3440 Modified to use above API for barcode type.
3442 2004-02-07 Jim Evins <evins@snaught.com>
3444 * src/stock-pixmaps/Makefile.am:
3445 * src/stock-pixmaps/stock_hchain_24.png:
3446 * src/stock-pixmaps/stock_hchain_broken_24.png:
3447 * src/stock-pixmaps/stock_vchain_24.png:
3448 * src/stock-pixmaps/stock_vchain_broken_24.png:
3449 Added chain pixmaps borrowed from the gimp's default theme.
3452 * src/stock.c: (gl_stock_init), (add_button_icon):
3453 Added above pixmaps to stock icon sets. Created add_button_icon() to
3454 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3456 * src/wdgt-chain-button.h
3457 * src/wdgt-chain-button.c
3460 Added this Modified version of gimpchainbutton widget, borrowed from
3464 Added acknowledgements of the above borrowing from the gimp.
3466 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3468 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3469 * src/object-editor.glade:
3470 Replaced the keep aspect ratio check box with the above chain-button
3473 * src/text-node.c: (gl_text_node_equal):
3475 Added function gl_text_node_equal() to compare text_nodes.
3477 * src/label-image.c: (gl_label_image_set_filename):
3478 Replaced incomplete text_node comparison code with invocation of
3479 gl_text_node_equal. This fixed the problem of not being able to
3480 resize an image using the object_editor if the aspect ratio is not
3483 2004-02-04 Jim Evins <evins@snaught.com>
3485 * src/object-editor-image-page.c:
3486 (gl_object_editor_prepare_image_page):
3487 Track "changed" signal of pixmap entry's GtkEntry rather than its
3488 "activate" signal -- this catches all changes to the entry rather than
3489 just changes resulting from a browse, so one can easily pull previous
3490 entries from the history. (This change is marked below on 2004-02-03,
3491 but somehow never got checked in.)
3493 * src/view-highlight.c: (sl_resize_event_handler),
3494 (sr_resize_event_handler), (st_resize_event_handler),
3495 (sb_resize_event_handler):
3496 Side resize handles will now confirm the actual resize that the object
3497 accepted before adjusting position parameters. Previously some interesting
3498 things happened when resizing a barcode to its minimum size.
3500 2004-02-03 Jim Evins <evins@snaught.com>
3502 * src/object-editor-image-page.c:
3503 (gl_object_editor_prepare_image_page):
3504 Track "changed" signal of pixmap entry's GtkEntry rather than its
3505 "activate" signal -- this catches all changes to the entry rather than
3506 just changes resulting from a browse, so one can easily pull previous
3507 entries from the history.
3509 * src/view-highlight.c: (tl_resize_event_handler),
3510 (tr_resize_event_handler), (bl_resize_event_handler),
3511 (br_resize_event_handler):
3512 Allow control key to be dropped while dragging a corner resize handle
3513 without losing the aspect ratio lock.
3515 2004-02-02 Jim Evins <evins@snaught.com>
3517 * src/label-image.c: (gl_label_image_set_filename):
3518 When setting a new filename adjust size such that the aspect ratio of
3519 the image is preserved using the current size as a bounding box.
3521 * src/view-image.c: (update_object_from_editor_cb):
3522 When updating object from editor, feed back possible size changes to
3523 editor as a result of a possible change in image.
3525 * src/object-editor-size-page.c: (size_reset_cb):
3526 Fixed typo when blocking spin handlers. If the base size is larger than
3527 the max size, treat max size as a bounding box while keeping aspect
3531 2004-02-02 Jim Evins <evins@snaught.com>
3533 * src/label-object.h:
3534 * src/label-object.c: (gl_label_object_set_size),
3535 (gl_label_object_set_size_honor_aspect):
3536 Added gl_label_object_set_size_honor_aspect() which will maintain the
3537 current aspect ratio by modifying the supplied w or h apropriately.
3539 * src/view-highlight.c: (tl_resize_event_handler),
3540 (tr_resize_event_handler), (bl_resize_event_handler),
3541 (br_resize_event_handler):
3542 Corner handles will now maintain the current aspect ratio if the
3543 control key is pressed while resizing. This addresses feature
3547 2004-01-31 Jim Evins <evins@snaught.com>
3550 * data/avery-us-templates.xml:
3551 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3553 * libglabels/template.c: (read_template_files_from_dir):
3554 Corrected problem with testing for extensions.
3556 * src/object-editor.glade:
3557 Corrected grouping of radio buttons in barcode data page.
3559 * src/print.c: (draw_barcode_object):
3560 * src/view-barcode.c: (draw_barcode):
3561 Corrected problem with calculation of y_offset for locating characters.
3563 2004-01-24 Jim Evins <evins@snaught.com>
3566 * data/avery-us-templates.xml:
3567 Added Avery 5824, submitted by Fred Bacon.
3569 2004-01-20 Jim Evins <evins@snaught.com>
3571 Catching up on a couple of backlogged user template submissions.
3573 * data/avery-iso-templates.xml:
3574 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3575 Suggested by Linas Jakucionis.
3577 * data/zweckform-iso-templates.xml:
3578 Added Zweckform 4760, submitted by Thomas Vill.
3581 Updated to reflect above submissions.
3583 2004-01-06 Jim Evins <evins@snaught.com>
3585 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3586 xml.[ch] into a separate library called libglabels, to facilitate third
3587 party use of glabels template files. This was suggested by Wayne Schuller.
3588 Once split-out, some modifications to the structures and functions to
3589 make a cleaner more useful API, hopefully. Rather extensive changes have
3590 propogated to other modules.
3598 * src/xml-template.h:
3599 * src/xml-template.c:
3602 These files have been moved to libglabels/. API cleanup performed.
3604 * libglabels/libglabels.h:
3605 * libglabels/libglabels-private.h:
3606 * libglabels/Makefile.am:
3607 These files have been added to finish out libglabels.
3614 Modified to reflect new sets of files in src/ and libglabels/.
3616 * COPYING.LIBGLABELS:
3618 Added copy of the LGPL for libglabels, and a copy the GFDL for
3621 * src/glabels-batch.c:
3623 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3624 (gl_label_get_size):
3626 * src/prefs-model.c: (gl_prefs_model_load_settings):
3627 * src/print-dialog.c:
3628 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3629 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3630 (print_crop_marks), (print_label), (draw_outline),
3631 (clip_to_outline), (clip_punchouts):
3632 * src/template-designer.c: (construct_pg_size_page),
3633 (pg_size_page_changed_cb), (layout_page_changed_cb),
3634 (print_test_cb), (build_template):
3635 * src/util.c: (gl_util_fraction):
3637 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3638 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3639 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3640 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3641 (draw_markup_margin_round), (draw_markup_margin_cd),
3642 (draw_markup_margin_cd_bc), (draw_markup_line),
3643 (draw_markup_circle), (gl_view_copy):
3644 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3645 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3646 (get_label_size_desc):
3647 * src/wdgt-mini-preview.c:
3648 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3650 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3651 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3652 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3653 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3654 * src/wdgt-rotate-label.h:
3655 * src/xml-label-04.c: (xml04_parse_media_description):
3656 * src/xml-label-191.c: (gl_xml_label_191_parse),
3657 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3658 (xml191_parse_markup), (xml191_parse_alias):
3659 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3661 Various changes to accomodate new libglabels API.
3663 2004-01-03 Jim Evins <evins@snaught.com>
3668 2004-01-03 Jim Evins <evins@snaught.com>
3671 Added acknowledgement of contributions by Wayne Schuller.
3673 * src/commands.c: (gl_cmd_file_print):
3674 Create extra reference to print dialog, so that it can be properly re-used.
3676 * src/mygal/mygal-combo-box.h:
3677 * src/mygal/mygal-combo-box.c:
3678 (mygal_combo_box_popup_hide_unconditional),
3679 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3680 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3681 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3682 (mygal_combo_box_set_tearable):
3683 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3684 complete the rename of this widget to prevent namespace collisions
3687 * src/prefs-dialog.glade:
3688 Fixed alignment of Fill/Color widgets.
3690 2004-01-03 Jim Evins <evins@snaught.com>
3692 * data/avery-iso-templates.xml:
3693 Added user submitted templates.
3694 Avery 8435A & 8435B, submitted by Ludger Solbach.
3696 * doc/C/glabels.xml:
3697 Added minimal documentation, noting the new template designer.
3699 2004-01-03 Jim Evins <evins@snaught.com>
3701 * pixmaps/ex-rect-size.png:
3702 * pixmaps/ex-round-size.png:
3703 * pixmaps/ex-cd-size.png:
3704 * pixmaps/Makefile.am:
3705 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3706 files to be used as illustrations/examples in the template-designer.
3708 * src/template-designer.c: (construct_rect_size_page),
3709 (construct_round_size_page), (construct_cd_size_page),
3710 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3711 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3712 (layout_page_prepare_cb), (build_template):
3713 * src/template-designer.glade:
3714 Added illustrations for rectangle, round, and cd label size pages.
3715 Added margin spinboxes to these pages, and now add a margin markup
3716 to the constructed template. Added realistic default values for
3717 some of the size spinboxes. Cleaned up the code for setting spinbox
3718 ranges on the layouts page.
3720 2004-01-02 Jim Evins <evins@snaught.com>
3722 * src/object-editor-size-page.c: (h_spin_cb):
3723 Fixed cut-n-paste error in h_spin_cb that loaded h from
3724 the wrong spinbutton.
3726 * src/object-editor.h:
3727 * src/object-editor.c: (gl_object_editor_class_init),
3728 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3729 * src/object-editor-private.h:
3730 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3732 Added "size_changed" signal.
3734 * src/view-text.c: (construct_properties_editor),
3735 (update_object_from_editor_cb),
3736 (update_object_from_editor_size_cb):
3737 Track size changes from object editor separately from other
3738 properties. This is so the default size (0,0) of a text
3739 object is not modified unintentionally.
3741 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3743 Added feature: line spacing - allows you to comfortably space a text box to
3744 fit a label perfectly.
3746 * data/glabels-2.0.dtd:
3747 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3748 (gl_label_object_get_text_alignment),
3749 (gl_label_object_get_text_line_spacing):
3750 * src/label-object.h:
3751 * src/label-text.c: (gl_label_text_class_init),
3752 (gl_label_text_instance_init), (copy), (get_size),
3753 (set_text_line_spacing), (get_text_alignment),
3754 (get_text_line_spacing):
3755 * src/object-editor-private.h:
3756 * src/object-editor-text-page.c:
3757 (gl_object_editor_prepare_text_page),
3758 (gl_object_editor_set_text_line_spacing),
3759 (gl_object_editor_get_text_line_spacing):
3760 * src/object-editor.glade:
3761 * src/object-editor.h:
3762 * src/prefs-dialog.c: (construct_object_page),
3763 (update_object_page_from_prefs), (update_prefs_from_object_page):
3764 * src/prefs-dialog.glade:
3765 * src/prefs-model.c: (gl_prefs_model_save_settings),
3766 (gl_prefs_model_load_settings), (get_float):
3767 * src/prefs-model.h:
3768 * src/print.c: (draw_text_object):
3770 * src/view-text.c: (update_object_from_editor_cb),
3771 (update_editor_from_object_cb),
3772 (gl_view_text_create_event_handler), (draw_hacktext):
3773 * src/view.c: (gl_view_construct),
3774 (gl_view_set_selection_text_line_spacing),
3775 (gl_view_set_default_text_line_spacing),
3776 (gl_view_get_default_text_line_spacing):
3778 * src/xml-label.c: (xml_parse_toplevel_span),
3779 (xml_create_toplevel_span):
3781 2003-12-30 Jim Evins <evins@snaught.com>
3783 * src/template-designer.c:
3784 * src/template-designer.h:
3785 * src/template-designer.glade:
3786 New template designer assistant.
3790 Added entries for src/template-designer.* files.
3792 * pixmaps/ex-1layout.png
3793 * pixmaps/ex-2layouts.png
3794 * pixmaps/Makefile.am:
3795 Added the new image files ex-*.png used as illustrations in the
3796 template designer assistant.
3798 * src/print-dialog.h:
3799 * src/print-dialog.c: (gl_print_dialog_finalize),
3800 (gl_print_dialog_new), (gl_print_dialog_construct),
3801 (gl_print_dialog_force_outline_flag):
3802 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3803 to support printing from the template designer assistant which does not
3804 have a full-fledged view. Nothing else from the view object was being
3805 used by the dialog anyway.
3807 Added the gl_print_dialog_force_outline_flag() method, for better
3808 integration with the template designer assistant.
3812 * src/commands.c: (gl_cmd_file_template_designer),
3813 (gl_cmd_file_print):
3814 Modified print command to provide label instead of view to dialog.
3815 Added the gl_cmd_file_template_designer() command to invoke the
3816 template designer assistant.
3819 * src/glabels-ui.xml:
3820 Added support for template designer assistant.
3822 * src/wdgt-mini-preview.h:
3823 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3824 (gl_wdgt_mini_preview_set_bg_color):
3825 Preview is now centered in canvas. Added
3826 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3827 assistant to match the background color with its own.
3829 * src/print.c: (clip_to_outline):
3830 Fixed really stupid bug when adding waste to clip region of rectangular
3831 labels/cards. Each side of the clip region needs to be extended by
3832 twice the waste margin, as well as negatively offset by the waste
3835 2003-12-28 Jim Evins <evins@snaught.com>
3837 * src/prefs-dialog.c: (update_object_page_from_prefs):
3838 Block intermediary function align_toggle_cb() instead of
3839 update_prefs_from_object_page() for the three alignment
3842 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3844 * src/file.c: (gl_file_new), (gl_file_properties):
3845 Swap button order and set default for higificatory pleasure.
3847 2003-12-27 Jim Evins <evins@snaught.com>
3849 * barcode-0.98/Makefile.am:
3850 One last time: removed doc/Makefile and po/Makefile.in.in from
3853 2003-12-27 Jim Evins <evins@snaught.com>
3855 * barcode-0.98/Makefile.am:
3856 Removed config.stat entry from EXTRA_DIST files.
3858 * barcode-0.98/Makefile.in:
3861 2003-12-27 Jim Evins <evins@snaught.com>
3864 Updated to work with latest gnome-common package from CVS.
3865 Removed recursive configuration of barcode-0.98.
3872 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3874 * barcode-0.98/Makefile.in:
3875 * barcode-0.98/configure.in:
3876 * barcode-0.98/Makefile.am:
3877 * barcode-0.98/README.glabels:
3878 Modified to ignore the barcode package's build system, and build
3879 as a part of glabels.
3880 Renamed Makefile.in to Makefile.in.dist.
3881 Renamed configure.in to configure.in.dist.
3882 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3885 * src/mygal/Makefile.am:
3886 * src/recent-files/Makefile.am:
3887 In order to build against the GNOME 2.5 platform,
3888 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3890 * src/mygal/Makefile.am:
3891 * src/mygal/mygal-combo-box.c:
3892 * src/mygal/mygal-combo-box.h:
3893 * src/mygal/widget-color-combo.c:
3894 * src/mygal/widget-color-combo.h:
3896 In order to build against the GNOME 2.5 platform,
3897 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3898 collisions with the real gtk_combo_box widget, now a part of gtk.
3900 2003-12-26 Jim Evins <evins@snaught.com>
3906 Moved local versions of get_home_data_dir() in paper.c and
3907 template.c to util package. Cleaned up formatting in
3911 In gl_template_register() save a copy of the template in
3912 ~/.glabels if the template is not known. Still need to
3913 handle duplicate filename case and duplicate name but
3914 different template case.
3918 Moved local definition of NAME_SPACE macro from xml-label.c
3921 * src/xml-template.c:
3922 * src/xml-template.h:
3923 Added function gl_xml_template_write_template_to_file(), used
3924 in gl_template_register().