1 2007-11-18 Jim Evins <evins@snaught.com>
3 * libglabels/db.c: (lgl_db_register_template), (read_templates):
4 When registering a new template, don't add to "User defined" category before
5 writing to file. Add to "User defined" category when reading from "~/.glabels"
6 directory instead. This will allow legacy templates (and manually created
7 templates) to be automatically added to the "user defined" category.
8 * libglabels/xml-template.c:
9 (lgl_xml_template_create_template_node):
10 Fixed typo/bug causing brand to be wrong.
12 2007-11-16 Jim Evins <evins@snaught.com>
16 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
17 function. Automatically create "User defined" category and add to all user
19 * libglabels/xml-template.c:
20 * libglabels/xml-template.h:
21 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
22 lgl_xml_template_write_template_to_file().
23 * docs/libglabels/libglabels-decl-list.txt:
24 * docs/libglabels/libglabels-sections.txt:
25 * docs/libglabels/libglabels-undocumented.txt:
26 * docs/libglabels/tmpl/db.sgml:
27 * docs/libglabels/tmpl/xml-template.sgml:
28 Update documentation to reflect above changes.
30 2007-10-28 Jim Evins <evins@snaught.com>
32 * libglabels/xml-template.c:
33 Remove any leading white space from part #s when parsing old names.
34 * src/mini-preview-pixbuf-cache.c:
35 If name isn't in cache add it.
37 2007-10-26 Jim Evins <evins@snaught.com>
39 * libglabels/Makefile.am:
40 * libglabels/category.c:
41 * libglabels/category.h:
44 * libglabels/libglabels-private.h:
45 * libglabels/libglabels.h:
48 * libglabels/template.c:
49 * libglabels/template.h:
50 * libglabels/xml-template.c:
51 Another pass at screwing with the libglabels API. Moved all
52 database related stuff to db.[ch].
53 * docs/libglabels/libglabels-decl-list.txt:
54 * docs/libglabels/libglabels-docs.sgml:
55 * docs/libglabels/libglabels-sections.txt:
56 * docs/libglabels/libglabels-undocumented.txt:
57 * docs/libglabels/tmpl/category.sgml:
58 * docs/libglabels/tmpl/db.sgml:
59 * docs/libglabels/tmpl/init.sgml:
60 * docs/libglabels/tmpl/libglabels-unused.sgml:
61 * docs/libglabels/tmpl/paper.sgml:
62 * docs/libglabels/tmpl/template-construction.sgml:
63 * docs/libglabels/tmpl/template-db.sgml:
64 * docs/libglabels/tmpl/template-misc.sgml:
65 * docs/libglabels/tmpl/template-struct.sgml:
66 * docs/libglabels/tmpl/template.sgml:
67 Updated documentation to reflect above changes to libglabels API.
69 * src/glabels-batch.c:
71 * src/mini-preview-pixbuf-cache.c:
74 * src/template-designer.c:
75 * src/wdgt-media-select.c:
76 * src/wdgt-mini-preview.c:
77 * src/wdgt-rotate-label.c:
80 Reconciled usage with above libglabels API changes.
82 2007-10-21 Jim Evins <evins@snaught.com>
84 * data/glade/wdgt-media-select.glade:
85 * src/wdgt-media-select.c:
86 Added brand to filter settings.
88 2007-10-21 Jim Evins <evins@snaught.com>
90 * data/dtd/glabels-2.2.dtd:
91 Forgot to replace Alias name attribute with brand and part attributes.
92 * data/templates/avery-iso-templates.xml:
93 * data/templates/avery-other-templates.xml:
94 * data/templates/avery-us-templates.xml:
95 * data/templates/misc-iso-templates.xml:
96 * data/templates/misc-other-templates.xml:
97 * data/templates/misc-us-templates.xml:
98 * data/templates/zweckform-iso-templates.xml:
99 Replaced all name attributes with brand/part attribute pairs.
101 2007-10-20 Jim Evins <evins@snaught.com>
103 * src/stock-pixmaps/*.png
104 Updated icons to use Tango color palette.
106 2007-10-20 Jim Evins <evins@snaught.com>
108 * data/dtd/Makefile.am:
109 * data/dtd/glabels-2.0.dtd:
110 * data/dtd/glabels-2.2.dtd:
111 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
113 * libglabels/template.c:
114 * libglabels/template.h:
115 * libglabels/xml-template.c:
117 Added brand and part attributes to template and alias structures and nodes.
120 * src/mini-preview-pixbuf-cache.c:
121 * src/template-designer.c:
122 * src/wdgt-media-select.c:
123 Use modified libglabels API.
124 * docs/libglabels/libglabels-decl-list.txt:
125 * docs/libglabels/libglabels-sections.txt:
126 * docs/libglabels/libglabels-undocumented.txt:
127 * docs/libglabels/tmpl/template-construction.sgml:
128 * docs/libglabels/tmpl/template-db.sgml:
129 * docs/libglabels/tmpl/template-struct.sgml:
130 Update libglabels documentation to reflect above modifications.
132 2007-10-14 Jim Evins <evins@snaught.com>
134 * docs/libglabels/libglabels-decl-list.txt:
135 * docs/libglabels/libglabels-sections.txt:
136 * docs/libglabels/libglabels-undocumented.txt:
137 * docs/libglabels/tmpl/category.sgml:
138 * libglabels/category.c:
139 * libglabels/category.h:
140 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
141 parity with paper functions.
143 2007-10-12 Jim Evins <evins@snaught.com>
145 * docs/libglabels/libglabels-decl-list.txt:
146 * docs/libglabels/libglabels-sections.txt:
147 * docs/libglabels/libglabels-undocumented.txt:
148 * docs/libglabels/tmpl/category.sgml:
149 * docs/libglabels/tmpl/enums.sgml:
150 * docs/libglabels/tmpl/libglabels-unused.sgml:
151 * docs/libglabels/tmpl/paper.sgml:
152 * docs/libglabels/tmpl/template-struct.sgml:
154 * libglabels/template.c:
155 * libglabels/template.h:
156 Another pass at fleshing out the libglabels documentation.
157 * src/cairo-label-path.c:
158 * src/cairo-markup-path.c:
160 * src/mini-preview-pixbuf.c:
164 * src/wdgt-media-select.c:
165 * src/wdgt-mini-preview.c:
166 * src/wdgt-print-copies.c:
167 * src/wdgt-print-merge.c:
168 * src/wdgt-rotate-label.c:
169 Removed lgl_template_get_first_frame() from libglabels API and all references.
171 2007-10-11 Jim Evins <evins@snaught.com>
173 Extended checks for deprecated symbols.
174 * libglabels/template.c:
175 Removed g_strcasecmp references, which are deprecated.
177 2007-10-09 Jim Evins <evins@snaught.com>
179 * src/merge-evolution.c:
180 Create address book if it does not exist. Also, be more robust about handling
181 error conditions -- don't just assume GError has been set.
183 2007-10-08 Jim Evins <evins@snaught.com>
185 * libglabels/template.c:
186 * libglabels/xml-template.c:
187 * src/template-designer.c:
188 Missed some symbols with libglabels API work.
190 2007-10-01 Jim Evins <evins@snaught.com>
192 * docs/libglabels/libglabels-decl-list.txt:
193 * docs/libglabels/libglabels-docs.sgml:
194 * docs/libglabels/libglabels-sections.txt:
195 * docs/libglabels/libglabels-undocumented.txt:
196 * docs/libglabels/tmpl/category.sgml:
197 * docs/libglabels/tmpl/enums.sgml:
198 * docs/libglabels/tmpl/init.sgml:
199 * docs/libglabels/tmpl/libglabels-unused.sgml:
200 * docs/libglabels/tmpl/paper.sgml:
201 * docs/libglabels/tmpl/template-construction.sgml:
202 * docs/libglabels/tmpl/template-db.sgml:
203 * docs/libglabels/tmpl/template-misc.sgml:
204 * docs/libglabels/tmpl/template-struct.sgml:
205 * docs/libglabels/tmpl/template.sgml:
206 * docs/libglabels/tmpl/xml-category.sgml:
207 * docs/libglabels/tmpl/xml-template.sgml:
208 * libglabels/category.h:
210 * libglabels/libglabels-private.h:
211 * libglabels/paper.h:
212 * libglabels/template.c:
213 * libglabels/template.h:
214 * libglabels/xml-template.h:
215 Basic documentation framework for libglabels updated. This still needs some
218 2007-09-27 Jim Evins <evins@snaught.com>
220 * docs/libglabels/libglabels-decl-list.txt:
221 * docs/libglabels/libglabels-docs.sgml:
222 * docs/libglabels/libglabels-sections.txt:
223 * docs/libglabels/libglabels-undocumented.txt:
224 * docs/libglabels/tmpl/enums.sgml:
225 * docs/libglabels/tmpl/init.sgml:
226 * docs/libglabels/tmpl/libglabels-unused.sgml:
227 * docs/libglabels/tmpl/paper.sgml:
228 * docs/libglabels/tmpl/template.sgml:
229 * docs/libglabels/tmpl/xml-paper.sgml:
230 * docs/libglabels/tmpl/xml-template.sgml:
231 * docs/libglabels/tmpl/xml.sgml:
232 * libglabels/Makefile.am:
233 * libglabels/category.c:
234 * libglabels/category.h:
235 * libglabels/enums.h:
238 * libglabels/libglabels-private.h:
239 * libglabels/libglabels.h:
240 * libglabels/paper.c:
241 * libglabels/paper.h:
242 * libglabels/template.c:
243 * libglabels/template.h:
244 * libglabels/xml-category.c:
245 * libglabels/xml-category.h:
246 * libglabels/xml-paper.c:
247 * libglabels/xml-paper.h:
248 * libglabels/xml-template.c:
249 * libglabels/xml-template.h:
252 * src/cairo-label-path.c:
253 * src/cairo-label-path.h:
254 * src/cairo-markup-path.c:
255 * src/cairo-markup-path.h:
257 * src/glabels-batch.c:
259 * src/label-object.c:
262 * src/mini-preview-pixbuf-cache.c:
263 * src/mini-preview-pixbuf.c:
264 * src/mini-preview-pixbuf.h:
265 * src/prefs-dialog.c:
272 * src/template-designer.c:
273 * src/view-barcode.c:
275 * src/view-ellipse.c:
279 * src/wdgt-media-select.c:
280 * src/wdgt-mini-preview.c:
281 * src/wdgt-mini-preview.h:
282 * src/wdgt-print-copies.c:
283 * src/wdgt-print-merge.c:
284 * src/wdgt-rotate-label.c:
285 * src/xml-label-04.c:
287 Major cleanup of libglabels API -- this breaks API compatibility with older
288 development and stable versions -- as far as I know, there are currently
289 no external users of this library yet.
291 2007-09-14 Jim Evins <evins@snaught.com>
296 * src/label-object.c:
297 * src/label-object.h:
298 * src/label-barcode.c:
299 * src/label-ellipse.c:
302 * src/view-barcode.c:
304 * src/view-ellipse.c:
308 Better separation of model from view.
310 2007-08-21 Jim Evins <evins@snaught.com>
312 * src/print-op.c: (create_custom_widget_cb):
313 Fix problem with force_outline_flag -- don't override with default.
315 2007-08-21 Jim Evins <evins@snaught.com>
317 * data/dtd/glabels-2.0.dtd:
318 * libglabels/template.c:
319 * libglabels/template.h:
320 * libglabels/xml-template.c:
321 * src/cairo-markup-path.c:
322 Added "Markup-rect" element to template format.
324 2007-08-21 Jim Evins <evins@snaught.com>
327 Changed version to 2.1.pre5svn.
328 * src/view.c: (draw_markup_layer):
329 Do a stroke for each markup path, otherwise multiple markups
332 2007-08-17 Jim Evins <evins@snaught.com>
335 Bump libglabels revision numbers for 2.1.4 release.
337 2007-08-16 Jim Evins <evins@snaught.com>
340 Include subdir iec16022-0.2.1.
344 Preparation for 2.1.4.
347 2007-08-11 Jim Evins <evins@snaught.com>
353 Added Esperanto translation. Provided by Antonio C.
354 Codazzi "la Filozofo" <f_sophia@libero.it>.
356 Updated French translation. Provided by Claude Paroz
357 <claude@2xlibre.net>.
359 Updated to reflect above translations.
361 2007-08-11 Jim Evins <evins@snaught.com>
364 * data/templates/avery-iso-templates.xml:
365 * data/templates/avery-us-templates.xml:
366 * data/templates/misc-iso-templates.xml:
367 * data/templates/misc-other-templates.xml:
368 * data/templates/misc-us-templates.xml:
369 * data/templates/zweckform-iso-templates.xml:
370 Caught up with backlog of template submissions.
372 2007-08-10 Jim Evins <evins@snaught.com>
374 * src/bc-postnet.c: (gl_barcode_postnet_new):
376 Added support for Brazilian CEPNet barcodes. This is simply an
377 instance of the US POSTNET format with 8 digits. Patch supplied
378 by Mário Meyer in bug # 1768792.
380 Updated acknowledgments to reflect above patch and recent shuffling
381 of underlying technology.
383 2007-05-13 Jim Evins <evins@snaught.com>
385 * src/merge-text.c: (parse_line), (parse_field):
386 Remove leading and trailing spaces from CSV fields, unless quoted.
388 2007-05-09 Jim Evins <evins@snaught.com>
390 * src/object-editor-bc-page.c:
391 * src/object-editor-data-page.c:
392 * src/object-editor-fill-page.c:
393 * src/object-editor-image-page.c:
394 * src/object-editor-line-page.c:
395 * src/object-editor-lsize-page.c:
396 * src/object-editor-position-page.c:
397 * src/object-editor-private.h:
398 * src/object-editor-shadow-page.c:
399 * src/object-editor-size-page.c:
400 * src/object-editor-text-page.c:
401 * src/object-editor.c:
402 * src/prefs-dialog.c:
403 * src/template-designer.c:
404 * src/ui-property-bar.c:
405 * src/wdgt-media-select.c:
406 Replaced signal block/unblock pairs with simple flags. This reduces
407 some code clutter, hopefully making it easier to read.
409 2007-05-05 Jim Evins <evins@snaught.com>
411 * src/template-designer.c: (apply_cb):
412 Add new template to mini-preview pixbuf cache.
414 2007-05-03 Jim Evins <evins@snaught.com>
416 * src/label-image.c: (gl_label_image_init), (draw_object):
417 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
420 2007-05-02 Jim Evins <evins@snaught.com>
422 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
423 (button_release_event_cb):
424 Removed attempt at rendering optimization by clipping the updates
425 to areas affected -- this actually seemed to hurt update performance.
427 2007-04-30 Jim Evins <evins@snaught.com>
430 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
431 (gl_color_node_equal), (gl_color_node_expand):
432 * src/label-barcode.c: (draw_object):
433 * src/label-box.c: (draw_object), (draw_shadow):
434 * src/label-ellipse.c: (draw_object), (draw_shadow):
435 * src/label-line.c: (draw_object), (draw_shadow):
436 * src/label-text.c: (draw_object), (draw_shadow):
437 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
438 * src/wdgt-rotate-label.c: (drawingarea_update):
439 Some cleanup to color related code.
441 2007-04-30 Jim Evins <evins@snaught.com>
444 Added glLabelRegion structure type.
445 * src/label-object.c: (gl_label_object_get_extent):
446 * src/label-object.h:
447 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
449 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
450 (gl_view_select_region), (gl_view_align_selection_left),
451 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
452 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
453 (gl_view_align_selection_vcenter),
454 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
455 (gl_view_move_selection), (gl_view_can_selection_text),
456 (motion_notify_event_cb), (button_press_event_cb),
457 (button_release_event_cb):
458 - Reconcile with new gl_label_object_get_extent() API.
459 - Use glLabelRegion for view->select_region.
460 - Added gl_view_update_region() to clip updates to region.
461 - Use gl_view_update_region() during manipulation of view->select_region.
463 2007-04-26 Jim Evins <evins@snaught.com>
465 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
466 (draw_label_outline):
467 * src/print.c: (print_crop_marks), (draw_outline):
468 * src/view-object.c: (gl_view_object_draw_handles):
469 * src/view.c: (draw_bg_layer), (draw_grid_layer),
470 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
471 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
472 * src/wdgt-rotate-label.c: (drawingarea_update):
473 Added defines for various magic numbers.
475 2007-04-25 Jim Evins <evins@snaught.com>
477 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
478 Scale text down. Cairo seems to render text too large.
480 2007-04-25 Jim Evins <evins@snaught.com>
483 * src/view.c: (gl_view_update), (expose_cb),
484 (motion_notify_event_cb), (button_press_event_cb),
485 (button_release_event_cb):
486 - Try not to let updates get backed up.
487 - Grab pointer when doing any drag operations.
489 2007-04-11 Jim Evins <evins@snaught.com>
491 * src/cairo-label-path.c: (gl_cairo_label_path),
492 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
493 (gl_cairo_cd_label_path):
494 * src/cairo-label-path.h:
495 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
496 (draw_label_outline):
497 * src/print.c: (draw_outline), (clip_to_outline):
498 * src/view.c: (draw_bg_layer), (draw_fg_layer):
499 * src/wdgt-mini-preview.c: (draw_labels):
500 * src/wdgt-rotate-label.c: (drawingarea_update):
501 Modified to universally use gl_cairo_label_path() to create paths
502 for labels. Added shadow to mini preview in rotate widget.
504 2007-04-10 Jim Evins <evins@snaught.com>
506 * libglabels/template.h:
507 * libglabels/template.c: (gl_template_get_name_list_unique),
508 (gl_template_get_name_list_all), (gl_template_from_name):
509 Modified libglabels to allow you to get a list of all template names
510 including all aliases or just a list of primary names of each unique
513 * src/file.c: (gl_file_properties):
514 * src/glabels.c: (main):
515 * src/mini-preview-pixbuf-cache.h:
516 * src/mini-preview-pixbuf-cache.c:
517 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
518 (filter_changed_cb), (load_list):
519 Added mini-preview pixbuf cache, so that only one mini-preview is
520 needed for a unique template and gets reused for all aliases. These
521 pixbufs will also live for the life of the program so they are not
522 rebuilt everytime a new label dialog is invoked.
523 * src/mini-preview-pixbuf.c: (draw_paper),
524 (draw_rect_label_outline), (draw_round_label_outline),
525 (draw_cd_label_outline):
526 Removed some comment artifacts.
528 2007-04-04 Jim Evins <evins@snaught.com>
530 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
531 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
532 (draw_round_label_outline), (draw_cd_label_outline):
533 * src/wdgt-media-select.c: (load_list):
534 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
535 Cosmetic enhancments to mini previews.
537 2007-04-04 Jim Evins <evins@snaught.com>
539 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
540 (gl_ui_property_bar_construct):
541 Save copy of GladeXML tree so that we don't lose tooltips.
543 2007-04-02 Jim Evins <evins@snaught.com>
545 * src/merge-properties-dialog.c:
546 * src/new-label-dialog.c:
547 * src/object-editor.c:
548 * src/prefs-dialog.c:
550 * src/template-designer.c:
551 * src/ui-property-bar.c:
552 * src/wdgt-media-select.c:
553 * src/wdgt-rotate-label.c:
554 Fixed several memory leaks.
556 2007-04-01 Jim Evins <evins@snaught.com>
558 * src/label-text.c: (gl_label_text_init), (copy),
559 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
560 (set_font_family), (set_font_size), (set_font_weight),
561 (set_font_italic_flag), (set_text_alignment),
562 (set_text_line_spacing):
563 Cache object size, so that expensive extent calculations are only done
566 2007-03-30 Jim Evins <evins@snaught.com>
568 * src/prefs-model.c: (gl_prefs_model_load_settings):
569 Default to an unlimited list of recent documents, since this parameter
570 seems to be pre-filter anyway.
572 2007-03-30 Jim Evins <evins@snaught.com>
574 * src/label-box.c: (draw_shadow):
575 * src/label-ellipse.c: (draw_shadow):
576 Added missing shadow fill.
578 2007-03-28 Jim Evins <evins@snaught.com>
580 * src/ui-commands.c: (gl_ui_cmd_file_print):
581 Unreferencing the print operation sometimes crashes. Just don't do it
584 2007-03-28 Jim Evins <evins@snaught.com>
586 * src/print-op.c: (gl_print_op_construct),
587 (gl_print_op_get_settings), (gl_print_op_set_settings),
588 (gl_print_op_free_settings), (create_custom_widget_cb):
590 * src/ui-commands.c: (gl_ui_cmd_file_print):
591 * src/window.c: (gl_window_init):
593 Save print settings and custom settings between print operations
596 2007-03-24 Jim Evins <evins@snaught.com>
598 * src/object-editor-image-page.c:
599 (gl_object_editor_prepare_image_page),
600 (gl_object_editor_set_image), (img_selection_changed_cb):
601 Workaround for GtkFileChooserButton bug # 327243. This the root
602 cause for gLabels bug # 1192884. I have actually observed 3 delayed
603 "selection-changed" signals -- the first 2 return NULL -- this is
604 what caused the image to reset to the default followed by setting
605 it back to the original image, trying to fit it into a new bounding
606 box. This sequence of events is much more evident with the new
609 2007-03-23 Jim Evins <evins@snaught.com>
611 Merged all changes from experimental cairo branch to trunk.
612 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
614 2007-03-23 Jim Evins <evins@snaught.com>
616 * src/label-object.h:
617 * src/label-object.c: (gl_label_object_class_init),
618 (gl_label_object_get_raw_size), (gl_label_object_get_size):
619 Created "get_raw_size" method.
620 * src/label-barcode.c: (get_size):
621 * src/xml-label.c: (xml_create_object_text),
622 (xml_create_object_barcode):
623 Use new "get_raw_size" method on label-objects when apropos.
625 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
626 (auto_shrink_font_size):
627 Added "auto shrink" functionality back.
629 2007-03-19 Jim Evins <evins@snaught.com>
631 * src/label-text.c: (draw_object), (draw_shadow):
632 Don't use negative scales in workaround from previous commit.
635 2007-03-18 Jim Evins <evins@snaught.com>
638 Forgot to remove include of xml-lable-191 in previous commit.
639 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
640 Workaround for pango Bug #341481. Render text at device scale,
641 and scale font size accordingly. Also, don't do any hinting.
643 2007-03-18 Jim Evins <evins@snaught.com>
645 * src/cairo-ellipse-path.c:
646 * src/cairo-ellipse-path.h:
647 Forgot to add these new files during last mass commit.
649 2007-03-18 Jim Evins <evins@snaught.com>
652 * src/xml-label-191.c:
653 * src/xml-label-191.h:
654 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
655 so there is no need to keep compatability.
658 * src/cairo-label-path.c:
659 * src/cairo-label-path.h:
660 * src/cairo-markup-path.c:
664 * src/glabels-batch.c:
666 * src/label-barcode.c:
668 * src/label-ellipse.c:
671 * src/label-object.c:
672 * src/label-object.h:
676 * src/merge-properties-dialog.c:
678 * src/new-label-dialog.c:
679 * src/object-editor-bc-page.c:
680 * src/object-editor-data-page.c:
681 * src/object-editor-edit-page.c:
682 * src/object-editor-fill-page.c:
683 * src/object-editor-image-page.c:
684 * src/object-editor-line-page.c:
685 * src/object-editor-private.h:
686 * src/object-editor-shadow-page.c:
687 * src/object-editor-text-page.c:
688 * src/object-editor.c:
689 * src/pixbuf-cache.c:
694 * src/template-designer.c:
696 * src/ui-property-bar.c:
698 * src/view-barcode.c:
700 * src/view-ellipse.c:
707 * src/wdgt-media-select.c:
708 * src/wdgt-print-copies.c:
709 * src/wdgt-print-merge.c:
711 * src/xml-label-04.c:
713 Many changes, including:
714 - Move draw methods from view-*() to label-*().
715 - Use same drawing code for on screen view and printing.
716 - Fix all issues exposed with '-Wall -Werror'.
718 2007-03-14 Jim Evins <evins@snaught.com>
721 * src/cairo-handle-path.c:
722 * src/cairo-handle-path.h:
723 * src/cairo-object-path.c:
724 * src/cairo-object-path.h:
725 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
726 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
728 * src/view-box.c: (gl_view_box_class_init), (draw_object),
729 (draw_shadow), (object_at):
730 * src/view-ellipse.c: (gl_view_ellipse_class_init),
731 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
732 * src/view-image.c: (gl_view_image_class_init), (draw_object),
734 * src/view-line.c: (gl_view_line_class_init), (draw_object),
735 (draw_shadow), (object_at):
736 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
737 (create_handle_path), (gl_view_object_draw_handles),
738 (gl_view_object_handle_at):
740 * src/view-text.c: (gl_view_text_class_init), (draw_object),
741 (draw_shadow), (object_at):
742 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
743 Some restructuring of new code.
745 2007-03-12 Jim Evins <evins@snaught.com>
748 * src/cairo-object-path.c:
749 * src/view-barcode.c:
750 * src/view-barcode.h:
752 Added barcode object support to view.
754 2007-03-12 Jim Evins <evins@snaught.com>
760 * src/cairo-object-path.c:
761 * src/cairo-object-path.h:
763 * src/view-ellipse.c:
768 Added text object support to view. Added object_at method to all
771 2007-03-11 Jim Evins <evins@snaught.com>
774 * src/cairo-object-path.c: (gl_cairo_object_path),
775 (gl_cairo_image_object_path):
776 * src/view-image.c: (gl_view_image_class_init),
777 (gl_view_image_finalize), (gl_view_image_new),
778 (update_editor_from_label_cb), (draw),
779 (gl_view_image_get_create_cursor),
780 (gl_view_image_create_button_press_event),
781 (gl_view_image_create_motion_event),
782 (gl_view_image_create_button_release_event):
784 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
785 (selection_received_cb), (motion_notify_event_cb),
786 (button_press_event_cb), (button_release_event_cb):
787 Added image object support to view.
789 2007-03-11 Jim Evins <evins@snaught.com>
792 * src/cairo-object-path.c: (gl_cairo_object_path),
793 (gl_cairo_line_object_path):
794 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
795 (update_object_from_editor_cb), (update_editor_from_object_cb),
796 (update_editor_from_label_cb), (draw),
797 (gl_view_line_get_create_cursor),
798 (gl_view_line_create_button_press_event),
799 (gl_view_line_create_motion_event),
800 (gl_view_line_create_button_release_event):
802 * src/view-object.c: (gl_view_object_resize_event):
803 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
804 (selection_received_cb), (motion_notify_event_cb),
805 (button_press_event_cb), (button_release_event_cb):
806 Added line object support to view.
807 * src/cairo-handle-path.c:
808 Made handles slightly larger.
811 2007-03-11 Jim Evins <evins@snaught.com>
814 * src/cairo-handle-path.c:
815 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
816 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
817 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
818 (gl_cairo_markup_margin_round_path),
819 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
820 * src/cairo-object-path.c: (gl_cairo_object_path),
821 (gl_cairo_ellipse_object_path):
822 * src/label-object.c: (gl_label_object_rotate):
825 * src/view-ellipse.c: (gl_view_ellipse_class_init),
826 (gl_view_ellipse_new), (update_object_from_editor_cb),
827 (update_editor_from_object_cb), (update_editor_from_label_cb),
828 (draw), (gl_view_ellipse_get_create_cursor),
829 (gl_view_ellipse_create_button_press_event),
830 (gl_view_ellipse_create_motion_event),
831 (gl_view_ellipse_create_button_release_event):
832 * src/view-ellipse.h:
835 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
836 (select_object_real), (selection_received_cb),
837 (motion_notify_event_cb), (button_press_event_cb),
838 (button_release_event_cb):
840 Added ellipse object support to view. Plus other cleanup.
842 2007-03-11 Jim Evins <evins@snaught.com>
845 * src/view-box.c: (gl_view_box_get_create_cursor),
846 (gl_view_box_create_button_press_event),
847 (gl_view_box_create_motion_event),
848 (gl_view_box_create_button_release_event):
849 * src/view-object.c: (gl_view_object_set_view),
850 (gl_view_object_handle_at):
852 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
853 (motion_notify_event_cb), (button_press_event_cb),
854 (button_release_event_cb), (key_press_event_cb):
855 Added creation code for box object.
857 2007-03-09 Jim Evins <evins@snaught.com>
859 * src/view-object.c: (gl_view_object_resize_event):
861 * src/view.c: (motion_notify_event_cb):
862 Fix bugs with resizing transformed objects.
863 * src/cairo-handle-path.c: (gl_cairo_handle_path):
864 * src/cairo-object-path.c: (gl_cairo_object_path):
865 * src/cairo-object-path.h:
866 * src/label-object.c: (gl_label_object_init),
867 (gl_label_object_dup), (gl_label_object_get_extent),
868 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
869 (gl_label_object_rotate), (gl_label_object_set_matrix),
870 (gl_label_object_get_matrix):
871 * src/label-object.h:
872 * src/print.c: (draw_object):
874 * src/view-highlight.c:
875 * src/view-highlight.h:
876 * src/xml-label-191.c: (xml191_parse_object):
877 * src/xml-label.c: (xml_parse_affine_attrs),
878 (xml_create_affine_attrs):
879 Replace libart affine matrices with cairo matrices.
881 2007-03-08 Jim Evins <evins@snaught.com>
884 * src/view.c: (gl_view_update), (motion_notify_event_cb):
885 * src/view-object.c: (gl_view_object_handle_at),
886 (gl_view_object_resize_event):
887 Added resize code -- still a bit buggy.
889 2007-03-07 Jim Evins <evins@snaught.com>
892 * src/cairo-handle-path.c:
893 * src/cairo-handle-path.h:
894 * src/view-box.c: (gl_view_box_new):
895 * src/view-object.c: (gl_view_object_set_object),
896 (gl_view_object_draw_handles), (gl_view_object_handle_at):
898 * src/view.c: (draw_highlight_layer), (select_object_real),
899 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
900 (button_press_event_cb), (button_release_event_cb),
901 (key_press_event_cb):
903 Added beginnings of object resize handles.
905 2007-03-07 Jim Evins <evins@snaught.com>
908 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
909 (gl_view_object_create_mode), (motion_notify_event_cb),
910 (button_press_event_cb), (button_release_event_cb),
911 (key_press_event_cb):
912 Added move selection support.
914 2007-03-05 Jim Evins <evins@snaught.com>
916 * src/cairo-object-path.c: (gl_cairo_object_path):
917 * src/view-object.c: (gl_view_object_draw),
918 (gl_view_object_draw_highlight):
919 * src/view.c: (view_object_at), (motion_notify_event_cb),
920 (button_press_event_cb), (button_release_event_cb):
921 Additional refinements to select logic.
923 2007-03-05 Jim Evins <evins@snaught.com>
926 * src/view.c: (gl_view_init), (gl_view_construct),
927 (label_changed_cb), (draw_layers), (draw_select_region_layer),
928 (gl_view_select_region), (object_at), (motion_notify_event_cb),
929 (button_press_event_cb), (button_release_event_cb):
930 Added initial select region support and context menu.
932 2007-03-04 Jim Evins <evins@snaught.com>
950 * src/wdgt-print-copies.c:
951 * src/wdgt-print-merge.c:
953 Initial port to a raw Cairo canvas. This removes all remaining
954 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
955 the view is becoming a canvas widget in its own right. Still needs
957 * src/cairo-label-path.c:
958 * src/cairo-label-path.h:
959 * src/cairo-markup-path.c:
960 * src/cairo-markup-path.h:
961 * src/cairo-object-path.c:
962 * src/cairo-object-path.h:
963 New files to support cairo canvas.
964 * src/canvas-hacktext.c:
965 * src/canvas-hacktext.h:
968 2007-02-18 Jim Evins <evins@snaught.com>
971 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
973 2007-02-14 Jim Evins <evins@snaught.com>
977 * src/bc-gnubarcode.c:
978 * src/bc-gnubarcode.h:
983 * src/canvas-hacktext.c:
984 * src/canvas-hacktext.h:
991 * src/label-barcode.c:
992 * src/label-barcode.h:
995 * src/label-ellipse.c:
996 * src/label-ellipse.h:
1001 * src/label-object.c:
1002 * src/label-object.h:
1007 * src/merge-evolution.c:
1008 * src/merge-evolution.h:
1011 * src/merge-properties-dialog.c:
1012 * src/merge-properties-dialog.h:
1015 * src/merge-vcard.c:
1016 * src/merge-vcard.h:
1019 * src/mini-preview-pixbuf.h:
1020 * src/new-label-dialog.c:
1021 * src/new-label-dialog.h:
1022 * src/object-editor-bc-page.c:
1023 * src/object-editor-data-page.c:
1024 * src/object-editor-edit-page.c:
1025 * src/object-editor-fill-page.c:
1026 * src/object-editor-image-page.c:
1027 * src/object-editor-line-page.c:
1028 * src/object-editor-lsize-page.c:
1029 * src/object-editor-position-page.c:
1030 * src/object-editor-private.h:
1031 * src/object-editor-size-page.c:
1032 * src/object-editor-text-page.c:
1033 * src/object-editor.c:
1034 * src/object-editor.h:
1035 * src/pixbuf-cache.c:
1036 * src/pixbuf-cache.h:
1037 * src/prefs-dialog.c:
1038 * src/prefs-dialog.h:
1039 * src/prefs-model.c:
1040 * src/prefs-model.h:
1046 * src/template-designer.c:
1049 * src/ui-commands.c:
1050 * src/ui-commands.h:
1051 * src/ui-property-bar.c:
1052 * src/ui-property-bar.h:
1061 * src/view-barcode.c:
1062 * src/view-barcode.h:
1065 * src/view-ellipse.c:
1066 * src/view-ellipse.h:
1067 * src/view-highlight.c:
1068 * src/view-highlight.h:
1073 * src/view-object.c:
1074 * src/view-object.h:
1079 * src/wdgt-chain-button.c:
1080 * src/wdgt-chain-button.h:
1081 * src/wdgt-media-select.c:
1082 * src/wdgt-mini-preview.c:
1083 * src/wdgt-print-copies.c:
1084 * src/wdgt-print-copies.h:
1085 * src/wdgt-print-merge.c:
1086 * src/wdgt-print-merge.h:
1087 * src/wdgt-rotate-label.c:
1089 * src/xml-label-04.c:
1090 * src/xml-label-04.h:
1091 * src/xml-label-191.c:
1092 * src/xml-label-191.h:
1096 Assorted superficial cleanup. Including:
1097 - Use G_DEFINE_TYPE for all objects.
1098 - Reconcile style of all class initializer functions
1099 - Reconcile style of all finalize functions
1100 - Add emacs mode line to all source files
1102 2007-02-06 Jim Evins <evins@snaught.com>
1104 Assorted cleanup and removal of deprecated items.
1109 Removed annoying splash screen.
1110 * src/glabels-batch.c: (main):
1111 * src/glabels.c: (main):
1112 Converted from popt to GOption.
1113 * src/object-editor-shadow-page.c:
1114 (gl_object_editor_set_shadow_state):
1115 Removed deprecated method on GtkToggleButton.
1116 * src/ui-commands.c: (gl_ui_cmd_help_about):
1117 Removed dependency on libgnomui/qnome-url.h.
1118 * src/template-designer.c:
1119 Removed dependency on libgnome/gnome-program.h.
1122 2007-02-04 Jim Evins <evins@snaught.com>
1126 * src/prefs-model.c:
1127 * src/print.c: (draw_text_object):
1128 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1129 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1131 2007-02-04 Jim Evins <evins@snaught.com>
1133 * src/wdgt-mini-preview.c:
1134 * src/wdgt-mini-preview.h:
1135 Ported widget from GnomeCanvas to Cairo.
1137 2007-02-03 Jim Evins <evins@snaught.com>
1139 * data/glade/template-designer.glade:
1140 * src/template-designer.c:
1141 * src/template-designer.h:
1142 Ported GnomeDruid to GtkAssistant. Since libglade does not
1143 yet support the GtkAssistant and we derive directly from
1144 the Assistant, the pages are layed out in a GtkNotebook in
1145 the glade description -- we then append each page to the
1148 2007-01-25 Jim Evins <evins@snaught.com>
1150 * data/glade/object-editor.glade:
1151 Added dummy page to notebook, to prevent shadow page from
1152 becoming the default current page at creation.
1153 * src/view-box.c: (construct_properties_editor):
1154 * src/view-ellipse.c: (construct_properties_editor):
1155 * src/view-line.c: (construct_properties_editor):
1156 * src/view-text.c: (construct_properties_editor):
1157 Reconciled order of params.
1159 2007-01-19 Jim Evins <evins@snaught.com>
1161 * src/label-barcode.h:
1162 * src/label-object.c: (gl_label_object_set_font_weight),
1163 (gl_label_object_set_text_alignment),
1164 (gl_label_object_get_font_weight),
1165 (gl_label_object_get_text_alignment):
1166 * src/label-object.h:
1167 * src/label-text.c: (gl_label_text_instance_init), (copy),
1168 (get_size), (set_font_family), (set_font_weight),
1169 (set_text_alignment), (get_font_weight), (get_text_alignment):
1171 * src/object-editor-text-page.c:
1172 (gl_object_editor_prepare_text_page),
1173 (gl_object_editor_set_font_family),
1174 (gl_object_editor_set_font_weight),
1175 (gl_object_editor_get_font_weight),
1176 (gl_object_editor_set_text_alignment),
1177 (gl_object_editor_get_text_alignment),
1178 (gl_object_editor_set_text_color):
1179 * src/object-editor.h:
1180 * src/prefs-dialog.c: (construct_object_page),
1181 (update_object_page_from_prefs), (update_prefs_from_object_page):
1182 * src/prefs-model.c: (gl_prefs_model_save_settings),
1183 (gl_prefs_model_load_settings):
1184 * src/prefs-model.h:
1185 * src/print.c: (draw_text_object):
1186 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1187 (reset_to_default_properties), (update_text_properties),
1188 (font_bold_toggled_cb), (text_align_toggled_cb):
1190 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1191 (gl_util_weight_to_string), (gl_util_string_to_weight),
1192 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1194 * src/view-text.c: (update_object_from_editor_cb),
1195 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1196 * src/view.c: (gl_view_set_selection_text_alignment),
1197 (gl_view_set_default_text_alignment),
1198 (gl_view_get_default_text_alignment):
1200 * src/xml-label-04.c: (xml04_parse_text_props):
1201 * src/xml-label-191.c: (xml191_parse_text_props):
1202 * src/xml-label.c: (xml_parse_object_text),
1203 (xml_parse_toplevel_span), (xml_create_object_text),
1204 (xml_create_toplevel_span):
1205 Converted all model internals to Pango. GnomeFont remains in
1206 view until GnomeCanvas can be replaced with a cairo-based canvas.
1208 2007-01-17 Jim Evins <evins@snaught.com>
1214 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1215 (gl_wdgt_print_copies_construct):
1216 * src/wdgt-print-copies.h:
1217 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1218 (gl_wdgt_print_merge_construct):
1219 * src/wdgt-print-merge.h:
1220 Removed all remaining HIG wrapper widgets.
1222 2007-01-16 Jim Evins <evins@snaught.com>
1225 * src/print-dialog.c:
1226 * src/print-dialog.h:
1229 * src/template-designer.c: (print_test_cb):
1230 * src/ui-commands.c: (gl_ui_cmd_file_print):
1232 Renamed PrintDialog to PrintOp. Added constructor for batch
1234 * src/glabels-batch.c: (main):
1235 Converted to use new PrintOp object for printing.
1237 2007-01-15 Jim Evins <evins@snaught.com>
1239 * data/glade/Makefile.am:
1240 * data/glade/print-custom-widget.glade:
1241 * src/print-dialog.c:
1242 * src/print-dialog.h:
1245 * src/template-designer.c: (print_test_cb):
1246 * src/ui-commands.c: (gl_ui_cmd_file_print):
1247 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1248 * src/wdgt-print-merge.h:
1249 * src/window.c: (gl_window_init):
1251 Initial conversion to GtkPrintOperation.
1253 - Remove font and other libgnomeprint[ui] from elsewhere
1254 - Add batch initialization of print operation
1256 2007-01-08 Jim Evins <evins@snaught.com>
1258 Updated dependencies. Set version to 2.1.pre4cvs.
1260 2007-01-03 Jim Evins <evins@snaught.com>
1262 * src/recent-files/*
1263 Removed EggRecent stuff.
1269 * src/ui-commands.c:
1270 * src/ui-commands.h:
1272 Ported from EggRecent to GtkRecentManager.
1275 2007-01-02 Jim Evins <evins@snaught.com>
1278 * iec16022-0.2.1/BUGS:
1279 * iec16022-0.2.1/CHANGELOG:
1280 * iec16022-0.2.1/CREDITS:
1281 * iec16022-0.2.1/INSTALL:
1282 * iec16022-0.2.1/LICENSE:
1283 * iec16022-0.2.1/Makefile.am:
1284 * iec16022-0.2.1/Makefile.dist:
1285 * iec16022-0.2.1/README:
1286 * iec16022-0.2.1/README.glabels:
1287 * iec16022-0.2.1/TODO:
1288 * iec16022-0.2.1/iec16022.1:
1289 * iec16022-0.2.1/iec16022.c:
1290 * iec16022-0.2.1/iec16022ecc200.c:
1291 * iec16022-0.2.1/iec16022ecc200.h:
1292 * iec16022-0.2.1/image.c:
1293 * iec16022-0.2.1/image.h:
1294 * iec16022-0.2.1/reedsol.c:
1295 * iec16022-0.2.1/reedsol.h:
1296 * iec16022-0.2.1/test/testsuite-example.bin:
1297 * iec16022-0.2.1/test/testsuite-example.eps:
1298 * iec16022-0.2.1/test/testsuite-example.hex:
1299 * iec16022-0.2.1/test/testsuite-example.png:
1300 * iec16022-0.2.1/test/testsuite-example.text:
1301 * iec16022-0.2.1/test/testsuite.sh:
1302 Include modified copy of iec16022-0.2.1 to provide encoding
1303 support for datamatrix 2D barcodes.
1305 * src/bc-iec16022.c:
1306 * src/bc-iec16022.h:
1308 Added initial datamatrix 2D barcode backend to barcode code.
1311 Automatic updates to later versions of these files.
1313 2006-11-28 Jim Evins <evins@snaught.com>
1315 * data/templates/avery-iso-templates.xml:
1316 * data/templates/avery-us-templates.xml:
1317 * data/templates/categories.xml:
1318 * data/templates/misc-iso-templates.xml:
1319 * data/templates/misc-us-templates.xml:
1320 * data/templates/zweckform-iso-templates.xml:
1321 More categorization.
1323 2006-09-12 Jim Evins <evins@snaught.com>
1325 * data/dtd/glabels-2.0.dtd:
1326 * data/templates/Makefile.am:
1327 * data/templates/avery-iso-templates.xml:
1328 * data/templates/avery-other-templates.xml:
1329 * data/templates/avery-us-templates.xml:
1330 * data/templates/categories.xml:
1331 * data/templates/misc-iso-templates.xml:
1332 * data/templates/misc-other-templates.xml:
1333 * data/templates/zweckform-iso-templates.xml:
1334 * data/glade/Makefile.am:
1335 * data/glade/new-label-dialog.glade:
1336 * data/glade/wdgt-media-select.glade:
1337 * data/glade/wdgt-rotate-label.glade:
1338 * libglabels/Makefile.am:
1339 * libglabels/category.c:
1340 * libglabels/category.h:
1341 * libglabels/libglabels.h:
1342 * libglabels/paper.c:
1343 * libglabels/template.c:
1344 * libglabels/template.h:
1345 * libglabels/xml-category.c:
1346 * libglabels/xml-category.h:
1347 * libglabels/xml-template.c:
1348 Added support for category meta data.
1351 * src/mini-preview-pixbuf.c:
1352 * src/mini-preview-pixbuf.h:
1353 * src/new-label-dialog.c:
1354 * src/new-label-dialog.h:
1355 * src/wdgt-media-select.c:
1356 * src/wdgt-media-select.h:
1357 * src/wdgt-rotate-label.c:
1358 * src/wdgt-rotate-label.h:
1359 New "new label" dialog.
1361 2006-05-27 Jim Evins <evins@snaught.com>
1366 Preparation for 2.1.3.
1372 2006-05-22 Jim Evins <evins@snaught.com>
1374 * src/print.c: (draw_barcode_object):
1375 Don't print "Invalid barcode data" if data field is empty. Patch provided
1376 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1378 Added acknowledgment for above patch.
1379 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1380 * src/bc-postnet.c: (postnet_code):
1381 Removed "Invalid barcode data" warnings from stderr.
1382 * src/view-barcode.c: (draw_barcode):
1383 Draw box around barcode extent if data empty or invalid. Center a
1384 message whether the data is empty or invalid in box.
1386 2006-05-22 Jim Evins <evins@snaught.com>
1388 * src/print.c: (draw_text_object):
1389 Check shadow state when printing text.
1391 2006-05-20 Jim Evins <evins@snaught.com>
1393 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1394 (gl_ui_cmd_view_markup_toggle):
1395 Fixed crash when grid or markup have been toggled off during
1396 a previous session. Bug #1434324.
1398 2006-04-05 Jim Evins <evins@snaught.com>
1400 * src/object-editor.c: (gl_object_editor_set_key_names):
1401 Fixed potential crash when freeing empty key list.
1403 2006-03-11 Jim Evins <evins@snaught.com>
1405 * src/print.c: (draw_text_object):
1406 * src/view-text.c: (gl_view_text_new),
1407 (construct_properties_editor), (update_object_from_editor_cb),
1408 (update_editor_from_object_cb), (update_editor_from_label_cb),
1410 Added shadow support to text object.
1412 2006-02-18 Jim Evins <evins@snaught.com>
1414 * src/print.c: (draw_line_object):
1415 * src/view-line.c: (gl_view_line_new),
1416 (construct_properties_editor), (update_canvas_item_from_object_cb),
1417 (update_object_from_editor_cb), (update_editor_from_object_cb),
1418 (update_editor_from_label_cb):
1419 Added shadow support to line object.
1421 2006-02-16 Jim Evins <evins@snaught.com>
1425 * src/print.c: (draw_ellipse_object):
1426 * src/view-ellipse.c: (gl_view_ellipse_new),
1427 (construct_properties_editor), (update_canvas_item_from_object_cb),
1428 (update_object_from_editor_cb), (update_editor_from_object_cb),
1429 (update_editor_from_label_cb):
1430 Added shadow support to ellipse object.
1432 2006-02-15 Jim Evins <evins@snaught.com>
1434 * src/label-object.c:
1435 Changed default shadow offsets.
1436 * src/view-box.c: (gl_view_box_new):
1437 Simplified gl_view_box_new() so that is does not duplicate code
1438 in update_canvas_item_from_object_cb().
1440 2006-02-07 Jim Evins <evins@snaught.com>
1442 * data/glade/object-editor.glade:
1443 Fixed color groups of color combos.
1445 Added default shadow color.
1446 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1447 Added shadow color group.
1449 2006-02-06 Jim Evins <evins@snaught.com>
1451 * src/object-editor-shadow-page.c:
1452 Forgot to add this file.
1453 * src/view-box.c: (gl_view_box_new),
1454 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1455 Update limits on shadow offset spinbuttons.
1457 2006-01-19 Jim Evins <evins@snaught.com>
1459 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1460 Initialize key_list to NULL.
1461 * data/glade/object-editor.glade:
1465 * src/label-object.c:
1466 * src/label-object.h:
1467 * src/object-editor-fill-page.c:
1468 * src/object-editor-private.h:
1469 * src/object-editor.c:
1470 * src/object-editor.h:
1472 Created infrastructure for shadow support.
1475 Initial shadow support in box object only.
1477 2006-01-05 Jim Evins <evins@snaught.com>
1479 * src/merge-properties-dialog.c: (src_changed_cb):
1480 Be extra paranoid before calling strcmp().
1481 * src/merge.c: (gl_merge_set_src):
1482 Don't make (merge == NULL) a critical error.
1484 2005-12-22 Jim Evins <evins@snaught.com>
1486 * src/glabels-batch.c: (main):
1487 Compile warning free with gcc 4.0.
1489 2005-12-21 Jim Evins <evins@snaught.com>
1492 Updated example RPM spec file.
1494 2005-12-21 Jim Evins <evins@snaught.com>
1498 Preparation for 2.1.2.
1500 2005-12-20 Jim Evins <evins@snaught.com>
1503 Define unique G_LOG_DOMAIN for glabels.
1504 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1505 * src/warning-handler.c: (gl_warning_handler_init),
1507 Register for G_LOG_DOMAIN instead of NULL.
1509 2005-12-10 Jim Evins <evins@snaught.com>
1511 * src/merge-evolution.c:
1512 * src/merge-vcard.c:
1515 2005-12-08 Jim Evins <evins@snaught.com>
1517 * libglabels/paper.c: (read_paper_files_from_dir):
1518 * libglabels/template.c: (gl_template_register),
1519 (read_template_files_from_dir):
1520 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1521 (gl_xml_paper_parse_papers_doc):
1522 * libglabels/xml-template.c:
1523 (gl_xml_template_read_templates_from_file),
1524 (gl_xml_template_parse_templates_doc),
1525 (gl_xml_template_parse_template_node),
1526 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1527 (xml_parse_label_cd_node), (xml_parse_layout_node),
1528 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1529 (xml_parse_markup_circle_node),
1530 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1531 * libglabels/xml.c: (gl_xml_get_prop_length):
1532 Re-classified g_warnings to g_messages.
1534 * src/glabels.c: (main):
1535 * src/warning-handler.c: (gl_warning_handler_init),
1537 * src/warning-handler.h:
1538 Added warning message handler to make sure the user is
1539 presented with appropriate non-fatal errors.
1540 * src/critical-error-handler.c: (critical_error_handler):
1541 Changed exit to abort.
1542 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1543 * src/bc-postnet.c: (postnet_code):
1544 * src/bc.c: (id_to_index), (name_to_index):
1545 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1546 * src/object-editor.c: (gl_object_notebook_construct_valist):
1547 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1548 * src/prefs.c: (gl_prefs_get_units_per_point),
1549 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1550 (gl_prefs_get_units_string):
1551 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1552 * src/splash.c: (gl_splash):
1553 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1554 * src/view-highlight.c: (gl_view_highlight_new),
1555 (highlight_resizable_box_construct), (object_changed_cb),
1556 (view_scale_changed_cb):
1557 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1558 (draw_markup_layer), (draw_markup_margin),
1559 (gl_view_object_create_mode), (canvas_event),
1560 (selection_received_cb):
1561 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1562 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1563 * src/xml-label-04.c: (gl_xml_label_04_parse),
1564 (xml04_parse_media_description), (xml04_parse_text_props),
1565 (xml04_parse_barcode_props):
1566 * src/xml-label-191.c: (gl_xml_label_191_parse),
1567 (xml191_parse_objects), (xml191_parse_object),
1568 (xml191_parse_text_props), (xml191_parse_image_props),
1569 (xml191_parse_barcode_props), (xml191_parse_data),
1570 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1571 (xml191_parse_markup):
1572 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1573 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1574 (xml_parse_object_text), (xml_parse_object_image),
1575 (xml_parse_object_barcode), (xml_parse_data),
1576 (xml_parse_toplevel_span), (gl_xml_label_save),
1577 (xml_create_objects):
1578 Re-classified g_warnings to g_messages.
1579 * src/merge-evolution.c: (gl_merge_evolution_open),
1580 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1581 Use g_warning to output errors encountered while
1582 communicating with the evolution data server
1583 instead of embedding them in the data.
1585 2005-12-08 Jim Evins <evins@snaught.com>
1587 * libglabels/libglabels-private.h:
1589 * libglabels/paper.c: (read_papers):
1590 * libglabels/template.c: (read_templates):
1591 Made appropriate warnings critical.
1593 * src/critical-error-handler.h:
1594 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1595 (critical_error_handler):
1596 Created critical error handler.
1597 * src/glabels.c: (main):
1598 Register critical error handler.
1599 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1600 * src/object-editor.c: (gl_object_editor_init):
1601 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1602 * src/template-designer.c: (gl_template_designer_init):
1603 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1604 Made appropriate warnings critical.
1606 2005-11-27 Jim Evins <evins@snaught.com>
1608 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1609 (gl_merge_evolution_get_primary_key),
1610 (gl_merge_evolution_get_record):
1611 Don't create "record_key" pseudo-key. Don't populate
1612 fields with null data.
1614 2005-11-25 Jim Evins <evins@snaught.com>
1616 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1617 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1618 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1620 Query EDS for all supported fields. Patch provided by
1621 Austin Henry <ahenry@users.sourceforge.net>.
1623 2005-10-29 Jim Evins <evins@snaught.com>
1625 * src/glabels.c: (main):
1626 * src/label-barcode.c: (gl_label_barcode_finalize):
1627 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1628 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1629 * src/object-editor.c: (gl_object_editor_finalize):
1630 Another pass at valgrinding -- plugged several memory leaks.
1631 * src/view-text.c: (gl_view_text_new),
1632 (update_canvas_item_from_object_cb), (draw_hacktext):
1633 Commented out artifacts of edit-in-place code.
1635 2005-10-28 Jim Evins <evins@snaught.com>
1637 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1638 Fixed use of uninitialized variable. Caught by
1639 d binderman <dcb314@hotmail.com>.
1641 2005-10-27 Jim Evins <evins@snaught.com>
1643 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1644 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1646 Additional cleanup of EDS and vcard backends. Provided by
1647 Austin Henry <ahenry@users.sourceforge.net>.
1649 2005-10-24 Jim Evins <evins@snaught.com>
1653 * src/merge-evolution.c:
1654 * src/merge-evolution.h:
1655 * src/merge-init.c: (gl_merge_init):
1656 * src/merge-properties-dialog.c: (type_changed_cb):
1657 * src/merge-vcard.c:
1658 * src/merge-vcard.h:
1659 * src/ui-commands.c: (gl_ui_cmd_help_about):
1660 Added Evolution Data Server and VCard merge backends. Original patch
1661 provided by Austin Henry <ahenry@users.sourceforge.net>.
1663 Only support EDS and VCard backends if libebook is installed. Allow
1664 user to disable support, even if installed.
1666 2005-10-24 Jim Evins <evins@snaught.com>
1669 * data/templates/avery-iso-templates.xml:
1670 * data/templates/avery-us-templates.xml:
1671 * data/templates/misc-iso-templates.xml:
1672 * data/templates/zweckform-iso-templates.xml:
1673 Collected all template changes and submissions since last
1676 2005-10-23 Jim Evins <evins@snaught.com>
1679 * data/mime/Makefile.am:
1680 Added configure options to disable update-mime-database and
1681 update-desktop-database as part of the install. Patch
1682 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1684 2005-10-23 Jim Evins <evins@snaught.com>
1687 * libglabels/xml.c: (gl_xml_get_prop_string),
1688 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1689 (gl_xml_is_node), (gl_xml_get_node_content):
1690 Added new XML utility functions.
1691 * libglabels/xml-paper.c:
1692 * libglabels/xml-template.c:
1694 Cleanup by using new xml utilities created above.
1695 * libglabels/paper.c: (gl_paper_free):
1696 * src/file.c: (new_response):
1697 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1698 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1699 (gl_pixbuf_cache_get_pixbuf):
1700 * src/ui-property-bar.c:
1701 (gl_ui_property_bar_construct_color_combo):
1702 * src/view-highlight.c: (gl_view_highlight_finalize):
1703 * src/view-image.c: (update_object_from_editor_cb):
1704 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1705 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1706 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1707 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1708 (draw_markup_margin_round), (draw_markup_margin_cd),
1709 (draw_markup_margin_cd_bc):
1710 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1711 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1712 Plugged various memory leaks located with valgrind.
1713 * src/view-image.c: (update_canvas_item_from_object_cb):
1714 Don't allow a width or height of zero when drawing pixbuf.
1716 2005-10-22 Jim Evins <evins@snaught.com>
1718 * libglabels/xml-paper.c:
1719 * libglabels/xml-template.c:
1722 * src/bc-gnubarcode.c:
1723 * src/canvas-hacktext.c:
1725 * src/object-editor-data-page.c:
1726 * src/print-dialog.c:
1729 * src/template-designer.c:
1731 * src/ui-property-bar.c:
1733 * src/view-barcode.c:
1735 * src/view-ellipse.c:
1740 * src/wdgt-media-select.c:
1741 * src/xml-label-04.c:
1742 * src/xml-label-191.c:
1744 Modified to compile warning free with gcc-4.0. Mostly
1745 casting to change signedness of characters. Did not
1746 attack gnu-barcode library yet.
1748 2005-10-22 Jim Evins <evins@snaught.com>
1750 * src/glabels.c: (main):
1751 * src/splash.c: (gl_splash):
1752 Removed some small memory leaks.
1756 2005-09-19 Jim Evins <evins@snaught.com>
1758 * data/glade/property-bar.glade:
1759 Remove items from font_family_combo. This prevents the
1760 double entry after adding text model and list of fonts.
1761 * src/ui-property-bar.c: (reset_to_default_properties):
1762 Free font_family_list.
1764 2005-07-01 Jim Evins <evins@snaught.com>
1767 Updated italian translation (Daniele Medri)
1769 2005-06-26 Jim Evins <evins@snaught.com>
1771 * docs/libglabels/libglabels-decl-list.txt:
1772 Somehow never got checked in before.
1773 * docs/libglabels/libglabels.types:
1774 Removed -- don't need it afterall.
1776 2005-06-20 Jim Evins <evins@snaught.com>
1779 Final prep for 2.1.1 release.
1781 2005-06-20 Jim Evins <evins@snaught.com>
1784 Final preps for 2.1.1 release.
1785 * docs/libglabels/libglabels.types:
1786 Somehow never got checked in before.
1788 Bring up-to-date with recent reorg of ui code.
1791 2005-06-19 Jim Evins <evins@snaught.com>
1793 * src/template-designer.c: (construct_layout_page):
1794 Removed attempt to match background color of mini preview widget to
1797 2005-06-17 Jim Evins <evins@snaught.com>
1799 * help/C/figures/merge-ex2-4.png:
1800 * help/C/glabels.xml:
1801 Fixed spelling error.
1803 2005-06-13 Jim Evins <evins@snaught.com>
1805 * help/C/figures/merge-ex1-1.png:
1806 * help/C/figures/merge-ex1-2.png:
1807 * help/C/figures/merge-ex1-3.png:
1808 * help/C/figures/merge-ex1-4.png:
1809 * help/C/figures/merge-ex2-1.png:
1810 * help/C/figures/merge-ex2-2.png:
1811 * help/C/figures/merge-ex2-3.png:
1812 * help/C/figures/merge-ex2-4.png:
1813 Added figures for document merge tutorial.
1814 * help/C/glabels.xml:
1815 Added document merge tutorial.
1817 2005-05-19 Jim Evins <evins@snaught.com>
1819 * data/glade/merge-properties-dialog.glade:
1820 Fixed irregular spacing.
1821 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1822 (gl_merge_properties_dialog_construct):
1823 Set outer padding and remove separator.
1825 2005-05-18 Jim Evins <evins@snaught.com>
1829 Removed glHigDialog class.
1830 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1831 (gl_file_properties), (create_properties_dialog_widgets):
1832 * src/prefs-dialog.h:
1833 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1834 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1835 * src/print-dialog.h:
1836 * src/prefs-dialog.h:
1837 * src/print-dialog.c: (gl_print_dialog_get_type),
1838 (gl_print_dialog_init), (gl_print_dialog_construct):
1839 Replaced all instances of glHigDialog with GtkDialog.
1841 2005-05-17 Jim Evins <evins@snaught.com>
1845 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1846 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1847 (save_as_response), (gl_file_close):
1848 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1850 2005-05-15 Jim Evins <evins@snaught.com>
1852 * src/ui-commands.h:
1860 A little code reformatting -- no functional changes.
1862 2005-05-14 Jim Evins <evins@snaught.com>
1865 Removed obsolete macros.
1867 Added marshalling template to support new view signal: "context_menu_activate."
1869 * src/view.c: (gl_view_class_init), (gl_view_construct),
1870 (canvas_event_arrow_mode):
1871 - Removed hardcoded context menus and added new signal "context_menu_activate"
1872 to push this up to the uimanager.
1873 - Removed merge properties and print dialogs so that they can be managed with
1874 the window by the uimanager.
1875 * src/merge-properties-dialog.h:
1876 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1877 (gl_merge_properties_dialog_construct):
1878 Changed calling convention of gl_merge_properties_dialog_new() to use
1879 glLabel and GtkWindow instead of view to make more consistent with other
1881 * src/print-dialog.h:
1882 * src/print-dialog.c: (gl_print_dialog_new),
1883 (gl_print_dialog_construct):
1884 Removed last artifact of libbonoboui.
1885 * src/ui-commands.c: (gl_ui_cmd_file_print),
1886 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1887 Reconciled style for launching dialogs.
1888 * src/ui.c: (gl_ui_new):
1889 Added context menus to ui manager.
1890 * src/view-object.c: (item_event_arrow_mode):
1891 No longer try to select objects with right-click.
1893 * src/window.c: (gl_window_init), (gl_window_set_label),
1894 (context_menu_activate_cb):
1895 Context menus and all dialogs are now managed in a consistent way in window
1898 2005-05-11 Jim Evins <evins@snaught.com>
1901 * src/window.c: (gl_window_init), (gl_window_destroy):
1902 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1903 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1904 Moved management of recent_view back from window.c to ui.c -- it just feels
1907 2005-05-10 Jim Evins <evins@snaught.com>
1910 * src/window.c: (gl_window_init):
1912 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1913 (menu_item_select_cb), (menu_item_deselect_cb):
1914 Added GtkStatusbar which displays menu tooltips.
1916 2005-05-09 Jim Evins <evins@snaught.com>
1918 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1923 Removed dependencies on libbonoboui.
1925 * data/ui/Makefile.am:
1926 * data/ui/glabels-ui.xml:
1927 Removed data/ui directory.
1928 * data/glade/Makefile.am:
1929 * data/property-bar.glade:
1930 Added glade description of property-bar for new libglade implementation
1937 * src/ui-commands.h:
1938 * src/ui-commands.c:
1939 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1940 since the distinction between "commands" and "tools" is no longer that clear.
1943 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1944 no longer has knowledge of eggRecent*.
1945 * src/glabels.c: (main):
1946 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1948 * src/object-editor.c: (gl_object_editor_init):
1949 Make sure notebook does not respond to a "show_all" on the parent.
1950 * src/recent-files/Makefile.am:
1951 * src/recent-files/*.[ch]
1952 Updated from latest version of libegg which now has a view based on
1953 GtkUIManager. Removed unused bonobo and gtk views.
1954 * src/ui-property-bar.h:
1955 * src/ui-property-bar.c:
1956 New implementation based on libglade.
1959 Sidebar is now simply a GtkWidget and does not expect to be a part of
1960 a libbonoboui interface.
1965 Converted for use with GtkUIManager.
1968 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1969 to create menus and toolbars.
1971 2005-04-25 Jim Evins <evins@snaught.com>
1973 * data/templates/misc-iso-templates.xml:
1974 Added Fellows 04715 template provided by Steve Saxon.
1976 Updated acknowledgement for above.
1978 2005-04-23 Jim Evins <evins@snaught.com>
1980 * src/util.c: (gl_util_combo_box_set_strings):
1981 Make sure to clear model before loading a new list of strings.
1982 * src/wdgt-media-select.h:
1983 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1984 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1985 (template_combo_changed_cb), (prefs_changed_cb),
1986 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1987 (gl_wdgt_media_select_get_page_size),
1988 (gl_wdgt_media_select_set_page_size):
1989 Replaced the deprecated GtkCombo widget with the new
1992 2005-04-21 Jim Evins <evins@snaught.com>
1994 * data/glade/template-designer.glade:
1995 * src/template-designer.c: (construct_pg_size_page),
1996 (pg_size_page_changed_cb), (build_template):
1997 Replaced the deprecated GtkCombo widget with the new
2000 2005-04-20 Jim Evins <evins@snaught.com>
2002 * data/glade/prefs-dialog.glade:
2003 * src/prefs-dialog.c: (construct_object_page),
2004 (update_object_page_from_prefs), (update_prefs_from_object_page):
2005 Replaced the deprecated GtkCombo widget with the new
2008 2005-04-19 Jim Evins <evins@snaught.com>
2010 * data/glade/object-editor.glade:
2011 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2012 (style_changed_cb), (gl_object_editor_set_bc_style),
2013 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2014 (gl_object_editor_get_bc_color):
2015 * src/object-editor-data-page.c:
2016 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2017 (gl_object_editor_get_data):
2018 * src/object-editor-edit-page.c:
2019 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2020 * src/object-editor-fill-page.c:
2021 (gl_object_editor_prepare_fill_page),
2022 (gl_object_editor_set_fill_color),
2023 (gl_object_editor_get_fill_color):
2024 * src/object-editor-image-page.c:
2025 (gl_object_editor_prepare_image_page),
2026 (gl_object_editor_set_image), (gl_object_editor_get_image):
2027 * src/object-editor-line-page.c:
2028 (gl_object_editor_prepare_line_page),
2029 (gl_object_editor_set_line_color),
2030 (gl_object_editor_get_line_color):
2031 * src/object-editor-private.h:
2032 * src/object-editor-text-page.c:
2033 (gl_object_editor_prepare_text_page),
2034 (gl_object_editor_set_font_family),
2035 (gl_object_editor_get_font_family),
2036 (gl_object_editor_set_text_color),
2037 (gl_object_editor_get_text_color):
2038 * src/object-editor.c: (gl_object_editor_set_key_names):
2040 In the object editor: replaced all instances of the deprecated
2041 GtkCombo widget with the new GtkComboBox.
2043 2005-04-18 Jim Evins <evins@snaught.com>
2046 Neglected to save this one in previous checkin to support
2049 2005-04-17 Jim Evins <evins@snaught.com>
2051 * libglabels/libglabels-private.h:
2052 * libglabels/paper.c:
2053 * libglabels/paper.h:
2054 * libglabels/template.c:
2055 * libglabels/template.h:
2056 * libglabels/xml-paper.c:
2057 * libglabels/xml-paper.h:
2058 * libglabels/xml-template.c:
2063 * src/bc-gnubarcode.c:
2074 * src/label-barcode.c:
2076 * src/label-ellipse.c:
2077 * src/label-image.c:
2078 * src/label-image.h:
2080 * src/label-object.c:
2084 * src/merge-properties-dialog.c:
2085 * src/object-editor-bc-page.c:
2086 * src/object-editor-data-page.c:
2087 * src/object-editor-edit-page.c:
2088 * src/object-editor-fill-page.c:
2089 * src/object-editor-image-page.c:
2090 * src/object-editor-line-page.c:
2091 * src/object-editor-lsize-page.c:
2092 * src/object-editor-position-page.c:
2093 * src/object-editor-private.h:
2094 * src/object-editor-size-page.c:
2095 * src/object-editor-text-page.c:
2096 * src/object-editor.c:
2097 * src/object-editor.h:
2098 * src/pixbuf-cache.h:
2099 * src/prefs-dialog.c:
2100 * src/prefs-dialog.h:
2101 * src/prefs-model.c:
2102 * src/prefs-model.h:
2104 * src/print-dialog.c:
2105 * src/print-dialog.h:
2113 * src/template-designer.c:
2114 * src/template-designer.h:
2117 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2123 * src/view-barcode.c:
2125 * src/view-ellipse.c:
2126 * src/view-highlight.c:
2127 * src/view-highlight.h:
2130 * src/view-object.c:
2131 * src/view-object.h:
2135 * src/wdgt-chain-button.c:
2136 * src/wdgt-media-select.c:
2137 * src/wdgt-media-select.h:
2138 * src/wdgt-mini-preview.c:
2139 * src/wdgt-mini-preview.h:
2140 * src/wdgt-print-copies.c:
2141 * src/wdgt-print-copies.h:
2142 * src/wdgt-print-merge.c:
2143 * src/wdgt-print-merge.h:
2144 * src/wdgt-rotate-label.c:
2145 * src/wdgt-rotate-label.h:
2148 * src/xml-label-04.c:
2149 * src/xml-label-191.c:
2151 Cleanup of header files:
2152 - all header files are now stand-alone, verified by including
2153 first in corresponding "c" files
2154 - replaced blanket includes of gnome, gtk, and glib with
2157 2005-04-16 Jim Evins <evins@snaught.com>
2159 * data/glade/Makefile.am:
2160 * data/glade/merge-properties-dialog.glade:
2161 Added merge properties dialog glade description file.
2162 * src/merge-properties-dialog.h:
2163 * src/merge-properties-dialog.c:
2164 (gl_merge_properties_dialog_get_type),
2165 (gl_merge_properties_dialog_init),
2166 (gl_merge_properties_dialog_finalize),
2167 (gl_merge_properties_dialog_new),
2168 (gl_merge_properties_dialog_construct), (type_changed_cb),
2169 (src_changed_cb), (response_cb), (load_tree),
2170 (record_select_toggled_cb), (select_all_button_clicked_cb),
2171 (unselect_all_button_clicked_cb):
2172 Modified merge properties dialog to use libglade. Added
2173 "select all" and "unselect all" buttons.
2174 * src/merge-text.c: (parse_line):
2175 Handle empty lines better.
2176 * src/merge.c: (gl_merge_eval_key):
2177 Evaluate the key whether the record is selected or not.
2179 * src/util.c: (gl_util_combo_box_add_text_model):
2180 Since libglade does not use the gtk_combo_box_new_text()
2181 constructor for GtkComboBoxes, a utility function was created
2182 to add an appropriate text model to a GtkComboBox.
2183 * src/view.c: (gl_view_edit_merge_props):
2184 Removed unnecessary "show all's".
2186 2005-04-15 Jim Evins <evins@snaught.com>
2189 Updated russian translation (Vitaly Lipatov)
2190 * data/templates/misc-iso-templates.xml:
2191 Added templates for russian business cards provided by Vitaly Lipatov.
2193 Updated acknowledgements for above.
2195 2005-04-15 Jim Evins <evins@snaught.com>
2197 * data/templates/avery-us-templates.xml:
2198 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2199 * data/templates/misc-iso-templates.xml:
2200 Added Ryman standard CD/DVD template, provided by Dan Clark.
2202 Added acknowledgements for above.
2204 2005-04-10 Jim Evins <evins@snaught.com>
2206 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2207 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2208 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2209 (xml_parse_label_cd_node), (xml_parse_alias_node):
2210 * libglabels/xml.c: (gl_xml_get_prop_double),
2211 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2212 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2213 * src/xml-label-04.c: (xml04_parse_media_description),
2214 (xml04_parse_text_props), (xml04_parse_barcode_props),
2215 (xml04_parse_merge_properties):
2216 * src/xml-label-191.c: (xml191_parse_object),
2217 (xml191_parse_text_props), (xml191_parse_barcode_props),
2218 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2219 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2220 (xml191_parse_alias):
2221 * src/xml-label.c: (xml_parse_object_text),
2222 (xml_parse_object_barcode), (xml_parse_merge_fields),
2223 (xml_parse_pixdata), (xml_parse_toplevel_span):
2224 Make sure to use xmlFree for anything obtained from libxml
2225 in case libxml and glib use different memory management
2228 2005-04-08 Jim Evins <evins@snaught.com>
2231 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2232 (gl_util_combo_box_set_active_text):
2233 Added utility functions to simplify working with GtkComboBox
2235 * src/ui-property-bar.h:
2236 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2237 (reset_to_default_properties), (update_text_properties),
2238 (font_family_changed_cb):
2239 Replaced deprecated GtkCombo with GtkComboBox.
2242 2005-04-03 Jim Evins <evins@snaught.com>
2245 * src/wdgt-image-select.h:
2246 * src/wdgt-image-select.c:
2247 Removed obsolete wdgt-image-select.[ch] files.
2248 * libglabels/paper.c: (gl_paper_dup):
2249 Fixed rename of parameter introduced during documentation
2251 * data/glade/object-editor.glade:
2252 * src/object-editor-image-page.c:
2253 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2254 (gl_object_editor_set_image), (gl_object_editor_get_image),
2255 (update_preview_cb), (add_image_filters_to_chooser):
2256 * src/object-editor-private.h:
2257 Replaced deprecated GnomePixmapEntry with
2258 GtkFileChooserButton.
2260 2005-04-02 Jim Evins <evins@snaught.com>
2262 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2263 (mygal_combo_box_popup_hide_unconditional),
2264 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2265 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2266 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2267 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2268 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2269 Renamed all internal gtk_combo functions to mygal_combo
2270 to prevent namespace confusion.
2272 2005-04-02 Jim Evins <evins@snaught.com>
2274 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2275 (cust_color_set), (color_palette_setup):
2276 * src/mygal/color-palette.h:
2277 Replaced deprecated GnomeColorPicker with GtkColorButton.
2279 2005-04-02 Jim Evins <evins@snaught.com>
2281 * docs/libglabels/libglabels-sections.txt:
2282 * docs/libglabels/libglabels-undocumented.txt:
2283 * docs/libglabels/tmpl/enums.sgml:
2284 * docs/libglabels/tmpl/paper.sgml:
2285 * docs/libglabels/tmpl/xml-paper.sgml:
2286 * docs/libglabels/tmpl/xml-template.sgml:
2287 * libglabels/enums.h:
2288 * libglabels/paper.c: (gl_paper_dup):
2289 * libglabels/paper.h:
2290 * libglabels/xml-paper.c:
2291 * libglabels/xml-template.c:
2292 More documentation updates for libglabels.
2294 2005-03-23 Jim Evins <evins@snaught.com>
2297 Automatically updated.
2302 * docs/libglabels/Makefile.am:
2303 * docs/libglabels/libglabels-docs.sgml:
2304 * docs/libglabels/libglabels-sections.txt:
2305 * docs/libglabels/libglabels-undocumented.txt:
2306 * docs/libglabels/tmpl/enums.sgml:
2307 * docs/libglabels/tmpl/libglabels-unused.sgml:
2308 * docs/libglabels/tmpl/libglabels.sgml:
2309 * docs/libglabels/tmpl/paper.sgml:
2310 * docs/libglabels/tmpl/template.sgml:
2311 * docs/libglabels/tmpl/xml-paper.sgml:
2312 * docs/libglabels/tmpl/xml-template.sgml:
2313 * docs/libglabels/tmpl/xml.sgml:
2314 Added basic gtk-doc stuff to support documenting libglabels
2317 Updated function comments with gtk-doc markup.
2321 2005-03-22 Jim Evins <evins@snaught.com>
2323 Since the development version now requires gtk-2.6/gnome-2.10, I
2324 have made a first pass at removing deprecations.
2327 * libglabels/Makefile.am:
2329 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2330 Also removed all remnants of HAVE_FILECHOOSER.
2331 * src/file.c: (gl_file_open_real):
2332 Removed code for old GtkFileSelection.
2333 * libglabels/libglabels-private.h:
2334 * libglabels/paper.c:
2335 * libglabels/template.c:
2336 * libglabels/xml-paper.c:
2337 * libglabels/xml-template.c:
2341 * src/glabels-batch.c:
2345 * src/merge-properties-dialog.c:
2347 * src/object-editor.c:
2348 * src/prefs-dialog.c:
2350 * src/print-dialog.c:
2353 * src/template-designer.c:
2354 * src/ui-property-bar.c:
2356 * src/view-barcode.c:
2358 * src/view-ellipse.c:
2363 * src/wdgt-image-select.c:
2364 * src/wdgt-media-select.c:
2365 * src/wdgt-print-copies.c:
2366 * src/wdgt-print-merge.c:
2367 * src/wdgt-rotate-label.c:
2369 * src/xml-label-04.c:
2370 * src/xml-label-191.c:
2372 Added '#include <glib/gi18n.h>" where needed.
2373 Removed any unused '#include <gnome.h>"s.
2375 2005-03-22 Jim Evins <evins@snaught.com>
2377 * src/commands.c: (activate_url), (gl_cmd_help_about):
2378 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2379 development version of glabels now depends on GTK 2.6 and
2382 Updated library dependencies.
2384 2005-02-28 Jim Evins <evins@snaught.com>
2387 * data/templates/misc-iso-templates.xml:
2388 Added 'Ednet 45021' template provided by Ali Akcaagac
2391 2005-02-14 Jim Evins <evins@snaught.com>
2393 * data/templates/avery-us-templates.xml:
2394 Updated templates to use inches instead of points.
2395 * src/print-dialog.c: (printer_page_new):
2396 Changed packing style when adding printer selector widget. This fixes
2399 2005-02-13 Jim Evins <evins@snaught.com>
2403 Updated spanish translations. (sergio rivadero)
2405 2005-02-05 Jim Evins <evins@snaught.com>
2407 Some cleanup to libglabels.
2410 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2411 * libglabels/libglabels.pc.in
2413 * libglabels/enums.h
2414 Created. Currently only contains glUnitsType which provides enumerations
2415 for all possible units of distance.
2416 * libglabels/Makefile.am:
2417 Incorporated new files enums.h and libglabels.pc[.in].
2418 * libglabels/libglabels.h:
2420 * libglabels/template.h:
2421 * libglabels/template.c: (gl_template_layout_new):
2422 Changed parameters nx and ny to gint from gdouble.
2424 * libglabels/xml.c: (gl_xml_get_prop_length),
2425 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2426 Added support for different output units.
2427 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2428 (update_prefs_from_locale_page):
2429 * src/prefs-model.c: (string_to_units), (units_to_string):
2430 * src/prefs-model.h:
2431 * src/prefs.c: (gl_prefs_get_units_per_point),
2432 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2433 (gl_prefs_get_units_string):
2435 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2436 Reconciled all length enumerations with the new enumerations provided
2437 in libglabels/enums.h.
2439 2005-02-03 Jim Evins <evins@snaught.com>
2442 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2444 Updated Italian translations. (Daniele Medri)
2446 Updated credits to reflect above translations.
2449 2005-01-22 Jim Evins <evins@snaught.com>
2454 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2456 Final prep for 2.1.0.
2458 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2460 Added '--remove-original' flag to desktop-file-install, so that there is
2461 only one menu entry.
2463 2005-01-20 Jim Evins <evins@snaught.com>
2465 * data/glade/object-editor.glade:
2466 - Font family entry should not be editable.
2467 - img_key_entry should have sensitivity=YES, so that it follows the
2468 sensitivity of img_key_combo.
2470 2005-01-19 Jim Evins <evins@snaught.com>
2473 Give credit to Frederic Ruaudel for the color merge patches.
2475 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2477 Add support to merge color for all other color attribute (Feature
2478 Requests item #1008635. If the data is invalid, the color used is transparent
2479 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2480 by gdk_color_parse() these include name for a color from rgb.txt, such as
2481 DarkSlateGray, or a hex specification such as #305050. File format has been
2482 changed but backward compatibility is preserved for all format. For
2483 box/ellipse/line, keep attribute "line_color" for static color or replace by
2484 "line_color_field" for merge data. For text/barcode objects, keep attribute
2485 "color" for static color or replace by "color_field" for merge data. In the
2486 edit canvas window, merged color are represented by half-transparent black
2489 * data/dtd/glabels-2.0.dtd:
2490 Added line_color_field to line_attrs. Added color_field to
2491 Object-barcode and Span.
2492 * data/glade/object-editor.glade:
2493 Modify the layout of the editor to add merge possibility to color options
2495 Fix a copy/paste error in a comment
2497 Add default color for merge color representation in the editor canvas.
2498 * src/label-barcode.c:
2499 * src/object-editor-bc-page.c:
2500 * src/view-barcode.c:
2501 Add merge color support for barcode color.
2504 Add merge color support for box border color.
2505 * src/label-ellipse.c:
2506 * src/view-ellipse.c:
2507 Add merge color support for ellipse border color.
2510 Add merge color support for line color.
2511 * src/label-object.c:
2512 * src/label-object.h:
2513 * src/object-editor.c:
2514 * src/object-editor.h:
2515 * src/ui-property-bar.c:
2518 * src/xml-label-04.c:
2519 * src/xml-label-191.c:
2520 Add support for merging to other color attribute.
2522 * src/object-editor-text-page.c:
2524 Add merge color support for text color.
2525 * src/object-editor-fill-page.c:
2526 Change a blocked handler that didn't match the good widget. Fix the type
2527 of some debug message.
2528 * src/object-editor-line-page.c:
2529 Add merging support to line color option.
2530 * src/object-editor-private.h:
2531 Add variables for new widget.
2533 Modify the draw functions to get merge data if needed.
2535 Change the default size of the window in order to see all widget in the
2536 "text style tab" of the editor.
2538 Modify the parser to record/retreive the field value for objects that need
2539 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2540 static color or replace by "line_color_field" for merge data. For
2541 text/barcode objects, keep attribute "color" for static color or replace
2542 by "color_field" for merge data.
2544 2005-01-17 Jim Evins <evins@snaught.com>
2546 * src/view.c: (screen_changed_cb):
2547 Don't do anything if we don't have a screen.
2549 2005-01-06 Jim Evins <evins@snaught.com>
2551 * src/view.c: (get_home_scale):
2552 Fixed bad call to gtk_widget_has_screen() -- huh?.
2554 2005-01-06 Jim Evins <evins@snaught.com>
2556 * data/dtd/glabels-2.0.dtd:
2557 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2560 2005-01-06 Jim Evins <evins@snaught.com>
2562 * data/glade/object-editor.glade:
2563 Set entries for fill and data field key dropdowns to NOT editable.
2564 * src/view-box.c: (construct_properties_editor):
2565 * src/view-ellipse.c: (construct_properties_editor):
2566 Update object editor when label's merge property has changed.
2567 * src/xml-label.c: (xml_parse_object_ellipse):
2568 Completed the merge color support for the ellipse item.
2570 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2572 Add support to merge color for object that have a "Fill color" attribute (Feature
2573 Requests item #1008635. If the data is invalid, the color used is transparent
2574 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2575 by gdk_color_parse() these include name for a color from rgb.txt, such as
2576 DarkSlateGray, or a hex specification such as #305050. File format has been
2577 changed but backward compatibility is preserved for all format. For box/ellipse,
2578 keep attribute "fill_color" for static color or replace by "fill_color_field"
2581 * data/glade/object-editor.glade:
2582 Modify "Fill" tab to add the merge key combo and convert the labels into
2586 Add "glColorNode" structure and associated functions to manage it. This
2587 structure is equivalent for color than the "glTextNode". It holds the color
2589 * src/label-object.h:
2590 * src/label-object.c:
2592 * src/label-ellipse.c:
2593 * src/ui-property-bar.c:
2597 * src/view-ellipse.c:
2598 * src/xml-label-04.c:
2599 * src/xml-label-191.c:
2600 Change functions of objects that have a "fill color" attribute to use the
2601 new "glColorNode" structure. Use barcode code as example.
2603 Add the color.[ch] file to glabels_batch binary that now need support for
2605 * src/object-editor.h:
2606 * src/object-editor.c:
2607 * src/object-editor-fill-page.c:
2608 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2609 to choose between static color or merge key. Use barcode code as example.
2610 * src/object-editor-private.h:
2611 Add new widget in the "_glObjectEditorPrivate" structure.
2613 Modify the draw functions to get merge data if needed.
2615 Modify the parser to record/retreive the field value for objects that need
2616 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2617 color or "fill_color_field" for merge data.
2619 2005-01-04 Jim Evins <evins@snaught.com>
2622 * data/templates/avery-iso-templates.xml:
2623 * data/templates/misc-iso-templates.xml:
2624 * data/templates/misc-us-templates.xml:
2625 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2628 2004-11-26 Jim Evins <evins@snaught.com>
2632 Updated french translations provided by Florent Morel <florent@taket.org>.
2633 * src/view-barcode.c:
2635 * src/view-ellipse.c:
2639 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2640 thus _() strings were not being translated.
2642 2004-11-14 Jim Evins <evins@snaught.com>
2645 * src/debug.c: (gl_debug_init), (gl_debug):
2646 Borrowed from gedit: use environmental variables to select debug
2649 Removed unused include of debug.h.
2650 * src/glabels.c: (main):
2651 Added call to gl_debug_init(), and removed debug clutter from command line
2653 * src/glabels-batch.c: (main):
2654 Added call to gl_debug_init().
2656 2004-11-13 Jim Evins <evins@snaught.com>
2658 Drawing and property toolbars were being initialized with the "icons and text"
2659 look in Fedora Core 3. Even though none of the buttons had any text attached to
2660 them, the buttons were being sized as if they were. This led to less real estate
2661 for the property editor, leading to Bug #1064630. The
2663 * data/ui/glabels-ui.xml:
2664 Added explicit "look" property to both drawing and property toolbars.
2665 * src/prefs-model.c: (gl_prefs_model_save_settings),
2666 (gl_prefs_model_load_settings):
2667 * src/prefs-model.h:
2668 Removed drawing_toolbar_button_style configuration parameter.
2669 * src/ui.c: (view_menu_item_toggled_cb),
2670 (set_app_drawing_toolbar_style):
2671 Do not attempt to adjust look property of the drawing toolbar.
2673 2004-10-28 Jim Evins <evins@snaught.com>
2675 * data/pixmaps/glabels-about-logo.png:
2678 2004-10-28 Jim Evins <evins@snaught.com>
2680 * data/man/glabels.1:
2681 * src/glabels-batch.c: (main):
2683 * src/print.c: (gl_print_batch):
2685 Added option to glabels-batch to select the first label to begin
2688 2004-09-26 Jim Evins <evins@snaught.com>
2690 * data/desktop/glabels.desktop.in:
2691 Point to app icon, "glabels.png"
2692 * data/mime/glabels.keys.in:
2693 Point at mime icon, "glabels-application-x-glabels.png"
2694 * data/pixmaps/Makefile.am:
2695 Added glabels_app_icondir. Renamed icons.
2696 * data/pixmaps/glabels.png:
2697 New cleaned up app icon. Deleted glabels-icon.png.
2698 * data/pixmaps/glabels-application-x-glabels.png:
2700 * data/pixmaps/glabels-splash.png:
2701 Renamed glabels-logo to glabels-splash to be more correct about role.
2703 * src/template-designer.c:
2704 Point at app icon, "glabels.png"
2706 Point at renamed splash image, "glabels-splash.png"
2708 2004-08-22 Jim Evins <evins@snaught.com>
2711 * src/glabels-batch.c: (main):
2712 Applied patch with minor mods to allow selecting merge source and
2713 crop-marks on glabels-batch's command line. Original patch provided by
2714 José Dapena Paz <jdapena@igalia.com>.
2716 2004-08-15 Jim Evins <evins@snaught.com>
2718 * data/desktop/glabels.desktop.in:
2719 - Added encoding line
2720 - Removed period from comment
2721 - Fixed Terminal line, changed "0" to "false"
2722 - Added semicolen to Categories line
2724 - Made sure desktop.in comment string above still translated properly
2726 2004-08-14 Jim Evins <evins@snaught.com>
2728 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2729 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2730 * src/xml-label-191.c: (xml191_parse_sheet):
2731 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2733 Reconciled libglabels versioning with 2.0.1.
2736 2004-08-14 Jim Evins <evins@snaught.com>
2739 Updated version to 2.1cvs.
2741 2004-08-14 Jim Evins <evins@snaught.com>
2744 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2746 2004-08-14 Jim Evins <evins@snaught.com>
2748 Fixes for Bug #1008181.
2750 * src/bc.c: (gl_barcode_default_digits):
2751 Make a format of zero digits, harmless.
2752 * src/xml-label.c: (xml_parse_object_barcode):
2753 Set default value of the format property of barcode objects to 10, not
2754 zero. This will prevent crashes when reading pre 2.0.x files.
2756 2004-08-09 Jim Evins <evins@snaught.com>
2760 * help/C/glabels-C.omf:
2761 * help/C/glabels.xml:
2762 Brought documentation up-to-date for 2.0.0 release.
2764 2004-08-09 Jim Evins <evins@snaught.com>
2766 These are hopefully the final preparations for 2.0.0.
2768 * data/mime/Makefile.am:
2769 Include glabels.xml in EXTRA_DIST.
2771 - Updated comment style.
2772 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2773 - Added package and version info to configuration printout
2774 - Update version to 2.0.0
2775 * libglabels/Makefile.am:
2776 Use the new LIBGLABELS_VERSION_INFO macro.
2778 2004-08-09 Jim Evins <evins@snaught.com>
2782 Cleanup of required library macros.
2784 2004-08-08 Jim Evins <evins@snaught.com>
2788 - More specific of what to install in /usr/bin and /usr/lib
2789 - Remove built mime registration files from staging directory
2791 2004-08-08 Jim Evins <evins@snaught.com>
2793 * data/mime/Makefile.am:
2794 Fixed typo: key_files should have been keys_files.
2796 2004-08-08 Jim Evins <evins@snaught.com>
2798 Reorganization of runtime data files. Also added registration of mimetype with
2799 new freedesktop.org mime database if available.
2802 Moved files to appropriate subdirectories, creating local Makefile.am
2803 in each subdirectory.
2804 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2805 These are now installed at $datadir/glabels/templates.
2806 - Moved glabels.1 to man subdirectory.
2807 - Moved glabels-2.0.dtd to dtd subdirectory.
2808 - Moved glabels.desktop.in to desktop subdirectory.
2809 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2811 Moved "./pixmaps" to "./data/pixmaps"
2813 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2815 Moved libglade files from src to data/glade. Created Makefile.am.
2817 Removed pixmaps from SUBDIRS.
2819 - Removed pixmaps from makefiles.
2820 - Added makefiles for new subdirs of data.
2821 - Added tests for freedesktop.org mime database.
2823 - Added tests for freedesktop.org mime database for post install and
2824 post un-install actions.
2825 * libglabels/Makefile.am:
2826 Moved system template files to $(datadir)/glabels/templates.
2827 * libglabels/libglabels-private.h:
2828 Moved system template files to $(datadir)/glabels/templates.
2830 - Accounted for movement of ui and libglade files.
2831 - Added missing .in files.
2832 - Reorganized by directory.
2834 Accounted for movement of ui and libglade files.
2835 * data/mime/glabels.xml.in:
2836 New file for registering with freedesktop.org mime database.
2838 2004-08-07 Jim Evins <evins@snaught.com>
2840 * src/recent-files/*:
2841 Re-synced to latest libegg/recent-files.
2843 2004-08-07 Jim Evins <evins@snaught.com>
2848 Renamed "./doc" directory to "./help" which contains user documentation,
2849 to be more consistent with other GNOME applications.
2852 2004-07-26 Jim Evins <evins@snaught.com>
2854 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2855 Corrected button order of merge properties dialog.
2857 2004-07-18 Jim Evins <evins@snaught.com>
2859 * data/glabels-2.0.dtd:
2860 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2861 (gl_barcode_get_prefered_n):
2863 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2864 (gl_label_barcode_get_props), (get_size):
2865 * src/label-barcode.h:
2866 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2867 (style_changed_cb), (gl_object_editor_set_bc_style),
2868 (gl_object_editor_get_bc_style):
2869 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2870 (gl_object_editor_set_data), (gl_object_editor_get_data):
2871 * src/object-editor-private.h:
2872 * src/object-editor.c: (gl_object_editor_set_key_names):
2873 * src/object-editor.glade:
2874 * src/object-editor.h:
2875 * src/print.c: (draw_barcode_object):
2876 * src/view-barcode.c: (update_object_from_editor_cb),
2877 (update_editor_from_object_cb),
2878 (gl_view_barcode_create_event_handler), (draw_barcode):
2879 * src/xml-label-04.c: (xml04_parse_barcode_props):
2880 * src/xml-label-191.c: (xml191_parse_barcode_props):
2881 * src/xml-label.c: (xml_parse_object_barcode),
2882 (xml_create_object_barcode):
2883 Added "format" attribute to barcode objects. This attribute is used
2884 to properly format freeform barcodes barcodes prior to merge data is
2885 applied, so that barcodes can be accurately layed out. This addresses
2886 remaining issues of feature request #824787. Also added an example of
2887 the format in the object editor.
2889 2004-07-12 Jim Evins <evins@snaught.com>
2891 Various code cleanups.
2893 * src/label-barcode.c:
2894 Removed unneeded include of gnome-glyphlist.h.
2896 * src/label-text.c: (get_size):
2897 Fixed memory leak: unref glyphlists when done with them.
2899 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2900 * src/object-editor-data-page.c:
2901 (gl_object_editor_prepare_data_page):
2902 * src/object-editor-image-page.c:
2903 (gl_object_editor_prepare_image_page):
2904 * src/object-editor-line-page.c:
2905 (gl_object_editor_prepare_line_page):
2906 * src/object-editor-lsize-page.c:
2907 (gl_object_editor_prepare_lsize_page):
2908 * src/object-editor-position-page.c:
2909 (gl_object_editor_prepare_position_page):
2910 * src/object-editor-size-page.c:
2911 (gl_object_editor_prepare_size_page):
2912 * src/object-editor-text-page.c:
2913 (gl_object_editor_prepare_text_page):
2914 Removed unneeded size groups, originally intended to keep widgets aligned.
2915 Now use tables to lay these out in object-editor.glade.
2917 * src/print.c: (draw_text_object):
2918 Fixed memory leak: unref glyphlists when done with them.
2920 * src/view-barcode.c: (draw_barcode):
2921 Fixed memory leak: unref glyphlists when done with them.
2923 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2924 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2926 - Fixed memory leak: unref glyphlists when done with them.
2928 2004-07-11 Jim Evins <evins@snaught.com>
2930 * data/glabels-2.0.dtd:
2931 * src/label-text.c: (gl_label_text_instance_init), (copy),
2932 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2934 * src/object-editor-private.h:
2935 * src/object-editor-text-page.c:
2936 (gl_object_editor_prepare_text_page),
2937 (gl_object_editor_set_text_auto_shrink),
2938 (gl_object_editor_get_text_auto_shrink):
2939 * src/object-editor.c: (gl_object_editor_set_key_names):
2940 * src/object-editor.glade:
2941 * src/object-editor.h:
2942 * src/print.c: (draw_text_object):
2943 * src/view-text.c: (update_object_from_editor_cb),
2944 (update_editor_from_object_cb):
2945 * src/xml-label.c: (xml_parse_object_text),
2946 (xml_create_object_text):
2947 Added option to allow document merge to auto shrink text size to fit
2948 within the text box. The code in print.c that actually shrinks the
2949 text is loosely based on a patch submitted by Mark Harrison
2950 <mark.harrison@velocitynet.com.au>. This addresses feature request
2953 2004-07-11 Jim Evins <evins@snaught.com>
2955 * data/glabels-2.0.dtd:
2956 * libglabels/template.c: (gl_template_rect_label_type_new),
2957 (gl_template_round_label_type_new),
2958 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2959 (template_full_page):
2960 * libglabels/template.h:
2961 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2962 (xml_create_label_node):
2963 * pixmaps/ex-rect-size.png:
2964 * src/print.c: (clip_to_outline), (clip_punchouts):
2965 * src/template-designer.c: (construct_rect_size_page),
2966 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2968 * src/template-designer.glade:
2969 * src/xml-label-191.c: (xml191_parse_label):
2970 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2971 properties for rectangular labels. Templates remain backwards compatible,
2972 but this breaks the libglabels API (I don't know of anyone outside of
2973 glabels using libglabels at this time -- what can I say, the program is
2974 is still "unstable"). This addresses the suggestion in Feature Request
2977 2004-07-05 Jim Evins <evins@snaught.com>
2978 * src/print.c: (print_crop_marks), (draw_outline):
2979 Changed crop marks and label outlines to black, instead of 25% gray.
2980 This addresses debian Bug #257460.
2982 2004-07-05 Jim Evins <evins@snaught.com>
2984 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2985 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2986 Preserve "is_default" of fill and line color_combos when creating from
2989 2004-07-02 Jim Evins <evins@snaught.com>
2992 Created man page. Based on page submitted by Matthew J. Lockner, however
2993 it has been severely edited.
2995 * data/avery-other-templates.xml
2996 * data/misc-other-templates.xml:
2997 Started new files for predefined templates with non-standard sheet sizes.
2998 These have been initially populated with the Avery 06141 and
2999 OfficeMax #86112, both provided by Matthew J. Lockner.
3002 Install above manpage and template files.
3005 Make sure we install man pages.
3007 * src/glabels-batch.c:
3008 Changed short form of help option to '-?' to be consistent with glabels.
3011 Added acknowledgement for above labels.
3013 2004-07-02 Jim Evins <evins@snaught.com>
3015 * src/glabels.c: (main), (save_session_cb):
3016 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3018 - save_session_cb() now returns gboolean.
3019 - Minor formatting changes.
3023 - Now include file.h to provide missing prototype.
3024 - gl_window_get_type() now returns GType, not guint. I believe this may
3025 ultimately be cause of the segfault reported in Bug #982287, since
3026 GType is actually a gulong, which may not be compatible on other
3027 architectures (64bit) -- I cannot personally test this at this time.
3028 I was sloppy in several other xxx_get_type() functions which also
3029 returned guint -- see next group of files:
3031 * src/window.c: (gl_window_get_type):
3032 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3033 * src/canvas-hacktext.h:
3034 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3035 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3036 (gl_hig_hbox_get_type):
3038 * src/label-barcode.c: (gl_label_barcode_get_type):
3039 * src/label-barcode.h:
3040 * src/label-box.c: (gl_label_box_get_type):
3042 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3043 * src/label-ellipse.h:
3044 * src/label-image.c: (gl_label_image_get_type):
3045 * src/label-image.h:
3046 * src/label-line.c: (gl_label_line_get_type):
3048 * src/label-object.c: (gl_label_object_get_type):
3049 * src/label-object.h:
3050 * src/label-text.c: (gl_label_text_get_type):
3052 * src/label.c: (gl_label_get_type):
3054 * src/merge-properties-dialog.c:
3055 (gl_merge_properties_dialog_get_type):
3056 * src/merge-properties-dialog.h:
3057 * src/merge-text.c: (gl_merge_text_get_type):
3059 * src/merge.c: (gl_merge_get_type):
3061 * src/object-editor.c: (gl_object_editor_get_type):
3062 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3063 * src/prefs-dialog.h:
3064 * src/prefs-model.c: (gl_prefs_model_get_type):
3065 * src/prefs-model.h:
3066 * src/print-dialog.c: (gl_print_dialog_get_type):
3067 * src/print-dialog.h:
3068 * src/template-designer.c: (gl_template_designer_get_type):
3069 * src/template-designer.h:
3070 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3071 * src/ui-property-bar.h:
3072 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3074 * src/view-barcode.c: (gl_view_barcode_get_type):
3075 * src/view-barcode.h:
3076 * src/view-box.c: (gl_view_box_get_type):
3078 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3079 * src/view-ellipse.h:
3080 * src/view-highlight.c: (gl_view_highlight_get_type):
3081 * src/view-highlight.h:
3082 * src/view-image.c: (gl_view_image_get_type):
3084 * src/view-line.c: (gl_view_line_get_type):
3086 * src/view-object.c: (gl_view_object_get_type):
3087 * src/view-object.h:
3088 * src/view-text.c: (gl_view_text_get_type):
3090 * src/view.c: (gl_view_get_type):
3092 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3093 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3094 * src/wdgt-image-select.h:
3095 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3096 * src/wdgt-media-select.h:
3097 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3098 * src/wdgt-mini-preview.h:
3099 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3100 * src/wdgt-print-copies.h:
3101 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3102 * src/wdgt-print-merge.h:
3103 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3104 * src/wdgt-rotate-label.h:
3105 - Made sure all xxx_get_type functions returned GType, not guint. This
3106 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3107 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3108 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3109 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3110 window.[ch] details above for more info.
3111 - Reconciled various coding style differences in all xxx_get_type()
3113 * All prototypes include G_GNUC_CONST.
3114 * All prototypes specify the return value as GType, not GtkType
3116 * Info structures are all declared as "static const."
3117 * Generalized the names of type and info variables.
3118 * Miscelaneous formatting.
3120 2004-06-08 Jim Evins <evins@snaught.com>
3126 Don't touch compression of original file -- still defaults to 9 for
3127 new files. Original patch provided by Javier Donaire Segarra
3128 (#912252 in patch tracker).
3130 2004-05-05 Jim Evins <evins@snaught.com>
3132 * data/glabels-2.0.dtd:
3133 Broke DTD previously when adding new barcode types that contain a
3134 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3135 to avoid the problem.
3136 * data/avery-iso-templates.xml:
3137 * data/zweckform-iso-templates.xml:
3139 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3140 provided by Frank Altpeter.
3141 * libglabels/xml-template.c: (xml_create_label_node):
3142 Reordered markup and layout sub-nodes so that resulting templates will
3143 validate against DTD.
3145 2004-03-13 Jim Evins <evins@snaught.com>
3147 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3148 Changed spin callback signals from "value-changed" back to "changed."
3149 This was accidentally introduced in a previous revision, and can cause
3150 size changes just by selecting the size tab.
3152 2004-03-06 Jim Evins <evins@snaught.com>
3154 * src/view.c: (draw_grid_layer):
3155 For round labels (round and cd) adjust grid so that it lines up with
3156 center of label. Also, no longer draw box around label in the grid layer,
3157 it is hidden by he fg layer anyway. Feature suggested by
3158 nemolivier@free.fr. Although the grid is aligned with the center of the
3159 label, the coordinate system is still relative to the upper left corner
3160 of the rectangle containing the label.
3162 2004-02-25 Jim Evins <evins@snaught.com>
3165 Changed version to 2.0pre1cvs
3167 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3168 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3169 instead of doc->name fields when errors encountered.
3171 2004-02-21 Jim Evins <evins@snaught.com>
3173 * data/avery-iso-templates.xml:
3174 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3177 Added libglabels library and include file to installed files.
3180 Final prep for 1.93.3.
3182 2004-02-20 Jim Evins <evins@snaught.com>
3184 * src/glabels-batch.c: (main):
3185 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3186 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3188 2004-02-16 Jim Evins <evins@snaught.com>
3191 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3194 Added HAVE_FILE_CHOOSER to INCLUDES.
3196 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3197 (gl_file_save_as), (save_as_response):
3198 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3200 2004-02-16 Jim Evins <evins@snaught.com>
3202 * src/xml-label-04.c: (xml04_parse_image_props):
3203 * src/xml-label-191.c: (xml191_parse_image_props):
3204 * src/xml-label.c: (xml_parse_object_image):
3205 Delay setting image size until after image has been applied to new
3208 2004-02-15 Jim Evins <evins@snaught.com>
3210 * src/label-barcode.c: (gl_label_barcode_set_data),
3211 (gl_label_barcode_set_props):
3212 Don't emit "changed" signal, if no change actually made for these
3213 methods. Reduces number of unnecessary redraws of barcodes.
3215 * src/label-object.h:
3216 * src/label-object.c: (gl_label_object_set_position),
3217 (gl_label_object_set_position_relative), (set_size),
3218 (gl_label_object_set_size),
3219 (gl_label_object_set_size_honor_aspect):
3220 Don't emit "changed" signal, if no change actually made for these
3223 2004-02-15 Jim Evins <evins@snaught.com>
3225 * data/glabels-2.0.dtd:
3226 Added specific subtypes for various barcode types.
3229 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3230 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3231 (gl_barcode_can_text), (gl_barcode_text_optional),
3232 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3233 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3234 Changed API to use a string id, rather than a fixed enumeration. Id and
3235 name are separate strings. Added entries to backend table for specific
3236 subtypes for various barcode types.
3239 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3241 Modified to conform to above API. Now more stringent with data length
3242 for various subtypes.
3244 * src/bc-gnubarcode.h:
3245 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3246 (is_length_valid), (is_length1_valid), (is_length2_valid):
3247 Modified to conform to above API. Now more stringent with data length
3248 for various subtypes.
3250 * src/label-barcode.h:
3251 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3252 (gl_label_barcode_get_props), (get_size):
3253 Modified to use above API for storing barcode type.
3255 * src/object-editor.h:
3256 * src/object-editor-bc-page.c: (style_changed_cb),
3257 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3258 Modified to use above API for storing barcode type.
3260 * src/object-editor-size-page.c:
3261 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3262 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3263 Added debug markers.
3265 * src/object-editor.glade:
3266 Made barcode style combo's text entry non-editable.
3268 * src/print.c: (draw_barcode_object):
3269 Modified to use above API for barcode type.
3271 * src/view-barcode.c: (update_object_from_editor_cb),
3272 (update_editor_from_object_cb),
3273 (gl_view_barcode_create_event_handler), (draw_barcode):
3274 Modified to use above API for barcode type.
3276 * src/xml-label-04.c: (xml04_parse_barcode_props):
3277 * src/xml-label-191.c: (xml191_parse_barcode_props):
3278 * src/xml-label.c: (xml_parse_object_barcode),
3279 (xml_create_object_barcode):
3280 Modified to use above API for barcode type.
3282 2004-02-07 Jim Evins <evins@snaught.com>
3284 * src/stock-pixmaps/Makefile.am:
3285 * src/stock-pixmaps/stock_hchain_24.png:
3286 * src/stock-pixmaps/stock_hchain_broken_24.png:
3287 * src/stock-pixmaps/stock_vchain_24.png:
3288 * src/stock-pixmaps/stock_vchain_broken_24.png:
3289 Added chain pixmaps borrowed from the gimp's default theme.
3292 * src/stock.c: (gl_stock_init), (add_button_icon):
3293 Added above pixmaps to stock icon sets. Created add_button_icon() to
3294 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3296 * src/wdgt-chain-button.h
3297 * src/wdgt-chain-button.c
3300 Added this Modified version of gimpchainbutton widget, borrowed from
3304 Added acknowledgements of the above borrowing from the gimp.
3306 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3308 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3309 * src/object-editor.glade:
3310 Replaced the keep aspect ratio check box with the above chain-button
3313 * src/text-node.c: (gl_text_node_equal):
3315 Added function gl_text_node_equal() to compare text_nodes.
3317 * src/label-image.c: (gl_label_image_set_filename):
3318 Replaced incomplete text_node comparison code with invocation of
3319 gl_text_node_equal. This fixed the problem of not being able to
3320 resize an image using the object_editor if the aspect ratio is not
3323 2004-02-04 Jim Evins <evins@snaught.com>
3325 * src/object-editor-image-page.c:
3326 (gl_object_editor_prepare_image_page):
3327 Track "changed" signal of pixmap entry's GtkEntry rather than its
3328 "activate" signal -- this catches all changes to the entry rather than
3329 just changes resulting from a browse, so one can easily pull previous
3330 entries from the history. (This change is marked below on 2004-02-03,
3331 but somehow never got checked in.)
3333 * src/view-highlight.c: (sl_resize_event_handler),
3334 (sr_resize_event_handler), (st_resize_event_handler),
3335 (sb_resize_event_handler):
3336 Side resize handles will now confirm the actual resize that the object
3337 accepted before adjusting position parameters. Previously some interesting
3338 things happened when resizing a barcode to its minimum size.
3340 2004-02-03 Jim Evins <evins@snaught.com>
3342 * src/object-editor-image-page.c:
3343 (gl_object_editor_prepare_image_page):
3344 Track "changed" signal of pixmap entry's GtkEntry rather than its
3345 "activate" signal -- this catches all changes to the entry rather than
3346 just changes resulting from a browse, so one can easily pull previous
3347 entries from the history.
3349 * src/view-highlight.c: (tl_resize_event_handler),
3350 (tr_resize_event_handler), (bl_resize_event_handler),
3351 (br_resize_event_handler):
3352 Allow control key to be dropped while dragging a corner resize handle
3353 without losing the aspect ratio lock.
3355 2004-02-02 Jim Evins <evins@snaught.com>
3357 * src/label-image.c: (gl_label_image_set_filename):
3358 When setting a new filename adjust size such that the aspect ratio of
3359 the image is preserved using the current size as a bounding box.
3361 * src/view-image.c: (update_object_from_editor_cb):
3362 When updating object from editor, feed back possible size changes to
3363 editor as a result of a possible change in image.
3365 * src/object-editor-size-page.c: (size_reset_cb):
3366 Fixed typo when blocking spin handlers. If the base size is larger than
3367 the max size, treat max size as a bounding box while keeping aspect
3371 2004-02-02 Jim Evins <evins@snaught.com>
3373 * src/label-object.h:
3374 * src/label-object.c: (gl_label_object_set_size),
3375 (gl_label_object_set_size_honor_aspect):
3376 Added gl_label_object_set_size_honor_aspect() which will maintain the
3377 current aspect ratio by modifying the supplied w or h apropriately.
3379 * src/view-highlight.c: (tl_resize_event_handler),
3380 (tr_resize_event_handler), (bl_resize_event_handler),
3381 (br_resize_event_handler):
3382 Corner handles will now maintain the current aspect ratio if the
3383 control key is pressed while resizing. This addresses feature
3387 2004-01-31 Jim Evins <evins@snaught.com>
3390 * data/avery-us-templates.xml:
3391 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3393 * libglabels/template.c: (read_template_files_from_dir):
3394 Corrected problem with testing for extensions.
3396 * src/object-editor.glade:
3397 Corrected grouping of radio buttons in barcode data page.
3399 * src/print.c: (draw_barcode_object):
3400 * src/view-barcode.c: (draw_barcode):
3401 Corrected problem with calculation of y_offset for locating characters.
3403 2004-01-24 Jim Evins <evins@snaught.com>
3406 * data/avery-us-templates.xml:
3407 Added Avery 5824, submitted by Fred Bacon.
3409 2004-01-20 Jim Evins <evins@snaught.com>
3411 Catching up on a couple of backlogged user template submissions.
3413 * data/avery-iso-templates.xml:
3414 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3415 Suggested by Linas Jakucionis.
3417 * data/zweckform-iso-templates.xml:
3418 Added Zweckform 4760, submitted by Thomas Vill.
3421 Updated to reflect above submissions.
3423 2004-01-06 Jim Evins <evins@snaught.com>
3425 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3426 xml.[ch] into a separate library called libglabels, to facilitate third
3427 party use of glabels template files. This was suggested by Wayne Schuller.
3428 Once split-out, some modifications to the structures and functions to
3429 make a cleaner more useful API, hopefully. Rather extensive changes have
3430 propogated to other modules.
3438 * src/xml-template.h:
3439 * src/xml-template.c:
3442 These files have been moved to libglabels/. API cleanup performed.
3444 * libglabels/libglabels.h:
3445 * libglabels/libglabels-private.h:
3446 * libglabels/Makefile.am:
3447 These files have been added to finish out libglabels.
3454 Modified to reflect new sets of files in src/ and libglabels/.
3456 * COPYING.LIBGLABELS:
3458 Added copy of the LGPL for libglabels, and a copy the GFDL for
3461 * src/glabels-batch.c:
3463 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3464 (gl_label_get_size):
3466 * src/prefs-model.c: (gl_prefs_model_load_settings):
3467 * src/print-dialog.c:
3468 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3469 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3470 (print_crop_marks), (print_label), (draw_outline),
3471 (clip_to_outline), (clip_punchouts):
3472 * src/template-designer.c: (construct_pg_size_page),
3473 (pg_size_page_changed_cb), (layout_page_changed_cb),
3474 (print_test_cb), (build_template):
3475 * src/util.c: (gl_util_fraction):
3477 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3478 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3479 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3480 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3481 (draw_markup_margin_round), (draw_markup_margin_cd),
3482 (draw_markup_margin_cd_bc), (draw_markup_line),
3483 (draw_markup_circle), (gl_view_copy):
3484 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3485 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3486 (get_label_size_desc):
3487 * src/wdgt-mini-preview.c:
3488 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3490 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3491 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3492 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3493 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3494 * src/wdgt-rotate-label.h:
3495 * src/xml-label-04.c: (xml04_parse_media_description):
3496 * src/xml-label-191.c: (gl_xml_label_191_parse),
3497 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3498 (xml191_parse_markup), (xml191_parse_alias):
3499 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3501 Various changes to accomodate new libglabels API.
3503 2004-01-03 Jim Evins <evins@snaught.com>
3508 2004-01-03 Jim Evins <evins@snaught.com>
3511 Added acknowledgement of contributions by Wayne Schuller.
3513 * src/commands.c: (gl_cmd_file_print):
3514 Create extra reference to print dialog, so that it can be properly re-used.
3516 * src/mygal/mygal-combo-box.h:
3517 * src/mygal/mygal-combo-box.c:
3518 (mygal_combo_box_popup_hide_unconditional),
3519 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3520 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3521 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3522 (mygal_combo_box_set_tearable):
3523 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3524 complete the rename of this widget to prevent namespace collisions
3527 * src/prefs-dialog.glade:
3528 Fixed alignment of Fill/Color widgets.
3530 2004-01-03 Jim Evins <evins@snaught.com>
3532 * data/avery-iso-templates.xml:
3533 Added user submitted templates.
3534 Avery 8435A & 8435B, submitted by Ludger Solbach.
3536 * doc/C/glabels.xml:
3537 Added minimal documentation, noting the new template designer.
3539 2004-01-03 Jim Evins <evins@snaught.com>
3541 * pixmaps/ex-rect-size.png:
3542 * pixmaps/ex-round-size.png:
3543 * pixmaps/ex-cd-size.png:
3544 * pixmaps/Makefile.am:
3545 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3546 files to be used as illustrations/examples in the template-designer.
3548 * src/template-designer.c: (construct_rect_size_page),
3549 (construct_round_size_page), (construct_cd_size_page),
3550 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3551 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3552 (layout_page_prepare_cb), (build_template):
3553 * src/template-designer.glade:
3554 Added illustrations for rectangle, round, and cd label size pages.
3555 Added margin spinboxes to these pages, and now add a margin markup
3556 to the constructed template. Added realistic default values for
3557 some of the size spinboxes. Cleaned up the code for setting spinbox
3558 ranges on the layouts page.
3560 2004-01-02 Jim Evins <evins@snaught.com>
3562 * src/object-editor-size-page.c: (h_spin_cb):
3563 Fixed cut-n-paste error in h_spin_cb that loaded h from
3564 the wrong spinbutton.
3566 * src/object-editor.h:
3567 * src/object-editor.c: (gl_object_editor_class_init),
3568 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3569 * src/object-editor-private.h:
3570 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3572 Added "size_changed" signal.
3574 * src/view-text.c: (construct_properties_editor),
3575 (update_object_from_editor_cb),
3576 (update_object_from_editor_size_cb):
3577 Track size changes from object editor separately from other
3578 properties. This is so the default size (0,0) of a text
3579 object is not modified unintentionally.
3581 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3583 Added feature: line spacing - allows you to comfortably space a text box to
3584 fit a label perfectly.
3586 * data/glabels-2.0.dtd:
3587 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3588 (gl_label_object_get_text_alignment),
3589 (gl_label_object_get_text_line_spacing):
3590 * src/label-object.h:
3591 * src/label-text.c: (gl_label_text_class_init),
3592 (gl_label_text_instance_init), (copy), (get_size),
3593 (set_text_line_spacing), (get_text_alignment),
3594 (get_text_line_spacing):
3595 * src/object-editor-private.h:
3596 * src/object-editor-text-page.c:
3597 (gl_object_editor_prepare_text_page),
3598 (gl_object_editor_set_text_line_spacing),
3599 (gl_object_editor_get_text_line_spacing):
3600 * src/object-editor.glade:
3601 * src/object-editor.h:
3602 * src/prefs-dialog.c: (construct_object_page),
3603 (update_object_page_from_prefs), (update_prefs_from_object_page):
3604 * src/prefs-dialog.glade:
3605 * src/prefs-model.c: (gl_prefs_model_save_settings),
3606 (gl_prefs_model_load_settings), (get_float):
3607 * src/prefs-model.h:
3608 * src/print.c: (draw_text_object):
3610 * src/view-text.c: (update_object_from_editor_cb),
3611 (update_editor_from_object_cb),
3612 (gl_view_text_create_event_handler), (draw_hacktext):
3613 * src/view.c: (gl_view_construct),
3614 (gl_view_set_selection_text_line_spacing),
3615 (gl_view_set_default_text_line_spacing),
3616 (gl_view_get_default_text_line_spacing):
3618 * src/xml-label.c: (xml_parse_toplevel_span),
3619 (xml_create_toplevel_span):
3621 2003-12-30 Jim Evins <evins@snaught.com>
3623 * src/template-designer.c:
3624 * src/template-designer.h:
3625 * src/template-designer.glade:
3626 New template designer assistant.
3630 Added entries for src/template-designer.* files.
3632 * pixmaps/ex-1layout.png
3633 * pixmaps/ex-2layouts.png
3634 * pixmaps/Makefile.am:
3635 Added the new image files ex-*.png used as illustrations in the
3636 template designer assistant.
3638 * src/print-dialog.h:
3639 * src/print-dialog.c: (gl_print_dialog_finalize),
3640 (gl_print_dialog_new), (gl_print_dialog_construct),
3641 (gl_print_dialog_force_outline_flag):
3642 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3643 to support printing from the template designer assistant which does not
3644 have a full-fledged view. Nothing else from the view object was being
3645 used by the dialog anyway.
3647 Added the gl_print_dialog_force_outline_flag() method, for better
3648 integration with the template designer assistant.
3652 * src/commands.c: (gl_cmd_file_template_designer),
3653 (gl_cmd_file_print):
3654 Modified print command to provide label instead of view to dialog.
3655 Added the gl_cmd_file_template_designer() command to invoke the
3656 template designer assistant.
3659 * src/glabels-ui.xml:
3660 Added support for template designer assistant.
3662 * src/wdgt-mini-preview.h:
3663 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3664 (gl_wdgt_mini_preview_set_bg_color):
3665 Preview is now centered in canvas. Added
3666 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3667 assistant to match the background color with its own.
3669 * src/print.c: (clip_to_outline):
3670 Fixed really stupid bug when adding waste to clip region of rectangular
3671 labels/cards. Each side of the clip region needs to be extended by
3672 twice the waste margin, as well as negatively offset by the waste
3675 2003-12-28 Jim Evins <evins@snaught.com>
3677 * src/prefs-dialog.c: (update_object_page_from_prefs):
3678 Block intermediary function align_toggle_cb() instead of
3679 update_prefs_from_object_page() for the three alignment
3682 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3684 * src/file.c: (gl_file_new), (gl_file_properties):
3685 Swap button order and set default for higificatory pleasure.
3687 2003-12-27 Jim Evins <evins@snaught.com>
3689 * barcode-0.98/Makefile.am:
3690 One last time: removed doc/Makefile and po/Makefile.in.in from
3693 2003-12-27 Jim Evins <evins@snaught.com>
3695 * barcode-0.98/Makefile.am:
3696 Removed config.stat entry from EXTRA_DIST files.
3698 * barcode-0.98/Makefile.in:
3701 2003-12-27 Jim Evins <evins@snaught.com>
3704 Updated to work with latest gnome-common package from CVS.
3705 Removed recursive configuration of barcode-0.98.
3712 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3714 * barcode-0.98/Makefile.in:
3715 * barcode-0.98/configure.in:
3716 * barcode-0.98/Makefile.am:
3717 * barcode-0.98/README.glabels:
3718 Modified to ignore the barcode package's build system, and build
3719 as a part of glabels.
3720 Renamed Makefile.in to Makefile.in.dist.
3721 Renamed configure.in to configure.in.dist.
3722 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3725 * src/mygal/Makefile.am:
3726 * src/recent-files/Makefile.am:
3727 In order to build against the GNOME 2.5 platform,
3728 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3730 * src/mygal/Makefile.am:
3731 * src/mygal/mygal-combo-box.c:
3732 * src/mygal/mygal-combo-box.h:
3733 * src/mygal/widget-color-combo.c:
3734 * src/mygal/widget-color-combo.h:
3736 In order to build against the GNOME 2.5 platform,
3737 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3738 collisions with the real gtk_combo_box widget, now a part of gtk.
3740 2003-12-26 Jim Evins <evins@snaught.com>
3746 Moved local versions of get_home_data_dir() in paper.c and
3747 template.c to util package. Cleaned up formatting in
3751 In gl_template_register() save a copy of the template in
3752 ~/.glabels if the template is not known. Still need to
3753 handle duplicate filename case and duplicate name but
3754 different template case.
3758 Moved local definition of NAME_SPACE macro from xml-label.c
3761 * src/xml-template.c:
3762 * src/xml-template.h:
3763 Added function gl_xml_template_write_template_to_file(), used
3764 in gl_template_register().