1 2007-11-28 Jim Evins <evins@snaught.com>
3 * data/glade/wdgt-media-select.glade:
4 * src/wdgt-media-select.c:
5 Added tabbed notebook to allow selection of recent template versus searching the
9 2007-11-26 Jim Evins <evins@snaught.com>
11 * libglabels/Makefile.am:
12 * libglabels/libglabels.h:
20 Added tracking of recently used templates.
22 2007-11-20 Jim Evins <evins@snaught.com>
24 * data/glade/template-designer.glade:
25 * src/template-designer.c:
26 Added warning icon when match brand and part match an existing template.
28 2007-11-18 Jim Evins <evins@snaught.com>
30 * libglabels/Makefile.am:
33 Added lgl_str_utf8_casecmp().
34 * libglabels/libglabels-private.h:
35 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
36 * libglabels/db.c: (lgl_db_get_brand_list):
37 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
40 2007-11-18 Jim Evins <evins@snaught.com>
42 * data/glade/template-designer.glade:
43 * src/template-designer.c:
44 Don't advance past name page, if brand and part match an existing template.
46 2007-11-18 Jim Evins <evins@snaught.com>
48 * libglabels/db.c: (lgl_db_register_template), (read_templates):
49 When registering a new template, don't add to "User defined" category before
50 writing to file. Add to "User defined" category when reading from "~/.glabels"
51 directory instead. This will allow legacy templates (and manually created
52 templates) to be automatically added to the "user defined" category.
53 * libglabels/xml-template.c:
54 (lgl_xml_template_create_template_node):
55 Fixed typo/bug causing brand to be wrong.
57 2007-11-16 Jim Evins <evins@snaught.com>
61 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
62 function. Automatically create "User defined" category and add to all user
64 * libglabels/xml-template.c:
65 * libglabels/xml-template.h:
66 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
67 lgl_xml_template_write_template_to_file().
68 * docs/libglabels/libglabels-decl-list.txt:
69 * docs/libglabels/libglabels-sections.txt:
70 * docs/libglabels/libglabels-undocumented.txt:
71 * docs/libglabels/tmpl/db.sgml:
72 * docs/libglabels/tmpl/xml-template.sgml:
73 Update documentation to reflect above changes.
75 2007-10-28 Jim Evins <evins@snaught.com>
77 * libglabels/xml-template.c:
78 Remove any leading white space from part #s when parsing old names.
79 * src/mini-preview-pixbuf-cache.c:
80 If name isn't in cache add it.
82 2007-10-26 Jim Evins <evins@snaught.com>
84 * libglabels/Makefile.am:
85 * libglabels/category.c:
86 * libglabels/category.h:
89 * libglabels/libglabels-private.h:
90 * libglabels/libglabels.h:
93 * libglabels/template.c:
94 * libglabels/template.h:
95 * libglabels/xml-template.c:
96 Another pass at screwing with the libglabels API. Moved all
97 database related stuff to db.[ch].
98 * docs/libglabels/libglabels-decl-list.txt:
99 * docs/libglabels/libglabels-docs.sgml:
100 * docs/libglabels/libglabels-sections.txt:
101 * docs/libglabels/libglabels-undocumented.txt:
102 * docs/libglabels/tmpl/category.sgml:
103 * docs/libglabels/tmpl/db.sgml:
104 * docs/libglabels/tmpl/init.sgml:
105 * docs/libglabels/tmpl/libglabels-unused.sgml:
106 * docs/libglabels/tmpl/paper.sgml:
107 * docs/libglabels/tmpl/template-construction.sgml:
108 * docs/libglabels/tmpl/template-db.sgml:
109 * docs/libglabels/tmpl/template-misc.sgml:
110 * docs/libglabels/tmpl/template-struct.sgml:
111 * docs/libglabels/tmpl/template.sgml:
112 Updated documentation to reflect above changes to libglabels API.
114 * src/glabels-batch.c:
116 * src/mini-preview-pixbuf-cache.c:
119 * src/template-designer.c:
120 * src/wdgt-media-select.c:
121 * src/wdgt-mini-preview.c:
122 * src/wdgt-rotate-label.c:
123 * src/xml-label-04.c:
125 Reconciled usage with above libglabels API changes.
127 2007-10-21 Jim Evins <evins@snaught.com>
129 * data/glade/wdgt-media-select.glade:
130 * src/wdgt-media-select.c:
131 Added brand to filter settings.
133 2007-10-21 Jim Evins <evins@snaught.com>
135 * data/dtd/glabels-2.2.dtd:
136 Forgot to replace Alias name attribute with brand and part attributes.
137 * data/templates/avery-iso-templates.xml:
138 * data/templates/avery-other-templates.xml:
139 * data/templates/avery-us-templates.xml:
140 * data/templates/misc-iso-templates.xml:
141 * data/templates/misc-other-templates.xml:
142 * data/templates/misc-us-templates.xml:
143 * data/templates/zweckform-iso-templates.xml:
144 Replaced all name attributes with brand/part attribute pairs.
146 2007-10-20 Jim Evins <evins@snaught.com>
148 * src/stock-pixmaps/*.png
149 Updated icons to use Tango color palette.
151 2007-10-20 Jim Evins <evins@snaught.com>
153 * data/dtd/Makefile.am:
154 * data/dtd/glabels-2.0.dtd:
155 * data/dtd/glabels-2.2.dtd:
156 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
158 * libglabels/template.c:
159 * libglabels/template.h:
160 * libglabels/xml-template.c:
162 Added brand and part attributes to template and alias structures and nodes.
165 * src/mini-preview-pixbuf-cache.c:
166 * src/template-designer.c:
167 * src/wdgt-media-select.c:
168 Use modified libglabels API.
169 * docs/libglabels/libglabels-decl-list.txt:
170 * docs/libglabels/libglabels-sections.txt:
171 * docs/libglabels/libglabels-undocumented.txt:
172 * docs/libglabels/tmpl/template-construction.sgml:
173 * docs/libglabels/tmpl/template-db.sgml:
174 * docs/libglabels/tmpl/template-struct.sgml:
175 Update libglabels documentation to reflect above modifications.
177 2007-10-14 Jim Evins <evins@snaught.com>
179 * docs/libglabels/libglabels-decl-list.txt:
180 * docs/libglabels/libglabels-sections.txt:
181 * docs/libglabels/libglabels-undocumented.txt:
182 * docs/libglabels/tmpl/category.sgml:
183 * libglabels/category.c:
184 * libglabels/category.h:
185 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
186 parity with paper functions.
188 2007-10-12 Jim Evins <evins@snaught.com>
190 * docs/libglabels/libglabels-decl-list.txt:
191 * docs/libglabels/libglabels-sections.txt:
192 * docs/libglabels/libglabels-undocumented.txt:
193 * docs/libglabels/tmpl/category.sgml:
194 * docs/libglabels/tmpl/enums.sgml:
195 * docs/libglabels/tmpl/libglabels-unused.sgml:
196 * docs/libglabels/tmpl/paper.sgml:
197 * docs/libglabels/tmpl/template-struct.sgml:
199 * libglabels/template.c:
200 * libglabels/template.h:
201 Another pass at fleshing out the libglabels documentation.
202 * src/cairo-label-path.c:
203 * src/cairo-markup-path.c:
205 * src/mini-preview-pixbuf.c:
209 * src/wdgt-media-select.c:
210 * src/wdgt-mini-preview.c:
211 * src/wdgt-print-copies.c:
212 * src/wdgt-print-merge.c:
213 * src/wdgt-rotate-label.c:
214 Removed lgl_template_get_first_frame() from libglabels API and all references.
216 2007-10-11 Jim Evins <evins@snaught.com>
218 Extended checks for deprecated symbols.
219 * libglabels/template.c:
220 Removed g_strcasecmp references, which are deprecated.
222 2007-10-09 Jim Evins <evins@snaught.com>
224 * src/merge-evolution.c:
225 Create address book if it does not exist. Also, be more robust about handling
226 error conditions -- don't just assume GError has been set.
228 2007-10-08 Jim Evins <evins@snaught.com>
230 * libglabels/template.c:
231 * libglabels/xml-template.c:
232 * src/template-designer.c:
233 Missed some symbols with libglabels API work.
235 2007-10-01 Jim Evins <evins@snaught.com>
237 * docs/libglabels/libglabels-decl-list.txt:
238 * docs/libglabels/libglabels-docs.sgml:
239 * docs/libglabels/libglabels-sections.txt:
240 * docs/libglabels/libglabels-undocumented.txt:
241 * docs/libglabels/tmpl/category.sgml:
242 * docs/libglabels/tmpl/enums.sgml:
243 * docs/libglabels/tmpl/init.sgml:
244 * docs/libglabels/tmpl/libglabels-unused.sgml:
245 * docs/libglabels/tmpl/paper.sgml:
246 * docs/libglabels/tmpl/template-construction.sgml:
247 * docs/libglabels/tmpl/template-db.sgml:
248 * docs/libglabels/tmpl/template-misc.sgml:
249 * docs/libglabels/tmpl/template-struct.sgml:
250 * docs/libglabels/tmpl/template.sgml:
251 * docs/libglabels/tmpl/xml-category.sgml:
252 * docs/libglabels/tmpl/xml-template.sgml:
253 * libglabels/category.h:
255 * libglabels/libglabels-private.h:
256 * libglabels/paper.h:
257 * libglabels/template.c:
258 * libglabels/template.h:
259 * libglabels/xml-template.h:
260 Basic documentation framework for libglabels updated. This still needs some
263 2007-09-27 Jim Evins <evins@snaught.com>
265 * docs/libglabels/libglabels-decl-list.txt:
266 * docs/libglabels/libglabels-docs.sgml:
267 * docs/libglabels/libglabels-sections.txt:
268 * docs/libglabels/libglabels-undocumented.txt:
269 * docs/libglabels/tmpl/enums.sgml:
270 * docs/libglabels/tmpl/init.sgml:
271 * docs/libglabels/tmpl/libglabels-unused.sgml:
272 * docs/libglabels/tmpl/paper.sgml:
273 * docs/libglabels/tmpl/template.sgml:
274 * docs/libglabels/tmpl/xml-paper.sgml:
275 * docs/libglabels/tmpl/xml-template.sgml:
276 * docs/libglabels/tmpl/xml.sgml:
277 * libglabels/Makefile.am:
278 * libglabels/category.c:
279 * libglabels/category.h:
280 * libglabels/enums.h:
283 * libglabels/libglabels-private.h:
284 * libglabels/libglabels.h:
285 * libglabels/paper.c:
286 * libglabels/paper.h:
287 * libglabels/template.c:
288 * libglabels/template.h:
289 * libglabels/xml-category.c:
290 * libglabels/xml-category.h:
291 * libglabels/xml-paper.c:
292 * libglabels/xml-paper.h:
293 * libglabels/xml-template.c:
294 * libglabels/xml-template.h:
297 * src/cairo-label-path.c:
298 * src/cairo-label-path.h:
299 * src/cairo-markup-path.c:
300 * src/cairo-markup-path.h:
302 * src/glabels-batch.c:
304 * src/label-object.c:
307 * src/mini-preview-pixbuf-cache.c:
308 * src/mini-preview-pixbuf.c:
309 * src/mini-preview-pixbuf.h:
310 * src/prefs-dialog.c:
317 * src/template-designer.c:
318 * src/view-barcode.c:
320 * src/view-ellipse.c:
324 * src/wdgt-media-select.c:
325 * src/wdgt-mini-preview.c:
326 * src/wdgt-mini-preview.h:
327 * src/wdgt-print-copies.c:
328 * src/wdgt-print-merge.c:
329 * src/wdgt-rotate-label.c:
330 * src/xml-label-04.c:
332 Major cleanup of libglabels API -- this breaks API compatibility with older
333 development and stable versions -- as far as I know, there are currently
334 no external users of this library yet.
336 2007-09-14 Jim Evins <evins@snaught.com>
341 * src/label-object.c:
342 * src/label-object.h:
343 * src/label-barcode.c:
344 * src/label-ellipse.c:
347 * src/view-barcode.c:
349 * src/view-ellipse.c:
353 Better separation of model from view.
355 2007-08-21 Jim Evins <evins@snaught.com>
357 * src/print-op.c: (create_custom_widget_cb):
358 Fix problem with force_outline_flag -- don't override with default.
360 2007-08-21 Jim Evins <evins@snaught.com>
362 * data/dtd/glabels-2.0.dtd:
363 * libglabels/template.c:
364 * libglabels/template.h:
365 * libglabels/xml-template.c:
366 * src/cairo-markup-path.c:
367 Added "Markup-rect" element to template format.
369 2007-08-21 Jim Evins <evins@snaught.com>
372 Changed version to 2.1.pre5svn.
373 * src/view.c: (draw_markup_layer):
374 Do a stroke for each markup path, otherwise multiple markups
377 2007-08-17 Jim Evins <evins@snaught.com>
380 Bump libglabels revision numbers for 2.1.4 release.
382 2007-08-16 Jim Evins <evins@snaught.com>
385 Include subdir iec16022-0.2.1.
389 Preparation for 2.1.4.
392 2007-08-11 Jim Evins <evins@snaught.com>
398 Added Esperanto translation. Provided by Antonio C.
399 Codazzi "la Filozofo" <f_sophia@libero.it>.
401 Updated French translation. Provided by Claude Paroz
402 <claude@2xlibre.net>.
404 Updated to reflect above translations.
406 2007-08-11 Jim Evins <evins@snaught.com>
409 * data/templates/avery-iso-templates.xml:
410 * data/templates/avery-us-templates.xml:
411 * data/templates/misc-iso-templates.xml:
412 * data/templates/misc-other-templates.xml:
413 * data/templates/misc-us-templates.xml:
414 * data/templates/zweckform-iso-templates.xml:
415 Caught up with backlog of template submissions.
417 2007-08-10 Jim Evins <evins@snaught.com>
419 * src/bc-postnet.c: (gl_barcode_postnet_new):
421 Added support for Brazilian CEPNet barcodes. This is simply an
422 instance of the US POSTNET format with 8 digits. Patch supplied
423 by Mário Meyer in bug # 1768792.
425 Updated acknowledgments to reflect above patch and recent shuffling
426 of underlying technology.
428 2007-05-13 Jim Evins <evins@snaught.com>
430 * src/merge-text.c: (parse_line), (parse_field):
431 Remove leading and trailing spaces from CSV fields, unless quoted.
433 2007-05-09 Jim Evins <evins@snaught.com>
435 * src/object-editor-bc-page.c:
436 * src/object-editor-data-page.c:
437 * src/object-editor-fill-page.c:
438 * src/object-editor-image-page.c:
439 * src/object-editor-line-page.c:
440 * src/object-editor-lsize-page.c:
441 * src/object-editor-position-page.c:
442 * src/object-editor-private.h:
443 * src/object-editor-shadow-page.c:
444 * src/object-editor-size-page.c:
445 * src/object-editor-text-page.c:
446 * src/object-editor.c:
447 * src/prefs-dialog.c:
448 * src/template-designer.c:
449 * src/ui-property-bar.c:
450 * src/wdgt-media-select.c:
451 Replaced signal block/unblock pairs with simple flags. This reduces
452 some code clutter, hopefully making it easier to read.
454 2007-05-05 Jim Evins <evins@snaught.com>
456 * src/template-designer.c: (apply_cb):
457 Add new template to mini-preview pixbuf cache.
459 2007-05-03 Jim Evins <evins@snaught.com>
461 * src/label-image.c: (gl_label_image_init), (draw_object):
462 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
465 2007-05-02 Jim Evins <evins@snaught.com>
467 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
468 (button_release_event_cb):
469 Removed attempt at rendering optimization by clipping the updates
470 to areas affected -- this actually seemed to hurt update performance.
472 2007-04-30 Jim Evins <evins@snaught.com>
475 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
476 (gl_color_node_equal), (gl_color_node_expand):
477 * src/label-barcode.c: (draw_object):
478 * src/label-box.c: (draw_object), (draw_shadow):
479 * src/label-ellipse.c: (draw_object), (draw_shadow):
480 * src/label-line.c: (draw_object), (draw_shadow):
481 * src/label-text.c: (draw_object), (draw_shadow):
482 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
483 * src/wdgt-rotate-label.c: (drawingarea_update):
484 Some cleanup to color related code.
486 2007-04-30 Jim Evins <evins@snaught.com>
489 Added glLabelRegion structure type.
490 * src/label-object.c: (gl_label_object_get_extent):
491 * src/label-object.h:
492 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
494 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
495 (gl_view_select_region), (gl_view_align_selection_left),
496 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
497 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
498 (gl_view_align_selection_vcenter),
499 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
500 (gl_view_move_selection), (gl_view_can_selection_text),
501 (motion_notify_event_cb), (button_press_event_cb),
502 (button_release_event_cb):
503 - Reconcile with new gl_label_object_get_extent() API.
504 - Use glLabelRegion for view->select_region.
505 - Added gl_view_update_region() to clip updates to region.
506 - Use gl_view_update_region() during manipulation of view->select_region.
508 2007-04-26 Jim Evins <evins@snaught.com>
510 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
511 (draw_label_outline):
512 * src/print.c: (print_crop_marks), (draw_outline):
513 * src/view-object.c: (gl_view_object_draw_handles):
514 * src/view.c: (draw_bg_layer), (draw_grid_layer),
515 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
516 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
517 * src/wdgt-rotate-label.c: (drawingarea_update):
518 Added defines for various magic numbers.
520 2007-04-25 Jim Evins <evins@snaught.com>
522 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
523 Scale text down. Cairo seems to render text too large.
525 2007-04-25 Jim Evins <evins@snaught.com>
528 * src/view.c: (gl_view_update), (expose_cb),
529 (motion_notify_event_cb), (button_press_event_cb),
530 (button_release_event_cb):
531 - Try not to let updates get backed up.
532 - Grab pointer when doing any drag operations.
534 2007-04-11 Jim Evins <evins@snaught.com>
536 * src/cairo-label-path.c: (gl_cairo_label_path),
537 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
538 (gl_cairo_cd_label_path):
539 * src/cairo-label-path.h:
540 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
541 (draw_label_outline):
542 * src/print.c: (draw_outline), (clip_to_outline):
543 * src/view.c: (draw_bg_layer), (draw_fg_layer):
544 * src/wdgt-mini-preview.c: (draw_labels):
545 * src/wdgt-rotate-label.c: (drawingarea_update):
546 Modified to universally use gl_cairo_label_path() to create paths
547 for labels. Added shadow to mini preview in rotate widget.
549 2007-04-10 Jim Evins <evins@snaught.com>
551 * libglabels/template.h:
552 * libglabels/template.c: (gl_template_get_name_list_unique),
553 (gl_template_get_name_list_all), (gl_template_from_name):
554 Modified libglabels to allow you to get a list of all template names
555 including all aliases or just a list of primary names of each unique
558 * src/file.c: (gl_file_properties):
559 * src/glabels.c: (main):
560 * src/mini-preview-pixbuf-cache.h:
561 * src/mini-preview-pixbuf-cache.c:
562 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
563 (filter_changed_cb), (load_list):
564 Added mini-preview pixbuf cache, so that only one mini-preview is
565 needed for a unique template and gets reused for all aliases. These
566 pixbufs will also live for the life of the program so they are not
567 rebuilt everytime a new label dialog is invoked.
568 * src/mini-preview-pixbuf.c: (draw_paper),
569 (draw_rect_label_outline), (draw_round_label_outline),
570 (draw_cd_label_outline):
571 Removed some comment artifacts.
573 2007-04-04 Jim Evins <evins@snaught.com>
575 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
576 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
577 (draw_round_label_outline), (draw_cd_label_outline):
578 * src/wdgt-media-select.c: (load_list):
579 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
580 Cosmetic enhancments to mini previews.
582 2007-04-04 Jim Evins <evins@snaught.com>
584 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
585 (gl_ui_property_bar_construct):
586 Save copy of GladeXML tree so that we don't lose tooltips.
588 2007-04-02 Jim Evins <evins@snaught.com>
590 * src/merge-properties-dialog.c:
591 * src/new-label-dialog.c:
592 * src/object-editor.c:
593 * src/prefs-dialog.c:
595 * src/template-designer.c:
596 * src/ui-property-bar.c:
597 * src/wdgt-media-select.c:
598 * src/wdgt-rotate-label.c:
599 Fixed several memory leaks.
601 2007-04-01 Jim Evins <evins@snaught.com>
603 * src/label-text.c: (gl_label_text_init), (copy),
604 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
605 (set_font_family), (set_font_size), (set_font_weight),
606 (set_font_italic_flag), (set_text_alignment),
607 (set_text_line_spacing):
608 Cache object size, so that expensive extent calculations are only done
611 2007-03-30 Jim Evins <evins@snaught.com>
613 * src/prefs-model.c: (gl_prefs_model_load_settings):
614 Default to an unlimited list of recent documents, since this parameter
615 seems to be pre-filter anyway.
617 2007-03-30 Jim Evins <evins@snaught.com>
619 * src/label-box.c: (draw_shadow):
620 * src/label-ellipse.c: (draw_shadow):
621 Added missing shadow fill.
623 2007-03-28 Jim Evins <evins@snaught.com>
625 * src/ui-commands.c: (gl_ui_cmd_file_print):
626 Unreferencing the print operation sometimes crashes. Just don't do it
629 2007-03-28 Jim Evins <evins@snaught.com>
631 * src/print-op.c: (gl_print_op_construct),
632 (gl_print_op_get_settings), (gl_print_op_set_settings),
633 (gl_print_op_free_settings), (create_custom_widget_cb):
635 * src/ui-commands.c: (gl_ui_cmd_file_print):
636 * src/window.c: (gl_window_init):
638 Save print settings and custom settings between print operations
641 2007-03-24 Jim Evins <evins@snaught.com>
643 * src/object-editor-image-page.c:
644 (gl_object_editor_prepare_image_page),
645 (gl_object_editor_set_image), (img_selection_changed_cb):
646 Workaround for GtkFileChooserButton bug # 327243. This the root
647 cause for gLabels bug # 1192884. I have actually observed 3 delayed
648 "selection-changed" signals -- the first 2 return NULL -- this is
649 what caused the image to reset to the default followed by setting
650 it back to the original image, trying to fit it into a new bounding
651 box. This sequence of events is much more evident with the new
654 2007-03-23 Jim Evins <evins@snaught.com>
656 Merged all changes from experimental cairo branch to trunk.
657 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
659 2007-03-23 Jim Evins <evins@snaught.com>
661 * src/label-object.h:
662 * src/label-object.c: (gl_label_object_class_init),
663 (gl_label_object_get_raw_size), (gl_label_object_get_size):
664 Created "get_raw_size" method.
665 * src/label-barcode.c: (get_size):
666 * src/xml-label.c: (xml_create_object_text),
667 (xml_create_object_barcode):
668 Use new "get_raw_size" method on label-objects when apropos.
670 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
671 (auto_shrink_font_size):
672 Added "auto shrink" functionality back.
674 2007-03-19 Jim Evins <evins@snaught.com>
676 * src/label-text.c: (draw_object), (draw_shadow):
677 Don't use negative scales in workaround from previous commit.
680 2007-03-18 Jim Evins <evins@snaught.com>
683 Forgot to remove include of xml-lable-191 in previous commit.
684 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
685 Workaround for pango Bug #341481. Render text at device scale,
686 and scale font size accordingly. Also, don't do any hinting.
688 2007-03-18 Jim Evins <evins@snaught.com>
690 * src/cairo-ellipse-path.c:
691 * src/cairo-ellipse-path.h:
692 Forgot to add these new files during last mass commit.
694 2007-03-18 Jim Evins <evins@snaught.com>
697 * src/xml-label-191.c:
698 * src/xml-label-191.h:
699 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
700 so there is no need to keep compatability.
703 * src/cairo-label-path.c:
704 * src/cairo-label-path.h:
705 * src/cairo-markup-path.c:
709 * src/glabels-batch.c:
711 * src/label-barcode.c:
713 * src/label-ellipse.c:
716 * src/label-object.c:
717 * src/label-object.h:
721 * src/merge-properties-dialog.c:
723 * src/new-label-dialog.c:
724 * src/object-editor-bc-page.c:
725 * src/object-editor-data-page.c:
726 * src/object-editor-edit-page.c:
727 * src/object-editor-fill-page.c:
728 * src/object-editor-image-page.c:
729 * src/object-editor-line-page.c:
730 * src/object-editor-private.h:
731 * src/object-editor-shadow-page.c:
732 * src/object-editor-text-page.c:
733 * src/object-editor.c:
734 * src/pixbuf-cache.c:
739 * src/template-designer.c:
741 * src/ui-property-bar.c:
743 * src/view-barcode.c:
745 * src/view-ellipse.c:
752 * src/wdgt-media-select.c:
753 * src/wdgt-print-copies.c:
754 * src/wdgt-print-merge.c:
756 * src/xml-label-04.c:
758 Many changes, including:
759 - Move draw methods from view-*() to label-*().
760 - Use same drawing code for on screen view and printing.
761 - Fix all issues exposed with '-Wall -Werror'.
763 2007-03-14 Jim Evins <evins@snaught.com>
766 * src/cairo-handle-path.c:
767 * src/cairo-handle-path.h:
768 * src/cairo-object-path.c:
769 * src/cairo-object-path.h:
770 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
771 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
773 * src/view-box.c: (gl_view_box_class_init), (draw_object),
774 (draw_shadow), (object_at):
775 * src/view-ellipse.c: (gl_view_ellipse_class_init),
776 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
777 * src/view-image.c: (gl_view_image_class_init), (draw_object),
779 * src/view-line.c: (gl_view_line_class_init), (draw_object),
780 (draw_shadow), (object_at):
781 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
782 (create_handle_path), (gl_view_object_draw_handles),
783 (gl_view_object_handle_at):
785 * src/view-text.c: (gl_view_text_class_init), (draw_object),
786 (draw_shadow), (object_at):
787 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
788 Some restructuring of new code.
790 2007-03-12 Jim Evins <evins@snaught.com>
793 * src/cairo-object-path.c:
794 * src/view-barcode.c:
795 * src/view-barcode.h:
797 Added barcode object support to view.
799 2007-03-12 Jim Evins <evins@snaught.com>
805 * src/cairo-object-path.c:
806 * src/cairo-object-path.h:
808 * src/view-ellipse.c:
813 Added text object support to view. Added object_at method to all
816 2007-03-11 Jim Evins <evins@snaught.com>
819 * src/cairo-object-path.c: (gl_cairo_object_path),
820 (gl_cairo_image_object_path):
821 * src/view-image.c: (gl_view_image_class_init),
822 (gl_view_image_finalize), (gl_view_image_new),
823 (update_editor_from_label_cb), (draw),
824 (gl_view_image_get_create_cursor),
825 (gl_view_image_create_button_press_event),
826 (gl_view_image_create_motion_event),
827 (gl_view_image_create_button_release_event):
829 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
830 (selection_received_cb), (motion_notify_event_cb),
831 (button_press_event_cb), (button_release_event_cb):
832 Added image object support to view.
834 2007-03-11 Jim Evins <evins@snaught.com>
837 * src/cairo-object-path.c: (gl_cairo_object_path),
838 (gl_cairo_line_object_path):
839 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
840 (update_object_from_editor_cb), (update_editor_from_object_cb),
841 (update_editor_from_label_cb), (draw),
842 (gl_view_line_get_create_cursor),
843 (gl_view_line_create_button_press_event),
844 (gl_view_line_create_motion_event),
845 (gl_view_line_create_button_release_event):
847 * src/view-object.c: (gl_view_object_resize_event):
848 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
849 (selection_received_cb), (motion_notify_event_cb),
850 (button_press_event_cb), (button_release_event_cb):
851 Added line object support to view.
852 * src/cairo-handle-path.c:
853 Made handles slightly larger.
856 2007-03-11 Jim Evins <evins@snaught.com>
859 * src/cairo-handle-path.c:
860 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
861 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
862 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
863 (gl_cairo_markup_margin_round_path),
864 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
865 * src/cairo-object-path.c: (gl_cairo_object_path),
866 (gl_cairo_ellipse_object_path):
867 * src/label-object.c: (gl_label_object_rotate):
870 * src/view-ellipse.c: (gl_view_ellipse_class_init),
871 (gl_view_ellipse_new), (update_object_from_editor_cb),
872 (update_editor_from_object_cb), (update_editor_from_label_cb),
873 (draw), (gl_view_ellipse_get_create_cursor),
874 (gl_view_ellipse_create_button_press_event),
875 (gl_view_ellipse_create_motion_event),
876 (gl_view_ellipse_create_button_release_event):
877 * src/view-ellipse.h:
880 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
881 (select_object_real), (selection_received_cb),
882 (motion_notify_event_cb), (button_press_event_cb),
883 (button_release_event_cb):
885 Added ellipse object support to view. Plus other cleanup.
887 2007-03-11 Jim Evins <evins@snaught.com>
890 * src/view-box.c: (gl_view_box_get_create_cursor),
891 (gl_view_box_create_button_press_event),
892 (gl_view_box_create_motion_event),
893 (gl_view_box_create_button_release_event):
894 * src/view-object.c: (gl_view_object_set_view),
895 (gl_view_object_handle_at):
897 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
898 (motion_notify_event_cb), (button_press_event_cb),
899 (button_release_event_cb), (key_press_event_cb):
900 Added creation code for box object.
902 2007-03-09 Jim Evins <evins@snaught.com>
904 * src/view-object.c: (gl_view_object_resize_event):
906 * src/view.c: (motion_notify_event_cb):
907 Fix bugs with resizing transformed objects.
908 * src/cairo-handle-path.c: (gl_cairo_handle_path):
909 * src/cairo-object-path.c: (gl_cairo_object_path):
910 * src/cairo-object-path.h:
911 * src/label-object.c: (gl_label_object_init),
912 (gl_label_object_dup), (gl_label_object_get_extent),
913 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
914 (gl_label_object_rotate), (gl_label_object_set_matrix),
915 (gl_label_object_get_matrix):
916 * src/label-object.h:
917 * src/print.c: (draw_object):
919 * src/view-highlight.c:
920 * src/view-highlight.h:
921 * src/xml-label-191.c: (xml191_parse_object):
922 * src/xml-label.c: (xml_parse_affine_attrs),
923 (xml_create_affine_attrs):
924 Replace libart affine matrices with cairo matrices.
926 2007-03-08 Jim Evins <evins@snaught.com>
929 * src/view.c: (gl_view_update), (motion_notify_event_cb):
930 * src/view-object.c: (gl_view_object_handle_at),
931 (gl_view_object_resize_event):
932 Added resize code -- still a bit buggy.
934 2007-03-07 Jim Evins <evins@snaught.com>
937 * src/cairo-handle-path.c:
938 * src/cairo-handle-path.h:
939 * src/view-box.c: (gl_view_box_new):
940 * src/view-object.c: (gl_view_object_set_object),
941 (gl_view_object_draw_handles), (gl_view_object_handle_at):
943 * src/view.c: (draw_highlight_layer), (select_object_real),
944 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
945 (button_press_event_cb), (button_release_event_cb),
946 (key_press_event_cb):
948 Added beginnings of object resize handles.
950 2007-03-07 Jim Evins <evins@snaught.com>
953 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
954 (gl_view_object_create_mode), (motion_notify_event_cb),
955 (button_press_event_cb), (button_release_event_cb),
956 (key_press_event_cb):
957 Added move selection support.
959 2007-03-05 Jim Evins <evins@snaught.com>
961 * src/cairo-object-path.c: (gl_cairo_object_path):
962 * src/view-object.c: (gl_view_object_draw),
963 (gl_view_object_draw_highlight):
964 * src/view.c: (view_object_at), (motion_notify_event_cb),
965 (button_press_event_cb), (button_release_event_cb):
966 Additional refinements to select logic.
968 2007-03-05 Jim Evins <evins@snaught.com>
971 * src/view.c: (gl_view_init), (gl_view_construct),
972 (label_changed_cb), (draw_layers), (draw_select_region_layer),
973 (gl_view_select_region), (object_at), (motion_notify_event_cb),
974 (button_press_event_cb), (button_release_event_cb):
975 Added initial select region support and context menu.
977 2007-03-04 Jim Evins <evins@snaught.com>
995 * src/wdgt-print-copies.c:
996 * src/wdgt-print-merge.c:
998 Initial port to a raw Cairo canvas. This removes all remaining
999 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1000 the view is becoming a canvas widget in its own right. Still needs
1002 * src/cairo-label-path.c:
1003 * src/cairo-label-path.h:
1004 * src/cairo-markup-path.c:
1005 * src/cairo-markup-path.h:
1006 * src/cairo-object-path.c:
1007 * src/cairo-object-path.h:
1008 New files to support cairo canvas.
1009 * src/canvas-hacktext.c:
1010 * src/canvas-hacktext.h:
1013 2007-02-18 Jim Evins <evins@snaught.com>
1016 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1018 2007-02-14 Jim Evins <evins@snaught.com>
1022 * src/bc-gnubarcode.c:
1023 * src/bc-gnubarcode.h:
1028 * src/canvas-hacktext.c:
1029 * src/canvas-hacktext.h:
1036 * src/label-barcode.c:
1037 * src/label-barcode.h:
1040 * src/label-ellipse.c:
1041 * src/label-ellipse.h:
1042 * src/label-image.c:
1043 * src/label-image.h:
1046 * src/label-object.c:
1047 * src/label-object.h:
1052 * src/merge-evolution.c:
1053 * src/merge-evolution.h:
1056 * src/merge-properties-dialog.c:
1057 * src/merge-properties-dialog.h:
1060 * src/merge-vcard.c:
1061 * src/merge-vcard.h:
1064 * src/mini-preview-pixbuf.h:
1065 * src/new-label-dialog.c:
1066 * src/new-label-dialog.h:
1067 * src/object-editor-bc-page.c:
1068 * src/object-editor-data-page.c:
1069 * src/object-editor-edit-page.c:
1070 * src/object-editor-fill-page.c:
1071 * src/object-editor-image-page.c:
1072 * src/object-editor-line-page.c:
1073 * src/object-editor-lsize-page.c:
1074 * src/object-editor-position-page.c:
1075 * src/object-editor-private.h:
1076 * src/object-editor-size-page.c:
1077 * src/object-editor-text-page.c:
1078 * src/object-editor.c:
1079 * src/object-editor.h:
1080 * src/pixbuf-cache.c:
1081 * src/pixbuf-cache.h:
1082 * src/prefs-dialog.c:
1083 * src/prefs-dialog.h:
1084 * src/prefs-model.c:
1085 * src/prefs-model.h:
1091 * src/template-designer.c:
1094 * src/ui-commands.c:
1095 * src/ui-commands.h:
1096 * src/ui-property-bar.c:
1097 * src/ui-property-bar.h:
1106 * src/view-barcode.c:
1107 * src/view-barcode.h:
1110 * src/view-ellipse.c:
1111 * src/view-ellipse.h:
1112 * src/view-highlight.c:
1113 * src/view-highlight.h:
1118 * src/view-object.c:
1119 * src/view-object.h:
1124 * src/wdgt-chain-button.c:
1125 * src/wdgt-chain-button.h:
1126 * src/wdgt-media-select.c:
1127 * src/wdgt-mini-preview.c:
1128 * src/wdgt-print-copies.c:
1129 * src/wdgt-print-copies.h:
1130 * src/wdgt-print-merge.c:
1131 * src/wdgt-print-merge.h:
1132 * src/wdgt-rotate-label.c:
1134 * src/xml-label-04.c:
1135 * src/xml-label-04.h:
1136 * src/xml-label-191.c:
1137 * src/xml-label-191.h:
1141 Assorted superficial cleanup. Including:
1142 - Use G_DEFINE_TYPE for all objects.
1143 - Reconcile style of all class initializer functions
1144 - Reconcile style of all finalize functions
1145 - Add emacs mode line to all source files
1147 2007-02-06 Jim Evins <evins@snaught.com>
1149 Assorted cleanup and removal of deprecated items.
1154 Removed annoying splash screen.
1155 * src/glabels-batch.c: (main):
1156 * src/glabels.c: (main):
1157 Converted from popt to GOption.
1158 * src/object-editor-shadow-page.c:
1159 (gl_object_editor_set_shadow_state):
1160 Removed deprecated method on GtkToggleButton.
1161 * src/ui-commands.c: (gl_ui_cmd_help_about):
1162 Removed dependency on libgnomui/qnome-url.h.
1163 * src/template-designer.c:
1164 Removed dependency on libgnome/gnome-program.h.
1167 2007-02-04 Jim Evins <evins@snaught.com>
1171 * src/prefs-model.c:
1172 * src/print.c: (draw_text_object):
1173 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1174 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1176 2007-02-04 Jim Evins <evins@snaught.com>
1178 * src/wdgt-mini-preview.c:
1179 * src/wdgt-mini-preview.h:
1180 Ported widget from GnomeCanvas to Cairo.
1182 2007-02-03 Jim Evins <evins@snaught.com>
1184 * data/glade/template-designer.glade:
1185 * src/template-designer.c:
1186 * src/template-designer.h:
1187 Ported GnomeDruid to GtkAssistant. Since libglade does not
1188 yet support the GtkAssistant and we derive directly from
1189 the Assistant, the pages are layed out in a GtkNotebook in
1190 the glade description -- we then append each page to the
1193 2007-01-25 Jim Evins <evins@snaught.com>
1195 * data/glade/object-editor.glade:
1196 Added dummy page to notebook, to prevent shadow page from
1197 becoming the default current page at creation.
1198 * src/view-box.c: (construct_properties_editor):
1199 * src/view-ellipse.c: (construct_properties_editor):
1200 * src/view-line.c: (construct_properties_editor):
1201 * src/view-text.c: (construct_properties_editor):
1202 Reconciled order of params.
1204 2007-01-19 Jim Evins <evins@snaught.com>
1206 * src/label-barcode.h:
1207 * src/label-object.c: (gl_label_object_set_font_weight),
1208 (gl_label_object_set_text_alignment),
1209 (gl_label_object_get_font_weight),
1210 (gl_label_object_get_text_alignment):
1211 * src/label-object.h:
1212 * src/label-text.c: (gl_label_text_instance_init), (copy),
1213 (get_size), (set_font_family), (set_font_weight),
1214 (set_text_alignment), (get_font_weight), (get_text_alignment):
1216 * src/object-editor-text-page.c:
1217 (gl_object_editor_prepare_text_page),
1218 (gl_object_editor_set_font_family),
1219 (gl_object_editor_set_font_weight),
1220 (gl_object_editor_get_font_weight),
1221 (gl_object_editor_set_text_alignment),
1222 (gl_object_editor_get_text_alignment),
1223 (gl_object_editor_set_text_color):
1224 * src/object-editor.h:
1225 * src/prefs-dialog.c: (construct_object_page),
1226 (update_object_page_from_prefs), (update_prefs_from_object_page):
1227 * src/prefs-model.c: (gl_prefs_model_save_settings),
1228 (gl_prefs_model_load_settings):
1229 * src/prefs-model.h:
1230 * src/print.c: (draw_text_object):
1231 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1232 (reset_to_default_properties), (update_text_properties),
1233 (font_bold_toggled_cb), (text_align_toggled_cb):
1235 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1236 (gl_util_weight_to_string), (gl_util_string_to_weight),
1237 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1239 * src/view-text.c: (update_object_from_editor_cb),
1240 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1241 * src/view.c: (gl_view_set_selection_text_alignment),
1242 (gl_view_set_default_text_alignment),
1243 (gl_view_get_default_text_alignment):
1245 * src/xml-label-04.c: (xml04_parse_text_props):
1246 * src/xml-label-191.c: (xml191_parse_text_props):
1247 * src/xml-label.c: (xml_parse_object_text),
1248 (xml_parse_toplevel_span), (xml_create_object_text),
1249 (xml_create_toplevel_span):
1250 Converted all model internals to Pango. GnomeFont remains in
1251 view until GnomeCanvas can be replaced with a cairo-based canvas.
1253 2007-01-17 Jim Evins <evins@snaught.com>
1259 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1260 (gl_wdgt_print_copies_construct):
1261 * src/wdgt-print-copies.h:
1262 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1263 (gl_wdgt_print_merge_construct):
1264 * src/wdgt-print-merge.h:
1265 Removed all remaining HIG wrapper widgets.
1267 2007-01-16 Jim Evins <evins@snaught.com>
1270 * src/print-dialog.c:
1271 * src/print-dialog.h:
1274 * src/template-designer.c: (print_test_cb):
1275 * src/ui-commands.c: (gl_ui_cmd_file_print):
1277 Renamed PrintDialog to PrintOp. Added constructor for batch
1279 * src/glabels-batch.c: (main):
1280 Converted to use new PrintOp object for printing.
1282 2007-01-15 Jim Evins <evins@snaught.com>
1284 * data/glade/Makefile.am:
1285 * data/glade/print-custom-widget.glade:
1286 * src/print-dialog.c:
1287 * src/print-dialog.h:
1290 * src/template-designer.c: (print_test_cb):
1291 * src/ui-commands.c: (gl_ui_cmd_file_print):
1292 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1293 * src/wdgt-print-merge.h:
1294 * src/window.c: (gl_window_init):
1296 Initial conversion to GtkPrintOperation.
1298 - Remove font and other libgnomeprint[ui] from elsewhere
1299 - Add batch initialization of print operation
1301 2007-01-08 Jim Evins <evins@snaught.com>
1303 Updated dependencies. Set version to 2.1.pre4cvs.
1305 2007-01-03 Jim Evins <evins@snaught.com>
1307 * src/recent-files/*
1308 Removed EggRecent stuff.
1314 * src/ui-commands.c:
1315 * src/ui-commands.h:
1317 Ported from EggRecent to GtkRecentManager.
1320 2007-01-02 Jim Evins <evins@snaught.com>
1323 * iec16022-0.2.1/BUGS:
1324 * iec16022-0.2.1/CHANGELOG:
1325 * iec16022-0.2.1/CREDITS:
1326 * iec16022-0.2.1/INSTALL:
1327 * iec16022-0.2.1/LICENSE:
1328 * iec16022-0.2.1/Makefile.am:
1329 * iec16022-0.2.1/Makefile.dist:
1330 * iec16022-0.2.1/README:
1331 * iec16022-0.2.1/README.glabels:
1332 * iec16022-0.2.1/TODO:
1333 * iec16022-0.2.1/iec16022.1:
1334 * iec16022-0.2.1/iec16022.c:
1335 * iec16022-0.2.1/iec16022ecc200.c:
1336 * iec16022-0.2.1/iec16022ecc200.h:
1337 * iec16022-0.2.1/image.c:
1338 * iec16022-0.2.1/image.h:
1339 * iec16022-0.2.1/reedsol.c:
1340 * iec16022-0.2.1/reedsol.h:
1341 * iec16022-0.2.1/test/testsuite-example.bin:
1342 * iec16022-0.2.1/test/testsuite-example.eps:
1343 * iec16022-0.2.1/test/testsuite-example.hex:
1344 * iec16022-0.2.1/test/testsuite-example.png:
1345 * iec16022-0.2.1/test/testsuite-example.text:
1346 * iec16022-0.2.1/test/testsuite.sh:
1347 Include modified copy of iec16022-0.2.1 to provide encoding
1348 support for datamatrix 2D barcodes.
1350 * src/bc-iec16022.c:
1351 * src/bc-iec16022.h:
1353 Added initial datamatrix 2D barcode backend to barcode code.
1356 Automatic updates to later versions of these files.
1358 2006-11-28 Jim Evins <evins@snaught.com>
1360 * data/templates/avery-iso-templates.xml:
1361 * data/templates/avery-us-templates.xml:
1362 * data/templates/categories.xml:
1363 * data/templates/misc-iso-templates.xml:
1364 * data/templates/misc-us-templates.xml:
1365 * data/templates/zweckform-iso-templates.xml:
1366 More categorization.
1368 2006-09-12 Jim Evins <evins@snaught.com>
1370 * data/dtd/glabels-2.0.dtd:
1371 * data/templates/Makefile.am:
1372 * data/templates/avery-iso-templates.xml:
1373 * data/templates/avery-other-templates.xml:
1374 * data/templates/avery-us-templates.xml:
1375 * data/templates/categories.xml:
1376 * data/templates/misc-iso-templates.xml:
1377 * data/templates/misc-other-templates.xml:
1378 * data/templates/zweckform-iso-templates.xml:
1379 * data/glade/Makefile.am:
1380 * data/glade/new-label-dialog.glade:
1381 * data/glade/wdgt-media-select.glade:
1382 * data/glade/wdgt-rotate-label.glade:
1383 * libglabels/Makefile.am:
1384 * libglabels/category.c:
1385 * libglabels/category.h:
1386 * libglabels/libglabels.h:
1387 * libglabels/paper.c:
1388 * libglabels/template.c:
1389 * libglabels/template.h:
1390 * libglabels/xml-category.c:
1391 * libglabels/xml-category.h:
1392 * libglabels/xml-template.c:
1393 Added support for category meta data.
1396 * src/mini-preview-pixbuf.c:
1397 * src/mini-preview-pixbuf.h:
1398 * src/new-label-dialog.c:
1399 * src/new-label-dialog.h:
1400 * src/wdgt-media-select.c:
1401 * src/wdgt-media-select.h:
1402 * src/wdgt-rotate-label.c:
1403 * src/wdgt-rotate-label.h:
1404 New "new label" dialog.
1406 2006-05-27 Jim Evins <evins@snaught.com>
1411 Preparation for 2.1.3.
1417 2006-05-22 Jim Evins <evins@snaught.com>
1419 * src/print.c: (draw_barcode_object):
1420 Don't print "Invalid barcode data" if data field is empty. Patch provided
1421 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1423 Added acknowledgment for above patch.
1424 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1425 * src/bc-postnet.c: (postnet_code):
1426 Removed "Invalid barcode data" warnings from stderr.
1427 * src/view-barcode.c: (draw_barcode):
1428 Draw box around barcode extent if data empty or invalid. Center a
1429 message whether the data is empty or invalid in box.
1431 2006-05-22 Jim Evins <evins@snaught.com>
1433 * src/print.c: (draw_text_object):
1434 Check shadow state when printing text.
1436 2006-05-20 Jim Evins <evins@snaught.com>
1438 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1439 (gl_ui_cmd_view_markup_toggle):
1440 Fixed crash when grid or markup have been toggled off during
1441 a previous session. Bug #1434324.
1443 2006-04-05 Jim Evins <evins@snaught.com>
1445 * src/object-editor.c: (gl_object_editor_set_key_names):
1446 Fixed potential crash when freeing empty key list.
1448 2006-03-11 Jim Evins <evins@snaught.com>
1450 * src/print.c: (draw_text_object):
1451 * src/view-text.c: (gl_view_text_new),
1452 (construct_properties_editor), (update_object_from_editor_cb),
1453 (update_editor_from_object_cb), (update_editor_from_label_cb),
1455 Added shadow support to text object.
1457 2006-02-18 Jim Evins <evins@snaught.com>
1459 * src/print.c: (draw_line_object):
1460 * src/view-line.c: (gl_view_line_new),
1461 (construct_properties_editor), (update_canvas_item_from_object_cb),
1462 (update_object_from_editor_cb), (update_editor_from_object_cb),
1463 (update_editor_from_label_cb):
1464 Added shadow support to line object.
1466 2006-02-16 Jim Evins <evins@snaught.com>
1470 * src/print.c: (draw_ellipse_object):
1471 * src/view-ellipse.c: (gl_view_ellipse_new),
1472 (construct_properties_editor), (update_canvas_item_from_object_cb),
1473 (update_object_from_editor_cb), (update_editor_from_object_cb),
1474 (update_editor_from_label_cb):
1475 Added shadow support to ellipse object.
1477 2006-02-15 Jim Evins <evins@snaught.com>
1479 * src/label-object.c:
1480 Changed default shadow offsets.
1481 * src/view-box.c: (gl_view_box_new):
1482 Simplified gl_view_box_new() so that is does not duplicate code
1483 in update_canvas_item_from_object_cb().
1485 2006-02-07 Jim Evins <evins@snaught.com>
1487 * data/glade/object-editor.glade:
1488 Fixed color groups of color combos.
1490 Added default shadow color.
1491 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1492 Added shadow color group.
1494 2006-02-06 Jim Evins <evins@snaught.com>
1496 * src/object-editor-shadow-page.c:
1497 Forgot to add this file.
1498 * src/view-box.c: (gl_view_box_new),
1499 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1500 Update limits on shadow offset spinbuttons.
1502 2006-01-19 Jim Evins <evins@snaught.com>
1504 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1505 Initialize key_list to NULL.
1506 * data/glade/object-editor.glade:
1510 * src/label-object.c:
1511 * src/label-object.h:
1512 * src/object-editor-fill-page.c:
1513 * src/object-editor-private.h:
1514 * src/object-editor.c:
1515 * src/object-editor.h:
1517 Created infrastructure for shadow support.
1520 Initial shadow support in box object only.
1522 2006-01-05 Jim Evins <evins@snaught.com>
1524 * src/merge-properties-dialog.c: (src_changed_cb):
1525 Be extra paranoid before calling strcmp().
1526 * src/merge.c: (gl_merge_set_src):
1527 Don't make (merge == NULL) a critical error.
1529 2005-12-22 Jim Evins <evins@snaught.com>
1531 * src/glabels-batch.c: (main):
1532 Compile warning free with gcc 4.0.
1534 2005-12-21 Jim Evins <evins@snaught.com>
1537 Updated example RPM spec file.
1539 2005-12-21 Jim Evins <evins@snaught.com>
1543 Preparation for 2.1.2.
1545 2005-12-20 Jim Evins <evins@snaught.com>
1548 Define unique G_LOG_DOMAIN for glabels.
1549 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1550 * src/warning-handler.c: (gl_warning_handler_init),
1552 Register for G_LOG_DOMAIN instead of NULL.
1554 2005-12-10 Jim Evins <evins@snaught.com>
1556 * src/merge-evolution.c:
1557 * src/merge-vcard.c:
1560 2005-12-08 Jim Evins <evins@snaught.com>
1562 * libglabels/paper.c: (read_paper_files_from_dir):
1563 * libglabels/template.c: (gl_template_register),
1564 (read_template_files_from_dir):
1565 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1566 (gl_xml_paper_parse_papers_doc):
1567 * libglabels/xml-template.c:
1568 (gl_xml_template_read_templates_from_file),
1569 (gl_xml_template_parse_templates_doc),
1570 (gl_xml_template_parse_template_node),
1571 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1572 (xml_parse_label_cd_node), (xml_parse_layout_node),
1573 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1574 (xml_parse_markup_circle_node),
1575 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1576 * libglabels/xml.c: (gl_xml_get_prop_length):
1577 Re-classified g_warnings to g_messages.
1579 * src/glabels.c: (main):
1580 * src/warning-handler.c: (gl_warning_handler_init),
1582 * src/warning-handler.h:
1583 Added warning message handler to make sure the user is
1584 presented with appropriate non-fatal errors.
1585 * src/critical-error-handler.c: (critical_error_handler):
1586 Changed exit to abort.
1587 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1588 * src/bc-postnet.c: (postnet_code):
1589 * src/bc.c: (id_to_index), (name_to_index):
1590 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1591 * src/object-editor.c: (gl_object_notebook_construct_valist):
1592 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1593 * src/prefs.c: (gl_prefs_get_units_per_point),
1594 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1595 (gl_prefs_get_units_string):
1596 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1597 * src/splash.c: (gl_splash):
1598 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1599 * src/view-highlight.c: (gl_view_highlight_new),
1600 (highlight_resizable_box_construct), (object_changed_cb),
1601 (view_scale_changed_cb):
1602 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1603 (draw_markup_layer), (draw_markup_margin),
1604 (gl_view_object_create_mode), (canvas_event),
1605 (selection_received_cb):
1606 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1607 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1608 * src/xml-label-04.c: (gl_xml_label_04_parse),
1609 (xml04_parse_media_description), (xml04_parse_text_props),
1610 (xml04_parse_barcode_props):
1611 * src/xml-label-191.c: (gl_xml_label_191_parse),
1612 (xml191_parse_objects), (xml191_parse_object),
1613 (xml191_parse_text_props), (xml191_parse_image_props),
1614 (xml191_parse_barcode_props), (xml191_parse_data),
1615 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1616 (xml191_parse_markup):
1617 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1618 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1619 (xml_parse_object_text), (xml_parse_object_image),
1620 (xml_parse_object_barcode), (xml_parse_data),
1621 (xml_parse_toplevel_span), (gl_xml_label_save),
1622 (xml_create_objects):
1623 Re-classified g_warnings to g_messages.
1624 * src/merge-evolution.c: (gl_merge_evolution_open),
1625 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1626 Use g_warning to output errors encountered while
1627 communicating with the evolution data server
1628 instead of embedding them in the data.
1630 2005-12-08 Jim Evins <evins@snaught.com>
1632 * libglabels/libglabels-private.h:
1634 * libglabels/paper.c: (read_papers):
1635 * libglabels/template.c: (read_templates):
1636 Made appropriate warnings critical.
1638 * src/critical-error-handler.h:
1639 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1640 (critical_error_handler):
1641 Created critical error handler.
1642 * src/glabels.c: (main):
1643 Register critical error handler.
1644 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1645 * src/object-editor.c: (gl_object_editor_init):
1646 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1647 * src/template-designer.c: (gl_template_designer_init):
1648 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1649 Made appropriate warnings critical.
1651 2005-11-27 Jim Evins <evins@snaught.com>
1653 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1654 (gl_merge_evolution_get_primary_key),
1655 (gl_merge_evolution_get_record):
1656 Don't create "record_key" pseudo-key. Don't populate
1657 fields with null data.
1659 2005-11-25 Jim Evins <evins@snaught.com>
1661 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1662 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1663 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1665 Query EDS for all supported fields. Patch provided by
1666 Austin Henry <ahenry@users.sourceforge.net>.
1668 2005-10-29 Jim Evins <evins@snaught.com>
1670 * src/glabels.c: (main):
1671 * src/label-barcode.c: (gl_label_barcode_finalize):
1672 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1673 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1674 * src/object-editor.c: (gl_object_editor_finalize):
1675 Another pass at valgrinding -- plugged several memory leaks.
1676 * src/view-text.c: (gl_view_text_new),
1677 (update_canvas_item_from_object_cb), (draw_hacktext):
1678 Commented out artifacts of edit-in-place code.
1680 2005-10-28 Jim Evins <evins@snaught.com>
1682 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1683 Fixed use of uninitialized variable. Caught by
1684 d binderman <dcb314@hotmail.com>.
1686 2005-10-27 Jim Evins <evins@snaught.com>
1688 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1689 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1691 Additional cleanup of EDS and vcard backends. Provided by
1692 Austin Henry <ahenry@users.sourceforge.net>.
1694 2005-10-24 Jim Evins <evins@snaught.com>
1698 * src/merge-evolution.c:
1699 * src/merge-evolution.h:
1700 * src/merge-init.c: (gl_merge_init):
1701 * src/merge-properties-dialog.c: (type_changed_cb):
1702 * src/merge-vcard.c:
1703 * src/merge-vcard.h:
1704 * src/ui-commands.c: (gl_ui_cmd_help_about):
1705 Added Evolution Data Server and VCard merge backends. Original patch
1706 provided by Austin Henry <ahenry@users.sourceforge.net>.
1708 Only support EDS and VCard backends if libebook is installed. Allow
1709 user to disable support, even if installed.
1711 2005-10-24 Jim Evins <evins@snaught.com>
1714 * data/templates/avery-iso-templates.xml:
1715 * data/templates/avery-us-templates.xml:
1716 * data/templates/misc-iso-templates.xml:
1717 * data/templates/zweckform-iso-templates.xml:
1718 Collected all template changes and submissions since last
1721 2005-10-23 Jim Evins <evins@snaught.com>
1724 * data/mime/Makefile.am:
1725 Added configure options to disable update-mime-database and
1726 update-desktop-database as part of the install. Patch
1727 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1729 2005-10-23 Jim Evins <evins@snaught.com>
1732 * libglabels/xml.c: (gl_xml_get_prop_string),
1733 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1734 (gl_xml_is_node), (gl_xml_get_node_content):
1735 Added new XML utility functions.
1736 * libglabels/xml-paper.c:
1737 * libglabels/xml-template.c:
1739 Cleanup by using new xml utilities created above.
1740 * libglabels/paper.c: (gl_paper_free):
1741 * src/file.c: (new_response):
1742 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1743 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1744 (gl_pixbuf_cache_get_pixbuf):
1745 * src/ui-property-bar.c:
1746 (gl_ui_property_bar_construct_color_combo):
1747 * src/view-highlight.c: (gl_view_highlight_finalize):
1748 * src/view-image.c: (update_object_from_editor_cb):
1749 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1750 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1751 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1752 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1753 (draw_markup_margin_round), (draw_markup_margin_cd),
1754 (draw_markup_margin_cd_bc):
1755 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1756 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1757 Plugged various memory leaks located with valgrind.
1758 * src/view-image.c: (update_canvas_item_from_object_cb):
1759 Don't allow a width or height of zero when drawing pixbuf.
1761 2005-10-22 Jim Evins <evins@snaught.com>
1763 * libglabels/xml-paper.c:
1764 * libglabels/xml-template.c:
1767 * src/bc-gnubarcode.c:
1768 * src/canvas-hacktext.c:
1770 * src/object-editor-data-page.c:
1771 * src/print-dialog.c:
1774 * src/template-designer.c:
1776 * src/ui-property-bar.c:
1778 * src/view-barcode.c:
1780 * src/view-ellipse.c:
1785 * src/wdgt-media-select.c:
1786 * src/xml-label-04.c:
1787 * src/xml-label-191.c:
1789 Modified to compile warning free with gcc-4.0. Mostly
1790 casting to change signedness of characters. Did not
1791 attack gnu-barcode library yet.
1793 2005-10-22 Jim Evins <evins@snaught.com>
1795 * src/glabels.c: (main):
1796 * src/splash.c: (gl_splash):
1797 Removed some small memory leaks.
1801 2005-09-19 Jim Evins <evins@snaught.com>
1803 * data/glade/property-bar.glade:
1804 Remove items from font_family_combo. This prevents the
1805 double entry after adding text model and list of fonts.
1806 * src/ui-property-bar.c: (reset_to_default_properties):
1807 Free font_family_list.
1809 2005-07-01 Jim Evins <evins@snaught.com>
1812 Updated italian translation (Daniele Medri)
1814 2005-06-26 Jim Evins <evins@snaught.com>
1816 * docs/libglabels/libglabels-decl-list.txt:
1817 Somehow never got checked in before.
1818 * docs/libglabels/libglabels.types:
1819 Removed -- don't need it afterall.
1821 2005-06-20 Jim Evins <evins@snaught.com>
1824 Final prep for 2.1.1 release.
1826 2005-06-20 Jim Evins <evins@snaught.com>
1829 Final preps for 2.1.1 release.
1830 * docs/libglabels/libglabels.types:
1831 Somehow never got checked in before.
1833 Bring up-to-date with recent reorg of ui code.
1836 2005-06-19 Jim Evins <evins@snaught.com>
1838 * src/template-designer.c: (construct_layout_page):
1839 Removed attempt to match background color of mini preview widget to
1842 2005-06-17 Jim Evins <evins@snaught.com>
1844 * help/C/figures/merge-ex2-4.png:
1845 * help/C/glabels.xml:
1846 Fixed spelling error.
1848 2005-06-13 Jim Evins <evins@snaught.com>
1850 * help/C/figures/merge-ex1-1.png:
1851 * help/C/figures/merge-ex1-2.png:
1852 * help/C/figures/merge-ex1-3.png:
1853 * help/C/figures/merge-ex1-4.png:
1854 * help/C/figures/merge-ex2-1.png:
1855 * help/C/figures/merge-ex2-2.png:
1856 * help/C/figures/merge-ex2-3.png:
1857 * help/C/figures/merge-ex2-4.png:
1858 Added figures for document merge tutorial.
1859 * help/C/glabels.xml:
1860 Added document merge tutorial.
1862 2005-05-19 Jim Evins <evins@snaught.com>
1864 * data/glade/merge-properties-dialog.glade:
1865 Fixed irregular spacing.
1866 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1867 (gl_merge_properties_dialog_construct):
1868 Set outer padding and remove separator.
1870 2005-05-18 Jim Evins <evins@snaught.com>
1874 Removed glHigDialog class.
1875 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1876 (gl_file_properties), (create_properties_dialog_widgets):
1877 * src/prefs-dialog.h:
1878 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1879 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1880 * src/print-dialog.h:
1881 * src/prefs-dialog.h:
1882 * src/print-dialog.c: (gl_print_dialog_get_type),
1883 (gl_print_dialog_init), (gl_print_dialog_construct):
1884 Replaced all instances of glHigDialog with GtkDialog.
1886 2005-05-17 Jim Evins <evins@snaught.com>
1890 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1891 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1892 (save_as_response), (gl_file_close):
1893 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1895 2005-05-15 Jim Evins <evins@snaught.com>
1897 * src/ui-commands.h:
1905 A little code reformatting -- no functional changes.
1907 2005-05-14 Jim Evins <evins@snaught.com>
1910 Removed obsolete macros.
1912 Added marshalling template to support new view signal: "context_menu_activate."
1914 * src/view.c: (gl_view_class_init), (gl_view_construct),
1915 (canvas_event_arrow_mode):
1916 - Removed hardcoded context menus and added new signal "context_menu_activate"
1917 to push this up to the uimanager.
1918 - Removed merge properties and print dialogs so that they can be managed with
1919 the window by the uimanager.
1920 * src/merge-properties-dialog.h:
1921 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
1922 (gl_merge_properties_dialog_construct):
1923 Changed calling convention of gl_merge_properties_dialog_new() to use
1924 glLabel and GtkWindow instead of view to make more consistent with other
1926 * src/print-dialog.h:
1927 * src/print-dialog.c: (gl_print_dialog_new),
1928 (gl_print_dialog_construct):
1929 Removed last artifact of libbonoboui.
1930 * src/ui-commands.c: (gl_ui_cmd_file_print),
1931 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
1932 Reconciled style for launching dialogs.
1933 * src/ui.c: (gl_ui_new):
1934 Added context menus to ui manager.
1935 * src/view-object.c: (item_event_arrow_mode):
1936 No longer try to select objects with right-click.
1938 * src/window.c: (gl_window_init), (gl_window_set_label),
1939 (context_menu_activate_cb):
1940 Context menus and all dialogs are now managed in a consistent way in window
1943 2005-05-11 Jim Evins <evins@snaught.com>
1946 * src/window.c: (gl_window_init), (gl_window_destroy):
1947 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
1948 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
1949 Moved management of recent_view back from window.c to ui.c -- it just feels
1952 2005-05-10 Jim Evins <evins@snaught.com>
1955 * src/window.c: (gl_window_init):
1957 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
1958 (menu_item_select_cb), (menu_item_deselect_cb):
1959 Added GtkStatusbar which displays menu tooltips.
1961 2005-05-09 Jim Evins <evins@snaught.com>
1963 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
1968 Removed dependencies on libbonoboui.
1970 * data/ui/Makefile.am:
1971 * data/ui/glabels-ui.xml:
1972 Removed data/ui directory.
1973 * data/glade/Makefile.am:
1974 * data/property-bar.glade:
1975 Added glade description of property-bar for new libglade implementation
1982 * src/ui-commands.h:
1983 * src/ui-commands.c:
1984 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
1985 since the distinction between "commands" and "tools" is no longer that clear.
1988 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
1989 no longer has knowledge of eggRecent*.
1990 * src/glabels.c: (main):
1991 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
1993 * src/object-editor.c: (gl_object_editor_init):
1994 Make sure notebook does not respond to a "show_all" on the parent.
1995 * src/recent-files/Makefile.am:
1996 * src/recent-files/*.[ch]
1997 Updated from latest version of libegg which now has a view based on
1998 GtkUIManager. Removed unused bonobo and gtk views.
1999 * src/ui-property-bar.h:
2000 * src/ui-property-bar.c:
2001 New implementation based on libglade.
2004 Sidebar is now simply a GtkWidget and does not expect to be a part of
2005 a libbonoboui interface.
2010 Converted for use with GtkUIManager.
2013 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2014 to create menus and toolbars.
2016 2005-04-25 Jim Evins <evins@snaught.com>
2018 * data/templates/misc-iso-templates.xml:
2019 Added Fellows 04715 template provided by Steve Saxon.
2021 Updated acknowledgement for above.
2023 2005-04-23 Jim Evins <evins@snaught.com>
2025 * src/util.c: (gl_util_combo_box_set_strings):
2026 Make sure to clear model before loading a new list of strings.
2027 * src/wdgt-media-select.h:
2028 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2029 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2030 (template_combo_changed_cb), (prefs_changed_cb),
2031 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2032 (gl_wdgt_media_select_get_page_size),
2033 (gl_wdgt_media_select_set_page_size):
2034 Replaced the deprecated GtkCombo widget with the new
2037 2005-04-21 Jim Evins <evins@snaught.com>
2039 * data/glade/template-designer.glade:
2040 * src/template-designer.c: (construct_pg_size_page),
2041 (pg_size_page_changed_cb), (build_template):
2042 Replaced the deprecated GtkCombo widget with the new
2045 2005-04-20 Jim Evins <evins@snaught.com>
2047 * data/glade/prefs-dialog.glade:
2048 * src/prefs-dialog.c: (construct_object_page),
2049 (update_object_page_from_prefs), (update_prefs_from_object_page):
2050 Replaced the deprecated GtkCombo widget with the new
2053 2005-04-19 Jim Evins <evins@snaught.com>
2055 * data/glade/object-editor.glade:
2056 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2057 (style_changed_cb), (gl_object_editor_set_bc_style),
2058 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2059 (gl_object_editor_get_bc_color):
2060 * src/object-editor-data-page.c:
2061 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2062 (gl_object_editor_get_data):
2063 * src/object-editor-edit-page.c:
2064 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2065 * src/object-editor-fill-page.c:
2066 (gl_object_editor_prepare_fill_page),
2067 (gl_object_editor_set_fill_color),
2068 (gl_object_editor_get_fill_color):
2069 * src/object-editor-image-page.c:
2070 (gl_object_editor_prepare_image_page),
2071 (gl_object_editor_set_image), (gl_object_editor_get_image):
2072 * src/object-editor-line-page.c:
2073 (gl_object_editor_prepare_line_page),
2074 (gl_object_editor_set_line_color),
2075 (gl_object_editor_get_line_color):
2076 * src/object-editor-private.h:
2077 * src/object-editor-text-page.c:
2078 (gl_object_editor_prepare_text_page),
2079 (gl_object_editor_set_font_family),
2080 (gl_object_editor_get_font_family),
2081 (gl_object_editor_set_text_color),
2082 (gl_object_editor_get_text_color):
2083 * src/object-editor.c: (gl_object_editor_set_key_names):
2085 In the object editor: replaced all instances of the deprecated
2086 GtkCombo widget with the new GtkComboBox.
2088 2005-04-18 Jim Evins <evins@snaught.com>
2091 Neglected to save this one in previous checkin to support
2094 2005-04-17 Jim Evins <evins@snaught.com>
2096 * libglabels/libglabels-private.h:
2097 * libglabels/paper.c:
2098 * libglabels/paper.h:
2099 * libglabels/template.c:
2100 * libglabels/template.h:
2101 * libglabels/xml-paper.c:
2102 * libglabels/xml-paper.h:
2103 * libglabels/xml-template.c:
2108 * src/bc-gnubarcode.c:
2119 * src/label-barcode.c:
2121 * src/label-ellipse.c:
2122 * src/label-image.c:
2123 * src/label-image.h:
2125 * src/label-object.c:
2129 * src/merge-properties-dialog.c:
2130 * src/object-editor-bc-page.c:
2131 * src/object-editor-data-page.c:
2132 * src/object-editor-edit-page.c:
2133 * src/object-editor-fill-page.c:
2134 * src/object-editor-image-page.c:
2135 * src/object-editor-line-page.c:
2136 * src/object-editor-lsize-page.c:
2137 * src/object-editor-position-page.c:
2138 * src/object-editor-private.h:
2139 * src/object-editor-size-page.c:
2140 * src/object-editor-text-page.c:
2141 * src/object-editor.c:
2142 * src/object-editor.h:
2143 * src/pixbuf-cache.h:
2144 * src/prefs-dialog.c:
2145 * src/prefs-dialog.h:
2146 * src/prefs-model.c:
2147 * src/prefs-model.h:
2149 * src/print-dialog.c:
2150 * src/print-dialog.h:
2158 * src/template-designer.c:
2159 * src/template-designer.h:
2162 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2168 * src/view-barcode.c:
2170 * src/view-ellipse.c:
2171 * src/view-highlight.c:
2172 * src/view-highlight.h:
2175 * src/view-object.c:
2176 * src/view-object.h:
2180 * src/wdgt-chain-button.c:
2181 * src/wdgt-media-select.c:
2182 * src/wdgt-media-select.h:
2183 * src/wdgt-mini-preview.c:
2184 * src/wdgt-mini-preview.h:
2185 * src/wdgt-print-copies.c:
2186 * src/wdgt-print-copies.h:
2187 * src/wdgt-print-merge.c:
2188 * src/wdgt-print-merge.h:
2189 * src/wdgt-rotate-label.c:
2190 * src/wdgt-rotate-label.h:
2193 * src/xml-label-04.c:
2194 * src/xml-label-191.c:
2196 Cleanup of header files:
2197 - all header files are now stand-alone, verified by including
2198 first in corresponding "c" files
2199 - replaced blanket includes of gnome, gtk, and glib with
2202 2005-04-16 Jim Evins <evins@snaught.com>
2204 * data/glade/Makefile.am:
2205 * data/glade/merge-properties-dialog.glade:
2206 Added merge properties dialog glade description file.
2207 * src/merge-properties-dialog.h:
2208 * src/merge-properties-dialog.c:
2209 (gl_merge_properties_dialog_get_type),
2210 (gl_merge_properties_dialog_init),
2211 (gl_merge_properties_dialog_finalize),
2212 (gl_merge_properties_dialog_new),
2213 (gl_merge_properties_dialog_construct), (type_changed_cb),
2214 (src_changed_cb), (response_cb), (load_tree),
2215 (record_select_toggled_cb), (select_all_button_clicked_cb),
2216 (unselect_all_button_clicked_cb):
2217 Modified merge properties dialog to use libglade. Added
2218 "select all" and "unselect all" buttons.
2219 * src/merge-text.c: (parse_line):
2220 Handle empty lines better.
2221 * src/merge.c: (gl_merge_eval_key):
2222 Evaluate the key whether the record is selected or not.
2224 * src/util.c: (gl_util_combo_box_add_text_model):
2225 Since libglade does not use the gtk_combo_box_new_text()
2226 constructor for GtkComboBoxes, a utility function was created
2227 to add an appropriate text model to a GtkComboBox.
2228 * src/view.c: (gl_view_edit_merge_props):
2229 Removed unnecessary "show all's".
2231 2005-04-15 Jim Evins <evins@snaught.com>
2234 Updated russian translation (Vitaly Lipatov)
2235 * data/templates/misc-iso-templates.xml:
2236 Added templates for russian business cards provided by Vitaly Lipatov.
2238 Updated acknowledgements for above.
2240 2005-04-15 Jim Evins <evins@snaught.com>
2242 * data/templates/avery-us-templates.xml:
2243 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2244 * data/templates/misc-iso-templates.xml:
2245 Added Ryman standard CD/DVD template, provided by Dan Clark.
2247 Added acknowledgements for above.
2249 2005-04-10 Jim Evins <evins@snaught.com>
2251 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2252 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2253 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2254 (xml_parse_label_cd_node), (xml_parse_alias_node):
2255 * libglabels/xml.c: (gl_xml_get_prop_double),
2256 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2257 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2258 * src/xml-label-04.c: (xml04_parse_media_description),
2259 (xml04_parse_text_props), (xml04_parse_barcode_props),
2260 (xml04_parse_merge_properties):
2261 * src/xml-label-191.c: (xml191_parse_object),
2262 (xml191_parse_text_props), (xml191_parse_barcode_props),
2263 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2264 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2265 (xml191_parse_alias):
2266 * src/xml-label.c: (xml_parse_object_text),
2267 (xml_parse_object_barcode), (xml_parse_merge_fields),
2268 (xml_parse_pixdata), (xml_parse_toplevel_span):
2269 Make sure to use xmlFree for anything obtained from libxml
2270 in case libxml and glib use different memory management
2273 2005-04-08 Jim Evins <evins@snaught.com>
2276 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2277 (gl_util_combo_box_set_active_text):
2278 Added utility functions to simplify working with GtkComboBox
2280 * src/ui-property-bar.h:
2281 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2282 (reset_to_default_properties), (update_text_properties),
2283 (font_family_changed_cb):
2284 Replaced deprecated GtkCombo with GtkComboBox.
2287 2005-04-03 Jim Evins <evins@snaught.com>
2290 * src/wdgt-image-select.h:
2291 * src/wdgt-image-select.c:
2292 Removed obsolete wdgt-image-select.[ch] files.
2293 * libglabels/paper.c: (gl_paper_dup):
2294 Fixed rename of parameter introduced during documentation
2296 * data/glade/object-editor.glade:
2297 * src/object-editor-image-page.c:
2298 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2299 (gl_object_editor_set_image), (gl_object_editor_get_image),
2300 (update_preview_cb), (add_image_filters_to_chooser):
2301 * src/object-editor-private.h:
2302 Replaced deprecated GnomePixmapEntry with
2303 GtkFileChooserButton.
2305 2005-04-02 Jim Evins <evins@snaught.com>
2307 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2308 (mygal_combo_box_popup_hide_unconditional),
2309 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2310 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2311 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2312 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2313 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2314 Renamed all internal gtk_combo functions to mygal_combo
2315 to prevent namespace confusion.
2317 2005-04-02 Jim Evins <evins@snaught.com>
2319 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2320 (cust_color_set), (color_palette_setup):
2321 * src/mygal/color-palette.h:
2322 Replaced deprecated GnomeColorPicker with GtkColorButton.
2324 2005-04-02 Jim Evins <evins@snaught.com>
2326 * docs/libglabels/libglabels-sections.txt:
2327 * docs/libglabels/libglabels-undocumented.txt:
2328 * docs/libglabels/tmpl/enums.sgml:
2329 * docs/libglabels/tmpl/paper.sgml:
2330 * docs/libglabels/tmpl/xml-paper.sgml:
2331 * docs/libglabels/tmpl/xml-template.sgml:
2332 * libglabels/enums.h:
2333 * libglabels/paper.c: (gl_paper_dup):
2334 * libglabels/paper.h:
2335 * libglabels/xml-paper.c:
2336 * libglabels/xml-template.c:
2337 More documentation updates for libglabels.
2339 2005-03-23 Jim Evins <evins@snaught.com>
2342 Automatically updated.
2347 * docs/libglabels/Makefile.am:
2348 * docs/libglabels/libglabels-docs.sgml:
2349 * docs/libglabels/libglabels-sections.txt:
2350 * docs/libglabels/libglabels-undocumented.txt:
2351 * docs/libglabels/tmpl/enums.sgml:
2352 * docs/libglabels/tmpl/libglabels-unused.sgml:
2353 * docs/libglabels/tmpl/libglabels.sgml:
2354 * docs/libglabels/tmpl/paper.sgml:
2355 * docs/libglabels/tmpl/template.sgml:
2356 * docs/libglabels/tmpl/xml-paper.sgml:
2357 * docs/libglabels/tmpl/xml-template.sgml:
2358 * docs/libglabels/tmpl/xml.sgml:
2359 Added basic gtk-doc stuff to support documenting libglabels
2362 Updated function comments with gtk-doc markup.
2366 2005-03-22 Jim Evins <evins@snaught.com>
2368 Since the development version now requires gtk-2.6/gnome-2.10, I
2369 have made a first pass at removing deprecations.
2372 * libglabels/Makefile.am:
2374 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2375 Also removed all remnants of HAVE_FILECHOOSER.
2376 * src/file.c: (gl_file_open_real):
2377 Removed code for old GtkFileSelection.
2378 * libglabels/libglabels-private.h:
2379 * libglabels/paper.c:
2380 * libglabels/template.c:
2381 * libglabels/xml-paper.c:
2382 * libglabels/xml-template.c:
2386 * src/glabels-batch.c:
2390 * src/merge-properties-dialog.c:
2392 * src/object-editor.c:
2393 * src/prefs-dialog.c:
2395 * src/print-dialog.c:
2398 * src/template-designer.c:
2399 * src/ui-property-bar.c:
2401 * src/view-barcode.c:
2403 * src/view-ellipse.c:
2408 * src/wdgt-image-select.c:
2409 * src/wdgt-media-select.c:
2410 * src/wdgt-print-copies.c:
2411 * src/wdgt-print-merge.c:
2412 * src/wdgt-rotate-label.c:
2414 * src/xml-label-04.c:
2415 * src/xml-label-191.c:
2417 Added '#include <glib/gi18n.h>" where needed.
2418 Removed any unused '#include <gnome.h>"s.
2420 2005-03-22 Jim Evins <evins@snaught.com>
2422 * src/commands.c: (activate_url), (gl_cmd_help_about):
2423 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2424 development version of glabels now depends on GTK 2.6 and
2427 Updated library dependencies.
2429 2005-02-28 Jim Evins <evins@snaught.com>
2432 * data/templates/misc-iso-templates.xml:
2433 Added 'Ednet 45021' template provided by Ali Akcaagac
2436 2005-02-14 Jim Evins <evins@snaught.com>
2438 * data/templates/avery-us-templates.xml:
2439 Updated templates to use inches instead of points.
2440 * src/print-dialog.c: (printer_page_new):
2441 Changed packing style when adding printer selector widget. This fixes
2444 2005-02-13 Jim Evins <evins@snaught.com>
2448 Updated spanish translations. (sergio rivadero)
2450 2005-02-05 Jim Evins <evins@snaught.com>
2452 Some cleanup to libglabels.
2455 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2456 * libglabels/libglabels.pc.in
2458 * libglabels/enums.h
2459 Created. Currently only contains glUnitsType which provides enumerations
2460 for all possible units of distance.
2461 * libglabels/Makefile.am:
2462 Incorporated new files enums.h and libglabels.pc[.in].
2463 * libglabels/libglabels.h:
2465 * libglabels/template.h:
2466 * libglabels/template.c: (gl_template_layout_new):
2467 Changed parameters nx and ny to gint from gdouble.
2469 * libglabels/xml.c: (gl_xml_get_prop_length),
2470 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2471 Added support for different output units.
2472 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2473 (update_prefs_from_locale_page):
2474 * src/prefs-model.c: (string_to_units), (units_to_string):
2475 * src/prefs-model.h:
2476 * src/prefs.c: (gl_prefs_get_units_per_point),
2477 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2478 (gl_prefs_get_units_string):
2480 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2481 Reconciled all length enumerations with the new enumerations provided
2482 in libglabels/enums.h.
2484 2005-02-03 Jim Evins <evins@snaught.com>
2487 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2489 Updated Italian translations. (Daniele Medri)
2491 Updated credits to reflect above translations.
2494 2005-01-22 Jim Evins <evins@snaught.com>
2499 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2501 Final prep for 2.1.0.
2503 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2505 Added '--remove-original' flag to desktop-file-install, so that there is
2506 only one menu entry.
2508 2005-01-20 Jim Evins <evins@snaught.com>
2510 * data/glade/object-editor.glade:
2511 - Font family entry should not be editable.
2512 - img_key_entry should have sensitivity=YES, so that it follows the
2513 sensitivity of img_key_combo.
2515 2005-01-19 Jim Evins <evins@snaught.com>
2518 Give credit to Frederic Ruaudel for the color merge patches.
2520 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2522 Add support to merge color for all other color attribute (Feature
2523 Requests item #1008635. If the data is invalid, the color used is transparent
2524 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2525 by gdk_color_parse() these include name for a color from rgb.txt, such as
2526 DarkSlateGray, or a hex specification such as #305050. File format has been
2527 changed but backward compatibility is preserved for all format. For
2528 box/ellipse/line, keep attribute "line_color" for static color or replace by
2529 "line_color_field" for merge data. For text/barcode objects, keep attribute
2530 "color" for static color or replace by "color_field" for merge data. In the
2531 edit canvas window, merged color are represented by half-transparent black
2534 * data/dtd/glabels-2.0.dtd:
2535 Added line_color_field to line_attrs. Added color_field to
2536 Object-barcode and Span.
2537 * data/glade/object-editor.glade:
2538 Modify the layout of the editor to add merge possibility to color options
2540 Fix a copy/paste error in a comment
2542 Add default color for merge color representation in the editor canvas.
2543 * src/label-barcode.c:
2544 * src/object-editor-bc-page.c:
2545 * src/view-barcode.c:
2546 Add merge color support for barcode color.
2549 Add merge color support for box border color.
2550 * src/label-ellipse.c:
2551 * src/view-ellipse.c:
2552 Add merge color support for ellipse border color.
2555 Add merge color support for line color.
2556 * src/label-object.c:
2557 * src/label-object.h:
2558 * src/object-editor.c:
2559 * src/object-editor.h:
2560 * src/ui-property-bar.c:
2563 * src/xml-label-04.c:
2564 * src/xml-label-191.c:
2565 Add support for merging to other color attribute.
2567 * src/object-editor-text-page.c:
2569 Add merge color support for text color.
2570 * src/object-editor-fill-page.c:
2571 Change a blocked handler that didn't match the good widget. Fix the type
2572 of some debug message.
2573 * src/object-editor-line-page.c:
2574 Add merging support to line color option.
2575 * src/object-editor-private.h:
2576 Add variables for new widget.
2578 Modify the draw functions to get merge data if needed.
2580 Change the default size of the window in order to see all widget in the
2581 "text style tab" of the editor.
2583 Modify the parser to record/retreive the field value for objects that need
2584 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2585 static color or replace by "line_color_field" for merge data. For
2586 text/barcode objects, keep attribute "color" for static color or replace
2587 by "color_field" for merge data.
2589 2005-01-17 Jim Evins <evins@snaught.com>
2591 * src/view.c: (screen_changed_cb):
2592 Don't do anything if we don't have a screen.
2594 2005-01-06 Jim Evins <evins@snaught.com>
2596 * src/view.c: (get_home_scale):
2597 Fixed bad call to gtk_widget_has_screen() -- huh?.
2599 2005-01-06 Jim Evins <evins@snaught.com>
2601 * data/dtd/glabels-2.0.dtd:
2602 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2605 2005-01-06 Jim Evins <evins@snaught.com>
2607 * data/glade/object-editor.glade:
2608 Set entries for fill and data field key dropdowns to NOT editable.
2609 * src/view-box.c: (construct_properties_editor):
2610 * src/view-ellipse.c: (construct_properties_editor):
2611 Update object editor when label's merge property has changed.
2612 * src/xml-label.c: (xml_parse_object_ellipse):
2613 Completed the merge color support for the ellipse item.
2615 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2617 Add support to merge color for object that have a "Fill color" attribute (Feature
2618 Requests item #1008635. If the data is invalid, the color used is transparent
2619 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2620 by gdk_color_parse() these include name for a color from rgb.txt, such as
2621 DarkSlateGray, or a hex specification such as #305050. File format has been
2622 changed but backward compatibility is preserved for all format. For box/ellipse,
2623 keep attribute "fill_color" for static color or replace by "fill_color_field"
2626 * data/glade/object-editor.glade:
2627 Modify "Fill" tab to add the merge key combo and convert the labels into
2631 Add "glColorNode" structure and associated functions to manage it. This
2632 structure is equivalent for color than the "glTextNode". It holds the color
2634 * src/label-object.h:
2635 * src/label-object.c:
2637 * src/label-ellipse.c:
2638 * src/ui-property-bar.c:
2642 * src/view-ellipse.c:
2643 * src/xml-label-04.c:
2644 * src/xml-label-191.c:
2645 Change functions of objects that have a "fill color" attribute to use the
2646 new "glColorNode" structure. Use barcode code as example.
2648 Add the color.[ch] file to glabels_batch binary that now need support for
2650 * src/object-editor.h:
2651 * src/object-editor.c:
2652 * src/object-editor-fill-page.c:
2653 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2654 to choose between static color or merge key. Use barcode code as example.
2655 * src/object-editor-private.h:
2656 Add new widget in the "_glObjectEditorPrivate" structure.
2658 Modify the draw functions to get merge data if needed.
2660 Modify the parser to record/retreive the field value for objects that need
2661 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2662 color or "fill_color_field" for merge data.
2664 2005-01-04 Jim Evins <evins@snaught.com>
2667 * data/templates/avery-iso-templates.xml:
2668 * data/templates/misc-iso-templates.xml:
2669 * data/templates/misc-us-templates.xml:
2670 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2673 2004-11-26 Jim Evins <evins@snaught.com>
2677 Updated french translations provided by Florent Morel <florent@taket.org>.
2678 * src/view-barcode.c:
2680 * src/view-ellipse.c:
2684 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2685 thus _() strings were not being translated.
2687 2004-11-14 Jim Evins <evins@snaught.com>
2690 * src/debug.c: (gl_debug_init), (gl_debug):
2691 Borrowed from gedit: use environmental variables to select debug
2694 Removed unused include of debug.h.
2695 * src/glabels.c: (main):
2696 Added call to gl_debug_init(), and removed debug clutter from command line
2698 * src/glabels-batch.c: (main):
2699 Added call to gl_debug_init().
2701 2004-11-13 Jim Evins <evins@snaught.com>
2703 Drawing and property toolbars were being initialized with the "icons and text"
2704 look in Fedora Core 3. Even though none of the buttons had any text attached to
2705 them, the buttons were being sized as if they were. This led to less real estate
2706 for the property editor, leading to Bug #1064630. The
2708 * data/ui/glabels-ui.xml:
2709 Added explicit "look" property to both drawing and property toolbars.
2710 * src/prefs-model.c: (gl_prefs_model_save_settings),
2711 (gl_prefs_model_load_settings):
2712 * src/prefs-model.h:
2713 Removed drawing_toolbar_button_style configuration parameter.
2714 * src/ui.c: (view_menu_item_toggled_cb),
2715 (set_app_drawing_toolbar_style):
2716 Do not attempt to adjust look property of the drawing toolbar.
2718 2004-10-28 Jim Evins <evins@snaught.com>
2720 * data/pixmaps/glabels-about-logo.png:
2723 2004-10-28 Jim Evins <evins@snaught.com>
2725 * data/man/glabels.1:
2726 * src/glabels-batch.c: (main):
2728 * src/print.c: (gl_print_batch):
2730 Added option to glabels-batch to select the first label to begin
2733 2004-09-26 Jim Evins <evins@snaught.com>
2735 * data/desktop/glabels.desktop.in:
2736 Point to app icon, "glabels.png"
2737 * data/mime/glabels.keys.in:
2738 Point at mime icon, "glabels-application-x-glabels.png"
2739 * data/pixmaps/Makefile.am:
2740 Added glabels_app_icondir. Renamed icons.
2741 * data/pixmaps/glabels.png:
2742 New cleaned up app icon. Deleted glabels-icon.png.
2743 * data/pixmaps/glabels-application-x-glabels.png:
2745 * data/pixmaps/glabels-splash.png:
2746 Renamed glabels-logo to glabels-splash to be more correct about role.
2748 * src/template-designer.c:
2749 Point at app icon, "glabels.png"
2751 Point at renamed splash image, "glabels-splash.png"
2753 2004-08-22 Jim Evins <evins@snaught.com>
2756 * src/glabels-batch.c: (main):
2757 Applied patch with minor mods to allow selecting merge source and
2758 crop-marks on glabels-batch's command line. Original patch provided by
2759 José Dapena Paz <jdapena@igalia.com>.
2761 2004-08-15 Jim Evins <evins@snaught.com>
2763 * data/desktop/glabels.desktop.in:
2764 - Added encoding line
2765 - Removed period from comment
2766 - Fixed Terminal line, changed "0" to "false"
2767 - Added semicolen to Categories line
2769 - Made sure desktop.in comment string above still translated properly
2771 2004-08-14 Jim Evins <evins@snaught.com>
2773 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2774 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2775 * src/xml-label-191.c: (xml191_parse_sheet):
2776 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2778 Reconciled libglabels versioning with 2.0.1.
2781 2004-08-14 Jim Evins <evins@snaught.com>
2784 Updated version to 2.1cvs.
2786 2004-08-14 Jim Evins <evins@snaught.com>
2789 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2791 2004-08-14 Jim Evins <evins@snaught.com>
2793 Fixes for Bug #1008181.
2795 * src/bc.c: (gl_barcode_default_digits):
2796 Make a format of zero digits, harmless.
2797 * src/xml-label.c: (xml_parse_object_barcode):
2798 Set default value of the format property of barcode objects to 10, not
2799 zero. This will prevent crashes when reading pre 2.0.x files.
2801 2004-08-09 Jim Evins <evins@snaught.com>
2805 * help/C/glabels-C.omf:
2806 * help/C/glabels.xml:
2807 Brought documentation up-to-date for 2.0.0 release.
2809 2004-08-09 Jim Evins <evins@snaught.com>
2811 These are hopefully the final preparations for 2.0.0.
2813 * data/mime/Makefile.am:
2814 Include glabels.xml in EXTRA_DIST.
2816 - Updated comment style.
2817 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2818 - Added package and version info to configuration printout
2819 - Update version to 2.0.0
2820 * libglabels/Makefile.am:
2821 Use the new LIBGLABELS_VERSION_INFO macro.
2823 2004-08-09 Jim Evins <evins@snaught.com>
2827 Cleanup of required library macros.
2829 2004-08-08 Jim Evins <evins@snaught.com>
2833 - More specific of what to install in /usr/bin and /usr/lib
2834 - Remove built mime registration files from staging directory
2836 2004-08-08 Jim Evins <evins@snaught.com>
2838 * data/mime/Makefile.am:
2839 Fixed typo: key_files should have been keys_files.
2841 2004-08-08 Jim Evins <evins@snaught.com>
2843 Reorganization of runtime data files. Also added registration of mimetype with
2844 new freedesktop.org mime database if available.
2847 Moved files to appropriate subdirectories, creating local Makefile.am
2848 in each subdirectory.
2849 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2850 These are now installed at $datadir/glabels/templates.
2851 - Moved glabels.1 to man subdirectory.
2852 - Moved glabels-2.0.dtd to dtd subdirectory.
2853 - Moved glabels.desktop.in to desktop subdirectory.
2854 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2856 Moved "./pixmaps" to "./data/pixmaps"
2858 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2860 Moved libglade files from src to data/glade. Created Makefile.am.
2862 Removed pixmaps from SUBDIRS.
2864 - Removed pixmaps from makefiles.
2865 - Added makefiles for new subdirs of data.
2866 - Added tests for freedesktop.org mime database.
2868 - Added tests for freedesktop.org mime database for post install and
2869 post un-install actions.
2870 * libglabels/Makefile.am:
2871 Moved system template files to $(datadir)/glabels/templates.
2872 * libglabels/libglabels-private.h:
2873 Moved system template files to $(datadir)/glabels/templates.
2875 - Accounted for movement of ui and libglade files.
2876 - Added missing .in files.
2877 - Reorganized by directory.
2879 Accounted for movement of ui and libglade files.
2880 * data/mime/glabels.xml.in:
2881 New file for registering with freedesktop.org mime database.
2883 2004-08-07 Jim Evins <evins@snaught.com>
2885 * src/recent-files/*:
2886 Re-synced to latest libegg/recent-files.
2888 2004-08-07 Jim Evins <evins@snaught.com>
2893 Renamed "./doc" directory to "./help" which contains user documentation,
2894 to be more consistent with other GNOME applications.
2897 2004-07-26 Jim Evins <evins@snaught.com>
2899 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2900 Corrected button order of merge properties dialog.
2902 2004-07-18 Jim Evins <evins@snaught.com>
2904 * data/glabels-2.0.dtd:
2905 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2906 (gl_barcode_get_prefered_n):
2908 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2909 (gl_label_barcode_get_props), (get_size):
2910 * src/label-barcode.h:
2911 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2912 (style_changed_cb), (gl_object_editor_set_bc_style),
2913 (gl_object_editor_get_bc_style):
2914 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2915 (gl_object_editor_set_data), (gl_object_editor_get_data):
2916 * src/object-editor-private.h:
2917 * src/object-editor.c: (gl_object_editor_set_key_names):
2918 * src/object-editor.glade:
2919 * src/object-editor.h:
2920 * src/print.c: (draw_barcode_object):
2921 * src/view-barcode.c: (update_object_from_editor_cb),
2922 (update_editor_from_object_cb),
2923 (gl_view_barcode_create_event_handler), (draw_barcode):
2924 * src/xml-label-04.c: (xml04_parse_barcode_props):
2925 * src/xml-label-191.c: (xml191_parse_barcode_props):
2926 * src/xml-label.c: (xml_parse_object_barcode),
2927 (xml_create_object_barcode):
2928 Added "format" attribute to barcode objects. This attribute is used
2929 to properly format freeform barcodes barcodes prior to merge data is
2930 applied, so that barcodes can be accurately layed out. This addresses
2931 remaining issues of feature request #824787. Also added an example of
2932 the format in the object editor.
2934 2004-07-12 Jim Evins <evins@snaught.com>
2936 Various code cleanups.
2938 * src/label-barcode.c:
2939 Removed unneeded include of gnome-glyphlist.h.
2941 * src/label-text.c: (get_size):
2942 Fixed memory leak: unref glyphlists when done with them.
2944 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
2945 * src/object-editor-data-page.c:
2946 (gl_object_editor_prepare_data_page):
2947 * src/object-editor-image-page.c:
2948 (gl_object_editor_prepare_image_page):
2949 * src/object-editor-line-page.c:
2950 (gl_object_editor_prepare_line_page):
2951 * src/object-editor-lsize-page.c:
2952 (gl_object_editor_prepare_lsize_page):
2953 * src/object-editor-position-page.c:
2954 (gl_object_editor_prepare_position_page):
2955 * src/object-editor-size-page.c:
2956 (gl_object_editor_prepare_size_page):
2957 * src/object-editor-text-page.c:
2958 (gl_object_editor_prepare_text_page):
2959 Removed unneeded size groups, originally intended to keep widgets aligned.
2960 Now use tables to lay these out in object-editor.glade.
2962 * src/print.c: (draw_text_object):
2963 Fixed memory leak: unref glyphlists when done with them.
2965 * src/view-barcode.c: (draw_barcode):
2966 Fixed memory leak: unref glyphlists when done with them.
2968 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
2969 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
2971 - Fixed memory leak: unref glyphlists when done with them.
2973 2004-07-11 Jim Evins <evins@snaught.com>
2975 * data/glabels-2.0.dtd:
2976 * src/label-text.c: (gl_label_text_instance_init), (copy),
2977 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
2979 * src/object-editor-private.h:
2980 * src/object-editor-text-page.c:
2981 (gl_object_editor_prepare_text_page),
2982 (gl_object_editor_set_text_auto_shrink),
2983 (gl_object_editor_get_text_auto_shrink):
2984 * src/object-editor.c: (gl_object_editor_set_key_names):
2985 * src/object-editor.glade:
2986 * src/object-editor.h:
2987 * src/print.c: (draw_text_object):
2988 * src/view-text.c: (update_object_from_editor_cb),
2989 (update_editor_from_object_cb):
2990 * src/xml-label.c: (xml_parse_object_text),
2991 (xml_create_object_text):
2992 Added option to allow document merge to auto shrink text size to fit
2993 within the text box. The code in print.c that actually shrinks the
2994 text is loosely based on a patch submitted by Mark Harrison
2995 <mark.harrison@velocitynet.com.au>. This addresses feature request
2998 2004-07-11 Jim Evins <evins@snaught.com>
3000 * data/glabels-2.0.dtd:
3001 * libglabels/template.c: (gl_template_rect_label_type_new),
3002 (gl_template_round_label_type_new),
3003 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3004 (template_full_page):
3005 * libglabels/template.h:
3006 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3007 (xml_create_label_node):
3008 * pixmaps/ex-rect-size.png:
3009 * src/print.c: (clip_to_outline), (clip_punchouts):
3010 * src/template-designer.c: (construct_rect_size_page),
3011 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3013 * src/template-designer.glade:
3014 * src/xml-label-191.c: (xml191_parse_label):
3015 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3016 properties for rectangular labels. Templates remain backwards compatible,
3017 but this breaks the libglabels API (I don't know of anyone outside of
3018 glabels using libglabels at this time -- what can I say, the program is
3019 is still "unstable"). This addresses the suggestion in Feature Request
3022 2004-07-05 Jim Evins <evins@snaught.com>
3023 * src/print.c: (print_crop_marks), (draw_outline):
3024 Changed crop marks and label outlines to black, instead of 25% gray.
3025 This addresses debian Bug #257460.
3027 2004-07-05 Jim Evins <evins@snaught.com>
3029 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3030 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3031 Preserve "is_default" of fill and line color_combos when creating from
3034 2004-07-02 Jim Evins <evins@snaught.com>
3037 Created man page. Based on page submitted by Matthew J. Lockner, however
3038 it has been severely edited.
3040 * data/avery-other-templates.xml
3041 * data/misc-other-templates.xml:
3042 Started new files for predefined templates with non-standard sheet sizes.
3043 These have been initially populated with the Avery 06141 and
3044 OfficeMax #86112, both provided by Matthew J. Lockner.
3047 Install above manpage and template files.
3050 Make sure we install man pages.
3052 * src/glabels-batch.c:
3053 Changed short form of help option to '-?' to be consistent with glabels.
3056 Added acknowledgement for above labels.
3058 2004-07-02 Jim Evins <evins@snaught.com>
3060 * src/glabels.c: (main), (save_session_cb):
3061 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3063 - save_session_cb() now returns gboolean.
3064 - Minor formatting changes.
3068 - Now include file.h to provide missing prototype.
3069 - gl_window_get_type() now returns GType, not guint. I believe this may
3070 ultimately be cause of the segfault reported in Bug #982287, since
3071 GType is actually a gulong, which may not be compatible on other
3072 architectures (64bit) -- I cannot personally test this at this time.
3073 I was sloppy in several other xxx_get_type() functions which also
3074 returned guint -- see next group of files:
3076 * src/window.c: (gl_window_get_type):
3077 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3078 * src/canvas-hacktext.h:
3079 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3080 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3081 (gl_hig_hbox_get_type):
3083 * src/label-barcode.c: (gl_label_barcode_get_type):
3084 * src/label-barcode.h:
3085 * src/label-box.c: (gl_label_box_get_type):
3087 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3088 * src/label-ellipse.h:
3089 * src/label-image.c: (gl_label_image_get_type):
3090 * src/label-image.h:
3091 * src/label-line.c: (gl_label_line_get_type):
3093 * src/label-object.c: (gl_label_object_get_type):
3094 * src/label-object.h:
3095 * src/label-text.c: (gl_label_text_get_type):
3097 * src/label.c: (gl_label_get_type):
3099 * src/merge-properties-dialog.c:
3100 (gl_merge_properties_dialog_get_type):
3101 * src/merge-properties-dialog.h:
3102 * src/merge-text.c: (gl_merge_text_get_type):
3104 * src/merge.c: (gl_merge_get_type):
3106 * src/object-editor.c: (gl_object_editor_get_type):
3107 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3108 * src/prefs-dialog.h:
3109 * src/prefs-model.c: (gl_prefs_model_get_type):
3110 * src/prefs-model.h:
3111 * src/print-dialog.c: (gl_print_dialog_get_type):
3112 * src/print-dialog.h:
3113 * src/template-designer.c: (gl_template_designer_get_type):
3114 * src/template-designer.h:
3115 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3116 * src/ui-property-bar.h:
3117 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3119 * src/view-barcode.c: (gl_view_barcode_get_type):
3120 * src/view-barcode.h:
3121 * src/view-box.c: (gl_view_box_get_type):
3123 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3124 * src/view-ellipse.h:
3125 * src/view-highlight.c: (gl_view_highlight_get_type):
3126 * src/view-highlight.h:
3127 * src/view-image.c: (gl_view_image_get_type):
3129 * src/view-line.c: (gl_view_line_get_type):
3131 * src/view-object.c: (gl_view_object_get_type):
3132 * src/view-object.h:
3133 * src/view-text.c: (gl_view_text_get_type):
3135 * src/view.c: (gl_view_get_type):
3137 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3138 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3139 * src/wdgt-image-select.h:
3140 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3141 * src/wdgt-media-select.h:
3142 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3143 * src/wdgt-mini-preview.h:
3144 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3145 * src/wdgt-print-copies.h:
3146 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3147 * src/wdgt-print-merge.h:
3148 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3149 * src/wdgt-rotate-label.h:
3150 - Made sure all xxx_get_type functions returned GType, not guint. This
3151 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3152 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3153 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3154 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3155 window.[ch] details above for more info.
3156 - Reconciled various coding style differences in all xxx_get_type()
3158 * All prototypes include G_GNUC_CONST.
3159 * All prototypes specify the return value as GType, not GtkType
3161 * Info structures are all declared as "static const."
3162 * Generalized the names of type and info variables.
3163 * Miscelaneous formatting.
3165 2004-06-08 Jim Evins <evins@snaught.com>
3171 Don't touch compression of original file -- still defaults to 9 for
3172 new files. Original patch provided by Javier Donaire Segarra
3173 (#912252 in patch tracker).
3175 2004-05-05 Jim Evins <evins@snaught.com>
3177 * data/glabels-2.0.dtd:
3178 Broke DTD previously when adding new barcode types that contain a
3179 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3180 to avoid the problem.
3181 * data/avery-iso-templates.xml:
3182 * data/zweckform-iso-templates.xml:
3184 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3185 provided by Frank Altpeter.
3186 * libglabels/xml-template.c: (xml_create_label_node):
3187 Reordered markup and layout sub-nodes so that resulting templates will
3188 validate against DTD.
3190 2004-03-13 Jim Evins <evins@snaught.com>
3192 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3193 Changed spin callback signals from "value-changed" back to "changed."
3194 This was accidentally introduced in a previous revision, and can cause
3195 size changes just by selecting the size tab.
3197 2004-03-06 Jim Evins <evins@snaught.com>
3199 * src/view.c: (draw_grid_layer):
3200 For round labels (round and cd) adjust grid so that it lines up with
3201 center of label. Also, no longer draw box around label in the grid layer,
3202 it is hidden by he fg layer anyway. Feature suggested by
3203 nemolivier@free.fr. Although the grid is aligned with the center of the
3204 label, the coordinate system is still relative to the upper left corner
3205 of the rectangle containing the label.
3207 2004-02-25 Jim Evins <evins@snaught.com>
3210 Changed version to 2.0pre1cvs
3212 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3213 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3214 instead of doc->name fields when errors encountered.
3216 2004-02-21 Jim Evins <evins@snaught.com>
3218 * data/avery-iso-templates.xml:
3219 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3222 Added libglabels library and include file to installed files.
3225 Final prep for 1.93.3.
3227 2004-02-20 Jim Evins <evins@snaught.com>
3229 * src/glabels-batch.c: (main):
3230 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3231 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3233 2004-02-16 Jim Evins <evins@snaught.com>
3236 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3239 Added HAVE_FILE_CHOOSER to INCLUDES.
3241 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3242 (gl_file_save_as), (save_as_response):
3243 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3245 2004-02-16 Jim Evins <evins@snaught.com>
3247 * src/xml-label-04.c: (xml04_parse_image_props):
3248 * src/xml-label-191.c: (xml191_parse_image_props):
3249 * src/xml-label.c: (xml_parse_object_image):
3250 Delay setting image size until after image has been applied to new
3253 2004-02-15 Jim Evins <evins@snaught.com>
3255 * src/label-barcode.c: (gl_label_barcode_set_data),
3256 (gl_label_barcode_set_props):
3257 Don't emit "changed" signal, if no change actually made for these
3258 methods. Reduces number of unnecessary redraws of barcodes.
3260 * src/label-object.h:
3261 * src/label-object.c: (gl_label_object_set_position),
3262 (gl_label_object_set_position_relative), (set_size),
3263 (gl_label_object_set_size),
3264 (gl_label_object_set_size_honor_aspect):
3265 Don't emit "changed" signal, if no change actually made for these
3268 2004-02-15 Jim Evins <evins@snaught.com>
3270 * data/glabels-2.0.dtd:
3271 Added specific subtypes for various barcode types.
3274 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3275 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3276 (gl_barcode_can_text), (gl_barcode_text_optional),
3277 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3278 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3279 Changed API to use a string id, rather than a fixed enumeration. Id and
3280 name are separate strings. Added entries to backend table for specific
3281 subtypes for various barcode types.
3284 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3286 Modified to conform to above API. Now more stringent with data length
3287 for various subtypes.
3289 * src/bc-gnubarcode.h:
3290 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3291 (is_length_valid), (is_length1_valid), (is_length2_valid):
3292 Modified to conform to above API. Now more stringent with data length
3293 for various subtypes.
3295 * src/label-barcode.h:
3296 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3297 (gl_label_barcode_get_props), (get_size):
3298 Modified to use above API for storing barcode type.
3300 * src/object-editor.h:
3301 * src/object-editor-bc-page.c: (style_changed_cb),
3302 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3303 Modified to use above API for storing barcode type.
3305 * src/object-editor-size-page.c:
3306 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3307 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3308 Added debug markers.
3310 * src/object-editor.glade:
3311 Made barcode style combo's text entry non-editable.
3313 * src/print.c: (draw_barcode_object):
3314 Modified to use above API for barcode type.
3316 * src/view-barcode.c: (update_object_from_editor_cb),
3317 (update_editor_from_object_cb),
3318 (gl_view_barcode_create_event_handler), (draw_barcode):
3319 Modified to use above API for barcode type.
3321 * src/xml-label-04.c: (xml04_parse_barcode_props):
3322 * src/xml-label-191.c: (xml191_parse_barcode_props):
3323 * src/xml-label.c: (xml_parse_object_barcode),
3324 (xml_create_object_barcode):
3325 Modified to use above API for barcode type.
3327 2004-02-07 Jim Evins <evins@snaught.com>
3329 * src/stock-pixmaps/Makefile.am:
3330 * src/stock-pixmaps/stock_hchain_24.png:
3331 * src/stock-pixmaps/stock_hchain_broken_24.png:
3332 * src/stock-pixmaps/stock_vchain_24.png:
3333 * src/stock-pixmaps/stock_vchain_broken_24.png:
3334 Added chain pixmaps borrowed from the gimp's default theme.
3337 * src/stock.c: (gl_stock_init), (add_button_icon):
3338 Added above pixmaps to stock icon sets. Created add_button_icon() to
3339 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3341 * src/wdgt-chain-button.h
3342 * src/wdgt-chain-button.c
3345 Added this Modified version of gimpchainbutton widget, borrowed from
3349 Added acknowledgements of the above borrowing from the gimp.
3351 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3353 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3354 * src/object-editor.glade:
3355 Replaced the keep aspect ratio check box with the above chain-button
3358 * src/text-node.c: (gl_text_node_equal):
3360 Added function gl_text_node_equal() to compare text_nodes.
3362 * src/label-image.c: (gl_label_image_set_filename):
3363 Replaced incomplete text_node comparison code with invocation of
3364 gl_text_node_equal. This fixed the problem of not being able to
3365 resize an image using the object_editor if the aspect ratio is not
3368 2004-02-04 Jim Evins <evins@snaught.com>
3370 * src/object-editor-image-page.c:
3371 (gl_object_editor_prepare_image_page):
3372 Track "changed" signal of pixmap entry's GtkEntry rather than its
3373 "activate" signal -- this catches all changes to the entry rather than
3374 just changes resulting from a browse, so one can easily pull previous
3375 entries from the history. (This change is marked below on 2004-02-03,
3376 but somehow never got checked in.)
3378 * src/view-highlight.c: (sl_resize_event_handler),
3379 (sr_resize_event_handler), (st_resize_event_handler),
3380 (sb_resize_event_handler):
3381 Side resize handles will now confirm the actual resize that the object
3382 accepted before adjusting position parameters. Previously some interesting
3383 things happened when resizing a barcode to its minimum size.
3385 2004-02-03 Jim Evins <evins@snaught.com>
3387 * src/object-editor-image-page.c:
3388 (gl_object_editor_prepare_image_page):
3389 Track "changed" signal of pixmap entry's GtkEntry rather than its
3390 "activate" signal -- this catches all changes to the entry rather than
3391 just changes resulting from a browse, so one can easily pull previous
3392 entries from the history.
3394 * src/view-highlight.c: (tl_resize_event_handler),
3395 (tr_resize_event_handler), (bl_resize_event_handler),
3396 (br_resize_event_handler):
3397 Allow control key to be dropped while dragging a corner resize handle
3398 without losing the aspect ratio lock.
3400 2004-02-02 Jim Evins <evins@snaught.com>
3402 * src/label-image.c: (gl_label_image_set_filename):
3403 When setting a new filename adjust size such that the aspect ratio of
3404 the image is preserved using the current size as a bounding box.
3406 * src/view-image.c: (update_object_from_editor_cb):
3407 When updating object from editor, feed back possible size changes to
3408 editor as a result of a possible change in image.
3410 * src/object-editor-size-page.c: (size_reset_cb):
3411 Fixed typo when blocking spin handlers. If the base size is larger than
3412 the max size, treat max size as a bounding box while keeping aspect
3416 2004-02-02 Jim Evins <evins@snaught.com>
3418 * src/label-object.h:
3419 * src/label-object.c: (gl_label_object_set_size),
3420 (gl_label_object_set_size_honor_aspect):
3421 Added gl_label_object_set_size_honor_aspect() which will maintain the
3422 current aspect ratio by modifying the supplied w or h apropriately.
3424 * src/view-highlight.c: (tl_resize_event_handler),
3425 (tr_resize_event_handler), (bl_resize_event_handler),
3426 (br_resize_event_handler):
3427 Corner handles will now maintain the current aspect ratio if the
3428 control key is pressed while resizing. This addresses feature
3432 2004-01-31 Jim Evins <evins@snaught.com>
3435 * data/avery-us-templates.xml:
3436 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3438 * libglabels/template.c: (read_template_files_from_dir):
3439 Corrected problem with testing for extensions.
3441 * src/object-editor.glade:
3442 Corrected grouping of radio buttons in barcode data page.
3444 * src/print.c: (draw_barcode_object):
3445 * src/view-barcode.c: (draw_barcode):
3446 Corrected problem with calculation of y_offset for locating characters.
3448 2004-01-24 Jim Evins <evins@snaught.com>
3451 * data/avery-us-templates.xml:
3452 Added Avery 5824, submitted by Fred Bacon.
3454 2004-01-20 Jim Evins <evins@snaught.com>
3456 Catching up on a couple of backlogged user template submissions.
3458 * data/avery-iso-templates.xml:
3459 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3460 Suggested by Linas Jakucionis.
3462 * data/zweckform-iso-templates.xml:
3463 Added Zweckform 4760, submitted by Thomas Vill.
3466 Updated to reflect above submissions.
3468 2004-01-06 Jim Evins <evins@snaught.com>
3470 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3471 xml.[ch] into a separate library called libglabels, to facilitate third
3472 party use of glabels template files. This was suggested by Wayne Schuller.
3473 Once split-out, some modifications to the structures and functions to
3474 make a cleaner more useful API, hopefully. Rather extensive changes have
3475 propogated to other modules.
3483 * src/xml-template.h:
3484 * src/xml-template.c:
3487 These files have been moved to libglabels/. API cleanup performed.
3489 * libglabels/libglabels.h:
3490 * libglabels/libglabels-private.h:
3491 * libglabels/Makefile.am:
3492 These files have been added to finish out libglabels.
3499 Modified to reflect new sets of files in src/ and libglabels/.
3501 * COPYING.LIBGLABELS:
3503 Added copy of the LGPL for libglabels, and a copy the GFDL for
3506 * src/glabels-batch.c:
3508 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3509 (gl_label_get_size):
3511 * src/prefs-model.c: (gl_prefs_model_load_settings):
3512 * src/print-dialog.c:
3513 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3514 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3515 (print_crop_marks), (print_label), (draw_outline),
3516 (clip_to_outline), (clip_punchouts):
3517 * src/template-designer.c: (construct_pg_size_page),
3518 (pg_size_page_changed_cb), (layout_page_changed_cb),
3519 (print_test_cb), (build_template):
3520 * src/util.c: (gl_util_fraction):
3522 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3523 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3524 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3525 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3526 (draw_markup_margin_round), (draw_markup_margin_cd),
3527 (draw_markup_margin_cd_bc), (draw_markup_line),
3528 (draw_markup_circle), (gl_view_copy):
3529 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3530 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3531 (get_label_size_desc):
3532 * src/wdgt-mini-preview.c:
3533 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3535 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3536 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3537 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3538 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3539 * src/wdgt-rotate-label.h:
3540 * src/xml-label-04.c: (xml04_parse_media_description):
3541 * src/xml-label-191.c: (gl_xml_label_191_parse),
3542 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3543 (xml191_parse_markup), (xml191_parse_alias):
3544 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3546 Various changes to accomodate new libglabels API.
3548 2004-01-03 Jim Evins <evins@snaught.com>
3553 2004-01-03 Jim Evins <evins@snaught.com>
3556 Added acknowledgement of contributions by Wayne Schuller.
3558 * src/commands.c: (gl_cmd_file_print):
3559 Create extra reference to print dialog, so that it can be properly re-used.
3561 * src/mygal/mygal-combo-box.h:
3562 * src/mygal/mygal-combo-box.c:
3563 (mygal_combo_box_popup_hide_unconditional),
3564 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3565 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3566 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3567 (mygal_combo_box_set_tearable):
3568 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3569 complete the rename of this widget to prevent namespace collisions
3572 * src/prefs-dialog.glade:
3573 Fixed alignment of Fill/Color widgets.
3575 2004-01-03 Jim Evins <evins@snaught.com>
3577 * data/avery-iso-templates.xml:
3578 Added user submitted templates.
3579 Avery 8435A & 8435B, submitted by Ludger Solbach.
3581 * doc/C/glabels.xml:
3582 Added minimal documentation, noting the new template designer.
3584 2004-01-03 Jim Evins <evins@snaught.com>
3586 * pixmaps/ex-rect-size.png:
3587 * pixmaps/ex-round-size.png:
3588 * pixmaps/ex-cd-size.png:
3589 * pixmaps/Makefile.am:
3590 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3591 files to be used as illustrations/examples in the template-designer.
3593 * src/template-designer.c: (construct_rect_size_page),
3594 (construct_round_size_page), (construct_cd_size_page),
3595 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3596 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3597 (layout_page_prepare_cb), (build_template):
3598 * src/template-designer.glade:
3599 Added illustrations for rectangle, round, and cd label size pages.
3600 Added margin spinboxes to these pages, and now add a margin markup
3601 to the constructed template. Added realistic default values for
3602 some of the size spinboxes. Cleaned up the code for setting spinbox
3603 ranges on the layouts page.
3605 2004-01-02 Jim Evins <evins@snaught.com>
3607 * src/object-editor-size-page.c: (h_spin_cb):
3608 Fixed cut-n-paste error in h_spin_cb that loaded h from
3609 the wrong spinbutton.
3611 * src/object-editor.h:
3612 * src/object-editor.c: (gl_object_editor_class_init),
3613 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3614 * src/object-editor-private.h:
3615 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3617 Added "size_changed" signal.
3619 * src/view-text.c: (construct_properties_editor),
3620 (update_object_from_editor_cb),
3621 (update_object_from_editor_size_cb):
3622 Track size changes from object editor separately from other
3623 properties. This is so the default size (0,0) of a text
3624 object is not modified unintentionally.
3626 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3628 Added feature: line spacing - allows you to comfortably space a text box to
3629 fit a label perfectly.
3631 * data/glabels-2.0.dtd:
3632 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3633 (gl_label_object_get_text_alignment),
3634 (gl_label_object_get_text_line_spacing):
3635 * src/label-object.h:
3636 * src/label-text.c: (gl_label_text_class_init),
3637 (gl_label_text_instance_init), (copy), (get_size),
3638 (set_text_line_spacing), (get_text_alignment),
3639 (get_text_line_spacing):
3640 * src/object-editor-private.h:
3641 * src/object-editor-text-page.c:
3642 (gl_object_editor_prepare_text_page),
3643 (gl_object_editor_set_text_line_spacing),
3644 (gl_object_editor_get_text_line_spacing):
3645 * src/object-editor.glade:
3646 * src/object-editor.h:
3647 * src/prefs-dialog.c: (construct_object_page),
3648 (update_object_page_from_prefs), (update_prefs_from_object_page):
3649 * src/prefs-dialog.glade:
3650 * src/prefs-model.c: (gl_prefs_model_save_settings),
3651 (gl_prefs_model_load_settings), (get_float):
3652 * src/prefs-model.h:
3653 * src/print.c: (draw_text_object):
3655 * src/view-text.c: (update_object_from_editor_cb),
3656 (update_editor_from_object_cb),
3657 (gl_view_text_create_event_handler), (draw_hacktext):
3658 * src/view.c: (gl_view_construct),
3659 (gl_view_set_selection_text_line_spacing),
3660 (gl_view_set_default_text_line_spacing),
3661 (gl_view_get_default_text_line_spacing):
3663 * src/xml-label.c: (xml_parse_toplevel_span),
3664 (xml_create_toplevel_span):
3666 2003-12-30 Jim Evins <evins@snaught.com>
3668 * src/template-designer.c:
3669 * src/template-designer.h:
3670 * src/template-designer.glade:
3671 New template designer assistant.
3675 Added entries for src/template-designer.* files.
3677 * pixmaps/ex-1layout.png
3678 * pixmaps/ex-2layouts.png
3679 * pixmaps/Makefile.am:
3680 Added the new image files ex-*.png used as illustrations in the
3681 template designer assistant.
3683 * src/print-dialog.h:
3684 * src/print-dialog.c: (gl_print_dialog_finalize),
3685 (gl_print_dialog_new), (gl_print_dialog_construct),
3686 (gl_print_dialog_force_outline_flag):
3687 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3688 to support printing from the template designer assistant which does not
3689 have a full-fledged view. Nothing else from the view object was being
3690 used by the dialog anyway.
3692 Added the gl_print_dialog_force_outline_flag() method, for better
3693 integration with the template designer assistant.
3697 * src/commands.c: (gl_cmd_file_template_designer),
3698 (gl_cmd_file_print):
3699 Modified print command to provide label instead of view to dialog.
3700 Added the gl_cmd_file_template_designer() command to invoke the
3701 template designer assistant.
3704 * src/glabels-ui.xml:
3705 Added support for template designer assistant.
3707 * src/wdgt-mini-preview.h:
3708 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3709 (gl_wdgt_mini_preview_set_bg_color):
3710 Preview is now centered in canvas. Added
3711 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3712 assistant to match the background color with its own.
3714 * src/print.c: (clip_to_outline):
3715 Fixed really stupid bug when adding waste to clip region of rectangular
3716 labels/cards. Each side of the clip region needs to be extended by
3717 twice the waste margin, as well as negatively offset by the waste
3720 2003-12-28 Jim Evins <evins@snaught.com>
3722 * src/prefs-dialog.c: (update_object_page_from_prefs):
3723 Block intermediary function align_toggle_cb() instead of
3724 update_prefs_from_object_page() for the three alignment
3727 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3729 * src/file.c: (gl_file_new), (gl_file_properties):
3730 Swap button order and set default for higificatory pleasure.
3732 2003-12-27 Jim Evins <evins@snaught.com>
3734 * barcode-0.98/Makefile.am:
3735 One last time: removed doc/Makefile and po/Makefile.in.in from
3738 2003-12-27 Jim Evins <evins@snaught.com>
3740 * barcode-0.98/Makefile.am:
3741 Removed config.stat entry from EXTRA_DIST files.
3743 * barcode-0.98/Makefile.in:
3746 2003-12-27 Jim Evins <evins@snaught.com>
3749 Updated to work with latest gnome-common package from CVS.
3750 Removed recursive configuration of barcode-0.98.
3757 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3759 * barcode-0.98/Makefile.in:
3760 * barcode-0.98/configure.in:
3761 * barcode-0.98/Makefile.am:
3762 * barcode-0.98/README.glabels:
3763 Modified to ignore the barcode package's build system, and build
3764 as a part of glabels.
3765 Renamed Makefile.in to Makefile.in.dist.
3766 Renamed configure.in to configure.in.dist.
3767 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3770 * src/mygal/Makefile.am:
3771 * src/recent-files/Makefile.am:
3772 In order to build against the GNOME 2.5 platform,
3773 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3775 * src/mygal/Makefile.am:
3776 * src/mygal/mygal-combo-box.c:
3777 * src/mygal/mygal-combo-box.h:
3778 * src/mygal/widget-color-combo.c:
3779 * src/mygal/widget-color-combo.h:
3781 In order to build against the GNOME 2.5 platform,
3782 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3783 collisions with the real gtk_combo_box widget, now a part of gtk.
3785 2003-12-26 Jim Evins <evins@snaught.com>
3791 Moved local versions of get_home_data_dir() in paper.c and
3792 template.c to util package. Cleaned up formatting in
3796 In gl_template_register() save a copy of the template in
3797 ~/.glabels if the template is not known. Still need to
3798 handle duplicate filename case and duplicate name but
3799 different template case.
3803 Moved local definition of NAME_SPACE macro from xml-label.c
3806 * src/xml-template.c:
3807 * src/xml-template.h:
3808 Added function gl_xml_template_write_template_to_file(), used
3809 in gl_template_register().