1 2007-11-26 Jim Evins <evins@snaught.com>
3 * libglabels/Makefile.am:
4 * libglabels/libglabels.h:
12 Added tracking of recently used templates.
14 2007-11-20 Jim Evins <evins@snaught.com>
16 * data/glade/template-designer.glade:
17 * src/template-designer.c:
18 Added warning icon when match brand and part match an existing template.
20 2007-11-18 Jim Evins <evins@snaught.com>
22 * libglabels/Makefile.am:
25 Added lgl_str_utf8_casecmp().
26 * libglabels/libglabels-private.h:
27 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
28 * libglabels/db.c: (lgl_db_get_brand_list):
29 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
32 2007-11-18 Jim Evins <evins@snaught.com>
34 * data/glade/template-designer.glade:
35 * src/template-designer.c:
36 Don't advance past name page, if brand and part match an existing template.
38 2007-11-18 Jim Evins <evins@snaught.com>
40 * libglabels/db.c: (lgl_db_register_template), (read_templates):
41 When registering a new template, don't add to "User defined" category before
42 writing to file. Add to "User defined" category when reading from "~/.glabels"
43 directory instead. This will allow legacy templates (and manually created
44 templates) to be automatically added to the "user defined" category.
45 * libglabels/xml-template.c:
46 (lgl_xml_template_create_template_node):
47 Fixed typo/bug causing brand to be wrong.
49 2007-11-16 Jim Evins <evins@snaught.com>
53 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
54 function. Automatically create "User defined" category and add to all user
56 * libglabels/xml-template.c:
57 * libglabels/xml-template.h:
58 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
59 lgl_xml_template_write_template_to_file().
60 * docs/libglabels/libglabels-decl-list.txt:
61 * docs/libglabels/libglabels-sections.txt:
62 * docs/libglabels/libglabels-undocumented.txt:
63 * docs/libglabels/tmpl/db.sgml:
64 * docs/libglabels/tmpl/xml-template.sgml:
65 Update documentation to reflect above changes.
67 2007-10-28 Jim Evins <evins@snaught.com>
69 * libglabels/xml-template.c:
70 Remove any leading white space from part #s when parsing old names.
71 * src/mini-preview-pixbuf-cache.c:
72 If name isn't in cache add it.
74 2007-10-26 Jim Evins <evins@snaught.com>
76 * libglabels/Makefile.am:
77 * libglabels/category.c:
78 * libglabels/category.h:
81 * libglabels/libglabels-private.h:
82 * libglabels/libglabels.h:
85 * libglabels/template.c:
86 * libglabels/template.h:
87 * libglabels/xml-template.c:
88 Another pass at screwing with the libglabels API. Moved all
89 database related stuff to db.[ch].
90 * docs/libglabels/libglabels-decl-list.txt:
91 * docs/libglabels/libglabels-docs.sgml:
92 * docs/libglabels/libglabels-sections.txt:
93 * docs/libglabels/libglabels-undocumented.txt:
94 * docs/libglabels/tmpl/category.sgml:
95 * docs/libglabels/tmpl/db.sgml:
96 * docs/libglabels/tmpl/init.sgml:
97 * docs/libglabels/tmpl/libglabels-unused.sgml:
98 * docs/libglabels/tmpl/paper.sgml:
99 * docs/libglabels/tmpl/template-construction.sgml:
100 * docs/libglabels/tmpl/template-db.sgml:
101 * docs/libglabels/tmpl/template-misc.sgml:
102 * docs/libglabels/tmpl/template-struct.sgml:
103 * docs/libglabels/tmpl/template.sgml:
104 Updated documentation to reflect above changes to libglabels API.
106 * src/glabels-batch.c:
108 * src/mini-preview-pixbuf-cache.c:
111 * src/template-designer.c:
112 * src/wdgt-media-select.c:
113 * src/wdgt-mini-preview.c:
114 * src/wdgt-rotate-label.c:
115 * src/xml-label-04.c:
117 Reconciled usage with above libglabels API changes.
119 2007-10-21 Jim Evins <evins@snaught.com>
121 * data/glade/wdgt-media-select.glade:
122 * src/wdgt-media-select.c:
123 Added brand to filter settings.
125 2007-10-21 Jim Evins <evins@snaught.com>
127 * data/dtd/glabels-2.2.dtd:
128 Forgot to replace Alias name attribute with brand and part attributes.
129 * data/templates/avery-iso-templates.xml:
130 * data/templates/avery-other-templates.xml:
131 * data/templates/avery-us-templates.xml:
132 * data/templates/misc-iso-templates.xml:
133 * data/templates/misc-other-templates.xml:
134 * data/templates/misc-us-templates.xml:
135 * data/templates/zweckform-iso-templates.xml:
136 Replaced all name attributes with brand/part attribute pairs.
138 2007-10-20 Jim Evins <evins@snaught.com>
140 * src/stock-pixmaps/*.png
141 Updated icons to use Tango color palette.
143 2007-10-20 Jim Evins <evins@snaught.com>
145 * data/dtd/Makefile.am:
146 * data/dtd/glabels-2.0.dtd:
147 * data/dtd/glabels-2.2.dtd:
148 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
150 * libglabels/template.c:
151 * libglabels/template.h:
152 * libglabels/xml-template.c:
154 Added brand and part attributes to template and alias structures and nodes.
157 * src/mini-preview-pixbuf-cache.c:
158 * src/template-designer.c:
159 * src/wdgt-media-select.c:
160 Use modified libglabels API.
161 * docs/libglabels/libglabels-decl-list.txt:
162 * docs/libglabels/libglabels-sections.txt:
163 * docs/libglabels/libglabels-undocumented.txt:
164 * docs/libglabels/tmpl/template-construction.sgml:
165 * docs/libglabels/tmpl/template-db.sgml:
166 * docs/libglabels/tmpl/template-struct.sgml:
167 Update libglabels documentation to reflect above modifications.
169 2007-10-14 Jim Evins <evins@snaught.com>
171 * docs/libglabels/libglabels-decl-list.txt:
172 * docs/libglabels/libglabels-sections.txt:
173 * docs/libglabels/libglabels-undocumented.txt:
174 * docs/libglabels/tmpl/category.sgml:
175 * libglabels/category.c:
176 * libglabels/category.h:
177 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
178 parity with paper functions.
180 2007-10-12 Jim Evins <evins@snaught.com>
182 * docs/libglabels/libglabels-decl-list.txt:
183 * docs/libglabels/libglabels-sections.txt:
184 * docs/libglabels/libglabels-undocumented.txt:
185 * docs/libglabels/tmpl/category.sgml:
186 * docs/libglabels/tmpl/enums.sgml:
187 * docs/libglabels/tmpl/libglabels-unused.sgml:
188 * docs/libglabels/tmpl/paper.sgml:
189 * docs/libglabels/tmpl/template-struct.sgml:
191 * libglabels/template.c:
192 * libglabels/template.h:
193 Another pass at fleshing out the libglabels documentation.
194 * src/cairo-label-path.c:
195 * src/cairo-markup-path.c:
197 * src/mini-preview-pixbuf.c:
201 * src/wdgt-media-select.c:
202 * src/wdgt-mini-preview.c:
203 * src/wdgt-print-copies.c:
204 * src/wdgt-print-merge.c:
205 * src/wdgt-rotate-label.c:
206 Removed lgl_template_get_first_frame() from libglabels API and all references.
208 2007-10-11 Jim Evins <evins@snaught.com>
210 Extended checks for deprecated symbols.
211 * libglabels/template.c:
212 Removed g_strcasecmp references, which are deprecated.
214 2007-10-09 Jim Evins <evins@snaught.com>
216 * src/merge-evolution.c:
217 Create address book if it does not exist. Also, be more robust about handling
218 error conditions -- don't just assume GError has been set.
220 2007-10-08 Jim Evins <evins@snaught.com>
222 * libglabels/template.c:
223 * libglabels/xml-template.c:
224 * src/template-designer.c:
225 Missed some symbols with libglabels API work.
227 2007-10-01 Jim Evins <evins@snaught.com>
229 * docs/libglabels/libglabels-decl-list.txt:
230 * docs/libglabels/libglabels-docs.sgml:
231 * docs/libglabels/libglabels-sections.txt:
232 * docs/libglabels/libglabels-undocumented.txt:
233 * docs/libglabels/tmpl/category.sgml:
234 * docs/libglabels/tmpl/enums.sgml:
235 * docs/libglabels/tmpl/init.sgml:
236 * docs/libglabels/tmpl/libglabels-unused.sgml:
237 * docs/libglabels/tmpl/paper.sgml:
238 * docs/libglabels/tmpl/template-construction.sgml:
239 * docs/libglabels/tmpl/template-db.sgml:
240 * docs/libglabels/tmpl/template-misc.sgml:
241 * docs/libglabels/tmpl/template-struct.sgml:
242 * docs/libglabels/tmpl/template.sgml:
243 * docs/libglabels/tmpl/xml-category.sgml:
244 * docs/libglabels/tmpl/xml-template.sgml:
245 * libglabels/category.h:
247 * libglabels/libglabels-private.h:
248 * libglabels/paper.h:
249 * libglabels/template.c:
250 * libglabels/template.h:
251 * libglabels/xml-template.h:
252 Basic documentation framework for libglabels updated. This still needs some
255 2007-09-27 Jim Evins <evins@snaught.com>
257 * docs/libglabels/libglabels-decl-list.txt:
258 * docs/libglabels/libglabels-docs.sgml:
259 * docs/libglabels/libglabels-sections.txt:
260 * docs/libglabels/libglabels-undocumented.txt:
261 * docs/libglabels/tmpl/enums.sgml:
262 * docs/libglabels/tmpl/init.sgml:
263 * docs/libglabels/tmpl/libglabels-unused.sgml:
264 * docs/libglabels/tmpl/paper.sgml:
265 * docs/libglabels/tmpl/template.sgml:
266 * docs/libglabels/tmpl/xml-paper.sgml:
267 * docs/libglabels/tmpl/xml-template.sgml:
268 * docs/libglabels/tmpl/xml.sgml:
269 * libglabels/Makefile.am:
270 * libglabels/category.c:
271 * libglabels/category.h:
272 * libglabels/enums.h:
275 * libglabels/libglabels-private.h:
276 * libglabels/libglabels.h:
277 * libglabels/paper.c:
278 * libglabels/paper.h:
279 * libglabels/template.c:
280 * libglabels/template.h:
281 * libglabels/xml-category.c:
282 * libglabels/xml-category.h:
283 * libglabels/xml-paper.c:
284 * libglabels/xml-paper.h:
285 * libglabels/xml-template.c:
286 * libglabels/xml-template.h:
289 * src/cairo-label-path.c:
290 * src/cairo-label-path.h:
291 * src/cairo-markup-path.c:
292 * src/cairo-markup-path.h:
294 * src/glabels-batch.c:
296 * src/label-object.c:
299 * src/mini-preview-pixbuf-cache.c:
300 * src/mini-preview-pixbuf.c:
301 * src/mini-preview-pixbuf.h:
302 * src/prefs-dialog.c:
309 * src/template-designer.c:
310 * src/view-barcode.c:
312 * src/view-ellipse.c:
316 * src/wdgt-media-select.c:
317 * src/wdgt-mini-preview.c:
318 * src/wdgt-mini-preview.h:
319 * src/wdgt-print-copies.c:
320 * src/wdgt-print-merge.c:
321 * src/wdgt-rotate-label.c:
322 * src/xml-label-04.c:
324 Major cleanup of libglabels API -- this breaks API compatibility with older
325 development and stable versions -- as far as I know, there are currently
326 no external users of this library yet.
328 2007-09-14 Jim Evins <evins@snaught.com>
333 * src/label-object.c:
334 * src/label-object.h:
335 * src/label-barcode.c:
336 * src/label-ellipse.c:
339 * src/view-barcode.c:
341 * src/view-ellipse.c:
345 Better separation of model from view.
347 2007-08-21 Jim Evins <evins@snaught.com>
349 * src/print-op.c: (create_custom_widget_cb):
350 Fix problem with force_outline_flag -- don't override with default.
352 2007-08-21 Jim Evins <evins@snaught.com>
354 * data/dtd/glabels-2.0.dtd:
355 * libglabels/template.c:
356 * libglabels/template.h:
357 * libglabels/xml-template.c:
358 * src/cairo-markup-path.c:
359 Added "Markup-rect" element to template format.
361 2007-08-21 Jim Evins <evins@snaught.com>
364 Changed version to 2.1.pre5svn.
365 * src/view.c: (draw_markup_layer):
366 Do a stroke for each markup path, otherwise multiple markups
369 2007-08-17 Jim Evins <evins@snaught.com>
372 Bump libglabels revision numbers for 2.1.4 release.
374 2007-08-16 Jim Evins <evins@snaught.com>
377 Include subdir iec16022-0.2.1.
381 Preparation for 2.1.4.
384 2007-08-11 Jim Evins <evins@snaught.com>
390 Added Esperanto translation. Provided by Antonio C.
391 Codazzi "la Filozofo" <f_sophia@libero.it>.
393 Updated French translation. Provided by Claude Paroz
394 <claude@2xlibre.net>.
396 Updated to reflect above translations.
398 2007-08-11 Jim Evins <evins@snaught.com>
401 * data/templates/avery-iso-templates.xml:
402 * data/templates/avery-us-templates.xml:
403 * data/templates/misc-iso-templates.xml:
404 * data/templates/misc-other-templates.xml:
405 * data/templates/misc-us-templates.xml:
406 * data/templates/zweckform-iso-templates.xml:
407 Caught up with backlog of template submissions.
409 2007-08-10 Jim Evins <evins@snaught.com>
411 * src/bc-postnet.c: (gl_barcode_postnet_new):
413 Added support for Brazilian CEPNet barcodes. This is simply an
414 instance of the US POSTNET format with 8 digits. Patch supplied
415 by Mário Meyer in bug # 1768792.
417 Updated acknowledgments to reflect above patch and recent shuffling
418 of underlying technology.
420 2007-05-13 Jim Evins <evins@snaught.com>
422 * src/merge-text.c: (parse_line), (parse_field):
423 Remove leading and trailing spaces from CSV fields, unless quoted.
425 2007-05-09 Jim Evins <evins@snaught.com>
427 * src/object-editor-bc-page.c:
428 * src/object-editor-data-page.c:
429 * src/object-editor-fill-page.c:
430 * src/object-editor-image-page.c:
431 * src/object-editor-line-page.c:
432 * src/object-editor-lsize-page.c:
433 * src/object-editor-position-page.c:
434 * src/object-editor-private.h:
435 * src/object-editor-shadow-page.c:
436 * src/object-editor-size-page.c:
437 * src/object-editor-text-page.c:
438 * src/object-editor.c:
439 * src/prefs-dialog.c:
440 * src/template-designer.c:
441 * src/ui-property-bar.c:
442 * src/wdgt-media-select.c:
443 Replaced signal block/unblock pairs with simple flags. This reduces
444 some code clutter, hopefully making it easier to read.
446 2007-05-05 Jim Evins <evins@snaught.com>
448 * src/template-designer.c: (apply_cb):
449 Add new template to mini-preview pixbuf cache.
451 2007-05-03 Jim Evins <evins@snaught.com>
453 * src/label-image.c: (gl_label_image_init), (draw_object):
454 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
457 2007-05-02 Jim Evins <evins@snaught.com>
459 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
460 (button_release_event_cb):
461 Removed attempt at rendering optimization by clipping the updates
462 to areas affected -- this actually seemed to hurt update performance.
464 2007-04-30 Jim Evins <evins@snaught.com>
467 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
468 (gl_color_node_equal), (gl_color_node_expand):
469 * src/label-barcode.c: (draw_object):
470 * src/label-box.c: (draw_object), (draw_shadow):
471 * src/label-ellipse.c: (draw_object), (draw_shadow):
472 * src/label-line.c: (draw_object), (draw_shadow):
473 * src/label-text.c: (draw_object), (draw_shadow):
474 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
475 * src/wdgt-rotate-label.c: (drawingarea_update):
476 Some cleanup to color related code.
478 2007-04-30 Jim Evins <evins@snaught.com>
481 Added glLabelRegion structure type.
482 * src/label-object.c: (gl_label_object_get_extent):
483 * src/label-object.h:
484 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
486 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
487 (gl_view_select_region), (gl_view_align_selection_left),
488 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
489 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
490 (gl_view_align_selection_vcenter),
491 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
492 (gl_view_move_selection), (gl_view_can_selection_text),
493 (motion_notify_event_cb), (button_press_event_cb),
494 (button_release_event_cb):
495 - Reconcile with new gl_label_object_get_extent() API.
496 - Use glLabelRegion for view->select_region.
497 - Added gl_view_update_region() to clip updates to region.
498 - Use gl_view_update_region() during manipulation of view->select_region.
500 2007-04-26 Jim Evins <evins@snaught.com>
502 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
503 (draw_label_outline):
504 * src/print.c: (print_crop_marks), (draw_outline):
505 * src/view-object.c: (gl_view_object_draw_handles):
506 * src/view.c: (draw_bg_layer), (draw_grid_layer),
507 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
508 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
509 * src/wdgt-rotate-label.c: (drawingarea_update):
510 Added defines for various magic numbers.
512 2007-04-25 Jim Evins <evins@snaught.com>
514 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
515 Scale text down. Cairo seems to render text too large.
517 2007-04-25 Jim Evins <evins@snaught.com>
520 * src/view.c: (gl_view_update), (expose_cb),
521 (motion_notify_event_cb), (button_press_event_cb),
522 (button_release_event_cb):
523 - Try not to let updates get backed up.
524 - Grab pointer when doing any drag operations.
526 2007-04-11 Jim Evins <evins@snaught.com>
528 * src/cairo-label-path.c: (gl_cairo_label_path),
529 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
530 (gl_cairo_cd_label_path):
531 * src/cairo-label-path.h:
532 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
533 (draw_label_outline):
534 * src/print.c: (draw_outline), (clip_to_outline):
535 * src/view.c: (draw_bg_layer), (draw_fg_layer):
536 * src/wdgt-mini-preview.c: (draw_labels):
537 * src/wdgt-rotate-label.c: (drawingarea_update):
538 Modified to universally use gl_cairo_label_path() to create paths
539 for labels. Added shadow to mini preview in rotate widget.
541 2007-04-10 Jim Evins <evins@snaught.com>
543 * libglabels/template.h:
544 * libglabels/template.c: (gl_template_get_name_list_unique),
545 (gl_template_get_name_list_all), (gl_template_from_name):
546 Modified libglabels to allow you to get a list of all template names
547 including all aliases or just a list of primary names of each unique
550 * src/file.c: (gl_file_properties):
551 * src/glabels.c: (main):
552 * src/mini-preview-pixbuf-cache.h:
553 * src/mini-preview-pixbuf-cache.c:
554 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
555 (filter_changed_cb), (load_list):
556 Added mini-preview pixbuf cache, so that only one mini-preview is
557 needed for a unique template and gets reused for all aliases. These
558 pixbufs will also live for the life of the program so they are not
559 rebuilt everytime a new label dialog is invoked.
560 * src/mini-preview-pixbuf.c: (draw_paper),
561 (draw_rect_label_outline), (draw_round_label_outline),
562 (draw_cd_label_outline):
563 Removed some comment artifacts.
565 2007-04-04 Jim Evins <evins@snaught.com>
567 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
568 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
569 (draw_round_label_outline), (draw_cd_label_outline):
570 * src/wdgt-media-select.c: (load_list):
571 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
572 Cosmetic enhancments to mini previews.
574 2007-04-04 Jim Evins <evins@snaught.com>
576 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
577 (gl_ui_property_bar_construct):
578 Save copy of GladeXML tree so that we don't lose tooltips.
580 2007-04-02 Jim Evins <evins@snaught.com>
582 * src/merge-properties-dialog.c:
583 * src/new-label-dialog.c:
584 * src/object-editor.c:
585 * src/prefs-dialog.c:
587 * src/template-designer.c:
588 * src/ui-property-bar.c:
589 * src/wdgt-media-select.c:
590 * src/wdgt-rotate-label.c:
591 Fixed several memory leaks.
593 2007-04-01 Jim Evins <evins@snaught.com>
595 * src/label-text.c: (gl_label_text_init), (copy),
596 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
597 (set_font_family), (set_font_size), (set_font_weight),
598 (set_font_italic_flag), (set_text_alignment),
599 (set_text_line_spacing):
600 Cache object size, so that expensive extent calculations are only done
603 2007-03-30 Jim Evins <evins@snaught.com>
605 * src/prefs-model.c: (gl_prefs_model_load_settings):
606 Default to an unlimited list of recent documents, since this parameter
607 seems to be pre-filter anyway.
609 2007-03-30 Jim Evins <evins@snaught.com>
611 * src/label-box.c: (draw_shadow):
612 * src/label-ellipse.c: (draw_shadow):
613 Added missing shadow fill.
615 2007-03-28 Jim Evins <evins@snaught.com>
617 * src/ui-commands.c: (gl_ui_cmd_file_print):
618 Unreferencing the print operation sometimes crashes. Just don't do it
621 2007-03-28 Jim Evins <evins@snaught.com>
623 * src/print-op.c: (gl_print_op_construct),
624 (gl_print_op_get_settings), (gl_print_op_set_settings),
625 (gl_print_op_free_settings), (create_custom_widget_cb):
627 * src/ui-commands.c: (gl_ui_cmd_file_print):
628 * src/window.c: (gl_window_init):
630 Save print settings and custom settings between print operations
633 2007-03-24 Jim Evins <evins@snaught.com>
635 * src/object-editor-image-page.c:
636 (gl_object_editor_prepare_image_page),
637 (gl_object_editor_set_image), (img_selection_changed_cb):
638 Workaround for GtkFileChooserButton bug # 327243. This the root
639 cause for gLabels bug # 1192884. I have actually observed 3 delayed
640 "selection-changed" signals -- the first 2 return NULL -- this is
641 what caused the image to reset to the default followed by setting
642 it back to the original image, trying to fit it into a new bounding
643 box. This sequence of events is much more evident with the new
646 2007-03-23 Jim Evins <evins@snaught.com>
648 Merged all changes from experimental cairo branch to trunk.
649 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
651 2007-03-23 Jim Evins <evins@snaught.com>
653 * src/label-object.h:
654 * src/label-object.c: (gl_label_object_class_init),
655 (gl_label_object_get_raw_size), (gl_label_object_get_size):
656 Created "get_raw_size" method.
657 * src/label-barcode.c: (get_size):
658 * src/xml-label.c: (xml_create_object_text),
659 (xml_create_object_barcode):
660 Use new "get_raw_size" method on label-objects when apropos.
662 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
663 (auto_shrink_font_size):
664 Added "auto shrink" functionality back.
666 2007-03-19 Jim Evins <evins@snaught.com>
668 * src/label-text.c: (draw_object), (draw_shadow):
669 Don't use negative scales in workaround from previous commit.
672 2007-03-18 Jim Evins <evins@snaught.com>
675 Forgot to remove include of xml-lable-191 in previous commit.
676 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
677 Workaround for pango Bug #341481. Render text at device scale,
678 and scale font size accordingly. Also, don't do any hinting.
680 2007-03-18 Jim Evins <evins@snaught.com>
682 * src/cairo-ellipse-path.c:
683 * src/cairo-ellipse-path.h:
684 Forgot to add these new files during last mass commit.
686 2007-03-18 Jim Evins <evins@snaught.com>
689 * src/xml-label-191.c:
690 * src/xml-label-191.h:
691 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
692 so there is no need to keep compatability.
695 * src/cairo-label-path.c:
696 * src/cairo-label-path.h:
697 * src/cairo-markup-path.c:
701 * src/glabels-batch.c:
703 * src/label-barcode.c:
705 * src/label-ellipse.c:
708 * src/label-object.c:
709 * src/label-object.h:
713 * src/merge-properties-dialog.c:
715 * src/new-label-dialog.c:
716 * src/object-editor-bc-page.c:
717 * src/object-editor-data-page.c:
718 * src/object-editor-edit-page.c:
719 * src/object-editor-fill-page.c:
720 * src/object-editor-image-page.c:
721 * src/object-editor-line-page.c:
722 * src/object-editor-private.h:
723 * src/object-editor-shadow-page.c:
724 * src/object-editor-text-page.c:
725 * src/object-editor.c:
726 * src/pixbuf-cache.c:
731 * src/template-designer.c:
733 * src/ui-property-bar.c:
735 * src/view-barcode.c:
737 * src/view-ellipse.c:
744 * src/wdgt-media-select.c:
745 * src/wdgt-print-copies.c:
746 * src/wdgt-print-merge.c:
748 * src/xml-label-04.c:
750 Many changes, including:
751 - Move draw methods from view-*() to label-*().
752 - Use same drawing code for on screen view and printing.
753 - Fix all issues exposed with '-Wall -Werror'.
755 2007-03-14 Jim Evins <evins@snaught.com>
758 * src/cairo-handle-path.c:
759 * src/cairo-handle-path.h:
760 * src/cairo-object-path.c:
761 * src/cairo-object-path.h:
762 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
763 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
765 * src/view-box.c: (gl_view_box_class_init), (draw_object),
766 (draw_shadow), (object_at):
767 * src/view-ellipse.c: (gl_view_ellipse_class_init),
768 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
769 * src/view-image.c: (gl_view_image_class_init), (draw_object),
771 * src/view-line.c: (gl_view_line_class_init), (draw_object),
772 (draw_shadow), (object_at):
773 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
774 (create_handle_path), (gl_view_object_draw_handles),
775 (gl_view_object_handle_at):
777 * src/view-text.c: (gl_view_text_class_init), (draw_object),
778 (draw_shadow), (object_at):
779 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
780 Some restructuring of new code.
782 2007-03-12 Jim Evins <evins@snaught.com>
785 * src/cairo-object-path.c:
786 * src/view-barcode.c:
787 * src/view-barcode.h:
789 Added barcode object support to view.
791 2007-03-12 Jim Evins <evins@snaught.com>
797 * src/cairo-object-path.c:
798 * src/cairo-object-path.h:
800 * src/view-ellipse.c:
805 Added text object support to view. Added object_at method to all
808 2007-03-11 Jim Evins <evins@snaught.com>
811 * src/cairo-object-path.c: (gl_cairo_object_path),
812 (gl_cairo_image_object_path):
813 * src/view-image.c: (gl_view_image_class_init),
814 (gl_view_image_finalize), (gl_view_image_new),
815 (update_editor_from_label_cb), (draw),
816 (gl_view_image_get_create_cursor),
817 (gl_view_image_create_button_press_event),
818 (gl_view_image_create_motion_event),
819 (gl_view_image_create_button_release_event):
821 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
822 (selection_received_cb), (motion_notify_event_cb),
823 (button_press_event_cb), (button_release_event_cb):
824 Added image object support to view.
826 2007-03-11 Jim Evins <evins@snaught.com>
829 * src/cairo-object-path.c: (gl_cairo_object_path),
830 (gl_cairo_line_object_path):
831 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
832 (update_object_from_editor_cb), (update_editor_from_object_cb),
833 (update_editor_from_label_cb), (draw),
834 (gl_view_line_get_create_cursor),
835 (gl_view_line_create_button_press_event),
836 (gl_view_line_create_motion_event),
837 (gl_view_line_create_button_release_event):
839 * src/view-object.c: (gl_view_object_resize_event):
840 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
841 (selection_received_cb), (motion_notify_event_cb),
842 (button_press_event_cb), (button_release_event_cb):
843 Added line object support to view.
844 * src/cairo-handle-path.c:
845 Made handles slightly larger.
848 2007-03-11 Jim Evins <evins@snaught.com>
851 * src/cairo-handle-path.c:
852 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
853 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
854 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
855 (gl_cairo_markup_margin_round_path),
856 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
857 * src/cairo-object-path.c: (gl_cairo_object_path),
858 (gl_cairo_ellipse_object_path):
859 * src/label-object.c: (gl_label_object_rotate):
862 * src/view-ellipse.c: (gl_view_ellipse_class_init),
863 (gl_view_ellipse_new), (update_object_from_editor_cb),
864 (update_editor_from_object_cb), (update_editor_from_label_cb),
865 (draw), (gl_view_ellipse_get_create_cursor),
866 (gl_view_ellipse_create_button_press_event),
867 (gl_view_ellipse_create_motion_event),
868 (gl_view_ellipse_create_button_release_event):
869 * src/view-ellipse.h:
872 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
873 (select_object_real), (selection_received_cb),
874 (motion_notify_event_cb), (button_press_event_cb),
875 (button_release_event_cb):
877 Added ellipse object support to view. Plus other cleanup.
879 2007-03-11 Jim Evins <evins@snaught.com>
882 * src/view-box.c: (gl_view_box_get_create_cursor),
883 (gl_view_box_create_button_press_event),
884 (gl_view_box_create_motion_event),
885 (gl_view_box_create_button_release_event):
886 * src/view-object.c: (gl_view_object_set_view),
887 (gl_view_object_handle_at):
889 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
890 (motion_notify_event_cb), (button_press_event_cb),
891 (button_release_event_cb), (key_press_event_cb):
892 Added creation code for box object.
894 2007-03-09 Jim Evins <evins@snaught.com>
896 * src/view-object.c: (gl_view_object_resize_event):
898 * src/view.c: (motion_notify_event_cb):
899 Fix bugs with resizing transformed objects.
900 * src/cairo-handle-path.c: (gl_cairo_handle_path):
901 * src/cairo-object-path.c: (gl_cairo_object_path):
902 * src/cairo-object-path.h:
903 * src/label-object.c: (gl_label_object_init),
904 (gl_label_object_dup), (gl_label_object_get_extent),
905 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
906 (gl_label_object_rotate), (gl_label_object_set_matrix),
907 (gl_label_object_get_matrix):
908 * src/label-object.h:
909 * src/print.c: (draw_object):
911 * src/view-highlight.c:
912 * src/view-highlight.h:
913 * src/xml-label-191.c: (xml191_parse_object):
914 * src/xml-label.c: (xml_parse_affine_attrs),
915 (xml_create_affine_attrs):
916 Replace libart affine matrices with cairo matrices.
918 2007-03-08 Jim Evins <evins@snaught.com>
921 * src/view.c: (gl_view_update), (motion_notify_event_cb):
922 * src/view-object.c: (gl_view_object_handle_at),
923 (gl_view_object_resize_event):
924 Added resize code -- still a bit buggy.
926 2007-03-07 Jim Evins <evins@snaught.com>
929 * src/cairo-handle-path.c:
930 * src/cairo-handle-path.h:
931 * src/view-box.c: (gl_view_box_new):
932 * src/view-object.c: (gl_view_object_set_object),
933 (gl_view_object_draw_handles), (gl_view_object_handle_at):
935 * src/view.c: (draw_highlight_layer), (select_object_real),
936 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
937 (button_press_event_cb), (button_release_event_cb),
938 (key_press_event_cb):
940 Added beginnings of object resize handles.
942 2007-03-07 Jim Evins <evins@snaught.com>
945 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
946 (gl_view_object_create_mode), (motion_notify_event_cb),
947 (button_press_event_cb), (button_release_event_cb),
948 (key_press_event_cb):
949 Added move selection support.
951 2007-03-05 Jim Evins <evins@snaught.com>
953 * src/cairo-object-path.c: (gl_cairo_object_path):
954 * src/view-object.c: (gl_view_object_draw),
955 (gl_view_object_draw_highlight):
956 * src/view.c: (view_object_at), (motion_notify_event_cb),
957 (button_press_event_cb), (button_release_event_cb):
958 Additional refinements to select logic.
960 2007-03-05 Jim Evins <evins@snaught.com>
963 * src/view.c: (gl_view_init), (gl_view_construct),
964 (label_changed_cb), (draw_layers), (draw_select_region_layer),
965 (gl_view_select_region), (object_at), (motion_notify_event_cb),
966 (button_press_event_cb), (button_release_event_cb):
967 Added initial select region support and context menu.
969 2007-03-04 Jim Evins <evins@snaught.com>
987 * src/wdgt-print-copies.c:
988 * src/wdgt-print-merge.c:
990 Initial port to a raw Cairo canvas. This removes all remaining
991 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
992 the view is becoming a canvas widget in its own right. Still needs
994 * src/cairo-label-path.c:
995 * src/cairo-label-path.h:
996 * src/cairo-markup-path.c:
997 * src/cairo-markup-path.h:
998 * src/cairo-object-path.c:
999 * src/cairo-object-path.h:
1000 New files to support cairo canvas.
1001 * src/canvas-hacktext.c:
1002 * src/canvas-hacktext.h:
1005 2007-02-18 Jim Evins <evins@snaught.com>
1008 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1010 2007-02-14 Jim Evins <evins@snaught.com>
1014 * src/bc-gnubarcode.c:
1015 * src/bc-gnubarcode.h:
1020 * src/canvas-hacktext.c:
1021 * src/canvas-hacktext.h:
1028 * src/label-barcode.c:
1029 * src/label-barcode.h:
1032 * src/label-ellipse.c:
1033 * src/label-ellipse.h:
1034 * src/label-image.c:
1035 * src/label-image.h:
1038 * src/label-object.c:
1039 * src/label-object.h:
1044 * src/merge-evolution.c:
1045 * src/merge-evolution.h:
1048 * src/merge-properties-dialog.c:
1049 * src/merge-properties-dialog.h:
1052 * src/merge-vcard.c:
1053 * src/merge-vcard.h:
1056 * src/mini-preview-pixbuf.h:
1057 * src/new-label-dialog.c:
1058 * src/new-label-dialog.h:
1059 * src/object-editor-bc-page.c:
1060 * src/object-editor-data-page.c:
1061 * src/object-editor-edit-page.c:
1062 * src/object-editor-fill-page.c:
1063 * src/object-editor-image-page.c:
1064 * src/object-editor-line-page.c:
1065 * src/object-editor-lsize-page.c:
1066 * src/object-editor-position-page.c:
1067 * src/object-editor-private.h:
1068 * src/object-editor-size-page.c:
1069 * src/object-editor-text-page.c:
1070 * src/object-editor.c:
1071 * src/object-editor.h:
1072 * src/pixbuf-cache.c:
1073 * src/pixbuf-cache.h:
1074 * src/prefs-dialog.c:
1075 * src/prefs-dialog.h:
1076 * src/prefs-model.c:
1077 * src/prefs-model.h:
1083 * src/template-designer.c:
1086 * src/ui-commands.c:
1087 * src/ui-commands.h:
1088 * src/ui-property-bar.c:
1089 * src/ui-property-bar.h:
1098 * src/view-barcode.c:
1099 * src/view-barcode.h:
1102 * src/view-ellipse.c:
1103 * src/view-ellipse.h:
1104 * src/view-highlight.c:
1105 * src/view-highlight.h:
1110 * src/view-object.c:
1111 * src/view-object.h:
1116 * src/wdgt-chain-button.c:
1117 * src/wdgt-chain-button.h:
1118 * src/wdgt-media-select.c:
1119 * src/wdgt-mini-preview.c:
1120 * src/wdgt-print-copies.c:
1121 * src/wdgt-print-copies.h:
1122 * src/wdgt-print-merge.c:
1123 * src/wdgt-print-merge.h:
1124 * src/wdgt-rotate-label.c:
1126 * src/xml-label-04.c:
1127 * src/xml-label-04.h:
1128 * src/xml-label-191.c:
1129 * src/xml-label-191.h:
1133 Assorted superficial cleanup. Including:
1134 - Use G_DEFINE_TYPE for all objects.
1135 - Reconcile style of all class initializer functions
1136 - Reconcile style of all finalize functions
1137 - Add emacs mode line to all source files
1139 2007-02-06 Jim Evins <evins@snaught.com>
1141 Assorted cleanup and removal of deprecated items.
1146 Removed annoying splash screen.
1147 * src/glabels-batch.c: (main):
1148 * src/glabels.c: (main):
1149 Converted from popt to GOption.
1150 * src/object-editor-shadow-page.c:
1151 (gl_object_editor_set_shadow_state):
1152 Removed deprecated method on GtkToggleButton.
1153 * src/ui-commands.c: (gl_ui_cmd_help_about):
1154 Removed dependency on libgnomui/qnome-url.h.
1155 * src/template-designer.c:
1156 Removed dependency on libgnome/gnome-program.h.
1159 2007-02-04 Jim Evins <evins@snaught.com>
1163 * src/prefs-model.c:
1164 * src/print.c: (draw_text_object):
1165 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1166 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1168 2007-02-04 Jim Evins <evins@snaught.com>
1170 * src/wdgt-mini-preview.c:
1171 * src/wdgt-mini-preview.h:
1172 Ported widget from GnomeCanvas to Cairo.
1174 2007-02-03 Jim Evins <evins@snaught.com>
1176 * data/glade/template-designer.glade:
1177 * src/template-designer.c:
1178 * src/template-designer.h:
1179 Ported GnomeDruid to GtkAssistant. Since libglade does not
1180 yet support the GtkAssistant and we derive directly from
1181 the Assistant, the pages are layed out in a GtkNotebook in
1182 the glade description -- we then append each page to the
1185 2007-01-25 Jim Evins <evins@snaught.com>
1187 * data/glade/object-editor.glade:
1188 Added dummy page to notebook, to prevent shadow page from
1189 becoming the default current page at creation.
1190 * src/view-box.c: (construct_properties_editor):
1191 * src/view-ellipse.c: (construct_properties_editor):
1192 * src/view-line.c: (construct_properties_editor):
1193 * src/view-text.c: (construct_properties_editor):
1194 Reconciled order of params.
1196 2007-01-19 Jim Evins <evins@snaught.com>
1198 * src/label-barcode.h:
1199 * src/label-object.c: (gl_label_object_set_font_weight),
1200 (gl_label_object_set_text_alignment),
1201 (gl_label_object_get_font_weight),
1202 (gl_label_object_get_text_alignment):
1203 * src/label-object.h:
1204 * src/label-text.c: (gl_label_text_instance_init), (copy),
1205 (get_size), (set_font_family), (set_font_weight),
1206 (set_text_alignment), (get_font_weight), (get_text_alignment):
1208 * src/object-editor-text-page.c:
1209 (gl_object_editor_prepare_text_page),
1210 (gl_object_editor_set_font_family),
1211 (gl_object_editor_set_font_weight),
1212 (gl_object_editor_get_font_weight),
1213 (gl_object_editor_set_text_alignment),
1214 (gl_object_editor_get_text_alignment),
1215 (gl_object_editor_set_text_color):
1216 * src/object-editor.h:
1217 * src/prefs-dialog.c: (construct_object_page),
1218 (update_object_page_from_prefs), (update_prefs_from_object_page):
1219 * src/prefs-model.c: (gl_prefs_model_save_settings),
1220 (gl_prefs_model_load_settings):
1221 * src/prefs-model.h:
1222 * src/print.c: (draw_text_object):
1223 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1224 (reset_to_default_properties), (update_text_properties),
1225 (font_bold_toggled_cb), (text_align_toggled_cb):
1227 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1228 (gl_util_weight_to_string), (gl_util_string_to_weight),
1229 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1231 * src/view-text.c: (update_object_from_editor_cb),
1232 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1233 * src/view.c: (gl_view_set_selection_text_alignment),
1234 (gl_view_set_default_text_alignment),
1235 (gl_view_get_default_text_alignment):
1237 * src/xml-label-04.c: (xml04_parse_text_props):
1238 * src/xml-label-191.c: (xml191_parse_text_props):
1239 * src/xml-label.c: (xml_parse_object_text),
1240 (xml_parse_toplevel_span), (xml_create_object_text),
1241 (xml_create_toplevel_span):
1242 Converted all model internals to Pango. GnomeFont remains in
1243 view until GnomeCanvas can be replaced with a cairo-based canvas.
1245 2007-01-17 Jim Evins <evins@snaught.com>
1251 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1252 (gl_wdgt_print_copies_construct):
1253 * src/wdgt-print-copies.h:
1254 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1255 (gl_wdgt_print_merge_construct):
1256 * src/wdgt-print-merge.h:
1257 Removed all remaining HIG wrapper widgets.
1259 2007-01-16 Jim Evins <evins@snaught.com>
1262 * src/print-dialog.c:
1263 * src/print-dialog.h:
1266 * src/template-designer.c: (print_test_cb):
1267 * src/ui-commands.c: (gl_ui_cmd_file_print):
1269 Renamed PrintDialog to PrintOp. Added constructor for batch
1271 * src/glabels-batch.c: (main):
1272 Converted to use new PrintOp object for printing.
1274 2007-01-15 Jim Evins <evins@snaught.com>
1276 * data/glade/Makefile.am:
1277 * data/glade/print-custom-widget.glade:
1278 * src/print-dialog.c:
1279 * src/print-dialog.h:
1282 * src/template-designer.c: (print_test_cb):
1283 * src/ui-commands.c: (gl_ui_cmd_file_print):
1284 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1285 * src/wdgt-print-merge.h:
1286 * src/window.c: (gl_window_init):
1288 Initial conversion to GtkPrintOperation.
1290 - Remove font and other libgnomeprint[ui] from elsewhere
1291 - Add batch initialization of print operation
1293 2007-01-08 Jim Evins <evins@snaught.com>
1295 Updated dependencies. Set version to 2.1.pre4cvs.
1297 2007-01-03 Jim Evins <evins@snaught.com>
1299 * src/recent-files/*
1300 Removed EggRecent stuff.
1306 * src/ui-commands.c:
1307 * src/ui-commands.h:
1309 Ported from EggRecent to GtkRecentManager.
1312 2007-01-02 Jim Evins <evins@snaught.com>
1315 * iec16022-0.2.1/BUGS:
1316 * iec16022-0.2.1/CHANGELOG:
1317 * iec16022-0.2.1/CREDITS:
1318 * iec16022-0.2.1/INSTALL:
1319 * iec16022-0.2.1/LICENSE:
1320 * iec16022-0.2.1/Makefile.am:
1321 * iec16022-0.2.1/Makefile.dist:
1322 * iec16022-0.2.1/README:
1323 * iec16022-0.2.1/README.glabels:
1324 * iec16022-0.2.1/TODO:
1325 * iec16022-0.2.1/iec16022.1:
1326 * iec16022-0.2.1/iec16022.c:
1327 * iec16022-0.2.1/iec16022ecc200.c:
1328 * iec16022-0.2.1/iec16022ecc200.h:
1329 * iec16022-0.2.1/image.c:
1330 * iec16022-0.2.1/image.h:
1331 * iec16022-0.2.1/reedsol.c:
1332 * iec16022-0.2.1/reedsol.h:
1333 * iec16022-0.2.1/test/testsuite-example.bin:
1334 * iec16022-0.2.1/test/testsuite-example.eps:
1335 * iec16022-0.2.1/test/testsuite-example.hex:
1336 * iec16022-0.2.1/test/testsuite-example.png:
1337 * iec16022-0.2.1/test/testsuite-example.text:
1338 * iec16022-0.2.1/test/testsuite.sh:
1339 Include modified copy of iec16022-0.2.1 to provide encoding
1340 support for datamatrix 2D barcodes.
1342 * src/bc-iec16022.c:
1343 * src/bc-iec16022.h:
1345 Added initial datamatrix 2D barcode backend to barcode code.
1348 Automatic updates to later versions of these files.
1350 2006-11-28 Jim Evins <evins@snaught.com>
1352 * data/templates/avery-iso-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-us-templates.xml:
1357 * data/templates/zweckform-iso-templates.xml:
1358 More categorization.
1360 2006-09-12 Jim Evins <evins@snaught.com>
1362 * data/dtd/glabels-2.0.dtd:
1363 * data/templates/Makefile.am:
1364 * data/templates/avery-iso-templates.xml:
1365 * data/templates/avery-other-templates.xml:
1366 * data/templates/avery-us-templates.xml:
1367 * data/templates/categories.xml:
1368 * data/templates/misc-iso-templates.xml:
1369 * data/templates/misc-other-templates.xml:
1370 * data/templates/zweckform-iso-templates.xml:
1371 * data/glade/Makefile.am:
1372 * data/glade/new-label-dialog.glade:
1373 * data/glade/wdgt-media-select.glade:
1374 * data/glade/wdgt-rotate-label.glade:
1375 * libglabels/Makefile.am:
1376 * libglabels/category.c:
1377 * libglabels/category.h:
1378 * libglabels/libglabels.h:
1379 * libglabels/paper.c:
1380 * libglabels/template.c:
1381 * libglabels/template.h:
1382 * libglabels/xml-category.c:
1383 * libglabels/xml-category.h:
1384 * libglabels/xml-template.c:
1385 Added support for category meta data.
1388 * src/mini-preview-pixbuf.c:
1389 * src/mini-preview-pixbuf.h:
1390 * src/new-label-dialog.c:
1391 * src/new-label-dialog.h:
1392 * src/wdgt-media-select.c:
1393 * src/wdgt-media-select.h:
1394 * src/wdgt-rotate-label.c:
1395 * src/wdgt-rotate-label.h:
1396 New "new label" dialog.
1398 2006-05-27 Jim Evins <evins@snaught.com>
1403 Preparation for 2.1.3.
1409 2006-05-22 Jim Evins <evins@snaught.com>
1411 * src/print.c: (draw_barcode_object):
1412 Don't print "Invalid barcode data" if data field is empty. Patch provided
1413 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1415 Added acknowledgment for above patch.
1416 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1417 * src/bc-postnet.c: (postnet_code):
1418 Removed "Invalid barcode data" warnings from stderr.
1419 * src/view-barcode.c: (draw_barcode):
1420 Draw box around barcode extent if data empty or invalid. Center a
1421 message whether the data is empty or invalid in box.
1423 2006-05-22 Jim Evins <evins@snaught.com>
1425 * src/print.c: (draw_text_object):
1426 Check shadow state when printing text.
1428 2006-05-20 Jim Evins <evins@snaught.com>
1430 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1431 (gl_ui_cmd_view_markup_toggle):
1432 Fixed crash when grid or markup have been toggled off during
1433 a previous session. Bug #1434324.
1435 2006-04-05 Jim Evins <evins@snaught.com>
1437 * src/object-editor.c: (gl_object_editor_set_key_names):
1438 Fixed potential crash when freeing empty key list.
1440 2006-03-11 Jim Evins <evins@snaught.com>
1442 * src/print.c: (draw_text_object):
1443 * src/view-text.c: (gl_view_text_new),
1444 (construct_properties_editor), (update_object_from_editor_cb),
1445 (update_editor_from_object_cb), (update_editor_from_label_cb),
1447 Added shadow support to text object.
1449 2006-02-18 Jim Evins <evins@snaught.com>
1451 * src/print.c: (draw_line_object):
1452 * src/view-line.c: (gl_view_line_new),
1453 (construct_properties_editor), (update_canvas_item_from_object_cb),
1454 (update_object_from_editor_cb), (update_editor_from_object_cb),
1455 (update_editor_from_label_cb):
1456 Added shadow support to line object.
1458 2006-02-16 Jim Evins <evins@snaught.com>
1462 * src/print.c: (draw_ellipse_object):
1463 * src/view-ellipse.c: (gl_view_ellipse_new),
1464 (construct_properties_editor), (update_canvas_item_from_object_cb),
1465 (update_object_from_editor_cb), (update_editor_from_object_cb),
1466 (update_editor_from_label_cb):
1467 Added shadow support to ellipse object.
1469 2006-02-15 Jim Evins <evins@snaught.com>
1471 * src/label-object.c:
1472 Changed default shadow offsets.
1473 * src/view-box.c: (gl_view_box_new):
1474 Simplified gl_view_box_new() so that is does not duplicate code
1475 in update_canvas_item_from_object_cb().
1477 2006-02-07 Jim Evins <evins@snaught.com>
1479 * data/glade/object-editor.glade:
1480 Fixed color groups of color combos.
1482 Added default shadow color.
1483 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1484 Added shadow color group.
1486 2006-02-06 Jim Evins <evins@snaught.com>
1488 * src/object-editor-shadow-page.c:
1489 Forgot to add this file.
1490 * src/view-box.c: (gl_view_box_new),
1491 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1492 Update limits on shadow offset spinbuttons.
1494 2006-01-19 Jim Evins <evins@snaught.com>
1496 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1497 Initialize key_list to NULL.
1498 * data/glade/object-editor.glade:
1502 * src/label-object.c:
1503 * src/label-object.h:
1504 * src/object-editor-fill-page.c:
1505 * src/object-editor-private.h:
1506 * src/object-editor.c:
1507 * src/object-editor.h:
1509 Created infrastructure for shadow support.
1512 Initial shadow support in box object only.
1514 2006-01-05 Jim Evins <evins@snaught.com>
1516 * src/merge-properties-dialog.c: (src_changed_cb):
1517 Be extra paranoid before calling strcmp().
1518 * src/merge.c: (gl_merge_set_src):
1519 Don't make (merge == NULL) a critical error.
1521 2005-12-22 Jim Evins <evins@snaught.com>
1523 * src/glabels-batch.c: (main):
1524 Compile warning free with gcc 4.0.
1526 2005-12-21 Jim Evins <evins@snaught.com>
1529 Updated example RPM spec file.
1531 2005-12-21 Jim Evins <evins@snaught.com>
1535 Preparation for 2.1.2.
1537 2005-12-20 Jim Evins <evins@snaught.com>
1540 Define unique G_LOG_DOMAIN for glabels.
1541 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1542 * src/warning-handler.c: (gl_warning_handler_init),
1544 Register for G_LOG_DOMAIN instead of NULL.
1546 2005-12-10 Jim Evins <evins@snaught.com>
1548 * src/merge-evolution.c:
1549 * src/merge-vcard.c:
1552 2005-12-08 Jim Evins <evins@snaught.com>
1554 * libglabels/paper.c: (read_paper_files_from_dir):
1555 * libglabels/template.c: (gl_template_register),
1556 (read_template_files_from_dir):
1557 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1558 (gl_xml_paper_parse_papers_doc):
1559 * libglabels/xml-template.c:
1560 (gl_xml_template_read_templates_from_file),
1561 (gl_xml_template_parse_templates_doc),
1562 (gl_xml_template_parse_template_node),
1563 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1564 (xml_parse_label_cd_node), (xml_parse_layout_node),
1565 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1566 (xml_parse_markup_circle_node),
1567 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1568 * libglabels/xml.c: (gl_xml_get_prop_length):
1569 Re-classified g_warnings to g_messages.
1571 * src/glabels.c: (main):
1572 * src/warning-handler.c: (gl_warning_handler_init),
1574 * src/warning-handler.h:
1575 Added warning message handler to make sure the user is
1576 presented with appropriate non-fatal errors.
1577 * src/critical-error-handler.c: (critical_error_handler):
1578 Changed exit to abort.
1579 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1580 * src/bc-postnet.c: (postnet_code):
1581 * src/bc.c: (id_to_index), (name_to_index):
1582 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1583 * src/object-editor.c: (gl_object_notebook_construct_valist):
1584 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1585 * src/prefs.c: (gl_prefs_get_units_per_point),
1586 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1587 (gl_prefs_get_units_string):
1588 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1589 * src/splash.c: (gl_splash):
1590 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1591 * src/view-highlight.c: (gl_view_highlight_new),
1592 (highlight_resizable_box_construct), (object_changed_cb),
1593 (view_scale_changed_cb):
1594 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1595 (draw_markup_layer), (draw_markup_margin),
1596 (gl_view_object_create_mode), (canvas_event),
1597 (selection_received_cb):
1598 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1599 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1600 * src/xml-label-04.c: (gl_xml_label_04_parse),
1601 (xml04_parse_media_description), (xml04_parse_text_props),
1602 (xml04_parse_barcode_props):
1603 * src/xml-label-191.c: (gl_xml_label_191_parse),
1604 (xml191_parse_objects), (xml191_parse_object),
1605 (xml191_parse_text_props), (xml191_parse_image_props),
1606 (xml191_parse_barcode_props), (xml191_parse_data),
1607 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1608 (xml191_parse_markup):
1609 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1610 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1611 (xml_parse_object_text), (xml_parse_object_image),
1612 (xml_parse_object_barcode), (xml_parse_data),
1613 (xml_parse_toplevel_span), (gl_xml_label_save),
1614 (xml_create_objects):
1615 Re-classified g_warnings to g_messages.
1616 * src/merge-evolution.c: (gl_merge_evolution_open),
1617 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1618 Use g_warning to output errors encountered while
1619 communicating with the evolution data server
1620 instead of embedding them in the data.
1622 2005-12-08 Jim Evins <evins@snaught.com>
1624 * libglabels/libglabels-private.h:
1626 * libglabels/paper.c: (read_papers):
1627 * libglabels/template.c: (read_templates):
1628 Made appropriate warnings critical.
1630 * src/critical-error-handler.h:
1631 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1632 (critical_error_handler):
1633 Created critical error handler.
1634 * src/glabels.c: (main):
1635 Register critical error handler.
1636 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1637 * src/object-editor.c: (gl_object_editor_init):
1638 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1639 * src/template-designer.c: (gl_template_designer_init):
1640 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1641 Made appropriate warnings critical.
1643 2005-11-27 Jim Evins <evins@snaught.com>
1645 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1646 (gl_merge_evolution_get_primary_key),
1647 (gl_merge_evolution_get_record):
1648 Don't create "record_key" pseudo-key. Don't populate
1649 fields with null data.
1651 2005-11-25 Jim Evins <evins@snaught.com>
1653 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1654 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1655 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1657 Query EDS for all supported fields. Patch provided by
1658 Austin Henry <ahenry@users.sourceforge.net>.
1660 2005-10-29 Jim Evins <evins@snaught.com>
1662 * src/glabels.c: (main):
1663 * src/label-barcode.c: (gl_label_barcode_finalize):
1664 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1665 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1666 * src/object-editor.c: (gl_object_editor_finalize):
1667 Another pass at valgrinding -- plugged several memory leaks.
1668 * src/view-text.c: (gl_view_text_new),
1669 (update_canvas_item_from_object_cb), (draw_hacktext):
1670 Commented out artifacts of edit-in-place code.
1672 2005-10-28 Jim Evins <evins@snaught.com>
1674 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1675 Fixed use of uninitialized variable. Caught by
1676 d binderman <dcb314@hotmail.com>.
1678 2005-10-27 Jim Evins <evins@snaught.com>
1680 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1681 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1683 Additional cleanup of EDS and vcard backends. Provided by
1684 Austin Henry <ahenry@users.sourceforge.net>.
1686 2005-10-24 Jim Evins <evins@snaught.com>
1690 * src/merge-evolution.c:
1691 * src/merge-evolution.h:
1692 * src/merge-init.c: (gl_merge_init):
1693 * src/merge-properties-dialog.c: (type_changed_cb):
1694 * src/merge-vcard.c:
1695 * src/merge-vcard.h:
1696 * src/ui-commands.c: (gl_ui_cmd_help_about):
1697 Added Evolution Data Server and VCard merge backends. Original patch
1698 provided by Austin Henry <ahenry@users.sourceforge.net>.
1700 Only support EDS and VCard backends if libebook is installed. Allow
1701 user to disable support, even if installed.
1703 2005-10-24 Jim Evins <evins@snaught.com>
1706 * data/templates/avery-iso-templates.xml:
1707 * data/templates/avery-us-templates.xml:
1708 * data/templates/misc-iso-templates.xml:
1709 * data/templates/zweckform-iso-templates.xml:
1710 Collected all template changes and submissions since last
1713 2005-10-23 Jim Evins <evins@snaught.com>
1716 * data/mime/Makefile.am:
1717 Added configure options to disable update-mime-database and
1718 update-desktop-database as part of the install. Patch
1719 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1721 2005-10-23 Jim Evins <evins@snaught.com>
1724 * libglabels/xml.c: (gl_xml_get_prop_string),
1725 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1726 (gl_xml_is_node), (gl_xml_get_node_content):
1727 Added new XML utility functions.
1728 * libglabels/xml-paper.c:
1729 * libglabels/xml-template.c:
1731 Cleanup by using new xml utilities created above.
1732 * libglabels/paper.c: (gl_paper_free):
1733 * src/file.c: (new_response):
1734 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1735 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1736 (gl_pixbuf_cache_get_pixbuf):
1737 * src/ui-property-bar.c:
1738 (gl_ui_property_bar_construct_color_combo):
1739 * src/view-highlight.c: (gl_view_highlight_finalize):
1740 * src/view-image.c: (update_object_from_editor_cb):
1741 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1742 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1743 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1744 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1745 (draw_markup_margin_round), (draw_markup_margin_cd),
1746 (draw_markup_margin_cd_bc):
1747 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1748 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1749 Plugged various memory leaks located with valgrind.
1750 * src/view-image.c: (update_canvas_item_from_object_cb):
1751 Don't allow a width or height of zero when drawing pixbuf.
1753 2005-10-22 Jim Evins <evins@snaught.com>
1755 * libglabels/xml-paper.c:
1756 * libglabels/xml-template.c:
1759 * src/bc-gnubarcode.c:
1760 * src/canvas-hacktext.c:
1762 * src/object-editor-data-page.c:
1763 * src/print-dialog.c:
1766 * src/template-designer.c:
1768 * src/ui-property-bar.c:
1770 * src/view-barcode.c:
1772 * src/view-ellipse.c:
1777 * src/wdgt-media-select.c:
1778 * src/xml-label-04.c:
1779 * src/xml-label-191.c:
1781 Modified to compile warning free with gcc-4.0. Mostly
1782 casting to change signedness of characters. Did not
1783 attack gnu-barcode library yet.
1785 2005-10-22 Jim Evins <evins@snaught.com>
1787 * src/glabels.c: (main):
1788 * src/splash.c: (gl_splash):
1789 Removed some small memory leaks.
1793 2005-09-19 Jim Evins <evins@snaught.com>
1795 * data/glade/property-bar.glade:
1796 Remove items from font_family_combo. This prevents the
1797 double entry after adding text model and list of fonts.
1798 * src/ui-property-bar.c: (reset_to_default_properties):
1799 Free font_family_list.
1801 2005-07-01 Jim Evins <evins@snaught.com>
1804 Updated italian translation (Daniele Medri)
1806 2005-06-26 Jim Evins <evins@snaught.com>
1808 * docs/libglabels/libglabels-decl-list.txt:
1809 Somehow never got checked in before.
1810 * docs/libglabels/libglabels.types:
1811 Removed -- don't need it afterall.
1813 2005-06-20 Jim Evins <evins@snaught.com>
1816 Final prep for 2.1.1 release.
1818 2005-06-20 Jim Evins <evins@snaught.com>
1821 Final preps for 2.1.1 release.
1822 * docs/libglabels/libglabels.types:
1823 Somehow never got checked in before.
1825 Bring up-to-date with recent reorg of ui code.
1828 2005-06-19 Jim Evins <evins@snaught.com>
1830 * src/template-designer.c: (construct_layout_page):
1831 Removed attempt to match background color of mini preview widget to
1834 2005-06-17 Jim Evins <evins@snaught.com>
1836 * help/C/figures/merge-ex2-4.png:
1837 * help/C/glabels.xml:
1838 Fixed spelling error.
1840 2005-06-13 Jim Evins <evins@snaught.com>
1842 * help/C/figures/merge-ex1-1.png:
1843 * help/C/figures/merge-ex1-2.png:
1844 * help/C/figures/merge-ex1-3.png:
1845 * help/C/figures/merge-ex1-4.png:
1846 * help/C/figures/merge-ex2-1.png:
1847 * help/C/figures/merge-ex2-2.png:
1848 * help/C/figures/merge-ex2-3.png:
1849 * help/C/figures/merge-ex2-4.png:
1850 Added figures for document merge tutorial.
1851 * help/C/glabels.xml:
1852 Added document merge tutorial.
1854 2005-05-19 Jim Evins <evins@snaught.com>
1856 * data/glade/merge-properties-dialog.glade:
1857 Fixed irregular spacing.
1858 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1859 (gl_merge_properties_dialog_construct):
1860 Set outer padding and remove separator.
1862 2005-05-18 Jim Evins <evins@snaught.com>
1866 Removed glHigDialog class.
1867 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1868 (gl_file_properties), (create_properties_dialog_widgets):
1869 * src/prefs-dialog.h:
1870 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1871 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1872 * src/print-dialog.h:
1873 * src/prefs-dialog.h:
1874 * src/print-dialog.c: (gl_print_dialog_get_type),
1875 (gl_print_dialog_init), (gl_print_dialog_construct):
1876 Replaced all instances of glHigDialog with GtkDialog.
1878 2005-05-17 Jim Evins <evins@snaught.com>
1882 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1883 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1884 (save_as_response), (gl_file_close):
1885 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1887 2005-05-15 Jim Evins <evins@snaught.com>
1889 * src/ui-commands.h:
1897 A little code reformatting -- no functional changes.
1899 2005-05-14 Jim Evins <evins@snaught.com>
1902 Removed obsolete macros.
1904 Added marshalling template to support new view signal: "context_menu_activate."
1906 * src/view.c: (gl_view_class_init), (gl_view_construct),
1907 (canvas_event_arrow_mode):
1908 - Removed hardcoded context menus and added new signal "context_menu_activate"
1909 to push this up to the uimanager.
1910 - Removed merge properties and print dialogs so that they can be managed with
1911 the window by the uimanager.
1912 * src/merge-properties-dialog.h:
1913 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1914 (gl_merge_properties_dialog_construct):
1915 Changed calling convention of gl_merge_properties_dialog_new() to use
1916 glLabel and GtkWindow instead of view to make more consistent with other
1918 * src/print-dialog.h:
1919 * src/print-dialog.c: (gl_print_dialog_new),
1920 (gl_print_dialog_construct):
1921 Removed last artifact of libbonoboui.
1922 * src/ui-commands.c: (gl_ui_cmd_file_print),
1923 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1924 Reconciled style for launching dialogs.
1925 * src/ui.c: (gl_ui_new):
1926 Added context menus to ui manager.
1927 * src/view-object.c: (item_event_arrow_mode):
1928 No longer try to select objects with right-click.
1930 * src/window.c: (gl_window_init), (gl_window_set_label),
1931 (context_menu_activate_cb):
1932 Context menus and all dialogs are now managed in a consistent way in window
1935 2005-05-11 Jim Evins <evins@snaught.com>
1938 * src/window.c: (gl_window_init), (gl_window_destroy):
1939 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1940 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1941 Moved management of recent_view back from window.c to ui.c -- it just feels
1944 2005-05-10 Jim Evins <evins@snaught.com>
1947 * src/window.c: (gl_window_init):
1949 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1950 (menu_item_select_cb), (menu_item_deselect_cb):
1951 Added GtkStatusbar which displays menu tooltips.
1953 2005-05-09 Jim Evins <evins@snaught.com>
1955 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1960 Removed dependencies on libbonoboui.
1962 * data/ui/Makefile.am:
1963 * data/ui/glabels-ui.xml:
1964 Removed data/ui directory.
1965 * data/glade/Makefile.am:
1966 * data/property-bar.glade:
1967 Added glade description of property-bar for new libglade implementation
1974 * src/ui-commands.h:
1975 * src/ui-commands.c:
1976 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1977 since the distinction between "commands" and "tools" is no longer that clear.
1980 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1981 no longer has knowledge of eggRecent*.
1982 * src/glabels.c: (main):
1983 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1985 * src/object-editor.c: (gl_object_editor_init):
1986 Make sure notebook does not respond to a "show_all" on the parent.
1987 * src/recent-files/Makefile.am:
1988 * src/recent-files/*.[ch]
1989 Updated from latest version of libegg which now has a view based on
1990 GtkUIManager. Removed unused bonobo and gtk views.
1991 * src/ui-property-bar.h:
1992 * src/ui-property-bar.c:
1993 New implementation based on libglade.
1996 Sidebar is now simply a GtkWidget and does not expect to be a part of
1997 a libbonoboui interface.
2002 Converted for use with GtkUIManager.
2005 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2006 to create menus and toolbars.
2008 2005-04-25 Jim Evins <evins@snaught.com>
2010 * data/templates/misc-iso-templates.xml:
2011 Added Fellows 04715 template provided by Steve Saxon.
2013 Updated acknowledgement for above.
2015 2005-04-23 Jim Evins <evins@snaught.com>
2017 * src/util.c: (gl_util_combo_box_set_strings):
2018 Make sure to clear model before loading a new list of strings.
2019 * src/wdgt-media-select.h:
2020 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2021 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2022 (template_combo_changed_cb), (prefs_changed_cb),
2023 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2024 (gl_wdgt_media_select_get_page_size),
2025 (gl_wdgt_media_select_set_page_size):
2026 Replaced the deprecated GtkCombo widget with the new
2029 2005-04-21 Jim Evins <evins@snaught.com>
2031 * data/glade/template-designer.glade:
2032 * src/template-designer.c: (construct_pg_size_page),
2033 (pg_size_page_changed_cb), (build_template):
2034 Replaced the deprecated GtkCombo widget with the new
2037 2005-04-20 Jim Evins <evins@snaught.com>
2039 * data/glade/prefs-dialog.glade:
2040 * src/prefs-dialog.c: (construct_object_page),
2041 (update_object_page_from_prefs), (update_prefs_from_object_page):
2042 Replaced the deprecated GtkCombo widget with the new
2045 2005-04-19 Jim Evins <evins@snaught.com>
2047 * data/glade/object-editor.glade:
2048 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2049 (style_changed_cb), (gl_object_editor_set_bc_style),
2050 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2051 (gl_object_editor_get_bc_color):
2052 * src/object-editor-data-page.c:
2053 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2054 (gl_object_editor_get_data):
2055 * src/object-editor-edit-page.c:
2056 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2057 * src/object-editor-fill-page.c:
2058 (gl_object_editor_prepare_fill_page),
2059 (gl_object_editor_set_fill_color),
2060 (gl_object_editor_get_fill_color):
2061 * src/object-editor-image-page.c:
2062 (gl_object_editor_prepare_image_page),
2063 (gl_object_editor_set_image), (gl_object_editor_get_image):
2064 * src/object-editor-line-page.c:
2065 (gl_object_editor_prepare_line_page),
2066 (gl_object_editor_set_line_color),
2067 (gl_object_editor_get_line_color):
2068 * src/object-editor-private.h:
2069 * src/object-editor-text-page.c:
2070 (gl_object_editor_prepare_text_page),
2071 (gl_object_editor_set_font_family),
2072 (gl_object_editor_get_font_family),
2073 (gl_object_editor_set_text_color),
2074 (gl_object_editor_get_text_color):
2075 * src/object-editor.c: (gl_object_editor_set_key_names):
2077 In the object editor: replaced all instances of the deprecated
2078 GtkCombo widget with the new GtkComboBox.
2080 2005-04-18 Jim Evins <evins@snaught.com>
2083 Neglected to save this one in previous checkin to support
2086 2005-04-17 Jim Evins <evins@snaught.com>
2088 * libglabels/libglabels-private.h:
2089 * libglabels/paper.c:
2090 * libglabels/paper.h:
2091 * libglabels/template.c:
2092 * libglabels/template.h:
2093 * libglabels/xml-paper.c:
2094 * libglabels/xml-paper.h:
2095 * libglabels/xml-template.c:
2100 * src/bc-gnubarcode.c:
2111 * src/label-barcode.c:
2113 * src/label-ellipse.c:
2114 * src/label-image.c:
2115 * src/label-image.h:
2117 * src/label-object.c:
2121 * src/merge-properties-dialog.c:
2122 * src/object-editor-bc-page.c:
2123 * src/object-editor-data-page.c:
2124 * src/object-editor-edit-page.c:
2125 * src/object-editor-fill-page.c:
2126 * src/object-editor-image-page.c:
2127 * src/object-editor-line-page.c:
2128 * src/object-editor-lsize-page.c:
2129 * src/object-editor-position-page.c:
2130 * src/object-editor-private.h:
2131 * src/object-editor-size-page.c:
2132 * src/object-editor-text-page.c:
2133 * src/object-editor.c:
2134 * src/object-editor.h:
2135 * src/pixbuf-cache.h:
2136 * src/prefs-dialog.c:
2137 * src/prefs-dialog.h:
2138 * src/prefs-model.c:
2139 * src/prefs-model.h:
2141 * src/print-dialog.c:
2142 * src/print-dialog.h:
2150 * src/template-designer.c:
2151 * src/template-designer.h:
2154 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2160 * src/view-barcode.c:
2162 * src/view-ellipse.c:
2163 * src/view-highlight.c:
2164 * src/view-highlight.h:
2167 * src/view-object.c:
2168 * src/view-object.h:
2172 * src/wdgt-chain-button.c:
2173 * src/wdgt-media-select.c:
2174 * src/wdgt-media-select.h:
2175 * src/wdgt-mini-preview.c:
2176 * src/wdgt-mini-preview.h:
2177 * src/wdgt-print-copies.c:
2178 * src/wdgt-print-copies.h:
2179 * src/wdgt-print-merge.c:
2180 * src/wdgt-print-merge.h:
2181 * src/wdgt-rotate-label.c:
2182 * src/wdgt-rotate-label.h:
2185 * src/xml-label-04.c:
2186 * src/xml-label-191.c:
2188 Cleanup of header files:
2189 - all header files are now stand-alone, verified by including
2190 first in corresponding "c" files
2191 - replaced blanket includes of gnome, gtk, and glib with
2194 2005-04-16 Jim Evins <evins@snaught.com>
2196 * data/glade/Makefile.am:
2197 * data/glade/merge-properties-dialog.glade:
2198 Added merge properties dialog glade description file.
2199 * src/merge-properties-dialog.h:
2200 * src/merge-properties-dialog.c:
2201 (gl_merge_properties_dialog_get_type),
2202 (gl_merge_properties_dialog_init),
2203 (gl_merge_properties_dialog_finalize),
2204 (gl_merge_properties_dialog_new),
2205 (gl_merge_properties_dialog_construct), (type_changed_cb),
2206 (src_changed_cb), (response_cb), (load_tree),
2207 (record_select_toggled_cb), (select_all_button_clicked_cb),
2208 (unselect_all_button_clicked_cb):
2209 Modified merge properties dialog to use libglade. Added
2210 "select all" and "unselect all" buttons.
2211 * src/merge-text.c: (parse_line):
2212 Handle empty lines better.
2213 * src/merge.c: (gl_merge_eval_key):
2214 Evaluate the key whether the record is selected or not.
2216 * src/util.c: (gl_util_combo_box_add_text_model):
2217 Since libglade does not use the gtk_combo_box_new_text()
2218 constructor for GtkComboBoxes, a utility function was created
2219 to add an appropriate text model to a GtkComboBox.
2220 * src/view.c: (gl_view_edit_merge_props):
2221 Removed unnecessary "show all's".
2223 2005-04-15 Jim Evins <evins@snaught.com>
2226 Updated russian translation (Vitaly Lipatov)
2227 * data/templates/misc-iso-templates.xml:
2228 Added templates for russian business cards provided by Vitaly Lipatov.
2230 Updated acknowledgements for above.
2232 2005-04-15 Jim Evins <evins@snaught.com>
2234 * data/templates/avery-us-templates.xml:
2235 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2236 * data/templates/misc-iso-templates.xml:
2237 Added Ryman standard CD/DVD template, provided by Dan Clark.
2239 Added acknowledgements for above.
2241 2005-04-10 Jim Evins <evins@snaught.com>
2243 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2244 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2245 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2246 (xml_parse_label_cd_node), (xml_parse_alias_node):
2247 * libglabels/xml.c: (gl_xml_get_prop_double),
2248 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2249 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2250 * src/xml-label-04.c: (xml04_parse_media_description),
2251 (xml04_parse_text_props), (xml04_parse_barcode_props),
2252 (xml04_parse_merge_properties):
2253 * src/xml-label-191.c: (xml191_parse_object),
2254 (xml191_parse_text_props), (xml191_parse_barcode_props),
2255 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2256 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2257 (xml191_parse_alias):
2258 * src/xml-label.c: (xml_parse_object_text),
2259 (xml_parse_object_barcode), (xml_parse_merge_fields),
2260 (xml_parse_pixdata), (xml_parse_toplevel_span):
2261 Make sure to use xmlFree for anything obtained from libxml
2262 in case libxml and glib use different memory management
2265 2005-04-08 Jim Evins <evins@snaught.com>
2268 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2269 (gl_util_combo_box_set_active_text):
2270 Added utility functions to simplify working with GtkComboBox
2272 * src/ui-property-bar.h:
2273 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2274 (reset_to_default_properties), (update_text_properties),
2275 (font_family_changed_cb):
2276 Replaced deprecated GtkCombo with GtkComboBox.
2279 2005-04-03 Jim Evins <evins@snaught.com>
2282 * src/wdgt-image-select.h:
2283 * src/wdgt-image-select.c:
2284 Removed obsolete wdgt-image-select.[ch] files.
2285 * libglabels/paper.c: (gl_paper_dup):
2286 Fixed rename of parameter introduced during documentation
2288 * data/glade/object-editor.glade:
2289 * src/object-editor-image-page.c:
2290 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2291 (gl_object_editor_set_image), (gl_object_editor_get_image),
2292 (update_preview_cb), (add_image_filters_to_chooser):
2293 * src/object-editor-private.h:
2294 Replaced deprecated GnomePixmapEntry with
2295 GtkFileChooserButton.
2297 2005-04-02 Jim Evins <evins@snaught.com>
2299 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2300 (mygal_combo_box_popup_hide_unconditional),
2301 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2302 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2303 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2304 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2305 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2306 Renamed all internal gtk_combo functions to mygal_combo
2307 to prevent namespace confusion.
2309 2005-04-02 Jim Evins <evins@snaught.com>
2311 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2312 (cust_color_set), (color_palette_setup):
2313 * src/mygal/color-palette.h:
2314 Replaced deprecated GnomeColorPicker with GtkColorButton.
2316 2005-04-02 Jim Evins <evins@snaught.com>
2318 * docs/libglabels/libglabels-sections.txt:
2319 * docs/libglabels/libglabels-undocumented.txt:
2320 * docs/libglabels/tmpl/enums.sgml:
2321 * docs/libglabels/tmpl/paper.sgml:
2322 * docs/libglabels/tmpl/xml-paper.sgml:
2323 * docs/libglabels/tmpl/xml-template.sgml:
2324 * libglabels/enums.h:
2325 * libglabels/paper.c: (gl_paper_dup):
2326 * libglabels/paper.h:
2327 * libglabels/xml-paper.c:
2328 * libglabels/xml-template.c:
2329 More documentation updates for libglabels.
2331 2005-03-23 Jim Evins <evins@snaught.com>
2334 Automatically updated.
2339 * docs/libglabels/Makefile.am:
2340 * docs/libglabels/libglabels-docs.sgml:
2341 * docs/libglabels/libglabels-sections.txt:
2342 * docs/libglabels/libglabels-undocumented.txt:
2343 * docs/libglabels/tmpl/enums.sgml:
2344 * docs/libglabels/tmpl/libglabels-unused.sgml:
2345 * docs/libglabels/tmpl/libglabels.sgml:
2346 * docs/libglabels/tmpl/paper.sgml:
2347 * docs/libglabels/tmpl/template.sgml:
2348 * docs/libglabels/tmpl/xml-paper.sgml:
2349 * docs/libglabels/tmpl/xml-template.sgml:
2350 * docs/libglabels/tmpl/xml.sgml:
2351 Added basic gtk-doc stuff to support documenting libglabels
2354 Updated function comments with gtk-doc markup.
2358 2005-03-22 Jim Evins <evins@snaught.com>
2360 Since the development version now requires gtk-2.6/gnome-2.10, I
2361 have made a first pass at removing deprecations.
2364 * libglabels/Makefile.am:
2366 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2367 Also removed all remnants of HAVE_FILECHOOSER.
2368 * src/file.c: (gl_file_open_real):
2369 Removed code for old GtkFileSelection.
2370 * libglabels/libglabels-private.h:
2371 * libglabels/paper.c:
2372 * libglabels/template.c:
2373 * libglabels/xml-paper.c:
2374 * libglabels/xml-template.c:
2378 * src/glabels-batch.c:
2382 * src/merge-properties-dialog.c:
2384 * src/object-editor.c:
2385 * src/prefs-dialog.c:
2387 * src/print-dialog.c:
2390 * src/template-designer.c:
2391 * src/ui-property-bar.c:
2393 * src/view-barcode.c:
2395 * src/view-ellipse.c:
2400 * src/wdgt-image-select.c:
2401 * src/wdgt-media-select.c:
2402 * src/wdgt-print-copies.c:
2403 * src/wdgt-print-merge.c:
2404 * src/wdgt-rotate-label.c:
2406 * src/xml-label-04.c:
2407 * src/xml-label-191.c:
2409 Added '#include <glib/gi18n.h>" where needed.
2410 Removed any unused '#include <gnome.h>"s.
2412 2005-03-22 Jim Evins <evins@snaught.com>
2414 * src/commands.c: (activate_url), (gl_cmd_help_about):
2415 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2416 development version of glabels now depends on GTK 2.6 and
2419 Updated library dependencies.
2421 2005-02-28 Jim Evins <evins@snaught.com>
2424 * data/templates/misc-iso-templates.xml:
2425 Added 'Ednet 45021' template provided by Ali Akcaagac
2428 2005-02-14 Jim Evins <evins@snaught.com>
2430 * data/templates/avery-us-templates.xml:
2431 Updated templates to use inches instead of points.
2432 * src/print-dialog.c: (printer_page_new):
2433 Changed packing style when adding printer selector widget. This fixes
2436 2005-02-13 Jim Evins <evins@snaught.com>
2440 Updated spanish translations. (sergio rivadero)
2442 2005-02-05 Jim Evins <evins@snaught.com>
2444 Some cleanup to libglabels.
2447 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2448 * libglabels/libglabels.pc.in
2450 * libglabels/enums.h
2451 Created. Currently only contains glUnitsType which provides enumerations
2452 for all possible units of distance.
2453 * libglabels/Makefile.am:
2454 Incorporated new files enums.h and libglabels.pc[.in].
2455 * libglabels/libglabels.h:
2457 * libglabels/template.h:
2458 * libglabels/template.c: (gl_template_layout_new):
2459 Changed parameters nx and ny to gint from gdouble.
2461 * libglabels/xml.c: (gl_xml_get_prop_length),
2462 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2463 Added support for different output units.
2464 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2465 (update_prefs_from_locale_page):
2466 * src/prefs-model.c: (string_to_units), (units_to_string):
2467 * src/prefs-model.h:
2468 * src/prefs.c: (gl_prefs_get_units_per_point),
2469 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2470 (gl_prefs_get_units_string):
2472 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2473 Reconciled all length enumerations with the new enumerations provided
2474 in libglabels/enums.h.
2476 2005-02-03 Jim Evins <evins@snaught.com>
2479 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2481 Updated Italian translations. (Daniele Medri)
2483 Updated credits to reflect above translations.
2486 2005-01-22 Jim Evins <evins@snaught.com>
2491 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2493 Final prep for 2.1.0.
2495 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2497 Added '--remove-original' flag to desktop-file-install, so that there is
2498 only one menu entry.
2500 2005-01-20 Jim Evins <evins@snaught.com>
2502 * data/glade/object-editor.glade:
2503 - Font family entry should not be editable.
2504 - img_key_entry should have sensitivity=YES, so that it follows the
2505 sensitivity of img_key_combo.
2507 2005-01-19 Jim Evins <evins@snaught.com>
2510 Give credit to Frederic Ruaudel for the color merge patches.
2512 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2514 Add support to merge color for all other color attribute (Feature
2515 Requests item #1008635. If the data is invalid, the color used is transparent
2516 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2517 by gdk_color_parse() these include name for a color from rgb.txt, such as
2518 DarkSlateGray, or a hex specification such as #305050. File format has been
2519 changed but backward compatibility is preserved for all format. For
2520 box/ellipse/line, keep attribute "line_color" for static color or replace by
2521 "line_color_field" for merge data. For text/barcode objects, keep attribute
2522 "color" for static color or replace by "color_field" for merge data. In the
2523 edit canvas window, merged color are represented by half-transparent black
2526 * data/dtd/glabels-2.0.dtd:
2527 Added line_color_field to line_attrs. Added color_field to
2528 Object-barcode and Span.
2529 * data/glade/object-editor.glade:
2530 Modify the layout of the editor to add merge possibility to color options
2532 Fix a copy/paste error in a comment
2534 Add default color for merge color representation in the editor canvas.
2535 * src/label-barcode.c:
2536 * src/object-editor-bc-page.c:
2537 * src/view-barcode.c:
2538 Add merge color support for barcode color.
2541 Add merge color support for box border color.
2542 * src/label-ellipse.c:
2543 * src/view-ellipse.c:
2544 Add merge color support for ellipse border color.
2547 Add merge color support for line color.
2548 * src/label-object.c:
2549 * src/label-object.h:
2550 * src/object-editor.c:
2551 * src/object-editor.h:
2552 * src/ui-property-bar.c:
2555 * src/xml-label-04.c:
2556 * src/xml-label-191.c:
2557 Add support for merging to other color attribute.
2559 * src/object-editor-text-page.c:
2561 Add merge color support for text color.
2562 * src/object-editor-fill-page.c:
2563 Change a blocked handler that didn't match the good widget. Fix the type
2564 of some debug message.
2565 * src/object-editor-line-page.c:
2566 Add merging support to line color option.
2567 * src/object-editor-private.h:
2568 Add variables for new widget.
2570 Modify the draw functions to get merge data if needed.
2572 Change the default size of the window in order to see all widget in the
2573 "text style tab" of the editor.
2575 Modify the parser to record/retreive the field value for objects that need
2576 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2577 static color or replace by "line_color_field" for merge data. For
2578 text/barcode objects, keep attribute "color" for static color or replace
2579 by "color_field" for merge data.
2581 2005-01-17 Jim Evins <evins@snaught.com>
2583 * src/view.c: (screen_changed_cb):
2584 Don't do anything if we don't have a screen.
2586 2005-01-06 Jim Evins <evins@snaught.com>
2588 * src/view.c: (get_home_scale):
2589 Fixed bad call to gtk_widget_has_screen() -- huh?.
2591 2005-01-06 Jim Evins <evins@snaught.com>
2593 * data/dtd/glabels-2.0.dtd:
2594 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2597 2005-01-06 Jim Evins <evins@snaught.com>
2599 * data/glade/object-editor.glade:
2600 Set entries for fill and data field key dropdowns to NOT editable.
2601 * src/view-box.c: (construct_properties_editor):
2602 * src/view-ellipse.c: (construct_properties_editor):
2603 Update object editor when label's merge property has changed.
2604 * src/xml-label.c: (xml_parse_object_ellipse):
2605 Completed the merge color support for the ellipse item.
2607 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2609 Add support to merge color for object that have a "Fill color" attribute (Feature
2610 Requests item #1008635. If the data is invalid, the color used is transparent
2611 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2612 by gdk_color_parse() these include name for a color from rgb.txt, such as
2613 DarkSlateGray, or a hex specification such as #305050. File format has been
2614 changed but backward compatibility is preserved for all format. For box/ellipse,
2615 keep attribute "fill_color" for static color or replace by "fill_color_field"
2618 * data/glade/object-editor.glade:
2619 Modify "Fill" tab to add the merge key combo and convert the labels into
2623 Add "glColorNode" structure and associated functions to manage it. This
2624 structure is equivalent for color than the "glTextNode". It holds the color
2626 * src/label-object.h:
2627 * src/label-object.c:
2629 * src/label-ellipse.c:
2630 * src/ui-property-bar.c:
2634 * src/view-ellipse.c:
2635 * src/xml-label-04.c:
2636 * src/xml-label-191.c:
2637 Change functions of objects that have a "fill color" attribute to use the
2638 new "glColorNode" structure. Use barcode code as example.
2640 Add the color.[ch] file to glabels_batch binary that now need support for
2642 * src/object-editor.h:
2643 * src/object-editor.c:
2644 * src/object-editor-fill-page.c:
2645 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2646 to choose between static color or merge key. Use barcode code as example.
2647 * src/object-editor-private.h:
2648 Add new widget in the "_glObjectEditorPrivate" structure.
2650 Modify the draw functions to get merge data if needed.
2652 Modify the parser to record/retreive the field value for objects that need
2653 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2654 color or "fill_color_field" for merge data.
2656 2005-01-04 Jim Evins <evins@snaught.com>
2659 * data/templates/avery-iso-templates.xml:
2660 * data/templates/misc-iso-templates.xml:
2661 * data/templates/misc-us-templates.xml:
2662 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2665 2004-11-26 Jim Evins <evins@snaught.com>
2669 Updated french translations provided by Florent Morel <florent@taket.org>.
2670 * src/view-barcode.c:
2672 * src/view-ellipse.c:
2676 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2677 thus _() strings were not being translated.
2679 2004-11-14 Jim Evins <evins@snaught.com>
2682 * src/debug.c: (gl_debug_init), (gl_debug):
2683 Borrowed from gedit: use environmental variables to select debug
2686 Removed unused include of debug.h.
2687 * src/glabels.c: (main):
2688 Added call to gl_debug_init(), and removed debug clutter from command line
2690 * src/glabels-batch.c: (main):
2691 Added call to gl_debug_init().
2693 2004-11-13 Jim Evins <evins@snaught.com>
2695 Drawing and property toolbars were being initialized with the "icons and text"
2696 look in Fedora Core 3. Even though none of the buttons had any text attached to
2697 them, the buttons were being sized as if they were. This led to less real estate
2698 for the property editor, leading to Bug #1064630. The
2700 * data/ui/glabels-ui.xml:
2701 Added explicit "look" property to both drawing and property toolbars.
2702 * src/prefs-model.c: (gl_prefs_model_save_settings),
2703 (gl_prefs_model_load_settings):
2704 * src/prefs-model.h:
2705 Removed drawing_toolbar_button_style configuration parameter.
2706 * src/ui.c: (view_menu_item_toggled_cb),
2707 (set_app_drawing_toolbar_style):
2708 Do not attempt to adjust look property of the drawing toolbar.
2710 2004-10-28 Jim Evins <evins@snaught.com>
2712 * data/pixmaps/glabels-about-logo.png:
2715 2004-10-28 Jim Evins <evins@snaught.com>
2717 * data/man/glabels.1:
2718 * src/glabels-batch.c: (main):
2720 * src/print.c: (gl_print_batch):
2722 Added option to glabels-batch to select the first label to begin
2725 2004-09-26 Jim Evins <evins@snaught.com>
2727 * data/desktop/glabels.desktop.in:
2728 Point to app icon, "glabels.png"
2729 * data/mime/glabels.keys.in:
2730 Point at mime icon, "glabels-application-x-glabels.png"
2731 * data/pixmaps/Makefile.am:
2732 Added glabels_app_icondir. Renamed icons.
2733 * data/pixmaps/glabels.png:
2734 New cleaned up app icon. Deleted glabels-icon.png.
2735 * data/pixmaps/glabels-application-x-glabels.png:
2737 * data/pixmaps/glabels-splash.png:
2738 Renamed glabels-logo to glabels-splash to be more correct about role.
2740 * src/template-designer.c:
2741 Point at app icon, "glabels.png"
2743 Point at renamed splash image, "glabels-splash.png"
2745 2004-08-22 Jim Evins <evins@snaught.com>
2748 * src/glabels-batch.c: (main):
2749 Applied patch with minor mods to allow selecting merge source and
2750 crop-marks on glabels-batch's command line. Original patch provided by
2751 José Dapena Paz <jdapena@igalia.com>.
2753 2004-08-15 Jim Evins <evins@snaught.com>
2755 * data/desktop/glabels.desktop.in:
2756 - Added encoding line
2757 - Removed period from comment
2758 - Fixed Terminal line, changed "0" to "false"
2759 - Added semicolen to Categories line
2761 - Made sure desktop.in comment string above still translated properly
2763 2004-08-14 Jim Evins <evins@snaught.com>
2765 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2766 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2767 * src/xml-label-191.c: (xml191_parse_sheet):
2768 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2770 Reconciled libglabels versioning with 2.0.1.
2773 2004-08-14 Jim Evins <evins@snaught.com>
2776 Updated version to 2.1cvs.
2778 2004-08-14 Jim Evins <evins@snaught.com>
2781 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2783 2004-08-14 Jim Evins <evins@snaught.com>
2785 Fixes for Bug #1008181.
2787 * src/bc.c: (gl_barcode_default_digits):
2788 Make a format of zero digits, harmless.
2789 * src/xml-label.c: (xml_parse_object_barcode):
2790 Set default value of the format property of barcode objects to 10, not
2791 zero. This will prevent crashes when reading pre 2.0.x files.
2793 2004-08-09 Jim Evins <evins@snaught.com>
2797 * help/C/glabels-C.omf:
2798 * help/C/glabels.xml:
2799 Brought documentation up-to-date for 2.0.0 release.
2801 2004-08-09 Jim Evins <evins@snaught.com>
2803 These are hopefully the final preparations for 2.0.0.
2805 * data/mime/Makefile.am:
2806 Include glabels.xml in EXTRA_DIST.
2808 - Updated comment style.
2809 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2810 - Added package and version info to configuration printout
2811 - Update version to 2.0.0
2812 * libglabels/Makefile.am:
2813 Use the new LIBGLABELS_VERSION_INFO macro.
2815 2004-08-09 Jim Evins <evins@snaught.com>
2819 Cleanup of required library macros.
2821 2004-08-08 Jim Evins <evins@snaught.com>
2825 - More specific of what to install in /usr/bin and /usr/lib
2826 - Remove built mime registration files from staging directory
2828 2004-08-08 Jim Evins <evins@snaught.com>
2830 * data/mime/Makefile.am:
2831 Fixed typo: key_files should have been keys_files.
2833 2004-08-08 Jim Evins <evins@snaught.com>
2835 Reorganization of runtime data files. Also added registration of mimetype with
2836 new freedesktop.org mime database if available.
2839 Moved files to appropriate subdirectories, creating local Makefile.am
2840 in each subdirectory.
2841 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2842 These are now installed at $datadir/glabels/templates.
2843 - Moved glabels.1 to man subdirectory.
2844 - Moved glabels-2.0.dtd to dtd subdirectory.
2845 - Moved glabels.desktop.in to desktop subdirectory.
2846 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2848 Moved "./pixmaps" to "./data/pixmaps"
2850 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2852 Moved libglade files from src to data/glade. Created Makefile.am.
2854 Removed pixmaps from SUBDIRS.
2856 - Removed pixmaps from makefiles.
2857 - Added makefiles for new subdirs of data.
2858 - Added tests for freedesktop.org mime database.
2860 - Added tests for freedesktop.org mime database for post install and
2861 post un-install actions.
2862 * libglabels/Makefile.am:
2863 Moved system template files to $(datadir)/glabels/templates.
2864 * libglabels/libglabels-private.h:
2865 Moved system template files to $(datadir)/glabels/templates.
2867 - Accounted for movement of ui and libglade files.
2868 - Added missing .in files.
2869 - Reorganized by directory.
2871 Accounted for movement of ui and libglade files.
2872 * data/mime/glabels.xml.in:
2873 New file for registering with freedesktop.org mime database.
2875 2004-08-07 Jim Evins <evins@snaught.com>
2877 * src/recent-files/*:
2878 Re-synced to latest libegg/recent-files.
2880 2004-08-07 Jim Evins <evins@snaught.com>
2885 Renamed "./doc" directory to "./help" which contains user documentation,
2886 to be more consistent with other GNOME applications.
2889 2004-07-26 Jim Evins <evins@snaught.com>
2891 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2892 Corrected button order of merge properties dialog.
2894 2004-07-18 Jim Evins <evins@snaught.com>
2896 * data/glabels-2.0.dtd:
2897 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2898 (gl_barcode_get_prefered_n):
2900 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2901 (gl_label_barcode_get_props), (get_size):
2902 * src/label-barcode.h:
2903 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2904 (style_changed_cb), (gl_object_editor_set_bc_style),
2905 (gl_object_editor_get_bc_style):
2906 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2907 (gl_object_editor_set_data), (gl_object_editor_get_data):
2908 * src/object-editor-private.h:
2909 * src/object-editor.c: (gl_object_editor_set_key_names):
2910 * src/object-editor.glade:
2911 * src/object-editor.h:
2912 * src/print.c: (draw_barcode_object):
2913 * src/view-barcode.c: (update_object_from_editor_cb),
2914 (update_editor_from_object_cb),
2915 (gl_view_barcode_create_event_handler), (draw_barcode):
2916 * src/xml-label-04.c: (xml04_parse_barcode_props):
2917 * src/xml-label-191.c: (xml191_parse_barcode_props):
2918 * src/xml-label.c: (xml_parse_object_barcode),
2919 (xml_create_object_barcode):
2920 Added "format" attribute to barcode objects. This attribute is used
2921 to properly format freeform barcodes barcodes prior to merge data is
2922 applied, so that barcodes can be accurately layed out. This addresses
2923 remaining issues of feature request #824787. Also added an example of
2924 the format in the object editor.
2926 2004-07-12 Jim Evins <evins@snaught.com>
2928 Various code cleanups.
2930 * src/label-barcode.c:
2931 Removed unneeded include of gnome-glyphlist.h.
2933 * src/label-text.c: (get_size):
2934 Fixed memory leak: unref glyphlists when done with them.
2936 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2937 * src/object-editor-data-page.c:
2938 (gl_object_editor_prepare_data_page):
2939 * src/object-editor-image-page.c:
2940 (gl_object_editor_prepare_image_page):
2941 * src/object-editor-line-page.c:
2942 (gl_object_editor_prepare_line_page):
2943 * src/object-editor-lsize-page.c:
2944 (gl_object_editor_prepare_lsize_page):
2945 * src/object-editor-position-page.c:
2946 (gl_object_editor_prepare_position_page):
2947 * src/object-editor-size-page.c:
2948 (gl_object_editor_prepare_size_page):
2949 * src/object-editor-text-page.c:
2950 (gl_object_editor_prepare_text_page):
2951 Removed unneeded size groups, originally intended to keep widgets aligned.
2952 Now use tables to lay these out in object-editor.glade.
2954 * src/print.c: (draw_text_object):
2955 Fixed memory leak: unref glyphlists when done with them.
2957 * src/view-barcode.c: (draw_barcode):
2958 Fixed memory leak: unref glyphlists when done with them.
2960 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2961 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2963 - Fixed memory leak: unref glyphlists when done with them.
2965 2004-07-11 Jim Evins <evins@snaught.com>
2967 * data/glabels-2.0.dtd:
2968 * src/label-text.c: (gl_label_text_instance_init), (copy),
2969 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2971 * src/object-editor-private.h:
2972 * src/object-editor-text-page.c:
2973 (gl_object_editor_prepare_text_page),
2974 (gl_object_editor_set_text_auto_shrink),
2975 (gl_object_editor_get_text_auto_shrink):
2976 * src/object-editor.c: (gl_object_editor_set_key_names):
2977 * src/object-editor.glade:
2978 * src/object-editor.h:
2979 * src/print.c: (draw_text_object):
2980 * src/view-text.c: (update_object_from_editor_cb),
2981 (update_editor_from_object_cb):
2982 * src/xml-label.c: (xml_parse_object_text),
2983 (xml_create_object_text):
2984 Added option to allow document merge to auto shrink text size to fit
2985 within the text box. The code in print.c that actually shrinks the
2986 text is loosely based on a patch submitted by Mark Harrison
2987 <mark.harrison@velocitynet.com.au>. This addresses feature request
2990 2004-07-11 Jim Evins <evins@snaught.com>
2992 * data/glabels-2.0.dtd:
2993 * libglabels/template.c: (gl_template_rect_label_type_new),
2994 (gl_template_round_label_type_new),
2995 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2996 (template_full_page):
2997 * libglabels/template.h:
2998 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2999 (xml_create_label_node):
3000 * pixmaps/ex-rect-size.png:
3001 * src/print.c: (clip_to_outline), (clip_punchouts):
3002 * src/template-designer.c: (construct_rect_size_page),
3003 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3005 * src/template-designer.glade:
3006 * src/xml-label-191.c: (xml191_parse_label):
3007 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3008 properties for rectangular labels. Templates remain backwards compatible,
3009 but this breaks the libglabels API (I don't know of anyone outside of
3010 glabels using libglabels at this time -- what can I say, the program is
3011 is still "unstable"). This addresses the suggestion in Feature Request
3014 2004-07-05 Jim Evins <evins@snaught.com>
3015 * src/print.c: (print_crop_marks), (draw_outline):
3016 Changed crop marks and label outlines to black, instead of 25% gray.
3017 This addresses debian Bug #257460.
3019 2004-07-05 Jim Evins <evins@snaught.com>
3021 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3022 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3023 Preserve "is_default" of fill and line color_combos when creating from
3026 2004-07-02 Jim Evins <evins@snaught.com>
3029 Created man page. Based on page submitted by Matthew J. Lockner, however
3030 it has been severely edited.
3032 * data/avery-other-templates.xml
3033 * data/misc-other-templates.xml:
3034 Started new files for predefined templates with non-standard sheet sizes.
3035 These have been initially populated with the Avery 06141 and
3036 OfficeMax #86112, both provided by Matthew J. Lockner.
3039 Install above manpage and template files.
3042 Make sure we install man pages.
3044 * src/glabels-batch.c:
3045 Changed short form of help option to '-?' to be consistent with glabels.
3048 Added acknowledgement for above labels.
3050 2004-07-02 Jim Evins <evins@snaught.com>
3052 * src/glabels.c: (main), (save_session_cb):
3053 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3055 - save_session_cb() now returns gboolean.
3056 - Minor formatting changes.
3060 - Now include file.h to provide missing prototype.
3061 - gl_window_get_type() now returns GType, not guint. I believe this may
3062 ultimately be cause of the segfault reported in Bug #982287, since
3063 GType is actually a gulong, which may not be compatible on other
3064 architectures (64bit) -- I cannot personally test this at this time.
3065 I was sloppy in several other xxx_get_type() functions which also
3066 returned guint -- see next group of files:
3068 * src/window.c: (gl_window_get_type):
3069 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3070 * src/canvas-hacktext.h:
3071 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3072 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3073 (gl_hig_hbox_get_type):
3075 * src/label-barcode.c: (gl_label_barcode_get_type):
3076 * src/label-barcode.h:
3077 * src/label-box.c: (gl_label_box_get_type):
3079 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3080 * src/label-ellipse.h:
3081 * src/label-image.c: (gl_label_image_get_type):
3082 * src/label-image.h:
3083 * src/label-line.c: (gl_label_line_get_type):
3085 * src/label-object.c: (gl_label_object_get_type):
3086 * src/label-object.h:
3087 * src/label-text.c: (gl_label_text_get_type):
3089 * src/label.c: (gl_label_get_type):
3091 * src/merge-properties-dialog.c:
3092 (gl_merge_properties_dialog_get_type):
3093 * src/merge-properties-dialog.h:
3094 * src/merge-text.c: (gl_merge_text_get_type):
3096 * src/merge.c: (gl_merge_get_type):
3098 * src/object-editor.c: (gl_object_editor_get_type):
3099 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3100 * src/prefs-dialog.h:
3101 * src/prefs-model.c: (gl_prefs_model_get_type):
3102 * src/prefs-model.h:
3103 * src/print-dialog.c: (gl_print_dialog_get_type):
3104 * src/print-dialog.h:
3105 * src/template-designer.c: (gl_template_designer_get_type):
3106 * src/template-designer.h:
3107 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3108 * src/ui-property-bar.h:
3109 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3111 * src/view-barcode.c: (gl_view_barcode_get_type):
3112 * src/view-barcode.h:
3113 * src/view-box.c: (gl_view_box_get_type):
3115 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3116 * src/view-ellipse.h:
3117 * src/view-highlight.c: (gl_view_highlight_get_type):
3118 * src/view-highlight.h:
3119 * src/view-image.c: (gl_view_image_get_type):
3121 * src/view-line.c: (gl_view_line_get_type):
3123 * src/view-object.c: (gl_view_object_get_type):
3124 * src/view-object.h:
3125 * src/view-text.c: (gl_view_text_get_type):
3127 * src/view.c: (gl_view_get_type):
3129 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3130 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3131 * src/wdgt-image-select.h:
3132 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3133 * src/wdgt-media-select.h:
3134 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3135 * src/wdgt-mini-preview.h:
3136 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3137 * src/wdgt-print-copies.h:
3138 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3139 * src/wdgt-print-merge.h:
3140 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3141 * src/wdgt-rotate-label.h:
3142 - Made sure all xxx_get_type functions returned GType, not guint. This
3143 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3144 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3145 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3146 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3147 window.[ch] details above for more info.
3148 - Reconciled various coding style differences in all xxx_get_type()
3150 * All prototypes include G_GNUC_CONST.
3151 * All prototypes specify the return value as GType, not GtkType
3153 * Info structures are all declared as "static const."
3154 * Generalized the names of type and info variables.
3155 * Miscelaneous formatting.
3157 2004-06-08 Jim Evins <evins@snaught.com>
3163 Don't touch compression of original file -- still defaults to 9 for
3164 new files. Original patch provided by Javier Donaire Segarra
3165 (#912252 in patch tracker).
3167 2004-05-05 Jim Evins <evins@snaught.com>
3169 * data/glabels-2.0.dtd:
3170 Broke DTD previously when adding new barcode types that contain a
3171 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3172 to avoid the problem.
3173 * data/avery-iso-templates.xml:
3174 * data/zweckform-iso-templates.xml:
3176 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3177 provided by Frank Altpeter.
3178 * libglabels/xml-template.c: (xml_create_label_node):
3179 Reordered markup and layout sub-nodes so that resulting templates will
3180 validate against DTD.
3182 2004-03-13 Jim Evins <evins@snaught.com>
3184 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3185 Changed spin callback signals from "value-changed" back to "changed."
3186 This was accidentally introduced in a previous revision, and can cause
3187 size changes just by selecting the size tab.
3189 2004-03-06 Jim Evins <evins@snaught.com>
3191 * src/view.c: (draw_grid_layer):
3192 For round labels (round and cd) adjust grid so that it lines up with
3193 center of label. Also, no longer draw box around label in the grid layer,
3194 it is hidden by he fg layer anyway. Feature suggested by
3195 nemolivier@free.fr. Although the grid is aligned with the center of the
3196 label, the coordinate system is still relative to the upper left corner
3197 of the rectangle containing the label.
3199 2004-02-25 Jim Evins <evins@snaught.com>
3202 Changed version to 2.0pre1cvs
3204 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3205 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3206 instead of doc->name fields when errors encountered.
3208 2004-02-21 Jim Evins <evins@snaught.com>
3210 * data/avery-iso-templates.xml:
3211 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3214 Added libglabels library and include file to installed files.
3217 Final prep for 1.93.3.
3219 2004-02-20 Jim Evins <evins@snaught.com>
3221 * src/glabels-batch.c: (main):
3222 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3223 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3225 2004-02-16 Jim Evins <evins@snaught.com>
3228 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3231 Added HAVE_FILE_CHOOSER to INCLUDES.
3233 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3234 (gl_file_save_as), (save_as_response):
3235 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3237 2004-02-16 Jim Evins <evins@snaught.com>
3239 * src/xml-label-04.c: (xml04_parse_image_props):
3240 * src/xml-label-191.c: (xml191_parse_image_props):
3241 * src/xml-label.c: (xml_parse_object_image):
3242 Delay setting image size until after image has been applied to new
3245 2004-02-15 Jim Evins <evins@snaught.com>
3247 * src/label-barcode.c: (gl_label_barcode_set_data),
3248 (gl_label_barcode_set_props):
3249 Don't emit "changed" signal, if no change actually made for these
3250 methods. Reduces number of unnecessary redraws of barcodes.
3252 * src/label-object.h:
3253 * src/label-object.c: (gl_label_object_set_position),
3254 (gl_label_object_set_position_relative), (set_size),
3255 (gl_label_object_set_size),
3256 (gl_label_object_set_size_honor_aspect):
3257 Don't emit "changed" signal, if no change actually made for these
3260 2004-02-15 Jim Evins <evins@snaught.com>
3262 * data/glabels-2.0.dtd:
3263 Added specific subtypes for various barcode types.
3266 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3267 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3268 (gl_barcode_can_text), (gl_barcode_text_optional),
3269 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3270 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3271 Changed API to use a string id, rather than a fixed enumeration. Id and
3272 name are separate strings. Added entries to backend table for specific
3273 subtypes for various barcode types.
3276 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3278 Modified to conform to above API. Now more stringent with data length
3279 for various subtypes.
3281 * src/bc-gnubarcode.h:
3282 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3283 (is_length_valid), (is_length1_valid), (is_length2_valid):
3284 Modified to conform to above API. Now more stringent with data length
3285 for various subtypes.
3287 * src/label-barcode.h:
3288 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3289 (gl_label_barcode_get_props), (get_size):
3290 Modified to use above API for storing barcode type.
3292 * src/object-editor.h:
3293 * src/object-editor-bc-page.c: (style_changed_cb),
3294 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3295 Modified to use above API for storing barcode type.
3297 * src/object-editor-size-page.c:
3298 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3299 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3300 Added debug markers.
3302 * src/object-editor.glade:
3303 Made barcode style combo's text entry non-editable.
3305 * src/print.c: (draw_barcode_object):
3306 Modified to use above API for barcode type.
3308 * src/view-barcode.c: (update_object_from_editor_cb),
3309 (update_editor_from_object_cb),
3310 (gl_view_barcode_create_event_handler), (draw_barcode):
3311 Modified to use above API for barcode type.
3313 * src/xml-label-04.c: (xml04_parse_barcode_props):
3314 * src/xml-label-191.c: (xml191_parse_barcode_props):
3315 * src/xml-label.c: (xml_parse_object_barcode),
3316 (xml_create_object_barcode):
3317 Modified to use above API for barcode type.
3319 2004-02-07 Jim Evins <evins@snaught.com>
3321 * src/stock-pixmaps/Makefile.am:
3322 * src/stock-pixmaps/stock_hchain_24.png:
3323 * src/stock-pixmaps/stock_hchain_broken_24.png:
3324 * src/stock-pixmaps/stock_vchain_24.png:
3325 * src/stock-pixmaps/stock_vchain_broken_24.png:
3326 Added chain pixmaps borrowed from the gimp's default theme.
3329 * src/stock.c: (gl_stock_init), (add_button_icon):
3330 Added above pixmaps to stock icon sets. Created add_button_icon() to
3331 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3333 * src/wdgt-chain-button.h
3334 * src/wdgt-chain-button.c
3337 Added this Modified version of gimpchainbutton widget, borrowed from
3341 Added acknowledgements of the above borrowing from the gimp.
3343 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3345 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3346 * src/object-editor.glade:
3347 Replaced the keep aspect ratio check box with the above chain-button
3350 * src/text-node.c: (gl_text_node_equal):
3352 Added function gl_text_node_equal() to compare text_nodes.
3354 * src/label-image.c: (gl_label_image_set_filename):
3355 Replaced incomplete text_node comparison code with invocation of
3356 gl_text_node_equal. This fixed the problem of not being able to
3357 resize an image using the object_editor if the aspect ratio is not
3360 2004-02-04 Jim Evins <evins@snaught.com>
3362 * src/object-editor-image-page.c:
3363 (gl_object_editor_prepare_image_page):
3364 Track "changed" signal of pixmap entry's GtkEntry rather than its
3365 "activate" signal -- this catches all changes to the entry rather than
3366 just changes resulting from a browse, so one can easily pull previous
3367 entries from the history. (This change is marked below on 2004-02-03,
3368 but somehow never got checked in.)
3370 * src/view-highlight.c: (sl_resize_event_handler),
3371 (sr_resize_event_handler), (st_resize_event_handler),
3372 (sb_resize_event_handler):
3373 Side resize handles will now confirm the actual resize that the object
3374 accepted before adjusting position parameters. Previously some interesting
3375 things happened when resizing a barcode to its minimum size.
3377 2004-02-03 Jim Evins <evins@snaught.com>
3379 * src/object-editor-image-page.c:
3380 (gl_object_editor_prepare_image_page):
3381 Track "changed" signal of pixmap entry's GtkEntry rather than its
3382 "activate" signal -- this catches all changes to the entry rather than
3383 just changes resulting from a browse, so one can easily pull previous
3384 entries from the history.
3386 * src/view-highlight.c: (tl_resize_event_handler),
3387 (tr_resize_event_handler), (bl_resize_event_handler),
3388 (br_resize_event_handler):
3389 Allow control key to be dropped while dragging a corner resize handle
3390 without losing the aspect ratio lock.
3392 2004-02-02 Jim Evins <evins@snaught.com>
3394 * src/label-image.c: (gl_label_image_set_filename):
3395 When setting a new filename adjust size such that the aspect ratio of
3396 the image is preserved using the current size as a bounding box.
3398 * src/view-image.c: (update_object_from_editor_cb):
3399 When updating object from editor, feed back possible size changes to
3400 editor as a result of a possible change in image.
3402 * src/object-editor-size-page.c: (size_reset_cb):
3403 Fixed typo when blocking spin handlers. If the base size is larger than
3404 the max size, treat max size as a bounding box while keeping aspect
3408 2004-02-02 Jim Evins <evins@snaught.com>
3410 * src/label-object.h:
3411 * src/label-object.c: (gl_label_object_set_size),
3412 (gl_label_object_set_size_honor_aspect):
3413 Added gl_label_object_set_size_honor_aspect() which will maintain the
3414 current aspect ratio by modifying the supplied w or h apropriately.
3416 * src/view-highlight.c: (tl_resize_event_handler),
3417 (tr_resize_event_handler), (bl_resize_event_handler),
3418 (br_resize_event_handler):
3419 Corner handles will now maintain the current aspect ratio if the
3420 control key is pressed while resizing. This addresses feature
3424 2004-01-31 Jim Evins <evins@snaught.com>
3427 * data/avery-us-templates.xml:
3428 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3430 * libglabels/template.c: (read_template_files_from_dir):
3431 Corrected problem with testing for extensions.
3433 * src/object-editor.glade:
3434 Corrected grouping of radio buttons in barcode data page.
3436 * src/print.c: (draw_barcode_object):
3437 * src/view-barcode.c: (draw_barcode):
3438 Corrected problem with calculation of y_offset for locating characters.
3440 2004-01-24 Jim Evins <evins@snaught.com>
3443 * data/avery-us-templates.xml:
3444 Added Avery 5824, submitted by Fred Bacon.
3446 2004-01-20 Jim Evins <evins@snaught.com>
3448 Catching up on a couple of backlogged user template submissions.
3450 * data/avery-iso-templates.xml:
3451 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3452 Suggested by Linas Jakucionis.
3454 * data/zweckform-iso-templates.xml:
3455 Added Zweckform 4760, submitted by Thomas Vill.
3458 Updated to reflect above submissions.
3460 2004-01-06 Jim Evins <evins@snaught.com>
3462 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3463 xml.[ch] into a separate library called libglabels, to facilitate third
3464 party use of glabels template files. This was suggested by Wayne Schuller.
3465 Once split-out, some modifications to the structures and functions to
3466 make a cleaner more useful API, hopefully. Rather extensive changes have
3467 propogated to other modules.
3475 * src/xml-template.h:
3476 * src/xml-template.c:
3479 These files have been moved to libglabels/. API cleanup performed.
3481 * libglabels/libglabels.h:
3482 * libglabels/libglabels-private.h:
3483 * libglabels/Makefile.am:
3484 These files have been added to finish out libglabels.
3491 Modified to reflect new sets of files in src/ and libglabels/.
3493 * COPYING.LIBGLABELS:
3495 Added copy of the LGPL for libglabels, and a copy the GFDL for
3498 * src/glabels-batch.c:
3500 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3501 (gl_label_get_size):
3503 * src/prefs-model.c: (gl_prefs_model_load_settings):
3504 * src/print-dialog.c:
3505 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3506 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3507 (print_crop_marks), (print_label), (draw_outline),
3508 (clip_to_outline), (clip_punchouts):
3509 * src/template-designer.c: (construct_pg_size_page),
3510 (pg_size_page_changed_cb), (layout_page_changed_cb),
3511 (print_test_cb), (build_template):
3512 * src/util.c: (gl_util_fraction):
3514 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3515 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3516 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3517 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3518 (draw_markup_margin_round), (draw_markup_margin_cd),
3519 (draw_markup_margin_cd_bc), (draw_markup_line),
3520 (draw_markup_circle), (gl_view_copy):
3521 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3522 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3523 (get_label_size_desc):
3524 * src/wdgt-mini-preview.c:
3525 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3527 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3528 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3529 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3530 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3531 * src/wdgt-rotate-label.h:
3532 * src/xml-label-04.c: (xml04_parse_media_description):
3533 * src/xml-label-191.c: (gl_xml_label_191_parse),
3534 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3535 (xml191_parse_markup), (xml191_parse_alias):
3536 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3538 Various changes to accomodate new libglabels API.
3540 2004-01-03 Jim Evins <evins@snaught.com>
3545 2004-01-03 Jim Evins <evins@snaught.com>
3548 Added acknowledgement of contributions by Wayne Schuller.
3550 * src/commands.c: (gl_cmd_file_print):
3551 Create extra reference to print dialog, so that it can be properly re-used.
3553 * src/mygal/mygal-combo-box.h:
3554 * src/mygal/mygal-combo-box.c:
3555 (mygal_combo_box_popup_hide_unconditional),
3556 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3557 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3558 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3559 (mygal_combo_box_set_tearable):
3560 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3561 complete the rename of this widget to prevent namespace collisions
3564 * src/prefs-dialog.glade:
3565 Fixed alignment of Fill/Color widgets.
3567 2004-01-03 Jim Evins <evins@snaught.com>
3569 * data/avery-iso-templates.xml:
3570 Added user submitted templates.
3571 Avery 8435A & 8435B, submitted by Ludger Solbach.
3573 * doc/C/glabels.xml:
3574 Added minimal documentation, noting the new template designer.
3576 2004-01-03 Jim Evins <evins@snaught.com>
3578 * pixmaps/ex-rect-size.png:
3579 * pixmaps/ex-round-size.png:
3580 * pixmaps/ex-cd-size.png:
3581 * pixmaps/Makefile.am:
3582 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3583 files to be used as illustrations/examples in the template-designer.
3585 * src/template-designer.c: (construct_rect_size_page),
3586 (construct_round_size_page), (construct_cd_size_page),
3587 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3588 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3589 (layout_page_prepare_cb), (build_template):
3590 * src/template-designer.glade:
3591 Added illustrations for rectangle, round, and cd label size pages.
3592 Added margin spinboxes to these pages, and now add a margin markup
3593 to the constructed template. Added realistic default values for
3594 some of the size spinboxes. Cleaned up the code for setting spinbox
3595 ranges on the layouts page.
3597 2004-01-02 Jim Evins <evins@snaught.com>
3599 * src/object-editor-size-page.c: (h_spin_cb):
3600 Fixed cut-n-paste error in h_spin_cb that loaded h from
3601 the wrong spinbutton.
3603 * src/object-editor.h:
3604 * src/object-editor.c: (gl_object_editor_class_init),
3605 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3606 * src/object-editor-private.h:
3607 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3609 Added "size_changed" signal.
3611 * src/view-text.c: (construct_properties_editor),
3612 (update_object_from_editor_cb),
3613 (update_object_from_editor_size_cb):
3614 Track size changes from object editor separately from other
3615 properties. This is so the default size (0,0) of a text
3616 object is not modified unintentionally.
3618 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3620 Added feature: line spacing - allows you to comfortably space a text box to
3621 fit a label perfectly.
3623 * data/glabels-2.0.dtd:
3624 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3625 (gl_label_object_get_text_alignment),
3626 (gl_label_object_get_text_line_spacing):
3627 * src/label-object.h:
3628 * src/label-text.c: (gl_label_text_class_init),
3629 (gl_label_text_instance_init), (copy), (get_size),
3630 (set_text_line_spacing), (get_text_alignment),
3631 (get_text_line_spacing):
3632 * src/object-editor-private.h:
3633 * src/object-editor-text-page.c:
3634 (gl_object_editor_prepare_text_page),
3635 (gl_object_editor_set_text_line_spacing),
3636 (gl_object_editor_get_text_line_spacing):
3637 * src/object-editor.glade:
3638 * src/object-editor.h:
3639 * src/prefs-dialog.c: (construct_object_page),
3640 (update_object_page_from_prefs), (update_prefs_from_object_page):
3641 * src/prefs-dialog.glade:
3642 * src/prefs-model.c: (gl_prefs_model_save_settings),
3643 (gl_prefs_model_load_settings), (get_float):
3644 * src/prefs-model.h:
3645 * src/print.c: (draw_text_object):
3647 * src/view-text.c: (update_object_from_editor_cb),
3648 (update_editor_from_object_cb),
3649 (gl_view_text_create_event_handler), (draw_hacktext):
3650 * src/view.c: (gl_view_construct),
3651 (gl_view_set_selection_text_line_spacing),
3652 (gl_view_set_default_text_line_spacing),
3653 (gl_view_get_default_text_line_spacing):
3655 * src/xml-label.c: (xml_parse_toplevel_span),
3656 (xml_create_toplevel_span):
3658 2003-12-30 Jim Evins <evins@snaught.com>
3660 * src/template-designer.c:
3661 * src/template-designer.h:
3662 * src/template-designer.glade:
3663 New template designer assistant.
3667 Added entries for src/template-designer.* files.
3669 * pixmaps/ex-1layout.png
3670 * pixmaps/ex-2layouts.png
3671 * pixmaps/Makefile.am:
3672 Added the new image files ex-*.png used as illustrations in the
3673 template designer assistant.
3675 * src/print-dialog.h:
3676 * src/print-dialog.c: (gl_print_dialog_finalize),
3677 (gl_print_dialog_new), (gl_print_dialog_construct),
3678 (gl_print_dialog_force_outline_flag):
3679 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3680 to support printing from the template designer assistant which does not
3681 have a full-fledged view. Nothing else from the view object was being
3682 used by the dialog anyway.
3684 Added the gl_print_dialog_force_outline_flag() method, for better
3685 integration with the template designer assistant.
3689 * src/commands.c: (gl_cmd_file_template_designer),
3690 (gl_cmd_file_print):
3691 Modified print command to provide label instead of view to dialog.
3692 Added the gl_cmd_file_template_designer() command to invoke the
3693 template designer assistant.
3696 * src/glabels-ui.xml:
3697 Added support for template designer assistant.
3699 * src/wdgt-mini-preview.h:
3700 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3701 (gl_wdgt_mini_preview_set_bg_color):
3702 Preview is now centered in canvas. Added
3703 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3704 assistant to match the background color with its own.
3706 * src/print.c: (clip_to_outline):
3707 Fixed really stupid bug when adding waste to clip region of rectangular
3708 labels/cards. Each side of the clip region needs to be extended by
3709 twice the waste margin, as well as negatively offset by the waste
3712 2003-12-28 Jim Evins <evins@snaught.com>
3714 * src/prefs-dialog.c: (update_object_page_from_prefs):
3715 Block intermediary function align_toggle_cb() instead of
3716 update_prefs_from_object_page() for the three alignment
3719 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3721 * src/file.c: (gl_file_new), (gl_file_properties):
3722 Swap button order and set default for higificatory pleasure.
3724 2003-12-27 Jim Evins <evins@snaught.com>
3726 * barcode-0.98/Makefile.am:
3727 One last time: removed doc/Makefile and po/Makefile.in.in from
3730 2003-12-27 Jim Evins <evins@snaught.com>
3732 * barcode-0.98/Makefile.am:
3733 Removed config.stat entry from EXTRA_DIST files.
3735 * barcode-0.98/Makefile.in:
3738 2003-12-27 Jim Evins <evins@snaught.com>
3741 Updated to work with latest gnome-common package from CVS.
3742 Removed recursive configuration of barcode-0.98.
3749 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3751 * barcode-0.98/Makefile.in:
3752 * barcode-0.98/configure.in:
3753 * barcode-0.98/Makefile.am:
3754 * barcode-0.98/README.glabels:
3755 Modified to ignore the barcode package's build system, and build
3756 as a part of glabels.
3757 Renamed Makefile.in to Makefile.in.dist.
3758 Renamed configure.in to configure.in.dist.
3759 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3762 * src/mygal/Makefile.am:
3763 * src/recent-files/Makefile.am:
3764 In order to build against the GNOME 2.5 platform,
3765 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3767 * src/mygal/Makefile.am:
3768 * src/mygal/mygal-combo-box.c:
3769 * src/mygal/mygal-combo-box.h:
3770 * src/mygal/widget-color-combo.c:
3771 * src/mygal/widget-color-combo.h:
3773 In order to build against the GNOME 2.5 platform,
3774 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3775 collisions with the real gtk_combo_box widget, now a part of gtk.
3777 2003-12-26 Jim Evins <evins@snaught.com>
3783 Moved local versions of get_home_data_dir() in paper.c and
3784 template.c to util package. Cleaned up formatting in
3788 In gl_template_register() save a copy of the template in
3789 ~/.glabels if the template is not known. Still need to
3790 handle duplicate filename case and duplicate name but
3791 different template case.
3795 Moved local definition of NAME_SPACE macro from xml-label.c
3798 * src/xml-template.c:
3799 * src/xml-template.h:
3800 Added function gl_xml_template_write_template_to_file(), used
3801 in gl_template_register().