1 2007-12-08 Jim Evins <evins@snaught.com>
3 * docs/libglabels/libglabels-decl-list.txt:
4 * docs/libglabels/libglabels-docs.sgml:
5 * docs/libglabels/libglabels-sections.txt:
6 * docs/libglabels/libglabels-undocumented.txt:
7 * docs/libglabels/tmpl/db.sgml:
8 * docs/libglabels/tmpl/str.sgml:
10 Documentation cleanup for libglabels.
12 2007-11-29 Jim Evins <evins@snaught.com>
16 Added lgl_db_does_template_name_exist().
17 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
20 Proof read recent templates -- make sure they still exist.
21 * src/wdgt-media-select.c:
22 Default to "search all templates" tab if no recent templates found.
24 2007-11-28 Jim Evins <evins@snaught.com>
26 * data/glade/wdgt-media-select.glade:
27 * src/wdgt-media-select.c:
28 Added tabbed notebook to allow selection of recent template versus searching the
32 2007-11-26 Jim Evins <evins@snaught.com>
34 * libglabels/Makefile.am:
35 * libglabels/libglabels.h:
43 Added tracking of recently used templates.
45 2007-11-20 Jim Evins <evins@snaught.com>
47 * data/glade/template-designer.glade:
48 * src/template-designer.c:
49 Added warning icon when match brand and part match an existing template.
51 2007-11-18 Jim Evins <evins@snaught.com>
53 * libglabels/Makefile.am:
56 Added lgl_str_utf8_casecmp().
57 * libglabels/libglabels-private.h:
58 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
59 * libglabels/db.c: (lgl_db_get_brand_list):
60 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
63 2007-11-18 Jim Evins <evins@snaught.com>
65 * data/glade/template-designer.glade:
66 * src/template-designer.c:
67 Don't advance past name page, if brand and part match an existing template.
69 2007-11-18 Jim Evins <evins@snaught.com>
71 * libglabels/db.c: (lgl_db_register_template), (read_templates):
72 When registering a new template, don't add to "User defined" category before
73 writing to file. Add to "User defined" category when reading from "~/.glabels"
74 directory instead. This will allow legacy templates (and manually created
75 templates) to be automatically added to the "user defined" category.
76 * libglabels/xml-template.c:
77 (lgl_xml_template_create_template_node):
78 Fixed typo/bug causing brand to be wrong.
80 2007-11-16 Jim Evins <evins@snaught.com>
84 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
85 function. Automatically create "User defined" category and add to all user
87 * libglabels/xml-template.c:
88 * libglabels/xml-template.h:
89 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
90 lgl_xml_template_write_template_to_file().
91 * docs/libglabels/libglabels-decl-list.txt:
92 * docs/libglabels/libglabels-sections.txt:
93 * docs/libglabels/libglabels-undocumented.txt:
94 * docs/libglabels/tmpl/db.sgml:
95 * docs/libglabels/tmpl/xml-template.sgml:
96 Update documentation to reflect above changes.
98 2007-10-28 Jim Evins <evins@snaught.com>
100 * libglabels/xml-template.c:
101 Remove any leading white space from part #s when parsing old names.
102 * src/mini-preview-pixbuf-cache.c:
103 If name isn't in cache add it.
105 2007-10-26 Jim Evins <evins@snaught.com>
107 * libglabels/Makefile.am:
108 * libglabels/category.c:
109 * libglabels/category.h:
112 * libglabels/libglabels-private.h:
113 * libglabels/libglabels.h:
114 * libglabels/paper.c:
115 * libglabels/paper.h:
116 * libglabels/template.c:
117 * libglabels/template.h:
118 * libglabels/xml-template.c:
119 Another pass at screwing with the libglabels API. Moved all
120 database related stuff to db.[ch].
121 * docs/libglabels/libglabels-decl-list.txt:
122 * docs/libglabels/libglabels-docs.sgml:
123 * docs/libglabels/libglabels-sections.txt:
124 * docs/libglabels/libglabels-undocumented.txt:
125 * docs/libglabels/tmpl/category.sgml:
126 * docs/libglabels/tmpl/db.sgml:
127 * docs/libglabels/tmpl/init.sgml:
128 * docs/libglabels/tmpl/libglabels-unused.sgml:
129 * docs/libglabels/tmpl/paper.sgml:
130 * docs/libglabels/tmpl/template-construction.sgml:
131 * docs/libglabels/tmpl/template-db.sgml:
132 * docs/libglabels/tmpl/template-misc.sgml:
133 * docs/libglabels/tmpl/template-struct.sgml:
134 * docs/libglabels/tmpl/template.sgml:
135 Updated documentation to reflect above changes to libglabels API.
137 * src/glabels-batch.c:
139 * src/mini-preview-pixbuf-cache.c:
142 * src/template-designer.c:
143 * src/wdgt-media-select.c:
144 * src/wdgt-mini-preview.c:
145 * src/wdgt-rotate-label.c:
146 * src/xml-label-04.c:
148 Reconciled usage with above libglabels API changes.
150 2007-10-21 Jim Evins <evins@snaught.com>
152 * data/glade/wdgt-media-select.glade:
153 * src/wdgt-media-select.c:
154 Added brand to filter settings.
156 2007-10-21 Jim Evins <evins@snaught.com>
158 * data/dtd/glabels-2.2.dtd:
159 Forgot to replace Alias name attribute with brand and part attributes.
160 * data/templates/avery-iso-templates.xml:
161 * data/templates/avery-other-templates.xml:
162 * data/templates/avery-us-templates.xml:
163 * data/templates/misc-iso-templates.xml:
164 * data/templates/misc-other-templates.xml:
165 * data/templates/misc-us-templates.xml:
166 * data/templates/zweckform-iso-templates.xml:
167 Replaced all name attributes with brand/part attribute pairs.
169 2007-10-20 Jim Evins <evins@snaught.com>
171 * src/stock-pixmaps/*.png
172 Updated icons to use Tango color palette.
174 2007-10-20 Jim Evins <evins@snaught.com>
176 * data/dtd/Makefile.am:
177 * data/dtd/glabels-2.0.dtd:
178 * data/dtd/glabels-2.2.dtd:
179 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
181 * libglabels/template.c:
182 * libglabels/template.h:
183 * libglabels/xml-template.c:
185 Added brand and part attributes to template and alias structures and nodes.
188 * src/mini-preview-pixbuf-cache.c:
189 * src/template-designer.c:
190 * src/wdgt-media-select.c:
191 Use modified libglabels API.
192 * docs/libglabels/libglabels-decl-list.txt:
193 * docs/libglabels/libglabels-sections.txt:
194 * docs/libglabels/libglabels-undocumented.txt:
195 * docs/libglabels/tmpl/template-construction.sgml:
196 * docs/libglabels/tmpl/template-db.sgml:
197 * docs/libglabels/tmpl/template-struct.sgml:
198 Update libglabels documentation to reflect above modifications.
200 2007-10-14 Jim Evins <evins@snaught.com>
202 * docs/libglabels/libglabels-decl-list.txt:
203 * docs/libglabels/libglabels-sections.txt:
204 * docs/libglabels/libglabels-undocumented.txt:
205 * docs/libglabels/tmpl/category.sgml:
206 * libglabels/category.c:
207 * libglabels/category.h:
208 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
209 parity with paper functions.
211 2007-10-12 Jim Evins <evins@snaught.com>
213 * docs/libglabels/libglabels-decl-list.txt:
214 * docs/libglabels/libglabels-sections.txt:
215 * docs/libglabels/libglabels-undocumented.txt:
216 * docs/libglabels/tmpl/category.sgml:
217 * docs/libglabels/tmpl/enums.sgml:
218 * docs/libglabels/tmpl/libglabels-unused.sgml:
219 * docs/libglabels/tmpl/paper.sgml:
220 * docs/libglabels/tmpl/template-struct.sgml:
222 * libglabels/template.c:
223 * libglabels/template.h:
224 Another pass at fleshing out the libglabels documentation.
225 * src/cairo-label-path.c:
226 * src/cairo-markup-path.c:
228 * src/mini-preview-pixbuf.c:
232 * src/wdgt-media-select.c:
233 * src/wdgt-mini-preview.c:
234 * src/wdgt-print-copies.c:
235 * src/wdgt-print-merge.c:
236 * src/wdgt-rotate-label.c:
237 Removed lgl_template_get_first_frame() from libglabels API and all references.
239 2007-10-11 Jim Evins <evins@snaught.com>
241 Extended checks for deprecated symbols.
242 * libglabels/template.c:
243 Removed g_strcasecmp references, which are deprecated.
245 2007-10-09 Jim Evins <evins@snaught.com>
247 * src/merge-evolution.c:
248 Create address book if it does not exist. Also, be more robust about handling
249 error conditions -- don't just assume GError has been set.
251 2007-10-08 Jim Evins <evins@snaught.com>
253 * libglabels/template.c:
254 * libglabels/xml-template.c:
255 * src/template-designer.c:
256 Missed some symbols with libglabels API work.
258 2007-10-01 Jim Evins <evins@snaught.com>
260 * docs/libglabels/libglabels-decl-list.txt:
261 * docs/libglabels/libglabels-docs.sgml:
262 * docs/libglabels/libglabels-sections.txt:
263 * docs/libglabels/libglabels-undocumented.txt:
264 * docs/libglabels/tmpl/category.sgml:
265 * docs/libglabels/tmpl/enums.sgml:
266 * docs/libglabels/tmpl/init.sgml:
267 * docs/libglabels/tmpl/libglabels-unused.sgml:
268 * docs/libglabels/tmpl/paper.sgml:
269 * docs/libglabels/tmpl/template-construction.sgml:
270 * docs/libglabels/tmpl/template-db.sgml:
271 * docs/libglabels/tmpl/template-misc.sgml:
272 * docs/libglabels/tmpl/template-struct.sgml:
273 * docs/libglabels/tmpl/template.sgml:
274 * docs/libglabels/tmpl/xml-category.sgml:
275 * docs/libglabels/tmpl/xml-template.sgml:
276 * libglabels/category.h:
278 * libglabels/libglabels-private.h:
279 * libglabels/paper.h:
280 * libglabels/template.c:
281 * libglabels/template.h:
282 * libglabels/xml-template.h:
283 Basic documentation framework for libglabels updated. This still needs some
286 2007-09-27 Jim Evins <evins@snaught.com>
288 * docs/libglabels/libglabels-decl-list.txt:
289 * docs/libglabels/libglabels-docs.sgml:
290 * docs/libglabels/libglabels-sections.txt:
291 * docs/libglabels/libglabels-undocumented.txt:
292 * docs/libglabels/tmpl/enums.sgml:
293 * docs/libglabels/tmpl/init.sgml:
294 * docs/libglabels/tmpl/libglabels-unused.sgml:
295 * docs/libglabels/tmpl/paper.sgml:
296 * docs/libglabels/tmpl/template.sgml:
297 * docs/libglabels/tmpl/xml-paper.sgml:
298 * docs/libglabels/tmpl/xml-template.sgml:
299 * docs/libglabels/tmpl/xml.sgml:
300 * libglabels/Makefile.am:
301 * libglabels/category.c:
302 * libglabels/category.h:
303 * libglabels/enums.h:
306 * libglabels/libglabels-private.h:
307 * libglabels/libglabels.h:
308 * libglabels/paper.c:
309 * libglabels/paper.h:
310 * libglabels/template.c:
311 * libglabels/template.h:
312 * libglabels/xml-category.c:
313 * libglabels/xml-category.h:
314 * libglabels/xml-paper.c:
315 * libglabels/xml-paper.h:
316 * libglabels/xml-template.c:
317 * libglabels/xml-template.h:
320 * src/cairo-label-path.c:
321 * src/cairo-label-path.h:
322 * src/cairo-markup-path.c:
323 * src/cairo-markup-path.h:
325 * src/glabels-batch.c:
327 * src/label-object.c:
330 * src/mini-preview-pixbuf-cache.c:
331 * src/mini-preview-pixbuf.c:
332 * src/mini-preview-pixbuf.h:
333 * src/prefs-dialog.c:
340 * src/template-designer.c:
341 * src/view-barcode.c:
343 * src/view-ellipse.c:
347 * src/wdgt-media-select.c:
348 * src/wdgt-mini-preview.c:
349 * src/wdgt-mini-preview.h:
350 * src/wdgt-print-copies.c:
351 * src/wdgt-print-merge.c:
352 * src/wdgt-rotate-label.c:
353 * src/xml-label-04.c:
355 Major cleanup of libglabels API -- this breaks API compatibility with older
356 development and stable versions -- as far as I know, there are currently
357 no external users of this library yet.
359 2007-09-14 Jim Evins <evins@snaught.com>
364 * src/label-object.c:
365 * src/label-object.h:
366 * src/label-barcode.c:
367 * src/label-ellipse.c:
370 * src/view-barcode.c:
372 * src/view-ellipse.c:
376 Better separation of model from view.
378 2007-08-21 Jim Evins <evins@snaught.com>
380 * src/print-op.c: (create_custom_widget_cb):
381 Fix problem with force_outline_flag -- don't override with default.
383 2007-08-21 Jim Evins <evins@snaught.com>
385 * data/dtd/glabels-2.0.dtd:
386 * libglabels/template.c:
387 * libglabels/template.h:
388 * libglabels/xml-template.c:
389 * src/cairo-markup-path.c:
390 Added "Markup-rect" element to template format.
392 2007-08-21 Jim Evins <evins@snaught.com>
395 Changed version to 2.1.pre5svn.
396 * src/view.c: (draw_markup_layer):
397 Do a stroke for each markup path, otherwise multiple markups
400 2007-08-17 Jim Evins <evins@snaught.com>
403 Bump libglabels revision numbers for 2.1.4 release.
405 2007-08-16 Jim Evins <evins@snaught.com>
408 Include subdir iec16022-0.2.1.
412 Preparation for 2.1.4.
415 2007-08-11 Jim Evins <evins@snaught.com>
421 Added Esperanto translation. Provided by Antonio C.
422 Codazzi "la Filozofo" <f_sophia@libero.it>.
424 Updated French translation. Provided by Claude Paroz
425 <claude@2xlibre.net>.
427 Updated to reflect above translations.
429 2007-08-11 Jim Evins <evins@snaught.com>
432 * data/templates/avery-iso-templates.xml:
433 * data/templates/avery-us-templates.xml:
434 * data/templates/misc-iso-templates.xml:
435 * data/templates/misc-other-templates.xml:
436 * data/templates/misc-us-templates.xml:
437 * data/templates/zweckform-iso-templates.xml:
438 Caught up with backlog of template submissions.
440 2007-08-10 Jim Evins <evins@snaught.com>
442 * src/bc-postnet.c: (gl_barcode_postnet_new):
444 Added support for Brazilian CEPNet barcodes. This is simply an
445 instance of the US POSTNET format with 8 digits. Patch supplied
446 by Mário Meyer in bug # 1768792.
448 Updated acknowledgments to reflect above patch and recent shuffling
449 of underlying technology.
451 2007-05-13 Jim Evins <evins@snaught.com>
453 * src/merge-text.c: (parse_line), (parse_field):
454 Remove leading and trailing spaces from CSV fields, unless quoted.
456 2007-05-09 Jim Evins <evins@snaught.com>
458 * src/object-editor-bc-page.c:
459 * src/object-editor-data-page.c:
460 * src/object-editor-fill-page.c:
461 * src/object-editor-image-page.c:
462 * src/object-editor-line-page.c:
463 * src/object-editor-lsize-page.c:
464 * src/object-editor-position-page.c:
465 * src/object-editor-private.h:
466 * src/object-editor-shadow-page.c:
467 * src/object-editor-size-page.c:
468 * src/object-editor-text-page.c:
469 * src/object-editor.c:
470 * src/prefs-dialog.c:
471 * src/template-designer.c:
472 * src/ui-property-bar.c:
473 * src/wdgt-media-select.c:
474 Replaced signal block/unblock pairs with simple flags. This reduces
475 some code clutter, hopefully making it easier to read.
477 2007-05-05 Jim Evins <evins@snaught.com>
479 * src/template-designer.c: (apply_cb):
480 Add new template to mini-preview pixbuf cache.
482 2007-05-03 Jim Evins <evins@snaught.com>
484 * src/label-image.c: (gl_label_image_init), (draw_object):
485 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
488 2007-05-02 Jim Evins <evins@snaught.com>
490 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
491 (button_release_event_cb):
492 Removed attempt at rendering optimization by clipping the updates
493 to areas affected -- this actually seemed to hurt update performance.
495 2007-04-30 Jim Evins <evins@snaught.com>
498 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
499 (gl_color_node_equal), (gl_color_node_expand):
500 * src/label-barcode.c: (draw_object):
501 * src/label-box.c: (draw_object), (draw_shadow):
502 * src/label-ellipse.c: (draw_object), (draw_shadow):
503 * src/label-line.c: (draw_object), (draw_shadow):
504 * src/label-text.c: (draw_object), (draw_shadow):
505 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
506 * src/wdgt-rotate-label.c: (drawingarea_update):
507 Some cleanup to color related code.
509 2007-04-30 Jim Evins <evins@snaught.com>
512 Added glLabelRegion structure type.
513 * src/label-object.c: (gl_label_object_get_extent):
514 * src/label-object.h:
515 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
517 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
518 (gl_view_select_region), (gl_view_align_selection_left),
519 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
520 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
521 (gl_view_align_selection_vcenter),
522 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
523 (gl_view_move_selection), (gl_view_can_selection_text),
524 (motion_notify_event_cb), (button_press_event_cb),
525 (button_release_event_cb):
526 - Reconcile with new gl_label_object_get_extent() API.
527 - Use glLabelRegion for view->select_region.
528 - Added gl_view_update_region() to clip updates to region.
529 - Use gl_view_update_region() during manipulation of view->select_region.
531 2007-04-26 Jim Evins <evins@snaught.com>
533 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
534 (draw_label_outline):
535 * src/print.c: (print_crop_marks), (draw_outline):
536 * src/view-object.c: (gl_view_object_draw_handles):
537 * src/view.c: (draw_bg_layer), (draw_grid_layer),
538 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
539 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
540 * src/wdgt-rotate-label.c: (drawingarea_update):
541 Added defines for various magic numbers.
543 2007-04-25 Jim Evins <evins@snaught.com>
545 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
546 Scale text down. Cairo seems to render text too large.
548 2007-04-25 Jim Evins <evins@snaught.com>
551 * src/view.c: (gl_view_update), (expose_cb),
552 (motion_notify_event_cb), (button_press_event_cb),
553 (button_release_event_cb):
554 - Try not to let updates get backed up.
555 - Grab pointer when doing any drag operations.
557 2007-04-11 Jim Evins <evins@snaught.com>
559 * src/cairo-label-path.c: (gl_cairo_label_path),
560 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
561 (gl_cairo_cd_label_path):
562 * src/cairo-label-path.h:
563 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
564 (draw_label_outline):
565 * src/print.c: (draw_outline), (clip_to_outline):
566 * src/view.c: (draw_bg_layer), (draw_fg_layer):
567 * src/wdgt-mini-preview.c: (draw_labels):
568 * src/wdgt-rotate-label.c: (drawingarea_update):
569 Modified to universally use gl_cairo_label_path() to create paths
570 for labels. Added shadow to mini preview in rotate widget.
572 2007-04-10 Jim Evins <evins@snaught.com>
574 * libglabels/template.h:
575 * libglabels/template.c: (gl_template_get_name_list_unique),
576 (gl_template_get_name_list_all), (gl_template_from_name):
577 Modified libglabels to allow you to get a list of all template names
578 including all aliases or just a list of primary names of each unique
581 * src/file.c: (gl_file_properties):
582 * src/glabels.c: (main):
583 * src/mini-preview-pixbuf-cache.h:
584 * src/mini-preview-pixbuf-cache.c:
585 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
586 (filter_changed_cb), (load_list):
587 Added mini-preview pixbuf cache, so that only one mini-preview is
588 needed for a unique template and gets reused for all aliases. These
589 pixbufs will also live for the life of the program so they are not
590 rebuilt everytime a new label dialog is invoked.
591 * src/mini-preview-pixbuf.c: (draw_paper),
592 (draw_rect_label_outline), (draw_round_label_outline),
593 (draw_cd_label_outline):
594 Removed some comment artifacts.
596 2007-04-04 Jim Evins <evins@snaught.com>
598 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
599 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
600 (draw_round_label_outline), (draw_cd_label_outline):
601 * src/wdgt-media-select.c: (load_list):
602 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
603 Cosmetic enhancments to mini previews.
605 2007-04-04 Jim Evins <evins@snaught.com>
607 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
608 (gl_ui_property_bar_construct):
609 Save copy of GladeXML tree so that we don't lose tooltips.
611 2007-04-02 Jim Evins <evins@snaught.com>
613 * src/merge-properties-dialog.c:
614 * src/new-label-dialog.c:
615 * src/object-editor.c:
616 * src/prefs-dialog.c:
618 * src/template-designer.c:
619 * src/ui-property-bar.c:
620 * src/wdgt-media-select.c:
621 * src/wdgt-rotate-label.c:
622 Fixed several memory leaks.
624 2007-04-01 Jim Evins <evins@snaught.com>
626 * src/label-text.c: (gl_label_text_init), (copy),
627 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
628 (set_font_family), (set_font_size), (set_font_weight),
629 (set_font_italic_flag), (set_text_alignment),
630 (set_text_line_spacing):
631 Cache object size, so that expensive extent calculations are only done
634 2007-03-30 Jim Evins <evins@snaught.com>
636 * src/prefs-model.c: (gl_prefs_model_load_settings):
637 Default to an unlimited list of recent documents, since this parameter
638 seems to be pre-filter anyway.
640 2007-03-30 Jim Evins <evins@snaught.com>
642 * src/label-box.c: (draw_shadow):
643 * src/label-ellipse.c: (draw_shadow):
644 Added missing shadow fill.
646 2007-03-28 Jim Evins <evins@snaught.com>
648 * src/ui-commands.c: (gl_ui_cmd_file_print):
649 Unreferencing the print operation sometimes crashes. Just don't do it
652 2007-03-28 Jim Evins <evins@snaught.com>
654 * src/print-op.c: (gl_print_op_construct),
655 (gl_print_op_get_settings), (gl_print_op_set_settings),
656 (gl_print_op_free_settings), (create_custom_widget_cb):
658 * src/ui-commands.c: (gl_ui_cmd_file_print):
659 * src/window.c: (gl_window_init):
661 Save print settings and custom settings between print operations
664 2007-03-24 Jim Evins <evins@snaught.com>
666 * src/object-editor-image-page.c:
667 (gl_object_editor_prepare_image_page),
668 (gl_object_editor_set_image), (img_selection_changed_cb):
669 Workaround for GtkFileChooserButton bug # 327243. This the root
670 cause for gLabels bug # 1192884. I have actually observed 3 delayed
671 "selection-changed" signals -- the first 2 return NULL -- this is
672 what caused the image to reset to the default followed by setting
673 it back to the original image, trying to fit it into a new bounding
674 box. This sequence of events is much more evident with the new
677 2007-03-23 Jim Evins <evins@snaught.com>
679 Merged all changes from experimental cairo branch to trunk.
680 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
682 2007-03-23 Jim Evins <evins@snaught.com>
684 * src/label-object.h:
685 * src/label-object.c: (gl_label_object_class_init),
686 (gl_label_object_get_raw_size), (gl_label_object_get_size):
687 Created "get_raw_size" method.
688 * src/label-barcode.c: (get_size):
689 * src/xml-label.c: (xml_create_object_text),
690 (xml_create_object_barcode):
691 Use new "get_raw_size" method on label-objects when apropos.
693 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
694 (auto_shrink_font_size):
695 Added "auto shrink" functionality back.
697 2007-03-19 Jim Evins <evins@snaught.com>
699 * src/label-text.c: (draw_object), (draw_shadow):
700 Don't use negative scales in workaround from previous commit.
703 2007-03-18 Jim Evins <evins@snaught.com>
706 Forgot to remove include of xml-lable-191 in previous commit.
707 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
708 Workaround for pango Bug #341481. Render text at device scale,
709 and scale font size accordingly. Also, don't do any hinting.
711 2007-03-18 Jim Evins <evins@snaught.com>
713 * src/cairo-ellipse-path.c:
714 * src/cairo-ellipse-path.h:
715 Forgot to add these new files during last mass commit.
717 2007-03-18 Jim Evins <evins@snaught.com>
720 * src/xml-label-191.c:
721 * src/xml-label-191.h:
722 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
723 so there is no need to keep compatability.
726 * src/cairo-label-path.c:
727 * src/cairo-label-path.h:
728 * src/cairo-markup-path.c:
732 * src/glabels-batch.c:
734 * src/label-barcode.c:
736 * src/label-ellipse.c:
739 * src/label-object.c:
740 * src/label-object.h:
744 * src/merge-properties-dialog.c:
746 * src/new-label-dialog.c:
747 * src/object-editor-bc-page.c:
748 * src/object-editor-data-page.c:
749 * src/object-editor-edit-page.c:
750 * src/object-editor-fill-page.c:
751 * src/object-editor-image-page.c:
752 * src/object-editor-line-page.c:
753 * src/object-editor-private.h:
754 * src/object-editor-shadow-page.c:
755 * src/object-editor-text-page.c:
756 * src/object-editor.c:
757 * src/pixbuf-cache.c:
762 * src/template-designer.c:
764 * src/ui-property-bar.c:
766 * src/view-barcode.c:
768 * src/view-ellipse.c:
775 * src/wdgt-media-select.c:
776 * src/wdgt-print-copies.c:
777 * src/wdgt-print-merge.c:
779 * src/xml-label-04.c:
781 Many changes, including:
782 - Move draw methods from view-*() to label-*().
783 - Use same drawing code for on screen view and printing.
784 - Fix all issues exposed with '-Wall -Werror'.
786 2007-03-14 Jim Evins <evins@snaught.com>
789 * src/cairo-handle-path.c:
790 * src/cairo-handle-path.h:
791 * src/cairo-object-path.c:
792 * src/cairo-object-path.h:
793 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
794 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
796 * src/view-box.c: (gl_view_box_class_init), (draw_object),
797 (draw_shadow), (object_at):
798 * src/view-ellipse.c: (gl_view_ellipse_class_init),
799 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
800 * src/view-image.c: (gl_view_image_class_init), (draw_object),
802 * src/view-line.c: (gl_view_line_class_init), (draw_object),
803 (draw_shadow), (object_at):
804 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
805 (create_handle_path), (gl_view_object_draw_handles),
806 (gl_view_object_handle_at):
808 * src/view-text.c: (gl_view_text_class_init), (draw_object),
809 (draw_shadow), (object_at):
810 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
811 Some restructuring of new code.
813 2007-03-12 Jim Evins <evins@snaught.com>
816 * src/cairo-object-path.c:
817 * src/view-barcode.c:
818 * src/view-barcode.h:
820 Added barcode object support to view.
822 2007-03-12 Jim Evins <evins@snaught.com>
828 * src/cairo-object-path.c:
829 * src/cairo-object-path.h:
831 * src/view-ellipse.c:
836 Added text object support to view. Added object_at method to all
839 2007-03-11 Jim Evins <evins@snaught.com>
842 * src/cairo-object-path.c: (gl_cairo_object_path),
843 (gl_cairo_image_object_path):
844 * src/view-image.c: (gl_view_image_class_init),
845 (gl_view_image_finalize), (gl_view_image_new),
846 (update_editor_from_label_cb), (draw),
847 (gl_view_image_get_create_cursor),
848 (gl_view_image_create_button_press_event),
849 (gl_view_image_create_motion_event),
850 (gl_view_image_create_button_release_event):
852 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
853 (selection_received_cb), (motion_notify_event_cb),
854 (button_press_event_cb), (button_release_event_cb):
855 Added image object support to view.
857 2007-03-11 Jim Evins <evins@snaught.com>
860 * src/cairo-object-path.c: (gl_cairo_object_path),
861 (gl_cairo_line_object_path):
862 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
863 (update_object_from_editor_cb), (update_editor_from_object_cb),
864 (update_editor_from_label_cb), (draw),
865 (gl_view_line_get_create_cursor),
866 (gl_view_line_create_button_press_event),
867 (gl_view_line_create_motion_event),
868 (gl_view_line_create_button_release_event):
870 * src/view-object.c: (gl_view_object_resize_event):
871 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
872 (selection_received_cb), (motion_notify_event_cb),
873 (button_press_event_cb), (button_release_event_cb):
874 Added line object support to view.
875 * src/cairo-handle-path.c:
876 Made handles slightly larger.
879 2007-03-11 Jim Evins <evins@snaught.com>
882 * src/cairo-handle-path.c:
883 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
884 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
885 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
886 (gl_cairo_markup_margin_round_path),
887 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
888 * src/cairo-object-path.c: (gl_cairo_object_path),
889 (gl_cairo_ellipse_object_path):
890 * src/label-object.c: (gl_label_object_rotate):
893 * src/view-ellipse.c: (gl_view_ellipse_class_init),
894 (gl_view_ellipse_new), (update_object_from_editor_cb),
895 (update_editor_from_object_cb), (update_editor_from_label_cb),
896 (draw), (gl_view_ellipse_get_create_cursor),
897 (gl_view_ellipse_create_button_press_event),
898 (gl_view_ellipse_create_motion_event),
899 (gl_view_ellipse_create_button_release_event):
900 * src/view-ellipse.h:
903 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
904 (select_object_real), (selection_received_cb),
905 (motion_notify_event_cb), (button_press_event_cb),
906 (button_release_event_cb):
908 Added ellipse object support to view. Plus other cleanup.
910 2007-03-11 Jim Evins <evins@snaught.com>
913 * src/view-box.c: (gl_view_box_get_create_cursor),
914 (gl_view_box_create_button_press_event),
915 (gl_view_box_create_motion_event),
916 (gl_view_box_create_button_release_event):
917 * src/view-object.c: (gl_view_object_set_view),
918 (gl_view_object_handle_at):
920 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
921 (motion_notify_event_cb), (button_press_event_cb),
922 (button_release_event_cb), (key_press_event_cb):
923 Added creation code for box object.
925 2007-03-09 Jim Evins <evins@snaught.com>
927 * src/view-object.c: (gl_view_object_resize_event):
929 * src/view.c: (motion_notify_event_cb):
930 Fix bugs with resizing transformed objects.
931 * src/cairo-handle-path.c: (gl_cairo_handle_path):
932 * src/cairo-object-path.c: (gl_cairo_object_path):
933 * src/cairo-object-path.h:
934 * src/label-object.c: (gl_label_object_init),
935 (gl_label_object_dup), (gl_label_object_get_extent),
936 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
937 (gl_label_object_rotate), (gl_label_object_set_matrix),
938 (gl_label_object_get_matrix):
939 * src/label-object.h:
940 * src/print.c: (draw_object):
942 * src/view-highlight.c:
943 * src/view-highlight.h:
944 * src/xml-label-191.c: (xml191_parse_object):
945 * src/xml-label.c: (xml_parse_affine_attrs),
946 (xml_create_affine_attrs):
947 Replace libart affine matrices with cairo matrices.
949 2007-03-08 Jim Evins <evins@snaught.com>
952 * src/view.c: (gl_view_update), (motion_notify_event_cb):
953 * src/view-object.c: (gl_view_object_handle_at),
954 (gl_view_object_resize_event):
955 Added resize code -- still a bit buggy.
957 2007-03-07 Jim Evins <evins@snaught.com>
960 * src/cairo-handle-path.c:
961 * src/cairo-handle-path.h:
962 * src/view-box.c: (gl_view_box_new):
963 * src/view-object.c: (gl_view_object_set_object),
964 (gl_view_object_draw_handles), (gl_view_object_handle_at):
966 * src/view.c: (draw_highlight_layer), (select_object_real),
967 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
968 (button_press_event_cb), (button_release_event_cb),
969 (key_press_event_cb):
971 Added beginnings of object resize handles.
973 2007-03-07 Jim Evins <evins@snaught.com>
976 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
977 (gl_view_object_create_mode), (motion_notify_event_cb),
978 (button_press_event_cb), (button_release_event_cb),
979 (key_press_event_cb):
980 Added move selection support.
982 2007-03-05 Jim Evins <evins@snaught.com>
984 * src/cairo-object-path.c: (gl_cairo_object_path):
985 * src/view-object.c: (gl_view_object_draw),
986 (gl_view_object_draw_highlight):
987 * src/view.c: (view_object_at), (motion_notify_event_cb),
988 (button_press_event_cb), (button_release_event_cb):
989 Additional refinements to select logic.
991 2007-03-05 Jim Evins <evins@snaught.com>
994 * src/view.c: (gl_view_init), (gl_view_construct),
995 (label_changed_cb), (draw_layers), (draw_select_region_layer),
996 (gl_view_select_region), (object_at), (motion_notify_event_cb),
997 (button_press_event_cb), (button_release_event_cb):
998 Added initial select region support and context menu.
1000 2007-03-04 Jim Evins <evins@snaught.com>
1011 * src/ui-commands.c:
1014 * src/view-object.c:
1015 * src/view-object.h:
1018 * src/wdgt-print-copies.c:
1019 * src/wdgt-print-merge.c:
1021 Initial port to a raw Cairo canvas. This removes all remaining
1022 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1023 the view is becoming a canvas widget in its own right. Still needs
1025 * src/cairo-label-path.c:
1026 * src/cairo-label-path.h:
1027 * src/cairo-markup-path.c:
1028 * src/cairo-markup-path.h:
1029 * src/cairo-object-path.c:
1030 * src/cairo-object-path.h:
1031 New files to support cairo canvas.
1032 * src/canvas-hacktext.c:
1033 * src/canvas-hacktext.h:
1036 2007-02-18 Jim Evins <evins@snaught.com>
1039 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1041 2007-02-14 Jim Evins <evins@snaught.com>
1045 * src/bc-gnubarcode.c:
1046 * src/bc-gnubarcode.h:
1051 * src/canvas-hacktext.c:
1052 * src/canvas-hacktext.h:
1059 * src/label-barcode.c:
1060 * src/label-barcode.h:
1063 * src/label-ellipse.c:
1064 * src/label-ellipse.h:
1065 * src/label-image.c:
1066 * src/label-image.h:
1069 * src/label-object.c:
1070 * src/label-object.h:
1075 * src/merge-evolution.c:
1076 * src/merge-evolution.h:
1079 * src/merge-properties-dialog.c:
1080 * src/merge-properties-dialog.h:
1083 * src/merge-vcard.c:
1084 * src/merge-vcard.h:
1087 * src/mini-preview-pixbuf.h:
1088 * src/new-label-dialog.c:
1089 * src/new-label-dialog.h:
1090 * src/object-editor-bc-page.c:
1091 * src/object-editor-data-page.c:
1092 * src/object-editor-edit-page.c:
1093 * src/object-editor-fill-page.c:
1094 * src/object-editor-image-page.c:
1095 * src/object-editor-line-page.c:
1096 * src/object-editor-lsize-page.c:
1097 * src/object-editor-position-page.c:
1098 * src/object-editor-private.h:
1099 * src/object-editor-size-page.c:
1100 * src/object-editor-text-page.c:
1101 * src/object-editor.c:
1102 * src/object-editor.h:
1103 * src/pixbuf-cache.c:
1104 * src/pixbuf-cache.h:
1105 * src/prefs-dialog.c:
1106 * src/prefs-dialog.h:
1107 * src/prefs-model.c:
1108 * src/prefs-model.h:
1114 * src/template-designer.c:
1117 * src/ui-commands.c:
1118 * src/ui-commands.h:
1119 * src/ui-property-bar.c:
1120 * src/ui-property-bar.h:
1129 * src/view-barcode.c:
1130 * src/view-barcode.h:
1133 * src/view-ellipse.c:
1134 * src/view-ellipse.h:
1135 * src/view-highlight.c:
1136 * src/view-highlight.h:
1141 * src/view-object.c:
1142 * src/view-object.h:
1147 * src/wdgt-chain-button.c:
1148 * src/wdgt-chain-button.h:
1149 * src/wdgt-media-select.c:
1150 * src/wdgt-mini-preview.c:
1151 * src/wdgt-print-copies.c:
1152 * src/wdgt-print-copies.h:
1153 * src/wdgt-print-merge.c:
1154 * src/wdgt-print-merge.h:
1155 * src/wdgt-rotate-label.c:
1157 * src/xml-label-04.c:
1158 * src/xml-label-04.h:
1159 * src/xml-label-191.c:
1160 * src/xml-label-191.h:
1164 Assorted superficial cleanup. Including:
1165 - Use G_DEFINE_TYPE for all objects.
1166 - Reconcile style of all class initializer functions
1167 - Reconcile style of all finalize functions
1168 - Add emacs mode line to all source files
1170 2007-02-06 Jim Evins <evins@snaught.com>
1172 Assorted cleanup and removal of deprecated items.
1177 Removed annoying splash screen.
1178 * src/glabels-batch.c: (main):
1179 * src/glabels.c: (main):
1180 Converted from popt to GOption.
1181 * src/object-editor-shadow-page.c:
1182 (gl_object_editor_set_shadow_state):
1183 Removed deprecated method on GtkToggleButton.
1184 * src/ui-commands.c: (gl_ui_cmd_help_about):
1185 Removed dependency on libgnomui/qnome-url.h.
1186 * src/template-designer.c:
1187 Removed dependency on libgnome/gnome-program.h.
1190 2007-02-04 Jim Evins <evins@snaught.com>
1194 * src/prefs-model.c:
1195 * src/print.c: (draw_text_object):
1196 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1197 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1199 2007-02-04 Jim Evins <evins@snaught.com>
1201 * src/wdgt-mini-preview.c:
1202 * src/wdgt-mini-preview.h:
1203 Ported widget from GnomeCanvas to Cairo.
1205 2007-02-03 Jim Evins <evins@snaught.com>
1207 * data/glade/template-designer.glade:
1208 * src/template-designer.c:
1209 * src/template-designer.h:
1210 Ported GnomeDruid to GtkAssistant. Since libglade does not
1211 yet support the GtkAssistant and we derive directly from
1212 the Assistant, the pages are layed out in a GtkNotebook in
1213 the glade description -- we then append each page to the
1216 2007-01-25 Jim Evins <evins@snaught.com>
1218 * data/glade/object-editor.glade:
1219 Added dummy page to notebook, to prevent shadow page from
1220 becoming the default current page at creation.
1221 * src/view-box.c: (construct_properties_editor):
1222 * src/view-ellipse.c: (construct_properties_editor):
1223 * src/view-line.c: (construct_properties_editor):
1224 * src/view-text.c: (construct_properties_editor):
1225 Reconciled order of params.
1227 2007-01-19 Jim Evins <evins@snaught.com>
1229 * src/label-barcode.h:
1230 * src/label-object.c: (gl_label_object_set_font_weight),
1231 (gl_label_object_set_text_alignment),
1232 (gl_label_object_get_font_weight),
1233 (gl_label_object_get_text_alignment):
1234 * src/label-object.h:
1235 * src/label-text.c: (gl_label_text_instance_init), (copy),
1236 (get_size), (set_font_family), (set_font_weight),
1237 (set_text_alignment), (get_font_weight), (get_text_alignment):
1239 * src/object-editor-text-page.c:
1240 (gl_object_editor_prepare_text_page),
1241 (gl_object_editor_set_font_family),
1242 (gl_object_editor_set_font_weight),
1243 (gl_object_editor_get_font_weight),
1244 (gl_object_editor_set_text_alignment),
1245 (gl_object_editor_get_text_alignment),
1246 (gl_object_editor_set_text_color):
1247 * src/object-editor.h:
1248 * src/prefs-dialog.c: (construct_object_page),
1249 (update_object_page_from_prefs), (update_prefs_from_object_page):
1250 * src/prefs-model.c: (gl_prefs_model_save_settings),
1251 (gl_prefs_model_load_settings):
1252 * src/prefs-model.h:
1253 * src/print.c: (draw_text_object):
1254 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1255 (reset_to_default_properties), (update_text_properties),
1256 (font_bold_toggled_cb), (text_align_toggled_cb):
1258 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1259 (gl_util_weight_to_string), (gl_util_string_to_weight),
1260 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1262 * src/view-text.c: (update_object_from_editor_cb),
1263 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1264 * src/view.c: (gl_view_set_selection_text_alignment),
1265 (gl_view_set_default_text_alignment),
1266 (gl_view_get_default_text_alignment):
1268 * src/xml-label-04.c: (xml04_parse_text_props):
1269 * src/xml-label-191.c: (xml191_parse_text_props):
1270 * src/xml-label.c: (xml_parse_object_text),
1271 (xml_parse_toplevel_span), (xml_create_object_text),
1272 (xml_create_toplevel_span):
1273 Converted all model internals to Pango. GnomeFont remains in
1274 view until GnomeCanvas can be replaced with a cairo-based canvas.
1276 2007-01-17 Jim Evins <evins@snaught.com>
1282 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1283 (gl_wdgt_print_copies_construct):
1284 * src/wdgt-print-copies.h:
1285 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1286 (gl_wdgt_print_merge_construct):
1287 * src/wdgt-print-merge.h:
1288 Removed all remaining HIG wrapper widgets.
1290 2007-01-16 Jim Evins <evins@snaught.com>
1293 * src/print-dialog.c:
1294 * src/print-dialog.h:
1297 * src/template-designer.c: (print_test_cb):
1298 * src/ui-commands.c: (gl_ui_cmd_file_print):
1300 Renamed PrintDialog to PrintOp. Added constructor for batch
1302 * src/glabels-batch.c: (main):
1303 Converted to use new PrintOp object for printing.
1305 2007-01-15 Jim Evins <evins@snaught.com>
1307 * data/glade/Makefile.am:
1308 * data/glade/print-custom-widget.glade:
1309 * src/print-dialog.c:
1310 * src/print-dialog.h:
1313 * src/template-designer.c: (print_test_cb):
1314 * src/ui-commands.c: (gl_ui_cmd_file_print):
1315 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1316 * src/wdgt-print-merge.h:
1317 * src/window.c: (gl_window_init):
1319 Initial conversion to GtkPrintOperation.
1321 - Remove font and other libgnomeprint[ui] from elsewhere
1322 - Add batch initialization of print operation
1324 2007-01-08 Jim Evins <evins@snaught.com>
1326 Updated dependencies. Set version to 2.1.pre4cvs.
1328 2007-01-03 Jim Evins <evins@snaught.com>
1330 * src/recent-files/*
1331 Removed EggRecent stuff.
1337 * src/ui-commands.c:
1338 * src/ui-commands.h:
1340 Ported from EggRecent to GtkRecentManager.
1343 2007-01-02 Jim Evins <evins@snaught.com>
1346 * iec16022-0.2.1/BUGS:
1347 * iec16022-0.2.1/CHANGELOG:
1348 * iec16022-0.2.1/CREDITS:
1349 * iec16022-0.2.1/INSTALL:
1350 * iec16022-0.2.1/LICENSE:
1351 * iec16022-0.2.1/Makefile.am:
1352 * iec16022-0.2.1/Makefile.dist:
1353 * iec16022-0.2.1/README:
1354 * iec16022-0.2.1/README.glabels:
1355 * iec16022-0.2.1/TODO:
1356 * iec16022-0.2.1/iec16022.1:
1357 * iec16022-0.2.1/iec16022.c:
1358 * iec16022-0.2.1/iec16022ecc200.c:
1359 * iec16022-0.2.1/iec16022ecc200.h:
1360 * iec16022-0.2.1/image.c:
1361 * iec16022-0.2.1/image.h:
1362 * iec16022-0.2.1/reedsol.c:
1363 * iec16022-0.2.1/reedsol.h:
1364 * iec16022-0.2.1/test/testsuite-example.bin:
1365 * iec16022-0.2.1/test/testsuite-example.eps:
1366 * iec16022-0.2.1/test/testsuite-example.hex:
1367 * iec16022-0.2.1/test/testsuite-example.png:
1368 * iec16022-0.2.1/test/testsuite-example.text:
1369 * iec16022-0.2.1/test/testsuite.sh:
1370 Include modified copy of iec16022-0.2.1 to provide encoding
1371 support for datamatrix 2D barcodes.
1373 * src/bc-iec16022.c:
1374 * src/bc-iec16022.h:
1376 Added initial datamatrix 2D barcode backend to barcode code.
1379 Automatic updates to later versions of these files.
1381 2006-11-28 Jim Evins <evins@snaught.com>
1383 * data/templates/avery-iso-templates.xml:
1384 * data/templates/avery-us-templates.xml:
1385 * data/templates/categories.xml:
1386 * data/templates/misc-iso-templates.xml:
1387 * data/templates/misc-us-templates.xml:
1388 * data/templates/zweckform-iso-templates.xml:
1389 More categorization.
1391 2006-09-12 Jim Evins <evins@snaught.com>
1393 * data/dtd/glabels-2.0.dtd:
1394 * data/templates/Makefile.am:
1395 * data/templates/avery-iso-templates.xml:
1396 * data/templates/avery-other-templates.xml:
1397 * data/templates/avery-us-templates.xml:
1398 * data/templates/categories.xml:
1399 * data/templates/misc-iso-templates.xml:
1400 * data/templates/misc-other-templates.xml:
1401 * data/templates/zweckform-iso-templates.xml:
1402 * data/glade/Makefile.am:
1403 * data/glade/new-label-dialog.glade:
1404 * data/glade/wdgt-media-select.glade:
1405 * data/glade/wdgt-rotate-label.glade:
1406 * libglabels/Makefile.am:
1407 * libglabels/category.c:
1408 * libglabels/category.h:
1409 * libglabels/libglabels.h:
1410 * libglabels/paper.c:
1411 * libglabels/template.c:
1412 * libglabels/template.h:
1413 * libglabels/xml-category.c:
1414 * libglabels/xml-category.h:
1415 * libglabels/xml-template.c:
1416 Added support for category meta data.
1419 * src/mini-preview-pixbuf.c:
1420 * src/mini-preview-pixbuf.h:
1421 * src/new-label-dialog.c:
1422 * src/new-label-dialog.h:
1423 * src/wdgt-media-select.c:
1424 * src/wdgt-media-select.h:
1425 * src/wdgt-rotate-label.c:
1426 * src/wdgt-rotate-label.h:
1427 New "new label" dialog.
1429 2006-05-27 Jim Evins <evins@snaught.com>
1434 Preparation for 2.1.3.
1440 2006-05-22 Jim Evins <evins@snaught.com>
1442 * src/print.c: (draw_barcode_object):
1443 Don't print "Invalid barcode data" if data field is empty. Patch provided
1444 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1446 Added acknowledgment for above patch.
1447 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1448 * src/bc-postnet.c: (postnet_code):
1449 Removed "Invalid barcode data" warnings from stderr.
1450 * src/view-barcode.c: (draw_barcode):
1451 Draw box around barcode extent if data empty or invalid. Center a
1452 message whether the data is empty or invalid in box.
1454 2006-05-22 Jim Evins <evins@snaught.com>
1456 * src/print.c: (draw_text_object):
1457 Check shadow state when printing text.
1459 2006-05-20 Jim Evins <evins@snaught.com>
1461 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1462 (gl_ui_cmd_view_markup_toggle):
1463 Fixed crash when grid or markup have been toggled off during
1464 a previous session. Bug #1434324.
1466 2006-04-05 Jim Evins <evins@snaught.com>
1468 * src/object-editor.c: (gl_object_editor_set_key_names):
1469 Fixed potential crash when freeing empty key list.
1471 2006-03-11 Jim Evins <evins@snaught.com>
1473 * src/print.c: (draw_text_object):
1474 * src/view-text.c: (gl_view_text_new),
1475 (construct_properties_editor), (update_object_from_editor_cb),
1476 (update_editor_from_object_cb), (update_editor_from_label_cb),
1478 Added shadow support to text object.
1480 2006-02-18 Jim Evins <evins@snaught.com>
1482 * src/print.c: (draw_line_object):
1483 * src/view-line.c: (gl_view_line_new),
1484 (construct_properties_editor), (update_canvas_item_from_object_cb),
1485 (update_object_from_editor_cb), (update_editor_from_object_cb),
1486 (update_editor_from_label_cb):
1487 Added shadow support to line object.
1489 2006-02-16 Jim Evins <evins@snaught.com>
1493 * src/print.c: (draw_ellipse_object):
1494 * src/view-ellipse.c: (gl_view_ellipse_new),
1495 (construct_properties_editor), (update_canvas_item_from_object_cb),
1496 (update_object_from_editor_cb), (update_editor_from_object_cb),
1497 (update_editor_from_label_cb):
1498 Added shadow support to ellipse object.
1500 2006-02-15 Jim Evins <evins@snaught.com>
1502 * src/label-object.c:
1503 Changed default shadow offsets.
1504 * src/view-box.c: (gl_view_box_new):
1505 Simplified gl_view_box_new() so that is does not duplicate code
1506 in update_canvas_item_from_object_cb().
1508 2006-02-07 Jim Evins <evins@snaught.com>
1510 * data/glade/object-editor.glade:
1511 Fixed color groups of color combos.
1513 Added default shadow color.
1514 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1515 Added shadow color group.
1517 2006-02-06 Jim Evins <evins@snaught.com>
1519 * src/object-editor-shadow-page.c:
1520 Forgot to add this file.
1521 * src/view-box.c: (gl_view_box_new),
1522 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1523 Update limits on shadow offset spinbuttons.
1525 2006-01-19 Jim Evins <evins@snaught.com>
1527 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1528 Initialize key_list to NULL.
1529 * data/glade/object-editor.glade:
1533 * src/label-object.c:
1534 * src/label-object.h:
1535 * src/object-editor-fill-page.c:
1536 * src/object-editor-private.h:
1537 * src/object-editor.c:
1538 * src/object-editor.h:
1540 Created infrastructure for shadow support.
1543 Initial shadow support in box object only.
1545 2006-01-05 Jim Evins <evins@snaught.com>
1547 * src/merge-properties-dialog.c: (src_changed_cb):
1548 Be extra paranoid before calling strcmp().
1549 * src/merge.c: (gl_merge_set_src):
1550 Don't make (merge == NULL) a critical error.
1552 2005-12-22 Jim Evins <evins@snaught.com>
1554 * src/glabels-batch.c: (main):
1555 Compile warning free with gcc 4.0.
1557 2005-12-21 Jim Evins <evins@snaught.com>
1560 Updated example RPM spec file.
1562 2005-12-21 Jim Evins <evins@snaught.com>
1566 Preparation for 2.1.2.
1568 2005-12-20 Jim Evins <evins@snaught.com>
1571 Define unique G_LOG_DOMAIN for glabels.
1572 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1573 * src/warning-handler.c: (gl_warning_handler_init),
1575 Register for G_LOG_DOMAIN instead of NULL.
1577 2005-12-10 Jim Evins <evins@snaught.com>
1579 * src/merge-evolution.c:
1580 * src/merge-vcard.c:
1583 2005-12-08 Jim Evins <evins@snaught.com>
1585 * libglabels/paper.c: (read_paper_files_from_dir):
1586 * libglabels/template.c: (gl_template_register),
1587 (read_template_files_from_dir):
1588 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1589 (gl_xml_paper_parse_papers_doc):
1590 * libglabels/xml-template.c:
1591 (gl_xml_template_read_templates_from_file),
1592 (gl_xml_template_parse_templates_doc),
1593 (gl_xml_template_parse_template_node),
1594 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1595 (xml_parse_label_cd_node), (xml_parse_layout_node),
1596 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1597 (xml_parse_markup_circle_node),
1598 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1599 * libglabels/xml.c: (gl_xml_get_prop_length):
1600 Re-classified g_warnings to g_messages.
1602 * src/glabels.c: (main):
1603 * src/warning-handler.c: (gl_warning_handler_init),
1605 * src/warning-handler.h:
1606 Added warning message handler to make sure the user is
1607 presented with appropriate non-fatal errors.
1608 * src/critical-error-handler.c: (critical_error_handler):
1609 Changed exit to abort.
1610 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1611 * src/bc-postnet.c: (postnet_code):
1612 * src/bc.c: (id_to_index), (name_to_index):
1613 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1614 * src/object-editor.c: (gl_object_notebook_construct_valist):
1615 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1616 * src/prefs.c: (gl_prefs_get_units_per_point),
1617 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1618 (gl_prefs_get_units_string):
1619 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1620 * src/splash.c: (gl_splash):
1621 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1622 * src/view-highlight.c: (gl_view_highlight_new),
1623 (highlight_resizable_box_construct), (object_changed_cb),
1624 (view_scale_changed_cb):
1625 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1626 (draw_markup_layer), (draw_markup_margin),
1627 (gl_view_object_create_mode), (canvas_event),
1628 (selection_received_cb):
1629 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1630 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1631 * src/xml-label-04.c: (gl_xml_label_04_parse),
1632 (xml04_parse_media_description), (xml04_parse_text_props),
1633 (xml04_parse_barcode_props):
1634 * src/xml-label-191.c: (gl_xml_label_191_parse),
1635 (xml191_parse_objects), (xml191_parse_object),
1636 (xml191_parse_text_props), (xml191_parse_image_props),
1637 (xml191_parse_barcode_props), (xml191_parse_data),
1638 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1639 (xml191_parse_markup):
1640 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1641 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1642 (xml_parse_object_text), (xml_parse_object_image),
1643 (xml_parse_object_barcode), (xml_parse_data),
1644 (xml_parse_toplevel_span), (gl_xml_label_save),
1645 (xml_create_objects):
1646 Re-classified g_warnings to g_messages.
1647 * src/merge-evolution.c: (gl_merge_evolution_open),
1648 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1649 Use g_warning to output errors encountered while
1650 communicating with the evolution data server
1651 instead of embedding them in the data.
1653 2005-12-08 Jim Evins <evins@snaught.com>
1655 * libglabels/libglabels-private.h:
1657 * libglabels/paper.c: (read_papers):
1658 * libglabels/template.c: (read_templates):
1659 Made appropriate warnings critical.
1661 * src/critical-error-handler.h:
1662 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1663 (critical_error_handler):
1664 Created critical error handler.
1665 * src/glabels.c: (main):
1666 Register critical error handler.
1667 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1668 * src/object-editor.c: (gl_object_editor_init):
1669 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1670 * src/template-designer.c: (gl_template_designer_init):
1671 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1672 Made appropriate warnings critical.
1674 2005-11-27 Jim Evins <evins@snaught.com>
1676 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1677 (gl_merge_evolution_get_primary_key),
1678 (gl_merge_evolution_get_record):
1679 Don't create "record_key" pseudo-key. Don't populate
1680 fields with null data.
1682 2005-11-25 Jim Evins <evins@snaught.com>
1684 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1685 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1686 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1688 Query EDS for all supported fields. Patch provided by
1689 Austin Henry <ahenry@users.sourceforge.net>.
1691 2005-10-29 Jim Evins <evins@snaught.com>
1693 * src/glabels.c: (main):
1694 * src/label-barcode.c: (gl_label_barcode_finalize):
1695 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1696 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1697 * src/object-editor.c: (gl_object_editor_finalize):
1698 Another pass at valgrinding -- plugged several memory leaks.
1699 * src/view-text.c: (gl_view_text_new),
1700 (update_canvas_item_from_object_cb), (draw_hacktext):
1701 Commented out artifacts of edit-in-place code.
1703 2005-10-28 Jim Evins <evins@snaught.com>
1705 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1706 Fixed use of uninitialized variable. Caught by
1707 d binderman <dcb314@hotmail.com>.
1709 2005-10-27 Jim Evins <evins@snaught.com>
1711 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1712 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1714 Additional cleanup of EDS and vcard backends. Provided by
1715 Austin Henry <ahenry@users.sourceforge.net>.
1717 2005-10-24 Jim Evins <evins@snaught.com>
1721 * src/merge-evolution.c:
1722 * src/merge-evolution.h:
1723 * src/merge-init.c: (gl_merge_init):
1724 * src/merge-properties-dialog.c: (type_changed_cb):
1725 * src/merge-vcard.c:
1726 * src/merge-vcard.h:
1727 * src/ui-commands.c: (gl_ui_cmd_help_about):
1728 Added Evolution Data Server and VCard merge backends. Original patch
1729 provided by Austin Henry <ahenry@users.sourceforge.net>.
1731 Only support EDS and VCard backends if libebook is installed. Allow
1732 user to disable support, even if installed.
1734 2005-10-24 Jim Evins <evins@snaught.com>
1737 * data/templates/avery-iso-templates.xml:
1738 * data/templates/avery-us-templates.xml:
1739 * data/templates/misc-iso-templates.xml:
1740 * data/templates/zweckform-iso-templates.xml:
1741 Collected all template changes and submissions since last
1744 2005-10-23 Jim Evins <evins@snaught.com>
1747 * data/mime/Makefile.am:
1748 Added configure options to disable update-mime-database and
1749 update-desktop-database as part of the install. Patch
1750 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1752 2005-10-23 Jim Evins <evins@snaught.com>
1755 * libglabels/xml.c: (gl_xml_get_prop_string),
1756 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1757 (gl_xml_is_node), (gl_xml_get_node_content):
1758 Added new XML utility functions.
1759 * libglabels/xml-paper.c:
1760 * libglabels/xml-template.c:
1762 Cleanup by using new xml utilities created above.
1763 * libglabels/paper.c: (gl_paper_free):
1764 * src/file.c: (new_response):
1765 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1766 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1767 (gl_pixbuf_cache_get_pixbuf):
1768 * src/ui-property-bar.c:
1769 (gl_ui_property_bar_construct_color_combo):
1770 * src/view-highlight.c: (gl_view_highlight_finalize):
1771 * src/view-image.c: (update_object_from_editor_cb):
1772 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1773 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1774 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1775 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1776 (draw_markup_margin_round), (draw_markup_margin_cd),
1777 (draw_markup_margin_cd_bc):
1778 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1779 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1780 Plugged various memory leaks located with valgrind.
1781 * src/view-image.c: (update_canvas_item_from_object_cb):
1782 Don't allow a width or height of zero when drawing pixbuf.
1784 2005-10-22 Jim Evins <evins@snaught.com>
1786 * libglabels/xml-paper.c:
1787 * libglabels/xml-template.c:
1790 * src/bc-gnubarcode.c:
1791 * src/canvas-hacktext.c:
1793 * src/object-editor-data-page.c:
1794 * src/print-dialog.c:
1797 * src/template-designer.c:
1799 * src/ui-property-bar.c:
1801 * src/view-barcode.c:
1803 * src/view-ellipse.c:
1808 * src/wdgt-media-select.c:
1809 * src/xml-label-04.c:
1810 * src/xml-label-191.c:
1812 Modified to compile warning free with gcc-4.0. Mostly
1813 casting to change signedness of characters. Did not
1814 attack gnu-barcode library yet.
1816 2005-10-22 Jim Evins <evins@snaught.com>
1818 * src/glabels.c: (main):
1819 * src/splash.c: (gl_splash):
1820 Removed some small memory leaks.
1824 2005-09-19 Jim Evins <evins@snaught.com>
1826 * data/glade/property-bar.glade:
1827 Remove items from font_family_combo. This prevents the
1828 double entry after adding text model and list of fonts.
1829 * src/ui-property-bar.c: (reset_to_default_properties):
1830 Free font_family_list.
1832 2005-07-01 Jim Evins <evins@snaught.com>
1835 Updated italian translation (Daniele Medri)
1837 2005-06-26 Jim Evins <evins@snaught.com>
1839 * docs/libglabels/libglabels-decl-list.txt:
1840 Somehow never got checked in before.
1841 * docs/libglabels/libglabels.types:
1842 Removed -- don't need it afterall.
1844 2005-06-20 Jim Evins <evins@snaught.com>
1847 Final prep for 2.1.1 release.
1849 2005-06-20 Jim Evins <evins@snaught.com>
1852 Final preps for 2.1.1 release.
1853 * docs/libglabels/libglabels.types:
1854 Somehow never got checked in before.
1856 Bring up-to-date with recent reorg of ui code.
1859 2005-06-19 Jim Evins <evins@snaught.com>
1861 * src/template-designer.c: (construct_layout_page):
1862 Removed attempt to match background color of mini preview widget to
1865 2005-06-17 Jim Evins <evins@snaught.com>
1867 * help/C/figures/merge-ex2-4.png:
1868 * help/C/glabels.xml:
1869 Fixed spelling error.
1871 2005-06-13 Jim Evins <evins@snaught.com>
1873 * help/C/figures/merge-ex1-1.png:
1874 * help/C/figures/merge-ex1-2.png:
1875 * help/C/figures/merge-ex1-3.png:
1876 * help/C/figures/merge-ex1-4.png:
1877 * help/C/figures/merge-ex2-1.png:
1878 * help/C/figures/merge-ex2-2.png:
1879 * help/C/figures/merge-ex2-3.png:
1880 * help/C/figures/merge-ex2-4.png:
1881 Added figures for document merge tutorial.
1882 * help/C/glabels.xml:
1883 Added document merge tutorial.
1885 2005-05-19 Jim Evins <evins@snaught.com>
1887 * data/glade/merge-properties-dialog.glade:
1888 Fixed irregular spacing.
1889 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1890 (gl_merge_properties_dialog_construct):
1891 Set outer padding and remove separator.
1893 2005-05-18 Jim Evins <evins@snaught.com>
1897 Removed glHigDialog class.
1898 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1899 (gl_file_properties), (create_properties_dialog_widgets):
1900 * src/prefs-dialog.h:
1901 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1902 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1903 * src/print-dialog.h:
1904 * src/prefs-dialog.h:
1905 * src/print-dialog.c: (gl_print_dialog_get_type),
1906 (gl_print_dialog_init), (gl_print_dialog_construct):
1907 Replaced all instances of glHigDialog with GtkDialog.
1909 2005-05-17 Jim Evins <evins@snaught.com>
1913 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1914 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1915 (save_as_response), (gl_file_close):
1916 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1918 2005-05-15 Jim Evins <evins@snaught.com>
1920 * src/ui-commands.h:
1928 A little code reformatting -- no functional changes.
1930 2005-05-14 Jim Evins <evins@snaught.com>
1933 Removed obsolete macros.
1935 Added marshalling template to support new view signal: "context_menu_activate."
1937 * src/view.c: (gl_view_class_init), (gl_view_construct),
1938 (canvas_event_arrow_mode):
1939 - Removed hardcoded context menus and added new signal "context_menu_activate"
1940 to push this up to the uimanager.
1941 - Removed merge properties and print dialogs so that they can be managed with
1942 the window by the uimanager.
1943 * src/merge-properties-dialog.h:
1944 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1945 (gl_merge_properties_dialog_construct):
1946 Changed calling convention of gl_merge_properties_dialog_new() to use
1947 glLabel and GtkWindow instead of view to make more consistent with other
1949 * src/print-dialog.h:
1950 * src/print-dialog.c: (gl_print_dialog_new),
1951 (gl_print_dialog_construct):
1952 Removed last artifact of libbonoboui.
1953 * src/ui-commands.c: (gl_ui_cmd_file_print),
1954 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1955 Reconciled style for launching dialogs.
1956 * src/ui.c: (gl_ui_new):
1957 Added context menus to ui manager.
1958 * src/view-object.c: (item_event_arrow_mode):
1959 No longer try to select objects with right-click.
1961 * src/window.c: (gl_window_init), (gl_window_set_label),
1962 (context_menu_activate_cb):
1963 Context menus and all dialogs are now managed in a consistent way in window
1966 2005-05-11 Jim Evins <evins@snaught.com>
1969 * src/window.c: (gl_window_init), (gl_window_destroy):
1970 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1971 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1972 Moved management of recent_view back from window.c to ui.c -- it just feels
1975 2005-05-10 Jim Evins <evins@snaught.com>
1978 * src/window.c: (gl_window_init):
1980 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1981 (menu_item_select_cb), (menu_item_deselect_cb):
1982 Added GtkStatusbar which displays menu tooltips.
1984 2005-05-09 Jim Evins <evins@snaught.com>
1986 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1991 Removed dependencies on libbonoboui.
1993 * data/ui/Makefile.am:
1994 * data/ui/glabels-ui.xml:
1995 Removed data/ui directory.
1996 * data/glade/Makefile.am:
1997 * data/property-bar.glade:
1998 Added glade description of property-bar for new libglade implementation
2005 * src/ui-commands.h:
2006 * src/ui-commands.c:
2007 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2008 since the distinction between "commands" and "tools" is no longer that clear.
2011 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2012 no longer has knowledge of eggRecent*.
2013 * src/glabels.c: (main):
2014 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2016 * src/object-editor.c: (gl_object_editor_init):
2017 Make sure notebook does not respond to a "show_all" on the parent.
2018 * src/recent-files/Makefile.am:
2019 * src/recent-files/*.[ch]
2020 Updated from latest version of libegg which now has a view based on
2021 GtkUIManager. Removed unused bonobo and gtk views.
2022 * src/ui-property-bar.h:
2023 * src/ui-property-bar.c:
2024 New implementation based on libglade.
2027 Sidebar is now simply a GtkWidget and does not expect to be a part of
2028 a libbonoboui interface.
2033 Converted for use with GtkUIManager.
2036 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2037 to create menus and toolbars.
2039 2005-04-25 Jim Evins <evins@snaught.com>
2041 * data/templates/misc-iso-templates.xml:
2042 Added Fellows 04715 template provided by Steve Saxon.
2044 Updated acknowledgement for above.
2046 2005-04-23 Jim Evins <evins@snaught.com>
2048 * src/util.c: (gl_util_combo_box_set_strings):
2049 Make sure to clear model before loading a new list of strings.
2050 * src/wdgt-media-select.h:
2051 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2052 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2053 (template_combo_changed_cb), (prefs_changed_cb),
2054 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2055 (gl_wdgt_media_select_get_page_size),
2056 (gl_wdgt_media_select_set_page_size):
2057 Replaced the deprecated GtkCombo widget with the new
2060 2005-04-21 Jim Evins <evins@snaught.com>
2062 * data/glade/template-designer.glade:
2063 * src/template-designer.c: (construct_pg_size_page),
2064 (pg_size_page_changed_cb), (build_template):
2065 Replaced the deprecated GtkCombo widget with the new
2068 2005-04-20 Jim Evins <evins@snaught.com>
2070 * data/glade/prefs-dialog.glade:
2071 * src/prefs-dialog.c: (construct_object_page),
2072 (update_object_page_from_prefs), (update_prefs_from_object_page):
2073 Replaced the deprecated GtkCombo widget with the new
2076 2005-04-19 Jim Evins <evins@snaught.com>
2078 * data/glade/object-editor.glade:
2079 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2080 (style_changed_cb), (gl_object_editor_set_bc_style),
2081 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2082 (gl_object_editor_get_bc_color):
2083 * src/object-editor-data-page.c:
2084 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2085 (gl_object_editor_get_data):
2086 * src/object-editor-edit-page.c:
2087 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2088 * src/object-editor-fill-page.c:
2089 (gl_object_editor_prepare_fill_page),
2090 (gl_object_editor_set_fill_color),
2091 (gl_object_editor_get_fill_color):
2092 * src/object-editor-image-page.c:
2093 (gl_object_editor_prepare_image_page),
2094 (gl_object_editor_set_image), (gl_object_editor_get_image):
2095 * src/object-editor-line-page.c:
2096 (gl_object_editor_prepare_line_page),
2097 (gl_object_editor_set_line_color),
2098 (gl_object_editor_get_line_color):
2099 * src/object-editor-private.h:
2100 * src/object-editor-text-page.c:
2101 (gl_object_editor_prepare_text_page),
2102 (gl_object_editor_set_font_family),
2103 (gl_object_editor_get_font_family),
2104 (gl_object_editor_set_text_color),
2105 (gl_object_editor_get_text_color):
2106 * src/object-editor.c: (gl_object_editor_set_key_names):
2108 In the object editor: replaced all instances of the deprecated
2109 GtkCombo widget with the new GtkComboBox.
2111 2005-04-18 Jim Evins <evins@snaught.com>
2114 Neglected to save this one in previous checkin to support
2117 2005-04-17 Jim Evins <evins@snaught.com>
2119 * libglabels/libglabels-private.h:
2120 * libglabels/paper.c:
2121 * libglabels/paper.h:
2122 * libglabels/template.c:
2123 * libglabels/template.h:
2124 * libglabels/xml-paper.c:
2125 * libglabels/xml-paper.h:
2126 * libglabels/xml-template.c:
2131 * src/bc-gnubarcode.c:
2142 * src/label-barcode.c:
2144 * src/label-ellipse.c:
2145 * src/label-image.c:
2146 * src/label-image.h:
2148 * src/label-object.c:
2152 * src/merge-properties-dialog.c:
2153 * src/object-editor-bc-page.c:
2154 * src/object-editor-data-page.c:
2155 * src/object-editor-edit-page.c:
2156 * src/object-editor-fill-page.c:
2157 * src/object-editor-image-page.c:
2158 * src/object-editor-line-page.c:
2159 * src/object-editor-lsize-page.c:
2160 * src/object-editor-position-page.c:
2161 * src/object-editor-private.h:
2162 * src/object-editor-size-page.c:
2163 * src/object-editor-text-page.c:
2164 * src/object-editor.c:
2165 * src/object-editor.h:
2166 * src/pixbuf-cache.h:
2167 * src/prefs-dialog.c:
2168 * src/prefs-dialog.h:
2169 * src/prefs-model.c:
2170 * src/prefs-model.h:
2172 * src/print-dialog.c:
2173 * src/print-dialog.h:
2181 * src/template-designer.c:
2182 * src/template-designer.h:
2185 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2191 * src/view-barcode.c:
2193 * src/view-ellipse.c:
2194 * src/view-highlight.c:
2195 * src/view-highlight.h:
2198 * src/view-object.c:
2199 * src/view-object.h:
2203 * src/wdgt-chain-button.c:
2204 * src/wdgt-media-select.c:
2205 * src/wdgt-media-select.h:
2206 * src/wdgt-mini-preview.c:
2207 * src/wdgt-mini-preview.h:
2208 * src/wdgt-print-copies.c:
2209 * src/wdgt-print-copies.h:
2210 * src/wdgt-print-merge.c:
2211 * src/wdgt-print-merge.h:
2212 * src/wdgt-rotate-label.c:
2213 * src/wdgt-rotate-label.h:
2216 * src/xml-label-04.c:
2217 * src/xml-label-191.c:
2219 Cleanup of header files:
2220 - all header files are now stand-alone, verified by including
2221 first in corresponding "c" files
2222 - replaced blanket includes of gnome, gtk, and glib with
2225 2005-04-16 Jim Evins <evins@snaught.com>
2227 * data/glade/Makefile.am:
2228 * data/glade/merge-properties-dialog.glade:
2229 Added merge properties dialog glade description file.
2230 * src/merge-properties-dialog.h:
2231 * src/merge-properties-dialog.c:
2232 (gl_merge_properties_dialog_get_type),
2233 (gl_merge_properties_dialog_init),
2234 (gl_merge_properties_dialog_finalize),
2235 (gl_merge_properties_dialog_new),
2236 (gl_merge_properties_dialog_construct), (type_changed_cb),
2237 (src_changed_cb), (response_cb), (load_tree),
2238 (record_select_toggled_cb), (select_all_button_clicked_cb),
2239 (unselect_all_button_clicked_cb):
2240 Modified merge properties dialog to use libglade. Added
2241 "select all" and "unselect all" buttons.
2242 * src/merge-text.c: (parse_line):
2243 Handle empty lines better.
2244 * src/merge.c: (gl_merge_eval_key):
2245 Evaluate the key whether the record is selected or not.
2247 * src/util.c: (gl_util_combo_box_add_text_model):
2248 Since libglade does not use the gtk_combo_box_new_text()
2249 constructor for GtkComboBoxes, a utility function was created
2250 to add an appropriate text model to a GtkComboBox.
2251 * src/view.c: (gl_view_edit_merge_props):
2252 Removed unnecessary "show all's".
2254 2005-04-15 Jim Evins <evins@snaught.com>
2257 Updated russian translation (Vitaly Lipatov)
2258 * data/templates/misc-iso-templates.xml:
2259 Added templates for russian business cards provided by Vitaly Lipatov.
2261 Updated acknowledgements for above.
2263 2005-04-15 Jim Evins <evins@snaught.com>
2265 * data/templates/avery-us-templates.xml:
2266 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2267 * data/templates/misc-iso-templates.xml:
2268 Added Ryman standard CD/DVD template, provided by Dan Clark.
2270 Added acknowledgements for above.
2272 2005-04-10 Jim Evins <evins@snaught.com>
2274 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2275 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2276 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2277 (xml_parse_label_cd_node), (xml_parse_alias_node):
2278 * libglabels/xml.c: (gl_xml_get_prop_double),
2279 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2280 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2281 * src/xml-label-04.c: (xml04_parse_media_description),
2282 (xml04_parse_text_props), (xml04_parse_barcode_props),
2283 (xml04_parse_merge_properties):
2284 * src/xml-label-191.c: (xml191_parse_object),
2285 (xml191_parse_text_props), (xml191_parse_barcode_props),
2286 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2287 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2288 (xml191_parse_alias):
2289 * src/xml-label.c: (xml_parse_object_text),
2290 (xml_parse_object_barcode), (xml_parse_merge_fields),
2291 (xml_parse_pixdata), (xml_parse_toplevel_span):
2292 Make sure to use xmlFree for anything obtained from libxml
2293 in case libxml and glib use different memory management
2296 2005-04-08 Jim Evins <evins@snaught.com>
2299 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2300 (gl_util_combo_box_set_active_text):
2301 Added utility functions to simplify working with GtkComboBox
2303 * src/ui-property-bar.h:
2304 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2305 (reset_to_default_properties), (update_text_properties),
2306 (font_family_changed_cb):
2307 Replaced deprecated GtkCombo with GtkComboBox.
2310 2005-04-03 Jim Evins <evins@snaught.com>
2313 * src/wdgt-image-select.h:
2314 * src/wdgt-image-select.c:
2315 Removed obsolete wdgt-image-select.[ch] files.
2316 * libglabels/paper.c: (gl_paper_dup):
2317 Fixed rename of parameter introduced during documentation
2319 * data/glade/object-editor.glade:
2320 * src/object-editor-image-page.c:
2321 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2322 (gl_object_editor_set_image), (gl_object_editor_get_image),
2323 (update_preview_cb), (add_image_filters_to_chooser):
2324 * src/object-editor-private.h:
2325 Replaced deprecated GnomePixmapEntry with
2326 GtkFileChooserButton.
2328 2005-04-02 Jim Evins <evins@snaught.com>
2330 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2331 (mygal_combo_box_popup_hide_unconditional),
2332 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2333 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2334 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2335 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2336 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2337 Renamed all internal gtk_combo functions to mygal_combo
2338 to prevent namespace confusion.
2340 2005-04-02 Jim Evins <evins@snaught.com>
2342 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2343 (cust_color_set), (color_palette_setup):
2344 * src/mygal/color-palette.h:
2345 Replaced deprecated GnomeColorPicker with GtkColorButton.
2347 2005-04-02 Jim Evins <evins@snaught.com>
2349 * docs/libglabels/libglabels-sections.txt:
2350 * docs/libglabels/libglabels-undocumented.txt:
2351 * docs/libglabels/tmpl/enums.sgml:
2352 * docs/libglabels/tmpl/paper.sgml:
2353 * docs/libglabels/tmpl/xml-paper.sgml:
2354 * docs/libglabels/tmpl/xml-template.sgml:
2355 * libglabels/enums.h:
2356 * libglabels/paper.c: (gl_paper_dup):
2357 * libglabels/paper.h:
2358 * libglabels/xml-paper.c:
2359 * libglabels/xml-template.c:
2360 More documentation updates for libglabels.
2362 2005-03-23 Jim Evins <evins@snaught.com>
2365 Automatically updated.
2370 * docs/libglabels/Makefile.am:
2371 * docs/libglabels/libglabels-docs.sgml:
2372 * docs/libglabels/libglabels-sections.txt:
2373 * docs/libglabels/libglabels-undocumented.txt:
2374 * docs/libglabels/tmpl/enums.sgml:
2375 * docs/libglabels/tmpl/libglabels-unused.sgml:
2376 * docs/libglabels/tmpl/libglabels.sgml:
2377 * docs/libglabels/tmpl/paper.sgml:
2378 * docs/libglabels/tmpl/template.sgml:
2379 * docs/libglabels/tmpl/xml-paper.sgml:
2380 * docs/libglabels/tmpl/xml-template.sgml:
2381 * docs/libglabels/tmpl/xml.sgml:
2382 Added basic gtk-doc stuff to support documenting libglabels
2385 Updated function comments with gtk-doc markup.
2389 2005-03-22 Jim Evins <evins@snaught.com>
2391 Since the development version now requires gtk-2.6/gnome-2.10, I
2392 have made a first pass at removing deprecations.
2395 * libglabels/Makefile.am:
2397 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2398 Also removed all remnants of HAVE_FILECHOOSER.
2399 * src/file.c: (gl_file_open_real):
2400 Removed code for old GtkFileSelection.
2401 * libglabels/libglabels-private.h:
2402 * libglabels/paper.c:
2403 * libglabels/template.c:
2404 * libglabels/xml-paper.c:
2405 * libglabels/xml-template.c:
2409 * src/glabels-batch.c:
2413 * src/merge-properties-dialog.c:
2415 * src/object-editor.c:
2416 * src/prefs-dialog.c:
2418 * src/print-dialog.c:
2421 * src/template-designer.c:
2422 * src/ui-property-bar.c:
2424 * src/view-barcode.c:
2426 * src/view-ellipse.c:
2431 * src/wdgt-image-select.c:
2432 * src/wdgt-media-select.c:
2433 * src/wdgt-print-copies.c:
2434 * src/wdgt-print-merge.c:
2435 * src/wdgt-rotate-label.c:
2437 * src/xml-label-04.c:
2438 * src/xml-label-191.c:
2440 Added '#include <glib/gi18n.h>" where needed.
2441 Removed any unused '#include <gnome.h>"s.
2443 2005-03-22 Jim Evins <evins@snaught.com>
2445 * src/commands.c: (activate_url), (gl_cmd_help_about):
2446 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2447 development version of glabels now depends on GTK 2.6 and
2450 Updated library dependencies.
2452 2005-02-28 Jim Evins <evins@snaught.com>
2455 * data/templates/misc-iso-templates.xml:
2456 Added 'Ednet 45021' template provided by Ali Akcaagac
2459 2005-02-14 Jim Evins <evins@snaught.com>
2461 * data/templates/avery-us-templates.xml:
2462 Updated templates to use inches instead of points.
2463 * src/print-dialog.c: (printer_page_new):
2464 Changed packing style when adding printer selector widget. This fixes
2467 2005-02-13 Jim Evins <evins@snaught.com>
2471 Updated spanish translations. (sergio rivadero)
2473 2005-02-05 Jim Evins <evins@snaught.com>
2475 Some cleanup to libglabels.
2478 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2479 * libglabels/libglabels.pc.in
2481 * libglabels/enums.h
2482 Created. Currently only contains glUnitsType which provides enumerations
2483 for all possible units of distance.
2484 * libglabels/Makefile.am:
2485 Incorporated new files enums.h and libglabels.pc[.in].
2486 * libglabels/libglabels.h:
2488 * libglabels/template.h:
2489 * libglabels/template.c: (gl_template_layout_new):
2490 Changed parameters nx and ny to gint from gdouble.
2492 * libglabels/xml.c: (gl_xml_get_prop_length),
2493 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2494 Added support for different output units.
2495 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2496 (update_prefs_from_locale_page):
2497 * src/prefs-model.c: (string_to_units), (units_to_string):
2498 * src/prefs-model.h:
2499 * src/prefs.c: (gl_prefs_get_units_per_point),
2500 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2501 (gl_prefs_get_units_string):
2503 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2504 Reconciled all length enumerations with the new enumerations provided
2505 in libglabels/enums.h.
2507 2005-02-03 Jim Evins <evins@snaught.com>
2510 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2512 Updated Italian translations. (Daniele Medri)
2514 Updated credits to reflect above translations.
2517 2005-01-22 Jim Evins <evins@snaught.com>
2522 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2524 Final prep for 2.1.0.
2526 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2528 Added '--remove-original' flag to desktop-file-install, so that there is
2529 only one menu entry.
2531 2005-01-20 Jim Evins <evins@snaught.com>
2533 * data/glade/object-editor.glade:
2534 - Font family entry should not be editable.
2535 - img_key_entry should have sensitivity=YES, so that it follows the
2536 sensitivity of img_key_combo.
2538 2005-01-19 Jim Evins <evins@snaught.com>
2541 Give credit to Frederic Ruaudel for the color merge patches.
2543 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2545 Add support to merge color for all other color attribute (Feature
2546 Requests item #1008635. If the data is invalid, the color used is transparent
2547 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2548 by gdk_color_parse() these include name for a color from rgb.txt, such as
2549 DarkSlateGray, or a hex specification such as #305050. File format has been
2550 changed but backward compatibility is preserved for all format. For
2551 box/ellipse/line, keep attribute "line_color" for static color or replace by
2552 "line_color_field" for merge data. For text/barcode objects, keep attribute
2553 "color" for static color or replace by "color_field" for merge data. In the
2554 edit canvas window, merged color are represented by half-transparent black
2557 * data/dtd/glabels-2.0.dtd:
2558 Added line_color_field to line_attrs. Added color_field to
2559 Object-barcode and Span.
2560 * data/glade/object-editor.glade:
2561 Modify the layout of the editor to add merge possibility to color options
2563 Fix a copy/paste error in a comment
2565 Add default color for merge color representation in the editor canvas.
2566 * src/label-barcode.c:
2567 * src/object-editor-bc-page.c:
2568 * src/view-barcode.c:
2569 Add merge color support for barcode color.
2572 Add merge color support for box border color.
2573 * src/label-ellipse.c:
2574 * src/view-ellipse.c:
2575 Add merge color support for ellipse border color.
2578 Add merge color support for line color.
2579 * src/label-object.c:
2580 * src/label-object.h:
2581 * src/object-editor.c:
2582 * src/object-editor.h:
2583 * src/ui-property-bar.c:
2586 * src/xml-label-04.c:
2587 * src/xml-label-191.c:
2588 Add support for merging to other color attribute.
2590 * src/object-editor-text-page.c:
2592 Add merge color support for text color.
2593 * src/object-editor-fill-page.c:
2594 Change a blocked handler that didn't match the good widget. Fix the type
2595 of some debug message.
2596 * src/object-editor-line-page.c:
2597 Add merging support to line color option.
2598 * src/object-editor-private.h:
2599 Add variables for new widget.
2601 Modify the draw functions to get merge data if needed.
2603 Change the default size of the window in order to see all widget in the
2604 "text style tab" of the editor.
2606 Modify the parser to record/retreive the field value for objects that need
2607 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2608 static color or replace by "line_color_field" for merge data. For
2609 text/barcode objects, keep attribute "color" for static color or replace
2610 by "color_field" for merge data.
2612 2005-01-17 Jim Evins <evins@snaught.com>
2614 * src/view.c: (screen_changed_cb):
2615 Don't do anything if we don't have a screen.
2617 2005-01-06 Jim Evins <evins@snaught.com>
2619 * src/view.c: (get_home_scale):
2620 Fixed bad call to gtk_widget_has_screen() -- huh?.
2622 2005-01-06 Jim Evins <evins@snaught.com>
2624 * data/dtd/glabels-2.0.dtd:
2625 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2628 2005-01-06 Jim Evins <evins@snaught.com>
2630 * data/glade/object-editor.glade:
2631 Set entries for fill and data field key dropdowns to NOT editable.
2632 * src/view-box.c: (construct_properties_editor):
2633 * src/view-ellipse.c: (construct_properties_editor):
2634 Update object editor when label's merge property has changed.
2635 * src/xml-label.c: (xml_parse_object_ellipse):
2636 Completed the merge color support for the ellipse item.
2638 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2640 Add support to merge color for object that have a "Fill color" attribute (Feature
2641 Requests item #1008635. If the data is invalid, the color used is transparent
2642 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2643 by gdk_color_parse() these include name for a color from rgb.txt, such as
2644 DarkSlateGray, or a hex specification such as #305050. File format has been
2645 changed but backward compatibility is preserved for all format. For box/ellipse,
2646 keep attribute "fill_color" for static color or replace by "fill_color_field"
2649 * data/glade/object-editor.glade:
2650 Modify "Fill" tab to add the merge key combo and convert the labels into
2654 Add "glColorNode" structure and associated functions to manage it. This
2655 structure is equivalent for color than the "glTextNode". It holds the color
2657 * src/label-object.h:
2658 * src/label-object.c:
2660 * src/label-ellipse.c:
2661 * src/ui-property-bar.c:
2665 * src/view-ellipse.c:
2666 * src/xml-label-04.c:
2667 * src/xml-label-191.c:
2668 Change functions of objects that have a "fill color" attribute to use the
2669 new "glColorNode" structure. Use barcode code as example.
2671 Add the color.[ch] file to glabels_batch binary that now need support for
2673 * src/object-editor.h:
2674 * src/object-editor.c:
2675 * src/object-editor-fill-page.c:
2676 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2677 to choose between static color or merge key. Use barcode code as example.
2678 * src/object-editor-private.h:
2679 Add new widget in the "_glObjectEditorPrivate" structure.
2681 Modify the draw functions to get merge data if needed.
2683 Modify the parser to record/retreive the field value for objects that need
2684 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2685 color or "fill_color_field" for merge data.
2687 2005-01-04 Jim Evins <evins@snaught.com>
2690 * data/templates/avery-iso-templates.xml:
2691 * data/templates/misc-iso-templates.xml:
2692 * data/templates/misc-us-templates.xml:
2693 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2696 2004-11-26 Jim Evins <evins@snaught.com>
2700 Updated french translations provided by Florent Morel <florent@taket.org>.
2701 * src/view-barcode.c:
2703 * src/view-ellipse.c:
2707 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2708 thus _() strings were not being translated.
2710 2004-11-14 Jim Evins <evins@snaught.com>
2713 * src/debug.c: (gl_debug_init), (gl_debug):
2714 Borrowed from gedit: use environmental variables to select debug
2717 Removed unused include of debug.h.
2718 * src/glabels.c: (main):
2719 Added call to gl_debug_init(), and removed debug clutter from command line
2721 * src/glabels-batch.c: (main):
2722 Added call to gl_debug_init().
2724 2004-11-13 Jim Evins <evins@snaught.com>
2726 Drawing and property toolbars were being initialized with the "icons and text"
2727 look in Fedora Core 3. Even though none of the buttons had any text attached to
2728 them, the buttons were being sized as if they were. This led to less real estate
2729 for the property editor, leading to Bug #1064630. The
2731 * data/ui/glabels-ui.xml:
2732 Added explicit "look" property to both drawing and property toolbars.
2733 * src/prefs-model.c: (gl_prefs_model_save_settings),
2734 (gl_prefs_model_load_settings):
2735 * src/prefs-model.h:
2736 Removed drawing_toolbar_button_style configuration parameter.
2737 * src/ui.c: (view_menu_item_toggled_cb),
2738 (set_app_drawing_toolbar_style):
2739 Do not attempt to adjust look property of the drawing toolbar.
2741 2004-10-28 Jim Evins <evins@snaught.com>
2743 * data/pixmaps/glabels-about-logo.png:
2746 2004-10-28 Jim Evins <evins@snaught.com>
2748 * data/man/glabels.1:
2749 * src/glabels-batch.c: (main):
2751 * src/print.c: (gl_print_batch):
2753 Added option to glabels-batch to select the first label to begin
2756 2004-09-26 Jim Evins <evins@snaught.com>
2758 * data/desktop/glabels.desktop.in:
2759 Point to app icon, "glabels.png"
2760 * data/mime/glabels.keys.in:
2761 Point at mime icon, "glabels-application-x-glabels.png"
2762 * data/pixmaps/Makefile.am:
2763 Added glabels_app_icondir. Renamed icons.
2764 * data/pixmaps/glabels.png:
2765 New cleaned up app icon. Deleted glabels-icon.png.
2766 * data/pixmaps/glabels-application-x-glabels.png:
2768 * data/pixmaps/glabels-splash.png:
2769 Renamed glabels-logo to glabels-splash to be more correct about role.
2771 * src/template-designer.c:
2772 Point at app icon, "glabels.png"
2774 Point at renamed splash image, "glabels-splash.png"
2776 2004-08-22 Jim Evins <evins@snaught.com>
2779 * src/glabels-batch.c: (main):
2780 Applied patch with minor mods to allow selecting merge source and
2781 crop-marks on glabels-batch's command line. Original patch provided by
2782 José Dapena Paz <jdapena@igalia.com>.
2784 2004-08-15 Jim Evins <evins@snaught.com>
2786 * data/desktop/glabels.desktop.in:
2787 - Added encoding line
2788 - Removed period from comment
2789 - Fixed Terminal line, changed "0" to "false"
2790 - Added semicolen to Categories line
2792 - Made sure desktop.in comment string above still translated properly
2794 2004-08-14 Jim Evins <evins@snaught.com>
2796 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2797 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2798 * src/xml-label-191.c: (xml191_parse_sheet):
2799 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2801 Reconciled libglabels versioning with 2.0.1.
2804 2004-08-14 Jim Evins <evins@snaught.com>
2807 Updated version to 2.1cvs.
2809 2004-08-14 Jim Evins <evins@snaught.com>
2812 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2814 2004-08-14 Jim Evins <evins@snaught.com>
2816 Fixes for Bug #1008181.
2818 * src/bc.c: (gl_barcode_default_digits):
2819 Make a format of zero digits, harmless.
2820 * src/xml-label.c: (xml_parse_object_barcode):
2821 Set default value of the format property of barcode objects to 10, not
2822 zero. This will prevent crashes when reading pre 2.0.x files.
2824 2004-08-09 Jim Evins <evins@snaught.com>
2828 * help/C/glabels-C.omf:
2829 * help/C/glabels.xml:
2830 Brought documentation up-to-date for 2.0.0 release.
2832 2004-08-09 Jim Evins <evins@snaught.com>
2834 These are hopefully the final preparations for 2.0.0.
2836 * data/mime/Makefile.am:
2837 Include glabels.xml in EXTRA_DIST.
2839 - Updated comment style.
2840 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2841 - Added package and version info to configuration printout
2842 - Update version to 2.0.0
2843 * libglabels/Makefile.am:
2844 Use the new LIBGLABELS_VERSION_INFO macro.
2846 2004-08-09 Jim Evins <evins@snaught.com>
2850 Cleanup of required library macros.
2852 2004-08-08 Jim Evins <evins@snaught.com>
2856 - More specific of what to install in /usr/bin and /usr/lib
2857 - Remove built mime registration files from staging directory
2859 2004-08-08 Jim Evins <evins@snaught.com>
2861 * data/mime/Makefile.am:
2862 Fixed typo: key_files should have been keys_files.
2864 2004-08-08 Jim Evins <evins@snaught.com>
2866 Reorganization of runtime data files. Also added registration of mimetype with
2867 new freedesktop.org mime database if available.
2870 Moved files to appropriate subdirectories, creating local Makefile.am
2871 in each subdirectory.
2872 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2873 These are now installed at $datadir/glabels/templates.
2874 - Moved glabels.1 to man subdirectory.
2875 - Moved glabels-2.0.dtd to dtd subdirectory.
2876 - Moved glabels.desktop.in to desktop subdirectory.
2877 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2879 Moved "./pixmaps" to "./data/pixmaps"
2881 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2883 Moved libglade files from src to data/glade. Created Makefile.am.
2885 Removed pixmaps from SUBDIRS.
2887 - Removed pixmaps from makefiles.
2888 - Added makefiles for new subdirs of data.
2889 - Added tests for freedesktop.org mime database.
2891 - Added tests for freedesktop.org mime database for post install and
2892 post un-install actions.
2893 * libglabels/Makefile.am:
2894 Moved system template files to $(datadir)/glabels/templates.
2895 * libglabels/libglabels-private.h:
2896 Moved system template files to $(datadir)/glabels/templates.
2898 - Accounted for movement of ui and libglade files.
2899 - Added missing .in files.
2900 - Reorganized by directory.
2902 Accounted for movement of ui and libglade files.
2903 * data/mime/glabels.xml.in:
2904 New file for registering with freedesktop.org mime database.
2906 2004-08-07 Jim Evins <evins@snaught.com>
2908 * src/recent-files/*:
2909 Re-synced to latest libegg/recent-files.
2911 2004-08-07 Jim Evins <evins@snaught.com>
2916 Renamed "./doc" directory to "./help" which contains user documentation,
2917 to be more consistent with other GNOME applications.
2920 2004-07-26 Jim Evins <evins@snaught.com>
2922 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2923 Corrected button order of merge properties dialog.
2925 2004-07-18 Jim Evins <evins@snaught.com>
2927 * data/glabels-2.0.dtd:
2928 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2929 (gl_barcode_get_prefered_n):
2931 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2932 (gl_label_barcode_get_props), (get_size):
2933 * src/label-barcode.h:
2934 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2935 (style_changed_cb), (gl_object_editor_set_bc_style),
2936 (gl_object_editor_get_bc_style):
2937 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2938 (gl_object_editor_set_data), (gl_object_editor_get_data):
2939 * src/object-editor-private.h:
2940 * src/object-editor.c: (gl_object_editor_set_key_names):
2941 * src/object-editor.glade:
2942 * src/object-editor.h:
2943 * src/print.c: (draw_barcode_object):
2944 * src/view-barcode.c: (update_object_from_editor_cb),
2945 (update_editor_from_object_cb),
2946 (gl_view_barcode_create_event_handler), (draw_barcode):
2947 * src/xml-label-04.c: (xml04_parse_barcode_props):
2948 * src/xml-label-191.c: (xml191_parse_barcode_props):
2949 * src/xml-label.c: (xml_parse_object_barcode),
2950 (xml_create_object_barcode):
2951 Added "format" attribute to barcode objects. This attribute is used
2952 to properly format freeform barcodes barcodes prior to merge data is
2953 applied, so that barcodes can be accurately layed out. This addresses
2954 remaining issues of feature request #824787. Also added an example of
2955 the format in the object editor.
2957 2004-07-12 Jim Evins <evins@snaught.com>
2959 Various code cleanups.
2961 * src/label-barcode.c:
2962 Removed unneeded include of gnome-glyphlist.h.
2964 * src/label-text.c: (get_size):
2965 Fixed memory leak: unref glyphlists when done with them.
2967 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2968 * src/object-editor-data-page.c:
2969 (gl_object_editor_prepare_data_page):
2970 * src/object-editor-image-page.c:
2971 (gl_object_editor_prepare_image_page):
2972 * src/object-editor-line-page.c:
2973 (gl_object_editor_prepare_line_page):
2974 * src/object-editor-lsize-page.c:
2975 (gl_object_editor_prepare_lsize_page):
2976 * src/object-editor-position-page.c:
2977 (gl_object_editor_prepare_position_page):
2978 * src/object-editor-size-page.c:
2979 (gl_object_editor_prepare_size_page):
2980 * src/object-editor-text-page.c:
2981 (gl_object_editor_prepare_text_page):
2982 Removed unneeded size groups, originally intended to keep widgets aligned.
2983 Now use tables to lay these out in object-editor.glade.
2985 * src/print.c: (draw_text_object):
2986 Fixed memory leak: unref glyphlists when done with them.
2988 * src/view-barcode.c: (draw_barcode):
2989 Fixed memory leak: unref glyphlists when done with them.
2991 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2992 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2994 - Fixed memory leak: unref glyphlists when done with them.
2996 2004-07-11 Jim Evins <evins@snaught.com>
2998 * data/glabels-2.0.dtd:
2999 * src/label-text.c: (gl_label_text_instance_init), (copy),
3000 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3002 * src/object-editor-private.h:
3003 * src/object-editor-text-page.c:
3004 (gl_object_editor_prepare_text_page),
3005 (gl_object_editor_set_text_auto_shrink),
3006 (gl_object_editor_get_text_auto_shrink):
3007 * src/object-editor.c: (gl_object_editor_set_key_names):
3008 * src/object-editor.glade:
3009 * src/object-editor.h:
3010 * src/print.c: (draw_text_object):
3011 * src/view-text.c: (update_object_from_editor_cb),
3012 (update_editor_from_object_cb):
3013 * src/xml-label.c: (xml_parse_object_text),
3014 (xml_create_object_text):
3015 Added option to allow document merge to auto shrink text size to fit
3016 within the text box. The code in print.c that actually shrinks the
3017 text is loosely based on a patch submitted by Mark Harrison
3018 <mark.harrison@velocitynet.com.au>. This addresses feature request
3021 2004-07-11 Jim Evins <evins@snaught.com>
3023 * data/glabels-2.0.dtd:
3024 * libglabels/template.c: (gl_template_rect_label_type_new),
3025 (gl_template_round_label_type_new),
3026 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3027 (template_full_page):
3028 * libglabels/template.h:
3029 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3030 (xml_create_label_node):
3031 * pixmaps/ex-rect-size.png:
3032 * src/print.c: (clip_to_outline), (clip_punchouts):
3033 * src/template-designer.c: (construct_rect_size_page),
3034 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3036 * src/template-designer.glade:
3037 * src/xml-label-191.c: (xml191_parse_label):
3038 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3039 properties for rectangular labels. Templates remain backwards compatible,
3040 but this breaks the libglabels API (I don't know of anyone outside of
3041 glabels using libglabels at this time -- what can I say, the program is
3042 is still "unstable"). This addresses the suggestion in Feature Request
3045 2004-07-05 Jim Evins <evins@snaught.com>
3046 * src/print.c: (print_crop_marks), (draw_outline):
3047 Changed crop marks and label outlines to black, instead of 25% gray.
3048 This addresses debian Bug #257460.
3050 2004-07-05 Jim Evins <evins@snaught.com>
3052 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3053 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3054 Preserve "is_default" of fill and line color_combos when creating from
3057 2004-07-02 Jim Evins <evins@snaught.com>
3060 Created man page. Based on page submitted by Matthew J. Lockner, however
3061 it has been severely edited.
3063 * data/avery-other-templates.xml
3064 * data/misc-other-templates.xml:
3065 Started new files for predefined templates with non-standard sheet sizes.
3066 These have been initially populated with the Avery 06141 and
3067 OfficeMax #86112, both provided by Matthew J. Lockner.
3070 Install above manpage and template files.
3073 Make sure we install man pages.
3075 * src/glabels-batch.c:
3076 Changed short form of help option to '-?' to be consistent with glabels.
3079 Added acknowledgement for above labels.
3081 2004-07-02 Jim Evins <evins@snaught.com>
3083 * src/glabels.c: (main), (save_session_cb):
3084 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3086 - save_session_cb() now returns gboolean.
3087 - Minor formatting changes.
3091 - Now include file.h to provide missing prototype.
3092 - gl_window_get_type() now returns GType, not guint. I believe this may
3093 ultimately be cause of the segfault reported in Bug #982287, since
3094 GType is actually a gulong, which may not be compatible on other
3095 architectures (64bit) -- I cannot personally test this at this time.
3096 I was sloppy in several other xxx_get_type() functions which also
3097 returned guint -- see next group of files:
3099 * src/window.c: (gl_window_get_type):
3100 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3101 * src/canvas-hacktext.h:
3102 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3103 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3104 (gl_hig_hbox_get_type):
3106 * src/label-barcode.c: (gl_label_barcode_get_type):
3107 * src/label-barcode.h:
3108 * src/label-box.c: (gl_label_box_get_type):
3110 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3111 * src/label-ellipse.h:
3112 * src/label-image.c: (gl_label_image_get_type):
3113 * src/label-image.h:
3114 * src/label-line.c: (gl_label_line_get_type):
3116 * src/label-object.c: (gl_label_object_get_type):
3117 * src/label-object.h:
3118 * src/label-text.c: (gl_label_text_get_type):
3120 * src/label.c: (gl_label_get_type):
3122 * src/merge-properties-dialog.c:
3123 (gl_merge_properties_dialog_get_type):
3124 * src/merge-properties-dialog.h:
3125 * src/merge-text.c: (gl_merge_text_get_type):
3127 * src/merge.c: (gl_merge_get_type):
3129 * src/object-editor.c: (gl_object_editor_get_type):
3130 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3131 * src/prefs-dialog.h:
3132 * src/prefs-model.c: (gl_prefs_model_get_type):
3133 * src/prefs-model.h:
3134 * src/print-dialog.c: (gl_print_dialog_get_type):
3135 * src/print-dialog.h:
3136 * src/template-designer.c: (gl_template_designer_get_type):
3137 * src/template-designer.h:
3138 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3139 * src/ui-property-bar.h:
3140 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3142 * src/view-barcode.c: (gl_view_barcode_get_type):
3143 * src/view-barcode.h:
3144 * src/view-box.c: (gl_view_box_get_type):
3146 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3147 * src/view-ellipse.h:
3148 * src/view-highlight.c: (gl_view_highlight_get_type):
3149 * src/view-highlight.h:
3150 * src/view-image.c: (gl_view_image_get_type):
3152 * src/view-line.c: (gl_view_line_get_type):
3154 * src/view-object.c: (gl_view_object_get_type):
3155 * src/view-object.h:
3156 * src/view-text.c: (gl_view_text_get_type):
3158 * src/view.c: (gl_view_get_type):
3160 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3161 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3162 * src/wdgt-image-select.h:
3163 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3164 * src/wdgt-media-select.h:
3165 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3166 * src/wdgt-mini-preview.h:
3167 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3168 * src/wdgt-print-copies.h:
3169 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3170 * src/wdgt-print-merge.h:
3171 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3172 * src/wdgt-rotate-label.h:
3173 - Made sure all xxx_get_type functions returned GType, not guint. This
3174 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3175 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3176 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3177 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3178 window.[ch] details above for more info.
3179 - Reconciled various coding style differences in all xxx_get_type()
3181 * All prototypes include G_GNUC_CONST.
3182 * All prototypes specify the return value as GType, not GtkType
3184 * Info structures are all declared as "static const."
3185 * Generalized the names of type and info variables.
3186 * Miscelaneous formatting.
3188 2004-06-08 Jim Evins <evins@snaught.com>
3194 Don't touch compression of original file -- still defaults to 9 for
3195 new files. Original patch provided by Javier Donaire Segarra
3196 (#912252 in patch tracker).
3198 2004-05-05 Jim Evins <evins@snaught.com>
3200 * data/glabels-2.0.dtd:
3201 Broke DTD previously when adding new barcode types that contain a
3202 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3203 to avoid the problem.
3204 * data/avery-iso-templates.xml:
3205 * data/zweckform-iso-templates.xml:
3207 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3208 provided by Frank Altpeter.
3209 * libglabels/xml-template.c: (xml_create_label_node):
3210 Reordered markup and layout sub-nodes so that resulting templates will
3211 validate against DTD.
3213 2004-03-13 Jim Evins <evins@snaught.com>
3215 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3216 Changed spin callback signals from "value-changed" back to "changed."
3217 This was accidentally introduced in a previous revision, and can cause
3218 size changes just by selecting the size tab.
3220 2004-03-06 Jim Evins <evins@snaught.com>
3222 * src/view.c: (draw_grid_layer):
3223 For round labels (round and cd) adjust grid so that it lines up with
3224 center of label. Also, no longer draw box around label in the grid layer,
3225 it is hidden by he fg layer anyway. Feature suggested by
3226 nemolivier@free.fr. Although the grid is aligned with the center of the
3227 label, the coordinate system is still relative to the upper left corner
3228 of the rectangle containing the label.
3230 2004-02-25 Jim Evins <evins@snaught.com>
3233 Changed version to 2.0pre1cvs
3235 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3236 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3237 instead of doc->name fields when errors encountered.
3239 2004-02-21 Jim Evins <evins@snaught.com>
3241 * data/avery-iso-templates.xml:
3242 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3245 Added libglabels library and include file to installed files.
3248 Final prep for 1.93.3.
3250 2004-02-20 Jim Evins <evins@snaught.com>
3252 * src/glabels-batch.c: (main):
3253 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3254 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3256 2004-02-16 Jim Evins <evins@snaught.com>
3259 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3262 Added HAVE_FILE_CHOOSER to INCLUDES.
3264 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3265 (gl_file_save_as), (save_as_response):
3266 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3268 2004-02-16 Jim Evins <evins@snaught.com>
3270 * src/xml-label-04.c: (xml04_parse_image_props):
3271 * src/xml-label-191.c: (xml191_parse_image_props):
3272 * src/xml-label.c: (xml_parse_object_image):
3273 Delay setting image size until after image has been applied to new
3276 2004-02-15 Jim Evins <evins@snaught.com>
3278 * src/label-barcode.c: (gl_label_barcode_set_data),
3279 (gl_label_barcode_set_props):
3280 Don't emit "changed" signal, if no change actually made for these
3281 methods. Reduces number of unnecessary redraws of barcodes.
3283 * src/label-object.h:
3284 * src/label-object.c: (gl_label_object_set_position),
3285 (gl_label_object_set_position_relative), (set_size),
3286 (gl_label_object_set_size),
3287 (gl_label_object_set_size_honor_aspect):
3288 Don't emit "changed" signal, if no change actually made for these
3291 2004-02-15 Jim Evins <evins@snaught.com>
3293 * data/glabels-2.0.dtd:
3294 Added specific subtypes for various barcode types.
3297 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3298 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3299 (gl_barcode_can_text), (gl_barcode_text_optional),
3300 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3301 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3302 Changed API to use a string id, rather than a fixed enumeration. Id and
3303 name are separate strings. Added entries to backend table for specific
3304 subtypes for various barcode types.
3307 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3309 Modified to conform to above API. Now more stringent with data length
3310 for various subtypes.
3312 * src/bc-gnubarcode.h:
3313 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3314 (is_length_valid), (is_length1_valid), (is_length2_valid):
3315 Modified to conform to above API. Now more stringent with data length
3316 for various subtypes.
3318 * src/label-barcode.h:
3319 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3320 (gl_label_barcode_get_props), (get_size):
3321 Modified to use above API for storing barcode type.
3323 * src/object-editor.h:
3324 * src/object-editor-bc-page.c: (style_changed_cb),
3325 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3326 Modified to use above API for storing barcode type.
3328 * src/object-editor-size-page.c:
3329 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3330 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3331 Added debug markers.
3333 * src/object-editor.glade:
3334 Made barcode style combo's text entry non-editable.
3336 * src/print.c: (draw_barcode_object):
3337 Modified to use above API for barcode type.
3339 * src/view-barcode.c: (update_object_from_editor_cb),
3340 (update_editor_from_object_cb),
3341 (gl_view_barcode_create_event_handler), (draw_barcode):
3342 Modified to use above API for barcode type.
3344 * src/xml-label-04.c: (xml04_parse_barcode_props):
3345 * src/xml-label-191.c: (xml191_parse_barcode_props):
3346 * src/xml-label.c: (xml_parse_object_barcode),
3347 (xml_create_object_barcode):
3348 Modified to use above API for barcode type.
3350 2004-02-07 Jim Evins <evins@snaught.com>
3352 * src/stock-pixmaps/Makefile.am:
3353 * src/stock-pixmaps/stock_hchain_24.png:
3354 * src/stock-pixmaps/stock_hchain_broken_24.png:
3355 * src/stock-pixmaps/stock_vchain_24.png:
3356 * src/stock-pixmaps/stock_vchain_broken_24.png:
3357 Added chain pixmaps borrowed from the gimp's default theme.
3360 * src/stock.c: (gl_stock_init), (add_button_icon):
3361 Added above pixmaps to stock icon sets. Created add_button_icon() to
3362 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3364 * src/wdgt-chain-button.h
3365 * src/wdgt-chain-button.c
3368 Added this Modified version of gimpchainbutton widget, borrowed from
3372 Added acknowledgements of the above borrowing from the gimp.
3374 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3376 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3377 * src/object-editor.glade:
3378 Replaced the keep aspect ratio check box with the above chain-button
3381 * src/text-node.c: (gl_text_node_equal):
3383 Added function gl_text_node_equal() to compare text_nodes.
3385 * src/label-image.c: (gl_label_image_set_filename):
3386 Replaced incomplete text_node comparison code with invocation of
3387 gl_text_node_equal. This fixed the problem of not being able to
3388 resize an image using the object_editor if the aspect ratio is not
3391 2004-02-04 Jim Evins <evins@snaught.com>
3393 * src/object-editor-image-page.c:
3394 (gl_object_editor_prepare_image_page):
3395 Track "changed" signal of pixmap entry's GtkEntry rather than its
3396 "activate" signal -- this catches all changes to the entry rather than
3397 just changes resulting from a browse, so one can easily pull previous
3398 entries from the history. (This change is marked below on 2004-02-03,
3399 but somehow never got checked in.)
3401 * src/view-highlight.c: (sl_resize_event_handler),
3402 (sr_resize_event_handler), (st_resize_event_handler),
3403 (sb_resize_event_handler):
3404 Side resize handles will now confirm the actual resize that the object
3405 accepted before adjusting position parameters. Previously some interesting
3406 things happened when resizing a barcode to its minimum size.
3408 2004-02-03 Jim Evins <evins@snaught.com>
3410 * src/object-editor-image-page.c:
3411 (gl_object_editor_prepare_image_page):
3412 Track "changed" signal of pixmap entry's GtkEntry rather than its
3413 "activate" signal -- this catches all changes to the entry rather than
3414 just changes resulting from a browse, so one can easily pull previous
3415 entries from the history.
3417 * src/view-highlight.c: (tl_resize_event_handler),
3418 (tr_resize_event_handler), (bl_resize_event_handler),
3419 (br_resize_event_handler):
3420 Allow control key to be dropped while dragging a corner resize handle
3421 without losing the aspect ratio lock.
3423 2004-02-02 Jim Evins <evins@snaught.com>
3425 * src/label-image.c: (gl_label_image_set_filename):
3426 When setting a new filename adjust size such that the aspect ratio of
3427 the image is preserved using the current size as a bounding box.
3429 * src/view-image.c: (update_object_from_editor_cb):
3430 When updating object from editor, feed back possible size changes to
3431 editor as a result of a possible change in image.
3433 * src/object-editor-size-page.c: (size_reset_cb):
3434 Fixed typo when blocking spin handlers. If the base size is larger than
3435 the max size, treat max size as a bounding box while keeping aspect
3439 2004-02-02 Jim Evins <evins@snaught.com>
3441 * src/label-object.h:
3442 * src/label-object.c: (gl_label_object_set_size),
3443 (gl_label_object_set_size_honor_aspect):
3444 Added gl_label_object_set_size_honor_aspect() which will maintain the
3445 current aspect ratio by modifying the supplied w or h apropriately.
3447 * src/view-highlight.c: (tl_resize_event_handler),
3448 (tr_resize_event_handler), (bl_resize_event_handler),
3449 (br_resize_event_handler):
3450 Corner handles will now maintain the current aspect ratio if the
3451 control key is pressed while resizing. This addresses feature
3455 2004-01-31 Jim Evins <evins@snaught.com>
3458 * data/avery-us-templates.xml:
3459 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3461 * libglabels/template.c: (read_template_files_from_dir):
3462 Corrected problem with testing for extensions.
3464 * src/object-editor.glade:
3465 Corrected grouping of radio buttons in barcode data page.
3467 * src/print.c: (draw_barcode_object):
3468 * src/view-barcode.c: (draw_barcode):
3469 Corrected problem with calculation of y_offset for locating characters.
3471 2004-01-24 Jim Evins <evins@snaught.com>
3474 * data/avery-us-templates.xml:
3475 Added Avery 5824, submitted by Fred Bacon.
3477 2004-01-20 Jim Evins <evins@snaught.com>
3479 Catching up on a couple of backlogged user template submissions.
3481 * data/avery-iso-templates.xml:
3482 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3483 Suggested by Linas Jakucionis.
3485 * data/zweckform-iso-templates.xml:
3486 Added Zweckform 4760, submitted by Thomas Vill.
3489 Updated to reflect above submissions.
3491 2004-01-06 Jim Evins <evins@snaught.com>
3493 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3494 xml.[ch] into a separate library called libglabels, to facilitate third
3495 party use of glabels template files. This was suggested by Wayne Schuller.
3496 Once split-out, some modifications to the structures and functions to
3497 make a cleaner more useful API, hopefully. Rather extensive changes have
3498 propogated to other modules.
3506 * src/xml-template.h:
3507 * src/xml-template.c:
3510 These files have been moved to libglabels/. API cleanup performed.
3512 * libglabels/libglabels.h:
3513 * libglabels/libglabels-private.h:
3514 * libglabels/Makefile.am:
3515 These files have been added to finish out libglabels.
3522 Modified to reflect new sets of files in src/ and libglabels/.
3524 * COPYING.LIBGLABELS:
3526 Added copy of the LGPL for libglabels, and a copy the GFDL for
3529 * src/glabels-batch.c:
3531 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3532 (gl_label_get_size):
3534 * src/prefs-model.c: (gl_prefs_model_load_settings):
3535 * src/print-dialog.c:
3536 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3537 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3538 (print_crop_marks), (print_label), (draw_outline),
3539 (clip_to_outline), (clip_punchouts):
3540 * src/template-designer.c: (construct_pg_size_page),
3541 (pg_size_page_changed_cb), (layout_page_changed_cb),
3542 (print_test_cb), (build_template):
3543 * src/util.c: (gl_util_fraction):
3545 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3546 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3547 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3548 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3549 (draw_markup_margin_round), (draw_markup_margin_cd),
3550 (draw_markup_margin_cd_bc), (draw_markup_line),
3551 (draw_markup_circle), (gl_view_copy):
3552 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3553 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3554 (get_label_size_desc):
3555 * src/wdgt-mini-preview.c:
3556 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3558 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3559 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3560 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3561 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3562 * src/wdgt-rotate-label.h:
3563 * src/xml-label-04.c: (xml04_parse_media_description):
3564 * src/xml-label-191.c: (gl_xml_label_191_parse),
3565 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3566 (xml191_parse_markup), (xml191_parse_alias):
3567 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3569 Various changes to accomodate new libglabels API.
3571 2004-01-03 Jim Evins <evins@snaught.com>
3576 2004-01-03 Jim Evins <evins@snaught.com>
3579 Added acknowledgement of contributions by Wayne Schuller.
3581 * src/commands.c: (gl_cmd_file_print):
3582 Create extra reference to print dialog, so that it can be properly re-used.
3584 * src/mygal/mygal-combo-box.h:
3585 * src/mygal/mygal-combo-box.c:
3586 (mygal_combo_box_popup_hide_unconditional),
3587 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3588 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3589 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3590 (mygal_combo_box_set_tearable):
3591 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3592 complete the rename of this widget to prevent namespace collisions
3595 * src/prefs-dialog.glade:
3596 Fixed alignment of Fill/Color widgets.
3598 2004-01-03 Jim Evins <evins@snaught.com>
3600 * data/avery-iso-templates.xml:
3601 Added user submitted templates.
3602 Avery 8435A & 8435B, submitted by Ludger Solbach.
3604 * doc/C/glabels.xml:
3605 Added minimal documentation, noting the new template designer.
3607 2004-01-03 Jim Evins <evins@snaught.com>
3609 * pixmaps/ex-rect-size.png:
3610 * pixmaps/ex-round-size.png:
3611 * pixmaps/ex-cd-size.png:
3612 * pixmaps/Makefile.am:
3613 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3614 files to be used as illustrations/examples in the template-designer.
3616 * src/template-designer.c: (construct_rect_size_page),
3617 (construct_round_size_page), (construct_cd_size_page),
3618 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3619 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3620 (layout_page_prepare_cb), (build_template):
3621 * src/template-designer.glade:
3622 Added illustrations for rectangle, round, and cd label size pages.
3623 Added margin spinboxes to these pages, and now add a margin markup
3624 to the constructed template. Added realistic default values for
3625 some of the size spinboxes. Cleaned up the code for setting spinbox
3626 ranges on the layouts page.
3628 2004-01-02 Jim Evins <evins@snaught.com>
3630 * src/object-editor-size-page.c: (h_spin_cb):
3631 Fixed cut-n-paste error in h_spin_cb that loaded h from
3632 the wrong spinbutton.
3634 * src/object-editor.h:
3635 * src/object-editor.c: (gl_object_editor_class_init),
3636 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3637 * src/object-editor-private.h:
3638 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3640 Added "size_changed" signal.
3642 * src/view-text.c: (construct_properties_editor),
3643 (update_object_from_editor_cb),
3644 (update_object_from_editor_size_cb):
3645 Track size changes from object editor separately from other
3646 properties. This is so the default size (0,0) of a text
3647 object is not modified unintentionally.
3649 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3651 Added feature: line spacing - allows you to comfortably space a text box to
3652 fit a label perfectly.
3654 * data/glabels-2.0.dtd:
3655 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3656 (gl_label_object_get_text_alignment),
3657 (gl_label_object_get_text_line_spacing):
3658 * src/label-object.h:
3659 * src/label-text.c: (gl_label_text_class_init),
3660 (gl_label_text_instance_init), (copy), (get_size),
3661 (set_text_line_spacing), (get_text_alignment),
3662 (get_text_line_spacing):
3663 * src/object-editor-private.h:
3664 * src/object-editor-text-page.c:
3665 (gl_object_editor_prepare_text_page),
3666 (gl_object_editor_set_text_line_spacing),
3667 (gl_object_editor_get_text_line_spacing):
3668 * src/object-editor.glade:
3669 * src/object-editor.h:
3670 * src/prefs-dialog.c: (construct_object_page),
3671 (update_object_page_from_prefs), (update_prefs_from_object_page):
3672 * src/prefs-dialog.glade:
3673 * src/prefs-model.c: (gl_prefs_model_save_settings),
3674 (gl_prefs_model_load_settings), (get_float):
3675 * src/prefs-model.h:
3676 * src/print.c: (draw_text_object):
3678 * src/view-text.c: (update_object_from_editor_cb),
3679 (update_editor_from_object_cb),
3680 (gl_view_text_create_event_handler), (draw_hacktext):
3681 * src/view.c: (gl_view_construct),
3682 (gl_view_set_selection_text_line_spacing),
3683 (gl_view_set_default_text_line_spacing),
3684 (gl_view_get_default_text_line_spacing):
3686 * src/xml-label.c: (xml_parse_toplevel_span),
3687 (xml_create_toplevel_span):
3689 2003-12-30 Jim Evins <evins@snaught.com>
3691 * src/template-designer.c:
3692 * src/template-designer.h:
3693 * src/template-designer.glade:
3694 New template designer assistant.
3698 Added entries for src/template-designer.* files.
3700 * pixmaps/ex-1layout.png
3701 * pixmaps/ex-2layouts.png
3702 * pixmaps/Makefile.am:
3703 Added the new image files ex-*.png used as illustrations in the
3704 template designer assistant.
3706 * src/print-dialog.h:
3707 * src/print-dialog.c: (gl_print_dialog_finalize),
3708 (gl_print_dialog_new), (gl_print_dialog_construct),
3709 (gl_print_dialog_force_outline_flag):
3710 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3711 to support printing from the template designer assistant which does not
3712 have a full-fledged view. Nothing else from the view object was being
3713 used by the dialog anyway.
3715 Added the gl_print_dialog_force_outline_flag() method, for better
3716 integration with the template designer assistant.
3720 * src/commands.c: (gl_cmd_file_template_designer),
3721 (gl_cmd_file_print):
3722 Modified print command to provide label instead of view to dialog.
3723 Added the gl_cmd_file_template_designer() command to invoke the
3724 template designer assistant.
3727 * src/glabels-ui.xml:
3728 Added support for template designer assistant.
3730 * src/wdgt-mini-preview.h:
3731 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3732 (gl_wdgt_mini_preview_set_bg_color):
3733 Preview is now centered in canvas. Added
3734 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3735 assistant to match the background color with its own.
3737 * src/print.c: (clip_to_outline):
3738 Fixed really stupid bug when adding waste to clip region of rectangular
3739 labels/cards. Each side of the clip region needs to be extended by
3740 twice the waste margin, as well as negatively offset by the waste
3743 2003-12-28 Jim Evins <evins@snaught.com>
3745 * src/prefs-dialog.c: (update_object_page_from_prefs):
3746 Block intermediary function align_toggle_cb() instead of
3747 update_prefs_from_object_page() for the three alignment
3750 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3752 * src/file.c: (gl_file_new), (gl_file_properties):
3753 Swap button order and set default for higificatory pleasure.
3755 2003-12-27 Jim Evins <evins@snaught.com>
3757 * barcode-0.98/Makefile.am:
3758 One last time: removed doc/Makefile and po/Makefile.in.in from
3761 2003-12-27 Jim Evins <evins@snaught.com>
3763 * barcode-0.98/Makefile.am:
3764 Removed config.stat entry from EXTRA_DIST files.
3766 * barcode-0.98/Makefile.in:
3769 2003-12-27 Jim Evins <evins@snaught.com>
3772 Updated to work with latest gnome-common package from CVS.
3773 Removed recursive configuration of barcode-0.98.
3780 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3782 * barcode-0.98/Makefile.in:
3783 * barcode-0.98/configure.in:
3784 * barcode-0.98/Makefile.am:
3785 * barcode-0.98/README.glabels:
3786 Modified to ignore the barcode package's build system, and build
3787 as a part of glabels.
3788 Renamed Makefile.in to Makefile.in.dist.
3789 Renamed configure.in to configure.in.dist.
3790 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3793 * src/mygal/Makefile.am:
3794 * src/recent-files/Makefile.am:
3795 In order to build against the GNOME 2.5 platform,
3796 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3798 * src/mygal/Makefile.am:
3799 * src/mygal/mygal-combo-box.c:
3800 * src/mygal/mygal-combo-box.h:
3801 * src/mygal/widget-color-combo.c:
3802 * src/mygal/widget-color-combo.h:
3804 In order to build against the GNOME 2.5 platform,
3805 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3806 collisions with the real gtk_combo_box widget, now a part of gtk.
3808 2003-12-26 Jim Evins <evins@snaught.com>
3814 Moved local versions of get_home_data_dir() in paper.c and
3815 template.c to util package. Cleaned up formatting in
3819 In gl_template_register() save a copy of the template in
3820 ~/.glabels if the template is not known. Still need to
3821 handle duplicate filename case and duplicate name but
3822 different template case.
3826 Moved local definition of NAME_SPACE macro from xml-label.c
3829 * src/xml-template.c:
3830 * src/xml-template.h:
3831 Added function gl_xml_template_write_template_to_file(), used
3832 in gl_template_register().