1 2007-12-21 Jim Evins <evins@snaught.com>
4 * COPYING.README_FIRST:
6 Updating license information to make more complete and understandable.
8 2007-12-16 Jim Evins <evins@snaught.com>
11 Updated version to 2.pre2.
13 Updated documentation.
14 * src/ui-commands.c: (gl_ui_cmd_help_about):
15 Updated copyright string.
17 2007-12-15 Jim Evins <evins@snaught.com>
19 * data/glade/object-editor.glade:
20 Removed any GtkTable that contained a GtkComboBox because the size of
21 the combo box was not constrained properly. This sacrifices the nice
22 orderly labels for combo boxes that don't extend beyond the edge of the
25 2007-12-15 Jim Evins <evins@snaught.com>
27 * libglabels/db.c: (lgl_db_lookup_template_from_name):
28 * src/object-editor.c: (gl_object_editor_finalize):
29 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
30 Fixed several small memory leaks.
32 2007-12-14 Jim Evins <evins@snaught.com>
35 Optimize template search by name by using a GHashTable.
36 * src/mini-preview-pixbuf-cache.c:
37 * src/mini-preview-pixbuf-cache.h:
38 Store one pixbuf per template, but use a key for each alias.
39 * src/wdgt-media-select.c:
40 Optimize loading of tree data, thus optimizing the "new label" dialog.
42 2007-12-12 Jim Evins <evins@snaught.com>
44 * data/templates/avery-us-templates.xml:
45 More templates and aliases.
47 2007-12-08 Jim Evins <evins@snaught.com>
50 More prep for 2.1.5/2.2.0.
52 2007-12-08 Jim Evins <evins@snaught.com>
58 Preparation for 2.1.5.
60 2007-12-08 Jim Evins <evins@snaught.com>
62 * docs/libglabels/libglabels-decl-list.txt:
63 * docs/libglabels/libglabels-docs.sgml:
64 * docs/libglabels/libglabels-sections.txt:
65 * docs/libglabels/libglabels-undocumented.txt:
66 * docs/libglabels/tmpl/db.sgml:
67 * docs/libglabels/tmpl/str.sgml:
69 Documentation cleanup for libglabels.
71 2007-11-29 Jim Evins <evins@snaught.com>
75 Added lgl_db_does_template_name_exist().
76 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
79 Proof read recent templates -- make sure they still exist.
80 * src/wdgt-media-select.c:
81 Default to "search all templates" tab if no recent templates found.
83 2007-11-28 Jim Evins <evins@snaught.com>
85 * data/glade/wdgt-media-select.glade:
86 * src/wdgt-media-select.c:
87 Added tabbed notebook to allow selection of recent template versus searching the
91 2007-11-26 Jim Evins <evins@snaught.com>
93 * libglabels/Makefile.am:
94 * libglabels/libglabels.h:
102 Added tracking of recently used templates.
104 2007-11-20 Jim Evins <evins@snaught.com>
106 * data/glade/template-designer.glade:
107 * src/template-designer.c:
108 Added warning icon when match brand and part match an existing template.
110 2007-11-18 Jim Evins <evins@snaught.com>
112 * libglabels/Makefile.am:
115 Added lgl_str_utf8_casecmp().
116 * libglabels/libglabels-private.h:
117 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
118 * libglabels/db.c: (lgl_db_get_brand_list):
119 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
122 2007-11-18 Jim Evins <evins@snaught.com>
124 * data/glade/template-designer.glade:
125 * src/template-designer.c:
126 Don't advance past name page, if brand and part match an existing template.
128 2007-11-18 Jim Evins <evins@snaught.com>
130 * libglabels/db.c: (lgl_db_register_template), (read_templates):
131 When registering a new template, don't add to "User defined" category before
132 writing to file. Add to "User defined" category when reading from "~/.glabels"
133 directory instead. This will allow legacy templates (and manually created
134 templates) to be automatically added to the "user defined" category.
135 * libglabels/xml-template.c:
136 (lgl_xml_template_create_template_node):
137 Fixed typo/bug causing brand to be wrong.
139 2007-11-16 Jim Evins <evins@snaught.com>
143 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
144 function. Automatically create "User defined" category and add to all user
145 registered templates.
146 * libglabels/xml-template.c:
147 * libglabels/xml-template.h:
148 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
149 lgl_xml_template_write_template_to_file().
150 * docs/libglabels/libglabels-decl-list.txt:
151 * docs/libglabels/libglabels-sections.txt:
152 * docs/libglabels/libglabels-undocumented.txt:
153 * docs/libglabels/tmpl/db.sgml:
154 * docs/libglabels/tmpl/xml-template.sgml:
155 Update documentation to reflect above changes.
157 2007-10-28 Jim Evins <evins@snaught.com>
159 * libglabels/xml-template.c:
160 Remove any leading white space from part #s when parsing old names.
161 * src/mini-preview-pixbuf-cache.c:
162 If name isn't in cache add it.
164 2007-10-26 Jim Evins <evins@snaught.com>
166 * libglabels/Makefile.am:
167 * libglabels/category.c:
168 * libglabels/category.h:
171 * libglabels/libglabels-private.h:
172 * libglabels/libglabels.h:
173 * libglabels/paper.c:
174 * libglabels/paper.h:
175 * libglabels/template.c:
176 * libglabels/template.h:
177 * libglabels/xml-template.c:
178 Another pass at screwing with the libglabels API. Moved all
179 database related stuff to db.[ch].
180 * docs/libglabels/libglabels-decl-list.txt:
181 * docs/libglabels/libglabels-docs.sgml:
182 * docs/libglabels/libglabels-sections.txt:
183 * docs/libglabels/libglabels-undocumented.txt:
184 * docs/libglabels/tmpl/category.sgml:
185 * docs/libglabels/tmpl/db.sgml:
186 * docs/libglabels/tmpl/init.sgml:
187 * docs/libglabels/tmpl/libglabels-unused.sgml:
188 * docs/libglabels/tmpl/paper.sgml:
189 * docs/libglabels/tmpl/template-construction.sgml:
190 * docs/libglabels/tmpl/template-db.sgml:
191 * docs/libglabels/tmpl/template-misc.sgml:
192 * docs/libglabels/tmpl/template-struct.sgml:
193 * docs/libglabels/tmpl/template.sgml:
194 Updated documentation to reflect above changes to libglabels API.
196 * src/glabels-batch.c:
198 * src/mini-preview-pixbuf-cache.c:
201 * src/template-designer.c:
202 * src/wdgt-media-select.c:
203 * src/wdgt-mini-preview.c:
204 * src/wdgt-rotate-label.c:
205 * src/xml-label-04.c:
207 Reconciled usage with above libglabels API changes.
209 2007-10-21 Jim Evins <evins@snaught.com>
211 * data/glade/wdgt-media-select.glade:
212 * src/wdgt-media-select.c:
213 Added brand to filter settings.
215 2007-10-21 Jim Evins <evins@snaught.com>
217 * data/dtd/glabels-2.2.dtd:
218 Forgot to replace Alias name attribute with brand and part attributes.
219 * data/templates/avery-iso-templates.xml:
220 * data/templates/avery-other-templates.xml:
221 * data/templates/avery-us-templates.xml:
222 * data/templates/misc-iso-templates.xml:
223 * data/templates/misc-other-templates.xml:
224 * data/templates/misc-us-templates.xml:
225 * data/templates/zweckform-iso-templates.xml:
226 Replaced all name attributes with brand/part attribute pairs.
228 2007-10-20 Jim Evins <evins@snaught.com>
230 * src/stock-pixmaps/*.png
231 Updated icons to use Tango color palette.
233 2007-10-20 Jim Evins <evins@snaught.com>
235 * data/dtd/Makefile.am:
236 * data/dtd/glabels-2.0.dtd:
237 * data/dtd/glabels-2.2.dtd:
238 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
240 * libglabels/template.c:
241 * libglabels/template.h:
242 * libglabels/xml-template.c:
244 Added brand and part attributes to template and alias structures and nodes.
247 * src/mini-preview-pixbuf-cache.c:
248 * src/template-designer.c:
249 * src/wdgt-media-select.c:
250 Use modified libglabels API.
251 * docs/libglabels/libglabels-decl-list.txt:
252 * docs/libglabels/libglabels-sections.txt:
253 * docs/libglabels/libglabels-undocumented.txt:
254 * docs/libglabels/tmpl/template-construction.sgml:
255 * docs/libglabels/tmpl/template-db.sgml:
256 * docs/libglabels/tmpl/template-struct.sgml:
257 Update libglabels documentation to reflect above modifications.
259 2007-10-14 Jim Evins <evins@snaught.com>
261 * docs/libglabels/libglabels-decl-list.txt:
262 * docs/libglabels/libglabels-sections.txt:
263 * docs/libglabels/libglabels-undocumented.txt:
264 * docs/libglabels/tmpl/category.sgml:
265 * libglabels/category.c:
266 * libglabels/category.h:
267 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
268 parity with paper functions.
270 2007-10-12 Jim Evins <evins@snaught.com>
272 * docs/libglabels/libglabels-decl-list.txt:
273 * docs/libglabels/libglabels-sections.txt:
274 * docs/libglabels/libglabels-undocumented.txt:
275 * docs/libglabels/tmpl/category.sgml:
276 * docs/libglabels/tmpl/enums.sgml:
277 * docs/libglabels/tmpl/libglabels-unused.sgml:
278 * docs/libglabels/tmpl/paper.sgml:
279 * docs/libglabels/tmpl/template-struct.sgml:
281 * libglabels/template.c:
282 * libglabels/template.h:
283 Another pass at fleshing out the libglabels documentation.
284 * src/cairo-label-path.c:
285 * src/cairo-markup-path.c:
287 * src/mini-preview-pixbuf.c:
291 * src/wdgt-media-select.c:
292 * src/wdgt-mini-preview.c:
293 * src/wdgt-print-copies.c:
294 * src/wdgt-print-merge.c:
295 * src/wdgt-rotate-label.c:
296 Removed lgl_template_get_first_frame() from libglabels API and all references.
298 2007-10-11 Jim Evins <evins@snaught.com>
300 Extended checks for deprecated symbols.
301 * libglabels/template.c:
302 Removed g_strcasecmp references, which are deprecated.
304 2007-10-09 Jim Evins <evins@snaught.com>
306 * src/merge-evolution.c:
307 Create address book if it does not exist. Also, be more robust about handling
308 error conditions -- don't just assume GError has been set.
310 2007-10-08 Jim Evins <evins@snaught.com>
312 * libglabels/template.c:
313 * libglabels/xml-template.c:
314 * src/template-designer.c:
315 Missed some symbols with libglabels API work.
317 2007-10-01 Jim Evins <evins@snaught.com>
319 * docs/libglabels/libglabels-decl-list.txt:
320 * docs/libglabels/libglabels-docs.sgml:
321 * docs/libglabels/libglabels-sections.txt:
322 * docs/libglabels/libglabels-undocumented.txt:
323 * docs/libglabels/tmpl/category.sgml:
324 * docs/libglabels/tmpl/enums.sgml:
325 * docs/libglabels/tmpl/init.sgml:
326 * docs/libglabels/tmpl/libglabels-unused.sgml:
327 * docs/libglabels/tmpl/paper.sgml:
328 * docs/libglabels/tmpl/template-construction.sgml:
329 * docs/libglabels/tmpl/template-db.sgml:
330 * docs/libglabels/tmpl/template-misc.sgml:
331 * docs/libglabels/tmpl/template-struct.sgml:
332 * docs/libglabels/tmpl/template.sgml:
333 * docs/libglabels/tmpl/xml-category.sgml:
334 * docs/libglabels/tmpl/xml-template.sgml:
335 * libglabels/category.h:
337 * libglabels/libglabels-private.h:
338 * libglabels/paper.h:
339 * libglabels/template.c:
340 * libglabels/template.h:
341 * libglabels/xml-template.h:
342 Basic documentation framework for libglabels updated. This still needs some
345 2007-09-27 Jim Evins <evins@snaught.com>
347 * docs/libglabels/libglabels-decl-list.txt:
348 * docs/libglabels/libglabels-docs.sgml:
349 * docs/libglabels/libglabels-sections.txt:
350 * docs/libglabels/libglabels-undocumented.txt:
351 * docs/libglabels/tmpl/enums.sgml:
352 * docs/libglabels/tmpl/init.sgml:
353 * docs/libglabels/tmpl/libglabels-unused.sgml:
354 * docs/libglabels/tmpl/paper.sgml:
355 * docs/libglabels/tmpl/template.sgml:
356 * docs/libglabels/tmpl/xml-paper.sgml:
357 * docs/libglabels/tmpl/xml-template.sgml:
358 * docs/libglabels/tmpl/xml.sgml:
359 * libglabels/Makefile.am:
360 * libglabels/category.c:
361 * libglabels/category.h:
362 * libglabels/enums.h:
365 * libglabels/libglabels-private.h:
366 * libglabels/libglabels.h:
367 * libglabels/paper.c:
368 * libglabels/paper.h:
369 * libglabels/template.c:
370 * libglabels/template.h:
371 * libglabels/xml-category.c:
372 * libglabels/xml-category.h:
373 * libglabels/xml-paper.c:
374 * libglabels/xml-paper.h:
375 * libglabels/xml-template.c:
376 * libglabels/xml-template.h:
379 * src/cairo-label-path.c:
380 * src/cairo-label-path.h:
381 * src/cairo-markup-path.c:
382 * src/cairo-markup-path.h:
384 * src/glabels-batch.c:
386 * src/label-object.c:
389 * src/mini-preview-pixbuf-cache.c:
390 * src/mini-preview-pixbuf.c:
391 * src/mini-preview-pixbuf.h:
392 * src/prefs-dialog.c:
399 * src/template-designer.c:
400 * src/view-barcode.c:
402 * src/view-ellipse.c:
406 * src/wdgt-media-select.c:
407 * src/wdgt-mini-preview.c:
408 * src/wdgt-mini-preview.h:
409 * src/wdgt-print-copies.c:
410 * src/wdgt-print-merge.c:
411 * src/wdgt-rotate-label.c:
412 * src/xml-label-04.c:
414 Major cleanup of libglabels API -- this breaks API compatibility with older
415 development and stable versions -- as far as I know, there are currently
416 no external users of this library yet.
418 2007-09-14 Jim Evins <evins@snaught.com>
423 * src/label-object.c:
424 * src/label-object.h:
425 * src/label-barcode.c:
426 * src/label-ellipse.c:
429 * src/view-barcode.c:
431 * src/view-ellipse.c:
435 Better separation of model from view.
437 2007-08-21 Jim Evins <evins@snaught.com>
439 * src/print-op.c: (create_custom_widget_cb):
440 Fix problem with force_outline_flag -- don't override with default.
442 2007-08-21 Jim Evins <evins@snaught.com>
444 * data/dtd/glabels-2.0.dtd:
445 * libglabels/template.c:
446 * libglabels/template.h:
447 * libglabels/xml-template.c:
448 * src/cairo-markup-path.c:
449 Added "Markup-rect" element to template format.
451 2007-08-21 Jim Evins <evins@snaught.com>
454 Changed version to 2.1.pre5svn.
455 * src/view.c: (draw_markup_layer):
456 Do a stroke for each markup path, otherwise multiple markups
459 2007-08-17 Jim Evins <evins@snaught.com>
462 Bump libglabels revision numbers for 2.1.4 release.
464 2007-08-16 Jim Evins <evins@snaught.com>
467 Include subdir iec16022-0.2.1.
471 Preparation for 2.1.4.
474 2007-08-11 Jim Evins <evins@snaught.com>
480 Added Esperanto translation. Provided by Antonio C.
481 Codazzi "la Filozofo" <f_sophia@libero.it>.
483 Updated French translation. Provided by Claude Paroz
484 <claude@2xlibre.net>.
486 Updated to reflect above translations.
488 2007-08-11 Jim Evins <evins@snaught.com>
491 * data/templates/avery-iso-templates.xml:
492 * data/templates/avery-us-templates.xml:
493 * data/templates/misc-iso-templates.xml:
494 * data/templates/misc-other-templates.xml:
495 * data/templates/misc-us-templates.xml:
496 * data/templates/zweckform-iso-templates.xml:
497 Caught up with backlog of template submissions.
499 2007-08-10 Jim Evins <evins@snaught.com>
501 * src/bc-postnet.c: (gl_barcode_postnet_new):
503 Added support for Brazilian CEPNet barcodes. This is simply an
504 instance of the US POSTNET format with 8 digits. Patch supplied
505 by Mário Meyer in bug # 1768792.
507 Updated acknowledgments to reflect above patch and recent shuffling
508 of underlying technology.
510 2007-05-13 Jim Evins <evins@snaught.com>
512 * src/merge-text.c: (parse_line), (parse_field):
513 Remove leading and trailing spaces from CSV fields, unless quoted.
515 2007-05-09 Jim Evins <evins@snaught.com>
517 * src/object-editor-bc-page.c:
518 * src/object-editor-data-page.c:
519 * src/object-editor-fill-page.c:
520 * src/object-editor-image-page.c:
521 * src/object-editor-line-page.c:
522 * src/object-editor-lsize-page.c:
523 * src/object-editor-position-page.c:
524 * src/object-editor-private.h:
525 * src/object-editor-shadow-page.c:
526 * src/object-editor-size-page.c:
527 * src/object-editor-text-page.c:
528 * src/object-editor.c:
529 * src/prefs-dialog.c:
530 * src/template-designer.c:
531 * src/ui-property-bar.c:
532 * src/wdgt-media-select.c:
533 Replaced signal block/unblock pairs with simple flags. This reduces
534 some code clutter, hopefully making it easier to read.
536 2007-05-05 Jim Evins <evins@snaught.com>
538 * src/template-designer.c: (apply_cb):
539 Add new template to mini-preview pixbuf cache.
541 2007-05-03 Jim Evins <evins@snaught.com>
543 * src/label-image.c: (gl_label_image_init), (draw_object):
544 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
547 2007-05-02 Jim Evins <evins@snaught.com>
549 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
550 (button_release_event_cb):
551 Removed attempt at rendering optimization by clipping the updates
552 to areas affected -- this actually seemed to hurt update performance.
554 2007-04-30 Jim Evins <evins@snaught.com>
557 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
558 (gl_color_node_equal), (gl_color_node_expand):
559 * src/label-barcode.c: (draw_object):
560 * src/label-box.c: (draw_object), (draw_shadow):
561 * src/label-ellipse.c: (draw_object), (draw_shadow):
562 * src/label-line.c: (draw_object), (draw_shadow):
563 * src/label-text.c: (draw_object), (draw_shadow):
564 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
565 * src/wdgt-rotate-label.c: (drawingarea_update):
566 Some cleanup to color related code.
568 2007-04-30 Jim Evins <evins@snaught.com>
571 Added glLabelRegion structure type.
572 * src/label-object.c: (gl_label_object_get_extent):
573 * src/label-object.h:
574 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
576 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
577 (gl_view_select_region), (gl_view_align_selection_left),
578 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
579 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
580 (gl_view_align_selection_vcenter),
581 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
582 (gl_view_move_selection), (gl_view_can_selection_text),
583 (motion_notify_event_cb), (button_press_event_cb),
584 (button_release_event_cb):
585 - Reconcile with new gl_label_object_get_extent() API.
586 - Use glLabelRegion for view->select_region.
587 - Added gl_view_update_region() to clip updates to region.
588 - Use gl_view_update_region() during manipulation of view->select_region.
590 2007-04-26 Jim Evins <evins@snaught.com>
592 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
593 (draw_label_outline):
594 * src/print.c: (print_crop_marks), (draw_outline):
595 * src/view-object.c: (gl_view_object_draw_handles):
596 * src/view.c: (draw_bg_layer), (draw_grid_layer),
597 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
598 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
599 * src/wdgt-rotate-label.c: (drawingarea_update):
600 Added defines for various magic numbers.
602 2007-04-25 Jim Evins <evins@snaught.com>
604 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
605 Scale text down. Cairo seems to render text too large.
607 2007-04-25 Jim Evins <evins@snaught.com>
610 * src/view.c: (gl_view_update), (expose_cb),
611 (motion_notify_event_cb), (button_press_event_cb),
612 (button_release_event_cb):
613 - Try not to let updates get backed up.
614 - Grab pointer when doing any drag operations.
616 2007-04-11 Jim Evins <evins@snaught.com>
618 * src/cairo-label-path.c: (gl_cairo_label_path),
619 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
620 (gl_cairo_cd_label_path):
621 * src/cairo-label-path.h:
622 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
623 (draw_label_outline):
624 * src/print.c: (draw_outline), (clip_to_outline):
625 * src/view.c: (draw_bg_layer), (draw_fg_layer):
626 * src/wdgt-mini-preview.c: (draw_labels):
627 * src/wdgt-rotate-label.c: (drawingarea_update):
628 Modified to universally use gl_cairo_label_path() to create paths
629 for labels. Added shadow to mini preview in rotate widget.
631 2007-04-10 Jim Evins <evins@snaught.com>
633 * libglabels/template.h:
634 * libglabels/template.c: (gl_template_get_name_list_unique),
635 (gl_template_get_name_list_all), (gl_template_from_name):
636 Modified libglabels to allow you to get a list of all template names
637 including all aliases or just a list of primary names of each unique
640 * src/file.c: (gl_file_properties):
641 * src/glabels.c: (main):
642 * src/mini-preview-pixbuf-cache.h:
643 * src/mini-preview-pixbuf-cache.c:
644 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
645 (filter_changed_cb), (load_list):
646 Added mini-preview pixbuf cache, so that only one mini-preview is
647 needed for a unique template and gets reused for all aliases. These
648 pixbufs will also live for the life of the program so they are not
649 rebuilt everytime a new label dialog is invoked.
650 * src/mini-preview-pixbuf.c: (draw_paper),
651 (draw_rect_label_outline), (draw_round_label_outline),
652 (draw_cd_label_outline):
653 Removed some comment artifacts.
655 2007-04-04 Jim Evins <evins@snaught.com>
657 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
658 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
659 (draw_round_label_outline), (draw_cd_label_outline):
660 * src/wdgt-media-select.c: (load_list):
661 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
662 Cosmetic enhancments to mini previews.
664 2007-04-04 Jim Evins <evins@snaught.com>
666 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
667 (gl_ui_property_bar_construct):
668 Save copy of GladeXML tree so that we don't lose tooltips.
670 2007-04-02 Jim Evins <evins@snaught.com>
672 * src/merge-properties-dialog.c:
673 * src/new-label-dialog.c:
674 * src/object-editor.c:
675 * src/prefs-dialog.c:
677 * src/template-designer.c:
678 * src/ui-property-bar.c:
679 * src/wdgt-media-select.c:
680 * src/wdgt-rotate-label.c:
681 Fixed several memory leaks.
683 2007-04-01 Jim Evins <evins@snaught.com>
685 * src/label-text.c: (gl_label_text_init), (copy),
686 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
687 (set_font_family), (set_font_size), (set_font_weight),
688 (set_font_italic_flag), (set_text_alignment),
689 (set_text_line_spacing):
690 Cache object size, so that expensive extent calculations are only done
693 2007-03-30 Jim Evins <evins@snaught.com>
695 * src/prefs-model.c: (gl_prefs_model_load_settings):
696 Default to an unlimited list of recent documents, since this parameter
697 seems to be pre-filter anyway.
699 2007-03-30 Jim Evins <evins@snaught.com>
701 * src/label-box.c: (draw_shadow):
702 * src/label-ellipse.c: (draw_shadow):
703 Added missing shadow fill.
705 2007-03-28 Jim Evins <evins@snaught.com>
707 * src/ui-commands.c: (gl_ui_cmd_file_print):
708 Unreferencing the print operation sometimes crashes. Just don't do it
711 2007-03-28 Jim Evins <evins@snaught.com>
713 * src/print-op.c: (gl_print_op_construct),
714 (gl_print_op_get_settings), (gl_print_op_set_settings),
715 (gl_print_op_free_settings), (create_custom_widget_cb):
717 * src/ui-commands.c: (gl_ui_cmd_file_print):
718 * src/window.c: (gl_window_init):
720 Save print settings and custom settings between print operations
723 2007-03-24 Jim Evins <evins@snaught.com>
725 * src/object-editor-image-page.c:
726 (gl_object_editor_prepare_image_page),
727 (gl_object_editor_set_image), (img_selection_changed_cb):
728 Workaround for GtkFileChooserButton bug # 327243. This the root
729 cause for gLabels bug # 1192884. I have actually observed 3 delayed
730 "selection-changed" signals -- the first 2 return NULL -- this is
731 what caused the image to reset to the default followed by setting
732 it back to the original image, trying to fit it into a new bounding
733 box. This sequence of events is much more evident with the new
736 2007-03-23 Jim Evins <evins@snaught.com>
738 Merged all changes from experimental cairo branch to trunk.
739 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
741 2007-03-23 Jim Evins <evins@snaught.com>
743 * src/label-object.h:
744 * src/label-object.c: (gl_label_object_class_init),
745 (gl_label_object_get_raw_size), (gl_label_object_get_size):
746 Created "get_raw_size" method.
747 * src/label-barcode.c: (get_size):
748 * src/xml-label.c: (xml_create_object_text),
749 (xml_create_object_barcode):
750 Use new "get_raw_size" method on label-objects when apropos.
752 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
753 (auto_shrink_font_size):
754 Added "auto shrink" functionality back.
756 2007-03-19 Jim Evins <evins@snaught.com>
758 * src/label-text.c: (draw_object), (draw_shadow):
759 Don't use negative scales in workaround from previous commit.
762 2007-03-18 Jim Evins <evins@snaught.com>
765 Forgot to remove include of xml-lable-191 in previous commit.
766 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
767 Workaround for pango Bug #341481. Render text at device scale,
768 and scale font size accordingly. Also, don't do any hinting.
770 2007-03-18 Jim Evins <evins@snaught.com>
772 * src/cairo-ellipse-path.c:
773 * src/cairo-ellipse-path.h:
774 Forgot to add these new files during last mass commit.
776 2007-03-18 Jim Evins <evins@snaught.com>
779 * src/xml-label-191.c:
780 * src/xml-label-191.h:
781 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
782 so there is no need to keep compatability.
785 * src/cairo-label-path.c:
786 * src/cairo-label-path.h:
787 * src/cairo-markup-path.c:
791 * src/glabels-batch.c:
793 * src/label-barcode.c:
795 * src/label-ellipse.c:
798 * src/label-object.c:
799 * src/label-object.h:
803 * src/merge-properties-dialog.c:
805 * src/new-label-dialog.c:
806 * src/object-editor-bc-page.c:
807 * src/object-editor-data-page.c:
808 * src/object-editor-edit-page.c:
809 * src/object-editor-fill-page.c:
810 * src/object-editor-image-page.c:
811 * src/object-editor-line-page.c:
812 * src/object-editor-private.h:
813 * src/object-editor-shadow-page.c:
814 * src/object-editor-text-page.c:
815 * src/object-editor.c:
816 * src/pixbuf-cache.c:
821 * src/template-designer.c:
823 * src/ui-property-bar.c:
825 * src/view-barcode.c:
827 * src/view-ellipse.c:
834 * src/wdgt-media-select.c:
835 * src/wdgt-print-copies.c:
836 * src/wdgt-print-merge.c:
838 * src/xml-label-04.c:
840 Many changes, including:
841 - Move draw methods from view-*() to label-*().
842 - Use same drawing code for on screen view and printing.
843 - Fix all issues exposed with '-Wall -Werror'.
845 2007-03-14 Jim Evins <evins@snaught.com>
848 * src/cairo-handle-path.c:
849 * src/cairo-handle-path.h:
850 * src/cairo-object-path.c:
851 * src/cairo-object-path.h:
852 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
853 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
855 * src/view-box.c: (gl_view_box_class_init), (draw_object),
856 (draw_shadow), (object_at):
857 * src/view-ellipse.c: (gl_view_ellipse_class_init),
858 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
859 * src/view-image.c: (gl_view_image_class_init), (draw_object),
861 * src/view-line.c: (gl_view_line_class_init), (draw_object),
862 (draw_shadow), (object_at):
863 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
864 (create_handle_path), (gl_view_object_draw_handles),
865 (gl_view_object_handle_at):
867 * src/view-text.c: (gl_view_text_class_init), (draw_object),
868 (draw_shadow), (object_at):
869 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
870 Some restructuring of new code.
872 2007-03-12 Jim Evins <evins@snaught.com>
875 * src/cairo-object-path.c:
876 * src/view-barcode.c:
877 * src/view-barcode.h:
879 Added barcode object support to view.
881 2007-03-12 Jim Evins <evins@snaught.com>
887 * src/cairo-object-path.c:
888 * src/cairo-object-path.h:
890 * src/view-ellipse.c:
895 Added text object support to view. Added object_at method to all
898 2007-03-11 Jim Evins <evins@snaught.com>
901 * src/cairo-object-path.c: (gl_cairo_object_path),
902 (gl_cairo_image_object_path):
903 * src/view-image.c: (gl_view_image_class_init),
904 (gl_view_image_finalize), (gl_view_image_new),
905 (update_editor_from_label_cb), (draw),
906 (gl_view_image_get_create_cursor),
907 (gl_view_image_create_button_press_event),
908 (gl_view_image_create_motion_event),
909 (gl_view_image_create_button_release_event):
911 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
912 (selection_received_cb), (motion_notify_event_cb),
913 (button_press_event_cb), (button_release_event_cb):
914 Added image object support to view.
916 2007-03-11 Jim Evins <evins@snaught.com>
919 * src/cairo-object-path.c: (gl_cairo_object_path),
920 (gl_cairo_line_object_path):
921 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
922 (update_object_from_editor_cb), (update_editor_from_object_cb),
923 (update_editor_from_label_cb), (draw),
924 (gl_view_line_get_create_cursor),
925 (gl_view_line_create_button_press_event),
926 (gl_view_line_create_motion_event),
927 (gl_view_line_create_button_release_event):
929 * src/view-object.c: (gl_view_object_resize_event):
930 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
931 (selection_received_cb), (motion_notify_event_cb),
932 (button_press_event_cb), (button_release_event_cb):
933 Added line object support to view.
934 * src/cairo-handle-path.c:
935 Made handles slightly larger.
938 2007-03-11 Jim Evins <evins@snaught.com>
941 * src/cairo-handle-path.c:
942 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
943 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
944 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
945 (gl_cairo_markup_margin_round_path),
946 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
947 * src/cairo-object-path.c: (gl_cairo_object_path),
948 (gl_cairo_ellipse_object_path):
949 * src/label-object.c: (gl_label_object_rotate):
952 * src/view-ellipse.c: (gl_view_ellipse_class_init),
953 (gl_view_ellipse_new), (update_object_from_editor_cb),
954 (update_editor_from_object_cb), (update_editor_from_label_cb),
955 (draw), (gl_view_ellipse_get_create_cursor),
956 (gl_view_ellipse_create_button_press_event),
957 (gl_view_ellipse_create_motion_event),
958 (gl_view_ellipse_create_button_release_event):
959 * src/view-ellipse.h:
962 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
963 (select_object_real), (selection_received_cb),
964 (motion_notify_event_cb), (button_press_event_cb),
965 (button_release_event_cb):
967 Added ellipse object support to view. Plus other cleanup.
969 2007-03-11 Jim Evins <evins@snaught.com>
972 * src/view-box.c: (gl_view_box_get_create_cursor),
973 (gl_view_box_create_button_press_event),
974 (gl_view_box_create_motion_event),
975 (gl_view_box_create_button_release_event):
976 * src/view-object.c: (gl_view_object_set_view),
977 (gl_view_object_handle_at):
979 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
980 (motion_notify_event_cb), (button_press_event_cb),
981 (button_release_event_cb), (key_press_event_cb):
982 Added creation code for box object.
984 2007-03-09 Jim Evins <evins@snaught.com>
986 * src/view-object.c: (gl_view_object_resize_event):
988 * src/view.c: (motion_notify_event_cb):
989 Fix bugs with resizing transformed objects.
990 * src/cairo-handle-path.c: (gl_cairo_handle_path):
991 * src/cairo-object-path.c: (gl_cairo_object_path):
992 * src/cairo-object-path.h:
993 * src/label-object.c: (gl_label_object_init),
994 (gl_label_object_dup), (gl_label_object_get_extent),
995 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
996 (gl_label_object_rotate), (gl_label_object_set_matrix),
997 (gl_label_object_get_matrix):
998 * src/label-object.h:
999 * src/print.c: (draw_object):
1001 * src/view-highlight.c:
1002 * src/view-highlight.h:
1003 * src/xml-label-191.c: (xml191_parse_object):
1004 * src/xml-label.c: (xml_parse_affine_attrs),
1005 (xml_create_affine_attrs):
1006 Replace libart affine matrices with cairo matrices.
1008 2007-03-08 Jim Evins <evins@snaught.com>
1010 * src/view-object.h:
1011 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1012 * src/view-object.c: (gl_view_object_handle_at),
1013 (gl_view_object_resize_event):
1014 Added resize code -- still a bit buggy.
1016 2007-03-07 Jim Evins <evins@snaught.com>
1019 * src/cairo-handle-path.c:
1020 * src/cairo-handle-path.h:
1021 * src/view-box.c: (gl_view_box_new):
1022 * src/view-object.c: (gl_view_object_set_object),
1023 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1024 * src/view-object.h:
1025 * src/view.c: (draw_highlight_layer), (select_object_real),
1026 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1027 (button_press_event_cb), (button_release_event_cb),
1028 (key_press_event_cb):
1030 Added beginnings of object resize handles.
1032 2007-03-07 Jim Evins <evins@snaught.com>
1035 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1036 (gl_view_object_create_mode), (motion_notify_event_cb),
1037 (button_press_event_cb), (button_release_event_cb),
1038 (key_press_event_cb):
1039 Added move selection support.
1041 2007-03-05 Jim Evins <evins@snaught.com>
1043 * src/cairo-object-path.c: (gl_cairo_object_path):
1044 * src/view-object.c: (gl_view_object_draw),
1045 (gl_view_object_draw_highlight):
1046 * src/view.c: (view_object_at), (motion_notify_event_cb),
1047 (button_press_event_cb), (button_release_event_cb):
1048 Additional refinements to select logic.
1050 2007-03-05 Jim Evins <evins@snaught.com>
1053 * src/view.c: (gl_view_init), (gl_view_construct),
1054 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1055 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1056 (button_press_event_cb), (button_release_event_cb):
1057 Added initial select region support and context menu.
1059 2007-03-04 Jim Evins <evins@snaught.com>
1070 * src/ui-commands.c:
1073 * src/view-object.c:
1074 * src/view-object.h:
1077 * src/wdgt-print-copies.c:
1078 * src/wdgt-print-merge.c:
1080 Initial port to a raw Cairo canvas. This removes all remaining
1081 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1082 the view is becoming a canvas widget in its own right. Still needs
1084 * src/cairo-label-path.c:
1085 * src/cairo-label-path.h:
1086 * src/cairo-markup-path.c:
1087 * src/cairo-markup-path.h:
1088 * src/cairo-object-path.c:
1089 * src/cairo-object-path.h:
1090 New files to support cairo canvas.
1091 * src/canvas-hacktext.c:
1092 * src/canvas-hacktext.h:
1095 2007-02-18 Jim Evins <evins@snaught.com>
1098 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1100 2007-02-14 Jim Evins <evins@snaught.com>
1104 * src/bc-gnubarcode.c:
1105 * src/bc-gnubarcode.h:
1110 * src/canvas-hacktext.c:
1111 * src/canvas-hacktext.h:
1118 * src/label-barcode.c:
1119 * src/label-barcode.h:
1122 * src/label-ellipse.c:
1123 * src/label-ellipse.h:
1124 * src/label-image.c:
1125 * src/label-image.h:
1128 * src/label-object.c:
1129 * src/label-object.h:
1134 * src/merge-evolution.c:
1135 * src/merge-evolution.h:
1138 * src/merge-properties-dialog.c:
1139 * src/merge-properties-dialog.h:
1142 * src/merge-vcard.c:
1143 * src/merge-vcard.h:
1146 * src/mini-preview-pixbuf.h:
1147 * src/new-label-dialog.c:
1148 * src/new-label-dialog.h:
1149 * src/object-editor-bc-page.c:
1150 * src/object-editor-data-page.c:
1151 * src/object-editor-edit-page.c:
1152 * src/object-editor-fill-page.c:
1153 * src/object-editor-image-page.c:
1154 * src/object-editor-line-page.c:
1155 * src/object-editor-lsize-page.c:
1156 * src/object-editor-position-page.c:
1157 * src/object-editor-private.h:
1158 * src/object-editor-size-page.c:
1159 * src/object-editor-text-page.c:
1160 * src/object-editor.c:
1161 * src/object-editor.h:
1162 * src/pixbuf-cache.c:
1163 * src/pixbuf-cache.h:
1164 * src/prefs-dialog.c:
1165 * src/prefs-dialog.h:
1166 * src/prefs-model.c:
1167 * src/prefs-model.h:
1173 * src/template-designer.c:
1176 * src/ui-commands.c:
1177 * src/ui-commands.h:
1178 * src/ui-property-bar.c:
1179 * src/ui-property-bar.h:
1188 * src/view-barcode.c:
1189 * src/view-barcode.h:
1192 * src/view-ellipse.c:
1193 * src/view-ellipse.h:
1194 * src/view-highlight.c:
1195 * src/view-highlight.h:
1200 * src/view-object.c:
1201 * src/view-object.h:
1206 * src/wdgt-chain-button.c:
1207 * src/wdgt-chain-button.h:
1208 * src/wdgt-media-select.c:
1209 * src/wdgt-mini-preview.c:
1210 * src/wdgt-print-copies.c:
1211 * src/wdgt-print-copies.h:
1212 * src/wdgt-print-merge.c:
1213 * src/wdgt-print-merge.h:
1214 * src/wdgt-rotate-label.c:
1216 * src/xml-label-04.c:
1217 * src/xml-label-04.h:
1218 * src/xml-label-191.c:
1219 * src/xml-label-191.h:
1223 Assorted superficial cleanup. Including:
1224 - Use G_DEFINE_TYPE for all objects.
1225 - Reconcile style of all class initializer functions
1226 - Reconcile style of all finalize functions
1227 - Add emacs mode line to all source files
1229 2007-02-06 Jim Evins <evins@snaught.com>
1231 Assorted cleanup and removal of deprecated items.
1236 Removed annoying splash screen.
1237 * src/glabels-batch.c: (main):
1238 * src/glabels.c: (main):
1239 Converted from popt to GOption.
1240 * src/object-editor-shadow-page.c:
1241 (gl_object_editor_set_shadow_state):
1242 Removed deprecated method on GtkToggleButton.
1243 * src/ui-commands.c: (gl_ui_cmd_help_about):
1244 Removed dependency on libgnomui/qnome-url.h.
1245 * src/template-designer.c:
1246 Removed dependency on libgnome/gnome-program.h.
1249 2007-02-04 Jim Evins <evins@snaught.com>
1253 * src/prefs-model.c:
1254 * src/print.c: (draw_text_object):
1255 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1256 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1258 2007-02-04 Jim Evins <evins@snaught.com>
1260 * src/wdgt-mini-preview.c:
1261 * src/wdgt-mini-preview.h:
1262 Ported widget from GnomeCanvas to Cairo.
1264 2007-02-03 Jim Evins <evins@snaught.com>
1266 * data/glade/template-designer.glade:
1267 * src/template-designer.c:
1268 * src/template-designer.h:
1269 Ported GnomeDruid to GtkAssistant. Since libglade does not
1270 yet support the GtkAssistant and we derive directly from
1271 the Assistant, the pages are layed out in a GtkNotebook in
1272 the glade description -- we then append each page to the
1275 2007-01-25 Jim Evins <evins@snaught.com>
1277 * data/glade/object-editor.glade:
1278 Added dummy page to notebook, to prevent shadow page from
1279 becoming the default current page at creation.
1280 * src/view-box.c: (construct_properties_editor):
1281 * src/view-ellipse.c: (construct_properties_editor):
1282 * src/view-line.c: (construct_properties_editor):
1283 * src/view-text.c: (construct_properties_editor):
1284 Reconciled order of params.
1286 2007-01-19 Jim Evins <evins@snaught.com>
1288 * src/label-barcode.h:
1289 * src/label-object.c: (gl_label_object_set_font_weight),
1290 (gl_label_object_set_text_alignment),
1291 (gl_label_object_get_font_weight),
1292 (gl_label_object_get_text_alignment):
1293 * src/label-object.h:
1294 * src/label-text.c: (gl_label_text_instance_init), (copy),
1295 (get_size), (set_font_family), (set_font_weight),
1296 (set_text_alignment), (get_font_weight), (get_text_alignment):
1298 * src/object-editor-text-page.c:
1299 (gl_object_editor_prepare_text_page),
1300 (gl_object_editor_set_font_family),
1301 (gl_object_editor_set_font_weight),
1302 (gl_object_editor_get_font_weight),
1303 (gl_object_editor_set_text_alignment),
1304 (gl_object_editor_get_text_alignment),
1305 (gl_object_editor_set_text_color):
1306 * src/object-editor.h:
1307 * src/prefs-dialog.c: (construct_object_page),
1308 (update_object_page_from_prefs), (update_prefs_from_object_page):
1309 * src/prefs-model.c: (gl_prefs_model_save_settings),
1310 (gl_prefs_model_load_settings):
1311 * src/prefs-model.h:
1312 * src/print.c: (draw_text_object):
1313 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1314 (reset_to_default_properties), (update_text_properties),
1315 (font_bold_toggled_cb), (text_align_toggled_cb):
1317 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1318 (gl_util_weight_to_string), (gl_util_string_to_weight),
1319 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1321 * src/view-text.c: (update_object_from_editor_cb),
1322 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1323 * src/view.c: (gl_view_set_selection_text_alignment),
1324 (gl_view_set_default_text_alignment),
1325 (gl_view_get_default_text_alignment):
1327 * src/xml-label-04.c: (xml04_parse_text_props):
1328 * src/xml-label-191.c: (xml191_parse_text_props):
1329 * src/xml-label.c: (xml_parse_object_text),
1330 (xml_parse_toplevel_span), (xml_create_object_text),
1331 (xml_create_toplevel_span):
1332 Converted all model internals to Pango. GnomeFont remains in
1333 view until GnomeCanvas can be replaced with a cairo-based canvas.
1335 2007-01-17 Jim Evins <evins@snaught.com>
1341 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1342 (gl_wdgt_print_copies_construct):
1343 * src/wdgt-print-copies.h:
1344 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1345 (gl_wdgt_print_merge_construct):
1346 * src/wdgt-print-merge.h:
1347 Removed all remaining HIG wrapper widgets.
1349 2007-01-16 Jim Evins <evins@snaught.com>
1352 * src/print-dialog.c:
1353 * src/print-dialog.h:
1356 * src/template-designer.c: (print_test_cb):
1357 * src/ui-commands.c: (gl_ui_cmd_file_print):
1359 Renamed PrintDialog to PrintOp. Added constructor for batch
1361 * src/glabels-batch.c: (main):
1362 Converted to use new PrintOp object for printing.
1364 2007-01-15 Jim Evins <evins@snaught.com>
1366 * data/glade/Makefile.am:
1367 * data/glade/print-custom-widget.glade:
1368 * src/print-dialog.c:
1369 * src/print-dialog.h:
1372 * src/template-designer.c: (print_test_cb):
1373 * src/ui-commands.c: (gl_ui_cmd_file_print):
1374 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1375 * src/wdgt-print-merge.h:
1376 * src/window.c: (gl_window_init):
1378 Initial conversion to GtkPrintOperation.
1380 - Remove font and other libgnomeprint[ui] from elsewhere
1381 - Add batch initialization of print operation
1383 2007-01-08 Jim Evins <evins@snaught.com>
1385 Updated dependencies. Set version to 2.1.pre4cvs.
1387 2007-01-03 Jim Evins <evins@snaught.com>
1389 * src/recent-files/*
1390 Removed EggRecent stuff.
1396 * src/ui-commands.c:
1397 * src/ui-commands.h:
1399 Ported from EggRecent to GtkRecentManager.
1402 2007-01-02 Jim Evins <evins@snaught.com>
1405 * iec16022-0.2.1/BUGS:
1406 * iec16022-0.2.1/CHANGELOG:
1407 * iec16022-0.2.1/CREDITS:
1408 * iec16022-0.2.1/INSTALL:
1409 * iec16022-0.2.1/LICENSE:
1410 * iec16022-0.2.1/Makefile.am:
1411 * iec16022-0.2.1/Makefile.dist:
1412 * iec16022-0.2.1/README:
1413 * iec16022-0.2.1/README.glabels:
1414 * iec16022-0.2.1/TODO:
1415 * iec16022-0.2.1/iec16022.1:
1416 * iec16022-0.2.1/iec16022.c:
1417 * iec16022-0.2.1/iec16022ecc200.c:
1418 * iec16022-0.2.1/iec16022ecc200.h:
1419 * iec16022-0.2.1/image.c:
1420 * iec16022-0.2.1/image.h:
1421 * iec16022-0.2.1/reedsol.c:
1422 * iec16022-0.2.1/reedsol.h:
1423 * iec16022-0.2.1/test/testsuite-example.bin:
1424 * iec16022-0.2.1/test/testsuite-example.eps:
1425 * iec16022-0.2.1/test/testsuite-example.hex:
1426 * iec16022-0.2.1/test/testsuite-example.png:
1427 * iec16022-0.2.1/test/testsuite-example.text:
1428 * iec16022-0.2.1/test/testsuite.sh:
1429 Include modified copy of iec16022-0.2.1 to provide encoding
1430 support for datamatrix 2D barcodes.
1432 * src/bc-iec16022.c:
1433 * src/bc-iec16022.h:
1435 Added initial datamatrix 2D barcode backend to barcode code.
1438 Automatic updates to later versions of these files.
1440 2006-11-28 Jim Evins <evins@snaught.com>
1442 * data/templates/avery-iso-templates.xml:
1443 * data/templates/avery-us-templates.xml:
1444 * data/templates/categories.xml:
1445 * data/templates/misc-iso-templates.xml:
1446 * data/templates/misc-us-templates.xml:
1447 * data/templates/zweckform-iso-templates.xml:
1448 More categorization.
1450 2006-09-12 Jim Evins <evins@snaught.com>
1452 * data/dtd/glabels-2.0.dtd:
1453 * data/templates/Makefile.am:
1454 * data/templates/avery-iso-templates.xml:
1455 * data/templates/avery-other-templates.xml:
1456 * data/templates/avery-us-templates.xml:
1457 * data/templates/categories.xml:
1458 * data/templates/misc-iso-templates.xml:
1459 * data/templates/misc-other-templates.xml:
1460 * data/templates/zweckform-iso-templates.xml:
1461 * data/glade/Makefile.am:
1462 * data/glade/new-label-dialog.glade:
1463 * data/glade/wdgt-media-select.glade:
1464 * data/glade/wdgt-rotate-label.glade:
1465 * libglabels/Makefile.am:
1466 * libglabels/category.c:
1467 * libglabels/category.h:
1468 * libglabels/libglabels.h:
1469 * libglabels/paper.c:
1470 * libglabels/template.c:
1471 * libglabels/template.h:
1472 * libglabels/xml-category.c:
1473 * libglabels/xml-category.h:
1474 * libglabels/xml-template.c:
1475 Added support for category meta data.
1478 * src/mini-preview-pixbuf.c:
1479 * src/mini-preview-pixbuf.h:
1480 * src/new-label-dialog.c:
1481 * src/new-label-dialog.h:
1482 * src/wdgt-media-select.c:
1483 * src/wdgt-media-select.h:
1484 * src/wdgt-rotate-label.c:
1485 * src/wdgt-rotate-label.h:
1486 New "new label" dialog.
1488 2006-05-27 Jim Evins <evins@snaught.com>
1493 Preparation for 2.1.3.
1499 2006-05-22 Jim Evins <evins@snaught.com>
1501 * src/print.c: (draw_barcode_object):
1502 Don't print "Invalid barcode data" if data field is empty. Patch provided
1503 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1505 Added acknowledgment for above patch.
1506 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1507 * src/bc-postnet.c: (postnet_code):
1508 Removed "Invalid barcode data" warnings from stderr.
1509 * src/view-barcode.c: (draw_barcode):
1510 Draw box around barcode extent if data empty or invalid. Center a
1511 message whether the data is empty or invalid in box.
1513 2006-05-22 Jim Evins <evins@snaught.com>
1515 * src/print.c: (draw_text_object):
1516 Check shadow state when printing text.
1518 2006-05-20 Jim Evins <evins@snaught.com>
1520 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1521 (gl_ui_cmd_view_markup_toggle):
1522 Fixed crash when grid or markup have been toggled off during
1523 a previous session. Bug #1434324.
1525 2006-04-05 Jim Evins <evins@snaught.com>
1527 * src/object-editor.c: (gl_object_editor_set_key_names):
1528 Fixed potential crash when freeing empty key list.
1530 2006-03-11 Jim Evins <evins@snaught.com>
1532 * src/print.c: (draw_text_object):
1533 * src/view-text.c: (gl_view_text_new),
1534 (construct_properties_editor), (update_object_from_editor_cb),
1535 (update_editor_from_object_cb), (update_editor_from_label_cb),
1537 Added shadow support to text object.
1539 2006-02-18 Jim Evins <evins@snaught.com>
1541 * src/print.c: (draw_line_object):
1542 * src/view-line.c: (gl_view_line_new),
1543 (construct_properties_editor), (update_canvas_item_from_object_cb),
1544 (update_object_from_editor_cb), (update_editor_from_object_cb),
1545 (update_editor_from_label_cb):
1546 Added shadow support to line object.
1548 2006-02-16 Jim Evins <evins@snaught.com>
1552 * src/print.c: (draw_ellipse_object):
1553 * src/view-ellipse.c: (gl_view_ellipse_new),
1554 (construct_properties_editor), (update_canvas_item_from_object_cb),
1555 (update_object_from_editor_cb), (update_editor_from_object_cb),
1556 (update_editor_from_label_cb):
1557 Added shadow support to ellipse object.
1559 2006-02-15 Jim Evins <evins@snaught.com>
1561 * src/label-object.c:
1562 Changed default shadow offsets.
1563 * src/view-box.c: (gl_view_box_new):
1564 Simplified gl_view_box_new() so that is does not duplicate code
1565 in update_canvas_item_from_object_cb().
1567 2006-02-07 Jim Evins <evins@snaught.com>
1569 * data/glade/object-editor.glade:
1570 Fixed color groups of color combos.
1572 Added default shadow color.
1573 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1574 Added shadow color group.
1576 2006-02-06 Jim Evins <evins@snaught.com>
1578 * src/object-editor-shadow-page.c:
1579 Forgot to add this file.
1580 * src/view-box.c: (gl_view_box_new),
1581 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1582 Update limits on shadow offset spinbuttons.
1584 2006-01-19 Jim Evins <evins@snaught.com>
1586 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1587 Initialize key_list to NULL.
1588 * data/glade/object-editor.glade:
1592 * src/label-object.c:
1593 * src/label-object.h:
1594 * src/object-editor-fill-page.c:
1595 * src/object-editor-private.h:
1596 * src/object-editor.c:
1597 * src/object-editor.h:
1599 Created infrastructure for shadow support.
1602 Initial shadow support in box object only.
1604 2006-01-05 Jim Evins <evins@snaught.com>
1606 * src/merge-properties-dialog.c: (src_changed_cb):
1607 Be extra paranoid before calling strcmp().
1608 * src/merge.c: (gl_merge_set_src):
1609 Don't make (merge == NULL) a critical error.
1611 2005-12-22 Jim Evins <evins@snaught.com>
1613 * src/glabels-batch.c: (main):
1614 Compile warning free with gcc 4.0.
1616 2005-12-21 Jim Evins <evins@snaught.com>
1619 Updated example RPM spec file.
1621 2005-12-21 Jim Evins <evins@snaught.com>
1625 Preparation for 2.1.2.
1627 2005-12-20 Jim Evins <evins@snaught.com>
1630 Define unique G_LOG_DOMAIN for glabels.
1631 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1632 * src/warning-handler.c: (gl_warning_handler_init),
1634 Register for G_LOG_DOMAIN instead of NULL.
1636 2005-12-10 Jim Evins <evins@snaught.com>
1638 * src/merge-evolution.c:
1639 * src/merge-vcard.c:
1642 2005-12-08 Jim Evins <evins@snaught.com>
1644 * libglabels/paper.c: (read_paper_files_from_dir):
1645 * libglabels/template.c: (gl_template_register),
1646 (read_template_files_from_dir):
1647 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1648 (gl_xml_paper_parse_papers_doc):
1649 * libglabels/xml-template.c:
1650 (gl_xml_template_read_templates_from_file),
1651 (gl_xml_template_parse_templates_doc),
1652 (gl_xml_template_parse_template_node),
1653 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1654 (xml_parse_label_cd_node), (xml_parse_layout_node),
1655 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1656 (xml_parse_markup_circle_node),
1657 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1658 * libglabels/xml.c: (gl_xml_get_prop_length):
1659 Re-classified g_warnings to g_messages.
1661 * src/glabels.c: (main):
1662 * src/warning-handler.c: (gl_warning_handler_init),
1664 * src/warning-handler.h:
1665 Added warning message handler to make sure the user is
1666 presented with appropriate non-fatal errors.
1667 * src/critical-error-handler.c: (critical_error_handler):
1668 Changed exit to abort.
1669 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1670 * src/bc-postnet.c: (postnet_code):
1671 * src/bc.c: (id_to_index), (name_to_index):
1672 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1673 * src/object-editor.c: (gl_object_notebook_construct_valist):
1674 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1675 * src/prefs.c: (gl_prefs_get_units_per_point),
1676 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1677 (gl_prefs_get_units_string):
1678 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1679 * src/splash.c: (gl_splash):
1680 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1681 * src/view-highlight.c: (gl_view_highlight_new),
1682 (highlight_resizable_box_construct), (object_changed_cb),
1683 (view_scale_changed_cb):
1684 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1685 (draw_markup_layer), (draw_markup_margin),
1686 (gl_view_object_create_mode), (canvas_event),
1687 (selection_received_cb):
1688 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1689 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1690 * src/xml-label-04.c: (gl_xml_label_04_parse),
1691 (xml04_parse_media_description), (xml04_parse_text_props),
1692 (xml04_parse_barcode_props):
1693 * src/xml-label-191.c: (gl_xml_label_191_parse),
1694 (xml191_parse_objects), (xml191_parse_object),
1695 (xml191_parse_text_props), (xml191_parse_image_props),
1696 (xml191_parse_barcode_props), (xml191_parse_data),
1697 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1698 (xml191_parse_markup):
1699 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1700 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1701 (xml_parse_object_text), (xml_parse_object_image),
1702 (xml_parse_object_barcode), (xml_parse_data),
1703 (xml_parse_toplevel_span), (gl_xml_label_save),
1704 (xml_create_objects):
1705 Re-classified g_warnings to g_messages.
1706 * src/merge-evolution.c: (gl_merge_evolution_open),
1707 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1708 Use g_warning to output errors encountered while
1709 communicating with the evolution data server
1710 instead of embedding them in the data.
1712 2005-12-08 Jim Evins <evins@snaught.com>
1714 * libglabels/libglabels-private.h:
1716 * libglabels/paper.c: (read_papers):
1717 * libglabels/template.c: (read_templates):
1718 Made appropriate warnings critical.
1720 * src/critical-error-handler.h:
1721 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1722 (critical_error_handler):
1723 Created critical error handler.
1724 * src/glabels.c: (main):
1725 Register critical error handler.
1726 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1727 * src/object-editor.c: (gl_object_editor_init):
1728 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1729 * src/template-designer.c: (gl_template_designer_init):
1730 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1731 Made appropriate warnings critical.
1733 2005-11-27 Jim Evins <evins@snaught.com>
1735 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1736 (gl_merge_evolution_get_primary_key),
1737 (gl_merge_evolution_get_record):
1738 Don't create "record_key" pseudo-key. Don't populate
1739 fields with null data.
1741 2005-11-25 Jim Evins <evins@snaught.com>
1743 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1744 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1745 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1747 Query EDS for all supported fields. Patch provided by
1748 Austin Henry <ahenry@users.sourceforge.net>.
1750 2005-10-29 Jim Evins <evins@snaught.com>
1752 * src/glabels.c: (main):
1753 * src/label-barcode.c: (gl_label_barcode_finalize):
1754 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1755 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1756 * src/object-editor.c: (gl_object_editor_finalize):
1757 Another pass at valgrinding -- plugged several memory leaks.
1758 * src/view-text.c: (gl_view_text_new),
1759 (update_canvas_item_from_object_cb), (draw_hacktext):
1760 Commented out artifacts of edit-in-place code.
1762 2005-10-28 Jim Evins <evins@snaught.com>
1764 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1765 Fixed use of uninitialized variable. Caught by
1766 d binderman <dcb314@hotmail.com>.
1768 2005-10-27 Jim Evins <evins@snaught.com>
1770 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1771 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1773 Additional cleanup of EDS and vcard backends. Provided by
1774 Austin Henry <ahenry@users.sourceforge.net>.
1776 2005-10-24 Jim Evins <evins@snaught.com>
1780 * src/merge-evolution.c:
1781 * src/merge-evolution.h:
1782 * src/merge-init.c: (gl_merge_init):
1783 * src/merge-properties-dialog.c: (type_changed_cb):
1784 * src/merge-vcard.c:
1785 * src/merge-vcard.h:
1786 * src/ui-commands.c: (gl_ui_cmd_help_about):
1787 Added Evolution Data Server and VCard merge backends. Original patch
1788 provided by Austin Henry <ahenry@users.sourceforge.net>.
1790 Only support EDS and VCard backends if libebook is installed. Allow
1791 user to disable support, even if installed.
1793 2005-10-24 Jim Evins <evins@snaught.com>
1796 * data/templates/avery-iso-templates.xml:
1797 * data/templates/avery-us-templates.xml:
1798 * data/templates/misc-iso-templates.xml:
1799 * data/templates/zweckform-iso-templates.xml:
1800 Collected all template changes and submissions since last
1803 2005-10-23 Jim Evins <evins@snaught.com>
1806 * data/mime/Makefile.am:
1807 Added configure options to disable update-mime-database and
1808 update-desktop-database as part of the install. Patch
1809 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1811 2005-10-23 Jim Evins <evins@snaught.com>
1814 * libglabels/xml.c: (gl_xml_get_prop_string),
1815 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1816 (gl_xml_is_node), (gl_xml_get_node_content):
1817 Added new XML utility functions.
1818 * libglabels/xml-paper.c:
1819 * libglabels/xml-template.c:
1821 Cleanup by using new xml utilities created above.
1822 * libglabels/paper.c: (gl_paper_free):
1823 * src/file.c: (new_response):
1824 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1825 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1826 (gl_pixbuf_cache_get_pixbuf):
1827 * src/ui-property-bar.c:
1828 (gl_ui_property_bar_construct_color_combo):
1829 * src/view-highlight.c: (gl_view_highlight_finalize):
1830 * src/view-image.c: (update_object_from_editor_cb):
1831 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1832 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1833 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1834 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1835 (draw_markup_margin_round), (draw_markup_margin_cd),
1836 (draw_markup_margin_cd_bc):
1837 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1838 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1839 Plugged various memory leaks located with valgrind.
1840 * src/view-image.c: (update_canvas_item_from_object_cb):
1841 Don't allow a width or height of zero when drawing pixbuf.
1843 2005-10-22 Jim Evins <evins@snaught.com>
1845 * libglabels/xml-paper.c:
1846 * libglabels/xml-template.c:
1849 * src/bc-gnubarcode.c:
1850 * src/canvas-hacktext.c:
1852 * src/object-editor-data-page.c:
1853 * src/print-dialog.c:
1856 * src/template-designer.c:
1858 * src/ui-property-bar.c:
1860 * src/view-barcode.c:
1862 * src/view-ellipse.c:
1867 * src/wdgt-media-select.c:
1868 * src/xml-label-04.c:
1869 * src/xml-label-191.c:
1871 Modified to compile warning free with gcc-4.0. Mostly
1872 casting to change signedness of characters. Did not
1873 attack gnu-barcode library yet.
1875 2005-10-22 Jim Evins <evins@snaught.com>
1877 * src/glabels.c: (main):
1878 * src/splash.c: (gl_splash):
1879 Removed some small memory leaks.
1883 2005-09-19 Jim Evins <evins@snaught.com>
1885 * data/glade/property-bar.glade:
1886 Remove items from font_family_combo. This prevents the
1887 double entry after adding text model and list of fonts.
1888 * src/ui-property-bar.c: (reset_to_default_properties):
1889 Free font_family_list.
1891 2005-07-01 Jim Evins <evins@snaught.com>
1894 Updated italian translation (Daniele Medri)
1896 2005-06-26 Jim Evins <evins@snaught.com>
1898 * docs/libglabels/libglabels-decl-list.txt:
1899 Somehow never got checked in before.
1900 * docs/libglabels/libglabels.types:
1901 Removed -- don't need it afterall.
1903 2005-06-20 Jim Evins <evins@snaught.com>
1906 Final prep for 2.1.1 release.
1908 2005-06-20 Jim Evins <evins@snaught.com>
1911 Final preps for 2.1.1 release.
1912 * docs/libglabels/libglabels.types:
1913 Somehow never got checked in before.
1915 Bring up-to-date with recent reorg of ui code.
1918 2005-06-19 Jim Evins <evins@snaught.com>
1920 * src/template-designer.c: (construct_layout_page):
1921 Removed attempt to match background color of mini preview widget to
1924 2005-06-17 Jim Evins <evins@snaught.com>
1926 * help/C/figures/merge-ex2-4.png:
1927 * help/C/glabels.xml:
1928 Fixed spelling error.
1930 2005-06-13 Jim Evins <evins@snaught.com>
1932 * help/C/figures/merge-ex1-1.png:
1933 * help/C/figures/merge-ex1-2.png:
1934 * help/C/figures/merge-ex1-3.png:
1935 * help/C/figures/merge-ex1-4.png:
1936 * help/C/figures/merge-ex2-1.png:
1937 * help/C/figures/merge-ex2-2.png:
1938 * help/C/figures/merge-ex2-3.png:
1939 * help/C/figures/merge-ex2-4.png:
1940 Added figures for document merge tutorial.
1941 * help/C/glabels.xml:
1942 Added document merge tutorial.
1944 2005-05-19 Jim Evins <evins@snaught.com>
1946 * data/glade/merge-properties-dialog.glade:
1947 Fixed irregular spacing.
1948 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
1949 (gl_merge_properties_dialog_construct):
1950 Set outer padding and remove separator.
1952 2005-05-18 Jim Evins <evins@snaught.com>
1956 Removed glHigDialog class.
1957 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
1958 (gl_file_properties), (create_properties_dialog_widgets):
1959 * src/prefs-dialog.h:
1960 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
1961 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
1962 * src/print-dialog.h:
1963 * src/prefs-dialog.h:
1964 * src/print-dialog.c: (gl_print_dialog_get_type),
1965 (gl_print_dialog_init), (gl_print_dialog_construct):
1966 Replaced all instances of glHigDialog with GtkDialog.
1968 2005-05-17 Jim Evins <evins@snaught.com>
1972 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
1973 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
1974 (save_as_response), (gl_file_close):
1975 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
1977 2005-05-15 Jim Evins <evins@snaught.com>
1979 * src/ui-commands.h:
1987 A little code reformatting -- no functional changes.
1989 2005-05-14 Jim Evins <evins@snaught.com>
1992 Removed obsolete macros.
1994 Added marshalling template to support new view signal: "context_menu_activate."
1996 * src/view.c: (gl_view_class_init), (gl_view_construct),
1997 (canvas_event_arrow_mode):
1998 - Removed hardcoded context menus and added new signal "context_menu_activate"
1999 to push this up to the uimanager.
2000 - Removed merge properties and print dialogs so that they can be managed with
2001 the window by the uimanager.
2002 * src/merge-properties-dialog.h:
2003 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2004 (gl_merge_properties_dialog_construct):
2005 Changed calling convention of gl_merge_properties_dialog_new() to use
2006 glLabel and GtkWindow instead of view to make more consistent with other
2008 * src/print-dialog.h:
2009 * src/print-dialog.c: (gl_print_dialog_new),
2010 (gl_print_dialog_construct):
2011 Removed last artifact of libbonoboui.
2012 * src/ui-commands.c: (gl_ui_cmd_file_print),
2013 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2014 Reconciled style for launching dialogs.
2015 * src/ui.c: (gl_ui_new):
2016 Added context menus to ui manager.
2017 * src/view-object.c: (item_event_arrow_mode):
2018 No longer try to select objects with right-click.
2020 * src/window.c: (gl_window_init), (gl_window_set_label),
2021 (context_menu_activate_cb):
2022 Context menus and all dialogs are now managed in a consistent way in window
2025 2005-05-11 Jim Evins <evins@snaught.com>
2028 * src/window.c: (gl_window_init), (gl_window_destroy):
2029 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2030 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2031 Moved management of recent_view back from window.c to ui.c -- it just feels
2034 2005-05-10 Jim Evins <evins@snaught.com>
2037 * src/window.c: (gl_window_init):
2039 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2040 (menu_item_select_cb), (menu_item_deselect_cb):
2041 Added GtkStatusbar which displays menu tooltips.
2043 2005-05-09 Jim Evins <evins@snaught.com>
2045 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2050 Removed dependencies on libbonoboui.
2052 * data/ui/Makefile.am:
2053 * data/ui/glabels-ui.xml:
2054 Removed data/ui directory.
2055 * data/glade/Makefile.am:
2056 * data/property-bar.glade:
2057 Added glade description of property-bar for new libglade implementation
2064 * src/ui-commands.h:
2065 * src/ui-commands.c:
2066 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2067 since the distinction between "commands" and "tools" is no longer that clear.
2070 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2071 no longer has knowledge of eggRecent*.
2072 * src/glabels.c: (main):
2073 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2075 * src/object-editor.c: (gl_object_editor_init):
2076 Make sure notebook does not respond to a "show_all" on the parent.
2077 * src/recent-files/Makefile.am:
2078 * src/recent-files/*.[ch]
2079 Updated from latest version of libegg which now has a view based on
2080 GtkUIManager. Removed unused bonobo and gtk views.
2081 * src/ui-property-bar.h:
2082 * src/ui-property-bar.c:
2083 New implementation based on libglade.
2086 Sidebar is now simply a GtkWidget and does not expect to be a part of
2087 a libbonoboui interface.
2092 Converted for use with GtkUIManager.
2095 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2096 to create menus and toolbars.
2098 2005-04-25 Jim Evins <evins@snaught.com>
2100 * data/templates/misc-iso-templates.xml:
2101 Added Fellows 04715 template provided by Steve Saxon.
2103 Updated acknowledgement for above.
2105 2005-04-23 Jim Evins <evins@snaught.com>
2107 * src/util.c: (gl_util_combo_box_set_strings):
2108 Make sure to clear model before loading a new list of strings.
2109 * src/wdgt-media-select.h:
2110 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2111 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2112 (template_combo_changed_cb), (prefs_changed_cb),
2113 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2114 (gl_wdgt_media_select_get_page_size),
2115 (gl_wdgt_media_select_set_page_size):
2116 Replaced the deprecated GtkCombo widget with the new
2119 2005-04-21 Jim Evins <evins@snaught.com>
2121 * data/glade/template-designer.glade:
2122 * src/template-designer.c: (construct_pg_size_page),
2123 (pg_size_page_changed_cb), (build_template):
2124 Replaced the deprecated GtkCombo widget with the new
2127 2005-04-20 Jim Evins <evins@snaught.com>
2129 * data/glade/prefs-dialog.glade:
2130 * src/prefs-dialog.c: (construct_object_page),
2131 (update_object_page_from_prefs), (update_prefs_from_object_page):
2132 Replaced the deprecated GtkCombo widget with the new
2135 2005-04-19 Jim Evins <evins@snaught.com>
2137 * data/glade/object-editor.glade:
2138 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2139 (style_changed_cb), (gl_object_editor_set_bc_style),
2140 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2141 (gl_object_editor_get_bc_color):
2142 * src/object-editor-data-page.c:
2143 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2144 (gl_object_editor_get_data):
2145 * src/object-editor-edit-page.c:
2146 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2147 * src/object-editor-fill-page.c:
2148 (gl_object_editor_prepare_fill_page),
2149 (gl_object_editor_set_fill_color),
2150 (gl_object_editor_get_fill_color):
2151 * src/object-editor-image-page.c:
2152 (gl_object_editor_prepare_image_page),
2153 (gl_object_editor_set_image), (gl_object_editor_get_image):
2154 * src/object-editor-line-page.c:
2155 (gl_object_editor_prepare_line_page),
2156 (gl_object_editor_set_line_color),
2157 (gl_object_editor_get_line_color):
2158 * src/object-editor-private.h:
2159 * src/object-editor-text-page.c:
2160 (gl_object_editor_prepare_text_page),
2161 (gl_object_editor_set_font_family),
2162 (gl_object_editor_get_font_family),
2163 (gl_object_editor_set_text_color),
2164 (gl_object_editor_get_text_color):
2165 * src/object-editor.c: (gl_object_editor_set_key_names):
2167 In the object editor: replaced all instances of the deprecated
2168 GtkCombo widget with the new GtkComboBox.
2170 2005-04-18 Jim Evins <evins@snaught.com>
2173 Neglected to save this one in previous checkin to support
2176 2005-04-17 Jim Evins <evins@snaught.com>
2178 * libglabels/libglabels-private.h:
2179 * libglabels/paper.c:
2180 * libglabels/paper.h:
2181 * libglabels/template.c:
2182 * libglabels/template.h:
2183 * libglabels/xml-paper.c:
2184 * libglabels/xml-paper.h:
2185 * libglabels/xml-template.c:
2190 * src/bc-gnubarcode.c:
2201 * src/label-barcode.c:
2203 * src/label-ellipse.c:
2204 * src/label-image.c:
2205 * src/label-image.h:
2207 * src/label-object.c:
2211 * src/merge-properties-dialog.c:
2212 * src/object-editor-bc-page.c:
2213 * src/object-editor-data-page.c:
2214 * src/object-editor-edit-page.c:
2215 * src/object-editor-fill-page.c:
2216 * src/object-editor-image-page.c:
2217 * src/object-editor-line-page.c:
2218 * src/object-editor-lsize-page.c:
2219 * src/object-editor-position-page.c:
2220 * src/object-editor-private.h:
2221 * src/object-editor-size-page.c:
2222 * src/object-editor-text-page.c:
2223 * src/object-editor.c:
2224 * src/object-editor.h:
2225 * src/pixbuf-cache.h:
2226 * src/prefs-dialog.c:
2227 * src/prefs-dialog.h:
2228 * src/prefs-model.c:
2229 * src/prefs-model.h:
2231 * src/print-dialog.c:
2232 * src/print-dialog.h:
2240 * src/template-designer.c:
2241 * src/template-designer.h:
2244 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2250 * src/view-barcode.c:
2252 * src/view-ellipse.c:
2253 * src/view-highlight.c:
2254 * src/view-highlight.h:
2257 * src/view-object.c:
2258 * src/view-object.h:
2262 * src/wdgt-chain-button.c:
2263 * src/wdgt-media-select.c:
2264 * src/wdgt-media-select.h:
2265 * src/wdgt-mini-preview.c:
2266 * src/wdgt-mini-preview.h:
2267 * src/wdgt-print-copies.c:
2268 * src/wdgt-print-copies.h:
2269 * src/wdgt-print-merge.c:
2270 * src/wdgt-print-merge.h:
2271 * src/wdgt-rotate-label.c:
2272 * src/wdgt-rotate-label.h:
2275 * src/xml-label-04.c:
2276 * src/xml-label-191.c:
2278 Cleanup of header files:
2279 - all header files are now stand-alone, verified by including
2280 first in corresponding "c" files
2281 - replaced blanket includes of gnome, gtk, and glib with
2284 2005-04-16 Jim Evins <evins@snaught.com>
2286 * data/glade/Makefile.am:
2287 * data/glade/merge-properties-dialog.glade:
2288 Added merge properties dialog glade description file.
2289 * src/merge-properties-dialog.h:
2290 * src/merge-properties-dialog.c:
2291 (gl_merge_properties_dialog_get_type),
2292 (gl_merge_properties_dialog_init),
2293 (gl_merge_properties_dialog_finalize),
2294 (gl_merge_properties_dialog_new),
2295 (gl_merge_properties_dialog_construct), (type_changed_cb),
2296 (src_changed_cb), (response_cb), (load_tree),
2297 (record_select_toggled_cb), (select_all_button_clicked_cb),
2298 (unselect_all_button_clicked_cb):
2299 Modified merge properties dialog to use libglade. Added
2300 "select all" and "unselect all" buttons.
2301 * src/merge-text.c: (parse_line):
2302 Handle empty lines better.
2303 * src/merge.c: (gl_merge_eval_key):
2304 Evaluate the key whether the record is selected or not.
2306 * src/util.c: (gl_util_combo_box_add_text_model):
2307 Since libglade does not use the gtk_combo_box_new_text()
2308 constructor for GtkComboBoxes, a utility function was created
2309 to add an appropriate text model to a GtkComboBox.
2310 * src/view.c: (gl_view_edit_merge_props):
2311 Removed unnecessary "show all's".
2313 2005-04-15 Jim Evins <evins@snaught.com>
2316 Updated russian translation (Vitaly Lipatov)
2317 * data/templates/misc-iso-templates.xml:
2318 Added templates for russian business cards provided by Vitaly Lipatov.
2320 Updated acknowledgements for above.
2322 2005-04-15 Jim Evins <evins@snaught.com>
2324 * data/templates/avery-us-templates.xml:
2325 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2326 * data/templates/misc-iso-templates.xml:
2327 Added Ryman standard CD/DVD template, provided by Dan Clark.
2329 Added acknowledgements for above.
2331 2005-04-10 Jim Evins <evins@snaught.com>
2333 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2334 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2335 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2336 (xml_parse_label_cd_node), (xml_parse_alias_node):
2337 * libglabels/xml.c: (gl_xml_get_prop_double),
2338 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2339 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2340 * src/xml-label-04.c: (xml04_parse_media_description),
2341 (xml04_parse_text_props), (xml04_parse_barcode_props),
2342 (xml04_parse_merge_properties):
2343 * src/xml-label-191.c: (xml191_parse_object),
2344 (xml191_parse_text_props), (xml191_parse_barcode_props),
2345 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2346 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2347 (xml191_parse_alias):
2348 * src/xml-label.c: (xml_parse_object_text),
2349 (xml_parse_object_barcode), (xml_parse_merge_fields),
2350 (xml_parse_pixdata), (xml_parse_toplevel_span):
2351 Make sure to use xmlFree for anything obtained from libxml
2352 in case libxml and glib use different memory management
2355 2005-04-08 Jim Evins <evins@snaught.com>
2358 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2359 (gl_util_combo_box_set_active_text):
2360 Added utility functions to simplify working with GtkComboBox
2362 * src/ui-property-bar.h:
2363 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2364 (reset_to_default_properties), (update_text_properties),
2365 (font_family_changed_cb):
2366 Replaced deprecated GtkCombo with GtkComboBox.
2369 2005-04-03 Jim Evins <evins@snaught.com>
2372 * src/wdgt-image-select.h:
2373 * src/wdgt-image-select.c:
2374 Removed obsolete wdgt-image-select.[ch] files.
2375 * libglabels/paper.c: (gl_paper_dup):
2376 Fixed rename of parameter introduced during documentation
2378 * data/glade/object-editor.glade:
2379 * src/object-editor-image-page.c:
2380 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2381 (gl_object_editor_set_image), (gl_object_editor_get_image),
2382 (update_preview_cb), (add_image_filters_to_chooser):
2383 * src/object-editor-private.h:
2384 Replaced deprecated GnomePixmapEntry with
2385 GtkFileChooserButton.
2387 2005-04-02 Jim Evins <evins@snaught.com>
2389 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2390 (mygal_combo_box_popup_hide_unconditional),
2391 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2392 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2393 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2394 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2395 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2396 Renamed all internal gtk_combo functions to mygal_combo
2397 to prevent namespace confusion.
2399 2005-04-02 Jim Evins <evins@snaught.com>
2401 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2402 (cust_color_set), (color_palette_setup):
2403 * src/mygal/color-palette.h:
2404 Replaced deprecated GnomeColorPicker with GtkColorButton.
2406 2005-04-02 Jim Evins <evins@snaught.com>
2408 * docs/libglabels/libglabels-sections.txt:
2409 * docs/libglabels/libglabels-undocumented.txt:
2410 * docs/libglabels/tmpl/enums.sgml:
2411 * docs/libglabels/tmpl/paper.sgml:
2412 * docs/libglabels/tmpl/xml-paper.sgml:
2413 * docs/libglabels/tmpl/xml-template.sgml:
2414 * libglabels/enums.h:
2415 * libglabels/paper.c: (gl_paper_dup):
2416 * libglabels/paper.h:
2417 * libglabels/xml-paper.c:
2418 * libglabels/xml-template.c:
2419 More documentation updates for libglabels.
2421 2005-03-23 Jim Evins <evins@snaught.com>
2424 Automatically updated.
2429 * docs/libglabels/Makefile.am:
2430 * docs/libglabels/libglabels-docs.sgml:
2431 * docs/libglabels/libglabels-sections.txt:
2432 * docs/libglabels/libglabels-undocumented.txt:
2433 * docs/libglabels/tmpl/enums.sgml:
2434 * docs/libglabels/tmpl/libglabels-unused.sgml:
2435 * docs/libglabels/tmpl/libglabels.sgml:
2436 * docs/libglabels/tmpl/paper.sgml:
2437 * docs/libglabels/tmpl/template.sgml:
2438 * docs/libglabels/tmpl/xml-paper.sgml:
2439 * docs/libglabels/tmpl/xml-template.sgml:
2440 * docs/libglabels/tmpl/xml.sgml:
2441 Added basic gtk-doc stuff to support documenting libglabels
2444 Updated function comments with gtk-doc markup.
2448 2005-03-22 Jim Evins <evins@snaught.com>
2450 Since the development version now requires gtk-2.6/gnome-2.10, I
2451 have made a first pass at removing deprecations.
2454 * libglabels/Makefile.am:
2456 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2457 Also removed all remnants of HAVE_FILECHOOSER.
2458 * src/file.c: (gl_file_open_real):
2459 Removed code for old GtkFileSelection.
2460 * libglabels/libglabels-private.h:
2461 * libglabels/paper.c:
2462 * libglabels/template.c:
2463 * libglabels/xml-paper.c:
2464 * libglabels/xml-template.c:
2468 * src/glabels-batch.c:
2472 * src/merge-properties-dialog.c:
2474 * src/object-editor.c:
2475 * src/prefs-dialog.c:
2477 * src/print-dialog.c:
2480 * src/template-designer.c:
2481 * src/ui-property-bar.c:
2483 * src/view-barcode.c:
2485 * src/view-ellipse.c:
2490 * src/wdgt-image-select.c:
2491 * src/wdgt-media-select.c:
2492 * src/wdgt-print-copies.c:
2493 * src/wdgt-print-merge.c:
2494 * src/wdgt-rotate-label.c:
2496 * src/xml-label-04.c:
2497 * src/xml-label-191.c:
2499 Added '#include <glib/gi18n.h>" where needed.
2500 Removed any unused '#include <gnome.h>"s.
2502 2005-03-22 Jim Evins <evins@snaught.com>
2504 * src/commands.c: (activate_url), (gl_cmd_help_about):
2505 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2506 development version of glabels now depends on GTK 2.6 and
2509 Updated library dependencies.
2511 2005-02-28 Jim Evins <evins@snaught.com>
2514 * data/templates/misc-iso-templates.xml:
2515 Added 'Ednet 45021' template provided by Ali Akcaagac
2518 2005-02-14 Jim Evins <evins@snaught.com>
2520 * data/templates/avery-us-templates.xml:
2521 Updated templates to use inches instead of points.
2522 * src/print-dialog.c: (printer_page_new):
2523 Changed packing style when adding printer selector widget. This fixes
2526 2005-02-13 Jim Evins <evins@snaught.com>
2530 Updated spanish translations. (sergio rivadero)
2532 2005-02-05 Jim Evins <evins@snaught.com>
2534 Some cleanup to libglabels.
2537 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2538 * libglabels/libglabels.pc.in
2540 * libglabels/enums.h
2541 Created. Currently only contains glUnitsType which provides enumerations
2542 for all possible units of distance.
2543 * libglabels/Makefile.am:
2544 Incorporated new files enums.h and libglabels.pc[.in].
2545 * libglabels/libglabels.h:
2547 * libglabels/template.h:
2548 * libglabels/template.c: (gl_template_layout_new):
2549 Changed parameters nx and ny to gint from gdouble.
2551 * libglabels/xml.c: (gl_xml_get_prop_length),
2552 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2553 Added support for different output units.
2554 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2555 (update_prefs_from_locale_page):
2556 * src/prefs-model.c: (string_to_units), (units_to_string):
2557 * src/prefs-model.h:
2558 * src/prefs.c: (gl_prefs_get_units_per_point),
2559 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2560 (gl_prefs_get_units_string):
2562 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2563 Reconciled all length enumerations with the new enumerations provided
2564 in libglabels/enums.h.
2566 2005-02-03 Jim Evins <evins@snaught.com>
2569 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2571 Updated Italian translations. (Daniele Medri)
2573 Updated credits to reflect above translations.
2576 2005-01-22 Jim Evins <evins@snaught.com>
2581 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2583 Final prep for 2.1.0.
2585 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2587 Added '--remove-original' flag to desktop-file-install, so that there is
2588 only one menu entry.
2590 2005-01-20 Jim Evins <evins@snaught.com>
2592 * data/glade/object-editor.glade:
2593 - Font family entry should not be editable.
2594 - img_key_entry should have sensitivity=YES, so that it follows the
2595 sensitivity of img_key_combo.
2597 2005-01-19 Jim Evins <evins@snaught.com>
2600 Give credit to Frederic Ruaudel for the color merge patches.
2602 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2604 Add support to merge color for all other color attribute (Feature
2605 Requests item #1008635. If the data is invalid, the color used is transparent
2606 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2607 by gdk_color_parse() these include name for a color from rgb.txt, such as
2608 DarkSlateGray, or a hex specification such as #305050. File format has been
2609 changed but backward compatibility is preserved for all format. For
2610 box/ellipse/line, keep attribute "line_color" for static color or replace by
2611 "line_color_field" for merge data. For text/barcode objects, keep attribute
2612 "color" for static color or replace by "color_field" for merge data. In the
2613 edit canvas window, merged color are represented by half-transparent black
2616 * data/dtd/glabels-2.0.dtd:
2617 Added line_color_field to line_attrs. Added color_field to
2618 Object-barcode and Span.
2619 * data/glade/object-editor.glade:
2620 Modify the layout of the editor to add merge possibility to color options
2622 Fix a copy/paste error in a comment
2624 Add default color for merge color representation in the editor canvas.
2625 * src/label-barcode.c:
2626 * src/object-editor-bc-page.c:
2627 * src/view-barcode.c:
2628 Add merge color support for barcode color.
2631 Add merge color support for box border color.
2632 * src/label-ellipse.c:
2633 * src/view-ellipse.c:
2634 Add merge color support for ellipse border color.
2637 Add merge color support for line color.
2638 * src/label-object.c:
2639 * src/label-object.h:
2640 * src/object-editor.c:
2641 * src/object-editor.h:
2642 * src/ui-property-bar.c:
2645 * src/xml-label-04.c:
2646 * src/xml-label-191.c:
2647 Add support for merging to other color attribute.
2649 * src/object-editor-text-page.c:
2651 Add merge color support for text color.
2652 * src/object-editor-fill-page.c:
2653 Change a blocked handler that didn't match the good widget. Fix the type
2654 of some debug message.
2655 * src/object-editor-line-page.c:
2656 Add merging support to line color option.
2657 * src/object-editor-private.h:
2658 Add variables for new widget.
2660 Modify the draw functions to get merge data if needed.
2662 Change the default size of the window in order to see all widget in the
2663 "text style tab" of the editor.
2665 Modify the parser to record/retreive the field value for objects that need
2666 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2667 static color or replace by "line_color_field" for merge data. For
2668 text/barcode objects, keep attribute "color" for static color or replace
2669 by "color_field" for merge data.
2671 2005-01-17 Jim Evins <evins@snaught.com>
2673 * src/view.c: (screen_changed_cb):
2674 Don't do anything if we don't have a screen.
2676 2005-01-06 Jim Evins <evins@snaught.com>
2678 * src/view.c: (get_home_scale):
2679 Fixed bad call to gtk_widget_has_screen() -- huh?.
2681 2005-01-06 Jim Evins <evins@snaught.com>
2683 * data/dtd/glabels-2.0.dtd:
2684 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2687 2005-01-06 Jim Evins <evins@snaught.com>
2689 * data/glade/object-editor.glade:
2690 Set entries for fill and data field key dropdowns to NOT editable.
2691 * src/view-box.c: (construct_properties_editor):
2692 * src/view-ellipse.c: (construct_properties_editor):
2693 Update object editor when label's merge property has changed.
2694 * src/xml-label.c: (xml_parse_object_ellipse):
2695 Completed the merge color support for the ellipse item.
2697 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2699 Add support to merge color for object that have a "Fill color" attribute (Feature
2700 Requests item #1008635. If the data is invalid, the color used is transparent
2701 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2702 by gdk_color_parse() these include name for a color from rgb.txt, such as
2703 DarkSlateGray, or a hex specification such as #305050. File format has been
2704 changed but backward compatibility is preserved for all format. For box/ellipse,
2705 keep attribute "fill_color" for static color or replace by "fill_color_field"
2708 * data/glade/object-editor.glade:
2709 Modify "Fill" tab to add the merge key combo and convert the labels into
2713 Add "glColorNode" structure and associated functions to manage it. This
2714 structure is equivalent for color than the "glTextNode". It holds the color
2716 * src/label-object.h:
2717 * src/label-object.c:
2719 * src/label-ellipse.c:
2720 * src/ui-property-bar.c:
2724 * src/view-ellipse.c:
2725 * src/xml-label-04.c:
2726 * src/xml-label-191.c:
2727 Change functions of objects that have a "fill color" attribute to use the
2728 new "glColorNode" structure. Use barcode code as example.
2730 Add the color.[ch] file to glabels_batch binary that now need support for
2732 * src/object-editor.h:
2733 * src/object-editor.c:
2734 * src/object-editor-fill-page.c:
2735 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2736 to choose between static color or merge key. Use barcode code as example.
2737 * src/object-editor-private.h:
2738 Add new widget in the "_glObjectEditorPrivate" structure.
2740 Modify the draw functions to get merge data if needed.
2742 Modify the parser to record/retreive the field value for objects that need
2743 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2744 color or "fill_color_field" for merge data.
2746 2005-01-04 Jim Evins <evins@snaught.com>
2749 * data/templates/avery-iso-templates.xml:
2750 * data/templates/misc-iso-templates.xml:
2751 * data/templates/misc-us-templates.xml:
2752 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2755 2004-11-26 Jim Evins <evins@snaught.com>
2759 Updated french translations provided by Florent Morel <florent@taket.org>.
2760 * src/view-barcode.c:
2762 * src/view-ellipse.c:
2766 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2767 thus _() strings were not being translated.
2769 2004-11-14 Jim Evins <evins@snaught.com>
2772 * src/debug.c: (gl_debug_init), (gl_debug):
2773 Borrowed from gedit: use environmental variables to select debug
2776 Removed unused include of debug.h.
2777 * src/glabels.c: (main):
2778 Added call to gl_debug_init(), and removed debug clutter from command line
2780 * src/glabels-batch.c: (main):
2781 Added call to gl_debug_init().
2783 2004-11-13 Jim Evins <evins@snaught.com>
2785 Drawing and property toolbars were being initialized with the "icons and text"
2786 look in Fedora Core 3. Even though none of the buttons had any text attached to
2787 them, the buttons were being sized as if they were. This led to less real estate
2788 for the property editor, leading to Bug #1064630. The
2790 * data/ui/glabels-ui.xml:
2791 Added explicit "look" property to both drawing and property toolbars.
2792 * src/prefs-model.c: (gl_prefs_model_save_settings),
2793 (gl_prefs_model_load_settings):
2794 * src/prefs-model.h:
2795 Removed drawing_toolbar_button_style configuration parameter.
2796 * src/ui.c: (view_menu_item_toggled_cb),
2797 (set_app_drawing_toolbar_style):
2798 Do not attempt to adjust look property of the drawing toolbar.
2800 2004-10-28 Jim Evins <evins@snaught.com>
2802 * data/pixmaps/glabels-about-logo.png:
2805 2004-10-28 Jim Evins <evins@snaught.com>
2807 * data/man/glabels.1:
2808 * src/glabels-batch.c: (main):
2810 * src/print.c: (gl_print_batch):
2812 Added option to glabels-batch to select the first label to begin
2815 2004-09-26 Jim Evins <evins@snaught.com>
2817 * data/desktop/glabels.desktop.in:
2818 Point to app icon, "glabels.png"
2819 * data/mime/glabels.keys.in:
2820 Point at mime icon, "glabels-application-x-glabels.png"
2821 * data/pixmaps/Makefile.am:
2822 Added glabels_app_icondir. Renamed icons.
2823 * data/pixmaps/glabels.png:
2824 New cleaned up app icon. Deleted glabels-icon.png.
2825 * data/pixmaps/glabels-application-x-glabels.png:
2827 * data/pixmaps/glabels-splash.png:
2828 Renamed glabels-logo to glabels-splash to be more correct about role.
2830 * src/template-designer.c:
2831 Point at app icon, "glabels.png"
2833 Point at renamed splash image, "glabels-splash.png"
2835 2004-08-22 Jim Evins <evins@snaught.com>
2838 * src/glabels-batch.c: (main):
2839 Applied patch with minor mods to allow selecting merge source and
2840 crop-marks on glabels-batch's command line. Original patch provided by
2841 José Dapena Paz <jdapena@igalia.com>.
2843 2004-08-15 Jim Evins <evins@snaught.com>
2845 * data/desktop/glabels.desktop.in:
2846 - Added encoding line
2847 - Removed period from comment
2848 - Fixed Terminal line, changed "0" to "false"
2849 - Added semicolen to Categories line
2851 - Made sure desktop.in comment string above still translated properly
2853 2004-08-14 Jim Evins <evins@snaught.com>
2855 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2856 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2857 * src/xml-label-191.c: (xml191_parse_sheet):
2858 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2860 Reconciled libglabels versioning with 2.0.1.
2863 2004-08-14 Jim Evins <evins@snaught.com>
2866 Updated version to 2.1cvs.
2868 2004-08-14 Jim Evins <evins@snaught.com>
2871 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2873 2004-08-14 Jim Evins <evins@snaught.com>
2875 Fixes for Bug #1008181.
2877 * src/bc.c: (gl_barcode_default_digits):
2878 Make a format of zero digits, harmless.
2879 * src/xml-label.c: (xml_parse_object_barcode):
2880 Set default value of the format property of barcode objects to 10, not
2881 zero. This will prevent crashes when reading pre 2.0.x files.
2883 2004-08-09 Jim Evins <evins@snaught.com>
2887 * help/C/glabels-C.omf:
2888 * help/C/glabels.xml:
2889 Brought documentation up-to-date for 2.0.0 release.
2891 2004-08-09 Jim Evins <evins@snaught.com>
2893 These are hopefully the final preparations for 2.0.0.
2895 * data/mime/Makefile.am:
2896 Include glabels.xml in EXTRA_DIST.
2898 - Updated comment style.
2899 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2900 - Added package and version info to configuration printout
2901 - Update version to 2.0.0
2902 * libglabels/Makefile.am:
2903 Use the new LIBGLABELS_VERSION_INFO macro.
2905 2004-08-09 Jim Evins <evins@snaught.com>
2909 Cleanup of required library macros.
2911 2004-08-08 Jim Evins <evins@snaught.com>
2915 - More specific of what to install in /usr/bin and /usr/lib
2916 - Remove built mime registration files from staging directory
2918 2004-08-08 Jim Evins <evins@snaught.com>
2920 * data/mime/Makefile.am:
2921 Fixed typo: key_files should have been keys_files.
2923 2004-08-08 Jim Evins <evins@snaught.com>
2925 Reorganization of runtime data files. Also added registration of mimetype with
2926 new freedesktop.org mime database if available.
2929 Moved files to appropriate subdirectories, creating local Makefile.am
2930 in each subdirectory.
2931 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
2932 These are now installed at $datadir/glabels/templates.
2933 - Moved glabels.1 to man subdirectory.
2934 - Moved glabels-2.0.dtd to dtd subdirectory.
2935 - Moved glabels.desktop.in to desktop subdirectory.
2936 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
2938 Moved "./pixmaps" to "./data/pixmaps"
2940 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
2942 Moved libglade files from src to data/glade. Created Makefile.am.
2944 Removed pixmaps from SUBDIRS.
2946 - Removed pixmaps from makefiles.
2947 - Added makefiles for new subdirs of data.
2948 - Added tests for freedesktop.org mime database.
2950 - Added tests for freedesktop.org mime database for post install and
2951 post un-install actions.
2952 * libglabels/Makefile.am:
2953 Moved system template files to $(datadir)/glabels/templates.
2954 * libglabels/libglabels-private.h:
2955 Moved system template files to $(datadir)/glabels/templates.
2957 - Accounted for movement of ui and libglade files.
2958 - Added missing .in files.
2959 - Reorganized by directory.
2961 Accounted for movement of ui and libglade files.
2962 * data/mime/glabels.xml.in:
2963 New file for registering with freedesktop.org mime database.
2965 2004-08-07 Jim Evins <evins@snaught.com>
2967 * src/recent-files/*:
2968 Re-synced to latest libegg/recent-files.
2970 2004-08-07 Jim Evins <evins@snaught.com>
2975 Renamed "./doc" directory to "./help" which contains user documentation,
2976 to be more consistent with other GNOME applications.
2979 2004-07-26 Jim Evins <evins@snaught.com>
2981 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
2982 Corrected button order of merge properties dialog.
2984 2004-07-18 Jim Evins <evins@snaught.com>
2986 * data/glabels-2.0.dtd:
2987 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
2988 (gl_barcode_get_prefered_n):
2990 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
2991 (gl_label_barcode_get_props), (get_size):
2992 * src/label-barcode.h:
2993 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2994 (style_changed_cb), (gl_object_editor_set_bc_style),
2995 (gl_object_editor_get_bc_style):
2996 * src/object-editor-data-page.c: (data_radio_toggled_cb),
2997 (gl_object_editor_set_data), (gl_object_editor_get_data):
2998 * src/object-editor-private.h:
2999 * src/object-editor.c: (gl_object_editor_set_key_names):
3000 * src/object-editor.glade:
3001 * src/object-editor.h:
3002 * src/print.c: (draw_barcode_object):
3003 * src/view-barcode.c: (update_object_from_editor_cb),
3004 (update_editor_from_object_cb),
3005 (gl_view_barcode_create_event_handler), (draw_barcode):
3006 * src/xml-label-04.c: (xml04_parse_barcode_props):
3007 * src/xml-label-191.c: (xml191_parse_barcode_props):
3008 * src/xml-label.c: (xml_parse_object_barcode),
3009 (xml_create_object_barcode):
3010 Added "format" attribute to barcode objects. This attribute is used
3011 to properly format freeform barcodes barcodes prior to merge data is
3012 applied, so that barcodes can be accurately layed out. This addresses
3013 remaining issues of feature request #824787. Also added an example of
3014 the format in the object editor.
3016 2004-07-12 Jim Evins <evins@snaught.com>
3018 Various code cleanups.
3020 * src/label-barcode.c:
3021 Removed unneeded include of gnome-glyphlist.h.
3023 * src/label-text.c: (get_size):
3024 Fixed memory leak: unref glyphlists when done with them.
3026 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3027 * src/object-editor-data-page.c:
3028 (gl_object_editor_prepare_data_page):
3029 * src/object-editor-image-page.c:
3030 (gl_object_editor_prepare_image_page):
3031 * src/object-editor-line-page.c:
3032 (gl_object_editor_prepare_line_page):
3033 * src/object-editor-lsize-page.c:
3034 (gl_object_editor_prepare_lsize_page):
3035 * src/object-editor-position-page.c:
3036 (gl_object_editor_prepare_position_page):
3037 * src/object-editor-size-page.c:
3038 (gl_object_editor_prepare_size_page):
3039 * src/object-editor-text-page.c:
3040 (gl_object_editor_prepare_text_page):
3041 Removed unneeded size groups, originally intended to keep widgets aligned.
3042 Now use tables to lay these out in object-editor.glade.
3044 * src/print.c: (draw_text_object):
3045 Fixed memory leak: unref glyphlists when done with them.
3047 * src/view-barcode.c: (draw_barcode):
3048 Fixed memory leak: unref glyphlists when done with them.
3050 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3051 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3053 - Fixed memory leak: unref glyphlists when done with them.
3055 2004-07-11 Jim Evins <evins@snaught.com>
3057 * data/glabels-2.0.dtd:
3058 * src/label-text.c: (gl_label_text_instance_init), (copy),
3059 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3061 * src/object-editor-private.h:
3062 * src/object-editor-text-page.c:
3063 (gl_object_editor_prepare_text_page),
3064 (gl_object_editor_set_text_auto_shrink),
3065 (gl_object_editor_get_text_auto_shrink):
3066 * src/object-editor.c: (gl_object_editor_set_key_names):
3067 * src/object-editor.glade:
3068 * src/object-editor.h:
3069 * src/print.c: (draw_text_object):
3070 * src/view-text.c: (update_object_from_editor_cb),
3071 (update_editor_from_object_cb):
3072 * src/xml-label.c: (xml_parse_object_text),
3073 (xml_create_object_text):
3074 Added option to allow document merge to auto shrink text size to fit
3075 within the text box. The code in print.c that actually shrinks the
3076 text is loosely based on a patch submitted by Mark Harrison
3077 <mark.harrison@velocitynet.com.au>. This addresses feature request
3080 2004-07-11 Jim Evins <evins@snaught.com>
3082 * data/glabels-2.0.dtd:
3083 * libglabels/template.c: (gl_template_rect_label_type_new),
3084 (gl_template_round_label_type_new),
3085 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3086 (template_full_page):
3087 * libglabels/template.h:
3088 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3089 (xml_create_label_node):
3090 * pixmaps/ex-rect-size.png:
3091 * src/print.c: (clip_to_outline), (clip_punchouts):
3092 * src/template-designer.c: (construct_rect_size_page),
3093 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3095 * src/template-designer.glade:
3096 * src/xml-label-191.c: (xml191_parse_label):
3097 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3098 properties for rectangular labels. Templates remain backwards compatible,
3099 but this breaks the libglabels API (I don't know of anyone outside of
3100 glabels using libglabels at this time -- what can I say, the program is
3101 is still "unstable"). This addresses the suggestion in Feature Request
3104 2004-07-05 Jim Evins <evins@snaught.com>
3105 * src/print.c: (print_crop_marks), (draw_outline):
3106 Changed crop marks and label outlines to black, instead of 25% gray.
3107 This addresses debian Bug #257460.
3109 2004-07-05 Jim Evins <evins@snaught.com>
3111 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3112 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3113 Preserve "is_default" of fill and line color_combos when creating from
3116 2004-07-02 Jim Evins <evins@snaught.com>
3119 Created man page. Based on page submitted by Matthew J. Lockner, however
3120 it has been severely edited.
3122 * data/avery-other-templates.xml
3123 * data/misc-other-templates.xml:
3124 Started new files for predefined templates with non-standard sheet sizes.
3125 These have been initially populated with the Avery 06141 and
3126 OfficeMax #86112, both provided by Matthew J. Lockner.
3129 Install above manpage and template files.
3132 Make sure we install man pages.
3134 * src/glabels-batch.c:
3135 Changed short form of help option to '-?' to be consistent with glabels.
3138 Added acknowledgement for above labels.
3140 2004-07-02 Jim Evins <evins@snaught.com>
3142 * src/glabels.c: (main), (save_session_cb):
3143 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3145 - save_session_cb() now returns gboolean.
3146 - Minor formatting changes.
3150 - Now include file.h to provide missing prototype.
3151 - gl_window_get_type() now returns GType, not guint. I believe this may
3152 ultimately be cause of the segfault reported in Bug #982287, since
3153 GType is actually a gulong, which may not be compatible on other
3154 architectures (64bit) -- I cannot personally test this at this time.
3155 I was sloppy in several other xxx_get_type() functions which also
3156 returned guint -- see next group of files:
3158 * src/window.c: (gl_window_get_type):
3159 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3160 * src/canvas-hacktext.h:
3161 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3162 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3163 (gl_hig_hbox_get_type):
3165 * src/label-barcode.c: (gl_label_barcode_get_type):
3166 * src/label-barcode.h:
3167 * src/label-box.c: (gl_label_box_get_type):
3169 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3170 * src/label-ellipse.h:
3171 * src/label-image.c: (gl_label_image_get_type):
3172 * src/label-image.h:
3173 * src/label-line.c: (gl_label_line_get_type):
3175 * src/label-object.c: (gl_label_object_get_type):
3176 * src/label-object.h:
3177 * src/label-text.c: (gl_label_text_get_type):
3179 * src/label.c: (gl_label_get_type):
3181 * src/merge-properties-dialog.c:
3182 (gl_merge_properties_dialog_get_type):
3183 * src/merge-properties-dialog.h:
3184 * src/merge-text.c: (gl_merge_text_get_type):
3186 * src/merge.c: (gl_merge_get_type):
3188 * src/object-editor.c: (gl_object_editor_get_type):
3189 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3190 * src/prefs-dialog.h:
3191 * src/prefs-model.c: (gl_prefs_model_get_type):
3192 * src/prefs-model.h:
3193 * src/print-dialog.c: (gl_print_dialog_get_type):
3194 * src/print-dialog.h:
3195 * src/template-designer.c: (gl_template_designer_get_type):
3196 * src/template-designer.h:
3197 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3198 * src/ui-property-bar.h:
3199 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3201 * src/view-barcode.c: (gl_view_barcode_get_type):
3202 * src/view-barcode.h:
3203 * src/view-box.c: (gl_view_box_get_type):
3205 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3206 * src/view-ellipse.h:
3207 * src/view-highlight.c: (gl_view_highlight_get_type):
3208 * src/view-highlight.h:
3209 * src/view-image.c: (gl_view_image_get_type):
3211 * src/view-line.c: (gl_view_line_get_type):
3213 * src/view-object.c: (gl_view_object_get_type):
3214 * src/view-object.h:
3215 * src/view-text.c: (gl_view_text_get_type):
3217 * src/view.c: (gl_view_get_type):
3219 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3220 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3221 * src/wdgt-image-select.h:
3222 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3223 * src/wdgt-media-select.h:
3224 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3225 * src/wdgt-mini-preview.h:
3226 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3227 * src/wdgt-print-copies.h:
3228 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3229 * src/wdgt-print-merge.h:
3230 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3231 * src/wdgt-rotate-label.h:
3232 - Made sure all xxx_get_type functions returned GType, not guint. This
3233 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3234 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3235 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3236 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3237 window.[ch] details above for more info.
3238 - Reconciled various coding style differences in all xxx_get_type()
3240 * All prototypes include G_GNUC_CONST.
3241 * All prototypes specify the return value as GType, not GtkType
3243 * Info structures are all declared as "static const."
3244 * Generalized the names of type and info variables.
3245 * Miscelaneous formatting.
3247 2004-06-08 Jim Evins <evins@snaught.com>
3253 Don't touch compression of original file -- still defaults to 9 for
3254 new files. Original patch provided by Javier Donaire Segarra
3255 (#912252 in patch tracker).
3257 2004-05-05 Jim Evins <evins@snaught.com>
3259 * data/glabels-2.0.dtd:
3260 Broke DTD previously when adding new barcode types that contain a
3261 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3262 to avoid the problem.
3263 * data/avery-iso-templates.xml:
3264 * data/zweckform-iso-templates.xml:
3266 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3267 provided by Frank Altpeter.
3268 * libglabels/xml-template.c: (xml_create_label_node):
3269 Reordered markup and layout sub-nodes so that resulting templates will
3270 validate against DTD.
3272 2004-03-13 Jim Evins <evins@snaught.com>
3274 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3275 Changed spin callback signals from "value-changed" back to "changed."
3276 This was accidentally introduced in a previous revision, and can cause
3277 size changes just by selecting the size tab.
3279 2004-03-06 Jim Evins <evins@snaught.com>
3281 * src/view.c: (draw_grid_layer):
3282 For round labels (round and cd) adjust grid so that it lines up with
3283 center of label. Also, no longer draw box around label in the grid layer,
3284 it is hidden by he fg layer anyway. Feature suggested by
3285 nemolivier@free.fr. Although the grid is aligned with the center of the
3286 label, the coordinate system is still relative to the upper left corner
3287 of the rectangle containing the label.
3289 2004-02-25 Jim Evins <evins@snaught.com>
3292 Changed version to 2.0pre1cvs
3294 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3295 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3296 instead of doc->name fields when errors encountered.
3298 2004-02-21 Jim Evins <evins@snaught.com>
3300 * data/avery-iso-templates.xml:
3301 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3304 Added libglabels library and include file to installed files.
3307 Final prep for 1.93.3.
3309 2004-02-20 Jim Evins <evins@snaught.com>
3311 * src/glabels-batch.c: (main):
3312 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3313 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3315 2004-02-16 Jim Evins <evins@snaught.com>
3318 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3321 Added HAVE_FILE_CHOOSER to INCLUDES.
3323 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3324 (gl_file_save_as), (save_as_response):
3325 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3327 2004-02-16 Jim Evins <evins@snaught.com>
3329 * src/xml-label-04.c: (xml04_parse_image_props):
3330 * src/xml-label-191.c: (xml191_parse_image_props):
3331 * src/xml-label.c: (xml_parse_object_image):
3332 Delay setting image size until after image has been applied to new
3335 2004-02-15 Jim Evins <evins@snaught.com>
3337 * src/label-barcode.c: (gl_label_barcode_set_data),
3338 (gl_label_barcode_set_props):
3339 Don't emit "changed" signal, if no change actually made for these
3340 methods. Reduces number of unnecessary redraws of barcodes.
3342 * src/label-object.h:
3343 * src/label-object.c: (gl_label_object_set_position),
3344 (gl_label_object_set_position_relative), (set_size),
3345 (gl_label_object_set_size),
3346 (gl_label_object_set_size_honor_aspect):
3347 Don't emit "changed" signal, if no change actually made for these
3350 2004-02-15 Jim Evins <evins@snaught.com>
3352 * data/glabels-2.0.dtd:
3353 Added specific subtypes for various barcode types.
3356 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3357 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3358 (gl_barcode_can_text), (gl_barcode_text_optional),
3359 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3360 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3361 Changed API to use a string id, rather than a fixed enumeration. Id and
3362 name are separate strings. Added entries to backend table for specific
3363 subtypes for various barcode types.
3366 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3368 Modified to conform to above API. Now more stringent with data length
3369 for various subtypes.
3371 * src/bc-gnubarcode.h:
3372 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3373 (is_length_valid), (is_length1_valid), (is_length2_valid):
3374 Modified to conform to above API. Now more stringent with data length
3375 for various subtypes.
3377 * src/label-barcode.h:
3378 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3379 (gl_label_barcode_get_props), (get_size):
3380 Modified to use above API for storing barcode type.
3382 * src/object-editor.h:
3383 * src/object-editor-bc-page.c: (style_changed_cb),
3384 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3385 Modified to use above API for storing barcode type.
3387 * src/object-editor-size-page.c:
3388 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3389 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3390 Added debug markers.
3392 * src/object-editor.glade:
3393 Made barcode style combo's text entry non-editable.
3395 * src/print.c: (draw_barcode_object):
3396 Modified to use above API for barcode type.
3398 * src/view-barcode.c: (update_object_from_editor_cb),
3399 (update_editor_from_object_cb),
3400 (gl_view_barcode_create_event_handler), (draw_barcode):
3401 Modified to use above API for barcode type.
3403 * src/xml-label-04.c: (xml04_parse_barcode_props):
3404 * src/xml-label-191.c: (xml191_parse_barcode_props):
3405 * src/xml-label.c: (xml_parse_object_barcode),
3406 (xml_create_object_barcode):
3407 Modified to use above API for barcode type.
3409 2004-02-07 Jim Evins <evins@snaught.com>
3411 * src/stock-pixmaps/Makefile.am:
3412 * src/stock-pixmaps/stock_hchain_24.png:
3413 * src/stock-pixmaps/stock_hchain_broken_24.png:
3414 * src/stock-pixmaps/stock_vchain_24.png:
3415 * src/stock-pixmaps/stock_vchain_broken_24.png:
3416 Added chain pixmaps borrowed from the gimp's default theme.
3419 * src/stock.c: (gl_stock_init), (add_button_icon):
3420 Added above pixmaps to stock icon sets. Created add_button_icon() to
3421 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3423 * src/wdgt-chain-button.h
3424 * src/wdgt-chain-button.c
3427 Added this Modified version of gimpchainbutton widget, borrowed from
3431 Added acknowledgements of the above borrowing from the gimp.
3433 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3435 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3436 * src/object-editor.glade:
3437 Replaced the keep aspect ratio check box with the above chain-button
3440 * src/text-node.c: (gl_text_node_equal):
3442 Added function gl_text_node_equal() to compare text_nodes.
3444 * src/label-image.c: (gl_label_image_set_filename):
3445 Replaced incomplete text_node comparison code with invocation of
3446 gl_text_node_equal. This fixed the problem of not being able to
3447 resize an image using the object_editor if the aspect ratio is not
3450 2004-02-04 Jim Evins <evins@snaught.com>
3452 * src/object-editor-image-page.c:
3453 (gl_object_editor_prepare_image_page):
3454 Track "changed" signal of pixmap entry's GtkEntry rather than its
3455 "activate" signal -- this catches all changes to the entry rather than
3456 just changes resulting from a browse, so one can easily pull previous
3457 entries from the history. (This change is marked below on 2004-02-03,
3458 but somehow never got checked in.)
3460 * src/view-highlight.c: (sl_resize_event_handler),
3461 (sr_resize_event_handler), (st_resize_event_handler),
3462 (sb_resize_event_handler):
3463 Side resize handles will now confirm the actual resize that the object
3464 accepted before adjusting position parameters. Previously some interesting
3465 things happened when resizing a barcode to its minimum size.
3467 2004-02-03 Jim Evins <evins@snaught.com>
3469 * src/object-editor-image-page.c:
3470 (gl_object_editor_prepare_image_page):
3471 Track "changed" signal of pixmap entry's GtkEntry rather than its
3472 "activate" signal -- this catches all changes to the entry rather than
3473 just changes resulting from a browse, so one can easily pull previous
3474 entries from the history.
3476 * src/view-highlight.c: (tl_resize_event_handler),
3477 (tr_resize_event_handler), (bl_resize_event_handler),
3478 (br_resize_event_handler):
3479 Allow control key to be dropped while dragging a corner resize handle
3480 without losing the aspect ratio lock.
3482 2004-02-02 Jim Evins <evins@snaught.com>
3484 * src/label-image.c: (gl_label_image_set_filename):
3485 When setting a new filename adjust size such that the aspect ratio of
3486 the image is preserved using the current size as a bounding box.
3488 * src/view-image.c: (update_object_from_editor_cb):
3489 When updating object from editor, feed back possible size changes to
3490 editor as a result of a possible change in image.
3492 * src/object-editor-size-page.c: (size_reset_cb):
3493 Fixed typo when blocking spin handlers. If the base size is larger than
3494 the max size, treat max size as a bounding box while keeping aspect
3498 2004-02-02 Jim Evins <evins@snaught.com>
3500 * src/label-object.h:
3501 * src/label-object.c: (gl_label_object_set_size),
3502 (gl_label_object_set_size_honor_aspect):
3503 Added gl_label_object_set_size_honor_aspect() which will maintain the
3504 current aspect ratio by modifying the supplied w or h apropriately.
3506 * src/view-highlight.c: (tl_resize_event_handler),
3507 (tr_resize_event_handler), (bl_resize_event_handler),
3508 (br_resize_event_handler):
3509 Corner handles will now maintain the current aspect ratio if the
3510 control key is pressed while resizing. This addresses feature
3514 2004-01-31 Jim Evins <evins@snaught.com>
3517 * data/avery-us-templates.xml:
3518 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3520 * libglabels/template.c: (read_template_files_from_dir):
3521 Corrected problem with testing for extensions.
3523 * src/object-editor.glade:
3524 Corrected grouping of radio buttons in barcode data page.
3526 * src/print.c: (draw_barcode_object):
3527 * src/view-barcode.c: (draw_barcode):
3528 Corrected problem with calculation of y_offset for locating characters.
3530 2004-01-24 Jim Evins <evins@snaught.com>
3533 * data/avery-us-templates.xml:
3534 Added Avery 5824, submitted by Fred Bacon.
3536 2004-01-20 Jim Evins <evins@snaught.com>
3538 Catching up on a couple of backlogged user template submissions.
3540 * data/avery-iso-templates.xml:
3541 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3542 Suggested by Linas Jakucionis.
3544 * data/zweckform-iso-templates.xml:
3545 Added Zweckform 4760, submitted by Thomas Vill.
3548 Updated to reflect above submissions.
3550 2004-01-06 Jim Evins <evins@snaught.com>
3552 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3553 xml.[ch] into a separate library called libglabels, to facilitate third
3554 party use of glabels template files. This was suggested by Wayne Schuller.
3555 Once split-out, some modifications to the structures and functions to
3556 make a cleaner more useful API, hopefully. Rather extensive changes have
3557 propogated to other modules.
3565 * src/xml-template.h:
3566 * src/xml-template.c:
3569 These files have been moved to libglabels/. API cleanup performed.
3571 * libglabels/libglabels.h:
3572 * libglabels/libglabels-private.h:
3573 * libglabels/Makefile.am:
3574 These files have been added to finish out libglabels.
3581 Modified to reflect new sets of files in src/ and libglabels/.
3583 * COPYING.LIBGLABELS:
3585 Added copy of the LGPL for libglabels, and a copy the GFDL for
3588 * src/glabels-batch.c:
3590 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3591 (gl_label_get_size):
3593 * src/prefs-model.c: (gl_prefs_model_load_settings):
3594 * src/print-dialog.c:
3595 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3596 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3597 (print_crop_marks), (print_label), (draw_outline),
3598 (clip_to_outline), (clip_punchouts):
3599 * src/template-designer.c: (construct_pg_size_page),
3600 (pg_size_page_changed_cb), (layout_page_changed_cb),
3601 (print_test_cb), (build_template):
3602 * src/util.c: (gl_util_fraction):
3604 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3605 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3606 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3607 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3608 (draw_markup_margin_round), (draw_markup_margin_cd),
3609 (draw_markup_margin_cd_bc), (draw_markup_line),
3610 (draw_markup_circle), (gl_view_copy):
3611 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3612 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3613 (get_label_size_desc):
3614 * src/wdgt-mini-preview.c:
3615 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3617 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3618 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3619 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3620 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3621 * src/wdgt-rotate-label.h:
3622 * src/xml-label-04.c: (xml04_parse_media_description):
3623 * src/xml-label-191.c: (gl_xml_label_191_parse),
3624 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3625 (xml191_parse_markup), (xml191_parse_alias):
3626 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3628 Various changes to accomodate new libglabels API.
3630 2004-01-03 Jim Evins <evins@snaught.com>
3635 2004-01-03 Jim Evins <evins@snaught.com>
3638 Added acknowledgement of contributions by Wayne Schuller.
3640 * src/commands.c: (gl_cmd_file_print):
3641 Create extra reference to print dialog, so that it can be properly re-used.
3643 * src/mygal/mygal-combo-box.h:
3644 * src/mygal/mygal-combo-box.c:
3645 (mygal_combo_box_popup_hide_unconditional),
3646 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3647 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3648 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3649 (mygal_combo_box_set_tearable):
3650 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3651 complete the rename of this widget to prevent namespace collisions
3654 * src/prefs-dialog.glade:
3655 Fixed alignment of Fill/Color widgets.
3657 2004-01-03 Jim Evins <evins@snaught.com>
3659 * data/avery-iso-templates.xml:
3660 Added user submitted templates.
3661 Avery 8435A & 8435B, submitted by Ludger Solbach.
3663 * doc/C/glabels.xml:
3664 Added minimal documentation, noting the new template designer.
3666 2004-01-03 Jim Evins <evins@snaught.com>
3668 * pixmaps/ex-rect-size.png:
3669 * pixmaps/ex-round-size.png:
3670 * pixmaps/ex-cd-size.png:
3671 * pixmaps/Makefile.am:
3672 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3673 files to be used as illustrations/examples in the template-designer.
3675 * src/template-designer.c: (construct_rect_size_page),
3676 (construct_round_size_page), (construct_cd_size_page),
3677 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3678 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3679 (layout_page_prepare_cb), (build_template):
3680 * src/template-designer.glade:
3681 Added illustrations for rectangle, round, and cd label size pages.
3682 Added margin spinboxes to these pages, and now add a margin markup
3683 to the constructed template. Added realistic default values for
3684 some of the size spinboxes. Cleaned up the code for setting spinbox
3685 ranges on the layouts page.
3687 2004-01-02 Jim Evins <evins@snaught.com>
3689 * src/object-editor-size-page.c: (h_spin_cb):
3690 Fixed cut-n-paste error in h_spin_cb that loaded h from
3691 the wrong spinbutton.
3693 * src/object-editor.h:
3694 * src/object-editor.c: (gl_object_editor_class_init),
3695 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3696 * src/object-editor-private.h:
3697 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3699 Added "size_changed" signal.
3701 * src/view-text.c: (construct_properties_editor),
3702 (update_object_from_editor_cb),
3703 (update_object_from_editor_size_cb):
3704 Track size changes from object editor separately from other
3705 properties. This is so the default size (0,0) of a text
3706 object is not modified unintentionally.
3708 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3710 Added feature: line spacing - allows you to comfortably space a text box to
3711 fit a label perfectly.
3713 * data/glabels-2.0.dtd:
3714 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3715 (gl_label_object_get_text_alignment),
3716 (gl_label_object_get_text_line_spacing):
3717 * src/label-object.h:
3718 * src/label-text.c: (gl_label_text_class_init),
3719 (gl_label_text_instance_init), (copy), (get_size),
3720 (set_text_line_spacing), (get_text_alignment),
3721 (get_text_line_spacing):
3722 * src/object-editor-private.h:
3723 * src/object-editor-text-page.c:
3724 (gl_object_editor_prepare_text_page),
3725 (gl_object_editor_set_text_line_spacing),
3726 (gl_object_editor_get_text_line_spacing):
3727 * src/object-editor.glade:
3728 * src/object-editor.h:
3729 * src/prefs-dialog.c: (construct_object_page),
3730 (update_object_page_from_prefs), (update_prefs_from_object_page):
3731 * src/prefs-dialog.glade:
3732 * src/prefs-model.c: (gl_prefs_model_save_settings),
3733 (gl_prefs_model_load_settings), (get_float):
3734 * src/prefs-model.h:
3735 * src/print.c: (draw_text_object):
3737 * src/view-text.c: (update_object_from_editor_cb),
3738 (update_editor_from_object_cb),
3739 (gl_view_text_create_event_handler), (draw_hacktext):
3740 * src/view.c: (gl_view_construct),
3741 (gl_view_set_selection_text_line_spacing),
3742 (gl_view_set_default_text_line_spacing),
3743 (gl_view_get_default_text_line_spacing):
3745 * src/xml-label.c: (xml_parse_toplevel_span),
3746 (xml_create_toplevel_span):
3748 2003-12-30 Jim Evins <evins@snaught.com>
3750 * src/template-designer.c:
3751 * src/template-designer.h:
3752 * src/template-designer.glade:
3753 New template designer assistant.
3757 Added entries for src/template-designer.* files.
3759 * pixmaps/ex-1layout.png
3760 * pixmaps/ex-2layouts.png
3761 * pixmaps/Makefile.am:
3762 Added the new image files ex-*.png used as illustrations in the
3763 template designer assistant.
3765 * src/print-dialog.h:
3766 * src/print-dialog.c: (gl_print_dialog_finalize),
3767 (gl_print_dialog_new), (gl_print_dialog_construct),
3768 (gl_print_dialog_force_outline_flag):
3769 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3770 to support printing from the template designer assistant which does not
3771 have a full-fledged view. Nothing else from the view object was being
3772 used by the dialog anyway.
3774 Added the gl_print_dialog_force_outline_flag() method, for better
3775 integration with the template designer assistant.
3779 * src/commands.c: (gl_cmd_file_template_designer),
3780 (gl_cmd_file_print):
3781 Modified print command to provide label instead of view to dialog.
3782 Added the gl_cmd_file_template_designer() command to invoke the
3783 template designer assistant.
3786 * src/glabels-ui.xml:
3787 Added support for template designer assistant.
3789 * src/wdgt-mini-preview.h:
3790 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3791 (gl_wdgt_mini_preview_set_bg_color):
3792 Preview is now centered in canvas. Added
3793 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3794 assistant to match the background color with its own.
3796 * src/print.c: (clip_to_outline):
3797 Fixed really stupid bug when adding waste to clip region of rectangular
3798 labels/cards. Each side of the clip region needs to be extended by
3799 twice the waste margin, as well as negatively offset by the waste
3802 2003-12-28 Jim Evins <evins@snaught.com>
3804 * src/prefs-dialog.c: (update_object_page_from_prefs):
3805 Block intermediary function align_toggle_cb() instead of
3806 update_prefs_from_object_page() for the three alignment
3809 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3811 * src/file.c: (gl_file_new), (gl_file_properties):
3812 Swap button order and set default for higificatory pleasure.
3814 2003-12-27 Jim Evins <evins@snaught.com>
3816 * barcode-0.98/Makefile.am:
3817 One last time: removed doc/Makefile and po/Makefile.in.in from
3820 2003-12-27 Jim Evins <evins@snaught.com>
3822 * barcode-0.98/Makefile.am:
3823 Removed config.stat entry from EXTRA_DIST files.
3825 * barcode-0.98/Makefile.in:
3828 2003-12-27 Jim Evins <evins@snaught.com>
3831 Updated to work with latest gnome-common package from CVS.
3832 Removed recursive configuration of barcode-0.98.
3839 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3841 * barcode-0.98/Makefile.in:
3842 * barcode-0.98/configure.in:
3843 * barcode-0.98/Makefile.am:
3844 * barcode-0.98/README.glabels:
3845 Modified to ignore the barcode package's build system, and build
3846 as a part of glabels.
3847 Renamed Makefile.in to Makefile.in.dist.
3848 Renamed configure.in to configure.in.dist.
3849 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3852 * src/mygal/Makefile.am:
3853 * src/recent-files/Makefile.am:
3854 In order to build against the GNOME 2.5 platform,
3855 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3857 * src/mygal/Makefile.am:
3858 * src/mygal/mygal-combo-box.c:
3859 * src/mygal/mygal-combo-box.h:
3860 * src/mygal/widget-color-combo.c:
3861 * src/mygal/widget-color-combo.h:
3863 In order to build against the GNOME 2.5 platform,
3864 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3865 collisions with the real gtk_combo_box widget, now a part of gtk.
3867 2003-12-26 Jim Evins <evins@snaught.com>
3873 Moved local versions of get_home_data_dir() in paper.c and
3874 template.c to util package. Cleaned up formatting in
3878 In gl_template_register() save a copy of the template in
3879 ~/.glabels if the template is not known. Still need to
3880 handle duplicate filename case and duplicate name but
3881 different template case.
3885 Moved local definition of NAME_SPACE macro from xml-label.c
3888 * src/xml-template.c:
3889 * src/xml-template.h:
3890 Added function gl_xml_template_write_template_to_file(), used
3891 in gl_template_register().