1 2008-01-25 Jim Evins <evins@snaught.com>
4 Fixed Code128C backend parameters.
5 * src/label-barcode.c: (get_size):
6 Bug #1766425. If barcode is not renderable with either
7 input data or default data, use a default size. Also
10 2008-01-16 Jim Evins <evins@snaught.com>
12 * src/print.c: (print_label):
13 Bug #1872568. Don't apply special transforms (rotate and
14 mirror) to clipping region or outline.
16 2008-01-01 Jim Evins <evins@snaught.com>
19 Sort font lists alphabetically.
21 2008-01-01 Jim Evins <evins@snaught.com>
23 * src/merge-evolution.c:
24 Do a case-insensitive sort.
26 2008-01-01 Jim Evins <evins@snaught.com>
28 * src/merge-evolution.c:
29 Sort evolution by "file_under" field. Original patch provided
30 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
33 Added acknowledgement for above patch.
35 2008-01-01 Jim Evins <evins@snaught.com>
40 Reconcile with 2.2 branch.
43 2007-12-21 Jim Evins <evins@snaught.com>
46 * COPYING.README_FIRST:
48 Updating license information to make more complete and understandable.
50 2007-12-16 Jim Evins <evins@snaught.com>
53 Updated version to 2.pre2.
55 Updated documentation.
56 * src/ui-commands.c: (gl_ui_cmd_help_about):
57 Updated copyright string.
59 2007-12-15 Jim Evins <evins@snaught.com>
61 * data/glade/object-editor.glade:
62 Removed any GtkTable that contained a GtkComboBox because the size of
63 the combo box was not constrained properly. This sacrifices the nice
64 orderly labels for combo boxes that don't extend beyond the edge of the
67 2007-12-15 Jim Evins <evins@snaught.com>
69 * libglabels/db.c: (lgl_db_lookup_template_from_name):
70 * src/object-editor.c: (gl_object_editor_finalize):
71 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
72 Fixed several small memory leaks.
74 2007-12-14 Jim Evins <evins@snaught.com>
77 Optimize template search by name by using a GHashTable.
78 * src/mini-preview-pixbuf-cache.c:
79 * src/mini-preview-pixbuf-cache.h:
80 Store one pixbuf per template, but use a key for each alias.
81 * src/wdgt-media-select.c:
82 Optimize loading of tree data, thus optimizing the "new label" dialog.
84 2007-12-12 Jim Evins <evins@snaught.com>
86 * data/templates/avery-us-templates.xml:
87 More templates and aliases.
89 2007-12-08 Jim Evins <evins@snaught.com>
92 More prep for 2.1.5/2.2.0.
94 2007-12-08 Jim Evins <evins@snaught.com>
100 Preparation for 2.1.5.
102 2007-12-08 Jim Evins <evins@snaught.com>
104 * docs/libglabels/libglabels-decl-list.txt:
105 * docs/libglabels/libglabels-docs.sgml:
106 * docs/libglabels/libglabels-sections.txt:
107 * docs/libglabels/libglabels-undocumented.txt:
108 * docs/libglabels/tmpl/db.sgml:
109 * docs/libglabels/tmpl/str.sgml:
111 Documentation cleanup for libglabels.
113 2007-11-29 Jim Evins <evins@snaught.com>
117 Added lgl_db_does_template_name_exist().
118 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
121 Proof read recent templates -- make sure they still exist.
122 * src/wdgt-media-select.c:
123 Default to "search all templates" tab if no recent templates found.
125 2007-11-28 Jim Evins <evins@snaught.com>
127 * data/glade/wdgt-media-select.glade:
128 * src/wdgt-media-select.c:
129 Added tabbed notebook to allow selection of recent template versus searching the
133 2007-11-26 Jim Evins <evins@snaught.com>
135 * libglabels/Makefile.am:
136 * libglabels/libglabels.h:
139 * src/prefs-dialog.c:
144 Added tracking of recently used templates.
146 2007-11-20 Jim Evins <evins@snaught.com>
148 * data/glade/template-designer.glade:
149 * src/template-designer.c:
150 Added warning icon when match brand and part match an existing template.
152 2007-11-18 Jim Evins <evins@snaught.com>
154 * libglabels/Makefile.am:
157 Added lgl_str_utf8_casecmp().
158 * libglabels/libglabels-private.h:
159 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
160 * libglabels/db.c: (lgl_db_get_brand_list):
161 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
164 2007-11-18 Jim Evins <evins@snaught.com>
166 * data/glade/template-designer.glade:
167 * src/template-designer.c:
168 Don't advance past name page, if brand and part match an existing template.
170 2007-11-18 Jim Evins <evins@snaught.com>
172 * libglabels/db.c: (lgl_db_register_template), (read_templates):
173 When registering a new template, don't add to "User defined" category before
174 writing to file. Add to "User defined" category when reading from "~/.glabels"
175 directory instead. This will allow legacy templates (and manually created
176 templates) to be automatically added to the "user defined" category.
177 * libglabels/xml-template.c:
178 (lgl_xml_template_create_template_node):
179 Fixed typo/bug causing brand to be wrong.
181 2007-11-16 Jim Evins <evins@snaught.com>
185 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
186 function. Automatically create "User defined" category and add to all user
187 registered templates.
188 * libglabels/xml-template.c:
189 * libglabels/xml-template.h:
190 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
191 lgl_xml_template_write_template_to_file().
192 * docs/libglabels/libglabels-decl-list.txt:
193 * docs/libglabels/libglabels-sections.txt:
194 * docs/libglabels/libglabels-undocumented.txt:
195 * docs/libglabels/tmpl/db.sgml:
196 * docs/libglabels/tmpl/xml-template.sgml:
197 Update documentation to reflect above changes.
199 2007-10-28 Jim Evins <evins@snaught.com>
201 * libglabels/xml-template.c:
202 Remove any leading white space from part #s when parsing old names.
203 * src/mini-preview-pixbuf-cache.c:
204 If name isn't in cache add it.
206 2007-10-26 Jim Evins <evins@snaught.com>
208 * libglabels/Makefile.am:
209 * libglabels/category.c:
210 * libglabels/category.h:
213 * libglabels/libglabels-private.h:
214 * libglabels/libglabels.h:
215 * libglabels/paper.c:
216 * libglabels/paper.h:
217 * libglabels/template.c:
218 * libglabels/template.h:
219 * libglabels/xml-template.c:
220 Another pass at screwing with the libglabels API. Moved all
221 database related stuff to db.[ch].
222 * docs/libglabels/libglabels-decl-list.txt:
223 * docs/libglabels/libglabels-docs.sgml:
224 * docs/libglabels/libglabels-sections.txt:
225 * docs/libglabels/libglabels-undocumented.txt:
226 * docs/libglabels/tmpl/category.sgml:
227 * docs/libglabels/tmpl/db.sgml:
228 * docs/libglabels/tmpl/init.sgml:
229 * docs/libglabels/tmpl/libglabels-unused.sgml:
230 * docs/libglabels/tmpl/paper.sgml:
231 * docs/libglabels/tmpl/template-construction.sgml:
232 * docs/libglabels/tmpl/template-db.sgml:
233 * docs/libglabels/tmpl/template-misc.sgml:
234 * docs/libglabels/tmpl/template-struct.sgml:
235 * docs/libglabels/tmpl/template.sgml:
236 Updated documentation to reflect above changes to libglabels API.
238 * src/glabels-batch.c:
240 * src/mini-preview-pixbuf-cache.c:
243 * src/template-designer.c:
244 * src/wdgt-media-select.c:
245 * src/wdgt-mini-preview.c:
246 * src/wdgt-rotate-label.c:
247 * src/xml-label-04.c:
249 Reconciled usage with above libglabels API changes.
251 2007-10-21 Jim Evins <evins@snaught.com>
253 * data/glade/wdgt-media-select.glade:
254 * src/wdgt-media-select.c:
255 Added brand to filter settings.
257 2007-10-21 Jim Evins <evins@snaught.com>
259 * data/dtd/glabels-2.2.dtd:
260 Forgot to replace Alias name attribute with brand and part attributes.
261 * data/templates/avery-iso-templates.xml:
262 * data/templates/avery-other-templates.xml:
263 * data/templates/avery-us-templates.xml:
264 * data/templates/misc-iso-templates.xml:
265 * data/templates/misc-other-templates.xml:
266 * data/templates/misc-us-templates.xml:
267 * data/templates/zweckform-iso-templates.xml:
268 Replaced all name attributes with brand/part attribute pairs.
270 2007-10-20 Jim Evins <evins@snaught.com>
272 * src/stock-pixmaps/*.png
273 Updated icons to use Tango color palette.
275 2007-10-20 Jim Evins <evins@snaught.com>
277 * data/dtd/Makefile.am:
278 * data/dtd/glabels-2.0.dtd:
279 * data/dtd/glabels-2.2.dtd:
280 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
282 * libglabels/template.c:
283 * libglabels/template.h:
284 * libglabels/xml-template.c:
286 Added brand and part attributes to template and alias structures and nodes.
289 * src/mini-preview-pixbuf-cache.c:
290 * src/template-designer.c:
291 * src/wdgt-media-select.c:
292 Use modified libglabels API.
293 * docs/libglabels/libglabels-decl-list.txt:
294 * docs/libglabels/libglabels-sections.txt:
295 * docs/libglabels/libglabels-undocumented.txt:
296 * docs/libglabels/tmpl/template-construction.sgml:
297 * docs/libglabels/tmpl/template-db.sgml:
298 * docs/libglabels/tmpl/template-struct.sgml:
299 Update libglabels documentation to reflect above modifications.
301 2007-10-14 Jim Evins <evins@snaught.com>
303 * docs/libglabels/libglabels-decl-list.txt:
304 * docs/libglabels/libglabels-sections.txt:
305 * docs/libglabels/libglabels-undocumented.txt:
306 * docs/libglabels/tmpl/category.sgml:
307 * libglabels/category.c:
308 * libglabels/category.h:
309 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
310 parity with paper functions.
312 2007-10-12 Jim Evins <evins@snaught.com>
314 * docs/libglabels/libglabels-decl-list.txt:
315 * docs/libglabels/libglabels-sections.txt:
316 * docs/libglabels/libglabels-undocumented.txt:
317 * docs/libglabels/tmpl/category.sgml:
318 * docs/libglabels/tmpl/enums.sgml:
319 * docs/libglabels/tmpl/libglabels-unused.sgml:
320 * docs/libglabels/tmpl/paper.sgml:
321 * docs/libglabels/tmpl/template-struct.sgml:
323 * libglabels/template.c:
324 * libglabels/template.h:
325 Another pass at fleshing out the libglabels documentation.
326 * src/cairo-label-path.c:
327 * src/cairo-markup-path.c:
329 * src/mini-preview-pixbuf.c:
333 * src/wdgt-media-select.c:
334 * src/wdgt-mini-preview.c:
335 * src/wdgt-print-copies.c:
336 * src/wdgt-print-merge.c:
337 * src/wdgt-rotate-label.c:
338 Removed lgl_template_get_first_frame() from libglabels API and all references.
340 2007-10-11 Jim Evins <evins@snaught.com>
342 Extended checks for deprecated symbols.
343 * libglabels/template.c:
344 Removed g_strcasecmp references, which are deprecated.
346 2007-10-09 Jim Evins <evins@snaught.com>
348 * src/merge-evolution.c:
349 Create address book if it does not exist. Also, be more robust about handling
350 error conditions -- don't just assume GError has been set.
352 2007-10-08 Jim Evins <evins@snaught.com>
354 * libglabels/template.c:
355 * libglabels/xml-template.c:
356 * src/template-designer.c:
357 Missed some symbols with libglabels API work.
359 2007-10-01 Jim Evins <evins@snaught.com>
361 * docs/libglabels/libglabels-decl-list.txt:
362 * docs/libglabels/libglabels-docs.sgml:
363 * docs/libglabels/libglabels-sections.txt:
364 * docs/libglabels/libglabels-undocumented.txt:
365 * docs/libglabels/tmpl/category.sgml:
366 * docs/libglabels/tmpl/enums.sgml:
367 * docs/libglabels/tmpl/init.sgml:
368 * docs/libglabels/tmpl/libglabels-unused.sgml:
369 * docs/libglabels/tmpl/paper.sgml:
370 * docs/libglabels/tmpl/template-construction.sgml:
371 * docs/libglabels/tmpl/template-db.sgml:
372 * docs/libglabels/tmpl/template-misc.sgml:
373 * docs/libglabels/tmpl/template-struct.sgml:
374 * docs/libglabels/tmpl/template.sgml:
375 * docs/libglabels/tmpl/xml-category.sgml:
376 * docs/libglabels/tmpl/xml-template.sgml:
377 * libglabels/category.h:
379 * libglabels/libglabels-private.h:
380 * libglabels/paper.h:
381 * libglabels/template.c:
382 * libglabels/template.h:
383 * libglabels/xml-template.h:
384 Basic documentation framework for libglabels updated. This still needs some
387 2007-09-27 Jim Evins <evins@snaught.com>
389 * docs/libglabels/libglabels-decl-list.txt:
390 * docs/libglabels/libglabels-docs.sgml:
391 * docs/libglabels/libglabels-sections.txt:
392 * docs/libglabels/libglabels-undocumented.txt:
393 * docs/libglabels/tmpl/enums.sgml:
394 * docs/libglabels/tmpl/init.sgml:
395 * docs/libglabels/tmpl/libglabels-unused.sgml:
396 * docs/libglabels/tmpl/paper.sgml:
397 * docs/libglabels/tmpl/template.sgml:
398 * docs/libglabels/tmpl/xml-paper.sgml:
399 * docs/libglabels/tmpl/xml-template.sgml:
400 * docs/libglabels/tmpl/xml.sgml:
401 * libglabels/Makefile.am:
402 * libglabels/category.c:
403 * libglabels/category.h:
404 * libglabels/enums.h:
407 * libglabels/libglabels-private.h:
408 * libglabels/libglabels.h:
409 * libglabels/paper.c:
410 * libglabels/paper.h:
411 * libglabels/template.c:
412 * libglabels/template.h:
413 * libglabels/xml-category.c:
414 * libglabels/xml-category.h:
415 * libglabels/xml-paper.c:
416 * libglabels/xml-paper.h:
417 * libglabels/xml-template.c:
418 * libglabels/xml-template.h:
421 * src/cairo-label-path.c:
422 * src/cairo-label-path.h:
423 * src/cairo-markup-path.c:
424 * src/cairo-markup-path.h:
426 * src/glabels-batch.c:
428 * src/label-object.c:
431 * src/mini-preview-pixbuf-cache.c:
432 * src/mini-preview-pixbuf.c:
433 * src/mini-preview-pixbuf.h:
434 * src/prefs-dialog.c:
441 * src/template-designer.c:
442 * src/view-barcode.c:
444 * src/view-ellipse.c:
448 * src/wdgt-media-select.c:
449 * src/wdgt-mini-preview.c:
450 * src/wdgt-mini-preview.h:
451 * src/wdgt-print-copies.c:
452 * src/wdgt-print-merge.c:
453 * src/wdgt-rotate-label.c:
454 * src/xml-label-04.c:
456 Major cleanup of libglabels API -- this breaks API compatibility with older
457 development and stable versions -- as far as I know, there are currently
458 no external users of this library yet.
460 2007-09-14 Jim Evins <evins@snaught.com>
465 * src/label-object.c:
466 * src/label-object.h:
467 * src/label-barcode.c:
468 * src/label-ellipse.c:
471 * src/view-barcode.c:
473 * src/view-ellipse.c:
477 Better separation of model from view.
479 2007-08-21 Jim Evins <evins@snaught.com>
481 * src/print-op.c: (create_custom_widget_cb):
482 Fix problem with force_outline_flag -- don't override with default.
484 2007-08-21 Jim Evins <evins@snaught.com>
486 * data/dtd/glabels-2.0.dtd:
487 * libglabels/template.c:
488 * libglabels/template.h:
489 * libglabels/xml-template.c:
490 * src/cairo-markup-path.c:
491 Added "Markup-rect" element to template format.
493 2007-08-21 Jim Evins <evins@snaught.com>
496 Changed version to 2.1.pre5svn.
497 * src/view.c: (draw_markup_layer):
498 Do a stroke for each markup path, otherwise multiple markups
501 2007-08-17 Jim Evins <evins@snaught.com>
504 Bump libglabels revision numbers for 2.1.4 release.
506 2007-08-16 Jim Evins <evins@snaught.com>
509 Include subdir iec16022-0.2.1.
513 Preparation for 2.1.4.
516 2007-08-11 Jim Evins <evins@snaught.com>
522 Added Esperanto translation. Provided by Antonio C.
523 Codazzi "la Filozofo" <f_sophia@libero.it>.
525 Updated French translation. Provided by Claude Paroz
526 <claude@2xlibre.net>.
528 Updated to reflect above translations.
530 2007-08-11 Jim Evins <evins@snaught.com>
533 * data/templates/avery-iso-templates.xml:
534 * data/templates/avery-us-templates.xml:
535 * data/templates/misc-iso-templates.xml:
536 * data/templates/misc-other-templates.xml:
537 * data/templates/misc-us-templates.xml:
538 * data/templates/zweckform-iso-templates.xml:
539 Caught up with backlog of template submissions.
541 2007-08-10 Jim Evins <evins@snaught.com>
543 * src/bc-postnet.c: (gl_barcode_postnet_new):
545 Added support for Brazilian CEPNet barcodes. This is simply an
546 instance of the US POSTNET format with 8 digits. Patch supplied
547 by Mário Meyer in bug # 1768792.
549 Updated acknowledgments to reflect above patch and recent shuffling
550 of underlying technology.
552 2007-05-13 Jim Evins <evins@snaught.com>
554 * src/merge-text.c: (parse_line), (parse_field):
555 Remove leading and trailing spaces from CSV fields, unless quoted.
557 2007-05-09 Jim Evins <evins@snaught.com>
559 * src/object-editor-bc-page.c:
560 * src/object-editor-data-page.c:
561 * src/object-editor-fill-page.c:
562 * src/object-editor-image-page.c:
563 * src/object-editor-line-page.c:
564 * src/object-editor-lsize-page.c:
565 * src/object-editor-position-page.c:
566 * src/object-editor-private.h:
567 * src/object-editor-shadow-page.c:
568 * src/object-editor-size-page.c:
569 * src/object-editor-text-page.c:
570 * src/object-editor.c:
571 * src/prefs-dialog.c:
572 * src/template-designer.c:
573 * src/ui-property-bar.c:
574 * src/wdgt-media-select.c:
575 Replaced signal block/unblock pairs with simple flags. This reduces
576 some code clutter, hopefully making it easier to read.
578 2007-05-05 Jim Evins <evins@snaught.com>
580 * src/template-designer.c: (apply_cb):
581 Add new template to mini-preview pixbuf cache.
583 2007-05-03 Jim Evins <evins@snaught.com>
585 * src/label-image.c: (gl_label_image_init), (draw_object):
586 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
589 2007-05-02 Jim Evins <evins@snaught.com>
591 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
592 (button_release_event_cb):
593 Removed attempt at rendering optimization by clipping the updates
594 to areas affected -- this actually seemed to hurt update performance.
596 2007-04-30 Jim Evins <evins@snaught.com>
599 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
600 (gl_color_node_equal), (gl_color_node_expand):
601 * src/label-barcode.c: (draw_object):
602 * src/label-box.c: (draw_object), (draw_shadow):
603 * src/label-ellipse.c: (draw_object), (draw_shadow):
604 * src/label-line.c: (draw_object), (draw_shadow):
605 * src/label-text.c: (draw_object), (draw_shadow):
606 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
607 * src/wdgt-rotate-label.c: (drawingarea_update):
608 Some cleanup to color related code.
610 2007-04-30 Jim Evins <evins@snaught.com>
613 Added glLabelRegion structure type.
614 * src/label-object.c: (gl_label_object_get_extent):
615 * src/label-object.h:
616 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
618 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
619 (gl_view_select_region), (gl_view_align_selection_left),
620 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
621 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
622 (gl_view_align_selection_vcenter),
623 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
624 (gl_view_move_selection), (gl_view_can_selection_text),
625 (motion_notify_event_cb), (button_press_event_cb),
626 (button_release_event_cb):
627 - Reconcile with new gl_label_object_get_extent() API.
628 - Use glLabelRegion for view->select_region.
629 - Added gl_view_update_region() to clip updates to region.
630 - Use gl_view_update_region() during manipulation of view->select_region.
632 2007-04-26 Jim Evins <evins@snaught.com>
634 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
635 (draw_label_outline):
636 * src/print.c: (print_crop_marks), (draw_outline):
637 * src/view-object.c: (gl_view_object_draw_handles):
638 * src/view.c: (draw_bg_layer), (draw_grid_layer),
639 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
640 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
641 * src/wdgt-rotate-label.c: (drawingarea_update):
642 Added defines for various magic numbers.
644 2007-04-25 Jim Evins <evins@snaught.com>
646 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
647 Scale text down. Cairo seems to render text too large.
649 2007-04-25 Jim Evins <evins@snaught.com>
652 * src/view.c: (gl_view_update), (expose_cb),
653 (motion_notify_event_cb), (button_press_event_cb),
654 (button_release_event_cb):
655 - Try not to let updates get backed up.
656 - Grab pointer when doing any drag operations.
658 2007-04-11 Jim Evins <evins@snaught.com>
660 * src/cairo-label-path.c: (gl_cairo_label_path),
661 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
662 (gl_cairo_cd_label_path):
663 * src/cairo-label-path.h:
664 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
665 (draw_label_outline):
666 * src/print.c: (draw_outline), (clip_to_outline):
667 * src/view.c: (draw_bg_layer), (draw_fg_layer):
668 * src/wdgt-mini-preview.c: (draw_labels):
669 * src/wdgt-rotate-label.c: (drawingarea_update):
670 Modified to universally use gl_cairo_label_path() to create paths
671 for labels. Added shadow to mini preview in rotate widget.
673 2007-04-10 Jim Evins <evins@snaught.com>
675 * libglabels/template.h:
676 * libglabels/template.c: (gl_template_get_name_list_unique),
677 (gl_template_get_name_list_all), (gl_template_from_name):
678 Modified libglabels to allow you to get a list of all template names
679 including all aliases or just a list of primary names of each unique
682 * src/file.c: (gl_file_properties):
683 * src/glabels.c: (main):
684 * src/mini-preview-pixbuf-cache.h:
685 * src/mini-preview-pixbuf-cache.c:
686 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
687 (filter_changed_cb), (load_list):
688 Added mini-preview pixbuf cache, so that only one mini-preview is
689 needed for a unique template and gets reused for all aliases. These
690 pixbufs will also live for the life of the program so they are not
691 rebuilt everytime a new label dialog is invoked.
692 * src/mini-preview-pixbuf.c: (draw_paper),
693 (draw_rect_label_outline), (draw_round_label_outline),
694 (draw_cd_label_outline):
695 Removed some comment artifacts.
697 2007-04-04 Jim Evins <evins@snaught.com>
699 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
700 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
701 (draw_round_label_outline), (draw_cd_label_outline):
702 * src/wdgt-media-select.c: (load_list):
703 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
704 Cosmetic enhancments to mini previews.
706 2007-04-04 Jim Evins <evins@snaught.com>
708 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
709 (gl_ui_property_bar_construct):
710 Save copy of GladeXML tree so that we don't lose tooltips.
712 2007-04-02 Jim Evins <evins@snaught.com>
714 * src/merge-properties-dialog.c:
715 * src/new-label-dialog.c:
716 * src/object-editor.c:
717 * src/prefs-dialog.c:
719 * src/template-designer.c:
720 * src/ui-property-bar.c:
721 * src/wdgt-media-select.c:
722 * src/wdgt-rotate-label.c:
723 Fixed several memory leaks.
725 2007-04-01 Jim Evins <evins@snaught.com>
727 * src/label-text.c: (gl_label_text_init), (copy),
728 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
729 (set_font_family), (set_font_size), (set_font_weight),
730 (set_font_italic_flag), (set_text_alignment),
731 (set_text_line_spacing):
732 Cache object size, so that expensive extent calculations are only done
735 2007-03-30 Jim Evins <evins@snaught.com>
737 * src/prefs-model.c: (gl_prefs_model_load_settings):
738 Default to an unlimited list of recent documents, since this parameter
739 seems to be pre-filter anyway.
741 2007-03-30 Jim Evins <evins@snaught.com>
743 * src/label-box.c: (draw_shadow):
744 * src/label-ellipse.c: (draw_shadow):
745 Added missing shadow fill.
747 2007-03-28 Jim Evins <evins@snaught.com>
749 * src/ui-commands.c: (gl_ui_cmd_file_print):
750 Unreferencing the print operation sometimes crashes. Just don't do it
753 2007-03-28 Jim Evins <evins@snaught.com>
755 * src/print-op.c: (gl_print_op_construct),
756 (gl_print_op_get_settings), (gl_print_op_set_settings),
757 (gl_print_op_free_settings), (create_custom_widget_cb):
759 * src/ui-commands.c: (gl_ui_cmd_file_print):
760 * src/window.c: (gl_window_init):
762 Save print settings and custom settings between print operations
765 2007-03-24 Jim Evins <evins@snaught.com>
767 * src/object-editor-image-page.c:
768 (gl_object_editor_prepare_image_page),
769 (gl_object_editor_set_image), (img_selection_changed_cb):
770 Workaround for GtkFileChooserButton bug # 327243. This the root
771 cause for gLabels bug # 1192884. I have actually observed 3 delayed
772 "selection-changed" signals -- the first 2 return NULL -- this is
773 what caused the image to reset to the default followed by setting
774 it back to the original image, trying to fit it into a new bounding
775 box. This sequence of events is much more evident with the new
778 2007-03-23 Jim Evins <evins@snaught.com>
780 Merged all changes from experimental cairo branch to trunk.
781 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
783 2007-03-23 Jim Evins <evins@snaught.com>
785 * src/label-object.h:
786 * src/label-object.c: (gl_label_object_class_init),
787 (gl_label_object_get_raw_size), (gl_label_object_get_size):
788 Created "get_raw_size" method.
789 * src/label-barcode.c: (get_size):
790 * src/xml-label.c: (xml_create_object_text),
791 (xml_create_object_barcode):
792 Use new "get_raw_size" method on label-objects when apropos.
794 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
795 (auto_shrink_font_size):
796 Added "auto shrink" functionality back.
798 2007-03-19 Jim Evins <evins@snaught.com>
800 * src/label-text.c: (draw_object), (draw_shadow):
801 Don't use negative scales in workaround from previous commit.
804 2007-03-18 Jim Evins <evins@snaught.com>
807 Forgot to remove include of xml-lable-191 in previous commit.
808 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
809 Workaround for pango Bug #341481. Render text at device scale,
810 and scale font size accordingly. Also, don't do any hinting.
812 2007-03-18 Jim Evins <evins@snaught.com>
814 * src/cairo-ellipse-path.c:
815 * src/cairo-ellipse-path.h:
816 Forgot to add these new files during last mass commit.
818 2007-03-18 Jim Evins <evins@snaught.com>
821 * src/xml-label-191.c:
822 * src/xml-label-191.h:
823 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
824 so there is no need to keep compatability.
827 * src/cairo-label-path.c:
828 * src/cairo-label-path.h:
829 * src/cairo-markup-path.c:
833 * src/glabels-batch.c:
835 * src/label-barcode.c:
837 * src/label-ellipse.c:
840 * src/label-object.c:
841 * src/label-object.h:
845 * src/merge-properties-dialog.c:
847 * src/new-label-dialog.c:
848 * src/object-editor-bc-page.c:
849 * src/object-editor-data-page.c:
850 * src/object-editor-edit-page.c:
851 * src/object-editor-fill-page.c:
852 * src/object-editor-image-page.c:
853 * src/object-editor-line-page.c:
854 * src/object-editor-private.h:
855 * src/object-editor-shadow-page.c:
856 * src/object-editor-text-page.c:
857 * src/object-editor.c:
858 * src/pixbuf-cache.c:
863 * src/template-designer.c:
865 * src/ui-property-bar.c:
867 * src/view-barcode.c:
869 * src/view-ellipse.c:
876 * src/wdgt-media-select.c:
877 * src/wdgt-print-copies.c:
878 * src/wdgt-print-merge.c:
880 * src/xml-label-04.c:
882 Many changes, including:
883 - Move draw methods from view-*() to label-*().
884 - Use same drawing code for on screen view and printing.
885 - Fix all issues exposed with '-Wall -Werror'.
887 2007-03-14 Jim Evins <evins@snaught.com>
890 * src/cairo-handle-path.c:
891 * src/cairo-handle-path.h:
892 * src/cairo-object-path.c:
893 * src/cairo-object-path.h:
894 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
895 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
897 * src/view-box.c: (gl_view_box_class_init), (draw_object),
898 (draw_shadow), (object_at):
899 * src/view-ellipse.c: (gl_view_ellipse_class_init),
900 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
901 * src/view-image.c: (gl_view_image_class_init), (draw_object),
903 * src/view-line.c: (gl_view_line_class_init), (draw_object),
904 (draw_shadow), (object_at):
905 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
906 (create_handle_path), (gl_view_object_draw_handles),
907 (gl_view_object_handle_at):
909 * src/view-text.c: (gl_view_text_class_init), (draw_object),
910 (draw_shadow), (object_at):
911 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
912 Some restructuring of new code.
914 2007-03-12 Jim Evins <evins@snaught.com>
917 * src/cairo-object-path.c:
918 * src/view-barcode.c:
919 * src/view-barcode.h:
921 Added barcode object support to view.
923 2007-03-12 Jim Evins <evins@snaught.com>
929 * src/cairo-object-path.c:
930 * src/cairo-object-path.h:
932 * src/view-ellipse.c:
937 Added text object support to view. Added object_at method to all
940 2007-03-11 Jim Evins <evins@snaught.com>
943 * src/cairo-object-path.c: (gl_cairo_object_path),
944 (gl_cairo_image_object_path):
945 * src/view-image.c: (gl_view_image_class_init),
946 (gl_view_image_finalize), (gl_view_image_new),
947 (update_editor_from_label_cb), (draw),
948 (gl_view_image_get_create_cursor),
949 (gl_view_image_create_button_press_event),
950 (gl_view_image_create_motion_event),
951 (gl_view_image_create_button_release_event):
953 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
954 (selection_received_cb), (motion_notify_event_cb),
955 (button_press_event_cb), (button_release_event_cb):
956 Added image object support to view.
958 2007-03-11 Jim Evins <evins@snaught.com>
961 * src/cairo-object-path.c: (gl_cairo_object_path),
962 (gl_cairo_line_object_path):
963 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
964 (update_object_from_editor_cb), (update_editor_from_object_cb),
965 (update_editor_from_label_cb), (draw),
966 (gl_view_line_get_create_cursor),
967 (gl_view_line_create_button_press_event),
968 (gl_view_line_create_motion_event),
969 (gl_view_line_create_button_release_event):
971 * src/view-object.c: (gl_view_object_resize_event):
972 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
973 (selection_received_cb), (motion_notify_event_cb),
974 (button_press_event_cb), (button_release_event_cb):
975 Added line object support to view.
976 * src/cairo-handle-path.c:
977 Made handles slightly larger.
980 2007-03-11 Jim Evins <evins@snaught.com>
983 * src/cairo-handle-path.c:
984 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
985 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
986 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
987 (gl_cairo_markup_margin_round_path),
988 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
989 * src/cairo-object-path.c: (gl_cairo_object_path),
990 (gl_cairo_ellipse_object_path):
991 * src/label-object.c: (gl_label_object_rotate):
994 * src/view-ellipse.c: (gl_view_ellipse_class_init),
995 (gl_view_ellipse_new), (update_object_from_editor_cb),
996 (update_editor_from_object_cb), (update_editor_from_label_cb),
997 (draw), (gl_view_ellipse_get_create_cursor),
998 (gl_view_ellipse_create_button_press_event),
999 (gl_view_ellipse_create_motion_event),
1000 (gl_view_ellipse_create_button_release_event):
1001 * src/view-ellipse.h:
1002 * src/view-object.c:
1003 * src/view-object.h:
1004 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1005 (select_object_real), (selection_received_cb),
1006 (motion_notify_event_cb), (button_press_event_cb),
1007 (button_release_event_cb):
1009 Added ellipse object support to view. Plus other cleanup.
1011 2007-03-11 Jim Evins <evins@snaught.com>
1014 * src/view-box.c: (gl_view_box_get_create_cursor),
1015 (gl_view_box_create_button_press_event),
1016 (gl_view_box_create_motion_event),
1017 (gl_view_box_create_button_release_event):
1018 * src/view-object.c: (gl_view_object_set_view),
1019 (gl_view_object_handle_at):
1021 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1022 (motion_notify_event_cb), (button_press_event_cb),
1023 (button_release_event_cb), (key_press_event_cb):
1024 Added creation code for box object.
1026 2007-03-09 Jim Evins <evins@snaught.com>
1028 * src/view-object.c: (gl_view_object_resize_event):
1029 * src/view-object.h:
1030 * src/view.c: (motion_notify_event_cb):
1031 Fix bugs with resizing transformed objects.
1032 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1033 * src/cairo-object-path.c: (gl_cairo_object_path):
1034 * src/cairo-object-path.h:
1035 * src/label-object.c: (gl_label_object_init),
1036 (gl_label_object_dup), (gl_label_object_get_extent),
1037 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1038 (gl_label_object_rotate), (gl_label_object_set_matrix),
1039 (gl_label_object_get_matrix):
1040 * src/label-object.h:
1041 * src/print.c: (draw_object):
1043 * src/view-highlight.c:
1044 * src/view-highlight.h:
1045 * src/xml-label-191.c: (xml191_parse_object):
1046 * src/xml-label.c: (xml_parse_affine_attrs),
1047 (xml_create_affine_attrs):
1048 Replace libart affine matrices with cairo matrices.
1050 2007-03-08 Jim Evins <evins@snaught.com>
1052 * src/view-object.h:
1053 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1054 * src/view-object.c: (gl_view_object_handle_at),
1055 (gl_view_object_resize_event):
1056 Added resize code -- still a bit buggy.
1058 2007-03-07 Jim Evins <evins@snaught.com>
1061 * src/cairo-handle-path.c:
1062 * src/cairo-handle-path.h:
1063 * src/view-box.c: (gl_view_box_new):
1064 * src/view-object.c: (gl_view_object_set_object),
1065 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1066 * src/view-object.h:
1067 * src/view.c: (draw_highlight_layer), (select_object_real),
1068 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1069 (button_press_event_cb), (button_release_event_cb),
1070 (key_press_event_cb):
1072 Added beginnings of object resize handles.
1074 2007-03-07 Jim Evins <evins@snaught.com>
1077 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1078 (gl_view_object_create_mode), (motion_notify_event_cb),
1079 (button_press_event_cb), (button_release_event_cb),
1080 (key_press_event_cb):
1081 Added move selection support.
1083 2007-03-05 Jim Evins <evins@snaught.com>
1085 * src/cairo-object-path.c: (gl_cairo_object_path):
1086 * src/view-object.c: (gl_view_object_draw),
1087 (gl_view_object_draw_highlight):
1088 * src/view.c: (view_object_at), (motion_notify_event_cb),
1089 (button_press_event_cb), (button_release_event_cb):
1090 Additional refinements to select logic.
1092 2007-03-05 Jim Evins <evins@snaught.com>
1095 * src/view.c: (gl_view_init), (gl_view_construct),
1096 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1097 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1098 (button_press_event_cb), (button_release_event_cb):
1099 Added initial select region support and context menu.
1101 2007-03-04 Jim Evins <evins@snaught.com>
1112 * src/ui-commands.c:
1115 * src/view-object.c:
1116 * src/view-object.h:
1119 * src/wdgt-print-copies.c:
1120 * src/wdgt-print-merge.c:
1122 Initial port to a raw Cairo canvas. This removes all remaining
1123 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1124 the view is becoming a canvas widget in its own right. Still needs
1126 * src/cairo-label-path.c:
1127 * src/cairo-label-path.h:
1128 * src/cairo-markup-path.c:
1129 * src/cairo-markup-path.h:
1130 * src/cairo-object-path.c:
1131 * src/cairo-object-path.h:
1132 New files to support cairo canvas.
1133 * src/canvas-hacktext.c:
1134 * src/canvas-hacktext.h:
1137 2007-02-18 Jim Evins <evins@snaught.com>
1140 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1142 2007-02-14 Jim Evins <evins@snaught.com>
1146 * src/bc-gnubarcode.c:
1147 * src/bc-gnubarcode.h:
1152 * src/canvas-hacktext.c:
1153 * src/canvas-hacktext.h:
1160 * src/label-barcode.c:
1161 * src/label-barcode.h:
1164 * src/label-ellipse.c:
1165 * src/label-ellipse.h:
1166 * src/label-image.c:
1167 * src/label-image.h:
1170 * src/label-object.c:
1171 * src/label-object.h:
1176 * src/merge-evolution.c:
1177 * src/merge-evolution.h:
1180 * src/merge-properties-dialog.c:
1181 * src/merge-properties-dialog.h:
1184 * src/merge-vcard.c:
1185 * src/merge-vcard.h:
1188 * src/mini-preview-pixbuf.h:
1189 * src/new-label-dialog.c:
1190 * src/new-label-dialog.h:
1191 * src/object-editor-bc-page.c:
1192 * src/object-editor-data-page.c:
1193 * src/object-editor-edit-page.c:
1194 * src/object-editor-fill-page.c:
1195 * src/object-editor-image-page.c:
1196 * src/object-editor-line-page.c:
1197 * src/object-editor-lsize-page.c:
1198 * src/object-editor-position-page.c:
1199 * src/object-editor-private.h:
1200 * src/object-editor-size-page.c:
1201 * src/object-editor-text-page.c:
1202 * src/object-editor.c:
1203 * src/object-editor.h:
1204 * src/pixbuf-cache.c:
1205 * src/pixbuf-cache.h:
1206 * src/prefs-dialog.c:
1207 * src/prefs-dialog.h:
1208 * src/prefs-model.c:
1209 * src/prefs-model.h:
1215 * src/template-designer.c:
1218 * src/ui-commands.c:
1219 * src/ui-commands.h:
1220 * src/ui-property-bar.c:
1221 * src/ui-property-bar.h:
1230 * src/view-barcode.c:
1231 * src/view-barcode.h:
1234 * src/view-ellipse.c:
1235 * src/view-ellipse.h:
1236 * src/view-highlight.c:
1237 * src/view-highlight.h:
1242 * src/view-object.c:
1243 * src/view-object.h:
1248 * src/wdgt-chain-button.c:
1249 * src/wdgt-chain-button.h:
1250 * src/wdgt-media-select.c:
1251 * src/wdgt-mini-preview.c:
1252 * src/wdgt-print-copies.c:
1253 * src/wdgt-print-copies.h:
1254 * src/wdgt-print-merge.c:
1255 * src/wdgt-print-merge.h:
1256 * src/wdgt-rotate-label.c:
1258 * src/xml-label-04.c:
1259 * src/xml-label-04.h:
1260 * src/xml-label-191.c:
1261 * src/xml-label-191.h:
1265 Assorted superficial cleanup. Including:
1266 - Use G_DEFINE_TYPE for all objects.
1267 - Reconcile style of all class initializer functions
1268 - Reconcile style of all finalize functions
1269 - Add emacs mode line to all source files
1271 2007-02-06 Jim Evins <evins@snaught.com>
1273 Assorted cleanup and removal of deprecated items.
1278 Removed annoying splash screen.
1279 * src/glabels-batch.c: (main):
1280 * src/glabels.c: (main):
1281 Converted from popt to GOption.
1282 * src/object-editor-shadow-page.c:
1283 (gl_object_editor_set_shadow_state):
1284 Removed deprecated method on GtkToggleButton.
1285 * src/ui-commands.c: (gl_ui_cmd_help_about):
1286 Removed dependency on libgnomui/qnome-url.h.
1287 * src/template-designer.c:
1288 Removed dependency on libgnome/gnome-program.h.
1291 2007-02-04 Jim Evins <evins@snaught.com>
1295 * src/prefs-model.c:
1296 * src/print.c: (draw_text_object):
1297 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1298 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1300 2007-02-04 Jim Evins <evins@snaught.com>
1302 * src/wdgt-mini-preview.c:
1303 * src/wdgt-mini-preview.h:
1304 Ported widget from GnomeCanvas to Cairo.
1306 2007-02-03 Jim Evins <evins@snaught.com>
1308 * data/glade/template-designer.glade:
1309 * src/template-designer.c:
1310 * src/template-designer.h:
1311 Ported GnomeDruid to GtkAssistant. Since libglade does not
1312 yet support the GtkAssistant and we derive directly from
1313 the Assistant, the pages are layed out in a GtkNotebook in
1314 the glade description -- we then append each page to the
1317 2007-01-25 Jim Evins <evins@snaught.com>
1319 * data/glade/object-editor.glade:
1320 Added dummy page to notebook, to prevent shadow page from
1321 becoming the default current page at creation.
1322 * src/view-box.c: (construct_properties_editor):
1323 * src/view-ellipse.c: (construct_properties_editor):
1324 * src/view-line.c: (construct_properties_editor):
1325 * src/view-text.c: (construct_properties_editor):
1326 Reconciled order of params.
1328 2007-01-19 Jim Evins <evins@snaught.com>
1330 * src/label-barcode.h:
1331 * src/label-object.c: (gl_label_object_set_font_weight),
1332 (gl_label_object_set_text_alignment),
1333 (gl_label_object_get_font_weight),
1334 (gl_label_object_get_text_alignment):
1335 * src/label-object.h:
1336 * src/label-text.c: (gl_label_text_instance_init), (copy),
1337 (get_size), (set_font_family), (set_font_weight),
1338 (set_text_alignment), (get_font_weight), (get_text_alignment):
1340 * src/object-editor-text-page.c:
1341 (gl_object_editor_prepare_text_page),
1342 (gl_object_editor_set_font_family),
1343 (gl_object_editor_set_font_weight),
1344 (gl_object_editor_get_font_weight),
1345 (gl_object_editor_set_text_alignment),
1346 (gl_object_editor_get_text_alignment),
1347 (gl_object_editor_set_text_color):
1348 * src/object-editor.h:
1349 * src/prefs-dialog.c: (construct_object_page),
1350 (update_object_page_from_prefs), (update_prefs_from_object_page):
1351 * src/prefs-model.c: (gl_prefs_model_save_settings),
1352 (gl_prefs_model_load_settings):
1353 * src/prefs-model.h:
1354 * src/print.c: (draw_text_object):
1355 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1356 (reset_to_default_properties), (update_text_properties),
1357 (font_bold_toggled_cb), (text_align_toggled_cb):
1359 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1360 (gl_util_weight_to_string), (gl_util_string_to_weight),
1361 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1363 * src/view-text.c: (update_object_from_editor_cb),
1364 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1365 * src/view.c: (gl_view_set_selection_text_alignment),
1366 (gl_view_set_default_text_alignment),
1367 (gl_view_get_default_text_alignment):
1369 * src/xml-label-04.c: (xml04_parse_text_props):
1370 * src/xml-label-191.c: (xml191_parse_text_props):
1371 * src/xml-label.c: (xml_parse_object_text),
1372 (xml_parse_toplevel_span), (xml_create_object_text),
1373 (xml_create_toplevel_span):
1374 Converted all model internals to Pango. GnomeFont remains in
1375 view until GnomeCanvas can be replaced with a cairo-based canvas.
1377 2007-01-17 Jim Evins <evins@snaught.com>
1383 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1384 (gl_wdgt_print_copies_construct):
1385 * src/wdgt-print-copies.h:
1386 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1387 (gl_wdgt_print_merge_construct):
1388 * src/wdgt-print-merge.h:
1389 Removed all remaining HIG wrapper widgets.
1391 2007-01-16 Jim Evins <evins@snaught.com>
1394 * src/print-dialog.c:
1395 * src/print-dialog.h:
1398 * src/template-designer.c: (print_test_cb):
1399 * src/ui-commands.c: (gl_ui_cmd_file_print):
1401 Renamed PrintDialog to PrintOp. Added constructor for batch
1403 * src/glabels-batch.c: (main):
1404 Converted to use new PrintOp object for printing.
1406 2007-01-15 Jim Evins <evins@snaught.com>
1408 * data/glade/Makefile.am:
1409 * data/glade/print-custom-widget.glade:
1410 * src/print-dialog.c:
1411 * src/print-dialog.h:
1414 * src/template-designer.c: (print_test_cb):
1415 * src/ui-commands.c: (gl_ui_cmd_file_print):
1416 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1417 * src/wdgt-print-merge.h:
1418 * src/window.c: (gl_window_init):
1420 Initial conversion to GtkPrintOperation.
1422 - Remove font and other libgnomeprint[ui] from elsewhere
1423 - Add batch initialization of print operation
1425 2007-01-08 Jim Evins <evins@snaught.com>
1427 Updated dependencies. Set version to 2.1.pre4cvs.
1429 2007-01-03 Jim Evins <evins@snaught.com>
1431 * src/recent-files/*
1432 Removed EggRecent stuff.
1438 * src/ui-commands.c:
1439 * src/ui-commands.h:
1441 Ported from EggRecent to GtkRecentManager.
1444 2007-01-02 Jim Evins <evins@snaught.com>
1447 * iec16022-0.2.1/BUGS:
1448 * iec16022-0.2.1/CHANGELOG:
1449 * iec16022-0.2.1/CREDITS:
1450 * iec16022-0.2.1/INSTALL:
1451 * iec16022-0.2.1/LICENSE:
1452 * iec16022-0.2.1/Makefile.am:
1453 * iec16022-0.2.1/Makefile.dist:
1454 * iec16022-0.2.1/README:
1455 * iec16022-0.2.1/README.glabels:
1456 * iec16022-0.2.1/TODO:
1457 * iec16022-0.2.1/iec16022.1:
1458 * iec16022-0.2.1/iec16022.c:
1459 * iec16022-0.2.1/iec16022ecc200.c:
1460 * iec16022-0.2.1/iec16022ecc200.h:
1461 * iec16022-0.2.1/image.c:
1462 * iec16022-0.2.1/image.h:
1463 * iec16022-0.2.1/reedsol.c:
1464 * iec16022-0.2.1/reedsol.h:
1465 * iec16022-0.2.1/test/testsuite-example.bin:
1466 * iec16022-0.2.1/test/testsuite-example.eps:
1467 * iec16022-0.2.1/test/testsuite-example.hex:
1468 * iec16022-0.2.1/test/testsuite-example.png:
1469 * iec16022-0.2.1/test/testsuite-example.text:
1470 * iec16022-0.2.1/test/testsuite.sh:
1471 Include modified copy of iec16022-0.2.1 to provide encoding
1472 support for datamatrix 2D barcodes.
1474 * src/bc-iec16022.c:
1475 * src/bc-iec16022.h:
1477 Added initial datamatrix 2D barcode backend to barcode code.
1480 Automatic updates to later versions of these files.
1482 2006-11-28 Jim Evins <evins@snaught.com>
1484 * data/templates/avery-iso-templates.xml:
1485 * data/templates/avery-us-templates.xml:
1486 * data/templates/categories.xml:
1487 * data/templates/misc-iso-templates.xml:
1488 * data/templates/misc-us-templates.xml:
1489 * data/templates/zweckform-iso-templates.xml:
1490 More categorization.
1492 2006-09-12 Jim Evins <evins@snaught.com>
1494 * data/dtd/glabels-2.0.dtd:
1495 * data/templates/Makefile.am:
1496 * data/templates/avery-iso-templates.xml:
1497 * data/templates/avery-other-templates.xml:
1498 * data/templates/avery-us-templates.xml:
1499 * data/templates/categories.xml:
1500 * data/templates/misc-iso-templates.xml:
1501 * data/templates/misc-other-templates.xml:
1502 * data/templates/zweckform-iso-templates.xml:
1503 * data/glade/Makefile.am:
1504 * data/glade/new-label-dialog.glade:
1505 * data/glade/wdgt-media-select.glade:
1506 * data/glade/wdgt-rotate-label.glade:
1507 * libglabels/Makefile.am:
1508 * libglabels/category.c:
1509 * libglabels/category.h:
1510 * libglabels/libglabels.h:
1511 * libglabels/paper.c:
1512 * libglabels/template.c:
1513 * libglabels/template.h:
1514 * libglabels/xml-category.c:
1515 * libglabels/xml-category.h:
1516 * libglabels/xml-template.c:
1517 Added support for category meta data.
1520 * src/mini-preview-pixbuf.c:
1521 * src/mini-preview-pixbuf.h:
1522 * src/new-label-dialog.c:
1523 * src/new-label-dialog.h:
1524 * src/wdgt-media-select.c:
1525 * src/wdgt-media-select.h:
1526 * src/wdgt-rotate-label.c:
1527 * src/wdgt-rotate-label.h:
1528 New "new label" dialog.
1530 2006-05-27 Jim Evins <evins@snaught.com>
1535 Preparation for 2.1.3.
1541 2006-05-22 Jim Evins <evins@snaught.com>
1543 * src/print.c: (draw_barcode_object):
1544 Don't print "Invalid barcode data" if data field is empty. Patch provided
1545 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1547 Added acknowledgment for above patch.
1548 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1549 * src/bc-postnet.c: (postnet_code):
1550 Removed "Invalid barcode data" warnings from stderr.
1551 * src/view-barcode.c: (draw_barcode):
1552 Draw box around barcode extent if data empty or invalid. Center a
1553 message whether the data is empty or invalid in box.
1555 2006-05-22 Jim Evins <evins@snaught.com>
1557 * src/print.c: (draw_text_object):
1558 Check shadow state when printing text.
1560 2006-05-20 Jim Evins <evins@snaught.com>
1562 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1563 (gl_ui_cmd_view_markup_toggle):
1564 Fixed crash when grid or markup have been toggled off during
1565 a previous session. Bug #1434324.
1567 2006-04-05 Jim Evins <evins@snaught.com>
1569 * src/object-editor.c: (gl_object_editor_set_key_names):
1570 Fixed potential crash when freeing empty key list.
1572 2006-03-11 Jim Evins <evins@snaught.com>
1574 * src/print.c: (draw_text_object):
1575 * src/view-text.c: (gl_view_text_new),
1576 (construct_properties_editor), (update_object_from_editor_cb),
1577 (update_editor_from_object_cb), (update_editor_from_label_cb),
1579 Added shadow support to text object.
1581 2006-02-18 Jim Evins <evins@snaught.com>
1583 * src/print.c: (draw_line_object):
1584 * src/view-line.c: (gl_view_line_new),
1585 (construct_properties_editor), (update_canvas_item_from_object_cb),
1586 (update_object_from_editor_cb), (update_editor_from_object_cb),
1587 (update_editor_from_label_cb):
1588 Added shadow support to line object.
1590 2006-02-16 Jim Evins <evins@snaught.com>
1594 * src/print.c: (draw_ellipse_object):
1595 * src/view-ellipse.c: (gl_view_ellipse_new),
1596 (construct_properties_editor), (update_canvas_item_from_object_cb),
1597 (update_object_from_editor_cb), (update_editor_from_object_cb),
1598 (update_editor_from_label_cb):
1599 Added shadow support to ellipse object.
1601 2006-02-15 Jim Evins <evins@snaught.com>
1603 * src/label-object.c:
1604 Changed default shadow offsets.
1605 * src/view-box.c: (gl_view_box_new):
1606 Simplified gl_view_box_new() so that is does not duplicate code
1607 in update_canvas_item_from_object_cb().
1609 2006-02-07 Jim Evins <evins@snaught.com>
1611 * data/glade/object-editor.glade:
1612 Fixed color groups of color combos.
1614 Added default shadow color.
1615 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1616 Added shadow color group.
1618 2006-02-06 Jim Evins <evins@snaught.com>
1620 * src/object-editor-shadow-page.c:
1621 Forgot to add this file.
1622 * src/view-box.c: (gl_view_box_new),
1623 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1624 Update limits on shadow offset spinbuttons.
1626 2006-01-19 Jim Evins <evins@snaught.com>
1628 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1629 Initialize key_list to NULL.
1630 * data/glade/object-editor.glade:
1634 * src/label-object.c:
1635 * src/label-object.h:
1636 * src/object-editor-fill-page.c:
1637 * src/object-editor-private.h:
1638 * src/object-editor.c:
1639 * src/object-editor.h:
1641 Created infrastructure for shadow support.
1644 Initial shadow support in box object only.
1646 2006-01-05 Jim Evins <evins@snaught.com>
1648 * src/merge-properties-dialog.c: (src_changed_cb):
1649 Be extra paranoid before calling strcmp().
1650 * src/merge.c: (gl_merge_set_src):
1651 Don't make (merge == NULL) a critical error.
1653 2005-12-22 Jim Evins <evins@snaught.com>
1655 * src/glabels-batch.c: (main):
1656 Compile warning free with gcc 4.0.
1658 2005-12-21 Jim Evins <evins@snaught.com>
1661 Updated example RPM spec file.
1663 2005-12-21 Jim Evins <evins@snaught.com>
1667 Preparation for 2.1.2.
1669 2005-12-20 Jim Evins <evins@snaught.com>
1672 Define unique G_LOG_DOMAIN for glabels.
1673 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1674 * src/warning-handler.c: (gl_warning_handler_init),
1676 Register for G_LOG_DOMAIN instead of NULL.
1678 2005-12-10 Jim Evins <evins@snaught.com>
1680 * src/merge-evolution.c:
1681 * src/merge-vcard.c:
1684 2005-12-08 Jim Evins <evins@snaught.com>
1686 * libglabels/paper.c: (read_paper_files_from_dir):
1687 * libglabels/template.c: (gl_template_register),
1688 (read_template_files_from_dir):
1689 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1690 (gl_xml_paper_parse_papers_doc):
1691 * libglabels/xml-template.c:
1692 (gl_xml_template_read_templates_from_file),
1693 (gl_xml_template_parse_templates_doc),
1694 (gl_xml_template_parse_template_node),
1695 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1696 (xml_parse_label_cd_node), (xml_parse_layout_node),
1697 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1698 (xml_parse_markup_circle_node),
1699 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1700 * libglabels/xml.c: (gl_xml_get_prop_length):
1701 Re-classified g_warnings to g_messages.
1703 * src/glabels.c: (main):
1704 * src/warning-handler.c: (gl_warning_handler_init),
1706 * src/warning-handler.h:
1707 Added warning message handler to make sure the user is
1708 presented with appropriate non-fatal errors.
1709 * src/critical-error-handler.c: (critical_error_handler):
1710 Changed exit to abort.
1711 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1712 * src/bc-postnet.c: (postnet_code):
1713 * src/bc.c: (id_to_index), (name_to_index):
1714 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1715 * src/object-editor.c: (gl_object_notebook_construct_valist):
1716 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1717 * src/prefs.c: (gl_prefs_get_units_per_point),
1718 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1719 (gl_prefs_get_units_string):
1720 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1721 * src/splash.c: (gl_splash):
1722 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1723 * src/view-highlight.c: (gl_view_highlight_new),
1724 (highlight_resizable_box_construct), (object_changed_cb),
1725 (view_scale_changed_cb):
1726 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1727 (draw_markup_layer), (draw_markup_margin),
1728 (gl_view_object_create_mode), (canvas_event),
1729 (selection_received_cb):
1730 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1731 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1732 * src/xml-label-04.c: (gl_xml_label_04_parse),
1733 (xml04_parse_media_description), (xml04_parse_text_props),
1734 (xml04_parse_barcode_props):
1735 * src/xml-label-191.c: (gl_xml_label_191_parse),
1736 (xml191_parse_objects), (xml191_parse_object),
1737 (xml191_parse_text_props), (xml191_parse_image_props),
1738 (xml191_parse_barcode_props), (xml191_parse_data),
1739 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1740 (xml191_parse_markup):
1741 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1742 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1743 (xml_parse_object_text), (xml_parse_object_image),
1744 (xml_parse_object_barcode), (xml_parse_data),
1745 (xml_parse_toplevel_span), (gl_xml_label_save),
1746 (xml_create_objects):
1747 Re-classified g_warnings to g_messages.
1748 * src/merge-evolution.c: (gl_merge_evolution_open),
1749 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1750 Use g_warning to output errors encountered while
1751 communicating with the evolution data server
1752 instead of embedding them in the data.
1754 2005-12-08 Jim Evins <evins@snaught.com>
1756 * libglabels/libglabels-private.h:
1758 * libglabels/paper.c: (read_papers):
1759 * libglabels/template.c: (read_templates):
1760 Made appropriate warnings critical.
1762 * src/critical-error-handler.h:
1763 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1764 (critical_error_handler):
1765 Created critical error handler.
1766 * src/glabels.c: (main):
1767 Register critical error handler.
1768 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1769 * src/object-editor.c: (gl_object_editor_init):
1770 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1771 * src/template-designer.c: (gl_template_designer_init):
1772 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1773 Made appropriate warnings critical.
1775 2005-11-27 Jim Evins <evins@snaught.com>
1777 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1778 (gl_merge_evolution_get_primary_key),
1779 (gl_merge_evolution_get_record):
1780 Don't create "record_key" pseudo-key. Don't populate
1781 fields with null data.
1783 2005-11-25 Jim Evins <evins@snaught.com>
1785 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1786 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1787 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1789 Query EDS for all supported fields. Patch provided by
1790 Austin Henry <ahenry@users.sourceforge.net>.
1792 2005-10-29 Jim Evins <evins@snaught.com>
1794 * src/glabels.c: (main):
1795 * src/label-barcode.c: (gl_label_barcode_finalize):
1796 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1797 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1798 * src/object-editor.c: (gl_object_editor_finalize):
1799 Another pass at valgrinding -- plugged several memory leaks.
1800 * src/view-text.c: (gl_view_text_new),
1801 (update_canvas_item_from_object_cb), (draw_hacktext):
1802 Commented out artifacts of edit-in-place code.
1804 2005-10-28 Jim Evins <evins@snaught.com>
1806 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1807 Fixed use of uninitialized variable. Caught by
1808 d binderman <dcb314@hotmail.com>.
1810 2005-10-27 Jim Evins <evins@snaught.com>
1812 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1813 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1815 Additional cleanup of EDS and vcard backends. Provided by
1816 Austin Henry <ahenry@users.sourceforge.net>.
1818 2005-10-24 Jim Evins <evins@snaught.com>
1822 * src/merge-evolution.c:
1823 * src/merge-evolution.h:
1824 * src/merge-init.c: (gl_merge_init):
1825 * src/merge-properties-dialog.c: (type_changed_cb):
1826 * src/merge-vcard.c:
1827 * src/merge-vcard.h:
1828 * src/ui-commands.c: (gl_ui_cmd_help_about):
1829 Added Evolution Data Server and VCard merge backends. Original patch
1830 provided by Austin Henry <ahenry@users.sourceforge.net>.
1832 Only support EDS and VCard backends if libebook is installed. Allow
1833 user to disable support, even if installed.
1835 2005-10-24 Jim Evins <evins@snaught.com>
1838 * data/templates/avery-iso-templates.xml:
1839 * data/templates/avery-us-templates.xml:
1840 * data/templates/misc-iso-templates.xml:
1841 * data/templates/zweckform-iso-templates.xml:
1842 Collected all template changes and submissions since last
1845 2005-10-23 Jim Evins <evins@snaught.com>
1848 * data/mime/Makefile.am:
1849 Added configure options to disable update-mime-database and
1850 update-desktop-database as part of the install. Patch
1851 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1853 2005-10-23 Jim Evins <evins@snaught.com>
1856 * libglabels/xml.c: (gl_xml_get_prop_string),
1857 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1858 (gl_xml_is_node), (gl_xml_get_node_content):
1859 Added new XML utility functions.
1860 * libglabels/xml-paper.c:
1861 * libglabels/xml-template.c:
1863 Cleanup by using new xml utilities created above.
1864 * libglabels/paper.c: (gl_paper_free):
1865 * src/file.c: (new_response):
1866 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1867 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1868 (gl_pixbuf_cache_get_pixbuf):
1869 * src/ui-property-bar.c:
1870 (gl_ui_property_bar_construct_color_combo):
1871 * src/view-highlight.c: (gl_view_highlight_finalize):
1872 * src/view-image.c: (update_object_from_editor_cb):
1873 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1874 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1875 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1876 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1877 (draw_markup_margin_round), (draw_markup_margin_cd),
1878 (draw_markup_margin_cd_bc):
1879 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1880 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1881 Plugged various memory leaks located with valgrind.
1882 * src/view-image.c: (update_canvas_item_from_object_cb):
1883 Don't allow a width or height of zero when drawing pixbuf.
1885 2005-10-22 Jim Evins <evins@snaught.com>
1887 * libglabels/xml-paper.c:
1888 * libglabels/xml-template.c:
1891 * src/bc-gnubarcode.c:
1892 * src/canvas-hacktext.c:
1894 * src/object-editor-data-page.c:
1895 * src/print-dialog.c:
1898 * src/template-designer.c:
1900 * src/ui-property-bar.c:
1902 * src/view-barcode.c:
1904 * src/view-ellipse.c:
1909 * src/wdgt-media-select.c:
1910 * src/xml-label-04.c:
1911 * src/xml-label-191.c:
1913 Modified to compile warning free with gcc-4.0. Mostly
1914 casting to change signedness of characters. Did not
1915 attack gnu-barcode library yet.
1917 2005-10-22 Jim Evins <evins@snaught.com>
1919 * src/glabels.c: (main):
1920 * src/splash.c: (gl_splash):
1921 Removed some small memory leaks.
1925 2005-09-19 Jim Evins <evins@snaught.com>
1927 * data/glade/property-bar.glade:
1928 Remove items from font_family_combo. This prevents the
1929 double entry after adding text model and list of fonts.
1930 * src/ui-property-bar.c: (reset_to_default_properties):
1931 Free font_family_list.
1933 2005-07-01 Jim Evins <evins@snaught.com>
1936 Updated italian translation (Daniele Medri)
1938 2005-06-26 Jim Evins <evins@snaught.com>
1940 * docs/libglabels/libglabels-decl-list.txt:
1941 Somehow never got checked in before.
1942 * docs/libglabels/libglabels.types:
1943 Removed -- don't need it afterall.
1945 2005-06-20 Jim Evins <evins@snaught.com>
1948 Final prep for 2.1.1 release.
1950 2005-06-20 Jim Evins <evins@snaught.com>
1953 Final preps for 2.1.1 release.
1954 * docs/libglabels/libglabels.types:
1955 Somehow never got checked in before.
1957 Bring up-to-date with recent reorg of ui code.
1960 2005-06-19 Jim Evins <evins@snaught.com>
1962 * src/template-designer.c: (construct_layout_page):
1963 Removed attempt to match background color of mini preview widget to
1966 2005-06-17 Jim Evins <evins@snaught.com>
1968 * help/C/figures/merge-ex2-4.png:
1969 * help/C/glabels.xml:
1970 Fixed spelling error.
1972 2005-06-13 Jim Evins <evins@snaught.com>
1974 * help/C/figures/merge-ex1-1.png:
1975 * help/C/figures/merge-ex1-2.png:
1976 * help/C/figures/merge-ex1-3.png:
1977 * help/C/figures/merge-ex1-4.png:
1978 * help/C/figures/merge-ex2-1.png:
1979 * help/C/figures/merge-ex2-2.png:
1980 * help/C/figures/merge-ex2-3.png:
1981 * help/C/figures/merge-ex2-4.png:
1982 Added figures for document merge tutorial.
1983 * help/C/glabels.xml:
1984 Added document merge tutorial.
1986 2005-05-19 Jim Evins <evins@snaught.com>
1988 * data/glade/merge-properties-dialog.glade:
1989 Fixed irregular spacing.
1990 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1991 (gl_merge_properties_dialog_construct):
1992 Set outer padding and remove separator.
1994 2005-05-18 Jim Evins <evins@snaught.com>
1998 Removed glHigDialog class.
1999 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2000 (gl_file_properties), (create_properties_dialog_widgets):
2001 * src/prefs-dialog.h:
2002 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2003 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2004 * src/print-dialog.h:
2005 * src/prefs-dialog.h:
2006 * src/print-dialog.c: (gl_print_dialog_get_type),
2007 (gl_print_dialog_init), (gl_print_dialog_construct):
2008 Replaced all instances of glHigDialog with GtkDialog.
2010 2005-05-17 Jim Evins <evins@snaught.com>
2014 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2015 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2016 (save_as_response), (gl_file_close):
2017 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2019 2005-05-15 Jim Evins <evins@snaught.com>
2021 * src/ui-commands.h:
2029 A little code reformatting -- no functional changes.
2031 2005-05-14 Jim Evins <evins@snaught.com>
2034 Removed obsolete macros.
2036 Added marshalling template to support new view signal: "context_menu_activate."
2038 * src/view.c: (gl_view_class_init), (gl_view_construct),
2039 (canvas_event_arrow_mode):
2040 - Removed hardcoded context menus and added new signal "context_menu_activate"
2041 to push this up to the uimanager.
2042 - Removed merge properties and print dialogs so that they can be managed with
2043 the window by the uimanager.
2044 * src/merge-properties-dialog.h:
2045 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2046 (gl_merge_properties_dialog_construct):
2047 Changed calling convention of gl_merge_properties_dialog_new() to use
2048 glLabel and GtkWindow instead of view to make more consistent with other
2050 * src/print-dialog.h:
2051 * src/print-dialog.c: (gl_print_dialog_new),
2052 (gl_print_dialog_construct):
2053 Removed last artifact of libbonoboui.
2054 * src/ui-commands.c: (gl_ui_cmd_file_print),
2055 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2056 Reconciled style for launching dialogs.
2057 * src/ui.c: (gl_ui_new):
2058 Added context menus to ui manager.
2059 * src/view-object.c: (item_event_arrow_mode):
2060 No longer try to select objects with right-click.
2062 * src/window.c: (gl_window_init), (gl_window_set_label),
2063 (context_menu_activate_cb):
2064 Context menus and all dialogs are now managed in a consistent way in window
2067 2005-05-11 Jim Evins <evins@snaught.com>
2070 * src/window.c: (gl_window_init), (gl_window_destroy):
2071 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2072 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2073 Moved management of recent_view back from window.c to ui.c -- it just feels
2076 2005-05-10 Jim Evins <evins@snaught.com>
2079 * src/window.c: (gl_window_init):
2081 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2082 (menu_item_select_cb), (menu_item_deselect_cb):
2083 Added GtkStatusbar which displays menu tooltips.
2085 2005-05-09 Jim Evins <evins@snaught.com>
2087 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2092 Removed dependencies on libbonoboui.
2094 * data/ui/Makefile.am:
2095 * data/ui/glabels-ui.xml:
2096 Removed data/ui directory.
2097 * data/glade/Makefile.am:
2098 * data/property-bar.glade:
2099 Added glade description of property-bar for new libglade implementation
2106 * src/ui-commands.h:
2107 * src/ui-commands.c:
2108 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2109 since the distinction between "commands" and "tools" is no longer that clear.
2112 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2113 no longer has knowledge of eggRecent*.
2114 * src/glabels.c: (main):
2115 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2117 * src/object-editor.c: (gl_object_editor_init):
2118 Make sure notebook does not respond to a "show_all" on the parent.
2119 * src/recent-files/Makefile.am:
2120 * src/recent-files/*.[ch]
2121 Updated from latest version of libegg which now has a view based on
2122 GtkUIManager. Removed unused bonobo and gtk views.
2123 * src/ui-property-bar.h:
2124 * src/ui-property-bar.c:
2125 New implementation based on libglade.
2128 Sidebar is now simply a GtkWidget and does not expect to be a part of
2129 a libbonoboui interface.
2134 Converted for use with GtkUIManager.
2137 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2138 to create menus and toolbars.
2140 2005-04-25 Jim Evins <evins@snaught.com>
2142 * data/templates/misc-iso-templates.xml:
2143 Added Fellows 04715 template provided by Steve Saxon.
2145 Updated acknowledgement for above.
2147 2005-04-23 Jim Evins <evins@snaught.com>
2149 * src/util.c: (gl_util_combo_box_set_strings):
2150 Make sure to clear model before loading a new list of strings.
2151 * src/wdgt-media-select.h:
2152 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2153 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2154 (template_combo_changed_cb), (prefs_changed_cb),
2155 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2156 (gl_wdgt_media_select_get_page_size),
2157 (gl_wdgt_media_select_set_page_size):
2158 Replaced the deprecated GtkCombo widget with the new
2161 2005-04-21 Jim Evins <evins@snaught.com>
2163 * data/glade/template-designer.glade:
2164 * src/template-designer.c: (construct_pg_size_page),
2165 (pg_size_page_changed_cb), (build_template):
2166 Replaced the deprecated GtkCombo widget with the new
2169 2005-04-20 Jim Evins <evins@snaught.com>
2171 * data/glade/prefs-dialog.glade:
2172 * src/prefs-dialog.c: (construct_object_page),
2173 (update_object_page_from_prefs), (update_prefs_from_object_page):
2174 Replaced the deprecated GtkCombo widget with the new
2177 2005-04-19 Jim Evins <evins@snaught.com>
2179 * data/glade/object-editor.glade:
2180 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2181 (style_changed_cb), (gl_object_editor_set_bc_style),
2182 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2183 (gl_object_editor_get_bc_color):
2184 * src/object-editor-data-page.c:
2185 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2186 (gl_object_editor_get_data):
2187 * src/object-editor-edit-page.c:
2188 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2189 * src/object-editor-fill-page.c:
2190 (gl_object_editor_prepare_fill_page),
2191 (gl_object_editor_set_fill_color),
2192 (gl_object_editor_get_fill_color):
2193 * src/object-editor-image-page.c:
2194 (gl_object_editor_prepare_image_page),
2195 (gl_object_editor_set_image), (gl_object_editor_get_image):
2196 * src/object-editor-line-page.c:
2197 (gl_object_editor_prepare_line_page),
2198 (gl_object_editor_set_line_color),
2199 (gl_object_editor_get_line_color):
2200 * src/object-editor-private.h:
2201 * src/object-editor-text-page.c:
2202 (gl_object_editor_prepare_text_page),
2203 (gl_object_editor_set_font_family),
2204 (gl_object_editor_get_font_family),
2205 (gl_object_editor_set_text_color),
2206 (gl_object_editor_get_text_color):
2207 * src/object-editor.c: (gl_object_editor_set_key_names):
2209 In the object editor: replaced all instances of the deprecated
2210 GtkCombo widget with the new GtkComboBox.
2212 2005-04-18 Jim Evins <evins@snaught.com>
2215 Neglected to save this one in previous checkin to support
2218 2005-04-17 Jim Evins <evins@snaught.com>
2220 * libglabels/libglabels-private.h:
2221 * libglabels/paper.c:
2222 * libglabels/paper.h:
2223 * libglabels/template.c:
2224 * libglabels/template.h:
2225 * libglabels/xml-paper.c:
2226 * libglabels/xml-paper.h:
2227 * libglabels/xml-template.c:
2232 * src/bc-gnubarcode.c:
2243 * src/label-barcode.c:
2245 * src/label-ellipse.c:
2246 * src/label-image.c:
2247 * src/label-image.h:
2249 * src/label-object.c:
2253 * src/merge-properties-dialog.c:
2254 * src/object-editor-bc-page.c:
2255 * src/object-editor-data-page.c:
2256 * src/object-editor-edit-page.c:
2257 * src/object-editor-fill-page.c:
2258 * src/object-editor-image-page.c:
2259 * src/object-editor-line-page.c:
2260 * src/object-editor-lsize-page.c:
2261 * src/object-editor-position-page.c:
2262 * src/object-editor-private.h:
2263 * src/object-editor-size-page.c:
2264 * src/object-editor-text-page.c:
2265 * src/object-editor.c:
2266 * src/object-editor.h:
2267 * src/pixbuf-cache.h:
2268 * src/prefs-dialog.c:
2269 * src/prefs-dialog.h:
2270 * src/prefs-model.c:
2271 * src/prefs-model.h:
2273 * src/print-dialog.c:
2274 * src/print-dialog.h:
2282 * src/template-designer.c:
2283 * src/template-designer.h:
2286 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2292 * src/view-barcode.c:
2294 * src/view-ellipse.c:
2295 * src/view-highlight.c:
2296 * src/view-highlight.h:
2299 * src/view-object.c:
2300 * src/view-object.h:
2304 * src/wdgt-chain-button.c:
2305 * src/wdgt-media-select.c:
2306 * src/wdgt-media-select.h:
2307 * src/wdgt-mini-preview.c:
2308 * src/wdgt-mini-preview.h:
2309 * src/wdgt-print-copies.c:
2310 * src/wdgt-print-copies.h:
2311 * src/wdgt-print-merge.c:
2312 * src/wdgt-print-merge.h:
2313 * src/wdgt-rotate-label.c:
2314 * src/wdgt-rotate-label.h:
2317 * src/xml-label-04.c:
2318 * src/xml-label-191.c:
2320 Cleanup of header files:
2321 - all header files are now stand-alone, verified by including
2322 first in corresponding "c" files
2323 - replaced blanket includes of gnome, gtk, and glib with
2326 2005-04-16 Jim Evins <evins@snaught.com>
2328 * data/glade/Makefile.am:
2329 * data/glade/merge-properties-dialog.glade:
2330 Added merge properties dialog glade description file.
2331 * src/merge-properties-dialog.h:
2332 * src/merge-properties-dialog.c:
2333 (gl_merge_properties_dialog_get_type),
2334 (gl_merge_properties_dialog_init),
2335 (gl_merge_properties_dialog_finalize),
2336 (gl_merge_properties_dialog_new),
2337 (gl_merge_properties_dialog_construct), (type_changed_cb),
2338 (src_changed_cb), (response_cb), (load_tree),
2339 (record_select_toggled_cb), (select_all_button_clicked_cb),
2340 (unselect_all_button_clicked_cb):
2341 Modified merge properties dialog to use libglade. Added
2342 "select all" and "unselect all" buttons.
2343 * src/merge-text.c: (parse_line):
2344 Handle empty lines better.
2345 * src/merge.c: (gl_merge_eval_key):
2346 Evaluate the key whether the record is selected or not.
2348 * src/util.c: (gl_util_combo_box_add_text_model):
2349 Since libglade does not use the gtk_combo_box_new_text()
2350 constructor for GtkComboBoxes, a utility function was created
2351 to add an appropriate text model to a GtkComboBox.
2352 * src/view.c: (gl_view_edit_merge_props):
2353 Removed unnecessary "show all's".
2355 2005-04-15 Jim Evins <evins@snaught.com>
2358 Updated russian translation (Vitaly Lipatov)
2359 * data/templates/misc-iso-templates.xml:
2360 Added templates for russian business cards provided by Vitaly Lipatov.
2362 Updated acknowledgements for above.
2364 2005-04-15 Jim Evins <evins@snaught.com>
2366 * data/templates/avery-us-templates.xml:
2367 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2368 * data/templates/misc-iso-templates.xml:
2369 Added Ryman standard CD/DVD template, provided by Dan Clark.
2371 Added acknowledgements for above.
2373 2005-04-10 Jim Evins <evins@snaught.com>
2375 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2376 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2377 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2378 (xml_parse_label_cd_node), (xml_parse_alias_node):
2379 * libglabels/xml.c: (gl_xml_get_prop_double),
2380 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2381 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2382 * src/xml-label-04.c: (xml04_parse_media_description),
2383 (xml04_parse_text_props), (xml04_parse_barcode_props),
2384 (xml04_parse_merge_properties):
2385 * src/xml-label-191.c: (xml191_parse_object),
2386 (xml191_parse_text_props), (xml191_parse_barcode_props),
2387 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2388 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2389 (xml191_parse_alias):
2390 * src/xml-label.c: (xml_parse_object_text),
2391 (xml_parse_object_barcode), (xml_parse_merge_fields),
2392 (xml_parse_pixdata), (xml_parse_toplevel_span):
2393 Make sure to use xmlFree for anything obtained from libxml
2394 in case libxml and glib use different memory management
2397 2005-04-08 Jim Evins <evins@snaught.com>
2400 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2401 (gl_util_combo_box_set_active_text):
2402 Added utility functions to simplify working with GtkComboBox
2404 * src/ui-property-bar.h:
2405 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2406 (reset_to_default_properties), (update_text_properties),
2407 (font_family_changed_cb):
2408 Replaced deprecated GtkCombo with GtkComboBox.
2411 2005-04-03 Jim Evins <evins@snaught.com>
2414 * src/wdgt-image-select.h:
2415 * src/wdgt-image-select.c:
2416 Removed obsolete wdgt-image-select.[ch] files.
2417 * libglabels/paper.c: (gl_paper_dup):
2418 Fixed rename of parameter introduced during documentation
2420 * data/glade/object-editor.glade:
2421 * src/object-editor-image-page.c:
2422 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2423 (gl_object_editor_set_image), (gl_object_editor_get_image),
2424 (update_preview_cb), (add_image_filters_to_chooser):
2425 * src/object-editor-private.h:
2426 Replaced deprecated GnomePixmapEntry with
2427 GtkFileChooserButton.
2429 2005-04-02 Jim Evins <evins@snaught.com>
2431 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2432 (mygal_combo_box_popup_hide_unconditional),
2433 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2434 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2435 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2436 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2437 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2438 Renamed all internal gtk_combo functions to mygal_combo
2439 to prevent namespace confusion.
2441 2005-04-02 Jim Evins <evins@snaught.com>
2443 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2444 (cust_color_set), (color_palette_setup):
2445 * src/mygal/color-palette.h:
2446 Replaced deprecated GnomeColorPicker with GtkColorButton.
2448 2005-04-02 Jim Evins <evins@snaught.com>
2450 * docs/libglabels/libglabels-sections.txt:
2451 * docs/libglabels/libglabels-undocumented.txt:
2452 * docs/libglabels/tmpl/enums.sgml:
2453 * docs/libglabels/tmpl/paper.sgml:
2454 * docs/libglabels/tmpl/xml-paper.sgml:
2455 * docs/libglabels/tmpl/xml-template.sgml:
2456 * libglabels/enums.h:
2457 * libglabels/paper.c: (gl_paper_dup):
2458 * libglabels/paper.h:
2459 * libglabels/xml-paper.c:
2460 * libglabels/xml-template.c:
2461 More documentation updates for libglabels.
2463 2005-03-23 Jim Evins <evins@snaught.com>
2466 Automatically updated.
2471 * docs/libglabels/Makefile.am:
2472 * docs/libglabels/libglabels-docs.sgml:
2473 * docs/libglabels/libglabels-sections.txt:
2474 * docs/libglabels/libglabels-undocumented.txt:
2475 * docs/libglabels/tmpl/enums.sgml:
2476 * docs/libglabels/tmpl/libglabels-unused.sgml:
2477 * docs/libglabels/tmpl/libglabels.sgml:
2478 * docs/libglabels/tmpl/paper.sgml:
2479 * docs/libglabels/tmpl/template.sgml:
2480 * docs/libglabels/tmpl/xml-paper.sgml:
2481 * docs/libglabels/tmpl/xml-template.sgml:
2482 * docs/libglabels/tmpl/xml.sgml:
2483 Added basic gtk-doc stuff to support documenting libglabels
2486 Updated function comments with gtk-doc markup.
2490 2005-03-22 Jim Evins <evins@snaught.com>
2492 Since the development version now requires gtk-2.6/gnome-2.10, I
2493 have made a first pass at removing deprecations.
2496 * libglabels/Makefile.am:
2498 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2499 Also removed all remnants of HAVE_FILECHOOSER.
2500 * src/file.c: (gl_file_open_real):
2501 Removed code for old GtkFileSelection.
2502 * libglabels/libglabels-private.h:
2503 * libglabels/paper.c:
2504 * libglabels/template.c:
2505 * libglabels/xml-paper.c:
2506 * libglabels/xml-template.c:
2510 * src/glabels-batch.c:
2514 * src/merge-properties-dialog.c:
2516 * src/object-editor.c:
2517 * src/prefs-dialog.c:
2519 * src/print-dialog.c:
2522 * src/template-designer.c:
2523 * src/ui-property-bar.c:
2525 * src/view-barcode.c:
2527 * src/view-ellipse.c:
2532 * src/wdgt-image-select.c:
2533 * src/wdgt-media-select.c:
2534 * src/wdgt-print-copies.c:
2535 * src/wdgt-print-merge.c:
2536 * src/wdgt-rotate-label.c:
2538 * src/xml-label-04.c:
2539 * src/xml-label-191.c:
2541 Added '#include <glib/gi18n.h>" where needed.
2542 Removed any unused '#include <gnome.h>"s.
2544 2005-03-22 Jim Evins <evins@snaught.com>
2546 * src/commands.c: (activate_url), (gl_cmd_help_about):
2547 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2548 development version of glabels now depends on GTK 2.6 and
2551 Updated library dependencies.
2553 2005-02-28 Jim Evins <evins@snaught.com>
2556 * data/templates/misc-iso-templates.xml:
2557 Added 'Ednet 45021' template provided by Ali Akcaagac
2560 2005-02-14 Jim Evins <evins@snaught.com>
2562 * data/templates/avery-us-templates.xml:
2563 Updated templates to use inches instead of points.
2564 * src/print-dialog.c: (printer_page_new):
2565 Changed packing style when adding printer selector widget. This fixes
2568 2005-02-13 Jim Evins <evins@snaught.com>
2572 Updated spanish translations. (sergio rivadero)
2574 2005-02-05 Jim Evins <evins@snaught.com>
2576 Some cleanup to libglabels.
2579 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2580 * libglabels/libglabels.pc.in
2582 * libglabels/enums.h
2583 Created. Currently only contains glUnitsType which provides enumerations
2584 for all possible units of distance.
2585 * libglabels/Makefile.am:
2586 Incorporated new files enums.h and libglabels.pc[.in].
2587 * libglabels/libglabels.h:
2589 * libglabels/template.h:
2590 * libglabels/template.c: (gl_template_layout_new):
2591 Changed parameters nx and ny to gint from gdouble.
2593 * libglabels/xml.c: (gl_xml_get_prop_length),
2594 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2595 Added support for different output units.
2596 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2597 (update_prefs_from_locale_page):
2598 * src/prefs-model.c: (string_to_units), (units_to_string):
2599 * src/prefs-model.h:
2600 * src/prefs.c: (gl_prefs_get_units_per_point),
2601 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2602 (gl_prefs_get_units_string):
2604 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2605 Reconciled all length enumerations with the new enumerations provided
2606 in libglabels/enums.h.
2608 2005-02-03 Jim Evins <evins@snaught.com>
2611 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2613 Updated Italian translations. (Daniele Medri)
2615 Updated credits to reflect above translations.
2618 2005-01-22 Jim Evins <evins@snaught.com>
2623 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2625 Final prep for 2.1.0.
2627 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2629 Added '--remove-original' flag to desktop-file-install, so that there is
2630 only one menu entry.
2632 2005-01-20 Jim Evins <evins@snaught.com>
2634 * data/glade/object-editor.glade:
2635 - Font family entry should not be editable.
2636 - img_key_entry should have sensitivity=YES, so that it follows the
2637 sensitivity of img_key_combo.
2639 2005-01-19 Jim Evins <evins@snaught.com>
2642 Give credit to Frederic Ruaudel for the color merge patches.
2644 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2646 Add support to merge color for all other color attribute (Feature
2647 Requests item #1008635. If the data is invalid, the color used is transparent
2648 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2649 by gdk_color_parse() these include name for a color from rgb.txt, such as
2650 DarkSlateGray, or a hex specification such as #305050. File format has been
2651 changed but backward compatibility is preserved for all format. For
2652 box/ellipse/line, keep attribute "line_color" for static color or replace by
2653 "line_color_field" for merge data. For text/barcode objects, keep attribute
2654 "color" for static color or replace by "color_field" for merge data. In the
2655 edit canvas window, merged color are represented by half-transparent black
2658 * data/dtd/glabels-2.0.dtd:
2659 Added line_color_field to line_attrs. Added color_field to
2660 Object-barcode and Span.
2661 * data/glade/object-editor.glade:
2662 Modify the layout of the editor to add merge possibility to color options
2664 Fix a copy/paste error in a comment
2666 Add default color for merge color representation in the editor canvas.
2667 * src/label-barcode.c:
2668 * src/object-editor-bc-page.c:
2669 * src/view-barcode.c:
2670 Add merge color support for barcode color.
2673 Add merge color support for box border color.
2674 * src/label-ellipse.c:
2675 * src/view-ellipse.c:
2676 Add merge color support for ellipse border color.
2679 Add merge color support for line color.
2680 * src/label-object.c:
2681 * src/label-object.h:
2682 * src/object-editor.c:
2683 * src/object-editor.h:
2684 * src/ui-property-bar.c:
2687 * src/xml-label-04.c:
2688 * src/xml-label-191.c:
2689 Add support for merging to other color attribute.
2691 * src/object-editor-text-page.c:
2693 Add merge color support for text color.
2694 * src/object-editor-fill-page.c:
2695 Change a blocked handler that didn't match the good widget. Fix the type
2696 of some debug message.
2697 * src/object-editor-line-page.c:
2698 Add merging support to line color option.
2699 * src/object-editor-private.h:
2700 Add variables for new widget.
2702 Modify the draw functions to get merge data if needed.
2704 Change the default size of the window in order to see all widget in the
2705 "text style tab" of the editor.
2707 Modify the parser to record/retreive the field value for objects that need
2708 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2709 static color or replace by "line_color_field" for merge data. For
2710 text/barcode objects, keep attribute "color" for static color or replace
2711 by "color_field" for merge data.
2713 2005-01-17 Jim Evins <evins@snaught.com>
2715 * src/view.c: (screen_changed_cb):
2716 Don't do anything if we don't have a screen.
2718 2005-01-06 Jim Evins <evins@snaught.com>
2720 * src/view.c: (get_home_scale):
2721 Fixed bad call to gtk_widget_has_screen() -- huh?.
2723 2005-01-06 Jim Evins <evins@snaught.com>
2725 * data/dtd/glabels-2.0.dtd:
2726 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2729 2005-01-06 Jim Evins <evins@snaught.com>
2731 * data/glade/object-editor.glade:
2732 Set entries for fill and data field key dropdowns to NOT editable.
2733 * src/view-box.c: (construct_properties_editor):
2734 * src/view-ellipse.c: (construct_properties_editor):
2735 Update object editor when label's merge property has changed.
2736 * src/xml-label.c: (xml_parse_object_ellipse):
2737 Completed the merge color support for the ellipse item.
2739 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2741 Add support to merge color for object that have a "Fill color" attribute (Feature
2742 Requests item #1008635. If the data is invalid, the color used is transparent
2743 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2744 by gdk_color_parse() these include name for a color from rgb.txt, such as
2745 DarkSlateGray, or a hex specification such as #305050. File format has been
2746 changed but backward compatibility is preserved for all format. For box/ellipse,
2747 keep attribute "fill_color" for static color or replace by "fill_color_field"
2750 * data/glade/object-editor.glade:
2751 Modify "Fill" tab to add the merge key combo and convert the labels into
2755 Add "glColorNode" structure and associated functions to manage it. This
2756 structure is equivalent for color than the "glTextNode". It holds the color
2758 * src/label-object.h:
2759 * src/label-object.c:
2761 * src/label-ellipse.c:
2762 * src/ui-property-bar.c:
2766 * src/view-ellipse.c:
2767 * src/xml-label-04.c:
2768 * src/xml-label-191.c:
2769 Change functions of objects that have a "fill color" attribute to use the
2770 new "glColorNode" structure. Use barcode code as example.
2772 Add the color.[ch] file to glabels_batch binary that now need support for
2774 * src/object-editor.h:
2775 * src/object-editor.c:
2776 * src/object-editor-fill-page.c:
2777 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2778 to choose between static color or merge key. Use barcode code as example.
2779 * src/object-editor-private.h:
2780 Add new widget in the "_glObjectEditorPrivate" structure.
2782 Modify the draw functions to get merge data if needed.
2784 Modify the parser to record/retreive the field value for objects that need
2785 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2786 color or "fill_color_field" for merge data.
2788 2005-01-04 Jim Evins <evins@snaught.com>
2791 * data/templates/avery-iso-templates.xml:
2792 * data/templates/misc-iso-templates.xml:
2793 * data/templates/misc-us-templates.xml:
2794 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2797 2004-11-26 Jim Evins <evins@snaught.com>
2801 Updated french translations provided by Florent Morel <florent@taket.org>.
2802 * src/view-barcode.c:
2804 * src/view-ellipse.c:
2808 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2809 thus _() strings were not being translated.
2811 2004-11-14 Jim Evins <evins@snaught.com>
2814 * src/debug.c: (gl_debug_init), (gl_debug):
2815 Borrowed from gedit: use environmental variables to select debug
2818 Removed unused include of debug.h.
2819 * src/glabels.c: (main):
2820 Added call to gl_debug_init(), and removed debug clutter from command line
2822 * src/glabels-batch.c: (main):
2823 Added call to gl_debug_init().
2825 2004-11-13 Jim Evins <evins@snaught.com>
2827 Drawing and property toolbars were being initialized with the "icons and text"
2828 look in Fedora Core 3. Even though none of the buttons had any text attached to
2829 them, the buttons were being sized as if they were. This led to less real estate
2830 for the property editor, leading to Bug #1064630. The
2832 * data/ui/glabels-ui.xml:
2833 Added explicit "look" property to both drawing and property toolbars.
2834 * src/prefs-model.c: (gl_prefs_model_save_settings),
2835 (gl_prefs_model_load_settings):
2836 * src/prefs-model.h:
2837 Removed drawing_toolbar_button_style configuration parameter.
2838 * src/ui.c: (view_menu_item_toggled_cb),
2839 (set_app_drawing_toolbar_style):
2840 Do not attempt to adjust look property of the drawing toolbar.
2842 2004-10-28 Jim Evins <evins@snaught.com>
2844 * data/pixmaps/glabels-about-logo.png:
2847 2004-10-28 Jim Evins <evins@snaught.com>
2849 * data/man/glabels.1:
2850 * src/glabels-batch.c: (main):
2852 * src/print.c: (gl_print_batch):
2854 Added option to glabels-batch to select the first label to begin
2857 2004-09-26 Jim Evins <evins@snaught.com>
2859 * data/desktop/glabels.desktop.in:
2860 Point to app icon, "glabels.png"
2861 * data/mime/glabels.keys.in:
2862 Point at mime icon, "glabels-application-x-glabels.png"
2863 * data/pixmaps/Makefile.am:
2864 Added glabels_app_icondir. Renamed icons.
2865 * data/pixmaps/glabels.png:
2866 New cleaned up app icon. Deleted glabels-icon.png.
2867 * data/pixmaps/glabels-application-x-glabels.png:
2869 * data/pixmaps/glabels-splash.png:
2870 Renamed glabels-logo to glabels-splash to be more correct about role.
2872 * src/template-designer.c:
2873 Point at app icon, "glabels.png"
2875 Point at renamed splash image, "glabels-splash.png"
2877 2004-08-22 Jim Evins <evins@snaught.com>
2880 * src/glabels-batch.c: (main):
2881 Applied patch with minor mods to allow selecting merge source and
2882 crop-marks on glabels-batch's command line. Original patch provided by
2883 José Dapena Paz <jdapena@igalia.com>.
2885 2004-08-15 Jim Evins <evins@snaught.com>
2887 * data/desktop/glabels.desktop.in:
2888 - Added encoding line
2889 - Removed period from comment
2890 - Fixed Terminal line, changed "0" to "false"
2891 - Added semicolen to Categories line
2893 - Made sure desktop.in comment string above still translated properly
2895 2004-08-14 Jim Evins <evins@snaught.com>
2897 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2898 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2899 * src/xml-label-191.c: (xml191_parse_sheet):
2900 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2902 Reconciled libglabels versioning with 2.0.1.
2905 2004-08-14 Jim Evins <evins@snaught.com>
2908 Updated version to 2.1cvs.
2910 2004-08-14 Jim Evins <evins@snaught.com>
2913 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2915 2004-08-14 Jim Evins <evins@snaught.com>
2917 Fixes for Bug #1008181.
2919 * src/bc.c: (gl_barcode_default_digits):
2920 Make a format of zero digits, harmless.
2921 * src/xml-label.c: (xml_parse_object_barcode):
2922 Set default value of the format property of barcode objects to 10, not
2923 zero. This will prevent crashes when reading pre 2.0.x files.
2925 2004-08-09 Jim Evins <evins@snaught.com>
2929 * help/C/glabels-C.omf:
2930 * help/C/glabels.xml:
2931 Brought documentation up-to-date for 2.0.0 release.
2933 2004-08-09 Jim Evins <evins@snaught.com>
2935 These are hopefully the final preparations for 2.0.0.
2937 * data/mime/Makefile.am:
2938 Include glabels.xml in EXTRA_DIST.
2940 - Updated comment style.
2941 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2942 - Added package and version info to configuration printout
2943 - Update version to 2.0.0
2944 * libglabels/Makefile.am:
2945 Use the new LIBGLABELS_VERSION_INFO macro.
2947 2004-08-09 Jim Evins <evins@snaught.com>
2951 Cleanup of required library macros.
2953 2004-08-08 Jim Evins <evins@snaught.com>
2957 - More specific of what to install in /usr/bin and /usr/lib
2958 - Remove built mime registration files from staging directory
2960 2004-08-08 Jim Evins <evins@snaught.com>
2962 * data/mime/Makefile.am:
2963 Fixed typo: key_files should have been keys_files.
2965 2004-08-08 Jim Evins <evins@snaught.com>
2967 Reorganization of runtime data files. Also added registration of mimetype with
2968 new freedesktop.org mime database if available.
2971 Moved files to appropriate subdirectories, creating local Makefile.am
2972 in each subdirectory.
2973 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2974 These are now installed at $datadir/glabels/templates.
2975 - Moved glabels.1 to man subdirectory.
2976 - Moved glabels-2.0.dtd to dtd subdirectory.
2977 - Moved glabels.desktop.in to desktop subdirectory.
2978 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2980 Moved "./pixmaps" to "./data/pixmaps"
2982 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2984 Moved libglade files from src to data/glade. Created Makefile.am.
2986 Removed pixmaps from SUBDIRS.
2988 - Removed pixmaps from makefiles.
2989 - Added makefiles for new subdirs of data.
2990 - Added tests for freedesktop.org mime database.
2992 - Added tests for freedesktop.org mime database for post install and
2993 post un-install actions.
2994 * libglabels/Makefile.am:
2995 Moved system template files to $(datadir)/glabels/templates.
2996 * libglabels/libglabels-private.h:
2997 Moved system template files to $(datadir)/glabels/templates.
2999 - Accounted for movement of ui and libglade files.
3000 - Added missing .in files.
3001 - Reorganized by directory.
3003 Accounted for movement of ui and libglade files.
3004 * data/mime/glabels.xml.in:
3005 New file for registering with freedesktop.org mime database.
3007 2004-08-07 Jim Evins <evins@snaught.com>
3009 * src/recent-files/*:
3010 Re-synced to latest libegg/recent-files.
3012 2004-08-07 Jim Evins <evins@snaught.com>
3017 Renamed "./doc" directory to "./help" which contains user documentation,
3018 to be more consistent with other GNOME applications.
3021 2004-07-26 Jim Evins <evins@snaught.com>
3023 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3024 Corrected button order of merge properties dialog.
3026 2004-07-18 Jim Evins <evins@snaught.com>
3028 * data/glabels-2.0.dtd:
3029 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3030 (gl_barcode_get_prefered_n):
3032 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3033 (gl_label_barcode_get_props), (get_size):
3034 * src/label-barcode.h:
3035 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3036 (style_changed_cb), (gl_object_editor_set_bc_style),
3037 (gl_object_editor_get_bc_style):
3038 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3039 (gl_object_editor_set_data), (gl_object_editor_get_data):
3040 * src/object-editor-private.h:
3041 * src/object-editor.c: (gl_object_editor_set_key_names):
3042 * src/object-editor.glade:
3043 * src/object-editor.h:
3044 * src/print.c: (draw_barcode_object):
3045 * src/view-barcode.c: (update_object_from_editor_cb),
3046 (update_editor_from_object_cb),
3047 (gl_view_barcode_create_event_handler), (draw_barcode):
3048 * src/xml-label-04.c: (xml04_parse_barcode_props):
3049 * src/xml-label-191.c: (xml191_parse_barcode_props):
3050 * src/xml-label.c: (xml_parse_object_barcode),
3051 (xml_create_object_barcode):
3052 Added "format" attribute to barcode objects. This attribute is used
3053 to properly format freeform barcodes barcodes prior to merge data is
3054 applied, so that barcodes can be accurately layed out. This addresses
3055 remaining issues of feature request #824787. Also added an example of
3056 the format in the object editor.
3058 2004-07-12 Jim Evins <evins@snaught.com>
3060 Various code cleanups.
3062 * src/label-barcode.c:
3063 Removed unneeded include of gnome-glyphlist.h.
3065 * src/label-text.c: (get_size):
3066 Fixed memory leak: unref glyphlists when done with them.
3068 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3069 * src/object-editor-data-page.c:
3070 (gl_object_editor_prepare_data_page):
3071 * src/object-editor-image-page.c:
3072 (gl_object_editor_prepare_image_page):
3073 * src/object-editor-line-page.c:
3074 (gl_object_editor_prepare_line_page):
3075 * src/object-editor-lsize-page.c:
3076 (gl_object_editor_prepare_lsize_page):
3077 * src/object-editor-position-page.c:
3078 (gl_object_editor_prepare_position_page):
3079 * src/object-editor-size-page.c:
3080 (gl_object_editor_prepare_size_page):
3081 * src/object-editor-text-page.c:
3082 (gl_object_editor_prepare_text_page):
3083 Removed unneeded size groups, originally intended to keep widgets aligned.
3084 Now use tables to lay these out in object-editor.glade.
3086 * src/print.c: (draw_text_object):
3087 Fixed memory leak: unref glyphlists when done with them.
3089 * src/view-barcode.c: (draw_barcode):
3090 Fixed memory leak: unref glyphlists when done with them.
3092 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3093 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3095 - Fixed memory leak: unref glyphlists when done with them.
3097 2004-07-11 Jim Evins <evins@snaught.com>
3099 * data/glabels-2.0.dtd:
3100 * src/label-text.c: (gl_label_text_instance_init), (copy),
3101 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3103 * src/object-editor-private.h:
3104 * src/object-editor-text-page.c:
3105 (gl_object_editor_prepare_text_page),
3106 (gl_object_editor_set_text_auto_shrink),
3107 (gl_object_editor_get_text_auto_shrink):
3108 * src/object-editor.c: (gl_object_editor_set_key_names):
3109 * src/object-editor.glade:
3110 * src/object-editor.h:
3111 * src/print.c: (draw_text_object):
3112 * src/view-text.c: (update_object_from_editor_cb),
3113 (update_editor_from_object_cb):
3114 * src/xml-label.c: (xml_parse_object_text),
3115 (xml_create_object_text):
3116 Added option to allow document merge to auto shrink text size to fit
3117 within the text box. The code in print.c that actually shrinks the
3118 text is loosely based on a patch submitted by Mark Harrison
3119 <mark.harrison@velocitynet.com.au>. This addresses feature request
3122 2004-07-11 Jim Evins <evins@snaught.com>
3124 * data/glabels-2.0.dtd:
3125 * libglabels/template.c: (gl_template_rect_label_type_new),
3126 (gl_template_round_label_type_new),
3127 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3128 (template_full_page):
3129 * libglabels/template.h:
3130 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3131 (xml_create_label_node):
3132 * pixmaps/ex-rect-size.png:
3133 * src/print.c: (clip_to_outline), (clip_punchouts):
3134 * src/template-designer.c: (construct_rect_size_page),
3135 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3137 * src/template-designer.glade:
3138 * src/xml-label-191.c: (xml191_parse_label):
3139 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3140 properties for rectangular labels. Templates remain backwards compatible,
3141 but this breaks the libglabels API (I don't know of anyone outside of
3142 glabels using libglabels at this time -- what can I say, the program is
3143 is still "unstable"). This addresses the suggestion in Feature Request
3146 2004-07-05 Jim Evins <evins@snaught.com>
3147 * src/print.c: (print_crop_marks), (draw_outline):
3148 Changed crop marks and label outlines to black, instead of 25% gray.
3149 This addresses debian Bug #257460.
3151 2004-07-05 Jim Evins <evins@snaught.com>
3153 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3154 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3155 Preserve "is_default" of fill and line color_combos when creating from
3158 2004-07-02 Jim Evins <evins@snaught.com>
3161 Created man page. Based on page submitted by Matthew J. Lockner, however
3162 it has been severely edited.
3164 * data/avery-other-templates.xml
3165 * data/misc-other-templates.xml:
3166 Started new files for predefined templates with non-standard sheet sizes.
3167 These have been initially populated with the Avery 06141 and
3168 OfficeMax #86112, both provided by Matthew J. Lockner.
3171 Install above manpage and template files.
3174 Make sure we install man pages.
3176 * src/glabels-batch.c:
3177 Changed short form of help option to '-?' to be consistent with glabels.
3180 Added acknowledgement for above labels.
3182 2004-07-02 Jim Evins <evins@snaught.com>
3184 * src/glabels.c: (main), (save_session_cb):
3185 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3187 - save_session_cb() now returns gboolean.
3188 - Minor formatting changes.
3192 - Now include file.h to provide missing prototype.
3193 - gl_window_get_type() now returns GType, not guint. I believe this may
3194 ultimately be cause of the segfault reported in Bug #982287, since
3195 GType is actually a gulong, which may not be compatible on other
3196 architectures (64bit) -- I cannot personally test this at this time.
3197 I was sloppy in several other xxx_get_type() functions which also
3198 returned guint -- see next group of files:
3200 * src/window.c: (gl_window_get_type):
3201 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3202 * src/canvas-hacktext.h:
3203 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3204 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3205 (gl_hig_hbox_get_type):
3207 * src/label-barcode.c: (gl_label_barcode_get_type):
3208 * src/label-barcode.h:
3209 * src/label-box.c: (gl_label_box_get_type):
3211 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3212 * src/label-ellipse.h:
3213 * src/label-image.c: (gl_label_image_get_type):
3214 * src/label-image.h:
3215 * src/label-line.c: (gl_label_line_get_type):
3217 * src/label-object.c: (gl_label_object_get_type):
3218 * src/label-object.h:
3219 * src/label-text.c: (gl_label_text_get_type):
3221 * src/label.c: (gl_label_get_type):
3223 * src/merge-properties-dialog.c:
3224 (gl_merge_properties_dialog_get_type):
3225 * src/merge-properties-dialog.h:
3226 * src/merge-text.c: (gl_merge_text_get_type):
3228 * src/merge.c: (gl_merge_get_type):
3230 * src/object-editor.c: (gl_object_editor_get_type):
3231 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3232 * src/prefs-dialog.h:
3233 * src/prefs-model.c: (gl_prefs_model_get_type):
3234 * src/prefs-model.h:
3235 * src/print-dialog.c: (gl_print_dialog_get_type):
3236 * src/print-dialog.h:
3237 * src/template-designer.c: (gl_template_designer_get_type):
3238 * src/template-designer.h:
3239 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3240 * src/ui-property-bar.h:
3241 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3243 * src/view-barcode.c: (gl_view_barcode_get_type):
3244 * src/view-barcode.h:
3245 * src/view-box.c: (gl_view_box_get_type):
3247 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3248 * src/view-ellipse.h:
3249 * src/view-highlight.c: (gl_view_highlight_get_type):
3250 * src/view-highlight.h:
3251 * src/view-image.c: (gl_view_image_get_type):
3253 * src/view-line.c: (gl_view_line_get_type):
3255 * src/view-object.c: (gl_view_object_get_type):
3256 * src/view-object.h:
3257 * src/view-text.c: (gl_view_text_get_type):
3259 * src/view.c: (gl_view_get_type):
3261 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3262 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3263 * src/wdgt-image-select.h:
3264 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3265 * src/wdgt-media-select.h:
3266 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3267 * src/wdgt-mini-preview.h:
3268 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3269 * src/wdgt-print-copies.h:
3270 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3271 * src/wdgt-print-merge.h:
3272 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3273 * src/wdgt-rotate-label.h:
3274 - Made sure all xxx_get_type functions returned GType, not guint. This
3275 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3276 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3277 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3278 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3279 window.[ch] details above for more info.
3280 - Reconciled various coding style differences in all xxx_get_type()
3282 * All prototypes include G_GNUC_CONST.
3283 * All prototypes specify the return value as GType, not GtkType
3285 * Info structures are all declared as "static const."
3286 * Generalized the names of type and info variables.
3287 * Miscelaneous formatting.
3289 2004-06-08 Jim Evins <evins@snaught.com>
3295 Don't touch compression of original file -- still defaults to 9 for
3296 new files. Original patch provided by Javier Donaire Segarra
3297 (#912252 in patch tracker).
3299 2004-05-05 Jim Evins <evins@snaught.com>
3301 * data/glabels-2.0.dtd:
3302 Broke DTD previously when adding new barcode types that contain a
3303 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3304 to avoid the problem.
3305 * data/avery-iso-templates.xml:
3306 * data/zweckform-iso-templates.xml:
3308 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3309 provided by Frank Altpeter.
3310 * libglabels/xml-template.c: (xml_create_label_node):
3311 Reordered markup and layout sub-nodes so that resulting templates will
3312 validate against DTD.
3314 2004-03-13 Jim Evins <evins@snaught.com>
3316 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3317 Changed spin callback signals from "value-changed" back to "changed."
3318 This was accidentally introduced in a previous revision, and can cause
3319 size changes just by selecting the size tab.
3321 2004-03-06 Jim Evins <evins@snaught.com>
3323 * src/view.c: (draw_grid_layer):
3324 For round labels (round and cd) adjust grid so that it lines up with
3325 center of label. Also, no longer draw box around label in the grid layer,
3326 it is hidden by he fg layer anyway. Feature suggested by
3327 nemolivier@free.fr. Although the grid is aligned with the center of the
3328 label, the coordinate system is still relative to the upper left corner
3329 of the rectangle containing the label.
3331 2004-02-25 Jim Evins <evins@snaught.com>
3334 Changed version to 2.0pre1cvs
3336 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3337 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3338 instead of doc->name fields when errors encountered.
3340 2004-02-21 Jim Evins <evins@snaught.com>
3342 * data/avery-iso-templates.xml:
3343 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3346 Added libglabels library and include file to installed files.
3349 Final prep for 1.93.3.
3351 2004-02-20 Jim Evins <evins@snaught.com>
3353 * src/glabels-batch.c: (main):
3354 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3355 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3357 2004-02-16 Jim Evins <evins@snaught.com>
3360 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3363 Added HAVE_FILE_CHOOSER to INCLUDES.
3365 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3366 (gl_file_save_as), (save_as_response):
3367 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3369 2004-02-16 Jim Evins <evins@snaught.com>
3371 * src/xml-label-04.c: (xml04_parse_image_props):
3372 * src/xml-label-191.c: (xml191_parse_image_props):
3373 * src/xml-label.c: (xml_parse_object_image):
3374 Delay setting image size until after image has been applied to new
3377 2004-02-15 Jim Evins <evins@snaught.com>
3379 * src/label-barcode.c: (gl_label_barcode_set_data),
3380 (gl_label_barcode_set_props):
3381 Don't emit "changed" signal, if no change actually made for these
3382 methods. Reduces number of unnecessary redraws of barcodes.
3384 * src/label-object.h:
3385 * src/label-object.c: (gl_label_object_set_position),
3386 (gl_label_object_set_position_relative), (set_size),
3387 (gl_label_object_set_size),
3388 (gl_label_object_set_size_honor_aspect):
3389 Don't emit "changed" signal, if no change actually made for these
3392 2004-02-15 Jim Evins <evins@snaught.com>
3394 * data/glabels-2.0.dtd:
3395 Added specific subtypes for various barcode types.
3398 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3399 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3400 (gl_barcode_can_text), (gl_barcode_text_optional),
3401 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3402 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3403 Changed API to use a string id, rather than a fixed enumeration. Id and
3404 name are separate strings. Added entries to backend table for specific
3405 subtypes for various barcode types.
3408 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3410 Modified to conform to above API. Now more stringent with data length
3411 for various subtypes.
3413 * src/bc-gnubarcode.h:
3414 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3415 (is_length_valid), (is_length1_valid), (is_length2_valid):
3416 Modified to conform to above API. Now more stringent with data length
3417 for various subtypes.
3419 * src/label-barcode.h:
3420 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3421 (gl_label_barcode_get_props), (get_size):
3422 Modified to use above API for storing barcode type.
3424 * src/object-editor.h:
3425 * src/object-editor-bc-page.c: (style_changed_cb),
3426 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3427 Modified to use above API for storing barcode type.
3429 * src/object-editor-size-page.c:
3430 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3431 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3432 Added debug markers.
3434 * src/object-editor.glade:
3435 Made barcode style combo's text entry non-editable.
3437 * src/print.c: (draw_barcode_object):
3438 Modified to use above API for barcode type.
3440 * src/view-barcode.c: (update_object_from_editor_cb),
3441 (update_editor_from_object_cb),
3442 (gl_view_barcode_create_event_handler), (draw_barcode):
3443 Modified to use above API for barcode type.
3445 * src/xml-label-04.c: (xml04_parse_barcode_props):
3446 * src/xml-label-191.c: (xml191_parse_barcode_props):
3447 * src/xml-label.c: (xml_parse_object_barcode),
3448 (xml_create_object_barcode):
3449 Modified to use above API for barcode type.
3451 2004-02-07 Jim Evins <evins@snaught.com>
3453 * src/stock-pixmaps/Makefile.am:
3454 * src/stock-pixmaps/stock_hchain_24.png:
3455 * src/stock-pixmaps/stock_hchain_broken_24.png:
3456 * src/stock-pixmaps/stock_vchain_24.png:
3457 * src/stock-pixmaps/stock_vchain_broken_24.png:
3458 Added chain pixmaps borrowed from the gimp's default theme.
3461 * src/stock.c: (gl_stock_init), (add_button_icon):
3462 Added above pixmaps to stock icon sets. Created add_button_icon() to
3463 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3465 * src/wdgt-chain-button.h
3466 * src/wdgt-chain-button.c
3469 Added this Modified version of gimpchainbutton widget, borrowed from
3473 Added acknowledgements of the above borrowing from the gimp.
3475 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3477 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3478 * src/object-editor.glade:
3479 Replaced the keep aspect ratio check box with the above chain-button
3482 * src/text-node.c: (gl_text_node_equal):
3484 Added function gl_text_node_equal() to compare text_nodes.
3486 * src/label-image.c: (gl_label_image_set_filename):
3487 Replaced incomplete text_node comparison code with invocation of
3488 gl_text_node_equal. This fixed the problem of not being able to
3489 resize an image using the object_editor if the aspect ratio is not
3492 2004-02-04 Jim Evins <evins@snaught.com>
3494 * src/object-editor-image-page.c:
3495 (gl_object_editor_prepare_image_page):
3496 Track "changed" signal of pixmap entry's GtkEntry rather than its
3497 "activate" signal -- this catches all changes to the entry rather than
3498 just changes resulting from a browse, so one can easily pull previous
3499 entries from the history. (This change is marked below on 2004-02-03,
3500 but somehow never got checked in.)
3502 * src/view-highlight.c: (sl_resize_event_handler),
3503 (sr_resize_event_handler), (st_resize_event_handler),
3504 (sb_resize_event_handler):
3505 Side resize handles will now confirm the actual resize that the object
3506 accepted before adjusting position parameters. Previously some interesting
3507 things happened when resizing a barcode to its minimum size.
3509 2004-02-03 Jim Evins <evins@snaught.com>
3511 * src/object-editor-image-page.c:
3512 (gl_object_editor_prepare_image_page):
3513 Track "changed" signal of pixmap entry's GtkEntry rather than its
3514 "activate" signal -- this catches all changes to the entry rather than
3515 just changes resulting from a browse, so one can easily pull previous
3516 entries from the history.
3518 * src/view-highlight.c: (tl_resize_event_handler),
3519 (tr_resize_event_handler), (bl_resize_event_handler),
3520 (br_resize_event_handler):
3521 Allow control key to be dropped while dragging a corner resize handle
3522 without losing the aspect ratio lock.
3524 2004-02-02 Jim Evins <evins@snaught.com>
3526 * src/label-image.c: (gl_label_image_set_filename):
3527 When setting a new filename adjust size such that the aspect ratio of
3528 the image is preserved using the current size as a bounding box.
3530 * src/view-image.c: (update_object_from_editor_cb):
3531 When updating object from editor, feed back possible size changes to
3532 editor as a result of a possible change in image.
3534 * src/object-editor-size-page.c: (size_reset_cb):
3535 Fixed typo when blocking spin handlers. If the base size is larger than
3536 the max size, treat max size as a bounding box while keeping aspect
3540 2004-02-02 Jim Evins <evins@snaught.com>
3542 * src/label-object.h:
3543 * src/label-object.c: (gl_label_object_set_size),
3544 (gl_label_object_set_size_honor_aspect):
3545 Added gl_label_object_set_size_honor_aspect() which will maintain the
3546 current aspect ratio by modifying the supplied w or h apropriately.
3548 * src/view-highlight.c: (tl_resize_event_handler),
3549 (tr_resize_event_handler), (bl_resize_event_handler),
3550 (br_resize_event_handler):
3551 Corner handles will now maintain the current aspect ratio if the
3552 control key is pressed while resizing. This addresses feature
3556 2004-01-31 Jim Evins <evins@snaught.com>
3559 * data/avery-us-templates.xml:
3560 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3562 * libglabels/template.c: (read_template_files_from_dir):
3563 Corrected problem with testing for extensions.
3565 * src/object-editor.glade:
3566 Corrected grouping of radio buttons in barcode data page.
3568 * src/print.c: (draw_barcode_object):
3569 * src/view-barcode.c: (draw_barcode):
3570 Corrected problem with calculation of y_offset for locating characters.
3572 2004-01-24 Jim Evins <evins@snaught.com>
3575 * data/avery-us-templates.xml:
3576 Added Avery 5824, submitted by Fred Bacon.
3578 2004-01-20 Jim Evins <evins@snaught.com>
3580 Catching up on a couple of backlogged user template submissions.
3582 * data/avery-iso-templates.xml:
3583 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3584 Suggested by Linas Jakucionis.
3586 * data/zweckform-iso-templates.xml:
3587 Added Zweckform 4760, submitted by Thomas Vill.
3590 Updated to reflect above submissions.
3592 2004-01-06 Jim Evins <evins@snaught.com>
3594 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3595 xml.[ch] into a separate library called libglabels, to facilitate third
3596 party use of glabels template files. This was suggested by Wayne Schuller.
3597 Once split-out, some modifications to the structures and functions to
3598 make a cleaner more useful API, hopefully. Rather extensive changes have
3599 propogated to other modules.
3607 * src/xml-template.h:
3608 * src/xml-template.c:
3611 These files have been moved to libglabels/. API cleanup performed.
3613 * libglabels/libglabels.h:
3614 * libglabels/libglabels-private.h:
3615 * libglabels/Makefile.am:
3616 These files have been added to finish out libglabels.
3623 Modified to reflect new sets of files in src/ and libglabels/.
3625 * COPYING.LIBGLABELS:
3627 Added copy of the LGPL for libglabels, and a copy the GFDL for
3630 * src/glabels-batch.c:
3632 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3633 (gl_label_get_size):
3635 * src/prefs-model.c: (gl_prefs_model_load_settings):
3636 * src/print-dialog.c:
3637 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3638 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3639 (print_crop_marks), (print_label), (draw_outline),
3640 (clip_to_outline), (clip_punchouts):
3641 * src/template-designer.c: (construct_pg_size_page),
3642 (pg_size_page_changed_cb), (layout_page_changed_cb),
3643 (print_test_cb), (build_template):
3644 * src/util.c: (gl_util_fraction):
3646 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3647 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3648 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3649 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3650 (draw_markup_margin_round), (draw_markup_margin_cd),
3651 (draw_markup_margin_cd_bc), (draw_markup_line),
3652 (draw_markup_circle), (gl_view_copy):
3653 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3654 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3655 (get_label_size_desc):
3656 * src/wdgt-mini-preview.c:
3657 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3659 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3660 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3661 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3662 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3663 * src/wdgt-rotate-label.h:
3664 * src/xml-label-04.c: (xml04_parse_media_description):
3665 * src/xml-label-191.c: (gl_xml_label_191_parse),
3666 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3667 (xml191_parse_markup), (xml191_parse_alias):
3668 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3670 Various changes to accomodate new libglabels API.
3672 2004-01-03 Jim Evins <evins@snaught.com>
3677 2004-01-03 Jim Evins <evins@snaught.com>
3680 Added acknowledgement of contributions by Wayne Schuller.
3682 * src/commands.c: (gl_cmd_file_print):
3683 Create extra reference to print dialog, so that it can be properly re-used.
3685 * src/mygal/mygal-combo-box.h:
3686 * src/mygal/mygal-combo-box.c:
3687 (mygal_combo_box_popup_hide_unconditional),
3688 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3689 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3690 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3691 (mygal_combo_box_set_tearable):
3692 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3693 complete the rename of this widget to prevent namespace collisions
3696 * src/prefs-dialog.glade:
3697 Fixed alignment of Fill/Color widgets.
3699 2004-01-03 Jim Evins <evins@snaught.com>
3701 * data/avery-iso-templates.xml:
3702 Added user submitted templates.
3703 Avery 8435A & 8435B, submitted by Ludger Solbach.
3705 * doc/C/glabels.xml:
3706 Added minimal documentation, noting the new template designer.
3708 2004-01-03 Jim Evins <evins@snaught.com>
3710 * pixmaps/ex-rect-size.png:
3711 * pixmaps/ex-round-size.png:
3712 * pixmaps/ex-cd-size.png:
3713 * pixmaps/Makefile.am:
3714 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3715 files to be used as illustrations/examples in the template-designer.
3717 * src/template-designer.c: (construct_rect_size_page),
3718 (construct_round_size_page), (construct_cd_size_page),
3719 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3720 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3721 (layout_page_prepare_cb), (build_template):
3722 * src/template-designer.glade:
3723 Added illustrations for rectangle, round, and cd label size pages.
3724 Added margin spinboxes to these pages, and now add a margin markup
3725 to the constructed template. Added realistic default values for
3726 some of the size spinboxes. Cleaned up the code for setting spinbox
3727 ranges on the layouts page.
3729 2004-01-02 Jim Evins <evins@snaught.com>
3731 * src/object-editor-size-page.c: (h_spin_cb):
3732 Fixed cut-n-paste error in h_spin_cb that loaded h from
3733 the wrong spinbutton.
3735 * src/object-editor.h:
3736 * src/object-editor.c: (gl_object_editor_class_init),
3737 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3738 * src/object-editor-private.h:
3739 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3741 Added "size_changed" signal.
3743 * src/view-text.c: (construct_properties_editor),
3744 (update_object_from_editor_cb),
3745 (update_object_from_editor_size_cb):
3746 Track size changes from object editor separately from other
3747 properties. This is so the default size (0,0) of a text
3748 object is not modified unintentionally.
3750 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3752 Added feature: line spacing - allows you to comfortably space a text box to
3753 fit a label perfectly.
3755 * data/glabels-2.0.dtd:
3756 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3757 (gl_label_object_get_text_alignment),
3758 (gl_label_object_get_text_line_spacing):
3759 * src/label-object.h:
3760 * src/label-text.c: (gl_label_text_class_init),
3761 (gl_label_text_instance_init), (copy), (get_size),
3762 (set_text_line_spacing), (get_text_alignment),
3763 (get_text_line_spacing):
3764 * src/object-editor-private.h:
3765 * src/object-editor-text-page.c:
3766 (gl_object_editor_prepare_text_page),
3767 (gl_object_editor_set_text_line_spacing),
3768 (gl_object_editor_get_text_line_spacing):
3769 * src/object-editor.glade:
3770 * src/object-editor.h:
3771 * src/prefs-dialog.c: (construct_object_page),
3772 (update_object_page_from_prefs), (update_prefs_from_object_page):
3773 * src/prefs-dialog.glade:
3774 * src/prefs-model.c: (gl_prefs_model_save_settings),
3775 (gl_prefs_model_load_settings), (get_float):
3776 * src/prefs-model.h:
3777 * src/print.c: (draw_text_object):
3779 * src/view-text.c: (update_object_from_editor_cb),
3780 (update_editor_from_object_cb),
3781 (gl_view_text_create_event_handler), (draw_hacktext):
3782 * src/view.c: (gl_view_construct),
3783 (gl_view_set_selection_text_line_spacing),
3784 (gl_view_set_default_text_line_spacing),
3785 (gl_view_get_default_text_line_spacing):
3787 * src/xml-label.c: (xml_parse_toplevel_span),
3788 (xml_create_toplevel_span):
3790 2003-12-30 Jim Evins <evins@snaught.com>
3792 * src/template-designer.c:
3793 * src/template-designer.h:
3794 * src/template-designer.glade:
3795 New template designer assistant.
3799 Added entries for src/template-designer.* files.
3801 * pixmaps/ex-1layout.png
3802 * pixmaps/ex-2layouts.png
3803 * pixmaps/Makefile.am:
3804 Added the new image files ex-*.png used as illustrations in the
3805 template designer assistant.
3807 * src/print-dialog.h:
3808 * src/print-dialog.c: (gl_print_dialog_finalize),
3809 (gl_print_dialog_new), (gl_print_dialog_construct),
3810 (gl_print_dialog_force_outline_flag):
3811 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3812 to support printing from the template designer assistant which does not
3813 have a full-fledged view. Nothing else from the view object was being
3814 used by the dialog anyway.
3816 Added the gl_print_dialog_force_outline_flag() method, for better
3817 integration with the template designer assistant.
3821 * src/commands.c: (gl_cmd_file_template_designer),
3822 (gl_cmd_file_print):
3823 Modified print command to provide label instead of view to dialog.
3824 Added the gl_cmd_file_template_designer() command to invoke the
3825 template designer assistant.
3828 * src/glabels-ui.xml:
3829 Added support for template designer assistant.
3831 * src/wdgt-mini-preview.h:
3832 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3833 (gl_wdgt_mini_preview_set_bg_color):
3834 Preview is now centered in canvas. Added
3835 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3836 assistant to match the background color with its own.
3838 * src/print.c: (clip_to_outline):
3839 Fixed really stupid bug when adding waste to clip region of rectangular
3840 labels/cards. Each side of the clip region needs to be extended by
3841 twice the waste margin, as well as negatively offset by the waste
3844 2003-12-28 Jim Evins <evins@snaught.com>
3846 * src/prefs-dialog.c: (update_object_page_from_prefs):
3847 Block intermediary function align_toggle_cb() instead of
3848 update_prefs_from_object_page() for the three alignment
3851 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3853 * src/file.c: (gl_file_new), (gl_file_properties):
3854 Swap button order and set default for higificatory pleasure.
3856 2003-12-27 Jim Evins <evins@snaught.com>
3858 * barcode-0.98/Makefile.am:
3859 One last time: removed doc/Makefile and po/Makefile.in.in from
3862 2003-12-27 Jim Evins <evins@snaught.com>
3864 * barcode-0.98/Makefile.am:
3865 Removed config.stat entry from EXTRA_DIST files.
3867 * barcode-0.98/Makefile.in:
3870 2003-12-27 Jim Evins <evins@snaught.com>
3873 Updated to work with latest gnome-common package from CVS.
3874 Removed recursive configuration of barcode-0.98.
3881 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3883 * barcode-0.98/Makefile.in:
3884 * barcode-0.98/configure.in:
3885 * barcode-0.98/Makefile.am:
3886 * barcode-0.98/README.glabels:
3887 Modified to ignore the barcode package's build system, and build
3888 as a part of glabels.
3889 Renamed Makefile.in to Makefile.in.dist.
3890 Renamed configure.in to configure.in.dist.
3891 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3894 * src/mygal/Makefile.am:
3895 * src/recent-files/Makefile.am:
3896 In order to build against the GNOME 2.5 platform,
3897 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3899 * src/mygal/Makefile.am:
3900 * src/mygal/mygal-combo-box.c:
3901 * src/mygal/mygal-combo-box.h:
3902 * src/mygal/widget-color-combo.c:
3903 * src/mygal/widget-color-combo.h:
3905 In order to build against the GNOME 2.5 platform,
3906 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3907 collisions with the real gtk_combo_box widget, now a part of gtk.
3909 2003-12-26 Jim Evins <evins@snaught.com>
3915 Moved local versions of get_home_data_dir() in paper.c and
3916 template.c to util package. Cleaned up formatting in
3920 In gl_template_register() save a copy of the template in
3921 ~/.glabels if the template is not known. Still need to
3922 handle duplicate filename case and duplicate name but
3923 different template case.
3927 Moved local definition of NAME_SPACE macro from xml-label.c
3930 * src/xml-template.c:
3931 * src/xml-template.h:
3932 Added function gl_xml_template_write_template_to_file(), used
3933 in gl_template_register().