1 2007-11-20 Jim Evins <evins@snaught.com>
3 * data/glade/template-designer.glade:
4 * src/template-designer.c:
5 Added warning icon when match brand and part match an existing template.
7 2007-11-18 Jim Evins <evins@snaught.com>
9 * libglabels/Makefile.am:
12 Added lgl_str_utf8_casecmp().
13 * libglabels/libglabels-private.h:
14 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
15 * libglabels/db.c: (lgl_db_get_brand_list):
16 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
19 2007-11-18 Jim Evins <evins@snaught.com>
21 * data/glade/template-designer.glade:
22 * src/template-designer.c:
23 Don't advance past name page, if brand and part match an existing template.
25 2007-11-18 Jim Evins <evins@snaught.com>
27 * libglabels/db.c: (lgl_db_register_template), (read_templates):
28 When registering a new template, don't add to "User defined" category before
29 writing to file. Add to "User defined" category when reading from "~/.glabels"
30 directory instead. This will allow legacy templates (and manually created
31 templates) to be automatically added to the "user defined" category.
32 * libglabels/xml-template.c:
33 (lgl_xml_template_create_template_node):
34 Fixed typo/bug causing brand to be wrong.
36 2007-11-16 Jim Evins <evins@snaught.com>
40 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
41 function. Automatically create "User defined" category and add to all user
43 * libglabels/xml-template.c:
44 * libglabels/xml-template.h:
45 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
46 lgl_xml_template_write_template_to_file().
47 * docs/libglabels/libglabels-decl-list.txt:
48 * docs/libglabels/libglabels-sections.txt:
49 * docs/libglabels/libglabels-undocumented.txt:
50 * docs/libglabels/tmpl/db.sgml:
51 * docs/libglabels/tmpl/xml-template.sgml:
52 Update documentation to reflect above changes.
54 2007-10-28 Jim Evins <evins@snaught.com>
56 * libglabels/xml-template.c:
57 Remove any leading white space from part #s when parsing old names.
58 * src/mini-preview-pixbuf-cache.c:
59 If name isn't in cache add it.
61 2007-10-26 Jim Evins <evins@snaught.com>
63 * libglabels/Makefile.am:
64 * libglabels/category.c:
65 * libglabels/category.h:
68 * libglabels/libglabels-private.h:
69 * libglabels/libglabels.h:
72 * libglabels/template.c:
73 * libglabels/template.h:
74 * libglabels/xml-template.c:
75 Another pass at screwing with the libglabels API. Moved all
76 database related stuff to db.[ch].
77 * docs/libglabels/libglabels-decl-list.txt:
78 * docs/libglabels/libglabels-docs.sgml:
79 * docs/libglabels/libglabels-sections.txt:
80 * docs/libglabels/libglabels-undocumented.txt:
81 * docs/libglabels/tmpl/category.sgml:
82 * docs/libglabels/tmpl/db.sgml:
83 * docs/libglabels/tmpl/init.sgml:
84 * docs/libglabels/tmpl/libglabels-unused.sgml:
85 * docs/libglabels/tmpl/paper.sgml:
86 * docs/libglabels/tmpl/template-construction.sgml:
87 * docs/libglabels/tmpl/template-db.sgml:
88 * docs/libglabels/tmpl/template-misc.sgml:
89 * docs/libglabels/tmpl/template-struct.sgml:
90 * docs/libglabels/tmpl/template.sgml:
91 Updated documentation to reflect above changes to libglabels API.
93 * src/glabels-batch.c:
95 * src/mini-preview-pixbuf-cache.c:
98 * src/template-designer.c:
99 * src/wdgt-media-select.c:
100 * src/wdgt-mini-preview.c:
101 * src/wdgt-rotate-label.c:
102 * src/xml-label-04.c:
104 Reconciled usage with above libglabels API changes.
106 2007-10-21 Jim Evins <evins@snaught.com>
108 * data/glade/wdgt-media-select.glade:
109 * src/wdgt-media-select.c:
110 Added brand to filter settings.
112 2007-10-21 Jim Evins <evins@snaught.com>
114 * data/dtd/glabels-2.2.dtd:
115 Forgot to replace Alias name attribute with brand and part attributes.
116 * data/templates/avery-iso-templates.xml:
117 * data/templates/avery-other-templates.xml:
118 * data/templates/avery-us-templates.xml:
119 * data/templates/misc-iso-templates.xml:
120 * data/templates/misc-other-templates.xml:
121 * data/templates/misc-us-templates.xml:
122 * data/templates/zweckform-iso-templates.xml:
123 Replaced all name attributes with brand/part attribute pairs.
125 2007-10-20 Jim Evins <evins@snaught.com>
127 * src/stock-pixmaps/*.png
128 Updated icons to use Tango color palette.
130 2007-10-20 Jim Evins <evins@snaught.com>
132 * data/dtd/Makefile.am:
133 * data/dtd/glabels-2.0.dtd:
134 * data/dtd/glabels-2.2.dtd:
135 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
137 * libglabels/template.c:
138 * libglabels/template.h:
139 * libglabels/xml-template.c:
141 Added brand and part attributes to template and alias structures and nodes.
144 * src/mini-preview-pixbuf-cache.c:
145 * src/template-designer.c:
146 * src/wdgt-media-select.c:
147 Use modified libglabels API.
148 * docs/libglabels/libglabels-decl-list.txt:
149 * docs/libglabels/libglabels-sections.txt:
150 * docs/libglabels/libglabels-undocumented.txt:
151 * docs/libglabels/tmpl/template-construction.sgml:
152 * docs/libglabels/tmpl/template-db.sgml:
153 * docs/libglabels/tmpl/template-struct.sgml:
154 Update libglabels documentation to reflect above modifications.
156 2007-10-14 Jim Evins <evins@snaught.com>
158 * docs/libglabels/libglabels-decl-list.txt:
159 * docs/libglabels/libglabels-sections.txt:
160 * docs/libglabels/libglabels-undocumented.txt:
161 * docs/libglabels/tmpl/category.sgml:
162 * libglabels/category.c:
163 * libglabels/category.h:
164 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
165 parity with paper functions.
167 2007-10-12 Jim Evins <evins@snaught.com>
169 * docs/libglabels/libglabels-decl-list.txt:
170 * docs/libglabels/libglabels-sections.txt:
171 * docs/libglabels/libglabels-undocumented.txt:
172 * docs/libglabels/tmpl/category.sgml:
173 * docs/libglabels/tmpl/enums.sgml:
174 * docs/libglabels/tmpl/libglabels-unused.sgml:
175 * docs/libglabels/tmpl/paper.sgml:
176 * docs/libglabels/tmpl/template-struct.sgml:
178 * libglabels/template.c:
179 * libglabels/template.h:
180 Another pass at fleshing out the libglabels documentation.
181 * src/cairo-label-path.c:
182 * src/cairo-markup-path.c:
184 * src/mini-preview-pixbuf.c:
188 * src/wdgt-media-select.c:
189 * src/wdgt-mini-preview.c:
190 * src/wdgt-print-copies.c:
191 * src/wdgt-print-merge.c:
192 * src/wdgt-rotate-label.c:
193 Removed lgl_template_get_first_frame() from libglabels API and all references.
195 2007-10-11 Jim Evins <evins@snaught.com>
197 Extended checks for deprecated symbols.
198 * libglabels/template.c:
199 Removed g_strcasecmp references, which are deprecated.
201 2007-10-09 Jim Evins <evins@snaught.com>
203 * src/merge-evolution.c:
204 Create address book if it does not exist. Also, be more robust about handling
205 error conditions -- don't just assume GError has been set.
207 2007-10-08 Jim Evins <evins@snaught.com>
209 * libglabels/template.c:
210 * libglabels/xml-template.c:
211 * src/template-designer.c:
212 Missed some symbols with libglabels API work.
214 2007-10-01 Jim Evins <evins@snaught.com>
216 * docs/libglabels/libglabels-decl-list.txt:
217 * docs/libglabels/libglabels-docs.sgml:
218 * docs/libglabels/libglabels-sections.txt:
219 * docs/libglabels/libglabels-undocumented.txt:
220 * docs/libglabels/tmpl/category.sgml:
221 * docs/libglabels/tmpl/enums.sgml:
222 * docs/libglabels/tmpl/init.sgml:
223 * docs/libglabels/tmpl/libglabels-unused.sgml:
224 * docs/libglabels/tmpl/paper.sgml:
225 * docs/libglabels/tmpl/template-construction.sgml:
226 * docs/libglabels/tmpl/template-db.sgml:
227 * docs/libglabels/tmpl/template-misc.sgml:
228 * docs/libglabels/tmpl/template-struct.sgml:
229 * docs/libglabels/tmpl/template.sgml:
230 * docs/libglabels/tmpl/xml-category.sgml:
231 * docs/libglabels/tmpl/xml-template.sgml:
232 * libglabels/category.h:
234 * libglabels/libglabels-private.h:
235 * libglabels/paper.h:
236 * libglabels/template.c:
237 * libglabels/template.h:
238 * libglabels/xml-template.h:
239 Basic documentation framework for libglabels updated. This still needs some
242 2007-09-27 Jim Evins <evins@snaught.com>
244 * docs/libglabels/libglabels-decl-list.txt:
245 * docs/libglabels/libglabels-docs.sgml:
246 * docs/libglabels/libglabels-sections.txt:
247 * docs/libglabels/libglabels-undocumented.txt:
248 * docs/libglabels/tmpl/enums.sgml:
249 * docs/libglabels/tmpl/init.sgml:
250 * docs/libglabels/tmpl/libglabels-unused.sgml:
251 * docs/libglabels/tmpl/paper.sgml:
252 * docs/libglabels/tmpl/template.sgml:
253 * docs/libglabels/tmpl/xml-paper.sgml:
254 * docs/libglabels/tmpl/xml-template.sgml:
255 * docs/libglabels/tmpl/xml.sgml:
256 * libglabels/Makefile.am:
257 * libglabels/category.c:
258 * libglabels/category.h:
259 * libglabels/enums.h:
262 * libglabels/libglabels-private.h:
263 * libglabels/libglabels.h:
264 * libglabels/paper.c:
265 * libglabels/paper.h:
266 * libglabels/template.c:
267 * libglabels/template.h:
268 * libglabels/xml-category.c:
269 * libglabels/xml-category.h:
270 * libglabels/xml-paper.c:
271 * libglabels/xml-paper.h:
272 * libglabels/xml-template.c:
273 * libglabels/xml-template.h:
276 * src/cairo-label-path.c:
277 * src/cairo-label-path.h:
278 * src/cairo-markup-path.c:
279 * src/cairo-markup-path.h:
281 * src/glabels-batch.c:
283 * src/label-object.c:
286 * src/mini-preview-pixbuf-cache.c:
287 * src/mini-preview-pixbuf.c:
288 * src/mini-preview-pixbuf.h:
289 * src/prefs-dialog.c:
296 * src/template-designer.c:
297 * src/view-barcode.c:
299 * src/view-ellipse.c:
303 * src/wdgt-media-select.c:
304 * src/wdgt-mini-preview.c:
305 * src/wdgt-mini-preview.h:
306 * src/wdgt-print-copies.c:
307 * src/wdgt-print-merge.c:
308 * src/wdgt-rotate-label.c:
309 * src/xml-label-04.c:
311 Major cleanup of libglabels API -- this breaks API compatibility with older
312 development and stable versions -- as far as I know, there are currently
313 no external users of this library yet.
315 2007-09-14 Jim Evins <evins@snaught.com>
320 * src/label-object.c:
321 * src/label-object.h:
322 * src/label-barcode.c:
323 * src/label-ellipse.c:
326 * src/view-barcode.c:
328 * src/view-ellipse.c:
332 Better separation of model from view.
334 2007-08-21 Jim Evins <evins@snaught.com>
336 * src/print-op.c: (create_custom_widget_cb):
337 Fix problem with force_outline_flag -- don't override with default.
339 2007-08-21 Jim Evins <evins@snaught.com>
341 * data/dtd/glabels-2.0.dtd:
342 * libglabels/template.c:
343 * libglabels/template.h:
344 * libglabels/xml-template.c:
345 * src/cairo-markup-path.c:
346 Added "Markup-rect" element to template format.
348 2007-08-21 Jim Evins <evins@snaught.com>
351 Changed version to 2.1.pre5svn.
352 * src/view.c: (draw_markup_layer):
353 Do a stroke for each markup path, otherwise multiple markups
356 2007-08-17 Jim Evins <evins@snaught.com>
359 Bump libglabels revision numbers for 2.1.4 release.
361 2007-08-16 Jim Evins <evins@snaught.com>
364 Include subdir iec16022-0.2.1.
368 Preparation for 2.1.4.
371 2007-08-11 Jim Evins <evins@snaught.com>
377 Added Esperanto translation. Provided by Antonio C.
378 Codazzi "la Filozofo" <f_sophia@libero.it>.
380 Updated French translation. Provided by Claude Paroz
381 <claude@2xlibre.net>.
383 Updated to reflect above translations.
385 2007-08-11 Jim Evins <evins@snaught.com>
388 * data/templates/avery-iso-templates.xml:
389 * data/templates/avery-us-templates.xml:
390 * data/templates/misc-iso-templates.xml:
391 * data/templates/misc-other-templates.xml:
392 * data/templates/misc-us-templates.xml:
393 * data/templates/zweckform-iso-templates.xml:
394 Caught up with backlog of template submissions.
396 2007-08-10 Jim Evins <evins@snaught.com>
398 * src/bc-postnet.c: (gl_barcode_postnet_new):
400 Added support for Brazilian CEPNet barcodes. This is simply an
401 instance of the US POSTNET format with 8 digits. Patch supplied
402 by Mário Meyer in bug # 1768792.
404 Updated acknowledgments to reflect above patch and recent shuffling
405 of underlying technology.
407 2007-05-13 Jim Evins <evins@snaught.com>
409 * src/merge-text.c: (parse_line), (parse_field):
410 Remove leading and trailing spaces from CSV fields, unless quoted.
412 2007-05-09 Jim Evins <evins@snaught.com>
414 * src/object-editor-bc-page.c:
415 * src/object-editor-data-page.c:
416 * src/object-editor-fill-page.c:
417 * src/object-editor-image-page.c:
418 * src/object-editor-line-page.c:
419 * src/object-editor-lsize-page.c:
420 * src/object-editor-position-page.c:
421 * src/object-editor-private.h:
422 * src/object-editor-shadow-page.c:
423 * src/object-editor-size-page.c:
424 * src/object-editor-text-page.c:
425 * src/object-editor.c:
426 * src/prefs-dialog.c:
427 * src/template-designer.c:
428 * src/ui-property-bar.c:
429 * src/wdgt-media-select.c:
430 Replaced signal block/unblock pairs with simple flags. This reduces
431 some code clutter, hopefully making it easier to read.
433 2007-05-05 Jim Evins <evins@snaught.com>
435 * src/template-designer.c: (apply_cb):
436 Add new template to mini-preview pixbuf cache.
438 2007-05-03 Jim Evins <evins@snaught.com>
440 * src/label-image.c: (gl_label_image_init), (draw_object):
441 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
444 2007-05-02 Jim Evins <evins@snaught.com>
446 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
447 (button_release_event_cb):
448 Removed attempt at rendering optimization by clipping the updates
449 to areas affected -- this actually seemed to hurt update performance.
451 2007-04-30 Jim Evins <evins@snaught.com>
454 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
455 (gl_color_node_equal), (gl_color_node_expand):
456 * src/label-barcode.c: (draw_object):
457 * src/label-box.c: (draw_object), (draw_shadow):
458 * src/label-ellipse.c: (draw_object), (draw_shadow):
459 * src/label-line.c: (draw_object), (draw_shadow):
460 * src/label-text.c: (draw_object), (draw_shadow):
461 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
462 * src/wdgt-rotate-label.c: (drawingarea_update):
463 Some cleanup to color related code.
465 2007-04-30 Jim Evins <evins@snaught.com>
468 Added glLabelRegion structure type.
469 * src/label-object.c: (gl_label_object_get_extent):
470 * src/label-object.h:
471 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
473 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
474 (gl_view_select_region), (gl_view_align_selection_left),
475 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
476 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
477 (gl_view_align_selection_vcenter),
478 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
479 (gl_view_move_selection), (gl_view_can_selection_text),
480 (motion_notify_event_cb), (button_press_event_cb),
481 (button_release_event_cb):
482 - Reconcile with new gl_label_object_get_extent() API.
483 - Use glLabelRegion for view->select_region.
484 - Added gl_view_update_region() to clip updates to region.
485 - Use gl_view_update_region() during manipulation of view->select_region.
487 2007-04-26 Jim Evins <evins@snaught.com>
489 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
490 (draw_label_outline):
491 * src/print.c: (print_crop_marks), (draw_outline):
492 * src/view-object.c: (gl_view_object_draw_handles):
493 * src/view.c: (draw_bg_layer), (draw_grid_layer),
494 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
495 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
496 * src/wdgt-rotate-label.c: (drawingarea_update):
497 Added defines for various magic numbers.
499 2007-04-25 Jim Evins <evins@snaught.com>
501 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
502 Scale text down. Cairo seems to render text too large.
504 2007-04-25 Jim Evins <evins@snaught.com>
507 * src/view.c: (gl_view_update), (expose_cb),
508 (motion_notify_event_cb), (button_press_event_cb),
509 (button_release_event_cb):
510 - Try not to let updates get backed up.
511 - Grab pointer when doing any drag operations.
513 2007-04-11 Jim Evins <evins@snaught.com>
515 * src/cairo-label-path.c: (gl_cairo_label_path),
516 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
517 (gl_cairo_cd_label_path):
518 * src/cairo-label-path.h:
519 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
520 (draw_label_outline):
521 * src/print.c: (draw_outline), (clip_to_outline):
522 * src/view.c: (draw_bg_layer), (draw_fg_layer):
523 * src/wdgt-mini-preview.c: (draw_labels):
524 * src/wdgt-rotate-label.c: (drawingarea_update):
525 Modified to universally use gl_cairo_label_path() to create paths
526 for labels. Added shadow to mini preview in rotate widget.
528 2007-04-10 Jim Evins <evins@snaught.com>
530 * libglabels/template.h:
531 * libglabels/template.c: (gl_template_get_name_list_unique),
532 (gl_template_get_name_list_all), (gl_template_from_name):
533 Modified libglabels to allow you to get a list of all template names
534 including all aliases or just a list of primary names of each unique
537 * src/file.c: (gl_file_properties):
538 * src/glabels.c: (main):
539 * src/mini-preview-pixbuf-cache.h:
540 * src/mini-preview-pixbuf-cache.c:
541 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
542 (filter_changed_cb), (load_list):
543 Added mini-preview pixbuf cache, so that only one mini-preview is
544 needed for a unique template and gets reused for all aliases. These
545 pixbufs will also live for the life of the program so they are not
546 rebuilt everytime a new label dialog is invoked.
547 * src/mini-preview-pixbuf.c: (draw_paper),
548 (draw_rect_label_outline), (draw_round_label_outline),
549 (draw_cd_label_outline):
550 Removed some comment artifacts.
552 2007-04-04 Jim Evins <evins@snaught.com>
554 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
555 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
556 (draw_round_label_outline), (draw_cd_label_outline):
557 * src/wdgt-media-select.c: (load_list):
558 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
559 Cosmetic enhancments to mini previews.
561 2007-04-04 Jim Evins <evins@snaught.com>
563 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
564 (gl_ui_property_bar_construct):
565 Save copy of GladeXML tree so that we don't lose tooltips.
567 2007-04-02 Jim Evins <evins@snaught.com>
569 * src/merge-properties-dialog.c:
570 * src/new-label-dialog.c:
571 * src/object-editor.c:
572 * src/prefs-dialog.c:
574 * src/template-designer.c:
575 * src/ui-property-bar.c:
576 * src/wdgt-media-select.c:
577 * src/wdgt-rotate-label.c:
578 Fixed several memory leaks.
580 2007-04-01 Jim Evins <evins@snaught.com>
582 * src/label-text.c: (gl_label_text_init), (copy),
583 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
584 (set_font_family), (set_font_size), (set_font_weight),
585 (set_font_italic_flag), (set_text_alignment),
586 (set_text_line_spacing):
587 Cache object size, so that expensive extent calculations are only done
590 2007-03-30 Jim Evins <evins@snaught.com>
592 * src/prefs-model.c: (gl_prefs_model_load_settings):
593 Default to an unlimited list of recent documents, since this parameter
594 seems to be pre-filter anyway.
596 2007-03-30 Jim Evins <evins@snaught.com>
598 * src/label-box.c: (draw_shadow):
599 * src/label-ellipse.c: (draw_shadow):
600 Added missing shadow fill.
602 2007-03-28 Jim Evins <evins@snaught.com>
604 * src/ui-commands.c: (gl_ui_cmd_file_print):
605 Unreferencing the print operation sometimes crashes. Just don't do it
608 2007-03-28 Jim Evins <evins@snaught.com>
610 * src/print-op.c: (gl_print_op_construct),
611 (gl_print_op_get_settings), (gl_print_op_set_settings),
612 (gl_print_op_free_settings), (create_custom_widget_cb):
614 * src/ui-commands.c: (gl_ui_cmd_file_print):
615 * src/window.c: (gl_window_init):
617 Save print settings and custom settings between print operations
620 2007-03-24 Jim Evins <evins@snaught.com>
622 * src/object-editor-image-page.c:
623 (gl_object_editor_prepare_image_page),
624 (gl_object_editor_set_image), (img_selection_changed_cb):
625 Workaround for GtkFileChooserButton bug # 327243. This the root
626 cause for gLabels bug # 1192884. I have actually observed 3 delayed
627 "selection-changed" signals -- the first 2 return NULL -- this is
628 what caused the image to reset to the default followed by setting
629 it back to the original image, trying to fit it into a new bounding
630 box. This sequence of events is much more evident with the new
633 2007-03-23 Jim Evins <evins@snaught.com>
635 Merged all changes from experimental cairo branch to trunk.
636 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
638 2007-03-23 Jim Evins <evins@snaught.com>
640 * src/label-object.h:
641 * src/label-object.c: (gl_label_object_class_init),
642 (gl_label_object_get_raw_size), (gl_label_object_get_size):
643 Created "get_raw_size" method.
644 * src/label-barcode.c: (get_size):
645 * src/xml-label.c: (xml_create_object_text),
646 (xml_create_object_barcode):
647 Use new "get_raw_size" method on label-objects when apropos.
649 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
650 (auto_shrink_font_size):
651 Added "auto shrink" functionality back.
653 2007-03-19 Jim Evins <evins@snaught.com>
655 * src/label-text.c: (draw_object), (draw_shadow):
656 Don't use negative scales in workaround from previous commit.
659 2007-03-18 Jim Evins <evins@snaught.com>
662 Forgot to remove include of xml-lable-191 in previous commit.
663 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
664 Workaround for pango Bug #341481. Render text at device scale,
665 and scale font size accordingly. Also, don't do any hinting.
667 2007-03-18 Jim Evins <evins@snaught.com>
669 * src/cairo-ellipse-path.c:
670 * src/cairo-ellipse-path.h:
671 Forgot to add these new files during last mass commit.
673 2007-03-18 Jim Evins <evins@snaught.com>
676 * src/xml-label-191.c:
677 * src/xml-label-191.h:
678 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
679 so there is no need to keep compatability.
682 * src/cairo-label-path.c:
683 * src/cairo-label-path.h:
684 * src/cairo-markup-path.c:
688 * src/glabels-batch.c:
690 * src/label-barcode.c:
692 * src/label-ellipse.c:
695 * src/label-object.c:
696 * src/label-object.h:
700 * src/merge-properties-dialog.c:
702 * src/new-label-dialog.c:
703 * src/object-editor-bc-page.c:
704 * src/object-editor-data-page.c:
705 * src/object-editor-edit-page.c:
706 * src/object-editor-fill-page.c:
707 * src/object-editor-image-page.c:
708 * src/object-editor-line-page.c:
709 * src/object-editor-private.h:
710 * src/object-editor-shadow-page.c:
711 * src/object-editor-text-page.c:
712 * src/object-editor.c:
713 * src/pixbuf-cache.c:
718 * src/template-designer.c:
720 * src/ui-property-bar.c:
722 * src/view-barcode.c:
724 * src/view-ellipse.c:
731 * src/wdgt-media-select.c:
732 * src/wdgt-print-copies.c:
733 * src/wdgt-print-merge.c:
735 * src/xml-label-04.c:
737 Many changes, including:
738 - Move draw methods from view-*() to label-*().
739 - Use same drawing code for on screen view and printing.
740 - Fix all issues exposed with '-Wall -Werror'.
742 2007-03-14 Jim Evins <evins@snaught.com>
745 * src/cairo-handle-path.c:
746 * src/cairo-handle-path.h:
747 * src/cairo-object-path.c:
748 * src/cairo-object-path.h:
749 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
750 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
752 * src/view-box.c: (gl_view_box_class_init), (draw_object),
753 (draw_shadow), (object_at):
754 * src/view-ellipse.c: (gl_view_ellipse_class_init),
755 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
756 * src/view-image.c: (gl_view_image_class_init), (draw_object),
758 * src/view-line.c: (gl_view_line_class_init), (draw_object),
759 (draw_shadow), (object_at):
760 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
761 (create_handle_path), (gl_view_object_draw_handles),
762 (gl_view_object_handle_at):
764 * src/view-text.c: (gl_view_text_class_init), (draw_object),
765 (draw_shadow), (object_at):
766 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
767 Some restructuring of new code.
769 2007-03-12 Jim Evins <evins@snaught.com>
772 * src/cairo-object-path.c:
773 * src/view-barcode.c:
774 * src/view-barcode.h:
776 Added barcode object support to view.
778 2007-03-12 Jim Evins <evins@snaught.com>
784 * src/cairo-object-path.c:
785 * src/cairo-object-path.h:
787 * src/view-ellipse.c:
792 Added text object support to view. Added object_at method to all
795 2007-03-11 Jim Evins <evins@snaught.com>
798 * src/cairo-object-path.c: (gl_cairo_object_path),
799 (gl_cairo_image_object_path):
800 * src/view-image.c: (gl_view_image_class_init),
801 (gl_view_image_finalize), (gl_view_image_new),
802 (update_editor_from_label_cb), (draw),
803 (gl_view_image_get_create_cursor),
804 (gl_view_image_create_button_press_event),
805 (gl_view_image_create_motion_event),
806 (gl_view_image_create_button_release_event):
808 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
809 (selection_received_cb), (motion_notify_event_cb),
810 (button_press_event_cb), (button_release_event_cb):
811 Added image object support to view.
813 2007-03-11 Jim Evins <evins@snaught.com>
816 * src/cairo-object-path.c: (gl_cairo_object_path),
817 (gl_cairo_line_object_path):
818 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
819 (update_object_from_editor_cb), (update_editor_from_object_cb),
820 (update_editor_from_label_cb), (draw),
821 (gl_view_line_get_create_cursor),
822 (gl_view_line_create_button_press_event),
823 (gl_view_line_create_motion_event),
824 (gl_view_line_create_button_release_event):
826 * src/view-object.c: (gl_view_object_resize_event):
827 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
828 (selection_received_cb), (motion_notify_event_cb),
829 (button_press_event_cb), (button_release_event_cb):
830 Added line object support to view.
831 * src/cairo-handle-path.c:
832 Made handles slightly larger.
835 2007-03-11 Jim Evins <evins@snaught.com>
838 * src/cairo-handle-path.c:
839 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
840 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
841 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
842 (gl_cairo_markup_margin_round_path),
843 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
844 * src/cairo-object-path.c: (gl_cairo_object_path),
845 (gl_cairo_ellipse_object_path):
846 * src/label-object.c: (gl_label_object_rotate):
849 * src/view-ellipse.c: (gl_view_ellipse_class_init),
850 (gl_view_ellipse_new), (update_object_from_editor_cb),
851 (update_editor_from_object_cb), (update_editor_from_label_cb),
852 (draw), (gl_view_ellipse_get_create_cursor),
853 (gl_view_ellipse_create_button_press_event),
854 (gl_view_ellipse_create_motion_event),
855 (gl_view_ellipse_create_button_release_event):
856 * src/view-ellipse.h:
859 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
860 (select_object_real), (selection_received_cb),
861 (motion_notify_event_cb), (button_press_event_cb),
862 (button_release_event_cb):
864 Added ellipse object support to view. Plus other cleanup.
866 2007-03-11 Jim Evins <evins@snaught.com>
869 * src/view-box.c: (gl_view_box_get_create_cursor),
870 (gl_view_box_create_button_press_event),
871 (gl_view_box_create_motion_event),
872 (gl_view_box_create_button_release_event):
873 * src/view-object.c: (gl_view_object_set_view),
874 (gl_view_object_handle_at):
876 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
877 (motion_notify_event_cb), (button_press_event_cb),
878 (button_release_event_cb), (key_press_event_cb):
879 Added creation code for box object.
881 2007-03-09 Jim Evins <evins@snaught.com>
883 * src/view-object.c: (gl_view_object_resize_event):
885 * src/view.c: (motion_notify_event_cb):
886 Fix bugs with resizing transformed objects.
887 * src/cairo-handle-path.c: (gl_cairo_handle_path):
888 * src/cairo-object-path.c: (gl_cairo_object_path):
889 * src/cairo-object-path.h:
890 * src/label-object.c: (gl_label_object_init),
891 (gl_label_object_dup), (gl_label_object_get_extent),
892 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
893 (gl_label_object_rotate), (gl_label_object_set_matrix),
894 (gl_label_object_get_matrix):
895 * src/label-object.h:
896 * src/print.c: (draw_object):
898 * src/view-highlight.c:
899 * src/view-highlight.h:
900 * src/xml-label-191.c: (xml191_parse_object):
901 * src/xml-label.c: (xml_parse_affine_attrs),
902 (xml_create_affine_attrs):
903 Replace libart affine matrices with cairo matrices.
905 2007-03-08 Jim Evins <evins@snaught.com>
908 * src/view.c: (gl_view_update), (motion_notify_event_cb):
909 * src/view-object.c: (gl_view_object_handle_at),
910 (gl_view_object_resize_event):
911 Added resize code -- still a bit buggy.
913 2007-03-07 Jim Evins <evins@snaught.com>
916 * src/cairo-handle-path.c:
917 * src/cairo-handle-path.h:
918 * src/view-box.c: (gl_view_box_new):
919 * src/view-object.c: (gl_view_object_set_object),
920 (gl_view_object_draw_handles), (gl_view_object_handle_at):
922 * src/view.c: (draw_highlight_layer), (select_object_real),
923 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
924 (button_press_event_cb), (button_release_event_cb),
925 (key_press_event_cb):
927 Added beginnings of object resize handles.
929 2007-03-07 Jim Evins <evins@snaught.com>
932 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
933 (gl_view_object_create_mode), (motion_notify_event_cb),
934 (button_press_event_cb), (button_release_event_cb),
935 (key_press_event_cb):
936 Added move selection support.
938 2007-03-05 Jim Evins <evins@snaught.com>
940 * src/cairo-object-path.c: (gl_cairo_object_path):
941 * src/view-object.c: (gl_view_object_draw),
942 (gl_view_object_draw_highlight):
943 * src/view.c: (view_object_at), (motion_notify_event_cb),
944 (button_press_event_cb), (button_release_event_cb):
945 Additional refinements to select logic.
947 2007-03-05 Jim Evins <evins@snaught.com>
950 * src/view.c: (gl_view_init), (gl_view_construct),
951 (label_changed_cb), (draw_layers), (draw_select_region_layer),
952 (gl_view_select_region), (object_at), (motion_notify_event_cb),
953 (button_press_event_cb), (button_release_event_cb):
954 Added initial select region support and context menu.
956 2007-03-04 Jim Evins <evins@snaught.com>
974 * src/wdgt-print-copies.c:
975 * src/wdgt-print-merge.c:
977 Initial port to a raw Cairo canvas. This removes all remaining
978 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
979 the view is becoming a canvas widget in its own right. Still needs
981 * src/cairo-label-path.c:
982 * src/cairo-label-path.h:
983 * src/cairo-markup-path.c:
984 * src/cairo-markup-path.h:
985 * src/cairo-object-path.c:
986 * src/cairo-object-path.h:
987 New files to support cairo canvas.
988 * src/canvas-hacktext.c:
989 * src/canvas-hacktext.h:
992 2007-02-18 Jim Evins <evins@snaught.com>
995 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
997 2007-02-14 Jim Evins <evins@snaught.com>
1001 * src/bc-gnubarcode.c:
1002 * src/bc-gnubarcode.h:
1007 * src/canvas-hacktext.c:
1008 * src/canvas-hacktext.h:
1015 * src/label-barcode.c:
1016 * src/label-barcode.h:
1019 * src/label-ellipse.c:
1020 * src/label-ellipse.h:
1021 * src/label-image.c:
1022 * src/label-image.h:
1025 * src/label-object.c:
1026 * src/label-object.h:
1031 * src/merge-evolution.c:
1032 * src/merge-evolution.h:
1035 * src/merge-properties-dialog.c:
1036 * src/merge-properties-dialog.h:
1039 * src/merge-vcard.c:
1040 * src/merge-vcard.h:
1043 * src/mini-preview-pixbuf.h:
1044 * src/new-label-dialog.c:
1045 * src/new-label-dialog.h:
1046 * src/object-editor-bc-page.c:
1047 * src/object-editor-data-page.c:
1048 * src/object-editor-edit-page.c:
1049 * src/object-editor-fill-page.c:
1050 * src/object-editor-image-page.c:
1051 * src/object-editor-line-page.c:
1052 * src/object-editor-lsize-page.c:
1053 * src/object-editor-position-page.c:
1054 * src/object-editor-private.h:
1055 * src/object-editor-size-page.c:
1056 * src/object-editor-text-page.c:
1057 * src/object-editor.c:
1058 * src/object-editor.h:
1059 * src/pixbuf-cache.c:
1060 * src/pixbuf-cache.h:
1061 * src/prefs-dialog.c:
1062 * src/prefs-dialog.h:
1063 * src/prefs-model.c:
1064 * src/prefs-model.h:
1070 * src/template-designer.c:
1073 * src/ui-commands.c:
1074 * src/ui-commands.h:
1075 * src/ui-property-bar.c:
1076 * src/ui-property-bar.h:
1085 * src/view-barcode.c:
1086 * src/view-barcode.h:
1089 * src/view-ellipse.c:
1090 * src/view-ellipse.h:
1091 * src/view-highlight.c:
1092 * src/view-highlight.h:
1097 * src/view-object.c:
1098 * src/view-object.h:
1103 * src/wdgt-chain-button.c:
1104 * src/wdgt-chain-button.h:
1105 * src/wdgt-media-select.c:
1106 * src/wdgt-mini-preview.c:
1107 * src/wdgt-print-copies.c:
1108 * src/wdgt-print-copies.h:
1109 * src/wdgt-print-merge.c:
1110 * src/wdgt-print-merge.h:
1111 * src/wdgt-rotate-label.c:
1113 * src/xml-label-04.c:
1114 * src/xml-label-04.h:
1115 * src/xml-label-191.c:
1116 * src/xml-label-191.h:
1120 Assorted superficial cleanup. Including:
1121 - Use G_DEFINE_TYPE for all objects.
1122 - Reconcile style of all class initializer functions
1123 - Reconcile style of all finalize functions
1124 - Add emacs mode line to all source files
1126 2007-02-06 Jim Evins <evins@snaught.com>
1128 Assorted cleanup and removal of deprecated items.
1133 Removed annoying splash screen.
1134 * src/glabels-batch.c: (main):
1135 * src/glabels.c: (main):
1136 Converted from popt to GOption.
1137 * src/object-editor-shadow-page.c:
1138 (gl_object_editor_set_shadow_state):
1139 Removed deprecated method on GtkToggleButton.
1140 * src/ui-commands.c: (gl_ui_cmd_help_about):
1141 Removed dependency on libgnomui/qnome-url.h.
1142 * src/template-designer.c:
1143 Removed dependency on libgnome/gnome-program.h.
1146 2007-02-04 Jim Evins <evins@snaught.com>
1150 * src/prefs-model.c:
1151 * src/print.c: (draw_text_object):
1152 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1153 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1155 2007-02-04 Jim Evins <evins@snaught.com>
1157 * src/wdgt-mini-preview.c:
1158 * src/wdgt-mini-preview.h:
1159 Ported widget from GnomeCanvas to Cairo.
1161 2007-02-03 Jim Evins <evins@snaught.com>
1163 * data/glade/template-designer.glade:
1164 * src/template-designer.c:
1165 * src/template-designer.h:
1166 Ported GnomeDruid to GtkAssistant. Since libglade does not
1167 yet support the GtkAssistant and we derive directly from
1168 the Assistant, the pages are layed out in a GtkNotebook in
1169 the glade description -- we then append each page to the
1172 2007-01-25 Jim Evins <evins@snaught.com>
1174 * data/glade/object-editor.glade:
1175 Added dummy page to notebook, to prevent shadow page from
1176 becoming the default current page at creation.
1177 * src/view-box.c: (construct_properties_editor):
1178 * src/view-ellipse.c: (construct_properties_editor):
1179 * src/view-line.c: (construct_properties_editor):
1180 * src/view-text.c: (construct_properties_editor):
1181 Reconciled order of params.
1183 2007-01-19 Jim Evins <evins@snaught.com>
1185 * src/label-barcode.h:
1186 * src/label-object.c: (gl_label_object_set_font_weight),
1187 (gl_label_object_set_text_alignment),
1188 (gl_label_object_get_font_weight),
1189 (gl_label_object_get_text_alignment):
1190 * src/label-object.h:
1191 * src/label-text.c: (gl_label_text_instance_init), (copy),
1192 (get_size), (set_font_family), (set_font_weight),
1193 (set_text_alignment), (get_font_weight), (get_text_alignment):
1195 * src/object-editor-text-page.c:
1196 (gl_object_editor_prepare_text_page),
1197 (gl_object_editor_set_font_family),
1198 (gl_object_editor_set_font_weight),
1199 (gl_object_editor_get_font_weight),
1200 (gl_object_editor_set_text_alignment),
1201 (gl_object_editor_get_text_alignment),
1202 (gl_object_editor_set_text_color):
1203 * src/object-editor.h:
1204 * src/prefs-dialog.c: (construct_object_page),
1205 (update_object_page_from_prefs), (update_prefs_from_object_page):
1206 * src/prefs-model.c: (gl_prefs_model_save_settings),
1207 (gl_prefs_model_load_settings):
1208 * src/prefs-model.h:
1209 * src/print.c: (draw_text_object):
1210 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1211 (reset_to_default_properties), (update_text_properties),
1212 (font_bold_toggled_cb), (text_align_toggled_cb):
1214 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1215 (gl_util_weight_to_string), (gl_util_string_to_weight),
1216 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1218 * src/view-text.c: (update_object_from_editor_cb),
1219 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1220 * src/view.c: (gl_view_set_selection_text_alignment),
1221 (gl_view_set_default_text_alignment),
1222 (gl_view_get_default_text_alignment):
1224 * src/xml-label-04.c: (xml04_parse_text_props):
1225 * src/xml-label-191.c: (xml191_parse_text_props):
1226 * src/xml-label.c: (xml_parse_object_text),
1227 (xml_parse_toplevel_span), (xml_create_object_text),
1228 (xml_create_toplevel_span):
1229 Converted all model internals to Pango. GnomeFont remains in
1230 view until GnomeCanvas can be replaced with a cairo-based canvas.
1232 2007-01-17 Jim Evins <evins@snaught.com>
1238 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1239 (gl_wdgt_print_copies_construct):
1240 * src/wdgt-print-copies.h:
1241 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1242 (gl_wdgt_print_merge_construct):
1243 * src/wdgt-print-merge.h:
1244 Removed all remaining HIG wrapper widgets.
1246 2007-01-16 Jim Evins <evins@snaught.com>
1249 * src/print-dialog.c:
1250 * src/print-dialog.h:
1253 * src/template-designer.c: (print_test_cb):
1254 * src/ui-commands.c: (gl_ui_cmd_file_print):
1256 Renamed PrintDialog to PrintOp. Added constructor for batch
1258 * src/glabels-batch.c: (main):
1259 Converted to use new PrintOp object for printing.
1261 2007-01-15 Jim Evins <evins@snaught.com>
1263 * data/glade/Makefile.am:
1264 * data/glade/print-custom-widget.glade:
1265 * src/print-dialog.c:
1266 * src/print-dialog.h:
1269 * src/template-designer.c: (print_test_cb):
1270 * src/ui-commands.c: (gl_ui_cmd_file_print):
1271 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1272 * src/wdgt-print-merge.h:
1273 * src/window.c: (gl_window_init):
1275 Initial conversion to GtkPrintOperation.
1277 - Remove font and other libgnomeprint[ui] from elsewhere
1278 - Add batch initialization of print operation
1280 2007-01-08 Jim Evins <evins@snaught.com>
1282 Updated dependencies. Set version to 2.1.pre4cvs.
1284 2007-01-03 Jim Evins <evins@snaught.com>
1286 * src/recent-files/*
1287 Removed EggRecent stuff.
1293 * src/ui-commands.c:
1294 * src/ui-commands.h:
1296 Ported from EggRecent to GtkRecentManager.
1299 2007-01-02 Jim Evins <evins@snaught.com>
1302 * iec16022-0.2.1/BUGS:
1303 * iec16022-0.2.1/CHANGELOG:
1304 * iec16022-0.2.1/CREDITS:
1305 * iec16022-0.2.1/INSTALL:
1306 * iec16022-0.2.1/LICENSE:
1307 * iec16022-0.2.1/Makefile.am:
1308 * iec16022-0.2.1/Makefile.dist:
1309 * iec16022-0.2.1/README:
1310 * iec16022-0.2.1/README.glabels:
1311 * iec16022-0.2.1/TODO:
1312 * iec16022-0.2.1/iec16022.1:
1313 * iec16022-0.2.1/iec16022.c:
1314 * iec16022-0.2.1/iec16022ecc200.c:
1315 * iec16022-0.2.1/iec16022ecc200.h:
1316 * iec16022-0.2.1/image.c:
1317 * iec16022-0.2.1/image.h:
1318 * iec16022-0.2.1/reedsol.c:
1319 * iec16022-0.2.1/reedsol.h:
1320 * iec16022-0.2.1/test/testsuite-example.bin:
1321 * iec16022-0.2.1/test/testsuite-example.eps:
1322 * iec16022-0.2.1/test/testsuite-example.hex:
1323 * iec16022-0.2.1/test/testsuite-example.png:
1324 * iec16022-0.2.1/test/testsuite-example.text:
1325 * iec16022-0.2.1/test/testsuite.sh:
1326 Include modified copy of iec16022-0.2.1 to provide encoding
1327 support for datamatrix 2D barcodes.
1329 * src/bc-iec16022.c:
1330 * src/bc-iec16022.h:
1332 Added initial datamatrix 2D barcode backend to barcode code.
1335 Automatic updates to later versions of these files.
1337 2006-11-28 Jim Evins <evins@snaught.com>
1339 * data/templates/avery-iso-templates.xml:
1340 * data/templates/avery-us-templates.xml:
1341 * data/templates/categories.xml:
1342 * data/templates/misc-iso-templates.xml:
1343 * data/templates/misc-us-templates.xml:
1344 * data/templates/zweckform-iso-templates.xml:
1345 More categorization.
1347 2006-09-12 Jim Evins <evins@snaught.com>
1349 * data/dtd/glabels-2.0.dtd:
1350 * data/templates/Makefile.am:
1351 * data/templates/avery-iso-templates.xml:
1352 * data/templates/avery-other-templates.xml:
1353 * data/templates/avery-us-templates.xml:
1354 * data/templates/categories.xml:
1355 * data/templates/misc-iso-templates.xml:
1356 * data/templates/misc-other-templates.xml:
1357 * data/templates/zweckform-iso-templates.xml:
1358 * data/glade/Makefile.am:
1359 * data/glade/new-label-dialog.glade:
1360 * data/glade/wdgt-media-select.glade:
1361 * data/glade/wdgt-rotate-label.glade:
1362 * libglabels/Makefile.am:
1363 * libglabels/category.c:
1364 * libglabels/category.h:
1365 * libglabels/libglabels.h:
1366 * libglabels/paper.c:
1367 * libglabels/template.c:
1368 * libglabels/template.h:
1369 * libglabels/xml-category.c:
1370 * libglabels/xml-category.h:
1371 * libglabels/xml-template.c:
1372 Added support for category meta data.
1375 * src/mini-preview-pixbuf.c:
1376 * src/mini-preview-pixbuf.h:
1377 * src/new-label-dialog.c:
1378 * src/new-label-dialog.h:
1379 * src/wdgt-media-select.c:
1380 * src/wdgt-media-select.h:
1381 * src/wdgt-rotate-label.c:
1382 * src/wdgt-rotate-label.h:
1383 New "new label" dialog.
1385 2006-05-27 Jim Evins <evins@snaught.com>
1390 Preparation for 2.1.3.
1396 2006-05-22 Jim Evins <evins@snaught.com>
1398 * src/print.c: (draw_barcode_object):
1399 Don't print "Invalid barcode data" if data field is empty. Patch provided
1400 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1402 Added acknowledgment for above patch.
1403 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1404 * src/bc-postnet.c: (postnet_code):
1405 Removed "Invalid barcode data" warnings from stderr.
1406 * src/view-barcode.c: (draw_barcode):
1407 Draw box around barcode extent if data empty or invalid. Center a
1408 message whether the data is empty or invalid in box.
1410 2006-05-22 Jim Evins <evins@snaught.com>
1412 * src/print.c: (draw_text_object):
1413 Check shadow state when printing text.
1415 2006-05-20 Jim Evins <evins@snaught.com>
1417 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1418 (gl_ui_cmd_view_markup_toggle):
1419 Fixed crash when grid or markup have been toggled off during
1420 a previous session. Bug #1434324.
1422 2006-04-05 Jim Evins <evins@snaught.com>
1424 * src/object-editor.c: (gl_object_editor_set_key_names):
1425 Fixed potential crash when freeing empty key list.
1427 2006-03-11 Jim Evins <evins@snaught.com>
1429 * src/print.c: (draw_text_object):
1430 * src/view-text.c: (gl_view_text_new),
1431 (construct_properties_editor), (update_object_from_editor_cb),
1432 (update_editor_from_object_cb), (update_editor_from_label_cb),
1434 Added shadow support to text object.
1436 2006-02-18 Jim Evins <evins@snaught.com>
1438 * src/print.c: (draw_line_object):
1439 * src/view-line.c: (gl_view_line_new),
1440 (construct_properties_editor), (update_canvas_item_from_object_cb),
1441 (update_object_from_editor_cb), (update_editor_from_object_cb),
1442 (update_editor_from_label_cb):
1443 Added shadow support to line object.
1445 2006-02-16 Jim Evins <evins@snaught.com>
1449 * src/print.c: (draw_ellipse_object):
1450 * src/view-ellipse.c: (gl_view_ellipse_new),
1451 (construct_properties_editor), (update_canvas_item_from_object_cb),
1452 (update_object_from_editor_cb), (update_editor_from_object_cb),
1453 (update_editor_from_label_cb):
1454 Added shadow support to ellipse object.
1456 2006-02-15 Jim Evins <evins@snaught.com>
1458 * src/label-object.c:
1459 Changed default shadow offsets.
1460 * src/view-box.c: (gl_view_box_new):
1461 Simplified gl_view_box_new() so that is does not duplicate code
1462 in update_canvas_item_from_object_cb().
1464 2006-02-07 Jim Evins <evins@snaught.com>
1466 * data/glade/object-editor.glade:
1467 Fixed color groups of color combos.
1469 Added default shadow color.
1470 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1471 Added shadow color group.
1473 2006-02-06 Jim Evins <evins@snaught.com>
1475 * src/object-editor-shadow-page.c:
1476 Forgot to add this file.
1477 * src/view-box.c: (gl_view_box_new),
1478 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1479 Update limits on shadow offset spinbuttons.
1481 2006-01-19 Jim Evins <evins@snaught.com>
1483 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1484 Initialize key_list to NULL.
1485 * data/glade/object-editor.glade:
1489 * src/label-object.c:
1490 * src/label-object.h:
1491 * src/object-editor-fill-page.c:
1492 * src/object-editor-private.h:
1493 * src/object-editor.c:
1494 * src/object-editor.h:
1496 Created infrastructure for shadow support.
1499 Initial shadow support in box object only.
1501 2006-01-05 Jim Evins <evins@snaught.com>
1503 * src/merge-properties-dialog.c: (src_changed_cb):
1504 Be extra paranoid before calling strcmp().
1505 * src/merge.c: (gl_merge_set_src):
1506 Don't make (merge == NULL) a critical error.
1508 2005-12-22 Jim Evins <evins@snaught.com>
1510 * src/glabels-batch.c: (main):
1511 Compile warning free with gcc 4.0.
1513 2005-12-21 Jim Evins <evins@snaught.com>
1516 Updated example RPM spec file.
1518 2005-12-21 Jim Evins <evins@snaught.com>
1522 Preparation for 2.1.2.
1524 2005-12-20 Jim Evins <evins@snaught.com>
1527 Define unique G_LOG_DOMAIN for glabels.
1528 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1529 * src/warning-handler.c: (gl_warning_handler_init),
1531 Register for G_LOG_DOMAIN instead of NULL.
1533 2005-12-10 Jim Evins <evins@snaught.com>
1535 * src/merge-evolution.c:
1536 * src/merge-vcard.c:
1539 2005-12-08 Jim Evins <evins@snaught.com>
1541 * libglabels/paper.c: (read_paper_files_from_dir):
1542 * libglabels/template.c: (gl_template_register),
1543 (read_template_files_from_dir):
1544 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1545 (gl_xml_paper_parse_papers_doc):
1546 * libglabels/xml-template.c:
1547 (gl_xml_template_read_templates_from_file),
1548 (gl_xml_template_parse_templates_doc),
1549 (gl_xml_template_parse_template_node),
1550 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1551 (xml_parse_label_cd_node), (xml_parse_layout_node),
1552 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1553 (xml_parse_markup_circle_node),
1554 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1555 * libglabels/xml.c: (gl_xml_get_prop_length):
1556 Re-classified g_warnings to g_messages.
1558 * src/glabels.c: (main):
1559 * src/warning-handler.c: (gl_warning_handler_init),
1561 * src/warning-handler.h:
1562 Added warning message handler to make sure the user is
1563 presented with appropriate non-fatal errors.
1564 * src/critical-error-handler.c: (critical_error_handler):
1565 Changed exit to abort.
1566 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1567 * src/bc-postnet.c: (postnet_code):
1568 * src/bc.c: (id_to_index), (name_to_index):
1569 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1570 * src/object-editor.c: (gl_object_notebook_construct_valist):
1571 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1572 * src/prefs.c: (gl_prefs_get_units_per_point),
1573 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1574 (gl_prefs_get_units_string):
1575 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1576 * src/splash.c: (gl_splash):
1577 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1578 * src/view-highlight.c: (gl_view_highlight_new),
1579 (highlight_resizable_box_construct), (object_changed_cb),
1580 (view_scale_changed_cb):
1581 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1582 (draw_markup_layer), (draw_markup_margin),
1583 (gl_view_object_create_mode), (canvas_event),
1584 (selection_received_cb):
1585 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1586 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1587 * src/xml-label-04.c: (gl_xml_label_04_parse),
1588 (xml04_parse_media_description), (xml04_parse_text_props),
1589 (xml04_parse_barcode_props):
1590 * src/xml-label-191.c: (gl_xml_label_191_parse),
1591 (xml191_parse_objects), (xml191_parse_object),
1592 (xml191_parse_text_props), (xml191_parse_image_props),
1593 (xml191_parse_barcode_props), (xml191_parse_data),
1594 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1595 (xml191_parse_markup):
1596 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1597 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1598 (xml_parse_object_text), (xml_parse_object_image),
1599 (xml_parse_object_barcode), (xml_parse_data),
1600 (xml_parse_toplevel_span), (gl_xml_label_save),
1601 (xml_create_objects):
1602 Re-classified g_warnings to g_messages.
1603 * src/merge-evolution.c: (gl_merge_evolution_open),
1604 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1605 Use g_warning to output errors encountered while
1606 communicating with the evolution data server
1607 instead of embedding them in the data.
1609 2005-12-08 Jim Evins <evins@snaught.com>
1611 * libglabels/libglabels-private.h:
1613 * libglabels/paper.c: (read_papers):
1614 * libglabels/template.c: (read_templates):
1615 Made appropriate warnings critical.
1617 * src/critical-error-handler.h:
1618 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1619 (critical_error_handler):
1620 Created critical error handler.
1621 * src/glabels.c: (main):
1622 Register critical error handler.
1623 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1624 * src/object-editor.c: (gl_object_editor_init):
1625 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1626 * src/template-designer.c: (gl_template_designer_init):
1627 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1628 Made appropriate warnings critical.
1630 2005-11-27 Jim Evins <evins@snaught.com>
1632 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1633 (gl_merge_evolution_get_primary_key),
1634 (gl_merge_evolution_get_record):
1635 Don't create "record_key" pseudo-key. Don't populate
1636 fields with null data.
1638 2005-11-25 Jim Evins <evins@snaught.com>
1640 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1641 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1642 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1644 Query EDS for all supported fields. Patch provided by
1645 Austin Henry <ahenry@users.sourceforge.net>.
1647 2005-10-29 Jim Evins <evins@snaught.com>
1649 * src/glabels.c: (main):
1650 * src/label-barcode.c: (gl_label_barcode_finalize):
1651 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1652 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1653 * src/object-editor.c: (gl_object_editor_finalize):
1654 Another pass at valgrinding -- plugged several memory leaks.
1655 * src/view-text.c: (gl_view_text_new),
1656 (update_canvas_item_from_object_cb), (draw_hacktext):
1657 Commented out artifacts of edit-in-place code.
1659 2005-10-28 Jim Evins <evins@snaught.com>
1661 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1662 Fixed use of uninitialized variable. Caught by
1663 d binderman <dcb314@hotmail.com>.
1665 2005-10-27 Jim Evins <evins@snaught.com>
1667 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1668 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1670 Additional cleanup of EDS and vcard backends. Provided by
1671 Austin Henry <ahenry@users.sourceforge.net>.
1673 2005-10-24 Jim Evins <evins@snaught.com>
1677 * src/merge-evolution.c:
1678 * src/merge-evolution.h:
1679 * src/merge-init.c: (gl_merge_init):
1680 * src/merge-properties-dialog.c: (type_changed_cb):
1681 * src/merge-vcard.c:
1682 * src/merge-vcard.h:
1683 * src/ui-commands.c: (gl_ui_cmd_help_about):
1684 Added Evolution Data Server and VCard merge backends. Original patch
1685 provided by Austin Henry <ahenry@users.sourceforge.net>.
1687 Only support EDS and VCard backends if libebook is installed. Allow
1688 user to disable support, even if installed.
1690 2005-10-24 Jim Evins <evins@snaught.com>
1693 * data/templates/avery-iso-templates.xml:
1694 * data/templates/avery-us-templates.xml:
1695 * data/templates/misc-iso-templates.xml:
1696 * data/templates/zweckform-iso-templates.xml:
1697 Collected all template changes and submissions since last
1700 2005-10-23 Jim Evins <evins@snaught.com>
1703 * data/mime/Makefile.am:
1704 Added configure options to disable update-mime-database and
1705 update-desktop-database as part of the install. Patch
1706 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1708 2005-10-23 Jim Evins <evins@snaught.com>
1711 * libglabels/xml.c: (gl_xml_get_prop_string),
1712 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1713 (gl_xml_is_node), (gl_xml_get_node_content):
1714 Added new XML utility functions.
1715 * libglabels/xml-paper.c:
1716 * libglabels/xml-template.c:
1718 Cleanup by using new xml utilities created above.
1719 * libglabels/paper.c: (gl_paper_free):
1720 * src/file.c: (new_response):
1721 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1722 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1723 (gl_pixbuf_cache_get_pixbuf):
1724 * src/ui-property-bar.c:
1725 (gl_ui_property_bar_construct_color_combo):
1726 * src/view-highlight.c: (gl_view_highlight_finalize):
1727 * src/view-image.c: (update_object_from_editor_cb):
1728 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1729 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1730 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1731 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1732 (draw_markup_margin_round), (draw_markup_margin_cd),
1733 (draw_markup_margin_cd_bc):
1734 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1735 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1736 Plugged various memory leaks located with valgrind.
1737 * src/view-image.c: (update_canvas_item_from_object_cb):
1738 Don't allow a width or height of zero when drawing pixbuf.
1740 2005-10-22 Jim Evins <evins@snaught.com>
1742 * libglabels/xml-paper.c:
1743 * libglabels/xml-template.c:
1746 * src/bc-gnubarcode.c:
1747 * src/canvas-hacktext.c:
1749 * src/object-editor-data-page.c:
1750 * src/print-dialog.c:
1753 * src/template-designer.c:
1755 * src/ui-property-bar.c:
1757 * src/view-barcode.c:
1759 * src/view-ellipse.c:
1764 * src/wdgt-media-select.c:
1765 * src/xml-label-04.c:
1766 * src/xml-label-191.c:
1768 Modified to compile warning free with gcc-4.0. Mostly
1769 casting to change signedness of characters. Did not
1770 attack gnu-barcode library yet.
1772 2005-10-22 Jim Evins <evins@snaught.com>
1774 * src/glabels.c: (main):
1775 * src/splash.c: (gl_splash):
1776 Removed some small memory leaks.
1780 2005-09-19 Jim Evins <evins@snaught.com>
1782 * data/glade/property-bar.glade:
1783 Remove items from font_family_combo. This prevents the
1784 double entry after adding text model and list of fonts.
1785 * src/ui-property-bar.c: (reset_to_default_properties):
1786 Free font_family_list.
1788 2005-07-01 Jim Evins <evins@snaught.com>
1791 Updated italian translation (Daniele Medri)
1793 2005-06-26 Jim Evins <evins@snaught.com>
1795 * docs/libglabels/libglabels-decl-list.txt:
1796 Somehow never got checked in before.
1797 * docs/libglabels/libglabels.types:
1798 Removed -- don't need it afterall.
1800 2005-06-20 Jim Evins <evins@snaught.com>
1803 Final prep for 2.1.1 release.
1805 2005-06-20 Jim Evins <evins@snaught.com>
1808 Final preps for 2.1.1 release.
1809 * docs/libglabels/libglabels.types:
1810 Somehow never got checked in before.
1812 Bring up-to-date with recent reorg of ui code.
1815 2005-06-19 Jim Evins <evins@snaught.com>
1817 * src/template-designer.c: (construct_layout_page):
1818 Removed attempt to match background color of mini preview widget to
1821 2005-06-17 Jim Evins <evins@snaught.com>
1823 * help/C/figures/merge-ex2-4.png:
1824 * help/C/glabels.xml:
1825 Fixed spelling error.
1827 2005-06-13 Jim Evins <evins@snaught.com>
1829 * help/C/figures/merge-ex1-1.png:
1830 * help/C/figures/merge-ex1-2.png:
1831 * help/C/figures/merge-ex1-3.png:
1832 * help/C/figures/merge-ex1-4.png:
1833 * help/C/figures/merge-ex2-1.png:
1834 * help/C/figures/merge-ex2-2.png:
1835 * help/C/figures/merge-ex2-3.png:
1836 * help/C/figures/merge-ex2-4.png:
1837 Added figures for document merge tutorial.
1838 * help/C/glabels.xml:
1839 Added document merge tutorial.
1841 2005-05-19 Jim Evins <evins@snaught.com>
1843 * data/glade/merge-properties-dialog.glade:
1844 Fixed irregular spacing.
1845 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1846 (gl_merge_properties_dialog_construct):
1847 Set outer padding and remove separator.
1849 2005-05-18 Jim Evins <evins@snaught.com>
1853 Removed glHigDialog class.
1854 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1855 (gl_file_properties), (create_properties_dialog_widgets):
1856 * src/prefs-dialog.h:
1857 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1858 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1859 * src/print-dialog.h:
1860 * src/prefs-dialog.h:
1861 * src/print-dialog.c: (gl_print_dialog_get_type),
1862 (gl_print_dialog_init), (gl_print_dialog_construct):
1863 Replaced all instances of glHigDialog with GtkDialog.
1865 2005-05-17 Jim Evins <evins@snaught.com>
1869 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1870 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1871 (save_as_response), (gl_file_close):
1872 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1874 2005-05-15 Jim Evins <evins@snaught.com>
1876 * src/ui-commands.h:
1884 A little code reformatting -- no functional changes.
1886 2005-05-14 Jim Evins <evins@snaught.com>
1889 Removed obsolete macros.
1891 Added marshalling template to support new view signal: "context_menu_activate."
1893 * src/view.c: (gl_view_class_init), (gl_view_construct),
1894 (canvas_event_arrow_mode):
1895 - Removed hardcoded context menus and added new signal "context_menu_activate"
1896 to push this up to the uimanager.
1897 - Removed merge properties and print dialogs so that they can be managed with
1898 the window by the uimanager.
1899 * src/merge-properties-dialog.h:
1900 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1901 (gl_merge_properties_dialog_construct):
1902 Changed calling convention of gl_merge_properties_dialog_new() to use
1903 glLabel and GtkWindow instead of view to make more consistent with other
1905 * src/print-dialog.h:
1906 * src/print-dialog.c: (gl_print_dialog_new),
1907 (gl_print_dialog_construct):
1908 Removed last artifact of libbonoboui.
1909 * src/ui-commands.c: (gl_ui_cmd_file_print),
1910 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1911 Reconciled style for launching dialogs.
1912 * src/ui.c: (gl_ui_new):
1913 Added context menus to ui manager.
1914 * src/view-object.c: (item_event_arrow_mode):
1915 No longer try to select objects with right-click.
1917 * src/window.c: (gl_window_init), (gl_window_set_label),
1918 (context_menu_activate_cb):
1919 Context menus and all dialogs are now managed in a consistent way in window
1922 2005-05-11 Jim Evins <evins@snaught.com>
1925 * src/window.c: (gl_window_init), (gl_window_destroy):
1926 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1927 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1928 Moved management of recent_view back from window.c to ui.c -- it just feels
1931 2005-05-10 Jim Evins <evins@snaught.com>
1934 * src/window.c: (gl_window_init):
1936 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1937 (menu_item_select_cb), (menu_item_deselect_cb):
1938 Added GtkStatusbar which displays menu tooltips.
1940 2005-05-09 Jim Evins <evins@snaught.com>
1942 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1947 Removed dependencies on libbonoboui.
1949 * data/ui/Makefile.am:
1950 * data/ui/glabels-ui.xml:
1951 Removed data/ui directory.
1952 * data/glade/Makefile.am:
1953 * data/property-bar.glade:
1954 Added glade description of property-bar for new libglade implementation
1961 * src/ui-commands.h:
1962 * src/ui-commands.c:
1963 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1964 since the distinction between "commands" and "tools" is no longer that clear.
1967 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1968 no longer has knowledge of eggRecent*.
1969 * src/glabels.c: (main):
1970 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1972 * src/object-editor.c: (gl_object_editor_init):
1973 Make sure notebook does not respond to a "show_all" on the parent.
1974 * src/recent-files/Makefile.am:
1975 * src/recent-files/*.[ch]
1976 Updated from latest version of libegg which now has a view based on
1977 GtkUIManager. Removed unused bonobo and gtk views.
1978 * src/ui-property-bar.h:
1979 * src/ui-property-bar.c:
1980 New implementation based on libglade.
1983 Sidebar is now simply a GtkWidget and does not expect to be a part of
1984 a libbonoboui interface.
1989 Converted for use with GtkUIManager.
1992 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1993 to create menus and toolbars.
1995 2005-04-25 Jim Evins <evins@snaught.com>
1997 * data/templates/misc-iso-templates.xml:
1998 Added Fellows 04715 template provided by Steve Saxon.
2000 Updated acknowledgement for above.
2002 2005-04-23 Jim Evins <evins@snaught.com>
2004 * src/util.c: (gl_util_combo_box_set_strings):
2005 Make sure to clear model before loading a new list of strings.
2006 * src/wdgt-media-select.h:
2007 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2008 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2009 (template_combo_changed_cb), (prefs_changed_cb),
2010 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2011 (gl_wdgt_media_select_get_page_size),
2012 (gl_wdgt_media_select_set_page_size):
2013 Replaced the deprecated GtkCombo widget with the new
2016 2005-04-21 Jim Evins <evins@snaught.com>
2018 * data/glade/template-designer.glade:
2019 * src/template-designer.c: (construct_pg_size_page),
2020 (pg_size_page_changed_cb), (build_template):
2021 Replaced the deprecated GtkCombo widget with the new
2024 2005-04-20 Jim Evins <evins@snaught.com>
2026 * data/glade/prefs-dialog.glade:
2027 * src/prefs-dialog.c: (construct_object_page),
2028 (update_object_page_from_prefs), (update_prefs_from_object_page):
2029 Replaced the deprecated GtkCombo widget with the new
2032 2005-04-19 Jim Evins <evins@snaught.com>
2034 * data/glade/object-editor.glade:
2035 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2036 (style_changed_cb), (gl_object_editor_set_bc_style),
2037 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2038 (gl_object_editor_get_bc_color):
2039 * src/object-editor-data-page.c:
2040 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2041 (gl_object_editor_get_data):
2042 * src/object-editor-edit-page.c:
2043 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2044 * src/object-editor-fill-page.c:
2045 (gl_object_editor_prepare_fill_page),
2046 (gl_object_editor_set_fill_color),
2047 (gl_object_editor_get_fill_color):
2048 * src/object-editor-image-page.c:
2049 (gl_object_editor_prepare_image_page),
2050 (gl_object_editor_set_image), (gl_object_editor_get_image):
2051 * src/object-editor-line-page.c:
2052 (gl_object_editor_prepare_line_page),
2053 (gl_object_editor_set_line_color),
2054 (gl_object_editor_get_line_color):
2055 * src/object-editor-private.h:
2056 * src/object-editor-text-page.c:
2057 (gl_object_editor_prepare_text_page),
2058 (gl_object_editor_set_font_family),
2059 (gl_object_editor_get_font_family),
2060 (gl_object_editor_set_text_color),
2061 (gl_object_editor_get_text_color):
2062 * src/object-editor.c: (gl_object_editor_set_key_names):
2064 In the object editor: replaced all instances of the deprecated
2065 GtkCombo widget with the new GtkComboBox.
2067 2005-04-18 Jim Evins <evins@snaught.com>
2070 Neglected to save this one in previous checkin to support
2073 2005-04-17 Jim Evins <evins@snaught.com>
2075 * libglabels/libglabels-private.h:
2076 * libglabels/paper.c:
2077 * libglabels/paper.h:
2078 * libglabels/template.c:
2079 * libglabels/template.h:
2080 * libglabels/xml-paper.c:
2081 * libglabels/xml-paper.h:
2082 * libglabels/xml-template.c:
2087 * src/bc-gnubarcode.c:
2098 * src/label-barcode.c:
2100 * src/label-ellipse.c:
2101 * src/label-image.c:
2102 * src/label-image.h:
2104 * src/label-object.c:
2108 * src/merge-properties-dialog.c:
2109 * src/object-editor-bc-page.c:
2110 * src/object-editor-data-page.c:
2111 * src/object-editor-edit-page.c:
2112 * src/object-editor-fill-page.c:
2113 * src/object-editor-image-page.c:
2114 * src/object-editor-line-page.c:
2115 * src/object-editor-lsize-page.c:
2116 * src/object-editor-position-page.c:
2117 * src/object-editor-private.h:
2118 * src/object-editor-size-page.c:
2119 * src/object-editor-text-page.c:
2120 * src/object-editor.c:
2121 * src/object-editor.h:
2122 * src/pixbuf-cache.h:
2123 * src/prefs-dialog.c:
2124 * src/prefs-dialog.h:
2125 * src/prefs-model.c:
2126 * src/prefs-model.h:
2128 * src/print-dialog.c:
2129 * src/print-dialog.h:
2137 * src/template-designer.c:
2138 * src/template-designer.h:
2141 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2147 * src/view-barcode.c:
2149 * src/view-ellipse.c:
2150 * src/view-highlight.c:
2151 * src/view-highlight.h:
2154 * src/view-object.c:
2155 * src/view-object.h:
2159 * src/wdgt-chain-button.c:
2160 * src/wdgt-media-select.c:
2161 * src/wdgt-media-select.h:
2162 * src/wdgt-mini-preview.c:
2163 * src/wdgt-mini-preview.h:
2164 * src/wdgt-print-copies.c:
2165 * src/wdgt-print-copies.h:
2166 * src/wdgt-print-merge.c:
2167 * src/wdgt-print-merge.h:
2168 * src/wdgt-rotate-label.c:
2169 * src/wdgt-rotate-label.h:
2172 * src/xml-label-04.c:
2173 * src/xml-label-191.c:
2175 Cleanup of header files:
2176 - all header files are now stand-alone, verified by including
2177 first in corresponding "c" files
2178 - replaced blanket includes of gnome, gtk, and glib with
2181 2005-04-16 Jim Evins <evins@snaught.com>
2183 * data/glade/Makefile.am:
2184 * data/glade/merge-properties-dialog.glade:
2185 Added merge properties dialog glade description file.
2186 * src/merge-properties-dialog.h:
2187 * src/merge-properties-dialog.c:
2188 (gl_merge_properties_dialog_get_type),
2189 (gl_merge_properties_dialog_init),
2190 (gl_merge_properties_dialog_finalize),
2191 (gl_merge_properties_dialog_new),
2192 (gl_merge_properties_dialog_construct), (type_changed_cb),
2193 (src_changed_cb), (response_cb), (load_tree),
2194 (record_select_toggled_cb), (select_all_button_clicked_cb),
2195 (unselect_all_button_clicked_cb):
2196 Modified merge properties dialog to use libglade. Added
2197 "select all" and "unselect all" buttons.
2198 * src/merge-text.c: (parse_line):
2199 Handle empty lines better.
2200 * src/merge.c: (gl_merge_eval_key):
2201 Evaluate the key whether the record is selected or not.
2203 * src/util.c: (gl_util_combo_box_add_text_model):
2204 Since libglade does not use the gtk_combo_box_new_text()
2205 constructor for GtkComboBoxes, a utility function was created
2206 to add an appropriate text model to a GtkComboBox.
2207 * src/view.c: (gl_view_edit_merge_props):
2208 Removed unnecessary "show all's".
2210 2005-04-15 Jim Evins <evins@snaught.com>
2213 Updated russian translation (Vitaly Lipatov)
2214 * data/templates/misc-iso-templates.xml:
2215 Added templates for russian business cards provided by Vitaly Lipatov.
2217 Updated acknowledgements for above.
2219 2005-04-15 Jim Evins <evins@snaught.com>
2221 * data/templates/avery-us-templates.xml:
2222 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2223 * data/templates/misc-iso-templates.xml:
2224 Added Ryman standard CD/DVD template, provided by Dan Clark.
2226 Added acknowledgements for above.
2228 2005-04-10 Jim Evins <evins@snaught.com>
2230 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2231 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2232 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2233 (xml_parse_label_cd_node), (xml_parse_alias_node):
2234 * libglabels/xml.c: (gl_xml_get_prop_double),
2235 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2236 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2237 * src/xml-label-04.c: (xml04_parse_media_description),
2238 (xml04_parse_text_props), (xml04_parse_barcode_props),
2239 (xml04_parse_merge_properties):
2240 * src/xml-label-191.c: (xml191_parse_object),
2241 (xml191_parse_text_props), (xml191_parse_barcode_props),
2242 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2243 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2244 (xml191_parse_alias):
2245 * src/xml-label.c: (xml_parse_object_text),
2246 (xml_parse_object_barcode), (xml_parse_merge_fields),
2247 (xml_parse_pixdata), (xml_parse_toplevel_span):
2248 Make sure to use xmlFree for anything obtained from libxml
2249 in case libxml and glib use different memory management
2252 2005-04-08 Jim Evins <evins@snaught.com>
2255 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2256 (gl_util_combo_box_set_active_text):
2257 Added utility functions to simplify working with GtkComboBox
2259 * src/ui-property-bar.h:
2260 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2261 (reset_to_default_properties), (update_text_properties),
2262 (font_family_changed_cb):
2263 Replaced deprecated GtkCombo with GtkComboBox.
2266 2005-04-03 Jim Evins <evins@snaught.com>
2269 * src/wdgt-image-select.h:
2270 * src/wdgt-image-select.c:
2271 Removed obsolete wdgt-image-select.[ch] files.
2272 * libglabels/paper.c: (gl_paper_dup):
2273 Fixed rename of parameter introduced during documentation
2275 * data/glade/object-editor.glade:
2276 * src/object-editor-image-page.c:
2277 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2278 (gl_object_editor_set_image), (gl_object_editor_get_image),
2279 (update_preview_cb), (add_image_filters_to_chooser):
2280 * src/object-editor-private.h:
2281 Replaced deprecated GnomePixmapEntry with
2282 GtkFileChooserButton.
2284 2005-04-02 Jim Evins <evins@snaught.com>
2286 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2287 (mygal_combo_box_popup_hide_unconditional),
2288 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2289 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2290 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2291 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2292 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2293 Renamed all internal gtk_combo functions to mygal_combo
2294 to prevent namespace confusion.
2296 2005-04-02 Jim Evins <evins@snaught.com>
2298 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2299 (cust_color_set), (color_palette_setup):
2300 * src/mygal/color-palette.h:
2301 Replaced deprecated GnomeColorPicker with GtkColorButton.
2303 2005-04-02 Jim Evins <evins@snaught.com>
2305 * docs/libglabels/libglabels-sections.txt:
2306 * docs/libglabels/libglabels-undocumented.txt:
2307 * docs/libglabels/tmpl/enums.sgml:
2308 * docs/libglabels/tmpl/paper.sgml:
2309 * docs/libglabels/tmpl/xml-paper.sgml:
2310 * docs/libglabels/tmpl/xml-template.sgml:
2311 * libglabels/enums.h:
2312 * libglabels/paper.c: (gl_paper_dup):
2313 * libglabels/paper.h:
2314 * libglabels/xml-paper.c:
2315 * libglabels/xml-template.c:
2316 More documentation updates for libglabels.
2318 2005-03-23 Jim Evins <evins@snaught.com>
2321 Automatically updated.
2326 * docs/libglabels/Makefile.am:
2327 * docs/libglabels/libglabels-docs.sgml:
2328 * docs/libglabels/libglabels-sections.txt:
2329 * docs/libglabels/libglabels-undocumented.txt:
2330 * docs/libglabels/tmpl/enums.sgml:
2331 * docs/libglabels/tmpl/libglabels-unused.sgml:
2332 * docs/libglabels/tmpl/libglabels.sgml:
2333 * docs/libglabels/tmpl/paper.sgml:
2334 * docs/libglabels/tmpl/template.sgml:
2335 * docs/libglabels/tmpl/xml-paper.sgml:
2336 * docs/libglabels/tmpl/xml-template.sgml:
2337 * docs/libglabels/tmpl/xml.sgml:
2338 Added basic gtk-doc stuff to support documenting libglabels
2341 Updated function comments with gtk-doc markup.
2345 2005-03-22 Jim Evins <evins@snaught.com>
2347 Since the development version now requires gtk-2.6/gnome-2.10, I
2348 have made a first pass at removing deprecations.
2351 * libglabels/Makefile.am:
2353 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2354 Also removed all remnants of HAVE_FILECHOOSER.
2355 * src/file.c: (gl_file_open_real):
2356 Removed code for old GtkFileSelection.
2357 * libglabels/libglabels-private.h:
2358 * libglabels/paper.c:
2359 * libglabels/template.c:
2360 * libglabels/xml-paper.c:
2361 * libglabels/xml-template.c:
2365 * src/glabels-batch.c:
2369 * src/merge-properties-dialog.c:
2371 * src/object-editor.c:
2372 * src/prefs-dialog.c:
2374 * src/print-dialog.c:
2377 * src/template-designer.c:
2378 * src/ui-property-bar.c:
2380 * src/view-barcode.c:
2382 * src/view-ellipse.c:
2387 * src/wdgt-image-select.c:
2388 * src/wdgt-media-select.c:
2389 * src/wdgt-print-copies.c:
2390 * src/wdgt-print-merge.c:
2391 * src/wdgt-rotate-label.c:
2393 * src/xml-label-04.c:
2394 * src/xml-label-191.c:
2396 Added '#include <glib/gi18n.h>" where needed.
2397 Removed any unused '#include <gnome.h>"s.
2399 2005-03-22 Jim Evins <evins@snaught.com>
2401 * src/commands.c: (activate_url), (gl_cmd_help_about):
2402 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2403 development version of glabels now depends on GTK 2.6 and
2406 Updated library dependencies.
2408 2005-02-28 Jim Evins <evins@snaught.com>
2411 * data/templates/misc-iso-templates.xml:
2412 Added 'Ednet 45021' template provided by Ali Akcaagac
2415 2005-02-14 Jim Evins <evins@snaught.com>
2417 * data/templates/avery-us-templates.xml:
2418 Updated templates to use inches instead of points.
2419 * src/print-dialog.c: (printer_page_new):
2420 Changed packing style when adding printer selector widget. This fixes
2423 2005-02-13 Jim Evins <evins@snaught.com>
2427 Updated spanish translations. (sergio rivadero)
2429 2005-02-05 Jim Evins <evins@snaught.com>
2431 Some cleanup to libglabels.
2434 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2435 * libglabels/libglabels.pc.in
2437 * libglabels/enums.h
2438 Created. Currently only contains glUnitsType which provides enumerations
2439 for all possible units of distance.
2440 * libglabels/Makefile.am:
2441 Incorporated new files enums.h and libglabels.pc[.in].
2442 * libglabels/libglabels.h:
2444 * libglabels/template.h:
2445 * libglabels/template.c: (gl_template_layout_new):
2446 Changed parameters nx and ny to gint from gdouble.
2448 * libglabels/xml.c: (gl_xml_get_prop_length),
2449 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2450 Added support for different output units.
2451 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2452 (update_prefs_from_locale_page):
2453 * src/prefs-model.c: (string_to_units), (units_to_string):
2454 * src/prefs-model.h:
2455 * src/prefs.c: (gl_prefs_get_units_per_point),
2456 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2457 (gl_prefs_get_units_string):
2459 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2460 Reconciled all length enumerations with the new enumerations provided
2461 in libglabels/enums.h.
2463 2005-02-03 Jim Evins <evins@snaught.com>
2466 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2468 Updated Italian translations. (Daniele Medri)
2470 Updated credits to reflect above translations.
2473 2005-01-22 Jim Evins <evins@snaught.com>
2478 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2480 Final prep for 2.1.0.
2482 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2484 Added '--remove-original' flag to desktop-file-install, so that there is
2485 only one menu entry.
2487 2005-01-20 Jim Evins <evins@snaught.com>
2489 * data/glade/object-editor.glade:
2490 - Font family entry should not be editable.
2491 - img_key_entry should have sensitivity=YES, so that it follows the
2492 sensitivity of img_key_combo.
2494 2005-01-19 Jim Evins <evins@snaught.com>
2497 Give credit to Frederic Ruaudel for the color merge patches.
2499 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2501 Add support to merge color for all other color attribute (Feature
2502 Requests item #1008635. If the data is invalid, the color used is transparent
2503 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2504 by gdk_color_parse() these include name for a color from rgb.txt, such as
2505 DarkSlateGray, or a hex specification such as #305050. File format has been
2506 changed but backward compatibility is preserved for all format. For
2507 box/ellipse/line, keep attribute "line_color" for static color or replace by
2508 "line_color_field" for merge data. For text/barcode objects, keep attribute
2509 "color" for static color or replace by "color_field" for merge data. In the
2510 edit canvas window, merged color are represented by half-transparent black
2513 * data/dtd/glabels-2.0.dtd:
2514 Added line_color_field to line_attrs. Added color_field to
2515 Object-barcode and Span.
2516 * data/glade/object-editor.glade:
2517 Modify the layout of the editor to add merge possibility to color options
2519 Fix a copy/paste error in a comment
2521 Add default color for merge color representation in the editor canvas.
2522 * src/label-barcode.c:
2523 * src/object-editor-bc-page.c:
2524 * src/view-barcode.c:
2525 Add merge color support for barcode color.
2528 Add merge color support for box border color.
2529 * src/label-ellipse.c:
2530 * src/view-ellipse.c:
2531 Add merge color support for ellipse border color.
2534 Add merge color support for line color.
2535 * src/label-object.c:
2536 * src/label-object.h:
2537 * src/object-editor.c:
2538 * src/object-editor.h:
2539 * src/ui-property-bar.c:
2542 * src/xml-label-04.c:
2543 * src/xml-label-191.c:
2544 Add support for merging to other color attribute.
2546 * src/object-editor-text-page.c:
2548 Add merge color support for text color.
2549 * src/object-editor-fill-page.c:
2550 Change a blocked handler that didn't match the good widget. Fix the type
2551 of some debug message.
2552 * src/object-editor-line-page.c:
2553 Add merging support to line color option.
2554 * src/object-editor-private.h:
2555 Add variables for new widget.
2557 Modify the draw functions to get merge data if needed.
2559 Change the default size of the window in order to see all widget in the
2560 "text style tab" of the editor.
2562 Modify the parser to record/retreive the field value for objects that need
2563 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2564 static color or replace by "line_color_field" for merge data. For
2565 text/barcode objects, keep attribute "color" for static color or replace
2566 by "color_field" for merge data.
2568 2005-01-17 Jim Evins <evins@snaught.com>
2570 * src/view.c: (screen_changed_cb):
2571 Don't do anything if we don't have a screen.
2573 2005-01-06 Jim Evins <evins@snaught.com>
2575 * src/view.c: (get_home_scale):
2576 Fixed bad call to gtk_widget_has_screen() -- huh?.
2578 2005-01-06 Jim Evins <evins@snaught.com>
2580 * data/dtd/glabels-2.0.dtd:
2581 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2584 2005-01-06 Jim Evins <evins@snaught.com>
2586 * data/glade/object-editor.glade:
2587 Set entries for fill and data field key dropdowns to NOT editable.
2588 * src/view-box.c: (construct_properties_editor):
2589 * src/view-ellipse.c: (construct_properties_editor):
2590 Update object editor when label's merge property has changed.
2591 * src/xml-label.c: (xml_parse_object_ellipse):
2592 Completed the merge color support for the ellipse item.
2594 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2596 Add support to merge color for object that have a "Fill color" attribute (Feature
2597 Requests item #1008635. If the data is invalid, the color used is transparent
2598 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2599 by gdk_color_parse() these include name for a color from rgb.txt, such as
2600 DarkSlateGray, or a hex specification such as #305050. File format has been
2601 changed but backward compatibility is preserved for all format. For box/ellipse,
2602 keep attribute "fill_color" for static color or replace by "fill_color_field"
2605 * data/glade/object-editor.glade:
2606 Modify "Fill" tab to add the merge key combo and convert the labels into
2610 Add "glColorNode" structure and associated functions to manage it. This
2611 structure is equivalent for color than the "glTextNode". It holds the color
2613 * src/label-object.h:
2614 * src/label-object.c:
2616 * src/label-ellipse.c:
2617 * src/ui-property-bar.c:
2621 * src/view-ellipse.c:
2622 * src/xml-label-04.c:
2623 * src/xml-label-191.c:
2624 Change functions of objects that have a "fill color" attribute to use the
2625 new "glColorNode" structure. Use barcode code as example.
2627 Add the color.[ch] file to glabels_batch binary that now need support for
2629 * src/object-editor.h:
2630 * src/object-editor.c:
2631 * src/object-editor-fill-page.c:
2632 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2633 to choose between static color or merge key. Use barcode code as example.
2634 * src/object-editor-private.h:
2635 Add new widget in the "_glObjectEditorPrivate" structure.
2637 Modify the draw functions to get merge data if needed.
2639 Modify the parser to record/retreive the field value for objects that need
2640 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2641 color or "fill_color_field" for merge data.
2643 2005-01-04 Jim Evins <evins@snaught.com>
2646 * data/templates/avery-iso-templates.xml:
2647 * data/templates/misc-iso-templates.xml:
2648 * data/templates/misc-us-templates.xml:
2649 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2652 2004-11-26 Jim Evins <evins@snaught.com>
2656 Updated french translations provided by Florent Morel <florent@taket.org>.
2657 * src/view-barcode.c:
2659 * src/view-ellipse.c:
2663 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2664 thus _() strings were not being translated.
2666 2004-11-14 Jim Evins <evins@snaught.com>
2669 * src/debug.c: (gl_debug_init), (gl_debug):
2670 Borrowed from gedit: use environmental variables to select debug
2673 Removed unused include of debug.h.
2674 * src/glabels.c: (main):
2675 Added call to gl_debug_init(), and removed debug clutter from command line
2677 * src/glabels-batch.c: (main):
2678 Added call to gl_debug_init().
2680 2004-11-13 Jim Evins <evins@snaught.com>
2682 Drawing and property toolbars were being initialized with the "icons and text"
2683 look in Fedora Core 3. Even though none of the buttons had any text attached to
2684 them, the buttons were being sized as if they were. This led to less real estate
2685 for the property editor, leading to Bug #1064630. The
2687 * data/ui/glabels-ui.xml:
2688 Added explicit "look" property to both drawing and property toolbars.
2689 * src/prefs-model.c: (gl_prefs_model_save_settings),
2690 (gl_prefs_model_load_settings):
2691 * src/prefs-model.h:
2692 Removed drawing_toolbar_button_style configuration parameter.
2693 * src/ui.c: (view_menu_item_toggled_cb),
2694 (set_app_drawing_toolbar_style):
2695 Do not attempt to adjust look property of the drawing toolbar.
2697 2004-10-28 Jim Evins <evins@snaught.com>
2699 * data/pixmaps/glabels-about-logo.png:
2702 2004-10-28 Jim Evins <evins@snaught.com>
2704 * data/man/glabels.1:
2705 * src/glabels-batch.c: (main):
2707 * src/print.c: (gl_print_batch):
2709 Added option to glabels-batch to select the first label to begin
2712 2004-09-26 Jim Evins <evins@snaught.com>
2714 * data/desktop/glabels.desktop.in:
2715 Point to app icon, "glabels.png"
2716 * data/mime/glabels.keys.in:
2717 Point at mime icon, "glabels-application-x-glabels.png"
2718 * data/pixmaps/Makefile.am:
2719 Added glabels_app_icondir. Renamed icons.
2720 * data/pixmaps/glabels.png:
2721 New cleaned up app icon. Deleted glabels-icon.png.
2722 * data/pixmaps/glabels-application-x-glabels.png:
2724 * data/pixmaps/glabels-splash.png:
2725 Renamed glabels-logo to glabels-splash to be more correct about role.
2727 * src/template-designer.c:
2728 Point at app icon, "glabels.png"
2730 Point at renamed splash image, "glabels-splash.png"
2732 2004-08-22 Jim Evins <evins@snaught.com>
2735 * src/glabels-batch.c: (main):
2736 Applied patch with minor mods to allow selecting merge source and
2737 crop-marks on glabels-batch's command line. Original patch provided by
2738 José Dapena Paz <jdapena@igalia.com>.
2740 2004-08-15 Jim Evins <evins@snaught.com>
2742 * data/desktop/glabels.desktop.in:
2743 - Added encoding line
2744 - Removed period from comment
2745 - Fixed Terminal line, changed "0" to "false"
2746 - Added semicolen to Categories line
2748 - Made sure desktop.in comment string above still translated properly
2750 2004-08-14 Jim Evins <evins@snaught.com>
2752 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2753 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2754 * src/xml-label-191.c: (xml191_parse_sheet):
2755 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2757 Reconciled libglabels versioning with 2.0.1.
2760 2004-08-14 Jim Evins <evins@snaught.com>
2763 Updated version to 2.1cvs.
2765 2004-08-14 Jim Evins <evins@snaught.com>
2768 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2770 2004-08-14 Jim Evins <evins@snaught.com>
2772 Fixes for Bug #1008181.
2774 * src/bc.c: (gl_barcode_default_digits):
2775 Make a format of zero digits, harmless.
2776 * src/xml-label.c: (xml_parse_object_barcode):
2777 Set default value of the format property of barcode objects to 10, not
2778 zero. This will prevent crashes when reading pre 2.0.x files.
2780 2004-08-09 Jim Evins <evins@snaught.com>
2784 * help/C/glabels-C.omf:
2785 * help/C/glabels.xml:
2786 Brought documentation up-to-date for 2.0.0 release.
2788 2004-08-09 Jim Evins <evins@snaught.com>
2790 These are hopefully the final preparations for 2.0.0.
2792 * data/mime/Makefile.am:
2793 Include glabels.xml in EXTRA_DIST.
2795 - Updated comment style.
2796 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2797 - Added package and version info to configuration printout
2798 - Update version to 2.0.0
2799 * libglabels/Makefile.am:
2800 Use the new LIBGLABELS_VERSION_INFO macro.
2802 2004-08-09 Jim Evins <evins@snaught.com>
2806 Cleanup of required library macros.
2808 2004-08-08 Jim Evins <evins@snaught.com>
2812 - More specific of what to install in /usr/bin and /usr/lib
2813 - Remove built mime registration files from staging directory
2815 2004-08-08 Jim Evins <evins@snaught.com>
2817 * data/mime/Makefile.am:
2818 Fixed typo: key_files should have been keys_files.
2820 2004-08-08 Jim Evins <evins@snaught.com>
2822 Reorganization of runtime data files. Also added registration of mimetype with
2823 new freedesktop.org mime database if available.
2826 Moved files to appropriate subdirectories, creating local Makefile.am
2827 in each subdirectory.
2828 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2829 These are now installed at $datadir/glabels/templates.
2830 - Moved glabels.1 to man subdirectory.
2831 - Moved glabels-2.0.dtd to dtd subdirectory.
2832 - Moved glabels.desktop.in to desktop subdirectory.
2833 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2835 Moved "./pixmaps" to "./data/pixmaps"
2837 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2839 Moved libglade files from src to data/glade. Created Makefile.am.
2841 Removed pixmaps from SUBDIRS.
2843 - Removed pixmaps from makefiles.
2844 - Added makefiles for new subdirs of data.
2845 - Added tests for freedesktop.org mime database.
2847 - Added tests for freedesktop.org mime database for post install and
2848 post un-install actions.
2849 * libglabels/Makefile.am:
2850 Moved system template files to $(datadir)/glabels/templates.
2851 * libglabels/libglabels-private.h:
2852 Moved system template files to $(datadir)/glabels/templates.
2854 - Accounted for movement of ui and libglade files.
2855 - Added missing .in files.
2856 - Reorganized by directory.
2858 Accounted for movement of ui and libglade files.
2859 * data/mime/glabels.xml.in:
2860 New file for registering with freedesktop.org mime database.
2862 2004-08-07 Jim Evins <evins@snaught.com>
2864 * src/recent-files/*:
2865 Re-synced to latest libegg/recent-files.
2867 2004-08-07 Jim Evins <evins@snaught.com>
2872 Renamed "./doc" directory to "./help" which contains user documentation,
2873 to be more consistent with other GNOME applications.
2876 2004-07-26 Jim Evins <evins@snaught.com>
2878 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2879 Corrected button order of merge properties dialog.
2881 2004-07-18 Jim Evins <evins@snaught.com>
2883 * data/glabels-2.0.dtd:
2884 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2885 (gl_barcode_get_prefered_n):
2887 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2888 (gl_label_barcode_get_props), (get_size):
2889 * src/label-barcode.h:
2890 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2891 (style_changed_cb), (gl_object_editor_set_bc_style),
2892 (gl_object_editor_get_bc_style):
2893 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2894 (gl_object_editor_set_data), (gl_object_editor_get_data):
2895 * src/object-editor-private.h:
2896 * src/object-editor.c: (gl_object_editor_set_key_names):
2897 * src/object-editor.glade:
2898 * src/object-editor.h:
2899 * src/print.c: (draw_barcode_object):
2900 * src/view-barcode.c: (update_object_from_editor_cb),
2901 (update_editor_from_object_cb),
2902 (gl_view_barcode_create_event_handler), (draw_barcode):
2903 * src/xml-label-04.c: (xml04_parse_barcode_props):
2904 * src/xml-label-191.c: (xml191_parse_barcode_props):
2905 * src/xml-label.c: (xml_parse_object_barcode),
2906 (xml_create_object_barcode):
2907 Added "format" attribute to barcode objects. This attribute is used
2908 to properly format freeform barcodes barcodes prior to merge data is
2909 applied, so that barcodes can be accurately layed out. This addresses
2910 remaining issues of feature request #824787. Also added an example of
2911 the format in the object editor.
2913 2004-07-12 Jim Evins <evins@snaught.com>
2915 Various code cleanups.
2917 * src/label-barcode.c:
2918 Removed unneeded include of gnome-glyphlist.h.
2920 * src/label-text.c: (get_size):
2921 Fixed memory leak: unref glyphlists when done with them.
2923 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2924 * src/object-editor-data-page.c:
2925 (gl_object_editor_prepare_data_page):
2926 * src/object-editor-image-page.c:
2927 (gl_object_editor_prepare_image_page):
2928 * src/object-editor-line-page.c:
2929 (gl_object_editor_prepare_line_page):
2930 * src/object-editor-lsize-page.c:
2931 (gl_object_editor_prepare_lsize_page):
2932 * src/object-editor-position-page.c:
2933 (gl_object_editor_prepare_position_page):
2934 * src/object-editor-size-page.c:
2935 (gl_object_editor_prepare_size_page):
2936 * src/object-editor-text-page.c:
2937 (gl_object_editor_prepare_text_page):
2938 Removed unneeded size groups, originally intended to keep widgets aligned.
2939 Now use tables to lay these out in object-editor.glade.
2941 * src/print.c: (draw_text_object):
2942 Fixed memory leak: unref glyphlists when done with them.
2944 * src/view-barcode.c: (draw_barcode):
2945 Fixed memory leak: unref glyphlists when done with them.
2947 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2948 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2950 - Fixed memory leak: unref glyphlists when done with them.
2952 2004-07-11 Jim Evins <evins@snaught.com>
2954 * data/glabels-2.0.dtd:
2955 * src/label-text.c: (gl_label_text_instance_init), (copy),
2956 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2958 * src/object-editor-private.h:
2959 * src/object-editor-text-page.c:
2960 (gl_object_editor_prepare_text_page),
2961 (gl_object_editor_set_text_auto_shrink),
2962 (gl_object_editor_get_text_auto_shrink):
2963 * src/object-editor.c: (gl_object_editor_set_key_names):
2964 * src/object-editor.glade:
2965 * src/object-editor.h:
2966 * src/print.c: (draw_text_object):
2967 * src/view-text.c: (update_object_from_editor_cb),
2968 (update_editor_from_object_cb):
2969 * src/xml-label.c: (xml_parse_object_text),
2970 (xml_create_object_text):
2971 Added option to allow document merge to auto shrink text size to fit
2972 within the text box. The code in print.c that actually shrinks the
2973 text is loosely based on a patch submitted by Mark Harrison
2974 <mark.harrison@velocitynet.com.au>. This addresses feature request
2977 2004-07-11 Jim Evins <evins@snaught.com>
2979 * data/glabels-2.0.dtd:
2980 * libglabels/template.c: (gl_template_rect_label_type_new),
2981 (gl_template_round_label_type_new),
2982 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2983 (template_full_page):
2984 * libglabels/template.h:
2985 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2986 (xml_create_label_node):
2987 * pixmaps/ex-rect-size.png:
2988 * src/print.c: (clip_to_outline), (clip_punchouts):
2989 * src/template-designer.c: (construct_rect_size_page),
2990 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2992 * src/template-designer.glade:
2993 * src/xml-label-191.c: (xml191_parse_label):
2994 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2995 properties for rectangular labels. Templates remain backwards compatible,
2996 but this breaks the libglabels API (I don't know of anyone outside of
2997 glabels using libglabels at this time -- what can I say, the program is
2998 is still "unstable"). This addresses the suggestion in Feature Request
3001 2004-07-05 Jim Evins <evins@snaught.com>
3002 * src/print.c: (print_crop_marks), (draw_outline):
3003 Changed crop marks and label outlines to black, instead of 25% gray.
3004 This addresses debian Bug #257460.
3006 2004-07-05 Jim Evins <evins@snaught.com>
3008 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3009 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3010 Preserve "is_default" of fill and line color_combos when creating from
3013 2004-07-02 Jim Evins <evins@snaught.com>
3016 Created man page. Based on page submitted by Matthew J. Lockner, however
3017 it has been severely edited.
3019 * data/avery-other-templates.xml
3020 * data/misc-other-templates.xml:
3021 Started new files for predefined templates with non-standard sheet sizes.
3022 These have been initially populated with the Avery 06141 and
3023 OfficeMax #86112, both provided by Matthew J. Lockner.
3026 Install above manpage and template files.
3029 Make sure we install man pages.
3031 * src/glabels-batch.c:
3032 Changed short form of help option to '-?' to be consistent with glabels.
3035 Added acknowledgement for above labels.
3037 2004-07-02 Jim Evins <evins@snaught.com>
3039 * src/glabels.c: (main), (save_session_cb):
3040 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3042 - save_session_cb() now returns gboolean.
3043 - Minor formatting changes.
3047 - Now include file.h to provide missing prototype.
3048 - gl_window_get_type() now returns GType, not guint. I believe this may
3049 ultimately be cause of the segfault reported in Bug #982287, since
3050 GType is actually a gulong, which may not be compatible on other
3051 architectures (64bit) -- I cannot personally test this at this time.
3052 I was sloppy in several other xxx_get_type() functions which also
3053 returned guint -- see next group of files:
3055 * src/window.c: (gl_window_get_type):
3056 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3057 * src/canvas-hacktext.h:
3058 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3059 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3060 (gl_hig_hbox_get_type):
3062 * src/label-barcode.c: (gl_label_barcode_get_type):
3063 * src/label-barcode.h:
3064 * src/label-box.c: (gl_label_box_get_type):
3066 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3067 * src/label-ellipse.h:
3068 * src/label-image.c: (gl_label_image_get_type):
3069 * src/label-image.h:
3070 * src/label-line.c: (gl_label_line_get_type):
3072 * src/label-object.c: (gl_label_object_get_type):
3073 * src/label-object.h:
3074 * src/label-text.c: (gl_label_text_get_type):
3076 * src/label.c: (gl_label_get_type):
3078 * src/merge-properties-dialog.c:
3079 (gl_merge_properties_dialog_get_type):
3080 * src/merge-properties-dialog.h:
3081 * src/merge-text.c: (gl_merge_text_get_type):
3083 * src/merge.c: (gl_merge_get_type):
3085 * src/object-editor.c: (gl_object_editor_get_type):
3086 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3087 * src/prefs-dialog.h:
3088 * src/prefs-model.c: (gl_prefs_model_get_type):
3089 * src/prefs-model.h:
3090 * src/print-dialog.c: (gl_print_dialog_get_type):
3091 * src/print-dialog.h:
3092 * src/template-designer.c: (gl_template_designer_get_type):
3093 * src/template-designer.h:
3094 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3095 * src/ui-property-bar.h:
3096 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3098 * src/view-barcode.c: (gl_view_barcode_get_type):
3099 * src/view-barcode.h:
3100 * src/view-box.c: (gl_view_box_get_type):
3102 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3103 * src/view-ellipse.h:
3104 * src/view-highlight.c: (gl_view_highlight_get_type):
3105 * src/view-highlight.h:
3106 * src/view-image.c: (gl_view_image_get_type):
3108 * src/view-line.c: (gl_view_line_get_type):
3110 * src/view-object.c: (gl_view_object_get_type):
3111 * src/view-object.h:
3112 * src/view-text.c: (gl_view_text_get_type):
3114 * src/view.c: (gl_view_get_type):
3116 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3117 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3118 * src/wdgt-image-select.h:
3119 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3120 * src/wdgt-media-select.h:
3121 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3122 * src/wdgt-mini-preview.h:
3123 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3124 * src/wdgt-print-copies.h:
3125 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3126 * src/wdgt-print-merge.h:
3127 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3128 * src/wdgt-rotate-label.h:
3129 - Made sure all xxx_get_type functions returned GType, not guint. This
3130 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3131 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3132 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3133 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3134 window.[ch] details above for more info.
3135 - Reconciled various coding style differences in all xxx_get_type()
3137 * All prototypes include G_GNUC_CONST.
3138 * All prototypes specify the return value as GType, not GtkType
3140 * Info structures are all declared as "static const."
3141 * Generalized the names of type and info variables.
3142 * Miscelaneous formatting.
3144 2004-06-08 Jim Evins <evins@snaught.com>
3150 Don't touch compression of original file -- still defaults to 9 for
3151 new files. Original patch provided by Javier Donaire Segarra
3152 (#912252 in patch tracker).
3154 2004-05-05 Jim Evins <evins@snaught.com>
3156 * data/glabels-2.0.dtd:
3157 Broke DTD previously when adding new barcode types that contain a
3158 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3159 to avoid the problem.
3160 * data/avery-iso-templates.xml:
3161 * data/zweckform-iso-templates.xml:
3163 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3164 provided by Frank Altpeter.
3165 * libglabels/xml-template.c: (xml_create_label_node):
3166 Reordered markup and layout sub-nodes so that resulting templates will
3167 validate against DTD.
3169 2004-03-13 Jim Evins <evins@snaught.com>
3171 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3172 Changed spin callback signals from "value-changed" back to "changed."
3173 This was accidentally introduced in a previous revision, and can cause
3174 size changes just by selecting the size tab.
3176 2004-03-06 Jim Evins <evins@snaught.com>
3178 * src/view.c: (draw_grid_layer):
3179 For round labels (round and cd) adjust grid so that it lines up with
3180 center of label. Also, no longer draw box around label in the grid layer,
3181 it is hidden by he fg layer anyway. Feature suggested by
3182 nemolivier@free.fr. Although the grid is aligned with the center of the
3183 label, the coordinate system is still relative to the upper left corner
3184 of the rectangle containing the label.
3186 2004-02-25 Jim Evins <evins@snaught.com>
3189 Changed version to 2.0pre1cvs
3191 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3192 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3193 instead of doc->name fields when errors encountered.
3195 2004-02-21 Jim Evins <evins@snaught.com>
3197 * data/avery-iso-templates.xml:
3198 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3201 Added libglabels library and include file to installed files.
3204 Final prep for 1.93.3.
3206 2004-02-20 Jim Evins <evins@snaught.com>
3208 * src/glabels-batch.c: (main):
3209 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3210 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3212 2004-02-16 Jim Evins <evins@snaught.com>
3215 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3218 Added HAVE_FILE_CHOOSER to INCLUDES.
3220 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3221 (gl_file_save_as), (save_as_response):
3222 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3224 2004-02-16 Jim Evins <evins@snaught.com>
3226 * src/xml-label-04.c: (xml04_parse_image_props):
3227 * src/xml-label-191.c: (xml191_parse_image_props):
3228 * src/xml-label.c: (xml_parse_object_image):
3229 Delay setting image size until after image has been applied to new
3232 2004-02-15 Jim Evins <evins@snaught.com>
3234 * src/label-barcode.c: (gl_label_barcode_set_data),
3235 (gl_label_barcode_set_props):
3236 Don't emit "changed" signal, if no change actually made for these
3237 methods. Reduces number of unnecessary redraws of barcodes.
3239 * src/label-object.h:
3240 * src/label-object.c: (gl_label_object_set_position),
3241 (gl_label_object_set_position_relative), (set_size),
3242 (gl_label_object_set_size),
3243 (gl_label_object_set_size_honor_aspect):
3244 Don't emit "changed" signal, if no change actually made for these
3247 2004-02-15 Jim Evins <evins@snaught.com>
3249 * data/glabels-2.0.dtd:
3250 Added specific subtypes for various barcode types.
3253 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3254 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3255 (gl_barcode_can_text), (gl_barcode_text_optional),
3256 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3257 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3258 Changed API to use a string id, rather than a fixed enumeration. Id and
3259 name are separate strings. Added entries to backend table for specific
3260 subtypes for various barcode types.
3263 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3265 Modified to conform to above API. Now more stringent with data length
3266 for various subtypes.
3268 * src/bc-gnubarcode.h:
3269 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3270 (is_length_valid), (is_length1_valid), (is_length2_valid):
3271 Modified to conform to above API. Now more stringent with data length
3272 for various subtypes.
3274 * src/label-barcode.h:
3275 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3276 (gl_label_barcode_get_props), (get_size):
3277 Modified to use above API for storing barcode type.
3279 * src/object-editor.h:
3280 * src/object-editor-bc-page.c: (style_changed_cb),
3281 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3282 Modified to use above API for storing barcode type.
3284 * src/object-editor-size-page.c:
3285 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3286 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3287 Added debug markers.
3289 * src/object-editor.glade:
3290 Made barcode style combo's text entry non-editable.
3292 * src/print.c: (draw_barcode_object):
3293 Modified to use above API for barcode type.
3295 * src/view-barcode.c: (update_object_from_editor_cb),
3296 (update_editor_from_object_cb),
3297 (gl_view_barcode_create_event_handler), (draw_barcode):
3298 Modified to use above API for barcode type.
3300 * src/xml-label-04.c: (xml04_parse_barcode_props):
3301 * src/xml-label-191.c: (xml191_parse_barcode_props):
3302 * src/xml-label.c: (xml_parse_object_barcode),
3303 (xml_create_object_barcode):
3304 Modified to use above API for barcode type.
3306 2004-02-07 Jim Evins <evins@snaught.com>
3308 * src/stock-pixmaps/Makefile.am:
3309 * src/stock-pixmaps/stock_hchain_24.png:
3310 * src/stock-pixmaps/stock_hchain_broken_24.png:
3311 * src/stock-pixmaps/stock_vchain_24.png:
3312 * src/stock-pixmaps/stock_vchain_broken_24.png:
3313 Added chain pixmaps borrowed from the gimp's default theme.
3316 * src/stock.c: (gl_stock_init), (add_button_icon):
3317 Added above pixmaps to stock icon sets. Created add_button_icon() to
3318 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3320 * src/wdgt-chain-button.h
3321 * src/wdgt-chain-button.c
3324 Added this Modified version of gimpchainbutton widget, borrowed from
3328 Added acknowledgements of the above borrowing from the gimp.
3330 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3332 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3333 * src/object-editor.glade:
3334 Replaced the keep aspect ratio check box with the above chain-button
3337 * src/text-node.c: (gl_text_node_equal):
3339 Added function gl_text_node_equal() to compare text_nodes.
3341 * src/label-image.c: (gl_label_image_set_filename):
3342 Replaced incomplete text_node comparison code with invocation of
3343 gl_text_node_equal. This fixed the problem of not being able to
3344 resize an image using the object_editor if the aspect ratio is not
3347 2004-02-04 Jim Evins <evins@snaught.com>
3349 * src/object-editor-image-page.c:
3350 (gl_object_editor_prepare_image_page):
3351 Track "changed" signal of pixmap entry's GtkEntry rather than its
3352 "activate" signal -- this catches all changes to the entry rather than
3353 just changes resulting from a browse, so one can easily pull previous
3354 entries from the history. (This change is marked below on 2004-02-03,
3355 but somehow never got checked in.)
3357 * src/view-highlight.c: (sl_resize_event_handler),
3358 (sr_resize_event_handler), (st_resize_event_handler),
3359 (sb_resize_event_handler):
3360 Side resize handles will now confirm the actual resize that the object
3361 accepted before adjusting position parameters. Previously some interesting
3362 things happened when resizing a barcode to its minimum size.
3364 2004-02-03 Jim Evins <evins@snaught.com>
3366 * src/object-editor-image-page.c:
3367 (gl_object_editor_prepare_image_page):
3368 Track "changed" signal of pixmap entry's GtkEntry rather than its
3369 "activate" signal -- this catches all changes to the entry rather than
3370 just changes resulting from a browse, so one can easily pull previous
3371 entries from the history.
3373 * src/view-highlight.c: (tl_resize_event_handler),
3374 (tr_resize_event_handler), (bl_resize_event_handler),
3375 (br_resize_event_handler):
3376 Allow control key to be dropped while dragging a corner resize handle
3377 without losing the aspect ratio lock.
3379 2004-02-02 Jim Evins <evins@snaught.com>
3381 * src/label-image.c: (gl_label_image_set_filename):
3382 When setting a new filename adjust size such that the aspect ratio of
3383 the image is preserved using the current size as a bounding box.
3385 * src/view-image.c: (update_object_from_editor_cb):
3386 When updating object from editor, feed back possible size changes to
3387 editor as a result of a possible change in image.
3389 * src/object-editor-size-page.c: (size_reset_cb):
3390 Fixed typo when blocking spin handlers. If the base size is larger than
3391 the max size, treat max size as a bounding box while keeping aspect
3395 2004-02-02 Jim Evins <evins@snaught.com>
3397 * src/label-object.h:
3398 * src/label-object.c: (gl_label_object_set_size),
3399 (gl_label_object_set_size_honor_aspect):
3400 Added gl_label_object_set_size_honor_aspect() which will maintain the
3401 current aspect ratio by modifying the supplied w or h apropriately.
3403 * src/view-highlight.c: (tl_resize_event_handler),
3404 (tr_resize_event_handler), (bl_resize_event_handler),
3405 (br_resize_event_handler):
3406 Corner handles will now maintain the current aspect ratio if the
3407 control key is pressed while resizing. This addresses feature
3411 2004-01-31 Jim Evins <evins@snaught.com>
3414 * data/avery-us-templates.xml:
3415 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3417 * libglabels/template.c: (read_template_files_from_dir):
3418 Corrected problem with testing for extensions.
3420 * src/object-editor.glade:
3421 Corrected grouping of radio buttons in barcode data page.
3423 * src/print.c: (draw_barcode_object):
3424 * src/view-barcode.c: (draw_barcode):
3425 Corrected problem with calculation of y_offset for locating characters.
3427 2004-01-24 Jim Evins <evins@snaught.com>
3430 * data/avery-us-templates.xml:
3431 Added Avery 5824, submitted by Fred Bacon.
3433 2004-01-20 Jim Evins <evins@snaught.com>
3435 Catching up on a couple of backlogged user template submissions.
3437 * data/avery-iso-templates.xml:
3438 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3439 Suggested by Linas Jakucionis.
3441 * data/zweckform-iso-templates.xml:
3442 Added Zweckform 4760, submitted by Thomas Vill.
3445 Updated to reflect above submissions.
3447 2004-01-06 Jim Evins <evins@snaught.com>
3449 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3450 xml.[ch] into a separate library called libglabels, to facilitate third
3451 party use of glabels template files. This was suggested by Wayne Schuller.
3452 Once split-out, some modifications to the structures and functions to
3453 make a cleaner more useful API, hopefully. Rather extensive changes have
3454 propogated to other modules.
3462 * src/xml-template.h:
3463 * src/xml-template.c:
3466 These files have been moved to libglabels/. API cleanup performed.
3468 * libglabels/libglabels.h:
3469 * libglabels/libglabels-private.h:
3470 * libglabels/Makefile.am:
3471 These files have been added to finish out libglabels.
3478 Modified to reflect new sets of files in src/ and libglabels/.
3480 * COPYING.LIBGLABELS:
3482 Added copy of the LGPL for libglabels, and a copy the GFDL for
3485 * src/glabels-batch.c:
3487 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3488 (gl_label_get_size):
3490 * src/prefs-model.c: (gl_prefs_model_load_settings):
3491 * src/print-dialog.c:
3492 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3493 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3494 (print_crop_marks), (print_label), (draw_outline),
3495 (clip_to_outline), (clip_punchouts):
3496 * src/template-designer.c: (construct_pg_size_page),
3497 (pg_size_page_changed_cb), (layout_page_changed_cb),
3498 (print_test_cb), (build_template):
3499 * src/util.c: (gl_util_fraction):
3501 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3502 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3503 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3504 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3505 (draw_markup_margin_round), (draw_markup_margin_cd),
3506 (draw_markup_margin_cd_bc), (draw_markup_line),
3507 (draw_markup_circle), (gl_view_copy):
3508 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3509 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3510 (get_label_size_desc):
3511 * src/wdgt-mini-preview.c:
3512 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3514 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3515 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3516 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3517 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3518 * src/wdgt-rotate-label.h:
3519 * src/xml-label-04.c: (xml04_parse_media_description):
3520 * src/xml-label-191.c: (gl_xml_label_191_parse),
3521 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3522 (xml191_parse_markup), (xml191_parse_alias):
3523 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3525 Various changes to accomodate new libglabels API.
3527 2004-01-03 Jim Evins <evins@snaught.com>
3532 2004-01-03 Jim Evins <evins@snaught.com>
3535 Added acknowledgement of contributions by Wayne Schuller.
3537 * src/commands.c: (gl_cmd_file_print):
3538 Create extra reference to print dialog, so that it can be properly re-used.
3540 * src/mygal/mygal-combo-box.h:
3541 * src/mygal/mygal-combo-box.c:
3542 (mygal_combo_box_popup_hide_unconditional),
3543 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3544 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3545 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3546 (mygal_combo_box_set_tearable):
3547 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3548 complete the rename of this widget to prevent namespace collisions
3551 * src/prefs-dialog.glade:
3552 Fixed alignment of Fill/Color widgets.
3554 2004-01-03 Jim Evins <evins@snaught.com>
3556 * data/avery-iso-templates.xml:
3557 Added user submitted templates.
3558 Avery 8435A & 8435B, submitted by Ludger Solbach.
3560 * doc/C/glabels.xml:
3561 Added minimal documentation, noting the new template designer.
3563 2004-01-03 Jim Evins <evins@snaught.com>
3565 * pixmaps/ex-rect-size.png:
3566 * pixmaps/ex-round-size.png:
3567 * pixmaps/ex-cd-size.png:
3568 * pixmaps/Makefile.am:
3569 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3570 files to be used as illustrations/examples in the template-designer.
3572 * src/template-designer.c: (construct_rect_size_page),
3573 (construct_round_size_page), (construct_cd_size_page),
3574 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3575 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3576 (layout_page_prepare_cb), (build_template):
3577 * src/template-designer.glade:
3578 Added illustrations for rectangle, round, and cd label size pages.
3579 Added margin spinboxes to these pages, and now add a margin markup
3580 to the constructed template. Added realistic default values for
3581 some of the size spinboxes. Cleaned up the code for setting spinbox
3582 ranges on the layouts page.
3584 2004-01-02 Jim Evins <evins@snaught.com>
3586 * src/object-editor-size-page.c: (h_spin_cb):
3587 Fixed cut-n-paste error in h_spin_cb that loaded h from
3588 the wrong spinbutton.
3590 * src/object-editor.h:
3591 * src/object-editor.c: (gl_object_editor_class_init),
3592 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3593 * src/object-editor-private.h:
3594 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3596 Added "size_changed" signal.
3598 * src/view-text.c: (construct_properties_editor),
3599 (update_object_from_editor_cb),
3600 (update_object_from_editor_size_cb):
3601 Track size changes from object editor separately from other
3602 properties. This is so the default size (0,0) of a text
3603 object is not modified unintentionally.
3605 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3607 Added feature: line spacing - allows you to comfortably space a text box to
3608 fit a label perfectly.
3610 * data/glabels-2.0.dtd:
3611 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3612 (gl_label_object_get_text_alignment),
3613 (gl_label_object_get_text_line_spacing):
3614 * src/label-object.h:
3615 * src/label-text.c: (gl_label_text_class_init),
3616 (gl_label_text_instance_init), (copy), (get_size),
3617 (set_text_line_spacing), (get_text_alignment),
3618 (get_text_line_spacing):
3619 * src/object-editor-private.h:
3620 * src/object-editor-text-page.c:
3621 (gl_object_editor_prepare_text_page),
3622 (gl_object_editor_set_text_line_spacing),
3623 (gl_object_editor_get_text_line_spacing):
3624 * src/object-editor.glade:
3625 * src/object-editor.h:
3626 * src/prefs-dialog.c: (construct_object_page),
3627 (update_object_page_from_prefs), (update_prefs_from_object_page):
3628 * src/prefs-dialog.glade:
3629 * src/prefs-model.c: (gl_prefs_model_save_settings),
3630 (gl_prefs_model_load_settings), (get_float):
3631 * src/prefs-model.h:
3632 * src/print.c: (draw_text_object):
3634 * src/view-text.c: (update_object_from_editor_cb),
3635 (update_editor_from_object_cb),
3636 (gl_view_text_create_event_handler), (draw_hacktext):
3637 * src/view.c: (gl_view_construct),
3638 (gl_view_set_selection_text_line_spacing),
3639 (gl_view_set_default_text_line_spacing),
3640 (gl_view_get_default_text_line_spacing):
3642 * src/xml-label.c: (xml_parse_toplevel_span),
3643 (xml_create_toplevel_span):
3645 2003-12-30 Jim Evins <evins@snaught.com>
3647 * src/template-designer.c:
3648 * src/template-designer.h:
3649 * src/template-designer.glade:
3650 New template designer assistant.
3654 Added entries for src/template-designer.* files.
3656 * pixmaps/ex-1layout.png
3657 * pixmaps/ex-2layouts.png
3658 * pixmaps/Makefile.am:
3659 Added the new image files ex-*.png used as illustrations in the
3660 template designer assistant.
3662 * src/print-dialog.h:
3663 * src/print-dialog.c: (gl_print_dialog_finalize),
3664 (gl_print_dialog_new), (gl_print_dialog_construct),
3665 (gl_print_dialog_force_outline_flag):
3666 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3667 to support printing from the template designer assistant which does not
3668 have a full-fledged view. Nothing else from the view object was being
3669 used by the dialog anyway.
3671 Added the gl_print_dialog_force_outline_flag() method, for better
3672 integration with the template designer assistant.
3676 * src/commands.c: (gl_cmd_file_template_designer),
3677 (gl_cmd_file_print):
3678 Modified print command to provide label instead of view to dialog.
3679 Added the gl_cmd_file_template_designer() command to invoke the
3680 template designer assistant.
3683 * src/glabels-ui.xml:
3684 Added support for template designer assistant.
3686 * src/wdgt-mini-preview.h:
3687 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3688 (gl_wdgt_mini_preview_set_bg_color):
3689 Preview is now centered in canvas. Added
3690 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3691 assistant to match the background color with its own.
3693 * src/print.c: (clip_to_outline):
3694 Fixed really stupid bug when adding waste to clip region of rectangular
3695 labels/cards. Each side of the clip region needs to be extended by
3696 twice the waste margin, as well as negatively offset by the waste
3699 2003-12-28 Jim Evins <evins@snaught.com>
3701 * src/prefs-dialog.c: (update_object_page_from_prefs):
3702 Block intermediary function align_toggle_cb() instead of
3703 update_prefs_from_object_page() for the three alignment
3706 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3708 * src/file.c: (gl_file_new), (gl_file_properties):
3709 Swap button order and set default for higificatory pleasure.
3711 2003-12-27 Jim Evins <evins@snaught.com>
3713 * barcode-0.98/Makefile.am:
3714 One last time: removed doc/Makefile and po/Makefile.in.in from
3717 2003-12-27 Jim Evins <evins@snaught.com>
3719 * barcode-0.98/Makefile.am:
3720 Removed config.stat entry from EXTRA_DIST files.
3722 * barcode-0.98/Makefile.in:
3725 2003-12-27 Jim Evins <evins@snaught.com>
3728 Updated to work with latest gnome-common package from CVS.
3729 Removed recursive configuration of barcode-0.98.
3736 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3738 * barcode-0.98/Makefile.in:
3739 * barcode-0.98/configure.in:
3740 * barcode-0.98/Makefile.am:
3741 * barcode-0.98/README.glabels:
3742 Modified to ignore the barcode package's build system, and build
3743 as a part of glabels.
3744 Renamed Makefile.in to Makefile.in.dist.
3745 Renamed configure.in to configure.in.dist.
3746 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3749 * src/mygal/Makefile.am:
3750 * src/recent-files/Makefile.am:
3751 In order to build against the GNOME 2.5 platform,
3752 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3754 * src/mygal/Makefile.am:
3755 * src/mygal/mygal-combo-box.c:
3756 * src/mygal/mygal-combo-box.h:
3757 * src/mygal/widget-color-combo.c:
3758 * src/mygal/widget-color-combo.h:
3760 In order to build against the GNOME 2.5 platform,
3761 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3762 collisions with the real gtk_combo_box widget, now a part of gtk.
3764 2003-12-26 Jim Evins <evins@snaught.com>
3770 Moved local versions of get_home_data_dir() in paper.c and
3771 template.c to util package. Cleaned up formatting in
3775 In gl_template_register() save a copy of the template in
3776 ~/.glabels if the template is not known. Still need to
3777 handle duplicate filename case and duplicate name but
3778 different template case.
3782 Moved local definition of NAME_SPACE macro from xml-label.c
3785 * src/xml-template.c:
3786 * src/xml-template.h:
3787 Added function gl_xml_template_write_template_to_file(), used
3788 in gl_template_register().