1 2007-11-16 Jim Evins <evins@snaught.com>
5 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
6 function. Automatically create "User defined" category and add to all user
8 * libglabels/xml-template.c:
9 * libglabels/xml-template.h:
10 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
11 lgl_xml_template_write_template_to_file().
12 * docs/libglabels/libglabels-decl-list.txt:
13 * docs/libglabels/libglabels-sections.txt:
14 * docs/libglabels/libglabels-undocumented.txt:
15 * docs/libglabels/tmpl/db.sgml:
16 * docs/libglabels/tmpl/xml-template.sgml:
17 Update documentation to reflect above changes.
19 2007-10-28 Jim Evins <evins@snaught.com>
21 * libglabels/xml-template.c:
22 Remove any leading white space from part #s when parsing old names.
23 * src/mini-preview-pixbuf-cache.c:
24 If name isn't in cache add it.
26 2007-10-26 Jim Evins <evins@snaught.com>
28 * libglabels/Makefile.am:
29 * libglabels/category.c:
30 * libglabels/category.h:
33 * libglabels/libglabels-private.h:
34 * libglabels/libglabels.h:
37 * libglabels/template.c:
38 * libglabels/template.h:
39 * libglabels/xml-template.c:
40 Another pass at screwing with the libglabels API. Moved all
41 database related stuff to db.[ch].
42 * docs/libglabels/libglabels-decl-list.txt:
43 * docs/libglabels/libglabels-docs.sgml:
44 * docs/libglabels/libglabels-sections.txt:
45 * docs/libglabels/libglabels-undocumented.txt:
46 * docs/libglabels/tmpl/category.sgml:
47 * docs/libglabels/tmpl/db.sgml:
48 * docs/libglabels/tmpl/init.sgml:
49 * docs/libglabels/tmpl/libglabels-unused.sgml:
50 * docs/libglabels/tmpl/paper.sgml:
51 * docs/libglabels/tmpl/template-construction.sgml:
52 * docs/libglabels/tmpl/template-db.sgml:
53 * docs/libglabels/tmpl/template-misc.sgml:
54 * docs/libglabels/tmpl/template-struct.sgml:
55 * docs/libglabels/tmpl/template.sgml:
56 Updated documentation to reflect above changes to libglabels API.
58 * src/glabels-batch.c:
60 * src/mini-preview-pixbuf-cache.c:
63 * src/template-designer.c:
64 * src/wdgt-media-select.c:
65 * src/wdgt-mini-preview.c:
66 * src/wdgt-rotate-label.c:
69 Reconciled usage with above libglabels API changes.
71 2007-10-21 Jim Evins <evins@snaught.com>
73 * data/glade/wdgt-media-select.glade:
74 * src/wdgt-media-select.c:
75 Added brand to filter settings.
77 2007-10-21 Jim Evins <evins@snaught.com>
79 * data/dtd/glabels-2.2.dtd:
80 Forgot to replace Alias name attribute with brand and part attributes.
81 * data/templates/avery-iso-templates.xml:
82 * data/templates/avery-other-templates.xml:
83 * data/templates/avery-us-templates.xml:
84 * data/templates/misc-iso-templates.xml:
85 * data/templates/misc-other-templates.xml:
86 * data/templates/misc-us-templates.xml:
87 * data/templates/zweckform-iso-templates.xml:
88 Replaced all name attributes with brand/part attribute pairs.
90 2007-10-20 Jim Evins <evins@snaught.com>
92 * src/stock-pixmaps/*.png
93 Updated icons to use Tango color palette.
95 2007-10-20 Jim Evins <evins@snaught.com>
97 * data/dtd/Makefile.am:
98 * data/dtd/glabels-2.0.dtd:
99 * data/dtd/glabels-2.2.dtd:
100 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
102 * libglabels/template.c:
103 * libglabels/template.h:
104 * libglabels/xml-template.c:
106 Added brand and part attributes to template and alias structures and nodes.
109 * src/mini-preview-pixbuf-cache.c:
110 * src/template-designer.c:
111 * src/wdgt-media-select.c:
112 Use modified libglabels API.
113 * docs/libglabels/libglabels-decl-list.txt:
114 * docs/libglabels/libglabels-sections.txt:
115 * docs/libglabels/libglabels-undocumented.txt:
116 * docs/libglabels/tmpl/template-construction.sgml:
117 * docs/libglabels/tmpl/template-db.sgml:
118 * docs/libglabels/tmpl/template-struct.sgml:
119 Update libglabels documentation to reflect above modifications.
121 2007-10-14 Jim Evins <evins@snaught.com>
123 * docs/libglabels/libglabels-decl-list.txt:
124 * docs/libglabels/libglabels-sections.txt:
125 * docs/libglabels/libglabels-undocumented.txt:
126 * docs/libglabels/tmpl/category.sgml:
127 * libglabels/category.c:
128 * libglabels/category.h:
129 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
130 parity with paper functions.
132 2007-10-12 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 * docs/libglabels/tmpl/enums.sgml:
139 * docs/libglabels/tmpl/libglabels-unused.sgml:
140 * docs/libglabels/tmpl/paper.sgml:
141 * docs/libglabels/tmpl/template-struct.sgml:
143 * libglabels/template.c:
144 * libglabels/template.h:
145 Another pass at fleshing out the libglabels documentation.
146 * src/cairo-label-path.c:
147 * src/cairo-markup-path.c:
149 * src/mini-preview-pixbuf.c:
153 * src/wdgt-media-select.c:
154 * src/wdgt-mini-preview.c:
155 * src/wdgt-print-copies.c:
156 * src/wdgt-print-merge.c:
157 * src/wdgt-rotate-label.c:
158 Removed lgl_template_get_first_frame() from libglabels API and all references.
160 2007-10-11 Jim Evins <evins@snaught.com>
162 Extended checks for deprecated symbols.
163 * libglabels/template.c:
164 Removed g_strcasecmp references, which are deprecated.
166 2007-10-09 Jim Evins <evins@snaught.com>
168 * src/merge-evolution.c:
169 Create address book if it does not exist. Also, be more robust about handling
170 error conditions -- don't just assume GError has been set.
172 2007-10-08 Jim Evins <evins@snaught.com>
174 * libglabels/template.c:
175 * libglabels/xml-template.c:
176 * src/template-designer.c:
177 Missed some symbols with libglabels API work.
179 2007-10-01 Jim Evins <evins@snaught.com>
181 * docs/libglabels/libglabels-decl-list.txt:
182 * docs/libglabels/libglabels-docs.sgml:
183 * docs/libglabels/libglabels-sections.txt:
184 * docs/libglabels/libglabels-undocumented.txt:
185 * docs/libglabels/tmpl/category.sgml:
186 * docs/libglabels/tmpl/enums.sgml:
187 * docs/libglabels/tmpl/init.sgml:
188 * docs/libglabels/tmpl/libglabels-unused.sgml:
189 * docs/libglabels/tmpl/paper.sgml:
190 * docs/libglabels/tmpl/template-construction.sgml:
191 * docs/libglabels/tmpl/template-db.sgml:
192 * docs/libglabels/tmpl/template-misc.sgml:
193 * docs/libglabels/tmpl/template-struct.sgml:
194 * docs/libglabels/tmpl/template.sgml:
195 * docs/libglabels/tmpl/xml-category.sgml:
196 * docs/libglabels/tmpl/xml-template.sgml:
197 * libglabels/category.h:
199 * libglabels/libglabels-private.h:
200 * libglabels/paper.h:
201 * libglabels/template.c:
202 * libglabels/template.h:
203 * libglabels/xml-template.h:
204 Basic documentation framework for libglabels updated. This still needs some
207 2007-09-27 Jim Evins <evins@snaught.com>
209 * docs/libglabels/libglabels-decl-list.txt:
210 * docs/libglabels/libglabels-docs.sgml:
211 * docs/libglabels/libglabels-sections.txt:
212 * docs/libglabels/libglabels-undocumented.txt:
213 * docs/libglabels/tmpl/enums.sgml:
214 * docs/libglabels/tmpl/init.sgml:
215 * docs/libglabels/tmpl/libglabels-unused.sgml:
216 * docs/libglabels/tmpl/paper.sgml:
217 * docs/libglabels/tmpl/template.sgml:
218 * docs/libglabels/tmpl/xml-paper.sgml:
219 * docs/libglabels/tmpl/xml-template.sgml:
220 * docs/libglabels/tmpl/xml.sgml:
221 * libglabels/Makefile.am:
222 * libglabels/category.c:
223 * libglabels/category.h:
224 * libglabels/enums.h:
227 * libglabels/libglabels-private.h:
228 * libglabels/libglabels.h:
229 * libglabels/paper.c:
230 * libglabels/paper.h:
231 * libglabels/template.c:
232 * libglabels/template.h:
233 * libglabels/xml-category.c:
234 * libglabels/xml-category.h:
235 * libglabels/xml-paper.c:
236 * libglabels/xml-paper.h:
237 * libglabels/xml-template.c:
238 * libglabels/xml-template.h:
241 * src/cairo-label-path.c:
242 * src/cairo-label-path.h:
243 * src/cairo-markup-path.c:
244 * src/cairo-markup-path.h:
246 * src/glabels-batch.c:
248 * src/label-object.c:
251 * src/mini-preview-pixbuf-cache.c:
252 * src/mini-preview-pixbuf.c:
253 * src/mini-preview-pixbuf.h:
254 * src/prefs-dialog.c:
261 * src/template-designer.c:
262 * src/view-barcode.c:
264 * src/view-ellipse.c:
268 * src/wdgt-media-select.c:
269 * src/wdgt-mini-preview.c:
270 * src/wdgt-mini-preview.h:
271 * src/wdgt-print-copies.c:
272 * src/wdgt-print-merge.c:
273 * src/wdgt-rotate-label.c:
274 * src/xml-label-04.c:
276 Major cleanup of libglabels API -- this breaks API compatibility with older
277 development and stable versions -- as far as I know, there are currently
278 no external users of this library yet.
280 2007-09-14 Jim Evins <evins@snaught.com>
285 * src/label-object.c:
286 * src/label-object.h:
287 * src/label-barcode.c:
288 * src/label-ellipse.c:
291 * src/view-barcode.c:
293 * src/view-ellipse.c:
297 Better separation of model from view.
299 2007-08-21 Jim Evins <evins@snaught.com>
301 * src/print-op.c: (create_custom_widget_cb):
302 Fix problem with force_outline_flag -- don't override with default.
304 2007-08-21 Jim Evins <evins@snaught.com>
306 * data/dtd/glabels-2.0.dtd:
307 * libglabels/template.c:
308 * libglabels/template.h:
309 * libglabels/xml-template.c:
310 * src/cairo-markup-path.c:
311 Added "Markup-rect" element to template format.
313 2007-08-21 Jim Evins <evins@snaught.com>
316 Changed version to 2.1.pre5svn.
317 * src/view.c: (draw_markup_layer):
318 Do a stroke for each markup path, otherwise multiple markups
321 2007-08-17 Jim Evins <evins@snaught.com>
324 Bump libglabels revision numbers for 2.1.4 release.
326 2007-08-16 Jim Evins <evins@snaught.com>
329 Include subdir iec16022-0.2.1.
333 Preparation for 2.1.4.
336 2007-08-11 Jim Evins <evins@snaught.com>
342 Added Esperanto translation. Provided by Antonio C.
343 Codazzi "la Filozofo" <f_sophia@libero.it>.
345 Updated French translation. Provided by Claude Paroz
346 <claude@2xlibre.net>.
348 Updated to reflect above translations.
350 2007-08-11 Jim Evins <evins@snaught.com>
353 * data/templates/avery-iso-templates.xml:
354 * data/templates/avery-us-templates.xml:
355 * data/templates/misc-iso-templates.xml:
356 * data/templates/misc-other-templates.xml:
357 * data/templates/misc-us-templates.xml:
358 * data/templates/zweckform-iso-templates.xml:
359 Caught up with backlog of template submissions.
361 2007-08-10 Jim Evins <evins@snaught.com>
363 * src/bc-postnet.c: (gl_barcode_postnet_new):
365 Added support for Brazilian CEPNet barcodes. This is simply an
366 instance of the US POSTNET format with 8 digits. Patch supplied
367 by Mário Meyer in bug # 1768792.
369 Updated acknowledgments to reflect above patch and recent shuffling
370 of underlying technology.
372 2007-05-13 Jim Evins <evins@snaught.com>
374 * src/merge-text.c: (parse_line), (parse_field):
375 Remove leading and trailing spaces from CSV fields, unless quoted.
377 2007-05-09 Jim Evins <evins@snaught.com>
379 * src/object-editor-bc-page.c:
380 * src/object-editor-data-page.c:
381 * src/object-editor-fill-page.c:
382 * src/object-editor-image-page.c:
383 * src/object-editor-line-page.c:
384 * src/object-editor-lsize-page.c:
385 * src/object-editor-position-page.c:
386 * src/object-editor-private.h:
387 * src/object-editor-shadow-page.c:
388 * src/object-editor-size-page.c:
389 * src/object-editor-text-page.c:
390 * src/object-editor.c:
391 * src/prefs-dialog.c:
392 * src/template-designer.c:
393 * src/ui-property-bar.c:
394 * src/wdgt-media-select.c:
395 Replaced signal block/unblock pairs with simple flags. This reduces
396 some code clutter, hopefully making it easier to read.
398 2007-05-05 Jim Evins <evins@snaught.com>
400 * src/template-designer.c: (apply_cb):
401 Add new template to mini-preview pixbuf cache.
403 2007-05-03 Jim Evins <evins@snaught.com>
405 * src/label-image.c: (gl_label_image_init), (draw_object):
406 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
409 2007-05-02 Jim Evins <evins@snaught.com>
411 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
412 (button_release_event_cb):
413 Removed attempt at rendering optimization by clipping the updates
414 to areas affected -- this actually seemed to hurt update performance.
416 2007-04-30 Jim Evins <evins@snaught.com>
419 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
420 (gl_color_node_equal), (gl_color_node_expand):
421 * src/label-barcode.c: (draw_object):
422 * src/label-box.c: (draw_object), (draw_shadow):
423 * src/label-ellipse.c: (draw_object), (draw_shadow):
424 * src/label-line.c: (draw_object), (draw_shadow):
425 * src/label-text.c: (draw_object), (draw_shadow):
426 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
427 * src/wdgt-rotate-label.c: (drawingarea_update):
428 Some cleanup to color related code.
430 2007-04-30 Jim Evins <evins@snaught.com>
433 Added glLabelRegion structure type.
434 * src/label-object.c: (gl_label_object_get_extent):
435 * src/label-object.h:
436 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
438 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
439 (gl_view_select_region), (gl_view_align_selection_left),
440 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
441 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
442 (gl_view_align_selection_vcenter),
443 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
444 (gl_view_move_selection), (gl_view_can_selection_text),
445 (motion_notify_event_cb), (button_press_event_cb),
446 (button_release_event_cb):
447 - Reconcile with new gl_label_object_get_extent() API.
448 - Use glLabelRegion for view->select_region.
449 - Added gl_view_update_region() to clip updates to region.
450 - Use gl_view_update_region() during manipulation of view->select_region.
452 2007-04-26 Jim Evins <evins@snaught.com>
454 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
455 (draw_label_outline):
456 * src/print.c: (print_crop_marks), (draw_outline):
457 * src/view-object.c: (gl_view_object_draw_handles):
458 * src/view.c: (draw_bg_layer), (draw_grid_layer),
459 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
460 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
461 * src/wdgt-rotate-label.c: (drawingarea_update):
462 Added defines for various magic numbers.
464 2007-04-25 Jim Evins <evins@snaught.com>
466 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
467 Scale text down. Cairo seems to render text too large.
469 2007-04-25 Jim Evins <evins@snaught.com>
472 * src/view.c: (gl_view_update), (expose_cb),
473 (motion_notify_event_cb), (button_press_event_cb),
474 (button_release_event_cb):
475 - Try not to let updates get backed up.
476 - Grab pointer when doing any drag operations.
478 2007-04-11 Jim Evins <evins@snaught.com>
480 * src/cairo-label-path.c: (gl_cairo_label_path),
481 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
482 (gl_cairo_cd_label_path):
483 * src/cairo-label-path.h:
484 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
485 (draw_label_outline):
486 * src/print.c: (draw_outline), (clip_to_outline):
487 * src/view.c: (draw_bg_layer), (draw_fg_layer):
488 * src/wdgt-mini-preview.c: (draw_labels):
489 * src/wdgt-rotate-label.c: (drawingarea_update):
490 Modified to universally use gl_cairo_label_path() to create paths
491 for labels. Added shadow to mini preview in rotate widget.
493 2007-04-10 Jim Evins <evins@snaught.com>
495 * libglabels/template.h:
496 * libglabels/template.c: (gl_template_get_name_list_unique),
497 (gl_template_get_name_list_all), (gl_template_from_name):
498 Modified libglabels to allow you to get a list of all template names
499 including all aliases or just a list of primary names of each unique
502 * src/file.c: (gl_file_properties):
503 * src/glabels.c: (main):
504 * src/mini-preview-pixbuf-cache.h:
505 * src/mini-preview-pixbuf-cache.c:
506 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
507 (filter_changed_cb), (load_list):
508 Added mini-preview pixbuf cache, so that only one mini-preview is
509 needed for a unique template and gets reused for all aliases. These
510 pixbufs will also live for the life of the program so they are not
511 rebuilt everytime a new label dialog is invoked.
512 * src/mini-preview-pixbuf.c: (draw_paper),
513 (draw_rect_label_outline), (draw_round_label_outline),
514 (draw_cd_label_outline):
515 Removed some comment artifacts.
517 2007-04-04 Jim Evins <evins@snaught.com>
519 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
520 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
521 (draw_round_label_outline), (draw_cd_label_outline):
522 * src/wdgt-media-select.c: (load_list):
523 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
524 Cosmetic enhancments to mini previews.
526 2007-04-04 Jim Evins <evins@snaught.com>
528 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
529 (gl_ui_property_bar_construct):
530 Save copy of GladeXML tree so that we don't lose tooltips.
532 2007-04-02 Jim Evins <evins@snaught.com>
534 * src/merge-properties-dialog.c:
535 * src/new-label-dialog.c:
536 * src/object-editor.c:
537 * src/prefs-dialog.c:
539 * src/template-designer.c:
540 * src/ui-property-bar.c:
541 * src/wdgt-media-select.c:
542 * src/wdgt-rotate-label.c:
543 Fixed several memory leaks.
545 2007-04-01 Jim Evins <evins@snaught.com>
547 * src/label-text.c: (gl_label_text_init), (copy),
548 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
549 (set_font_family), (set_font_size), (set_font_weight),
550 (set_font_italic_flag), (set_text_alignment),
551 (set_text_line_spacing):
552 Cache object size, so that expensive extent calculations are only done
555 2007-03-30 Jim Evins <evins@snaught.com>
557 * src/prefs-model.c: (gl_prefs_model_load_settings):
558 Default to an unlimited list of recent documents, since this parameter
559 seems to be pre-filter anyway.
561 2007-03-30 Jim Evins <evins@snaught.com>
563 * src/label-box.c: (draw_shadow):
564 * src/label-ellipse.c: (draw_shadow):
565 Added missing shadow fill.
567 2007-03-28 Jim Evins <evins@snaught.com>
569 * src/ui-commands.c: (gl_ui_cmd_file_print):
570 Unreferencing the print operation sometimes crashes. Just don't do it
573 2007-03-28 Jim Evins <evins@snaught.com>
575 * src/print-op.c: (gl_print_op_construct),
576 (gl_print_op_get_settings), (gl_print_op_set_settings),
577 (gl_print_op_free_settings), (create_custom_widget_cb):
579 * src/ui-commands.c: (gl_ui_cmd_file_print):
580 * src/window.c: (gl_window_init):
582 Save print settings and custom settings between print operations
585 2007-03-24 Jim Evins <evins@snaught.com>
587 * src/object-editor-image-page.c:
588 (gl_object_editor_prepare_image_page),
589 (gl_object_editor_set_image), (img_selection_changed_cb):
590 Workaround for GtkFileChooserButton bug # 327243. This the root
591 cause for gLabels bug # 1192884. I have actually observed 3 delayed
592 "selection-changed" signals -- the first 2 return NULL -- this is
593 what caused the image to reset to the default followed by setting
594 it back to the original image, trying to fit it into a new bounding
595 box. This sequence of events is much more evident with the new
598 2007-03-23 Jim Evins <evins@snaught.com>
600 Merged all changes from experimental cairo branch to trunk.
601 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
603 2007-03-23 Jim Evins <evins@snaught.com>
605 * src/label-object.h:
606 * src/label-object.c: (gl_label_object_class_init),
607 (gl_label_object_get_raw_size), (gl_label_object_get_size):
608 Created "get_raw_size" method.
609 * src/label-barcode.c: (get_size):
610 * src/xml-label.c: (xml_create_object_text),
611 (xml_create_object_barcode):
612 Use new "get_raw_size" method on label-objects when apropos.
614 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
615 (auto_shrink_font_size):
616 Added "auto shrink" functionality back.
618 2007-03-19 Jim Evins <evins@snaught.com>
620 * src/label-text.c: (draw_object), (draw_shadow):
621 Don't use negative scales in workaround from previous commit.
624 2007-03-18 Jim Evins <evins@snaught.com>
627 Forgot to remove include of xml-lable-191 in previous commit.
628 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
629 Workaround for pango Bug #341481. Render text at device scale,
630 and scale font size accordingly. Also, don't do any hinting.
632 2007-03-18 Jim Evins <evins@snaught.com>
634 * src/cairo-ellipse-path.c:
635 * src/cairo-ellipse-path.h:
636 Forgot to add these new files during last mass commit.
638 2007-03-18 Jim Evins <evins@snaught.com>
641 * src/xml-label-191.c:
642 * src/xml-label-191.h:
643 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
644 so there is no need to keep compatability.
647 * src/cairo-label-path.c:
648 * src/cairo-label-path.h:
649 * src/cairo-markup-path.c:
653 * src/glabels-batch.c:
655 * src/label-barcode.c:
657 * src/label-ellipse.c:
660 * src/label-object.c:
661 * src/label-object.h:
665 * src/merge-properties-dialog.c:
667 * src/new-label-dialog.c:
668 * src/object-editor-bc-page.c:
669 * src/object-editor-data-page.c:
670 * src/object-editor-edit-page.c:
671 * src/object-editor-fill-page.c:
672 * src/object-editor-image-page.c:
673 * src/object-editor-line-page.c:
674 * src/object-editor-private.h:
675 * src/object-editor-shadow-page.c:
676 * src/object-editor-text-page.c:
677 * src/object-editor.c:
678 * src/pixbuf-cache.c:
683 * src/template-designer.c:
685 * src/ui-property-bar.c:
687 * src/view-barcode.c:
689 * src/view-ellipse.c:
696 * src/wdgt-media-select.c:
697 * src/wdgt-print-copies.c:
698 * src/wdgt-print-merge.c:
700 * src/xml-label-04.c:
702 Many changes, including:
703 - Move draw methods from view-*() to label-*().
704 - Use same drawing code for on screen view and printing.
705 - Fix all issues exposed with '-Wall -Werror'.
707 2007-03-14 Jim Evins <evins@snaught.com>
710 * src/cairo-handle-path.c:
711 * src/cairo-handle-path.h:
712 * src/cairo-object-path.c:
713 * src/cairo-object-path.h:
714 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
715 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
717 * src/view-box.c: (gl_view_box_class_init), (draw_object),
718 (draw_shadow), (object_at):
719 * src/view-ellipse.c: (gl_view_ellipse_class_init),
720 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
721 * src/view-image.c: (gl_view_image_class_init), (draw_object),
723 * src/view-line.c: (gl_view_line_class_init), (draw_object),
724 (draw_shadow), (object_at):
725 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
726 (create_handle_path), (gl_view_object_draw_handles),
727 (gl_view_object_handle_at):
729 * src/view-text.c: (gl_view_text_class_init), (draw_object),
730 (draw_shadow), (object_at):
731 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
732 Some restructuring of new code.
734 2007-03-12 Jim Evins <evins@snaught.com>
737 * src/cairo-object-path.c:
738 * src/view-barcode.c:
739 * src/view-barcode.h:
741 Added barcode object support to view.
743 2007-03-12 Jim Evins <evins@snaught.com>
749 * src/cairo-object-path.c:
750 * src/cairo-object-path.h:
752 * src/view-ellipse.c:
757 Added text object support to view. Added object_at method to all
760 2007-03-11 Jim Evins <evins@snaught.com>
763 * src/cairo-object-path.c: (gl_cairo_object_path),
764 (gl_cairo_image_object_path):
765 * src/view-image.c: (gl_view_image_class_init),
766 (gl_view_image_finalize), (gl_view_image_new),
767 (update_editor_from_label_cb), (draw),
768 (gl_view_image_get_create_cursor),
769 (gl_view_image_create_button_press_event),
770 (gl_view_image_create_motion_event),
771 (gl_view_image_create_button_release_event):
773 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
774 (selection_received_cb), (motion_notify_event_cb),
775 (button_press_event_cb), (button_release_event_cb):
776 Added image object support to view.
778 2007-03-11 Jim Evins <evins@snaught.com>
781 * src/cairo-object-path.c: (gl_cairo_object_path),
782 (gl_cairo_line_object_path):
783 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
784 (update_object_from_editor_cb), (update_editor_from_object_cb),
785 (update_editor_from_label_cb), (draw),
786 (gl_view_line_get_create_cursor),
787 (gl_view_line_create_button_press_event),
788 (gl_view_line_create_motion_event),
789 (gl_view_line_create_button_release_event):
791 * src/view-object.c: (gl_view_object_resize_event):
792 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
793 (selection_received_cb), (motion_notify_event_cb),
794 (button_press_event_cb), (button_release_event_cb):
795 Added line object support to view.
796 * src/cairo-handle-path.c:
797 Made handles slightly larger.
800 2007-03-11 Jim Evins <evins@snaught.com>
803 * src/cairo-handle-path.c:
804 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
805 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
806 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
807 (gl_cairo_markup_margin_round_path),
808 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
809 * src/cairo-object-path.c: (gl_cairo_object_path),
810 (gl_cairo_ellipse_object_path):
811 * src/label-object.c: (gl_label_object_rotate):
814 * src/view-ellipse.c: (gl_view_ellipse_class_init),
815 (gl_view_ellipse_new), (update_object_from_editor_cb),
816 (update_editor_from_object_cb), (update_editor_from_label_cb),
817 (draw), (gl_view_ellipse_get_create_cursor),
818 (gl_view_ellipse_create_button_press_event),
819 (gl_view_ellipse_create_motion_event),
820 (gl_view_ellipse_create_button_release_event):
821 * src/view-ellipse.h:
824 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
825 (select_object_real), (selection_received_cb),
826 (motion_notify_event_cb), (button_press_event_cb),
827 (button_release_event_cb):
829 Added ellipse object support to view. Plus other cleanup.
831 2007-03-11 Jim Evins <evins@snaught.com>
834 * src/view-box.c: (gl_view_box_get_create_cursor),
835 (gl_view_box_create_button_press_event),
836 (gl_view_box_create_motion_event),
837 (gl_view_box_create_button_release_event):
838 * src/view-object.c: (gl_view_object_set_view),
839 (gl_view_object_handle_at):
841 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
842 (motion_notify_event_cb), (button_press_event_cb),
843 (button_release_event_cb), (key_press_event_cb):
844 Added creation code for box object.
846 2007-03-09 Jim Evins <evins@snaught.com>
848 * src/view-object.c: (gl_view_object_resize_event):
850 * src/view.c: (motion_notify_event_cb):
851 Fix bugs with resizing transformed objects.
852 * src/cairo-handle-path.c: (gl_cairo_handle_path):
853 * src/cairo-object-path.c: (gl_cairo_object_path):
854 * src/cairo-object-path.h:
855 * src/label-object.c: (gl_label_object_init),
856 (gl_label_object_dup), (gl_label_object_get_extent),
857 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
858 (gl_label_object_rotate), (gl_label_object_set_matrix),
859 (gl_label_object_get_matrix):
860 * src/label-object.h:
861 * src/print.c: (draw_object):
863 * src/view-highlight.c:
864 * src/view-highlight.h:
865 * src/xml-label-191.c: (xml191_parse_object):
866 * src/xml-label.c: (xml_parse_affine_attrs),
867 (xml_create_affine_attrs):
868 Replace libart affine matrices with cairo matrices.
870 2007-03-08 Jim Evins <evins@snaught.com>
873 * src/view.c: (gl_view_update), (motion_notify_event_cb):
874 * src/view-object.c: (gl_view_object_handle_at),
875 (gl_view_object_resize_event):
876 Added resize code -- still a bit buggy.
878 2007-03-07 Jim Evins <evins@snaught.com>
881 * src/cairo-handle-path.c:
882 * src/cairo-handle-path.h:
883 * src/view-box.c: (gl_view_box_new):
884 * src/view-object.c: (gl_view_object_set_object),
885 (gl_view_object_draw_handles), (gl_view_object_handle_at):
887 * src/view.c: (draw_highlight_layer), (select_object_real),
888 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
889 (button_press_event_cb), (button_release_event_cb),
890 (key_press_event_cb):
892 Added beginnings of object resize handles.
894 2007-03-07 Jim Evins <evins@snaught.com>
897 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
898 (gl_view_object_create_mode), (motion_notify_event_cb),
899 (button_press_event_cb), (button_release_event_cb),
900 (key_press_event_cb):
901 Added move selection support.
903 2007-03-05 Jim Evins <evins@snaught.com>
905 * src/cairo-object-path.c: (gl_cairo_object_path):
906 * src/view-object.c: (gl_view_object_draw),
907 (gl_view_object_draw_highlight):
908 * src/view.c: (view_object_at), (motion_notify_event_cb),
909 (button_press_event_cb), (button_release_event_cb):
910 Additional refinements to select logic.
912 2007-03-05 Jim Evins <evins@snaught.com>
915 * src/view.c: (gl_view_init), (gl_view_construct),
916 (label_changed_cb), (draw_layers), (draw_select_region_layer),
917 (gl_view_select_region), (object_at), (motion_notify_event_cb),
918 (button_press_event_cb), (button_release_event_cb):
919 Added initial select region support and context menu.
921 2007-03-04 Jim Evins <evins@snaught.com>
939 * src/wdgt-print-copies.c:
940 * src/wdgt-print-merge.c:
942 Initial port to a raw Cairo canvas. This removes all remaining
943 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
944 the view is becoming a canvas widget in its own right. Still needs
946 * src/cairo-label-path.c:
947 * src/cairo-label-path.h:
948 * src/cairo-markup-path.c:
949 * src/cairo-markup-path.h:
950 * src/cairo-object-path.c:
951 * src/cairo-object-path.h:
952 New files to support cairo canvas.
953 * src/canvas-hacktext.c:
954 * src/canvas-hacktext.h:
957 2007-02-18 Jim Evins <evins@snaught.com>
960 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
962 2007-02-14 Jim Evins <evins@snaught.com>
966 * src/bc-gnubarcode.c:
967 * src/bc-gnubarcode.h:
972 * src/canvas-hacktext.c:
973 * src/canvas-hacktext.h:
980 * src/label-barcode.c:
981 * src/label-barcode.h:
984 * src/label-ellipse.c:
985 * src/label-ellipse.h:
990 * src/label-object.c:
991 * src/label-object.h:
996 * src/merge-evolution.c:
997 * src/merge-evolution.h:
1000 * src/merge-properties-dialog.c:
1001 * src/merge-properties-dialog.h:
1004 * src/merge-vcard.c:
1005 * src/merge-vcard.h:
1008 * src/mini-preview-pixbuf.h:
1009 * src/new-label-dialog.c:
1010 * src/new-label-dialog.h:
1011 * src/object-editor-bc-page.c:
1012 * src/object-editor-data-page.c:
1013 * src/object-editor-edit-page.c:
1014 * src/object-editor-fill-page.c:
1015 * src/object-editor-image-page.c:
1016 * src/object-editor-line-page.c:
1017 * src/object-editor-lsize-page.c:
1018 * src/object-editor-position-page.c:
1019 * src/object-editor-private.h:
1020 * src/object-editor-size-page.c:
1021 * src/object-editor-text-page.c:
1022 * src/object-editor.c:
1023 * src/object-editor.h:
1024 * src/pixbuf-cache.c:
1025 * src/pixbuf-cache.h:
1026 * src/prefs-dialog.c:
1027 * src/prefs-dialog.h:
1028 * src/prefs-model.c:
1029 * src/prefs-model.h:
1035 * src/template-designer.c:
1038 * src/ui-commands.c:
1039 * src/ui-commands.h:
1040 * src/ui-property-bar.c:
1041 * src/ui-property-bar.h:
1050 * src/view-barcode.c:
1051 * src/view-barcode.h:
1054 * src/view-ellipse.c:
1055 * src/view-ellipse.h:
1056 * src/view-highlight.c:
1057 * src/view-highlight.h:
1062 * src/view-object.c:
1063 * src/view-object.h:
1068 * src/wdgt-chain-button.c:
1069 * src/wdgt-chain-button.h:
1070 * src/wdgt-media-select.c:
1071 * src/wdgt-mini-preview.c:
1072 * src/wdgt-print-copies.c:
1073 * src/wdgt-print-copies.h:
1074 * src/wdgt-print-merge.c:
1075 * src/wdgt-print-merge.h:
1076 * src/wdgt-rotate-label.c:
1078 * src/xml-label-04.c:
1079 * src/xml-label-04.h:
1080 * src/xml-label-191.c:
1081 * src/xml-label-191.h:
1085 Assorted superficial cleanup. Including:
1086 - Use G_DEFINE_TYPE for all objects.
1087 - Reconcile style of all class initializer functions
1088 - Reconcile style of all finalize functions
1089 - Add emacs mode line to all source files
1091 2007-02-06 Jim Evins <evins@snaught.com>
1093 Assorted cleanup and removal of deprecated items.
1098 Removed annoying splash screen.
1099 * src/glabels-batch.c: (main):
1100 * src/glabels.c: (main):
1101 Converted from popt to GOption.
1102 * src/object-editor-shadow-page.c:
1103 (gl_object_editor_set_shadow_state):
1104 Removed deprecated method on GtkToggleButton.
1105 * src/ui-commands.c: (gl_ui_cmd_help_about):
1106 Removed dependency on libgnomui/qnome-url.h.
1107 * src/template-designer.c:
1108 Removed dependency on libgnome/gnome-program.h.
1111 2007-02-04 Jim Evins <evins@snaught.com>
1115 * src/prefs-model.c:
1116 * src/print.c: (draw_text_object):
1117 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1118 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1120 2007-02-04 Jim Evins <evins@snaught.com>
1122 * src/wdgt-mini-preview.c:
1123 * src/wdgt-mini-preview.h:
1124 Ported widget from GnomeCanvas to Cairo.
1126 2007-02-03 Jim Evins <evins@snaught.com>
1128 * data/glade/template-designer.glade:
1129 * src/template-designer.c:
1130 * src/template-designer.h:
1131 Ported GnomeDruid to GtkAssistant. Since libglade does not
1132 yet support the GtkAssistant and we derive directly from
1133 the Assistant, the pages are layed out in a GtkNotebook in
1134 the glade description -- we then append each page to the
1137 2007-01-25 Jim Evins <evins@snaught.com>
1139 * data/glade/object-editor.glade:
1140 Added dummy page to notebook, to prevent shadow page from
1141 becoming the default current page at creation.
1142 * src/view-box.c: (construct_properties_editor):
1143 * src/view-ellipse.c: (construct_properties_editor):
1144 * src/view-line.c: (construct_properties_editor):
1145 * src/view-text.c: (construct_properties_editor):
1146 Reconciled order of params.
1148 2007-01-19 Jim Evins <evins@snaught.com>
1150 * src/label-barcode.h:
1151 * src/label-object.c: (gl_label_object_set_font_weight),
1152 (gl_label_object_set_text_alignment),
1153 (gl_label_object_get_font_weight),
1154 (gl_label_object_get_text_alignment):
1155 * src/label-object.h:
1156 * src/label-text.c: (gl_label_text_instance_init), (copy),
1157 (get_size), (set_font_family), (set_font_weight),
1158 (set_text_alignment), (get_font_weight), (get_text_alignment):
1160 * src/object-editor-text-page.c:
1161 (gl_object_editor_prepare_text_page),
1162 (gl_object_editor_set_font_family),
1163 (gl_object_editor_set_font_weight),
1164 (gl_object_editor_get_font_weight),
1165 (gl_object_editor_set_text_alignment),
1166 (gl_object_editor_get_text_alignment),
1167 (gl_object_editor_set_text_color):
1168 * src/object-editor.h:
1169 * src/prefs-dialog.c: (construct_object_page),
1170 (update_object_page_from_prefs), (update_prefs_from_object_page):
1171 * src/prefs-model.c: (gl_prefs_model_save_settings),
1172 (gl_prefs_model_load_settings):
1173 * src/prefs-model.h:
1174 * src/print.c: (draw_text_object):
1175 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1176 (reset_to_default_properties), (update_text_properties),
1177 (font_bold_toggled_cb), (text_align_toggled_cb):
1179 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1180 (gl_util_weight_to_string), (gl_util_string_to_weight),
1181 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1183 * src/view-text.c: (update_object_from_editor_cb),
1184 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1185 * src/view.c: (gl_view_set_selection_text_alignment),
1186 (gl_view_set_default_text_alignment),
1187 (gl_view_get_default_text_alignment):
1189 * src/xml-label-04.c: (xml04_parse_text_props):
1190 * src/xml-label-191.c: (xml191_parse_text_props):
1191 * src/xml-label.c: (xml_parse_object_text),
1192 (xml_parse_toplevel_span), (xml_create_object_text),
1193 (xml_create_toplevel_span):
1194 Converted all model internals to Pango. GnomeFont remains in
1195 view until GnomeCanvas can be replaced with a cairo-based canvas.
1197 2007-01-17 Jim Evins <evins@snaught.com>
1203 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1204 (gl_wdgt_print_copies_construct):
1205 * src/wdgt-print-copies.h:
1206 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1207 (gl_wdgt_print_merge_construct):
1208 * src/wdgt-print-merge.h:
1209 Removed all remaining HIG wrapper widgets.
1211 2007-01-16 Jim Evins <evins@snaught.com>
1214 * src/print-dialog.c:
1215 * src/print-dialog.h:
1218 * src/template-designer.c: (print_test_cb):
1219 * src/ui-commands.c: (gl_ui_cmd_file_print):
1221 Renamed PrintDialog to PrintOp. Added constructor for batch
1223 * src/glabels-batch.c: (main):
1224 Converted to use new PrintOp object for printing.
1226 2007-01-15 Jim Evins <evins@snaught.com>
1228 * data/glade/Makefile.am:
1229 * data/glade/print-custom-widget.glade:
1230 * src/print-dialog.c:
1231 * src/print-dialog.h:
1234 * src/template-designer.c: (print_test_cb):
1235 * src/ui-commands.c: (gl_ui_cmd_file_print):
1236 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1237 * src/wdgt-print-merge.h:
1238 * src/window.c: (gl_window_init):
1240 Initial conversion to GtkPrintOperation.
1242 - Remove font and other libgnomeprint[ui] from elsewhere
1243 - Add batch initialization of print operation
1245 2007-01-08 Jim Evins <evins@snaught.com>
1247 Updated dependencies. Set version to 2.1.pre4cvs.
1249 2007-01-03 Jim Evins <evins@snaught.com>
1251 * src/recent-files/*
1252 Removed EggRecent stuff.
1258 * src/ui-commands.c:
1259 * src/ui-commands.h:
1261 Ported from EggRecent to GtkRecentManager.
1264 2007-01-02 Jim Evins <evins@snaught.com>
1267 * iec16022-0.2.1/BUGS:
1268 * iec16022-0.2.1/CHANGELOG:
1269 * iec16022-0.2.1/CREDITS:
1270 * iec16022-0.2.1/INSTALL:
1271 * iec16022-0.2.1/LICENSE:
1272 * iec16022-0.2.1/Makefile.am:
1273 * iec16022-0.2.1/Makefile.dist:
1274 * iec16022-0.2.1/README:
1275 * iec16022-0.2.1/README.glabels:
1276 * iec16022-0.2.1/TODO:
1277 * iec16022-0.2.1/iec16022.1:
1278 * iec16022-0.2.1/iec16022.c:
1279 * iec16022-0.2.1/iec16022ecc200.c:
1280 * iec16022-0.2.1/iec16022ecc200.h:
1281 * iec16022-0.2.1/image.c:
1282 * iec16022-0.2.1/image.h:
1283 * iec16022-0.2.1/reedsol.c:
1284 * iec16022-0.2.1/reedsol.h:
1285 * iec16022-0.2.1/test/testsuite-example.bin:
1286 * iec16022-0.2.1/test/testsuite-example.eps:
1287 * iec16022-0.2.1/test/testsuite-example.hex:
1288 * iec16022-0.2.1/test/testsuite-example.png:
1289 * iec16022-0.2.1/test/testsuite-example.text:
1290 * iec16022-0.2.1/test/testsuite.sh:
1291 Include modified copy of iec16022-0.2.1 to provide encoding
1292 support for datamatrix 2D barcodes.
1294 * src/bc-iec16022.c:
1295 * src/bc-iec16022.h:
1297 Added initial datamatrix 2D barcode backend to barcode code.
1300 Automatic updates to later versions of these files.
1302 2006-11-28 Jim Evins <evins@snaught.com>
1304 * data/templates/avery-iso-templates.xml:
1305 * data/templates/avery-us-templates.xml:
1306 * data/templates/categories.xml:
1307 * data/templates/misc-iso-templates.xml:
1308 * data/templates/misc-us-templates.xml:
1309 * data/templates/zweckform-iso-templates.xml:
1310 More categorization.
1312 2006-09-12 Jim Evins <evins@snaught.com>
1314 * data/dtd/glabels-2.0.dtd:
1315 * data/templates/Makefile.am:
1316 * data/templates/avery-iso-templates.xml:
1317 * data/templates/avery-other-templates.xml:
1318 * data/templates/avery-us-templates.xml:
1319 * data/templates/categories.xml:
1320 * data/templates/misc-iso-templates.xml:
1321 * data/templates/misc-other-templates.xml:
1322 * data/templates/zweckform-iso-templates.xml:
1323 * data/glade/Makefile.am:
1324 * data/glade/new-label-dialog.glade:
1325 * data/glade/wdgt-media-select.glade:
1326 * data/glade/wdgt-rotate-label.glade:
1327 * libglabels/Makefile.am:
1328 * libglabels/category.c:
1329 * libglabels/category.h:
1330 * libglabels/libglabels.h:
1331 * libglabels/paper.c:
1332 * libglabels/template.c:
1333 * libglabels/template.h:
1334 * libglabels/xml-category.c:
1335 * libglabels/xml-category.h:
1336 * libglabels/xml-template.c:
1337 Added support for category meta data.
1340 * src/mini-preview-pixbuf.c:
1341 * src/mini-preview-pixbuf.h:
1342 * src/new-label-dialog.c:
1343 * src/new-label-dialog.h:
1344 * src/wdgt-media-select.c:
1345 * src/wdgt-media-select.h:
1346 * src/wdgt-rotate-label.c:
1347 * src/wdgt-rotate-label.h:
1348 New "new label" dialog.
1350 2006-05-27 Jim Evins <evins@snaught.com>
1355 Preparation for 2.1.3.
1361 2006-05-22 Jim Evins <evins@snaught.com>
1363 * src/print.c: (draw_barcode_object):
1364 Don't print "Invalid barcode data" if data field is empty. Patch provided
1365 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1367 Added acknowledgment for above patch.
1368 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1369 * src/bc-postnet.c: (postnet_code):
1370 Removed "Invalid barcode data" warnings from stderr.
1371 * src/view-barcode.c: (draw_barcode):
1372 Draw box around barcode extent if data empty or invalid. Center a
1373 message whether the data is empty or invalid in box.
1375 2006-05-22 Jim Evins <evins@snaught.com>
1377 * src/print.c: (draw_text_object):
1378 Check shadow state when printing text.
1380 2006-05-20 Jim Evins <evins@snaught.com>
1382 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1383 (gl_ui_cmd_view_markup_toggle):
1384 Fixed crash when grid or markup have been toggled off during
1385 a previous session. Bug #1434324.
1387 2006-04-05 Jim Evins <evins@snaught.com>
1389 * src/object-editor.c: (gl_object_editor_set_key_names):
1390 Fixed potential crash when freeing empty key list.
1392 2006-03-11 Jim Evins <evins@snaught.com>
1394 * src/print.c: (draw_text_object):
1395 * src/view-text.c: (gl_view_text_new),
1396 (construct_properties_editor), (update_object_from_editor_cb),
1397 (update_editor_from_object_cb), (update_editor_from_label_cb),
1399 Added shadow support to text object.
1401 2006-02-18 Jim Evins <evins@snaught.com>
1403 * src/print.c: (draw_line_object):
1404 * src/view-line.c: (gl_view_line_new),
1405 (construct_properties_editor), (update_canvas_item_from_object_cb),
1406 (update_object_from_editor_cb), (update_editor_from_object_cb),
1407 (update_editor_from_label_cb):
1408 Added shadow support to line object.
1410 2006-02-16 Jim Evins <evins@snaught.com>
1414 * src/print.c: (draw_ellipse_object):
1415 * src/view-ellipse.c: (gl_view_ellipse_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 ellipse object.
1421 2006-02-15 Jim Evins <evins@snaught.com>
1423 * src/label-object.c:
1424 Changed default shadow offsets.
1425 * src/view-box.c: (gl_view_box_new):
1426 Simplified gl_view_box_new() so that is does not duplicate code
1427 in update_canvas_item_from_object_cb().
1429 2006-02-07 Jim Evins <evins@snaught.com>
1431 * data/glade/object-editor.glade:
1432 Fixed color groups of color combos.
1434 Added default shadow color.
1435 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1436 Added shadow color group.
1438 2006-02-06 Jim Evins <evins@snaught.com>
1440 * src/object-editor-shadow-page.c:
1441 Forgot to add this file.
1442 * src/view-box.c: (gl_view_box_new),
1443 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1444 Update limits on shadow offset spinbuttons.
1446 2006-01-19 Jim Evins <evins@snaught.com>
1448 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1449 Initialize key_list to NULL.
1450 * data/glade/object-editor.glade:
1454 * src/label-object.c:
1455 * src/label-object.h:
1456 * src/object-editor-fill-page.c:
1457 * src/object-editor-private.h:
1458 * src/object-editor.c:
1459 * src/object-editor.h:
1461 Created infrastructure for shadow support.
1464 Initial shadow support in box object only.
1466 2006-01-05 Jim Evins <evins@snaught.com>
1468 * src/merge-properties-dialog.c: (src_changed_cb):
1469 Be extra paranoid before calling strcmp().
1470 * src/merge.c: (gl_merge_set_src):
1471 Don't make (merge == NULL) a critical error.
1473 2005-12-22 Jim Evins <evins@snaught.com>
1475 * src/glabels-batch.c: (main):
1476 Compile warning free with gcc 4.0.
1478 2005-12-21 Jim Evins <evins@snaught.com>
1481 Updated example RPM spec file.
1483 2005-12-21 Jim Evins <evins@snaught.com>
1487 Preparation for 2.1.2.
1489 2005-12-20 Jim Evins <evins@snaught.com>
1492 Define unique G_LOG_DOMAIN for glabels.
1493 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1494 * src/warning-handler.c: (gl_warning_handler_init),
1496 Register for G_LOG_DOMAIN instead of NULL.
1498 2005-12-10 Jim Evins <evins@snaught.com>
1500 * src/merge-evolution.c:
1501 * src/merge-vcard.c:
1504 2005-12-08 Jim Evins <evins@snaught.com>
1506 * libglabels/paper.c: (read_paper_files_from_dir):
1507 * libglabels/template.c: (gl_template_register),
1508 (read_template_files_from_dir):
1509 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1510 (gl_xml_paper_parse_papers_doc):
1511 * libglabels/xml-template.c:
1512 (gl_xml_template_read_templates_from_file),
1513 (gl_xml_template_parse_templates_doc),
1514 (gl_xml_template_parse_template_node),
1515 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1516 (xml_parse_label_cd_node), (xml_parse_layout_node),
1517 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1518 (xml_parse_markup_circle_node),
1519 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1520 * libglabels/xml.c: (gl_xml_get_prop_length):
1521 Re-classified g_warnings to g_messages.
1523 * src/glabels.c: (main):
1524 * src/warning-handler.c: (gl_warning_handler_init),
1526 * src/warning-handler.h:
1527 Added warning message handler to make sure the user is
1528 presented with appropriate non-fatal errors.
1529 * src/critical-error-handler.c: (critical_error_handler):
1530 Changed exit to abort.
1531 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1532 * src/bc-postnet.c: (postnet_code):
1533 * src/bc.c: (id_to_index), (name_to_index):
1534 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1535 * src/object-editor.c: (gl_object_notebook_construct_valist):
1536 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1537 * src/prefs.c: (gl_prefs_get_units_per_point),
1538 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1539 (gl_prefs_get_units_string):
1540 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1541 * src/splash.c: (gl_splash):
1542 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1543 * src/view-highlight.c: (gl_view_highlight_new),
1544 (highlight_resizable_box_construct), (object_changed_cb),
1545 (view_scale_changed_cb):
1546 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1547 (draw_markup_layer), (draw_markup_margin),
1548 (gl_view_object_create_mode), (canvas_event),
1549 (selection_received_cb):
1550 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1551 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1552 * src/xml-label-04.c: (gl_xml_label_04_parse),
1553 (xml04_parse_media_description), (xml04_parse_text_props),
1554 (xml04_parse_barcode_props):
1555 * src/xml-label-191.c: (gl_xml_label_191_parse),
1556 (xml191_parse_objects), (xml191_parse_object),
1557 (xml191_parse_text_props), (xml191_parse_image_props),
1558 (xml191_parse_barcode_props), (xml191_parse_data),
1559 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1560 (xml191_parse_markup):
1561 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1562 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1563 (xml_parse_object_text), (xml_parse_object_image),
1564 (xml_parse_object_barcode), (xml_parse_data),
1565 (xml_parse_toplevel_span), (gl_xml_label_save),
1566 (xml_create_objects):
1567 Re-classified g_warnings to g_messages.
1568 * src/merge-evolution.c: (gl_merge_evolution_open),
1569 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1570 Use g_warning to output errors encountered while
1571 communicating with the evolution data server
1572 instead of embedding them in the data.
1574 2005-12-08 Jim Evins <evins@snaught.com>
1576 * libglabels/libglabels-private.h:
1578 * libglabels/paper.c: (read_papers):
1579 * libglabels/template.c: (read_templates):
1580 Made appropriate warnings critical.
1582 * src/critical-error-handler.h:
1583 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1584 (critical_error_handler):
1585 Created critical error handler.
1586 * src/glabels.c: (main):
1587 Register critical error handler.
1588 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1589 * src/object-editor.c: (gl_object_editor_init):
1590 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1591 * src/template-designer.c: (gl_template_designer_init):
1592 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1593 Made appropriate warnings critical.
1595 2005-11-27 Jim Evins <evins@snaught.com>
1597 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1598 (gl_merge_evolution_get_primary_key),
1599 (gl_merge_evolution_get_record):
1600 Don't create "record_key" pseudo-key. Don't populate
1601 fields with null data.
1603 2005-11-25 Jim Evins <evins@snaught.com>
1605 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1606 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1607 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1609 Query EDS for all supported fields. Patch provided by
1610 Austin Henry <ahenry@users.sourceforge.net>.
1612 2005-10-29 Jim Evins <evins@snaught.com>
1614 * src/glabels.c: (main):
1615 * src/label-barcode.c: (gl_label_barcode_finalize):
1616 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1617 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1618 * src/object-editor.c: (gl_object_editor_finalize):
1619 Another pass at valgrinding -- plugged several memory leaks.
1620 * src/view-text.c: (gl_view_text_new),
1621 (update_canvas_item_from_object_cb), (draw_hacktext):
1622 Commented out artifacts of edit-in-place code.
1624 2005-10-28 Jim Evins <evins@snaught.com>
1626 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1627 Fixed use of uninitialized variable. Caught by
1628 d binderman <dcb314@hotmail.com>.
1630 2005-10-27 Jim Evins <evins@snaught.com>
1632 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1633 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1635 Additional cleanup of EDS and vcard backends. Provided by
1636 Austin Henry <ahenry@users.sourceforge.net>.
1638 2005-10-24 Jim Evins <evins@snaught.com>
1642 * src/merge-evolution.c:
1643 * src/merge-evolution.h:
1644 * src/merge-init.c: (gl_merge_init):
1645 * src/merge-properties-dialog.c: (type_changed_cb):
1646 * src/merge-vcard.c:
1647 * src/merge-vcard.h:
1648 * src/ui-commands.c: (gl_ui_cmd_help_about):
1649 Added Evolution Data Server and VCard merge backends. Original patch
1650 provided by Austin Henry <ahenry@users.sourceforge.net>.
1652 Only support EDS and VCard backends if libebook is installed. Allow
1653 user to disable support, even if installed.
1655 2005-10-24 Jim Evins <evins@snaught.com>
1658 * data/templates/avery-iso-templates.xml:
1659 * data/templates/avery-us-templates.xml:
1660 * data/templates/misc-iso-templates.xml:
1661 * data/templates/zweckform-iso-templates.xml:
1662 Collected all template changes and submissions since last
1665 2005-10-23 Jim Evins <evins@snaught.com>
1668 * data/mime/Makefile.am:
1669 Added configure options to disable update-mime-database and
1670 update-desktop-database as part of the install. Patch
1671 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1673 2005-10-23 Jim Evins <evins@snaught.com>
1676 * libglabels/xml.c: (gl_xml_get_prop_string),
1677 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1678 (gl_xml_is_node), (gl_xml_get_node_content):
1679 Added new XML utility functions.
1680 * libglabels/xml-paper.c:
1681 * libglabels/xml-template.c:
1683 Cleanup by using new xml utilities created above.
1684 * libglabels/paper.c: (gl_paper_free):
1685 * src/file.c: (new_response):
1686 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1687 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1688 (gl_pixbuf_cache_get_pixbuf):
1689 * src/ui-property-bar.c:
1690 (gl_ui_property_bar_construct_color_combo):
1691 * src/view-highlight.c: (gl_view_highlight_finalize):
1692 * src/view-image.c: (update_object_from_editor_cb):
1693 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1694 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1695 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1696 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1697 (draw_markup_margin_round), (draw_markup_margin_cd),
1698 (draw_markup_margin_cd_bc):
1699 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1700 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1701 Plugged various memory leaks located with valgrind.
1702 * src/view-image.c: (update_canvas_item_from_object_cb):
1703 Don't allow a width or height of zero when drawing pixbuf.
1705 2005-10-22 Jim Evins <evins@snaught.com>
1707 * libglabels/xml-paper.c:
1708 * libglabels/xml-template.c:
1711 * src/bc-gnubarcode.c:
1712 * src/canvas-hacktext.c:
1714 * src/object-editor-data-page.c:
1715 * src/print-dialog.c:
1718 * src/template-designer.c:
1720 * src/ui-property-bar.c:
1722 * src/view-barcode.c:
1724 * src/view-ellipse.c:
1729 * src/wdgt-media-select.c:
1730 * src/xml-label-04.c:
1731 * src/xml-label-191.c:
1733 Modified to compile warning free with gcc-4.0. Mostly
1734 casting to change signedness of characters. Did not
1735 attack gnu-barcode library yet.
1737 2005-10-22 Jim Evins <evins@snaught.com>
1739 * src/glabels.c: (main):
1740 * src/splash.c: (gl_splash):
1741 Removed some small memory leaks.
1745 2005-09-19 Jim Evins <evins@snaught.com>
1747 * data/glade/property-bar.glade:
1748 Remove items from font_family_combo. This prevents the
1749 double entry after adding text model and list of fonts.
1750 * src/ui-property-bar.c: (reset_to_default_properties):
1751 Free font_family_list.
1753 2005-07-01 Jim Evins <evins@snaught.com>
1756 Updated italian translation (Daniele Medri)
1758 2005-06-26 Jim Evins <evins@snaught.com>
1760 * docs/libglabels/libglabels-decl-list.txt:
1761 Somehow never got checked in before.
1762 * docs/libglabels/libglabels.types:
1763 Removed -- don't need it afterall.
1765 2005-06-20 Jim Evins <evins@snaught.com>
1768 Final prep for 2.1.1 release.
1770 2005-06-20 Jim Evins <evins@snaught.com>
1773 Final preps for 2.1.1 release.
1774 * docs/libglabels/libglabels.types:
1775 Somehow never got checked in before.
1777 Bring up-to-date with recent reorg of ui code.
1780 2005-06-19 Jim Evins <evins@snaught.com>
1782 * src/template-designer.c: (construct_layout_page):
1783 Removed attempt to match background color of mini preview widget to
1786 2005-06-17 Jim Evins <evins@snaught.com>
1788 * help/C/figures/merge-ex2-4.png:
1789 * help/C/glabels.xml:
1790 Fixed spelling error.
1792 2005-06-13 Jim Evins <evins@snaught.com>
1794 * help/C/figures/merge-ex1-1.png:
1795 * help/C/figures/merge-ex1-2.png:
1796 * help/C/figures/merge-ex1-3.png:
1797 * help/C/figures/merge-ex1-4.png:
1798 * help/C/figures/merge-ex2-1.png:
1799 * help/C/figures/merge-ex2-2.png:
1800 * help/C/figures/merge-ex2-3.png:
1801 * help/C/figures/merge-ex2-4.png:
1802 Added figures for document merge tutorial.
1803 * help/C/glabels.xml:
1804 Added document merge tutorial.
1806 2005-05-19 Jim Evins <evins@snaught.com>
1808 * data/glade/merge-properties-dialog.glade:
1809 Fixed irregular spacing.
1810 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1811 (gl_merge_properties_dialog_construct):
1812 Set outer padding and remove separator.
1814 2005-05-18 Jim Evins <evins@snaught.com>
1818 Removed glHigDialog class.
1819 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1820 (gl_file_properties), (create_properties_dialog_widgets):
1821 * src/prefs-dialog.h:
1822 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1823 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1824 * src/print-dialog.h:
1825 * src/prefs-dialog.h:
1826 * src/print-dialog.c: (gl_print_dialog_get_type),
1827 (gl_print_dialog_init), (gl_print_dialog_construct):
1828 Replaced all instances of glHigDialog with GtkDialog.
1830 2005-05-17 Jim Evins <evins@snaught.com>
1834 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1835 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1836 (save_as_response), (gl_file_close):
1837 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1839 2005-05-15 Jim Evins <evins@snaught.com>
1841 * src/ui-commands.h:
1849 A little code reformatting -- no functional changes.
1851 2005-05-14 Jim Evins <evins@snaught.com>
1854 Removed obsolete macros.
1856 Added marshalling template to support new view signal: "context_menu_activate."
1858 * src/view.c: (gl_view_class_init), (gl_view_construct),
1859 (canvas_event_arrow_mode):
1860 - Removed hardcoded context menus and added new signal "context_menu_activate"
1861 to push this up to the uimanager.
1862 - Removed merge properties and print dialogs so that they can be managed with
1863 the window by the uimanager.
1864 * src/merge-properties-dialog.h:
1865 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1866 (gl_merge_properties_dialog_construct):
1867 Changed calling convention of gl_merge_properties_dialog_new() to use
1868 glLabel and GtkWindow instead of view to make more consistent with other
1870 * src/print-dialog.h:
1871 * src/print-dialog.c: (gl_print_dialog_new),
1872 (gl_print_dialog_construct):
1873 Removed last artifact of libbonoboui.
1874 * src/ui-commands.c: (gl_ui_cmd_file_print),
1875 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1876 Reconciled style for launching dialogs.
1877 * src/ui.c: (gl_ui_new):
1878 Added context menus to ui manager.
1879 * src/view-object.c: (item_event_arrow_mode):
1880 No longer try to select objects with right-click.
1882 * src/window.c: (gl_window_init), (gl_window_set_label),
1883 (context_menu_activate_cb):
1884 Context menus and all dialogs are now managed in a consistent way in window
1887 2005-05-11 Jim Evins <evins@snaught.com>
1890 * src/window.c: (gl_window_init), (gl_window_destroy):
1891 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1892 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1893 Moved management of recent_view back from window.c to ui.c -- it just feels
1896 2005-05-10 Jim Evins <evins@snaught.com>
1899 * src/window.c: (gl_window_init):
1901 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1902 (menu_item_select_cb), (menu_item_deselect_cb):
1903 Added GtkStatusbar which displays menu tooltips.
1905 2005-05-09 Jim Evins <evins@snaught.com>
1907 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1912 Removed dependencies on libbonoboui.
1914 * data/ui/Makefile.am:
1915 * data/ui/glabels-ui.xml:
1916 Removed data/ui directory.
1917 * data/glade/Makefile.am:
1918 * data/property-bar.glade:
1919 Added glade description of property-bar for new libglade implementation
1926 * src/ui-commands.h:
1927 * src/ui-commands.c:
1928 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1929 since the distinction between "commands" and "tools" is no longer that clear.
1932 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1933 no longer has knowledge of eggRecent*.
1934 * src/glabels.c: (main):
1935 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1937 * src/object-editor.c: (gl_object_editor_init):
1938 Make sure notebook does not respond to a "show_all" on the parent.
1939 * src/recent-files/Makefile.am:
1940 * src/recent-files/*.[ch]
1941 Updated from latest version of libegg which now has a view based on
1942 GtkUIManager. Removed unused bonobo and gtk views.
1943 * src/ui-property-bar.h:
1944 * src/ui-property-bar.c:
1945 New implementation based on libglade.
1948 Sidebar is now simply a GtkWidget and does not expect to be a part of
1949 a libbonoboui interface.
1954 Converted for use with GtkUIManager.
1957 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
1958 to create menus and toolbars.
1960 2005-04-25 Jim Evins <evins@snaught.com>
1962 * data/templates/misc-iso-templates.xml:
1963 Added Fellows 04715 template provided by Steve Saxon.
1965 Updated acknowledgement for above.
1967 2005-04-23 Jim Evins <evins@snaught.com>
1969 * src/util.c: (gl_util_combo_box_set_strings):
1970 Make sure to clear model before loading a new list of strings.
1971 * src/wdgt-media-select.h:
1972 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
1973 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
1974 (template_combo_changed_cb), (prefs_changed_cb),
1975 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
1976 (gl_wdgt_media_select_get_page_size),
1977 (gl_wdgt_media_select_set_page_size):
1978 Replaced the deprecated GtkCombo widget with the new
1981 2005-04-21 Jim Evins <evins@snaught.com>
1983 * data/glade/template-designer.glade:
1984 * src/template-designer.c: (construct_pg_size_page),
1985 (pg_size_page_changed_cb), (build_template):
1986 Replaced the deprecated GtkCombo widget with the new
1989 2005-04-20 Jim Evins <evins@snaught.com>
1991 * data/glade/prefs-dialog.glade:
1992 * src/prefs-dialog.c: (construct_object_page),
1993 (update_object_page_from_prefs), (update_prefs_from_object_page):
1994 Replaced the deprecated GtkCombo widget with the new
1997 2005-04-19 Jim Evins <evins@snaught.com>
1999 * data/glade/object-editor.glade:
2000 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2001 (style_changed_cb), (gl_object_editor_set_bc_style),
2002 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2003 (gl_object_editor_get_bc_color):
2004 * src/object-editor-data-page.c:
2005 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2006 (gl_object_editor_get_data):
2007 * src/object-editor-edit-page.c:
2008 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2009 * src/object-editor-fill-page.c:
2010 (gl_object_editor_prepare_fill_page),
2011 (gl_object_editor_set_fill_color),
2012 (gl_object_editor_get_fill_color):
2013 * src/object-editor-image-page.c:
2014 (gl_object_editor_prepare_image_page),
2015 (gl_object_editor_set_image), (gl_object_editor_get_image):
2016 * src/object-editor-line-page.c:
2017 (gl_object_editor_prepare_line_page),
2018 (gl_object_editor_set_line_color),
2019 (gl_object_editor_get_line_color):
2020 * src/object-editor-private.h:
2021 * src/object-editor-text-page.c:
2022 (gl_object_editor_prepare_text_page),
2023 (gl_object_editor_set_font_family),
2024 (gl_object_editor_get_font_family),
2025 (gl_object_editor_set_text_color),
2026 (gl_object_editor_get_text_color):
2027 * src/object-editor.c: (gl_object_editor_set_key_names):
2029 In the object editor: replaced all instances of the deprecated
2030 GtkCombo widget with the new GtkComboBox.
2032 2005-04-18 Jim Evins <evins@snaught.com>
2035 Neglected to save this one in previous checkin to support
2038 2005-04-17 Jim Evins <evins@snaught.com>
2040 * libglabels/libglabels-private.h:
2041 * libglabels/paper.c:
2042 * libglabels/paper.h:
2043 * libglabels/template.c:
2044 * libglabels/template.h:
2045 * libglabels/xml-paper.c:
2046 * libglabels/xml-paper.h:
2047 * libglabels/xml-template.c:
2052 * src/bc-gnubarcode.c:
2063 * src/label-barcode.c:
2065 * src/label-ellipse.c:
2066 * src/label-image.c:
2067 * src/label-image.h:
2069 * src/label-object.c:
2073 * src/merge-properties-dialog.c:
2074 * src/object-editor-bc-page.c:
2075 * src/object-editor-data-page.c:
2076 * src/object-editor-edit-page.c:
2077 * src/object-editor-fill-page.c:
2078 * src/object-editor-image-page.c:
2079 * src/object-editor-line-page.c:
2080 * src/object-editor-lsize-page.c:
2081 * src/object-editor-position-page.c:
2082 * src/object-editor-private.h:
2083 * src/object-editor-size-page.c:
2084 * src/object-editor-text-page.c:
2085 * src/object-editor.c:
2086 * src/object-editor.h:
2087 * src/pixbuf-cache.h:
2088 * src/prefs-dialog.c:
2089 * src/prefs-dialog.h:
2090 * src/prefs-model.c:
2091 * src/prefs-model.h:
2093 * src/print-dialog.c:
2094 * src/print-dialog.h:
2102 * src/template-designer.c:
2103 * src/template-designer.h:
2106 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2112 * src/view-barcode.c:
2114 * src/view-ellipse.c:
2115 * src/view-highlight.c:
2116 * src/view-highlight.h:
2119 * src/view-object.c:
2120 * src/view-object.h:
2124 * src/wdgt-chain-button.c:
2125 * src/wdgt-media-select.c:
2126 * src/wdgt-media-select.h:
2127 * src/wdgt-mini-preview.c:
2128 * src/wdgt-mini-preview.h:
2129 * src/wdgt-print-copies.c:
2130 * src/wdgt-print-copies.h:
2131 * src/wdgt-print-merge.c:
2132 * src/wdgt-print-merge.h:
2133 * src/wdgt-rotate-label.c:
2134 * src/wdgt-rotate-label.h:
2137 * src/xml-label-04.c:
2138 * src/xml-label-191.c:
2140 Cleanup of header files:
2141 - all header files are now stand-alone, verified by including
2142 first in corresponding "c" files
2143 - replaced blanket includes of gnome, gtk, and glib with
2146 2005-04-16 Jim Evins <evins@snaught.com>
2148 * data/glade/Makefile.am:
2149 * data/glade/merge-properties-dialog.glade:
2150 Added merge properties dialog glade description file.
2151 * src/merge-properties-dialog.h:
2152 * src/merge-properties-dialog.c:
2153 (gl_merge_properties_dialog_get_type),
2154 (gl_merge_properties_dialog_init),
2155 (gl_merge_properties_dialog_finalize),
2156 (gl_merge_properties_dialog_new),
2157 (gl_merge_properties_dialog_construct), (type_changed_cb),
2158 (src_changed_cb), (response_cb), (load_tree),
2159 (record_select_toggled_cb), (select_all_button_clicked_cb),
2160 (unselect_all_button_clicked_cb):
2161 Modified merge properties dialog to use libglade. Added
2162 "select all" and "unselect all" buttons.
2163 * src/merge-text.c: (parse_line):
2164 Handle empty lines better.
2165 * src/merge.c: (gl_merge_eval_key):
2166 Evaluate the key whether the record is selected or not.
2168 * src/util.c: (gl_util_combo_box_add_text_model):
2169 Since libglade does not use the gtk_combo_box_new_text()
2170 constructor for GtkComboBoxes, a utility function was created
2171 to add an appropriate text model to a GtkComboBox.
2172 * src/view.c: (gl_view_edit_merge_props):
2173 Removed unnecessary "show all's".
2175 2005-04-15 Jim Evins <evins@snaught.com>
2178 Updated russian translation (Vitaly Lipatov)
2179 * data/templates/misc-iso-templates.xml:
2180 Added templates for russian business cards provided by Vitaly Lipatov.
2182 Updated acknowledgements for above.
2184 2005-04-15 Jim Evins <evins@snaught.com>
2186 * data/templates/avery-us-templates.xml:
2187 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2188 * data/templates/misc-iso-templates.xml:
2189 Added Ryman standard CD/DVD template, provided by Dan Clark.
2191 Added acknowledgements for above.
2193 2005-04-10 Jim Evins <evins@snaught.com>
2195 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2196 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2197 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2198 (xml_parse_label_cd_node), (xml_parse_alias_node):
2199 * libglabels/xml.c: (gl_xml_get_prop_double),
2200 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2201 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2202 * src/xml-label-04.c: (xml04_parse_media_description),
2203 (xml04_parse_text_props), (xml04_parse_barcode_props),
2204 (xml04_parse_merge_properties):
2205 * src/xml-label-191.c: (xml191_parse_object),
2206 (xml191_parse_text_props), (xml191_parse_barcode_props),
2207 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2208 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2209 (xml191_parse_alias):
2210 * src/xml-label.c: (xml_parse_object_text),
2211 (xml_parse_object_barcode), (xml_parse_merge_fields),
2212 (xml_parse_pixdata), (xml_parse_toplevel_span):
2213 Make sure to use xmlFree for anything obtained from libxml
2214 in case libxml and glib use different memory management
2217 2005-04-08 Jim Evins <evins@snaught.com>
2220 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2221 (gl_util_combo_box_set_active_text):
2222 Added utility functions to simplify working with GtkComboBox
2224 * src/ui-property-bar.h:
2225 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2226 (reset_to_default_properties), (update_text_properties),
2227 (font_family_changed_cb):
2228 Replaced deprecated GtkCombo with GtkComboBox.
2231 2005-04-03 Jim Evins <evins@snaught.com>
2234 * src/wdgt-image-select.h:
2235 * src/wdgt-image-select.c:
2236 Removed obsolete wdgt-image-select.[ch] files.
2237 * libglabels/paper.c: (gl_paper_dup):
2238 Fixed rename of parameter introduced during documentation
2240 * data/glade/object-editor.glade:
2241 * src/object-editor-image-page.c:
2242 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2243 (gl_object_editor_set_image), (gl_object_editor_get_image),
2244 (update_preview_cb), (add_image_filters_to_chooser):
2245 * src/object-editor-private.h:
2246 Replaced deprecated GnomePixmapEntry with
2247 GtkFileChooserButton.
2249 2005-04-02 Jim Evins <evins@snaught.com>
2251 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2252 (mygal_combo_box_popup_hide_unconditional),
2253 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2254 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2255 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2256 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2257 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2258 Renamed all internal gtk_combo functions to mygal_combo
2259 to prevent namespace confusion.
2261 2005-04-02 Jim Evins <evins@snaught.com>
2263 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2264 (cust_color_set), (color_palette_setup):
2265 * src/mygal/color-palette.h:
2266 Replaced deprecated GnomeColorPicker with GtkColorButton.
2268 2005-04-02 Jim Evins <evins@snaught.com>
2270 * docs/libglabels/libglabels-sections.txt:
2271 * docs/libglabels/libglabels-undocumented.txt:
2272 * docs/libglabels/tmpl/enums.sgml:
2273 * docs/libglabels/tmpl/paper.sgml:
2274 * docs/libglabels/tmpl/xml-paper.sgml:
2275 * docs/libglabels/tmpl/xml-template.sgml:
2276 * libglabels/enums.h:
2277 * libglabels/paper.c: (gl_paper_dup):
2278 * libglabels/paper.h:
2279 * libglabels/xml-paper.c:
2280 * libglabels/xml-template.c:
2281 More documentation updates for libglabels.
2283 2005-03-23 Jim Evins <evins@snaught.com>
2286 Automatically updated.
2291 * docs/libglabels/Makefile.am:
2292 * docs/libglabels/libglabels-docs.sgml:
2293 * docs/libglabels/libglabels-sections.txt:
2294 * docs/libglabels/libglabels-undocumented.txt:
2295 * docs/libglabels/tmpl/enums.sgml:
2296 * docs/libglabels/tmpl/libglabels-unused.sgml:
2297 * docs/libglabels/tmpl/libglabels.sgml:
2298 * docs/libglabels/tmpl/paper.sgml:
2299 * docs/libglabels/tmpl/template.sgml:
2300 * docs/libglabels/tmpl/xml-paper.sgml:
2301 * docs/libglabels/tmpl/xml-template.sgml:
2302 * docs/libglabels/tmpl/xml.sgml:
2303 Added basic gtk-doc stuff to support documenting libglabels
2306 Updated function comments with gtk-doc markup.
2310 2005-03-22 Jim Evins <evins@snaught.com>
2312 Since the development version now requires gtk-2.6/gnome-2.10, I
2313 have made a first pass at removing deprecations.
2316 * libglabels/Makefile.am:
2318 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2319 Also removed all remnants of HAVE_FILECHOOSER.
2320 * src/file.c: (gl_file_open_real):
2321 Removed code for old GtkFileSelection.
2322 * libglabels/libglabels-private.h:
2323 * libglabels/paper.c:
2324 * libglabels/template.c:
2325 * libglabels/xml-paper.c:
2326 * libglabels/xml-template.c:
2330 * src/glabels-batch.c:
2334 * src/merge-properties-dialog.c:
2336 * src/object-editor.c:
2337 * src/prefs-dialog.c:
2339 * src/print-dialog.c:
2342 * src/template-designer.c:
2343 * src/ui-property-bar.c:
2345 * src/view-barcode.c:
2347 * src/view-ellipse.c:
2352 * src/wdgt-image-select.c:
2353 * src/wdgt-media-select.c:
2354 * src/wdgt-print-copies.c:
2355 * src/wdgt-print-merge.c:
2356 * src/wdgt-rotate-label.c:
2358 * src/xml-label-04.c:
2359 * src/xml-label-191.c:
2361 Added '#include <glib/gi18n.h>" where needed.
2362 Removed any unused '#include <gnome.h>"s.
2364 2005-03-22 Jim Evins <evins@snaught.com>
2366 * src/commands.c: (activate_url), (gl_cmd_help_about):
2367 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2368 development version of glabels now depends on GTK 2.6 and
2371 Updated library dependencies.
2373 2005-02-28 Jim Evins <evins@snaught.com>
2376 * data/templates/misc-iso-templates.xml:
2377 Added 'Ednet 45021' template provided by Ali Akcaagac
2380 2005-02-14 Jim Evins <evins@snaught.com>
2382 * data/templates/avery-us-templates.xml:
2383 Updated templates to use inches instead of points.
2384 * src/print-dialog.c: (printer_page_new):
2385 Changed packing style when adding printer selector widget. This fixes
2388 2005-02-13 Jim Evins <evins@snaught.com>
2392 Updated spanish translations. (sergio rivadero)
2394 2005-02-05 Jim Evins <evins@snaught.com>
2396 Some cleanup to libglabels.
2399 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2400 * libglabels/libglabels.pc.in
2402 * libglabels/enums.h
2403 Created. Currently only contains glUnitsType which provides enumerations
2404 for all possible units of distance.
2405 * libglabels/Makefile.am:
2406 Incorporated new files enums.h and libglabels.pc[.in].
2407 * libglabels/libglabels.h:
2409 * libglabels/template.h:
2410 * libglabels/template.c: (gl_template_layout_new):
2411 Changed parameters nx and ny to gint from gdouble.
2413 * libglabels/xml.c: (gl_xml_get_prop_length),
2414 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2415 Added support for different output units.
2416 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2417 (update_prefs_from_locale_page):
2418 * src/prefs-model.c: (string_to_units), (units_to_string):
2419 * src/prefs-model.h:
2420 * src/prefs.c: (gl_prefs_get_units_per_point),
2421 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2422 (gl_prefs_get_units_string):
2424 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2425 Reconciled all length enumerations with the new enumerations provided
2426 in libglabels/enums.h.
2428 2005-02-03 Jim Evins <evins@snaught.com>
2431 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2433 Updated Italian translations. (Daniele Medri)
2435 Updated credits to reflect above translations.
2438 2005-01-22 Jim Evins <evins@snaught.com>
2443 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2445 Final prep for 2.1.0.
2447 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2449 Added '--remove-original' flag to desktop-file-install, so that there is
2450 only one menu entry.
2452 2005-01-20 Jim Evins <evins@snaught.com>
2454 * data/glade/object-editor.glade:
2455 - Font family entry should not be editable.
2456 - img_key_entry should have sensitivity=YES, so that it follows the
2457 sensitivity of img_key_combo.
2459 2005-01-19 Jim Evins <evins@snaught.com>
2462 Give credit to Frederic Ruaudel for the color merge patches.
2464 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2466 Add support to merge color for all other color attribute (Feature
2467 Requests item #1008635. If the data is invalid, the color used is transparent
2468 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2469 by gdk_color_parse() these include name for a color from rgb.txt, such as
2470 DarkSlateGray, or a hex specification such as #305050. File format has been
2471 changed but backward compatibility is preserved for all format. For
2472 box/ellipse/line, keep attribute "line_color" for static color or replace by
2473 "line_color_field" for merge data. For text/barcode objects, keep attribute
2474 "color" for static color or replace by "color_field" for merge data. In the
2475 edit canvas window, merged color are represented by half-transparent black
2478 * data/dtd/glabels-2.0.dtd:
2479 Added line_color_field to line_attrs. Added color_field to
2480 Object-barcode and Span.
2481 * data/glade/object-editor.glade:
2482 Modify the layout of the editor to add merge possibility to color options
2484 Fix a copy/paste error in a comment
2486 Add default color for merge color representation in the editor canvas.
2487 * src/label-barcode.c:
2488 * src/object-editor-bc-page.c:
2489 * src/view-barcode.c:
2490 Add merge color support for barcode color.
2493 Add merge color support for box border color.
2494 * src/label-ellipse.c:
2495 * src/view-ellipse.c:
2496 Add merge color support for ellipse border color.
2499 Add merge color support for line color.
2500 * src/label-object.c:
2501 * src/label-object.h:
2502 * src/object-editor.c:
2503 * src/object-editor.h:
2504 * src/ui-property-bar.c:
2507 * src/xml-label-04.c:
2508 * src/xml-label-191.c:
2509 Add support for merging to other color attribute.
2511 * src/object-editor-text-page.c:
2513 Add merge color support for text color.
2514 * src/object-editor-fill-page.c:
2515 Change a blocked handler that didn't match the good widget. Fix the type
2516 of some debug message.
2517 * src/object-editor-line-page.c:
2518 Add merging support to line color option.
2519 * src/object-editor-private.h:
2520 Add variables for new widget.
2522 Modify the draw functions to get merge data if needed.
2524 Change the default size of the window in order to see all widget in the
2525 "text style tab" of the editor.
2527 Modify the parser to record/retreive the field value for objects that need
2528 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2529 static color or replace by "line_color_field" for merge data. For
2530 text/barcode objects, keep attribute "color" for static color or replace
2531 by "color_field" for merge data.
2533 2005-01-17 Jim Evins <evins@snaught.com>
2535 * src/view.c: (screen_changed_cb):
2536 Don't do anything if we don't have a screen.
2538 2005-01-06 Jim Evins <evins@snaught.com>
2540 * src/view.c: (get_home_scale):
2541 Fixed bad call to gtk_widget_has_screen() -- huh?.
2543 2005-01-06 Jim Evins <evins@snaught.com>
2545 * data/dtd/glabels-2.0.dtd:
2546 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2549 2005-01-06 Jim Evins <evins@snaught.com>
2551 * data/glade/object-editor.glade:
2552 Set entries for fill and data field key dropdowns to NOT editable.
2553 * src/view-box.c: (construct_properties_editor):
2554 * src/view-ellipse.c: (construct_properties_editor):
2555 Update object editor when label's merge property has changed.
2556 * src/xml-label.c: (xml_parse_object_ellipse):
2557 Completed the merge color support for the ellipse item.
2559 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2561 Add support to merge color for object that have a "Fill color" attribute (Feature
2562 Requests item #1008635. If the data is invalid, the color used is transparent
2563 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2564 by gdk_color_parse() these include name for a color from rgb.txt, such as
2565 DarkSlateGray, or a hex specification such as #305050. File format has been
2566 changed but backward compatibility is preserved for all format. For box/ellipse,
2567 keep attribute "fill_color" for static color or replace by "fill_color_field"
2570 * data/glade/object-editor.glade:
2571 Modify "Fill" tab to add the merge key combo and convert the labels into
2575 Add "glColorNode" structure and associated functions to manage it. This
2576 structure is equivalent for color than the "glTextNode". It holds the color
2578 * src/label-object.h:
2579 * src/label-object.c:
2581 * src/label-ellipse.c:
2582 * src/ui-property-bar.c:
2586 * src/view-ellipse.c:
2587 * src/xml-label-04.c:
2588 * src/xml-label-191.c:
2589 Change functions of objects that have a "fill color" attribute to use the
2590 new "glColorNode" structure. Use barcode code as example.
2592 Add the color.[ch] file to glabels_batch binary that now need support for
2594 * src/object-editor.h:
2595 * src/object-editor.c:
2596 * src/object-editor-fill-page.c:
2597 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2598 to choose between static color or merge key. Use barcode code as example.
2599 * src/object-editor-private.h:
2600 Add new widget in the "_glObjectEditorPrivate" structure.
2602 Modify the draw functions to get merge data if needed.
2604 Modify the parser to record/retreive the field value for objects that need
2605 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2606 color or "fill_color_field" for merge data.
2608 2005-01-04 Jim Evins <evins@snaught.com>
2611 * data/templates/avery-iso-templates.xml:
2612 * data/templates/misc-iso-templates.xml:
2613 * data/templates/misc-us-templates.xml:
2614 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2617 2004-11-26 Jim Evins <evins@snaught.com>
2621 Updated french translations provided by Florent Morel <florent@taket.org>.
2622 * src/view-barcode.c:
2624 * src/view-ellipse.c:
2628 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2629 thus _() strings were not being translated.
2631 2004-11-14 Jim Evins <evins@snaught.com>
2634 * src/debug.c: (gl_debug_init), (gl_debug):
2635 Borrowed from gedit: use environmental variables to select debug
2638 Removed unused include of debug.h.
2639 * src/glabels.c: (main):
2640 Added call to gl_debug_init(), and removed debug clutter from command line
2642 * src/glabels-batch.c: (main):
2643 Added call to gl_debug_init().
2645 2004-11-13 Jim Evins <evins@snaught.com>
2647 Drawing and property toolbars were being initialized with the "icons and text"
2648 look in Fedora Core 3. Even though none of the buttons had any text attached to
2649 them, the buttons were being sized as if they were. This led to less real estate
2650 for the property editor, leading to Bug #1064630. The
2652 * data/ui/glabels-ui.xml:
2653 Added explicit "look" property to both drawing and property toolbars.
2654 * src/prefs-model.c: (gl_prefs_model_save_settings),
2655 (gl_prefs_model_load_settings):
2656 * src/prefs-model.h:
2657 Removed drawing_toolbar_button_style configuration parameter.
2658 * src/ui.c: (view_menu_item_toggled_cb),
2659 (set_app_drawing_toolbar_style):
2660 Do not attempt to adjust look property of the drawing toolbar.
2662 2004-10-28 Jim Evins <evins@snaught.com>
2664 * data/pixmaps/glabels-about-logo.png:
2667 2004-10-28 Jim Evins <evins@snaught.com>
2669 * data/man/glabels.1:
2670 * src/glabels-batch.c: (main):
2672 * src/print.c: (gl_print_batch):
2674 Added option to glabels-batch to select the first label to begin
2677 2004-09-26 Jim Evins <evins@snaught.com>
2679 * data/desktop/glabels.desktop.in:
2680 Point to app icon, "glabels.png"
2681 * data/mime/glabels.keys.in:
2682 Point at mime icon, "glabels-application-x-glabels.png"
2683 * data/pixmaps/Makefile.am:
2684 Added glabels_app_icondir. Renamed icons.
2685 * data/pixmaps/glabels.png:
2686 New cleaned up app icon. Deleted glabels-icon.png.
2687 * data/pixmaps/glabels-application-x-glabels.png:
2689 * data/pixmaps/glabels-splash.png:
2690 Renamed glabels-logo to glabels-splash to be more correct about role.
2692 * src/template-designer.c:
2693 Point at app icon, "glabels.png"
2695 Point at renamed splash image, "glabels-splash.png"
2697 2004-08-22 Jim Evins <evins@snaught.com>
2700 * src/glabels-batch.c: (main):
2701 Applied patch with minor mods to allow selecting merge source and
2702 crop-marks on glabels-batch's command line. Original patch provided by
2703 José Dapena Paz <jdapena@igalia.com>.
2705 2004-08-15 Jim Evins <evins@snaught.com>
2707 * data/desktop/glabels.desktop.in:
2708 - Added encoding line
2709 - Removed period from comment
2710 - Fixed Terminal line, changed "0" to "false"
2711 - Added semicolen to Categories line
2713 - Made sure desktop.in comment string above still translated properly
2715 2004-08-14 Jim Evins <evins@snaught.com>
2717 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2718 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2719 * src/xml-label-191.c: (xml191_parse_sheet):
2720 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2722 Reconciled libglabels versioning with 2.0.1.
2725 2004-08-14 Jim Evins <evins@snaught.com>
2728 Updated version to 2.1cvs.
2730 2004-08-14 Jim Evins <evins@snaught.com>
2733 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2735 2004-08-14 Jim Evins <evins@snaught.com>
2737 Fixes for Bug #1008181.
2739 * src/bc.c: (gl_barcode_default_digits):
2740 Make a format of zero digits, harmless.
2741 * src/xml-label.c: (xml_parse_object_barcode):
2742 Set default value of the format property of barcode objects to 10, not
2743 zero. This will prevent crashes when reading pre 2.0.x files.
2745 2004-08-09 Jim Evins <evins@snaught.com>
2749 * help/C/glabels-C.omf:
2750 * help/C/glabels.xml:
2751 Brought documentation up-to-date for 2.0.0 release.
2753 2004-08-09 Jim Evins <evins@snaught.com>
2755 These are hopefully the final preparations for 2.0.0.
2757 * data/mime/Makefile.am:
2758 Include glabels.xml in EXTRA_DIST.
2760 - Updated comment style.
2761 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2762 - Added package and version info to configuration printout
2763 - Update version to 2.0.0
2764 * libglabels/Makefile.am:
2765 Use the new LIBGLABELS_VERSION_INFO macro.
2767 2004-08-09 Jim Evins <evins@snaught.com>
2771 Cleanup of required library macros.
2773 2004-08-08 Jim Evins <evins@snaught.com>
2777 - More specific of what to install in /usr/bin and /usr/lib
2778 - Remove built mime registration files from staging directory
2780 2004-08-08 Jim Evins <evins@snaught.com>
2782 * data/mime/Makefile.am:
2783 Fixed typo: key_files should have been keys_files.
2785 2004-08-08 Jim Evins <evins@snaught.com>
2787 Reorganization of runtime data files. Also added registration of mimetype with
2788 new freedesktop.org mime database if available.
2791 Moved files to appropriate subdirectories, creating local Makefile.am
2792 in each subdirectory.
2793 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2794 These are now installed at $datadir/glabels/templates.
2795 - Moved glabels.1 to man subdirectory.
2796 - Moved glabels-2.0.dtd to dtd subdirectory.
2797 - Moved glabels.desktop.in to desktop subdirectory.
2798 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2800 Moved "./pixmaps" to "./data/pixmaps"
2802 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2804 Moved libglade files from src to data/glade. Created Makefile.am.
2806 Removed pixmaps from SUBDIRS.
2808 - Removed pixmaps from makefiles.
2809 - Added makefiles for new subdirs of data.
2810 - Added tests for freedesktop.org mime database.
2812 - Added tests for freedesktop.org mime database for post install and
2813 post un-install actions.
2814 * libglabels/Makefile.am:
2815 Moved system template files to $(datadir)/glabels/templates.
2816 * libglabels/libglabels-private.h:
2817 Moved system template files to $(datadir)/glabels/templates.
2819 - Accounted for movement of ui and libglade files.
2820 - Added missing .in files.
2821 - Reorganized by directory.
2823 Accounted for movement of ui and libglade files.
2824 * data/mime/glabels.xml.in:
2825 New file for registering with freedesktop.org mime database.
2827 2004-08-07 Jim Evins <evins@snaught.com>
2829 * src/recent-files/*:
2830 Re-synced to latest libegg/recent-files.
2832 2004-08-07 Jim Evins <evins@snaught.com>
2837 Renamed "./doc" directory to "./help" which contains user documentation,
2838 to be more consistent with other GNOME applications.
2841 2004-07-26 Jim Evins <evins@snaught.com>
2843 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2844 Corrected button order of merge properties dialog.
2846 2004-07-18 Jim Evins <evins@snaught.com>
2848 * data/glabels-2.0.dtd:
2849 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2850 (gl_barcode_get_prefered_n):
2852 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2853 (gl_label_barcode_get_props), (get_size):
2854 * src/label-barcode.h:
2855 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2856 (style_changed_cb), (gl_object_editor_set_bc_style),
2857 (gl_object_editor_get_bc_style):
2858 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2859 (gl_object_editor_set_data), (gl_object_editor_get_data):
2860 * src/object-editor-private.h:
2861 * src/object-editor.c: (gl_object_editor_set_key_names):
2862 * src/object-editor.glade:
2863 * src/object-editor.h:
2864 * src/print.c: (draw_barcode_object):
2865 * src/view-barcode.c: (update_object_from_editor_cb),
2866 (update_editor_from_object_cb),
2867 (gl_view_barcode_create_event_handler), (draw_barcode):
2868 * src/xml-label-04.c: (xml04_parse_barcode_props):
2869 * src/xml-label-191.c: (xml191_parse_barcode_props):
2870 * src/xml-label.c: (xml_parse_object_barcode),
2871 (xml_create_object_barcode):
2872 Added "format" attribute to barcode objects. This attribute is used
2873 to properly format freeform barcodes barcodes prior to merge data is
2874 applied, so that barcodes can be accurately layed out. This addresses
2875 remaining issues of feature request #824787. Also added an example of
2876 the format in the object editor.
2878 2004-07-12 Jim Evins <evins@snaught.com>
2880 Various code cleanups.
2882 * src/label-barcode.c:
2883 Removed unneeded include of gnome-glyphlist.h.
2885 * src/label-text.c: (get_size):
2886 Fixed memory leak: unref glyphlists when done with them.
2888 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2889 * src/object-editor-data-page.c:
2890 (gl_object_editor_prepare_data_page):
2891 * src/object-editor-image-page.c:
2892 (gl_object_editor_prepare_image_page):
2893 * src/object-editor-line-page.c:
2894 (gl_object_editor_prepare_line_page):
2895 * src/object-editor-lsize-page.c:
2896 (gl_object_editor_prepare_lsize_page):
2897 * src/object-editor-position-page.c:
2898 (gl_object_editor_prepare_position_page):
2899 * src/object-editor-size-page.c:
2900 (gl_object_editor_prepare_size_page):
2901 * src/object-editor-text-page.c:
2902 (gl_object_editor_prepare_text_page):
2903 Removed unneeded size groups, originally intended to keep widgets aligned.
2904 Now use tables to lay these out in object-editor.glade.
2906 * src/print.c: (draw_text_object):
2907 Fixed memory leak: unref glyphlists when done with them.
2909 * src/view-barcode.c: (draw_barcode):
2910 Fixed memory leak: unref glyphlists when done with them.
2912 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2913 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2915 - Fixed memory leak: unref glyphlists when done with them.
2917 2004-07-11 Jim Evins <evins@snaught.com>
2919 * data/glabels-2.0.dtd:
2920 * src/label-text.c: (gl_label_text_instance_init), (copy),
2921 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2923 * src/object-editor-private.h:
2924 * src/object-editor-text-page.c:
2925 (gl_object_editor_prepare_text_page),
2926 (gl_object_editor_set_text_auto_shrink),
2927 (gl_object_editor_get_text_auto_shrink):
2928 * src/object-editor.c: (gl_object_editor_set_key_names):
2929 * src/object-editor.glade:
2930 * src/object-editor.h:
2931 * src/print.c: (draw_text_object):
2932 * src/view-text.c: (update_object_from_editor_cb),
2933 (update_editor_from_object_cb):
2934 * src/xml-label.c: (xml_parse_object_text),
2935 (xml_create_object_text):
2936 Added option to allow document merge to auto shrink text size to fit
2937 within the text box. The code in print.c that actually shrinks the
2938 text is loosely based on a patch submitted by Mark Harrison
2939 <mark.harrison@velocitynet.com.au>. This addresses feature request
2942 2004-07-11 Jim Evins <evins@snaught.com>
2944 * data/glabels-2.0.dtd:
2945 * libglabels/template.c: (gl_template_rect_label_type_new),
2946 (gl_template_round_label_type_new),
2947 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
2948 (template_full_page):
2949 * libglabels/template.h:
2950 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
2951 (xml_create_label_node):
2952 * pixmaps/ex-rect-size.png:
2953 * src/print.c: (clip_to_outline), (clip_punchouts):
2954 * src/template-designer.c: (construct_rect_size_page),
2955 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
2957 * src/template-designer.glade:
2958 * src/xml-label-191.c: (xml191_parse_label):
2959 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
2960 properties for rectangular labels. Templates remain backwards compatible,
2961 but this breaks the libglabels API (I don't know of anyone outside of
2962 glabels using libglabels at this time -- what can I say, the program is
2963 is still "unstable"). This addresses the suggestion in Feature Request
2966 2004-07-05 Jim Evins <evins@snaught.com>
2967 * src/print.c: (print_crop_marks), (draw_outline):
2968 Changed crop marks and label outlines to black, instead of 25% gray.
2969 This addresses debian Bug #257460.
2971 2004-07-05 Jim Evins <evins@snaught.com>
2973 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
2974 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
2975 Preserve "is_default" of fill and line color_combos when creating from
2978 2004-07-02 Jim Evins <evins@snaught.com>
2981 Created man page. Based on page submitted by Matthew J. Lockner, however
2982 it has been severely edited.
2984 * data/avery-other-templates.xml
2985 * data/misc-other-templates.xml:
2986 Started new files for predefined templates with non-standard sheet sizes.
2987 These have been initially populated with the Avery 06141 and
2988 OfficeMax #86112, both provided by Matthew J. Lockner.
2991 Install above manpage and template files.
2994 Make sure we install man pages.
2996 * src/glabels-batch.c:
2997 Changed short form of help option to '-?' to be consistent with glabels.
3000 Added acknowledgement for above labels.
3002 2004-07-02 Jim Evins <evins@snaught.com>
3004 * src/glabels.c: (main), (save_session_cb):
3005 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3007 - save_session_cb() now returns gboolean.
3008 - Minor formatting changes.
3012 - Now include file.h to provide missing prototype.
3013 - gl_window_get_type() now returns GType, not guint. I believe this may
3014 ultimately be cause of the segfault reported in Bug #982287, since
3015 GType is actually a gulong, which may not be compatible on other
3016 architectures (64bit) -- I cannot personally test this at this time.
3017 I was sloppy in several other xxx_get_type() functions which also
3018 returned guint -- see next group of files:
3020 * src/window.c: (gl_window_get_type):
3021 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3022 * src/canvas-hacktext.h:
3023 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3024 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3025 (gl_hig_hbox_get_type):
3027 * src/label-barcode.c: (gl_label_barcode_get_type):
3028 * src/label-barcode.h:
3029 * src/label-box.c: (gl_label_box_get_type):
3031 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3032 * src/label-ellipse.h:
3033 * src/label-image.c: (gl_label_image_get_type):
3034 * src/label-image.h:
3035 * src/label-line.c: (gl_label_line_get_type):
3037 * src/label-object.c: (gl_label_object_get_type):
3038 * src/label-object.h:
3039 * src/label-text.c: (gl_label_text_get_type):
3041 * src/label.c: (gl_label_get_type):
3043 * src/merge-properties-dialog.c:
3044 (gl_merge_properties_dialog_get_type):
3045 * src/merge-properties-dialog.h:
3046 * src/merge-text.c: (gl_merge_text_get_type):
3048 * src/merge.c: (gl_merge_get_type):
3050 * src/object-editor.c: (gl_object_editor_get_type):
3051 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3052 * src/prefs-dialog.h:
3053 * src/prefs-model.c: (gl_prefs_model_get_type):
3054 * src/prefs-model.h:
3055 * src/print-dialog.c: (gl_print_dialog_get_type):
3056 * src/print-dialog.h:
3057 * src/template-designer.c: (gl_template_designer_get_type):
3058 * src/template-designer.h:
3059 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3060 * src/ui-property-bar.h:
3061 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3063 * src/view-barcode.c: (gl_view_barcode_get_type):
3064 * src/view-barcode.h:
3065 * src/view-box.c: (gl_view_box_get_type):
3067 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3068 * src/view-ellipse.h:
3069 * src/view-highlight.c: (gl_view_highlight_get_type):
3070 * src/view-highlight.h:
3071 * src/view-image.c: (gl_view_image_get_type):
3073 * src/view-line.c: (gl_view_line_get_type):
3075 * src/view-object.c: (gl_view_object_get_type):
3076 * src/view-object.h:
3077 * src/view-text.c: (gl_view_text_get_type):
3079 * src/view.c: (gl_view_get_type):
3081 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3082 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3083 * src/wdgt-image-select.h:
3084 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3085 * src/wdgt-media-select.h:
3086 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3087 * src/wdgt-mini-preview.h:
3088 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3089 * src/wdgt-print-copies.h:
3090 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3091 * src/wdgt-print-merge.h:
3092 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3093 * src/wdgt-rotate-label.h:
3094 - Made sure all xxx_get_type functions returned GType, not guint. This
3095 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3096 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3097 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3098 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3099 window.[ch] details above for more info.
3100 - Reconciled various coding style differences in all xxx_get_type()
3102 * All prototypes include G_GNUC_CONST.
3103 * All prototypes specify the return value as GType, not GtkType
3105 * Info structures are all declared as "static const."
3106 * Generalized the names of type and info variables.
3107 * Miscelaneous formatting.
3109 2004-06-08 Jim Evins <evins@snaught.com>
3115 Don't touch compression of original file -- still defaults to 9 for
3116 new files. Original patch provided by Javier Donaire Segarra
3117 (#912252 in patch tracker).
3119 2004-05-05 Jim Evins <evins@snaught.com>
3121 * data/glabels-2.0.dtd:
3122 Broke DTD previously when adding new barcode types that contain a
3123 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3124 to avoid the problem.
3125 * data/avery-iso-templates.xml:
3126 * data/zweckform-iso-templates.xml:
3128 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3129 provided by Frank Altpeter.
3130 * libglabels/xml-template.c: (xml_create_label_node):
3131 Reordered markup and layout sub-nodes so that resulting templates will
3132 validate against DTD.
3134 2004-03-13 Jim Evins <evins@snaught.com>
3136 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3137 Changed spin callback signals from "value-changed" back to "changed."
3138 This was accidentally introduced in a previous revision, and can cause
3139 size changes just by selecting the size tab.
3141 2004-03-06 Jim Evins <evins@snaught.com>
3143 * src/view.c: (draw_grid_layer):
3144 For round labels (round and cd) adjust grid so that it lines up with
3145 center of label. Also, no longer draw box around label in the grid layer,
3146 it is hidden by he fg layer anyway. Feature suggested by
3147 nemolivier@free.fr. Although the grid is aligned with the center of the
3148 label, the coordinate system is still relative to the upper left corner
3149 of the rectangle containing the label.
3151 2004-02-25 Jim Evins <evins@snaught.com>
3154 Changed version to 2.0pre1cvs
3156 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3157 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3158 instead of doc->name fields when errors encountered.
3160 2004-02-21 Jim Evins <evins@snaught.com>
3162 * data/avery-iso-templates.xml:
3163 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3166 Added libglabels library and include file to installed files.
3169 Final prep for 1.93.3.
3171 2004-02-20 Jim Evins <evins@snaught.com>
3173 * src/glabels-batch.c: (main):
3174 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3175 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3177 2004-02-16 Jim Evins <evins@snaught.com>
3180 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3183 Added HAVE_FILE_CHOOSER to INCLUDES.
3185 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3186 (gl_file_save_as), (save_as_response):
3187 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3189 2004-02-16 Jim Evins <evins@snaught.com>
3191 * src/xml-label-04.c: (xml04_parse_image_props):
3192 * src/xml-label-191.c: (xml191_parse_image_props):
3193 * src/xml-label.c: (xml_parse_object_image):
3194 Delay setting image size until after image has been applied to new
3197 2004-02-15 Jim Evins <evins@snaught.com>
3199 * src/label-barcode.c: (gl_label_barcode_set_data),
3200 (gl_label_barcode_set_props):
3201 Don't emit "changed" signal, if no change actually made for these
3202 methods. Reduces number of unnecessary redraws of barcodes.
3204 * src/label-object.h:
3205 * src/label-object.c: (gl_label_object_set_position),
3206 (gl_label_object_set_position_relative), (set_size),
3207 (gl_label_object_set_size),
3208 (gl_label_object_set_size_honor_aspect):
3209 Don't emit "changed" signal, if no change actually made for these
3212 2004-02-15 Jim Evins <evins@snaught.com>
3214 * data/glabels-2.0.dtd:
3215 Added specific subtypes for various barcode types.
3218 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3219 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3220 (gl_barcode_can_text), (gl_barcode_text_optional),
3221 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3222 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3223 Changed API to use a string id, rather than a fixed enumeration. Id and
3224 name are separate strings. Added entries to backend table for specific
3225 subtypes for various barcode types.
3228 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3230 Modified to conform to above API. Now more stringent with data length
3231 for various subtypes.
3233 * src/bc-gnubarcode.h:
3234 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3235 (is_length_valid), (is_length1_valid), (is_length2_valid):
3236 Modified to conform to above API. Now more stringent with data length
3237 for various subtypes.
3239 * src/label-barcode.h:
3240 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3241 (gl_label_barcode_get_props), (get_size):
3242 Modified to use above API for storing barcode type.
3244 * src/object-editor.h:
3245 * src/object-editor-bc-page.c: (style_changed_cb),
3246 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3247 Modified to use above API for storing barcode type.
3249 * src/object-editor-size-page.c:
3250 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3251 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3252 Added debug markers.
3254 * src/object-editor.glade:
3255 Made barcode style combo's text entry non-editable.
3257 * src/print.c: (draw_barcode_object):
3258 Modified to use above API for barcode type.
3260 * src/view-barcode.c: (update_object_from_editor_cb),
3261 (update_editor_from_object_cb),
3262 (gl_view_barcode_create_event_handler), (draw_barcode):
3263 Modified to use above API for barcode type.
3265 * src/xml-label-04.c: (xml04_parse_barcode_props):
3266 * src/xml-label-191.c: (xml191_parse_barcode_props):
3267 * src/xml-label.c: (xml_parse_object_barcode),
3268 (xml_create_object_barcode):
3269 Modified to use above API for barcode type.
3271 2004-02-07 Jim Evins <evins@snaught.com>
3273 * src/stock-pixmaps/Makefile.am:
3274 * src/stock-pixmaps/stock_hchain_24.png:
3275 * src/stock-pixmaps/stock_hchain_broken_24.png:
3276 * src/stock-pixmaps/stock_vchain_24.png:
3277 * src/stock-pixmaps/stock_vchain_broken_24.png:
3278 Added chain pixmaps borrowed from the gimp's default theme.
3281 * src/stock.c: (gl_stock_init), (add_button_icon):
3282 Added above pixmaps to stock icon sets. Created add_button_icon() to
3283 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3285 * src/wdgt-chain-button.h
3286 * src/wdgt-chain-button.c
3289 Added this Modified version of gimpchainbutton widget, borrowed from
3293 Added acknowledgements of the above borrowing from the gimp.
3295 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3297 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3298 * src/object-editor.glade:
3299 Replaced the keep aspect ratio check box with the above chain-button
3302 * src/text-node.c: (gl_text_node_equal):
3304 Added function gl_text_node_equal() to compare text_nodes.
3306 * src/label-image.c: (gl_label_image_set_filename):
3307 Replaced incomplete text_node comparison code with invocation of
3308 gl_text_node_equal. This fixed the problem of not being able to
3309 resize an image using the object_editor if the aspect ratio is not
3312 2004-02-04 Jim Evins <evins@snaught.com>
3314 * src/object-editor-image-page.c:
3315 (gl_object_editor_prepare_image_page):
3316 Track "changed" signal of pixmap entry's GtkEntry rather than its
3317 "activate" signal -- this catches all changes to the entry rather than
3318 just changes resulting from a browse, so one can easily pull previous
3319 entries from the history. (This change is marked below on 2004-02-03,
3320 but somehow never got checked in.)
3322 * src/view-highlight.c: (sl_resize_event_handler),
3323 (sr_resize_event_handler), (st_resize_event_handler),
3324 (sb_resize_event_handler):
3325 Side resize handles will now confirm the actual resize that the object
3326 accepted before adjusting position parameters. Previously some interesting
3327 things happened when resizing a barcode to its minimum size.
3329 2004-02-03 Jim Evins <evins@snaught.com>
3331 * src/object-editor-image-page.c:
3332 (gl_object_editor_prepare_image_page):
3333 Track "changed" signal of pixmap entry's GtkEntry rather than its
3334 "activate" signal -- this catches all changes to the entry rather than
3335 just changes resulting from a browse, so one can easily pull previous
3336 entries from the history.
3338 * src/view-highlight.c: (tl_resize_event_handler),
3339 (tr_resize_event_handler), (bl_resize_event_handler),
3340 (br_resize_event_handler):
3341 Allow control key to be dropped while dragging a corner resize handle
3342 without losing the aspect ratio lock.
3344 2004-02-02 Jim Evins <evins@snaught.com>
3346 * src/label-image.c: (gl_label_image_set_filename):
3347 When setting a new filename adjust size such that the aspect ratio of
3348 the image is preserved using the current size as a bounding box.
3350 * src/view-image.c: (update_object_from_editor_cb):
3351 When updating object from editor, feed back possible size changes to
3352 editor as a result of a possible change in image.
3354 * src/object-editor-size-page.c: (size_reset_cb):
3355 Fixed typo when blocking spin handlers. If the base size is larger than
3356 the max size, treat max size as a bounding box while keeping aspect
3360 2004-02-02 Jim Evins <evins@snaught.com>
3362 * src/label-object.h:
3363 * src/label-object.c: (gl_label_object_set_size),
3364 (gl_label_object_set_size_honor_aspect):
3365 Added gl_label_object_set_size_honor_aspect() which will maintain the
3366 current aspect ratio by modifying the supplied w or h apropriately.
3368 * src/view-highlight.c: (tl_resize_event_handler),
3369 (tr_resize_event_handler), (bl_resize_event_handler),
3370 (br_resize_event_handler):
3371 Corner handles will now maintain the current aspect ratio if the
3372 control key is pressed while resizing. This addresses feature
3376 2004-01-31 Jim Evins <evins@snaught.com>
3379 * data/avery-us-templates.xml:
3380 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3382 * libglabels/template.c: (read_template_files_from_dir):
3383 Corrected problem with testing for extensions.
3385 * src/object-editor.glade:
3386 Corrected grouping of radio buttons in barcode data page.
3388 * src/print.c: (draw_barcode_object):
3389 * src/view-barcode.c: (draw_barcode):
3390 Corrected problem with calculation of y_offset for locating characters.
3392 2004-01-24 Jim Evins <evins@snaught.com>
3395 * data/avery-us-templates.xml:
3396 Added Avery 5824, submitted by Fred Bacon.
3398 2004-01-20 Jim Evins <evins@snaught.com>
3400 Catching up on a couple of backlogged user template submissions.
3402 * data/avery-iso-templates.xml:
3403 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3404 Suggested by Linas Jakucionis.
3406 * data/zweckform-iso-templates.xml:
3407 Added Zweckform 4760, submitted by Thomas Vill.
3410 Updated to reflect above submissions.
3412 2004-01-06 Jim Evins <evins@snaught.com>
3414 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3415 xml.[ch] into a separate library called libglabels, to facilitate third
3416 party use of glabels template files. This was suggested by Wayne Schuller.
3417 Once split-out, some modifications to the structures and functions to
3418 make a cleaner more useful API, hopefully. Rather extensive changes have
3419 propogated to other modules.
3427 * src/xml-template.h:
3428 * src/xml-template.c:
3431 These files have been moved to libglabels/. API cleanup performed.
3433 * libglabels/libglabels.h:
3434 * libglabels/libglabels-private.h:
3435 * libglabels/Makefile.am:
3436 These files have been added to finish out libglabels.
3443 Modified to reflect new sets of files in src/ and libglabels/.
3445 * COPYING.LIBGLABELS:
3447 Added copy of the LGPL for libglabels, and a copy the GFDL for
3450 * src/glabels-batch.c:
3452 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3453 (gl_label_get_size):
3455 * src/prefs-model.c: (gl_prefs_model_load_settings):
3456 * src/print-dialog.c:
3457 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3458 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3459 (print_crop_marks), (print_label), (draw_outline),
3460 (clip_to_outline), (clip_punchouts):
3461 * src/template-designer.c: (construct_pg_size_page),
3462 (pg_size_page_changed_cb), (layout_page_changed_cb),
3463 (print_test_cb), (build_template):
3464 * src/util.c: (gl_util_fraction):
3466 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3467 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3468 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3469 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3470 (draw_markup_margin_round), (draw_markup_margin_cd),
3471 (draw_markup_margin_cd_bc), (draw_markup_line),
3472 (draw_markup_circle), (gl_view_copy):
3473 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3474 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3475 (get_label_size_desc):
3476 * src/wdgt-mini-preview.c:
3477 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3479 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3480 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3481 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3482 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3483 * src/wdgt-rotate-label.h:
3484 * src/xml-label-04.c: (xml04_parse_media_description):
3485 * src/xml-label-191.c: (gl_xml_label_191_parse),
3486 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3487 (xml191_parse_markup), (xml191_parse_alias):
3488 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3490 Various changes to accomodate new libglabels API.
3492 2004-01-03 Jim Evins <evins@snaught.com>
3497 2004-01-03 Jim Evins <evins@snaught.com>
3500 Added acknowledgement of contributions by Wayne Schuller.
3502 * src/commands.c: (gl_cmd_file_print):
3503 Create extra reference to print dialog, so that it can be properly re-used.
3505 * src/mygal/mygal-combo-box.h:
3506 * src/mygal/mygal-combo-box.c:
3507 (mygal_combo_box_popup_hide_unconditional),
3508 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3509 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3510 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3511 (mygal_combo_box_set_tearable):
3512 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3513 complete the rename of this widget to prevent namespace collisions
3516 * src/prefs-dialog.glade:
3517 Fixed alignment of Fill/Color widgets.
3519 2004-01-03 Jim Evins <evins@snaught.com>
3521 * data/avery-iso-templates.xml:
3522 Added user submitted templates.
3523 Avery 8435A & 8435B, submitted by Ludger Solbach.
3525 * doc/C/glabels.xml:
3526 Added minimal documentation, noting the new template designer.
3528 2004-01-03 Jim Evins <evins@snaught.com>
3530 * pixmaps/ex-rect-size.png:
3531 * pixmaps/ex-round-size.png:
3532 * pixmaps/ex-cd-size.png:
3533 * pixmaps/Makefile.am:
3534 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3535 files to be used as illustrations/examples in the template-designer.
3537 * src/template-designer.c: (construct_rect_size_page),
3538 (construct_round_size_page), (construct_cd_size_page),
3539 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3540 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3541 (layout_page_prepare_cb), (build_template):
3542 * src/template-designer.glade:
3543 Added illustrations for rectangle, round, and cd label size pages.
3544 Added margin spinboxes to these pages, and now add a margin markup
3545 to the constructed template. Added realistic default values for
3546 some of the size spinboxes. Cleaned up the code for setting spinbox
3547 ranges on the layouts page.
3549 2004-01-02 Jim Evins <evins@snaught.com>
3551 * src/object-editor-size-page.c: (h_spin_cb):
3552 Fixed cut-n-paste error in h_spin_cb that loaded h from
3553 the wrong spinbutton.
3555 * src/object-editor.h:
3556 * src/object-editor.c: (gl_object_editor_class_init),
3557 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3558 * src/object-editor-private.h:
3559 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3561 Added "size_changed" signal.
3563 * src/view-text.c: (construct_properties_editor),
3564 (update_object_from_editor_cb),
3565 (update_object_from_editor_size_cb):
3566 Track size changes from object editor separately from other
3567 properties. This is so the default size (0,0) of a text
3568 object is not modified unintentionally.
3570 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3572 Added feature: line spacing - allows you to comfortably space a text box to
3573 fit a label perfectly.
3575 * data/glabels-2.0.dtd:
3576 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3577 (gl_label_object_get_text_alignment),
3578 (gl_label_object_get_text_line_spacing):
3579 * src/label-object.h:
3580 * src/label-text.c: (gl_label_text_class_init),
3581 (gl_label_text_instance_init), (copy), (get_size),
3582 (set_text_line_spacing), (get_text_alignment),
3583 (get_text_line_spacing):
3584 * src/object-editor-private.h:
3585 * src/object-editor-text-page.c:
3586 (gl_object_editor_prepare_text_page),
3587 (gl_object_editor_set_text_line_spacing),
3588 (gl_object_editor_get_text_line_spacing):
3589 * src/object-editor.glade:
3590 * src/object-editor.h:
3591 * src/prefs-dialog.c: (construct_object_page),
3592 (update_object_page_from_prefs), (update_prefs_from_object_page):
3593 * src/prefs-dialog.glade:
3594 * src/prefs-model.c: (gl_prefs_model_save_settings),
3595 (gl_prefs_model_load_settings), (get_float):
3596 * src/prefs-model.h:
3597 * src/print.c: (draw_text_object):
3599 * src/view-text.c: (update_object_from_editor_cb),
3600 (update_editor_from_object_cb),
3601 (gl_view_text_create_event_handler), (draw_hacktext):
3602 * src/view.c: (gl_view_construct),
3603 (gl_view_set_selection_text_line_spacing),
3604 (gl_view_set_default_text_line_spacing),
3605 (gl_view_get_default_text_line_spacing):
3607 * src/xml-label.c: (xml_parse_toplevel_span),
3608 (xml_create_toplevel_span):
3610 2003-12-30 Jim Evins <evins@snaught.com>
3612 * src/template-designer.c:
3613 * src/template-designer.h:
3614 * src/template-designer.glade:
3615 New template designer assistant.
3619 Added entries for src/template-designer.* files.
3621 * pixmaps/ex-1layout.png
3622 * pixmaps/ex-2layouts.png
3623 * pixmaps/Makefile.am:
3624 Added the new image files ex-*.png used as illustrations in the
3625 template designer assistant.
3627 * src/print-dialog.h:
3628 * src/print-dialog.c: (gl_print_dialog_finalize),
3629 (gl_print_dialog_new), (gl_print_dialog_construct),
3630 (gl_print_dialog_force_outline_flag):
3631 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3632 to support printing from the template designer assistant which does not
3633 have a full-fledged view. Nothing else from the view object was being
3634 used by the dialog anyway.
3636 Added the gl_print_dialog_force_outline_flag() method, for better
3637 integration with the template designer assistant.
3641 * src/commands.c: (gl_cmd_file_template_designer),
3642 (gl_cmd_file_print):
3643 Modified print command to provide label instead of view to dialog.
3644 Added the gl_cmd_file_template_designer() command to invoke the
3645 template designer assistant.
3648 * src/glabels-ui.xml:
3649 Added support for template designer assistant.
3651 * src/wdgt-mini-preview.h:
3652 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3653 (gl_wdgt_mini_preview_set_bg_color):
3654 Preview is now centered in canvas. Added
3655 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3656 assistant to match the background color with its own.
3658 * src/print.c: (clip_to_outline):
3659 Fixed really stupid bug when adding waste to clip region of rectangular
3660 labels/cards. Each side of the clip region needs to be extended by
3661 twice the waste margin, as well as negatively offset by the waste
3664 2003-12-28 Jim Evins <evins@snaught.com>
3666 * src/prefs-dialog.c: (update_object_page_from_prefs):
3667 Block intermediary function align_toggle_cb() instead of
3668 update_prefs_from_object_page() for the three alignment
3671 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3673 * src/file.c: (gl_file_new), (gl_file_properties):
3674 Swap button order and set default for higificatory pleasure.
3676 2003-12-27 Jim Evins <evins@snaught.com>
3678 * barcode-0.98/Makefile.am:
3679 One last time: removed doc/Makefile and po/Makefile.in.in from
3682 2003-12-27 Jim Evins <evins@snaught.com>
3684 * barcode-0.98/Makefile.am:
3685 Removed config.stat entry from EXTRA_DIST files.
3687 * barcode-0.98/Makefile.in:
3690 2003-12-27 Jim Evins <evins@snaught.com>
3693 Updated to work with latest gnome-common package from CVS.
3694 Removed recursive configuration of barcode-0.98.
3701 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3703 * barcode-0.98/Makefile.in:
3704 * barcode-0.98/configure.in:
3705 * barcode-0.98/Makefile.am:
3706 * barcode-0.98/README.glabels:
3707 Modified to ignore the barcode package's build system, and build
3708 as a part of glabels.
3709 Renamed Makefile.in to Makefile.in.dist.
3710 Renamed configure.in to configure.in.dist.
3711 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3714 * src/mygal/Makefile.am:
3715 * src/recent-files/Makefile.am:
3716 In order to build against the GNOME 2.5 platform,
3717 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3719 * src/mygal/Makefile.am:
3720 * src/mygal/mygal-combo-box.c:
3721 * src/mygal/mygal-combo-box.h:
3722 * src/mygal/widget-color-combo.c:
3723 * src/mygal/widget-color-combo.h:
3725 In order to build against the GNOME 2.5 platform,
3726 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3727 collisions with the real gtk_combo_box widget, now a part of gtk.
3729 2003-12-26 Jim Evins <evins@snaught.com>
3735 Moved local versions of get_home_data_dir() in paper.c and
3736 template.c to util package. Cleaned up formatting in
3740 In gl_template_register() save a copy of the template in
3741 ~/.glabels if the template is not known. Still need to
3742 handle duplicate filename case and duplicate name but
3743 different template case.
3747 Moved local definition of NAME_SPACE macro from xml-label.c
3750 * src/xml-template.c:
3751 * src/xml-template.h:
3752 Added function gl_xml_template_write_template_to_file(), used
3753 in gl_template_register().