1 2008-02-02 Jim Evins <evins@snaught.com>
4 * src/wdgt-merge-menu.c:
5 * src/wdgt-merge-menu.h:
6 * src/debug.c: (gl_debug_init):
10 * data/glade/object-editor.glade:
11 * src/object-editor-private.h:
12 * src/object-editor.c: (gl_object_editor_set_key_names):
13 * src/object-editor-edit-page.c:
14 (gl_object_editor_prepare_edit_page), (field_selected_cb),
16 Simplified UI for inserting fields into text objects by launching
17 a merge menu and directly inserting fields from the menu. No more
18 selecting field in combobox, then pressing insert button.
20 2008-01-31 Jim Evins <evins@snaught.com>
22 * src/label-barcode.c: (draw_object):
23 Fixed rendering problem when "Invalid data" is displayed when text
24 object is lower in stacking order.
26 2008-01-30 Jim Evins <evins@snaught.com>
28 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
29 Don't turn off cairo_hint_metrics. This causes serious issues with
32 2008-01-29 Jim Evins <evins@snaught.com>
34 * src/print-op.c: (gl_print_op_construct),
35 (gl_print_op_construct_batch), (set_page_size):
36 Explicitly set page size for "other" page sizes.
38 2008-01-25 Jim Evins <evins@snaught.com>
41 Fixed Code128C backend parameters.
42 * src/label-barcode.c: (get_size):
43 Bug #1766425. If barcode is not renderable with either
44 input data or default data, use a default size. Also
47 2008-01-16 Jim Evins <evins@snaught.com>
49 * src/print.c: (print_label):
50 Bug #1872568. Don't apply special transforms (rotate and
51 mirror) to clipping region or outline.
53 2008-01-01 Jim Evins <evins@snaught.com>
56 Sort font lists alphabetically.
58 2008-01-01 Jim Evins <evins@snaught.com>
60 * src/merge-evolution.c:
61 Do a case-insensitive sort.
63 2008-01-01 Jim Evins <evins@snaught.com>
65 * src/merge-evolution.c:
66 Sort evolution by "file_under" field. Original patch provided
67 by Peter Cherriman <glabels-devel2712@bubieyehyeh.me.uk> in
70 Added acknowledgement for above patch.
72 2008-01-01 Jim Evins <evins@snaught.com>
77 Reconcile with 2.2 branch.
80 2007-12-21 Jim Evins <evins@snaught.com>
83 * COPYING.README_FIRST:
85 Updating license information to make more complete and understandable.
87 2007-12-16 Jim Evins <evins@snaught.com>
90 Updated version to 2.pre2.
92 Updated documentation.
93 * src/ui-commands.c: (gl_ui_cmd_help_about):
94 Updated copyright string.
96 2007-12-15 Jim Evins <evins@snaught.com>
98 * data/glade/object-editor.glade:
99 Removed any GtkTable that contained a GtkComboBox because the size of
100 the combo box was not constrained properly. This sacrifices the nice
101 orderly labels for combo boxes that don't extend beyond the edge of the
104 2007-12-15 Jim Evins <evins@snaught.com>
106 * libglabels/db.c: (lgl_db_lookup_template_from_name):
107 * src/object-editor.c: (gl_object_editor_finalize):
108 * src/wdgt-media-select.c: (gl_wdgt_media_select_finalize):
109 Fixed several small memory leaks.
111 2007-12-14 Jim Evins <evins@snaught.com>
114 Optimize template search by name by using a GHashTable.
115 * src/mini-preview-pixbuf-cache.c:
116 * src/mini-preview-pixbuf-cache.h:
117 Store one pixbuf per template, but use a key for each alias.
118 * src/wdgt-media-select.c:
119 Optimize loading of tree data, thus optimizing the "new label" dialog.
121 2007-12-12 Jim Evins <evins@snaught.com>
123 * data/templates/avery-us-templates.xml:
124 More templates and aliases.
126 2007-12-08 Jim Evins <evins@snaught.com>
129 More prep for 2.1.5/2.2.0.
131 2007-12-08 Jim Evins <evins@snaught.com>
137 Preparation for 2.1.5.
139 2007-12-08 Jim Evins <evins@snaught.com>
141 * docs/libglabels/libglabels-decl-list.txt:
142 * docs/libglabels/libglabels-docs.sgml:
143 * docs/libglabels/libglabels-sections.txt:
144 * docs/libglabels/libglabels-undocumented.txt:
145 * docs/libglabels/tmpl/db.sgml:
146 * docs/libglabels/tmpl/str.sgml:
148 Documentation cleanup for libglabels.
150 2007-11-29 Jim Evins <evins@snaught.com>
154 Added lgl_db_does_template_name_exist().
155 In lgl_db_lookup_template_from_name() substitute brand/part of new template from
158 Proof read recent templates -- make sure they still exist.
159 * src/wdgt-media-select.c:
160 Default to "search all templates" tab if no recent templates found.
162 2007-11-28 Jim Evins <evins@snaught.com>
164 * data/glade/wdgt-media-select.glade:
165 * src/wdgt-media-select.c:
166 Added tabbed notebook to allow selection of recent template versus searching the
170 2007-11-26 Jim Evins <evins@snaught.com>
172 * libglabels/Makefile.am:
173 * libglabels/libglabels.h:
176 * src/prefs-dialog.c:
181 Added tracking of recently used templates.
183 2007-11-20 Jim Evins <evins@snaught.com>
185 * data/glade/template-designer.glade:
186 * src/template-designer.c:
187 Added warning icon when match brand and part match an existing template.
189 2007-11-18 Jim Evins <evins@snaught.com>
191 * libglabels/Makefile.am:
194 Added lgl_str_utf8_casecmp().
195 * libglabels/libglabels-private.h:
196 Use lgl_str_utf8_casecmp() for UTF8_EQUAL macro -- do case insensitive comparisons.
197 * libglabels/db.c: (lgl_db_get_brand_list):
198 Use lgl_str_utf8_casecmp() to determine if we have seen brand before when building
201 2007-11-18 Jim Evins <evins@snaught.com>
203 * data/glade/template-designer.glade:
204 * src/template-designer.c:
205 Don't advance past name page, if brand and part match an existing template.
207 2007-11-18 Jim Evins <evins@snaught.com>
209 * libglabels/db.c: (lgl_db_register_template), (read_templates):
210 When registering a new template, don't add to "User defined" category before
211 writing to file. Add to "User defined" category when reading from "~/.glabels"
212 directory instead. This will allow legacy templates (and manually created
213 templates) to be automatically added to the "user defined" category.
214 * libglabels/xml-template.c:
215 (lgl_xml_template_create_template_node):
216 Fixed typo/bug causing brand to be wrong.
218 2007-11-16 Jim Evins <evins@snaught.com>
222 Added return codes to lgl_db_register_template(). Added lgl_db_does_template_exist()
223 function. Automatically create "User defined" category and add to all user
224 registered templates.
225 * libglabels/xml-template.c:
226 * libglabels/xml-template.h:
227 Return number of bytes written from lgl_xml_template_write_templates_to_file() and
228 lgl_xml_template_write_template_to_file().
229 * docs/libglabels/libglabels-decl-list.txt:
230 * docs/libglabels/libglabels-sections.txt:
231 * docs/libglabels/libglabels-undocumented.txt:
232 * docs/libglabels/tmpl/db.sgml:
233 * docs/libglabels/tmpl/xml-template.sgml:
234 Update documentation to reflect above changes.
236 2007-10-28 Jim Evins <evins@snaught.com>
238 * libglabels/xml-template.c:
239 Remove any leading white space from part #s when parsing old names.
240 * src/mini-preview-pixbuf-cache.c:
241 If name isn't in cache add it.
243 2007-10-26 Jim Evins <evins@snaught.com>
245 * libglabels/Makefile.am:
246 * libglabels/category.c:
247 * libglabels/category.h:
250 * libglabels/libglabels-private.h:
251 * libglabels/libglabels.h:
252 * libglabels/paper.c:
253 * libglabels/paper.h:
254 * libglabels/template.c:
255 * libglabels/template.h:
256 * libglabels/xml-template.c:
257 Another pass at screwing with the libglabels API. Moved all
258 database related stuff to db.[ch].
259 * docs/libglabels/libglabels-decl-list.txt:
260 * docs/libglabels/libglabels-docs.sgml:
261 * docs/libglabels/libglabels-sections.txt:
262 * docs/libglabels/libglabels-undocumented.txt:
263 * docs/libglabels/tmpl/category.sgml:
264 * docs/libglabels/tmpl/db.sgml:
265 * docs/libglabels/tmpl/init.sgml:
266 * docs/libglabels/tmpl/libglabels-unused.sgml:
267 * docs/libglabels/tmpl/paper.sgml:
268 * docs/libglabels/tmpl/template-construction.sgml:
269 * docs/libglabels/tmpl/template-db.sgml:
270 * docs/libglabels/tmpl/template-misc.sgml:
271 * docs/libglabels/tmpl/template-struct.sgml:
272 * docs/libglabels/tmpl/template.sgml:
273 Updated documentation to reflect above changes to libglabels API.
275 * src/glabels-batch.c:
277 * src/mini-preview-pixbuf-cache.c:
280 * src/template-designer.c:
281 * src/wdgt-media-select.c:
282 * src/wdgt-mini-preview.c:
283 * src/wdgt-rotate-label.c:
284 * src/xml-label-04.c:
286 Reconciled usage with above libglabels API changes.
288 2007-10-21 Jim Evins <evins@snaught.com>
290 * data/glade/wdgt-media-select.glade:
291 * src/wdgt-media-select.c:
292 Added brand to filter settings.
294 2007-10-21 Jim Evins <evins@snaught.com>
296 * data/dtd/glabels-2.2.dtd:
297 Forgot to replace Alias name attribute with brand and part attributes.
298 * data/templates/avery-iso-templates.xml:
299 * data/templates/avery-other-templates.xml:
300 * data/templates/avery-us-templates.xml:
301 * data/templates/misc-iso-templates.xml:
302 * data/templates/misc-other-templates.xml:
303 * data/templates/misc-us-templates.xml:
304 * data/templates/zweckform-iso-templates.xml:
305 Replaced all name attributes with brand/part attribute pairs.
307 2007-10-20 Jim Evins <evins@snaught.com>
309 * src/stock-pixmaps/*.png
310 Updated icons to use Tango color palette.
312 2007-10-20 Jim Evins <evins@snaught.com>
314 * data/dtd/Makefile.am:
315 * data/dtd/glabels-2.0.dtd:
316 * data/dtd/glabels-2.2.dtd:
317 Rename glabels-2.0.dtd to glabels-2.2.dtd. Added brand and part attributes to
319 * libglabels/template.c:
320 * libglabels/template.h:
321 * libglabels/xml-template.c:
323 Added brand and part attributes to template and alias structures and nodes.
326 * src/mini-preview-pixbuf-cache.c:
327 * src/template-designer.c:
328 * src/wdgt-media-select.c:
329 Use modified libglabels API.
330 * docs/libglabels/libglabels-decl-list.txt:
331 * docs/libglabels/libglabels-sections.txt:
332 * docs/libglabels/libglabels-undocumented.txt:
333 * docs/libglabels/tmpl/template-construction.sgml:
334 * docs/libglabels/tmpl/template-db.sgml:
335 * docs/libglabels/tmpl/template-struct.sgml:
336 Update libglabels documentation to reflect above modifications.
338 2007-10-14 Jim Evins <evins@snaught.com>
340 * docs/libglabels/libglabels-decl-list.txt:
341 * docs/libglabels/libglabels-sections.txt:
342 * docs/libglabels/libglabels-undocumented.txt:
343 * docs/libglabels/tmpl/category.sgml:
344 * libglabels/category.c:
345 * libglabels/category.h:
346 Added lgl_category_get_id_list() and lgl_category_free_id_list() to have
347 parity with paper functions.
349 2007-10-12 Jim Evins <evins@snaught.com>
351 * docs/libglabels/libglabels-decl-list.txt:
352 * docs/libglabels/libglabels-sections.txt:
353 * docs/libglabels/libglabels-undocumented.txt:
354 * docs/libglabels/tmpl/category.sgml:
355 * docs/libglabels/tmpl/enums.sgml:
356 * docs/libglabels/tmpl/libglabels-unused.sgml:
357 * docs/libglabels/tmpl/paper.sgml:
358 * docs/libglabels/tmpl/template-struct.sgml:
360 * libglabels/template.c:
361 * libglabels/template.h:
362 Another pass at fleshing out the libglabels documentation.
363 * src/cairo-label-path.c:
364 * src/cairo-markup-path.c:
366 * src/mini-preview-pixbuf.c:
370 * src/wdgt-media-select.c:
371 * src/wdgt-mini-preview.c:
372 * src/wdgt-print-copies.c:
373 * src/wdgt-print-merge.c:
374 * src/wdgt-rotate-label.c:
375 Removed lgl_template_get_first_frame() from libglabels API and all references.
377 2007-10-11 Jim Evins <evins@snaught.com>
379 Extended checks for deprecated symbols.
380 * libglabels/template.c:
381 Removed g_strcasecmp references, which are deprecated.
383 2007-10-09 Jim Evins <evins@snaught.com>
385 * src/merge-evolution.c:
386 Create address book if it does not exist. Also, be more robust about handling
387 error conditions -- don't just assume GError has been set.
389 2007-10-08 Jim Evins <evins@snaught.com>
391 * libglabels/template.c:
392 * libglabels/xml-template.c:
393 * src/template-designer.c:
394 Missed some symbols with libglabels API work.
396 2007-10-01 Jim Evins <evins@snaught.com>
398 * docs/libglabels/libglabels-decl-list.txt:
399 * docs/libglabels/libglabels-docs.sgml:
400 * docs/libglabels/libglabels-sections.txt:
401 * docs/libglabels/libglabels-undocumented.txt:
402 * docs/libglabels/tmpl/category.sgml:
403 * docs/libglabels/tmpl/enums.sgml:
404 * docs/libglabels/tmpl/init.sgml:
405 * docs/libglabels/tmpl/libglabels-unused.sgml:
406 * docs/libglabels/tmpl/paper.sgml:
407 * docs/libglabels/tmpl/template-construction.sgml:
408 * docs/libglabels/tmpl/template-db.sgml:
409 * docs/libglabels/tmpl/template-misc.sgml:
410 * docs/libglabels/tmpl/template-struct.sgml:
411 * docs/libglabels/tmpl/template.sgml:
412 * docs/libglabels/tmpl/xml-category.sgml:
413 * docs/libglabels/tmpl/xml-template.sgml:
414 * libglabels/category.h:
416 * libglabels/libglabels-private.h:
417 * libglabels/paper.h:
418 * libglabels/template.c:
419 * libglabels/template.h:
420 * libglabels/xml-template.h:
421 Basic documentation framework for libglabels updated. This still needs some
424 2007-09-27 Jim Evins <evins@snaught.com>
426 * docs/libglabels/libglabels-decl-list.txt:
427 * docs/libglabels/libglabels-docs.sgml:
428 * docs/libglabels/libglabels-sections.txt:
429 * docs/libglabels/libglabels-undocumented.txt:
430 * docs/libglabels/tmpl/enums.sgml:
431 * docs/libglabels/tmpl/init.sgml:
432 * docs/libglabels/tmpl/libglabels-unused.sgml:
433 * docs/libglabels/tmpl/paper.sgml:
434 * docs/libglabels/tmpl/template.sgml:
435 * docs/libglabels/tmpl/xml-paper.sgml:
436 * docs/libglabels/tmpl/xml-template.sgml:
437 * docs/libglabels/tmpl/xml.sgml:
438 * libglabels/Makefile.am:
439 * libglabels/category.c:
440 * libglabels/category.h:
441 * libglabels/enums.h:
444 * libglabels/libglabels-private.h:
445 * libglabels/libglabels.h:
446 * libglabels/paper.c:
447 * libglabels/paper.h:
448 * libglabels/template.c:
449 * libglabels/template.h:
450 * libglabels/xml-category.c:
451 * libglabels/xml-category.h:
452 * libglabels/xml-paper.c:
453 * libglabels/xml-paper.h:
454 * libglabels/xml-template.c:
455 * libglabels/xml-template.h:
458 * src/cairo-label-path.c:
459 * src/cairo-label-path.h:
460 * src/cairo-markup-path.c:
461 * src/cairo-markup-path.h:
463 * src/glabels-batch.c:
465 * src/label-object.c:
468 * src/mini-preview-pixbuf-cache.c:
469 * src/mini-preview-pixbuf.c:
470 * src/mini-preview-pixbuf.h:
471 * src/prefs-dialog.c:
478 * src/template-designer.c:
479 * src/view-barcode.c:
481 * src/view-ellipse.c:
485 * src/wdgt-media-select.c:
486 * src/wdgt-mini-preview.c:
487 * src/wdgt-mini-preview.h:
488 * src/wdgt-print-copies.c:
489 * src/wdgt-print-merge.c:
490 * src/wdgt-rotate-label.c:
491 * src/xml-label-04.c:
493 Major cleanup of libglabels API -- this breaks API compatibility with older
494 development and stable versions -- as far as I know, there are currently
495 no external users of this library yet.
497 2007-09-14 Jim Evins <evins@snaught.com>
502 * src/label-object.c:
503 * src/label-object.h:
504 * src/label-barcode.c:
505 * src/label-ellipse.c:
508 * src/view-barcode.c:
510 * src/view-ellipse.c:
514 Better separation of model from view.
516 2007-08-21 Jim Evins <evins@snaught.com>
518 * src/print-op.c: (create_custom_widget_cb):
519 Fix problem with force_outline_flag -- don't override with default.
521 2007-08-21 Jim Evins <evins@snaught.com>
523 * data/dtd/glabels-2.0.dtd:
524 * libglabels/template.c:
525 * libglabels/template.h:
526 * libglabels/xml-template.c:
527 * src/cairo-markup-path.c:
528 Added "Markup-rect" element to template format.
530 2007-08-21 Jim Evins <evins@snaught.com>
533 Changed version to 2.1.pre5svn.
534 * src/view.c: (draw_markup_layer):
535 Do a stroke for each markup path, otherwise multiple markups
538 2007-08-17 Jim Evins <evins@snaught.com>
541 Bump libglabels revision numbers for 2.1.4 release.
543 2007-08-16 Jim Evins <evins@snaught.com>
546 Include subdir iec16022-0.2.1.
550 Preparation for 2.1.4.
553 2007-08-11 Jim Evins <evins@snaught.com>
559 Added Esperanto translation. Provided by Antonio C.
560 Codazzi "la Filozofo" <f_sophia@libero.it>.
562 Updated French translation. Provided by Claude Paroz
563 <claude@2xlibre.net>.
565 Updated to reflect above translations.
567 2007-08-11 Jim Evins <evins@snaught.com>
570 * data/templates/avery-iso-templates.xml:
571 * data/templates/avery-us-templates.xml:
572 * data/templates/misc-iso-templates.xml:
573 * data/templates/misc-other-templates.xml:
574 * data/templates/misc-us-templates.xml:
575 * data/templates/zweckform-iso-templates.xml:
576 Caught up with backlog of template submissions.
578 2007-08-10 Jim Evins <evins@snaught.com>
580 * src/bc-postnet.c: (gl_barcode_postnet_new):
582 Added support for Brazilian CEPNet barcodes. This is simply an
583 instance of the US POSTNET format with 8 digits. Patch supplied
584 by Mário Meyer in bug # 1768792.
586 Updated acknowledgments to reflect above patch and recent shuffling
587 of underlying technology.
589 2007-05-13 Jim Evins <evins@snaught.com>
591 * src/merge-text.c: (parse_line), (parse_field):
592 Remove leading and trailing spaces from CSV fields, unless quoted.
594 2007-05-09 Jim Evins <evins@snaught.com>
596 * src/object-editor-bc-page.c:
597 * src/object-editor-data-page.c:
598 * src/object-editor-fill-page.c:
599 * src/object-editor-image-page.c:
600 * src/object-editor-line-page.c:
601 * src/object-editor-lsize-page.c:
602 * src/object-editor-position-page.c:
603 * src/object-editor-private.h:
604 * src/object-editor-shadow-page.c:
605 * src/object-editor-size-page.c:
606 * src/object-editor-text-page.c:
607 * src/object-editor.c:
608 * src/prefs-dialog.c:
609 * src/template-designer.c:
610 * src/ui-property-bar.c:
611 * src/wdgt-media-select.c:
612 Replaced signal block/unblock pairs with simple flags. This reduces
613 some code clutter, hopefully making it easier to read.
615 2007-05-05 Jim Evins <evins@snaught.com>
617 * src/template-designer.c: (apply_cb):
618 Add new template to mini-preview pixbuf cache.
620 2007-05-03 Jim Evins <evins@snaught.com>
622 * src/label-image.c: (gl_label_image_init), (draw_object):
623 Scale default pixbuf up, to prevent bluring. Use cairo_fill to
626 2007-05-02 Jim Evins <evins@snaught.com>
628 * src/view.c: (draw_select_region_layer), (motion_notify_event_cb),
629 (button_release_event_cb):
630 Removed attempt at rendering optimization by clipping the updates
631 to areas affected -- this actually seemed to hurt update performance.
633 2007-04-30 Jim Evins <evins@snaught.com>
636 * src/color.c: (gl_color_shadow), (gl_color_node_new_default),
637 (gl_color_node_equal), (gl_color_node_expand):
638 * src/label-barcode.c: (draw_object):
639 * src/label-box.c: (draw_object), (draw_shadow):
640 * src/label-ellipse.c: (draw_object), (draw_shadow):
641 * src/label-line.c: (draw_object), (draw_shadow):
642 * src/label-text.c: (draw_object), (draw_shadow):
643 * src/wdgt-mini-preview.c: (draw_shadow), (draw_labels):
644 * src/wdgt-rotate-label.c: (drawingarea_update):
645 Some cleanup to color related code.
647 2007-04-30 Jim Evins <evins@snaught.com>
650 Added glLabelRegion structure type.
651 * src/label-object.c: (gl_label_object_get_extent):
652 * src/label-object.h:
653 Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
655 * src/view.c: (gl_view_update_region), (draw_select_region_layer),
656 (gl_view_select_region), (gl_view_align_selection_left),
657 (gl_view_align_selection_right), (gl_view_align_selection_hcenter),
658 (gl_view_align_selection_top), (gl_view_align_selection_bottom),
659 (gl_view_align_selection_vcenter),
660 (gl_view_center_selection_horiz), (gl_view_center_selection_vert),
661 (gl_view_move_selection), (gl_view_can_selection_text),
662 (motion_notify_event_cb), (button_press_event_cb),
663 (button_release_event_cb):
664 - Reconcile with new gl_label_object_get_extent() API.
665 - Use glLabelRegion for view->select_region.
666 - Added gl_view_update_region() to clip updates to region.
667 - Use gl_view_update_region() during manipulation of view->select_region.
669 2007-04-26 Jim Evins <evins@snaught.com>
671 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
672 (draw_label_outline):
673 * src/print.c: (print_crop_marks), (draw_outline):
674 * src/view-object.c: (gl_view_object_draw_handles):
675 * src/view.c: (draw_bg_layer), (draw_grid_layer),
676 (draw_markup_layer), (draw_fg_layer), (draw_select_region_layer):
677 * src/wdgt-mini-preview.c: (draw_paper), (draw_labels):
678 * src/wdgt-rotate-label.c: (drawingarea_update):
679 Added defines for various magic numbers.
681 2007-04-25 Jim Evins <evins@snaught.com>
683 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
684 Scale text down. Cairo seems to render text too large.
686 2007-04-25 Jim Evins <evins@snaught.com>
689 * src/view.c: (gl_view_update), (expose_cb),
690 (motion_notify_event_cb), (button_press_event_cb),
691 (button_release_event_cb):
692 - Try not to let updates get backed up.
693 - Grab pointer when doing any drag operations.
695 2007-04-11 Jim Evins <evins@snaught.com>
697 * src/cairo-label-path.c: (gl_cairo_label_path),
698 (gl_cairo_rect_label_path), (gl_cairo_round_label_path),
699 (gl_cairo_cd_label_path):
700 * src/cairo-label-path.h:
701 * src/mini-preview-pixbuf.c: (draw_paper), (draw_label_outlines),
702 (draw_label_outline):
703 * src/print.c: (draw_outline), (clip_to_outline):
704 * src/view.c: (draw_bg_layer), (draw_fg_layer):
705 * src/wdgt-mini-preview.c: (draw_labels):
706 * src/wdgt-rotate-label.c: (drawingarea_update):
707 Modified to universally use gl_cairo_label_path() to create paths
708 for labels. Added shadow to mini preview in rotate widget.
710 2007-04-10 Jim Evins <evins@snaught.com>
712 * libglabels/template.h:
713 * libglabels/template.c: (gl_template_get_name_list_unique),
714 (gl_template_get_name_list_all), (gl_template_from_name):
715 Modified libglabels to allow you to get a list of all template names
716 including all aliases or just a list of primary names of each unique
719 * src/file.c: (gl_file_properties):
720 * src/glabels.c: (main):
721 * src/mini-preview-pixbuf-cache.h:
722 * src/mini-preview-pixbuf-cache.c:
723 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
724 (filter_changed_cb), (load_list):
725 Added mini-preview pixbuf cache, so that only one mini-preview is
726 needed for a unique template and gets reused for all aliases. These
727 pixbufs will also live for the life of the program so they are not
728 rebuilt everytime a new label dialog is invoked.
729 * src/mini-preview-pixbuf.c: (draw_paper),
730 (draw_rect_label_outline), (draw_round_label_outline),
731 (draw_cd_label_outline):
732 Removed some comment artifacts.
734 2007-04-04 Jim Evins <evins@snaught.com>
736 * src/mini-preview-pixbuf.c: (gl_mini_preview_pixbuf_new),
737 (draw_paper), (draw_label_outlines), (draw_rect_label_outline),
738 (draw_round_label_outline), (draw_cd_label_outline):
739 * src/wdgt-media-select.c: (load_list):
740 * src/wdgt-rotate-label.c: (draw_cd_label_outline):
741 Cosmetic enhancments to mini previews.
743 2007-04-04 Jim Evins <evins@snaught.com>
745 * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
746 (gl_ui_property_bar_construct):
747 Save copy of GladeXML tree so that we don't lose tooltips.
749 2007-04-02 Jim Evins <evins@snaught.com>
751 * src/merge-properties-dialog.c:
752 * src/new-label-dialog.c:
753 * src/object-editor.c:
754 * src/prefs-dialog.c:
756 * src/template-designer.c:
757 * src/ui-property-bar.c:
758 * src/wdgt-media-select.c:
759 * src/wdgt-rotate-label.c:
760 Fixed several memory leaks.
762 2007-04-01 Jim Evins <evins@snaught.com>
764 * src/label-text.c: (gl_label_text_init), (copy),
765 (gl_label_text_set_lines), (buffer_changed_cb), (get_size),
766 (set_font_family), (set_font_size), (set_font_weight),
767 (set_font_italic_flag), (set_text_alignment),
768 (set_text_line_spacing):
769 Cache object size, so that expensive extent calculations are only done
772 2007-03-30 Jim Evins <evins@snaught.com>
774 * src/prefs-model.c: (gl_prefs_model_load_settings):
775 Default to an unlimited list of recent documents, since this parameter
776 seems to be pre-filter anyway.
778 2007-03-30 Jim Evins <evins@snaught.com>
780 * src/label-box.c: (draw_shadow):
781 * src/label-ellipse.c: (draw_shadow):
782 Added missing shadow fill.
784 2007-03-28 Jim Evins <evins@snaught.com>
786 * src/ui-commands.c: (gl_ui_cmd_file_print):
787 Unreferencing the print operation sometimes crashes. Just don't do it
790 2007-03-28 Jim Evins <evins@snaught.com>
792 * src/print-op.c: (gl_print_op_construct),
793 (gl_print_op_get_settings), (gl_print_op_set_settings),
794 (gl_print_op_free_settings), (create_custom_widget_cb):
796 * src/ui-commands.c: (gl_ui_cmd_file_print):
797 * src/window.c: (gl_window_init):
799 Save print settings and custom settings between print operations
802 2007-03-24 Jim Evins <evins@snaught.com>
804 * src/object-editor-image-page.c:
805 (gl_object_editor_prepare_image_page),
806 (gl_object_editor_set_image), (img_selection_changed_cb):
807 Workaround for GtkFileChooserButton bug # 327243. This the root
808 cause for gLabels bug # 1192884. I have actually observed 3 delayed
809 "selection-changed" signals -- the first 2 return NULL -- this is
810 what caused the image to reset to the default followed by setting
811 it back to the original image, trying to fit it into a new bounding
812 box. This sequence of events is much more evident with the new
815 2007-03-23 Jim Evins <evins@snaught.com>
817 Merged all changes from experimental cairo branch to trunk.
818 Trunk no longer depends on libgnomecanvas or libgnomeprint[ui].
820 2007-03-23 Jim Evins <evins@snaught.com>
822 * src/label-object.h:
823 * src/label-object.c: (gl_label_object_class_init),
824 (gl_label_object_get_raw_size), (gl_label_object_get_size):
825 Created "get_raw_size" method.
826 * src/label-barcode.c: (get_size):
827 * src/xml-label.c: (xml_create_object_text),
828 (xml_create_object_barcode):
829 Use new "get_raw_size" method on label-objects when apropos.
831 * src/label-text.c: (get_size), (draw_object), (draw_shadow),
832 (auto_shrink_font_size):
833 Added "auto shrink" functionality back.
835 2007-03-19 Jim Evins <evins@snaught.com>
837 * src/label-text.c: (draw_object), (draw_shadow):
838 Don't use negative scales in workaround from previous commit.
841 2007-03-18 Jim Evins <evins@snaught.com>
844 Forgot to remove include of xml-lable-191 in previous commit.
845 * src/label-text.c: (get_size), (draw_object), (draw_shadow):
846 Workaround for pango Bug #341481. Render text at device scale,
847 and scale font size accordingly. Also, don't do any hinting.
849 2007-03-18 Jim Evins <evins@snaught.com>
851 * src/cairo-ellipse-path.c:
852 * src/cairo-ellipse-path.h:
853 Forgot to add these new files during last mass commit.
855 2007-03-18 Jim Evins <evins@snaught.com>
858 * src/xml-label-191.c:
859 * src/xml-label-191.h:
860 Removed -- Very buggy. Version 1.91 is a very old "unstable" version,
861 so there is no need to keep compatability.
864 * src/cairo-label-path.c:
865 * src/cairo-label-path.h:
866 * src/cairo-markup-path.c:
870 * src/glabels-batch.c:
872 * src/label-barcode.c:
874 * src/label-ellipse.c:
877 * src/label-object.c:
878 * src/label-object.h:
882 * src/merge-properties-dialog.c:
884 * src/new-label-dialog.c:
885 * src/object-editor-bc-page.c:
886 * src/object-editor-data-page.c:
887 * src/object-editor-edit-page.c:
888 * src/object-editor-fill-page.c:
889 * src/object-editor-image-page.c:
890 * src/object-editor-line-page.c:
891 * src/object-editor-private.h:
892 * src/object-editor-shadow-page.c:
893 * src/object-editor-text-page.c:
894 * src/object-editor.c:
895 * src/pixbuf-cache.c:
900 * src/template-designer.c:
902 * src/ui-property-bar.c:
904 * src/view-barcode.c:
906 * src/view-ellipse.c:
913 * src/wdgt-media-select.c:
914 * src/wdgt-print-copies.c:
915 * src/wdgt-print-merge.c:
917 * src/xml-label-04.c:
919 Many changes, including:
920 - Move draw methods from view-*() to label-*().
921 - Use same drawing code for on screen view and printing.
922 - Fix all issues exposed with '-Wall -Werror'.
924 2007-03-14 Jim Evins <evins@snaught.com>
927 * src/cairo-handle-path.c:
928 * src/cairo-handle-path.h:
929 * src/cairo-object-path.c:
930 * src/cairo-object-path.h:
931 Removed cairo-handle-path.[ch] and cairo-object-path.[ch].
932 * src/view-barcode.c: (gl_view_barcode_class_init), (draw_object),
934 * src/view-box.c: (gl_view_box_class_init), (draw_object),
935 (draw_shadow), (object_at):
936 * src/view-ellipse.c: (gl_view_ellipse_class_init),
937 (create_ellipse_path), (draw_object), (draw_shadow), (object_at):
938 * src/view-image.c: (gl_view_image_class_init), (draw_object),
940 * src/view-line.c: (gl_view_line_class_init), (draw_object),
941 (draw_shadow), (object_at):
942 * src/view-object.c: (gl_view_object_draw), (gl_view_object_at),
943 (create_handle_path), (gl_view_object_draw_handles),
944 (gl_view_object_handle_at):
946 * src/view-text.c: (gl_view_text_class_init), (draw_object),
947 (draw_shadow), (object_at):
948 * src/view.c: (motion_notify_event_cb), (button_press_event_cb):
949 Some restructuring of new code.
951 2007-03-12 Jim Evins <evins@snaught.com>
954 * src/cairo-object-path.c:
955 * src/view-barcode.c:
956 * src/view-barcode.h:
958 Added barcode object support to view.
960 2007-03-12 Jim Evins <evins@snaught.com>
966 * src/cairo-object-path.c:
967 * src/cairo-object-path.h:
969 * src/view-ellipse.c:
974 Added text object support to view. Added object_at method to all
977 2007-03-11 Jim Evins <evins@snaught.com>
980 * src/cairo-object-path.c: (gl_cairo_object_path),
981 (gl_cairo_image_object_path):
982 * src/view-image.c: (gl_view_image_class_init),
983 (gl_view_image_finalize), (gl_view_image_new),
984 (update_editor_from_label_cb), (draw),
985 (gl_view_image_get_create_cursor),
986 (gl_view_image_create_button_press_event),
987 (gl_view_image_create_motion_event),
988 (gl_view_image_create_button_release_event):
990 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
991 (selection_received_cb), (motion_notify_event_cb),
992 (button_press_event_cb), (button_release_event_cb):
993 Added image object support to view.
995 2007-03-11 Jim Evins <evins@snaught.com>
998 * src/cairo-object-path.c: (gl_cairo_object_path),
999 (gl_cairo_line_object_path):
1000 * src/view-line.c: (gl_view_line_class_init), (gl_view_line_new),
1001 (update_object_from_editor_cb), (update_editor_from_object_cb),
1002 (update_editor_from_label_cb), (draw),
1003 (gl_view_line_get_create_cursor),
1004 (gl_view_line_create_button_press_event),
1005 (gl_view_line_create_motion_event),
1006 (gl_view_line_create_button_release_event):
1008 * src/view-object.c: (gl_view_object_resize_event):
1009 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1010 (selection_received_cb), (motion_notify_event_cb),
1011 (button_press_event_cb), (button_release_event_cb):
1012 Added line object support to view.
1013 * src/cairo-handle-path.c:
1014 Made handles slightly larger.
1017 2007-03-11 Jim Evins <evins@snaught.com>
1020 * src/cairo-handle-path.c:
1021 * src/cairo-label-path.c: (gl_cairo_rect_label_path),
1022 (gl_cairo_round_label_path), (gl_cairo_cd_label_path):
1023 * src/cairo-markup-path.c: (gl_cairo_markup_margin_rect_path),
1024 (gl_cairo_markup_margin_round_path),
1025 (gl_cairo_markup_margin_cd_path), (gl_cairo_markup_circle_path):
1026 * src/cairo-object-path.c: (gl_cairo_object_path),
1027 (gl_cairo_ellipse_object_path):
1028 * src/label-object.c: (gl_label_object_rotate):
1031 * src/view-ellipse.c: (gl_view_ellipse_class_init),
1032 (gl_view_ellipse_new), (update_object_from_editor_cb),
1033 (update_editor_from_object_cb), (update_editor_from_label_cb),
1034 (draw), (gl_view_ellipse_get_create_cursor),
1035 (gl_view_ellipse_create_button_press_event),
1036 (gl_view_ellipse_create_motion_event),
1037 (gl_view_ellipse_create_button_release_event):
1038 * src/view-ellipse.h:
1039 * src/view-object.c:
1040 * src/view-object.h:
1041 * src/view.c: (gl_view_construct), (gl_view_object_create_mode),
1042 (select_object_real), (selection_received_cb),
1043 (motion_notify_event_cb), (button_press_event_cb),
1044 (button_release_event_cb):
1046 Added ellipse object support to view. Plus other cleanup.
1048 2007-03-11 Jim Evins <evins@snaught.com>
1051 * src/view-box.c: (gl_view_box_get_create_cursor),
1052 (gl_view_box_create_button_press_event),
1053 (gl_view_box_create_motion_event),
1054 (gl_view_box_create_button_release_event):
1055 * src/view-object.c: (gl_view_object_set_view),
1056 (gl_view_object_handle_at):
1058 * src/view.c: (gl_view_arrow_mode), (gl_view_object_create_mode),
1059 (motion_notify_event_cb), (button_press_event_cb),
1060 (button_release_event_cb), (key_press_event_cb):
1061 Added creation code for box object.
1063 2007-03-09 Jim Evins <evins@snaught.com>
1065 * src/view-object.c: (gl_view_object_resize_event):
1066 * src/view-object.h:
1067 * src/view.c: (motion_notify_event_cb):
1068 Fix bugs with resizing transformed objects.
1069 * src/cairo-handle-path.c: (gl_cairo_handle_path):
1070 * src/cairo-object-path.c: (gl_cairo_object_path):
1071 * src/cairo-object-path.h:
1072 * src/label-object.c: (gl_label_object_init),
1073 (gl_label_object_dup), (gl_label_object_get_extent),
1074 (gl_label_object_flip_horiz), (gl_label_object_flip_vert),
1075 (gl_label_object_rotate), (gl_label_object_set_matrix),
1076 (gl_label_object_get_matrix):
1077 * src/label-object.h:
1078 * src/print.c: (draw_object):
1080 * src/view-highlight.c:
1081 * src/view-highlight.h:
1082 * src/xml-label-191.c: (xml191_parse_object):
1083 * src/xml-label.c: (xml_parse_affine_attrs),
1084 (xml_create_affine_attrs):
1085 Replace libart affine matrices with cairo matrices.
1087 2007-03-08 Jim Evins <evins@snaught.com>
1089 * src/view-object.h:
1090 * src/view.c: (gl_view_update), (motion_notify_event_cb):
1091 * src/view-object.c: (gl_view_object_handle_at),
1092 (gl_view_object_resize_event):
1093 Added resize code -- still a bit buggy.
1095 2007-03-07 Jim Evins <evins@snaught.com>
1098 * src/cairo-handle-path.c:
1099 * src/cairo-handle-path.h:
1100 * src/view-box.c: (gl_view_box_new):
1101 * src/view-object.c: (gl_view_object_set_object),
1102 (gl_view_object_draw_handles), (gl_view_object_handle_at):
1103 * src/view-object.h:
1104 * src/view.c: (draw_highlight_layer), (select_object_real),
1105 (unselect_object_real), (view_handle_at), (motion_notify_event_cb),
1106 (button_press_event_cb), (button_release_event_cb),
1107 (key_press_event_cb):
1109 Added beginnings of object resize handles.
1111 2007-03-07 Jim Evins <evins@snaught.com>
1114 * src/view.c: (gl_view_init), (gl_view_arrow_mode),
1115 (gl_view_object_create_mode), (motion_notify_event_cb),
1116 (button_press_event_cb), (button_release_event_cb),
1117 (key_press_event_cb):
1118 Added move selection support.
1120 2007-03-05 Jim Evins <evins@snaught.com>
1122 * src/cairo-object-path.c: (gl_cairo_object_path):
1123 * src/view-object.c: (gl_view_object_draw),
1124 (gl_view_object_draw_highlight):
1125 * src/view.c: (view_object_at), (motion_notify_event_cb),
1126 (button_press_event_cb), (button_release_event_cb):
1127 Additional refinements to select logic.
1129 2007-03-05 Jim Evins <evins@snaught.com>
1132 * src/view.c: (gl_view_init), (gl_view_construct),
1133 (label_changed_cb), (draw_layers), (draw_select_region_layer),
1134 (gl_view_select_region), (object_at), (motion_notify_event_cb),
1135 (button_press_event_cb), (button_release_event_cb):
1136 Added initial select region support and context menu.
1138 2007-03-04 Jim Evins <evins@snaught.com>
1149 * src/ui-commands.c:
1152 * src/view-object.c:
1153 * src/view-object.h:
1156 * src/wdgt-print-copies.c:
1157 * src/wdgt-print-merge.c:
1159 Initial port to a raw Cairo canvas. This removes all remaining
1160 dependencies on libgnomecanvas and libgnomeprint[ui]. Basically
1161 the view is becoming a canvas widget in its own right. Still needs
1163 * src/cairo-label-path.c:
1164 * src/cairo-label-path.h:
1165 * src/cairo-markup-path.c:
1166 * src/cairo-markup-path.h:
1167 * src/cairo-object-path.c:
1168 * src/cairo-object-path.h:
1169 New files to support cairo canvas.
1170 * src/canvas-hacktext.c:
1171 * src/canvas-hacktext.h:
1174 2007-02-18 Jim Evins <evins@snaught.com>
1177 GNOME_FONT_BOOK changed to PANGO_WEIGHT_NORMAL.
1179 2007-02-14 Jim Evins <evins@snaught.com>
1183 * src/bc-gnubarcode.c:
1184 * src/bc-gnubarcode.h:
1189 * src/canvas-hacktext.c:
1190 * src/canvas-hacktext.h:
1197 * src/label-barcode.c:
1198 * src/label-barcode.h:
1201 * src/label-ellipse.c:
1202 * src/label-ellipse.h:
1203 * src/label-image.c:
1204 * src/label-image.h:
1207 * src/label-object.c:
1208 * src/label-object.h:
1213 * src/merge-evolution.c:
1214 * src/merge-evolution.h:
1217 * src/merge-properties-dialog.c:
1218 * src/merge-properties-dialog.h:
1221 * src/merge-vcard.c:
1222 * src/merge-vcard.h:
1225 * src/mini-preview-pixbuf.h:
1226 * src/new-label-dialog.c:
1227 * src/new-label-dialog.h:
1228 * src/object-editor-bc-page.c:
1229 * src/object-editor-data-page.c:
1230 * src/object-editor-edit-page.c:
1231 * src/object-editor-fill-page.c:
1232 * src/object-editor-image-page.c:
1233 * src/object-editor-line-page.c:
1234 * src/object-editor-lsize-page.c:
1235 * src/object-editor-position-page.c:
1236 * src/object-editor-private.h:
1237 * src/object-editor-size-page.c:
1238 * src/object-editor-text-page.c:
1239 * src/object-editor.c:
1240 * src/object-editor.h:
1241 * src/pixbuf-cache.c:
1242 * src/pixbuf-cache.h:
1243 * src/prefs-dialog.c:
1244 * src/prefs-dialog.h:
1245 * src/prefs-model.c:
1246 * src/prefs-model.h:
1252 * src/template-designer.c:
1255 * src/ui-commands.c:
1256 * src/ui-commands.h:
1257 * src/ui-property-bar.c:
1258 * src/ui-property-bar.h:
1267 * src/view-barcode.c:
1268 * src/view-barcode.h:
1271 * src/view-ellipse.c:
1272 * src/view-ellipse.h:
1273 * src/view-highlight.c:
1274 * src/view-highlight.h:
1279 * src/view-object.c:
1280 * src/view-object.h:
1285 * src/wdgt-chain-button.c:
1286 * src/wdgt-chain-button.h:
1287 * src/wdgt-media-select.c:
1288 * src/wdgt-mini-preview.c:
1289 * src/wdgt-print-copies.c:
1290 * src/wdgt-print-copies.h:
1291 * src/wdgt-print-merge.c:
1292 * src/wdgt-print-merge.h:
1293 * src/wdgt-rotate-label.c:
1295 * src/xml-label-04.c:
1296 * src/xml-label-04.h:
1297 * src/xml-label-191.c:
1298 * src/xml-label-191.h:
1302 Assorted superficial cleanup. Including:
1303 - Use G_DEFINE_TYPE for all objects.
1304 - Reconcile style of all class initializer functions
1305 - Reconcile style of all finalize functions
1306 - Add emacs mode line to all source files
1308 2007-02-06 Jim Evins <evins@snaught.com>
1310 Assorted cleanup and removal of deprecated items.
1315 Removed annoying splash screen.
1316 * src/glabels-batch.c: (main):
1317 * src/glabels.c: (main):
1318 Converted from popt to GOption.
1319 * src/object-editor-shadow-page.c:
1320 (gl_object_editor_set_shadow_state):
1321 Removed deprecated method on GtkToggleButton.
1322 * src/ui-commands.c: (gl_ui_cmd_help_about):
1323 Removed dependency on libgnomui/qnome-url.h.
1324 * src/template-designer.c:
1325 Removed dependency on libgnome/gnome-program.h.
1328 2007-02-04 Jim Evins <evins@snaught.com>
1332 * src/prefs-model.c:
1333 * src/print.c: (draw_text_object):
1334 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_construct):
1335 Removed GnomeCanvas artifacts from color.[ch] and related modules.
1337 2007-02-04 Jim Evins <evins@snaught.com>
1339 * src/wdgt-mini-preview.c:
1340 * src/wdgt-mini-preview.h:
1341 Ported widget from GnomeCanvas to Cairo.
1343 2007-02-03 Jim Evins <evins@snaught.com>
1345 * data/glade/template-designer.glade:
1346 * src/template-designer.c:
1347 * src/template-designer.h:
1348 Ported GnomeDruid to GtkAssistant. Since libglade does not
1349 yet support the GtkAssistant and we derive directly from
1350 the Assistant, the pages are layed out in a GtkNotebook in
1351 the glade description -- we then append each page to the
1354 2007-01-25 Jim Evins <evins@snaught.com>
1356 * data/glade/object-editor.glade:
1357 Added dummy page to notebook, to prevent shadow page from
1358 becoming the default current page at creation.
1359 * src/view-box.c: (construct_properties_editor):
1360 * src/view-ellipse.c: (construct_properties_editor):
1361 * src/view-line.c: (construct_properties_editor):
1362 * src/view-text.c: (construct_properties_editor):
1363 Reconciled order of params.
1365 2007-01-19 Jim Evins <evins@snaught.com>
1367 * src/label-barcode.h:
1368 * src/label-object.c: (gl_label_object_set_font_weight),
1369 (gl_label_object_set_text_alignment),
1370 (gl_label_object_get_font_weight),
1371 (gl_label_object_get_text_alignment):
1372 * src/label-object.h:
1373 * src/label-text.c: (gl_label_text_instance_init), (copy),
1374 (get_size), (set_font_family), (set_font_weight),
1375 (set_text_alignment), (get_font_weight), (get_text_alignment):
1377 * src/object-editor-text-page.c:
1378 (gl_object_editor_prepare_text_page),
1379 (gl_object_editor_set_font_family),
1380 (gl_object_editor_set_font_weight),
1381 (gl_object_editor_get_font_weight),
1382 (gl_object_editor_set_text_alignment),
1383 (gl_object_editor_get_text_alignment),
1384 (gl_object_editor_set_text_color):
1385 * src/object-editor.h:
1386 * src/prefs-dialog.c: (construct_object_page),
1387 (update_object_page_from_prefs), (update_prefs_from_object_page):
1388 * src/prefs-model.c: (gl_prefs_model_save_settings),
1389 (gl_prefs_model_load_settings):
1390 * src/prefs-model.h:
1391 * src/print.c: (draw_text_object):
1392 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
1393 (reset_to_default_properties), (update_text_properties),
1394 (font_bold_toggled_cb), (text_align_toggled_cb):
1396 * src/util.c: (gl_util_align_to_string), (gl_util_string_to_align),
1397 (gl_util_weight_to_string), (gl_util_string_to_weight),
1398 (gl_util_get_font_family_list), (gl_util_font_family_list_free):
1400 * src/view-text.c: (update_object_from_editor_cb),
1401 (update_editor_from_object_cb), (draw_hacktext), (draw_cursor):
1402 * src/view.c: (gl_view_set_selection_text_alignment),
1403 (gl_view_set_default_text_alignment),
1404 (gl_view_get_default_text_alignment):
1406 * src/xml-label-04.c: (xml04_parse_text_props):
1407 * src/xml-label-191.c: (xml191_parse_text_props):
1408 * src/xml-label.c: (xml_parse_object_text),
1409 (xml_parse_toplevel_span), (xml_create_object_text),
1410 (xml_create_toplevel_span):
1411 Converted all model internals to Pango. GnomeFont remains in
1412 view until GnomeCanvas can be replaced with a cairo-based canvas.
1414 2007-01-17 Jim Evins <evins@snaught.com>
1420 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type),
1421 (gl_wdgt_print_copies_construct):
1422 * src/wdgt-print-copies.h:
1423 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type),
1424 (gl_wdgt_print_merge_construct):
1425 * src/wdgt-print-merge.h:
1426 Removed all remaining HIG wrapper widgets.
1428 2007-01-16 Jim Evins <evins@snaught.com>
1431 * src/print-dialog.c:
1432 * src/print-dialog.h:
1435 * src/template-designer.c: (print_test_cb):
1436 * src/ui-commands.c: (gl_ui_cmd_file_print):
1438 Renamed PrintDialog to PrintOp. Added constructor for batch
1440 * src/glabels-batch.c: (main):
1441 Converted to use new PrintOp object for printing.
1443 2007-01-15 Jim Evins <evins@snaught.com>
1445 * data/glade/Makefile.am:
1446 * data/glade/print-custom-widget.glade:
1447 * src/print-dialog.c:
1448 * src/print-dialog.h:
1451 * src/template-designer.c: (print_test_cb):
1452 * src/ui-commands.c: (gl_ui_cmd_file_print):
1453 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_copies):
1454 * src/wdgt-print-merge.h:
1455 * src/window.c: (gl_window_init):
1457 Initial conversion to GtkPrintOperation.
1459 - Remove font and other libgnomeprint[ui] from elsewhere
1460 - Add batch initialization of print operation
1462 2007-01-08 Jim Evins <evins@snaught.com>
1464 Updated dependencies. Set version to 2.1.pre4cvs.
1466 2007-01-03 Jim Evins <evins@snaught.com>
1468 * src/recent-files/*
1469 Removed EggRecent stuff.
1475 * src/ui-commands.c:
1476 * src/ui-commands.h:
1478 Ported from EggRecent to GtkRecentManager.
1481 2007-01-02 Jim Evins <evins@snaught.com>
1484 * iec16022-0.2.1/BUGS:
1485 * iec16022-0.2.1/CHANGELOG:
1486 * iec16022-0.2.1/CREDITS:
1487 * iec16022-0.2.1/INSTALL:
1488 * iec16022-0.2.1/LICENSE:
1489 * iec16022-0.2.1/Makefile.am:
1490 * iec16022-0.2.1/Makefile.dist:
1491 * iec16022-0.2.1/README:
1492 * iec16022-0.2.1/README.glabels:
1493 * iec16022-0.2.1/TODO:
1494 * iec16022-0.2.1/iec16022.1:
1495 * iec16022-0.2.1/iec16022.c:
1496 * iec16022-0.2.1/iec16022ecc200.c:
1497 * iec16022-0.2.1/iec16022ecc200.h:
1498 * iec16022-0.2.1/image.c:
1499 * iec16022-0.2.1/image.h:
1500 * iec16022-0.2.1/reedsol.c:
1501 * iec16022-0.2.1/reedsol.h:
1502 * iec16022-0.2.1/test/testsuite-example.bin:
1503 * iec16022-0.2.1/test/testsuite-example.eps:
1504 * iec16022-0.2.1/test/testsuite-example.hex:
1505 * iec16022-0.2.1/test/testsuite-example.png:
1506 * iec16022-0.2.1/test/testsuite-example.text:
1507 * iec16022-0.2.1/test/testsuite.sh:
1508 Include modified copy of iec16022-0.2.1 to provide encoding
1509 support for datamatrix 2D barcodes.
1511 * src/bc-iec16022.c:
1512 * src/bc-iec16022.h:
1514 Added initial datamatrix 2D barcode backend to barcode code.
1517 Automatic updates to later versions of these files.
1519 2006-11-28 Jim Evins <evins@snaught.com>
1521 * data/templates/avery-iso-templates.xml:
1522 * data/templates/avery-us-templates.xml:
1523 * data/templates/categories.xml:
1524 * data/templates/misc-iso-templates.xml:
1525 * data/templates/misc-us-templates.xml:
1526 * data/templates/zweckform-iso-templates.xml:
1527 More categorization.
1529 2006-09-12 Jim Evins <evins@snaught.com>
1531 * data/dtd/glabels-2.0.dtd:
1532 * data/templates/Makefile.am:
1533 * data/templates/avery-iso-templates.xml:
1534 * data/templates/avery-other-templates.xml:
1535 * data/templates/avery-us-templates.xml:
1536 * data/templates/categories.xml:
1537 * data/templates/misc-iso-templates.xml:
1538 * data/templates/misc-other-templates.xml:
1539 * data/templates/zweckform-iso-templates.xml:
1540 * data/glade/Makefile.am:
1541 * data/glade/new-label-dialog.glade:
1542 * data/glade/wdgt-media-select.glade:
1543 * data/glade/wdgt-rotate-label.glade:
1544 * libglabels/Makefile.am:
1545 * libglabels/category.c:
1546 * libglabels/category.h:
1547 * libglabels/libglabels.h:
1548 * libglabels/paper.c:
1549 * libglabels/template.c:
1550 * libglabels/template.h:
1551 * libglabels/xml-category.c:
1552 * libglabels/xml-category.h:
1553 * libglabels/xml-template.c:
1554 Added support for category meta data.
1557 * src/mini-preview-pixbuf.c:
1558 * src/mini-preview-pixbuf.h:
1559 * src/new-label-dialog.c:
1560 * src/new-label-dialog.h:
1561 * src/wdgt-media-select.c:
1562 * src/wdgt-media-select.h:
1563 * src/wdgt-rotate-label.c:
1564 * src/wdgt-rotate-label.h:
1565 New "new label" dialog.
1567 2006-05-27 Jim Evins <evins@snaught.com>
1572 Preparation for 2.1.3.
1578 2006-05-22 Jim Evins <evins@snaught.com>
1580 * src/print.c: (draw_barcode_object):
1581 Don't print "Invalid barcode data" if data field is empty. Patch provided
1582 by Darren Warner <warnerd@users.sourceforge.net>. Fixes Bug #1479839.
1584 Added acknowledgment for above patch.
1585 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new):
1586 * src/bc-postnet.c: (postnet_code):
1587 Removed "Invalid barcode data" warnings from stderr.
1588 * src/view-barcode.c: (draw_barcode):
1589 Draw box around barcode extent if data empty or invalid. Center a
1590 message whether the data is empty or invalid in box.
1592 2006-05-22 Jim Evins <evins@snaught.com>
1594 * src/print.c: (draw_text_object):
1595 Check shadow state when printing text.
1597 2006-05-20 Jim Evins <evins@snaught.com>
1599 * src/ui-commands.c: (gl_ui_cmd_view_grid_toggle),
1600 (gl_ui_cmd_view_markup_toggle):
1601 Fixed crash when grid or markup have been toggled off during
1602 a previous session. Bug #1434324.
1604 2006-04-05 Jim Evins <evins@snaught.com>
1606 * src/object-editor.c: (gl_object_editor_set_key_names):
1607 Fixed potential crash when freeing empty key list.
1609 2006-03-11 Jim Evins <evins@snaught.com>
1611 * src/print.c: (draw_text_object):
1612 * src/view-text.c: (gl_view_text_new),
1613 (construct_properties_editor), (update_object_from_editor_cb),
1614 (update_editor_from_object_cb), (update_editor_from_label_cb),
1616 Added shadow support to text object.
1618 2006-02-18 Jim Evins <evins@snaught.com>
1620 * src/print.c: (draw_line_object):
1621 * src/view-line.c: (gl_view_line_new),
1622 (construct_properties_editor), (update_canvas_item_from_object_cb),
1623 (update_object_from_editor_cb), (update_editor_from_object_cb),
1624 (update_editor_from_label_cb):
1625 Added shadow support to line object.
1627 2006-02-16 Jim Evins <evins@snaught.com>
1631 * src/print.c: (draw_ellipse_object):
1632 * src/view-ellipse.c: (gl_view_ellipse_new),
1633 (construct_properties_editor), (update_canvas_item_from_object_cb),
1634 (update_object_from_editor_cb), (update_editor_from_object_cb),
1635 (update_editor_from_label_cb):
1636 Added shadow support to ellipse object.
1638 2006-02-15 Jim Evins <evins@snaught.com>
1640 * src/label-object.c:
1641 Changed default shadow offsets.
1642 * src/view-box.c: (gl_view_box_new):
1643 Simplified gl_view_box_new() so that is does not duplicate code
1644 in update_canvas_item_from_object_cb().
1646 2006-02-07 Jim Evins <evins@snaught.com>
1648 * data/glade/object-editor.glade:
1649 Fixed color groups of color combos.
1651 Added default shadow color.
1652 * src/object-editor.c: (gl_object_editor_construct_color_combo):
1653 Added shadow color group.
1655 2006-02-06 Jim Evins <evins@snaught.com>
1657 * src/object-editor-shadow-page.c:
1658 Forgot to add this file.
1659 * src/view-box.c: (gl_view_box_new),
1660 (update_canvas_item_from_object_cb), (update_editor_from_label_cb):
1661 Update limits on shadow offset spinbuttons.
1663 2006-01-19 Jim Evins <evins@snaught.com>
1665 * src/merge-evolution.c: (gl_merge_evolution_get_key_list):
1666 Initialize key_list to NULL.
1667 * data/glade/object-editor.glade:
1671 * src/label-object.c:
1672 * src/label-object.h:
1673 * src/object-editor-fill-page.c:
1674 * src/object-editor-private.h:
1675 * src/object-editor.c:
1676 * src/object-editor.h:
1678 Created infrastructure for shadow support.
1681 Initial shadow support in box object only.
1683 2006-01-05 Jim Evins <evins@snaught.com>
1685 * src/merge-properties-dialog.c: (src_changed_cb):
1686 Be extra paranoid before calling strcmp().
1687 * src/merge.c: (gl_merge_set_src):
1688 Don't make (merge == NULL) a critical error.
1690 2005-12-22 Jim Evins <evins@snaught.com>
1692 * src/glabels-batch.c: (main):
1693 Compile warning free with gcc 4.0.
1695 2005-12-21 Jim Evins <evins@snaught.com>
1698 Updated example RPM spec file.
1700 2005-12-21 Jim Evins <evins@snaught.com>
1704 Preparation for 2.1.2.
1706 2005-12-20 Jim Evins <evins@snaught.com>
1709 Define unique G_LOG_DOMAIN for glabels.
1710 * src/critical-error-handler.c: (gl_critical_error_handler_init):
1711 * src/warning-handler.c: (gl_warning_handler_init),
1713 Register for G_LOG_DOMAIN instead of NULL.
1715 2005-12-10 Jim Evins <evins@snaught.com>
1717 * src/merge-evolution.c:
1718 * src/merge-vcard.c:
1721 2005-12-08 Jim Evins <evins@snaught.com>
1723 * libglabels/paper.c: (read_paper_files_from_dir):
1724 * libglabels/template.c: (gl_template_register),
1725 (read_template_files_from_dir):
1726 * libglabels/xml-paper.c: (gl_xml_paper_read_papers_from_file),
1727 (gl_xml_paper_parse_papers_doc):
1728 * libglabels/xml-template.c:
1729 (gl_xml_template_read_templates_from_file),
1730 (gl_xml_template_parse_templates_doc),
1731 (gl_xml_template_parse_template_node),
1732 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
1733 (xml_parse_label_cd_node), (xml_parse_layout_node),
1734 (xml_parse_markup_margin_node), (xml_parse_markup_line_node),
1735 (xml_parse_markup_circle_node),
1736 (gl_xml_template_write_templates_to_file), (xml_create_label_node):
1737 * libglabels/xml.c: (gl_xml_get_prop_length):
1738 Re-classified g_warnings to g_messages.
1740 * src/glabels.c: (main):
1741 * src/warning-handler.c: (gl_warning_handler_init),
1743 * src/warning-handler.h:
1744 Added warning message handler to make sure the user is
1745 presented with appropriate non-fatal errors.
1746 * src/critical-error-handler.c: (critical_error_handler):
1747 Changed exit to abort.
1748 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new), (render_pass1):
1749 * src/bc-postnet.c: (postnet_code):
1750 * src/bc.c: (id_to_index), (name_to_index):
1751 * src/merge.c: (gl_merge_register_backend), (gl_merge_new):
1752 * src/object-editor.c: (gl_object_notebook_construct_valist):
1753 * src/prefs-dialog.c: (update_locale_page_from_prefs):
1754 * src/prefs.c: (gl_prefs_get_units_per_point),
1755 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
1756 (gl_prefs_get_units_string):
1757 * src/print.c: (draw_outline), (clip_to_outline), (clip_punchouts):
1758 * src/splash.c: (gl_splash):
1759 * src/ui-commands.c: (gl_ui_cmd_help_contents):
1760 * src/view-highlight.c: (gl_view_highlight_new),
1761 (highlight_resizable_box_construct), (object_changed_cb),
1762 (view_scale_changed_cb):
1763 * src/view.c: (draw_label_layer), (draw_bg_fg_layers),
1764 (draw_markup_layer), (draw_markup_margin),
1765 (gl_view_object_create_mode), (canvas_event),
1766 (selection_received_cb):
1767 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1768 * src/wdgt-rotate-label.c: (mini_preview_canvas_update):
1769 * src/xml-label-04.c: (gl_xml_label_04_parse),
1770 (xml04_parse_media_description), (xml04_parse_text_props),
1771 (xml04_parse_barcode_props):
1772 * src/xml-label-191.c: (gl_xml_label_191_parse),
1773 (xml191_parse_objects), (xml191_parse_object),
1774 (xml191_parse_text_props), (xml191_parse_image_props),
1775 (xml191_parse_barcode_props), (xml191_parse_data),
1776 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1777 (xml191_parse_markup):
1778 * src/xml-label.c: (gl_xml_label_open), (gl_xml_label_open_buffer),
1779 (xml_doc_to_label), (xml_parse_label), (xml_parse_objects),
1780 (xml_parse_object_text), (xml_parse_object_image),
1781 (xml_parse_object_barcode), (xml_parse_data),
1782 (xml_parse_toplevel_span), (gl_xml_label_save),
1783 (xml_create_objects):
1784 Re-classified g_warnings to g_messages.
1785 * src/merge-evolution.c: (gl_merge_evolution_open),
1786 (gl_merge_evolution_close), (gl_merge_evolution_get_record):
1787 Use g_warning to output errors encountered while
1788 communicating with the evolution data server
1789 instead of embedding them in the data.
1791 2005-12-08 Jim Evins <evins@snaught.com>
1793 * libglabels/libglabels-private.h:
1795 * libglabels/paper.c: (read_papers):
1796 * libglabels/template.c: (read_templates):
1797 Made appropriate warnings critical.
1799 * src/critical-error-handler.h:
1800 * src/critical-error-handler.c: (gl_critical_error_handler_init),
1801 (critical_error_handler):
1802 Created critical error handler.
1803 * src/glabels.c: (main):
1804 Register critical error handler.
1805 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
1806 * src/object-editor.c: (gl_object_editor_init):
1807 * src/prefs-dialog.c: (gl_prefs_dialog_init):
1808 * src/template-designer.c: (gl_template_designer_init):
1809 * src/ui-property-bar.c: (gl_ui_property_bar_instance_init):
1810 Made appropriate warnings critical.
1812 2005-11-27 Jim Evins <evins@snaught.com>
1814 * src/merge-evolution.c: (gl_merge_evolution_get_key_list),
1815 (gl_merge_evolution_get_primary_key),
1816 (gl_merge_evolution_get_record):
1817 Don't create "record_key" pseudo-key. Don't populate
1818 fields with null data.
1820 2005-11-25 Jim Evins <evins@snaught.com>
1822 * src/merge-evolution.c: (gl_merge_evolution_finalize),
1823 (gl_merge_evolution_get_key_list), (gl_merge_evolution_open),
1824 (gl_merge_evolution_get_record), (gl_merge_evolution_copy),
1826 Query EDS for all supported fields. Patch provided by
1827 Austin Henry <ahenry@users.sourceforge.net>.
1829 2005-10-29 Jim Evins <evins@snaught.com>
1831 * src/glabels.c: (main):
1832 * src/label-barcode.c: (gl_label_barcode_finalize):
1833 * src/label-text.c: (gl_label_text_finalize), (set_font_family):
1834 * src/label.c: (gl_label_instance_init), (gl_label_finalize):
1835 * src/object-editor.c: (gl_object_editor_finalize):
1836 Another pass at valgrinding -- plugged several memory leaks.
1837 * src/view-text.c: (gl_view_text_new),
1838 (update_canvas_item_from_object_cb), (draw_hacktext):
1839 Commented out artifacts of edit-in-place code.
1841 2005-10-28 Jim Evins <evins@snaught.com>
1843 * src/canvas-hacktext.c: (gl_canvas_hacktext_set_arg):
1844 Fixed use of uninitialized variable. Caught by
1845 d binderman <dcb314@hotmail.com>.
1847 2005-10-27 Jim Evins <evins@snaught.com>
1849 * src/merge-evolution.c: (gl_merge_evolution_get_record):
1850 * src/merge-vcard.c: (gl_merge_vcard_get_record),
1852 Additional cleanup of EDS and vcard backends. Provided by
1853 Austin Henry <ahenry@users.sourceforge.net>.
1855 2005-10-24 Jim Evins <evins@snaught.com>
1859 * src/merge-evolution.c:
1860 * src/merge-evolution.h:
1861 * src/merge-init.c: (gl_merge_init):
1862 * src/merge-properties-dialog.c: (type_changed_cb):
1863 * src/merge-vcard.c:
1864 * src/merge-vcard.h:
1865 * src/ui-commands.c: (gl_ui_cmd_help_about):
1866 Added Evolution Data Server and VCard merge backends. Original patch
1867 provided by Austin Henry <ahenry@users.sourceforge.net>.
1869 Only support EDS and VCard backends if libebook is installed. Allow
1870 user to disable support, even if installed.
1872 2005-10-24 Jim Evins <evins@snaught.com>
1875 * data/templates/avery-iso-templates.xml:
1876 * data/templates/avery-us-templates.xml:
1877 * data/templates/misc-iso-templates.xml:
1878 * data/templates/zweckform-iso-templates.xml:
1879 Collected all template changes and submissions since last
1882 2005-10-23 Jim Evins <evins@snaught.com>
1885 * data/mime/Makefile.am:
1886 Added configure options to disable update-mime-database and
1887 update-desktop-database as part of the install. Patch
1888 provided by Leonardo Boshell (qhoracio@sourceforge.net).
1890 2005-10-23 Jim Evins <evins@snaught.com>
1893 * libglabels/xml.c: (gl_xml_get_prop_string),
1894 (gl_xml_get_prop_i18n_string), (gl_xml_set_prop_string),
1895 (gl_xml_is_node), (gl_xml_get_node_content):
1896 Added new XML utility functions.
1897 * libglabels/xml-paper.c:
1898 * libglabels/xml-template.c:
1900 Cleanup by using new xml utilities created above.
1901 * libglabels/paper.c: (gl_paper_free):
1902 * src/file.c: (new_response):
1903 * src/object-editor-image-page.c: (add_image_filters_to_chooser):
1904 * src/pixbuf-cache.c: (gl_pixbuf_cache_add_pixbuf),
1905 (gl_pixbuf_cache_get_pixbuf):
1906 * src/ui-property-bar.c:
1907 (gl_ui_property_bar_construct_color_combo):
1908 * src/view-highlight.c: (gl_view_highlight_finalize):
1909 * src/view-image.c: (update_object_from_editor_cb):
1910 * src/view.c: (gl_view_finalize), (draw_bg_fg_layers),
1911 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1912 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1913 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1914 (draw_markup_margin_round), (draw_markup_margin_cd),
1915 (draw_markup_margin_cd_bc):
1916 * src/wdgt-mini-preview.c: (mini_outline_list_new):
1917 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_finalize):
1918 Plugged various memory leaks located with valgrind.
1919 * src/view-image.c: (update_canvas_item_from_object_cb):
1920 Don't allow a width or height of zero when drawing pixbuf.
1922 2005-10-22 Jim Evins <evins@snaught.com>
1924 * libglabels/xml-paper.c:
1925 * libglabels/xml-template.c:
1928 * src/bc-gnubarcode.c:
1929 * src/canvas-hacktext.c:
1931 * src/object-editor-data-page.c:
1932 * src/print-dialog.c:
1935 * src/template-designer.c:
1937 * src/ui-property-bar.c:
1939 * src/view-barcode.c:
1941 * src/view-ellipse.c:
1946 * src/wdgt-media-select.c:
1947 * src/xml-label-04.c:
1948 * src/xml-label-191.c:
1950 Modified to compile warning free with gcc-4.0. Mostly
1951 casting to change signedness of characters. Did not
1952 attack gnu-barcode library yet.
1954 2005-10-22 Jim Evins <evins@snaught.com>
1956 * src/glabels.c: (main):
1957 * src/splash.c: (gl_splash):
1958 Removed some small memory leaks.
1962 2005-09-19 Jim Evins <evins@snaught.com>
1964 * data/glade/property-bar.glade:
1965 Remove items from font_family_combo. This prevents the
1966 double entry after adding text model and list of fonts.
1967 * src/ui-property-bar.c: (reset_to_default_properties):
1968 Free font_family_list.
1970 2005-07-01 Jim Evins <evins@snaught.com>
1973 Updated italian translation (Daniele Medri)
1975 2005-06-26 Jim Evins <evins@snaught.com>
1977 * docs/libglabels/libglabels-decl-list.txt:
1978 Somehow never got checked in before.
1979 * docs/libglabels/libglabels.types:
1980 Removed -- don't need it afterall.
1982 2005-06-20 Jim Evins <evins@snaught.com>
1985 Final prep for 2.1.1 release.
1987 2005-06-20 Jim Evins <evins@snaught.com>
1990 Final preps for 2.1.1 release.
1991 * docs/libglabels/libglabels.types:
1992 Somehow never got checked in before.
1994 Bring up-to-date with recent reorg of ui code.
1997 2005-06-19 Jim Evins <evins@snaught.com>
1999 * src/template-designer.c: (construct_layout_page):
2000 Removed attempt to match background color of mini preview widget to
2003 2005-06-17 Jim Evins <evins@snaught.com>
2005 * help/C/figures/merge-ex2-4.png:
2006 * help/C/glabels.xml:
2007 Fixed spelling error.
2009 2005-06-13 Jim Evins <evins@snaught.com>
2011 * help/C/figures/merge-ex1-1.png:
2012 * help/C/figures/merge-ex1-2.png:
2013 * help/C/figures/merge-ex1-3.png:
2014 * help/C/figures/merge-ex1-4.png:
2015 * help/C/figures/merge-ex2-1.png:
2016 * help/C/figures/merge-ex2-2.png:
2017 * help/C/figures/merge-ex2-3.png:
2018 * help/C/figures/merge-ex2-4.png:
2019 Added figures for document merge tutorial.
2020 * help/C/glabels.xml:
2021 Added document merge tutorial.
2023 2005-05-19 Jim Evins <evins@snaught.com>
2025 * data/glade/merge-properties-dialog.glade:
2026 Fixed irregular spacing.
2027 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init),
2028 (gl_merge_properties_dialog_construct):
2029 Set outer padding and remove separator.
2031 2005-05-18 Jim Evins <evins@snaught.com>
2035 Removed glHigDialog class.
2036 * src/file.c: (gl_file_new), (create_new_dialog_widgets),
2037 (gl_file_properties), (create_properties_dialog_widgets):
2038 * src/prefs-dialog.h:
2039 * src/prefs-dialog.c: (gl_prefs_dialog_get_type),
2040 (gl_prefs_dialog_init), (gl_prefs_dialog_construct):
2041 * src/print-dialog.h:
2042 * src/prefs-dialog.h:
2043 * src/print-dialog.c: (gl_print_dialog_get_type),
2044 (gl_print_dialog_init), (gl_print_dialog_construct):
2045 Replaced all instances of glHigDialog with GtkDialog.
2047 2005-05-17 Jim Evins <evins@snaught.com>
2051 Removed HigAlert class since it is obsoleted by the GtkMessageDialog class.
2052 * src/file.c: (open_response), (gl_file_open_real), (gl_file_save),
2053 (save_as_response), (gl_file_close):
2054 Replaced all instances of HigAlert widgets with GtkMessageDialog widgets.
2056 2005-05-15 Jim Evins <evins@snaught.com>
2058 * src/ui-commands.h:
2066 A little code reformatting -- no functional changes.
2068 2005-05-14 Jim Evins <evins@snaught.com>
2071 Removed obsolete macros.
2073 Added marshalling template to support new view signal: "context_menu_activate."
2075 * src/view.c: (gl_view_class_init), (gl_view_construct),
2076 (canvas_event_arrow_mode):
2077 - Removed hardcoded context menus and added new signal "context_menu_activate"
2078 to push this up to the uimanager.
2079 - Removed merge properties and print dialogs so that they can be managed with
2080 the window by the uimanager.
2081 * src/merge-properties-dialog.h:
2082 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_new),
2083 (gl_merge_properties_dialog_construct):
2084 Changed calling convention of gl_merge_properties_dialog_new() to use
2085 glLabel and GtkWindow instead of view to make more consistent with other
2087 * src/print-dialog.h:
2088 * src/print-dialog.c: (gl_print_dialog_new),
2089 (gl_print_dialog_construct):
2090 Removed last artifact of libbonoboui.
2091 * src/ui-commands.c: (gl_ui_cmd_file_print),
2092 (gl_ui_cmd_objects_merge_properties), (gl_ui_cmd_help_about):
2093 Reconciled style for launching dialogs.
2094 * src/ui.c: (gl_ui_new):
2095 Added context menus to ui manager.
2096 * src/view-object.c: (item_event_arrow_mode):
2097 No longer try to select objects with right-click.
2099 * src/window.c: (gl_window_init), (gl_window_set_label),
2100 (context_menu_activate_cb):
2101 Context menus and all dialogs are now managed in a consistent way in window
2104 2005-05-11 Jim Evins <evins@snaught.com>
2107 * src/window.c: (gl_window_init), (gl_window_destroy):
2108 * src/ui.c: (gl_ui_new), (gl_ui_unref), (recent_tooltip_func):
2109 * src/ui-commands.c: (gl_ui_cmd_file_open_recent):
2110 Moved management of recent_view back from window.c to ui.c -- it just feels
2113 2005-05-10 Jim Evins <evins@snaught.com>
2116 * src/window.c: (gl_window_init):
2118 * src/ui.c: (gl_ui_new), (connect_proxy_cb), (disconnect_proxy_cb),
2119 (menu_item_select_cb), (menu_item_deselect_cb):
2120 Added GtkStatusbar which displays menu tooltips.
2122 2005-05-09 Jim Evins <evins@snaught.com>
2124 Replaced libbonoboui with GtkUIManager for creation of basic user interface menus
2129 Removed dependencies on libbonoboui.
2131 * data/ui/Makefile.am:
2132 * data/ui/glabels-ui.xml:
2133 Removed data/ui directory.
2134 * data/glade/Makefile.am:
2135 * data/property-bar.glade:
2136 Added glade description of property-bar for new libglade implementation
2143 * src/ui-commands.h:
2144 * src/ui-commands.c:
2145 Replaced commands.[ch] and tools.[ch] with the single ui-commands.[ch] module
2146 since the distinction between "commands" and "tools" is no longer that clear.
2149 Modified to expect glWindow instead of GtkWindow. gl_file_open_recent()
2150 no longer has knowledge of eggRecent*.
2151 * src/glabels.c: (main):
2152 Removed libbonobo initialization and replaced bonobo_main loop with gtk_main
2154 * src/object-editor.c: (gl_object_editor_init):
2155 Make sure notebook does not respond to a "show_all" on the parent.
2156 * src/recent-files/Makefile.am:
2157 * src/recent-files/*.[ch]
2158 Updated from latest version of libegg which now has a view based on
2159 GtkUIManager. Removed unused bonobo and gtk views.
2160 * src/ui-property-bar.h:
2161 * src/ui-property-bar.c:
2162 New implementation based on libglade.
2165 Sidebar is now simply a GtkWidget and does not expect to be a part of
2166 a libbonoboui interface.
2171 Converted for use with GtkUIManager.
2174 Now derived from GtkWindow instead of BonoboWindow and uses GtkUIManager
2175 to create menus and toolbars.
2177 2005-04-25 Jim Evins <evins@snaught.com>
2179 * data/templates/misc-iso-templates.xml:
2180 Added Fellows 04715 template provided by Steve Saxon.
2182 Updated acknowledgement for above.
2184 2005-04-23 Jim Evins <evins@snaught.com>
2186 * src/util.c: (gl_util_combo_box_set_strings):
2187 Make sure to clear model before loading a new list of strings.
2188 * src/wdgt-media-select.h:
2189 * src/wdgt-media-select.c: (gl_wdgt_media_select_instance_init),
2190 (gl_wdgt_media_select_construct), (page_size_combo_changed_cb),
2191 (template_combo_changed_cb), (prefs_changed_cb),
2192 (gl_wdgt_media_select_get_name), (gl_wdgt_media_select_set_name),
2193 (gl_wdgt_media_select_get_page_size),
2194 (gl_wdgt_media_select_set_page_size):
2195 Replaced the deprecated GtkCombo widget with the new
2198 2005-04-21 Jim Evins <evins@snaught.com>
2200 * data/glade/template-designer.glade:
2201 * src/template-designer.c: (construct_pg_size_page),
2202 (pg_size_page_changed_cb), (build_template):
2203 Replaced the deprecated GtkCombo widget with the new
2206 2005-04-20 Jim Evins <evins@snaught.com>
2208 * data/glade/prefs-dialog.glade:
2209 * src/prefs-dialog.c: (construct_object_page),
2210 (update_object_page_from_prefs), (update_prefs_from_object_page):
2211 Replaced the deprecated GtkCombo widget with the new
2214 2005-04-19 Jim Evins <evins@snaught.com>
2216 * data/glade/object-editor.glade:
2217 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
2218 (style_changed_cb), (gl_object_editor_set_bc_style),
2219 (gl_object_editor_get_bc_style), (gl_object_editor_set_bc_color),
2220 (gl_object_editor_get_bc_color):
2221 * src/object-editor-data-page.c:
2222 (gl_object_editor_prepare_data_page), (gl_object_editor_set_data),
2223 (gl_object_editor_get_data):
2224 * src/object-editor-edit-page.c:
2225 (gl_object_editor_prepare_edit_page), (insert_button_cb):
2226 * src/object-editor-fill-page.c:
2227 (gl_object_editor_prepare_fill_page),
2228 (gl_object_editor_set_fill_color),
2229 (gl_object_editor_get_fill_color):
2230 * src/object-editor-image-page.c:
2231 (gl_object_editor_prepare_image_page),
2232 (gl_object_editor_set_image), (gl_object_editor_get_image):
2233 * src/object-editor-line-page.c:
2234 (gl_object_editor_prepare_line_page),
2235 (gl_object_editor_set_line_color),
2236 (gl_object_editor_get_line_color):
2237 * src/object-editor-private.h:
2238 * src/object-editor-text-page.c:
2239 (gl_object_editor_prepare_text_page),
2240 (gl_object_editor_set_font_family),
2241 (gl_object_editor_get_font_family),
2242 (gl_object_editor_set_text_color),
2243 (gl_object_editor_get_text_color):
2244 * src/object-editor.c: (gl_object_editor_set_key_names):
2246 In the object editor: replaced all instances of the deprecated
2247 GtkCombo widget with the new GtkComboBox.
2249 2005-04-18 Jim Evins <evins@snaught.com>
2252 Neglected to save this one in previous checkin to support
2255 2005-04-17 Jim Evins <evins@snaught.com>
2257 * libglabels/libglabels-private.h:
2258 * libglabels/paper.c:
2259 * libglabels/paper.h:
2260 * libglabels/template.c:
2261 * libglabels/template.h:
2262 * libglabels/xml-paper.c:
2263 * libglabels/xml-paper.h:
2264 * libglabels/xml-template.c:
2269 * src/bc-gnubarcode.c:
2280 * src/label-barcode.c:
2282 * src/label-ellipse.c:
2283 * src/label-image.c:
2284 * src/label-image.h:
2286 * src/label-object.c:
2290 * src/merge-properties-dialog.c:
2291 * src/object-editor-bc-page.c:
2292 * src/object-editor-data-page.c:
2293 * src/object-editor-edit-page.c:
2294 * src/object-editor-fill-page.c:
2295 * src/object-editor-image-page.c:
2296 * src/object-editor-line-page.c:
2297 * src/object-editor-lsize-page.c:
2298 * src/object-editor-position-page.c:
2299 * src/object-editor-private.h:
2300 * src/object-editor-size-page.c:
2301 * src/object-editor-text-page.c:
2302 * src/object-editor.c:
2303 * src/object-editor.h:
2304 * src/pixbuf-cache.h:
2305 * src/prefs-dialog.c:
2306 * src/prefs-dialog.h:
2307 * src/prefs-model.c:
2308 * src/prefs-model.h:
2310 * src/print-dialog.c:
2311 * src/print-dialog.h:
2319 * src/template-designer.c:
2320 * src/template-designer.h:
2323 * src/ui-property-bar.c: (gl_ui_property_bar_construct):
2329 * src/view-barcode.c:
2331 * src/view-ellipse.c:
2332 * src/view-highlight.c:
2333 * src/view-highlight.h:
2336 * src/view-object.c:
2337 * src/view-object.h:
2341 * src/wdgt-chain-button.c:
2342 * src/wdgt-media-select.c:
2343 * src/wdgt-media-select.h:
2344 * src/wdgt-mini-preview.c:
2345 * src/wdgt-mini-preview.h:
2346 * src/wdgt-print-copies.c:
2347 * src/wdgt-print-copies.h:
2348 * src/wdgt-print-merge.c:
2349 * src/wdgt-print-merge.h:
2350 * src/wdgt-rotate-label.c:
2351 * src/wdgt-rotate-label.h:
2354 * src/xml-label-04.c:
2355 * src/xml-label-191.c:
2357 Cleanup of header files:
2358 - all header files are now stand-alone, verified by including
2359 first in corresponding "c" files
2360 - replaced blanket includes of gnome, gtk, and glib with
2363 2005-04-16 Jim Evins <evins@snaught.com>
2365 * data/glade/Makefile.am:
2366 * data/glade/merge-properties-dialog.glade:
2367 Added merge properties dialog glade description file.
2368 * src/merge-properties-dialog.h:
2369 * src/merge-properties-dialog.c:
2370 (gl_merge_properties_dialog_get_type),
2371 (gl_merge_properties_dialog_init),
2372 (gl_merge_properties_dialog_finalize),
2373 (gl_merge_properties_dialog_new),
2374 (gl_merge_properties_dialog_construct), (type_changed_cb),
2375 (src_changed_cb), (response_cb), (load_tree),
2376 (record_select_toggled_cb), (select_all_button_clicked_cb),
2377 (unselect_all_button_clicked_cb):
2378 Modified merge properties dialog to use libglade. Added
2379 "select all" and "unselect all" buttons.
2380 * src/merge-text.c: (parse_line):
2381 Handle empty lines better.
2382 * src/merge.c: (gl_merge_eval_key):
2383 Evaluate the key whether the record is selected or not.
2385 * src/util.c: (gl_util_combo_box_add_text_model):
2386 Since libglade does not use the gtk_combo_box_new_text()
2387 constructor for GtkComboBoxes, a utility function was created
2388 to add an appropriate text model to a GtkComboBox.
2389 * src/view.c: (gl_view_edit_merge_props):
2390 Removed unnecessary "show all's".
2392 2005-04-15 Jim Evins <evins@snaught.com>
2395 Updated russian translation (Vitaly Lipatov)
2396 * data/templates/misc-iso-templates.xml:
2397 Added templates for russian business cards provided by Vitaly Lipatov.
2399 Updated acknowledgements for above.
2401 2005-04-15 Jim Evins <evins@snaught.com>
2403 * data/templates/avery-us-templates.xml:
2404 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
2405 * data/templates/misc-iso-templates.xml:
2406 Added Ryman standard CD/DVD template, provided by Dan Clark.
2408 Added acknowledgements for above.
2410 2005-04-10 Jim Evins <evins@snaught.com>
2412 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2413 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
2414 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
2415 (xml_parse_label_cd_node), (xml_parse_alias_node):
2416 * libglabels/xml.c: (gl_xml_get_prop_double),
2417 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
2418 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
2419 * src/xml-label-04.c: (xml04_parse_media_description),
2420 (xml04_parse_text_props), (xml04_parse_barcode_props),
2421 (xml04_parse_merge_properties):
2422 * src/xml-label-191.c: (xml191_parse_object),
2423 (xml191_parse_text_props), (xml191_parse_barcode_props),
2424 (xml191_parse_merge_fields), (xml191_parse_pixdata),
2425 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
2426 (xml191_parse_alias):
2427 * src/xml-label.c: (xml_parse_object_text),
2428 (xml_parse_object_barcode), (xml_parse_merge_fields),
2429 (xml_parse_pixdata), (xml_parse_toplevel_span):
2430 Make sure to use xmlFree for anything obtained from libxml
2431 in case libxml and glib use different memory management
2434 2005-04-08 Jim Evins <evins@snaught.com>
2437 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
2438 (gl_util_combo_box_set_active_text):
2439 Added utility functions to simplify working with GtkComboBox
2441 * src/ui-property-bar.h:
2442 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
2443 (reset_to_default_properties), (update_text_properties),
2444 (font_family_changed_cb):
2445 Replaced deprecated GtkCombo with GtkComboBox.
2448 2005-04-03 Jim Evins <evins@snaught.com>
2451 * src/wdgt-image-select.h:
2452 * src/wdgt-image-select.c:
2453 Removed obsolete wdgt-image-select.[ch] files.
2454 * libglabels/paper.c: (gl_paper_dup):
2455 Fixed rename of parameter introduced during documentation
2457 * data/glade/object-editor.glade:
2458 * src/object-editor-image-page.c:
2459 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
2460 (gl_object_editor_set_image), (gl_object_editor_get_image),
2461 (update_preview_cb), (add_image_filters_to_chooser):
2462 * src/object-editor-private.h:
2463 Replaced deprecated GnomePixmapEntry with
2464 GtkFileChooserButton.
2466 2005-04-02 Jim Evins <evins@snaught.com>
2468 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
2469 (mygal_combo_box_popup_hide_unconditional),
2470 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
2471 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
2472 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
2473 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
2474 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
2475 Renamed all internal gtk_combo functions to mygal_combo
2476 to prevent namespace confusion.
2478 2005-04-02 Jim Evins <evins@snaught.com>
2480 * src/mygal/color-palette.c: (color_palette_change_custom_color),
2481 (cust_color_set), (color_palette_setup):
2482 * src/mygal/color-palette.h:
2483 Replaced deprecated GnomeColorPicker with GtkColorButton.
2485 2005-04-02 Jim Evins <evins@snaught.com>
2487 * docs/libglabels/libglabels-sections.txt:
2488 * docs/libglabels/libglabels-undocumented.txt:
2489 * docs/libglabels/tmpl/enums.sgml:
2490 * docs/libglabels/tmpl/paper.sgml:
2491 * docs/libglabels/tmpl/xml-paper.sgml:
2492 * docs/libglabels/tmpl/xml-template.sgml:
2493 * libglabels/enums.h:
2494 * libglabels/paper.c: (gl_paper_dup):
2495 * libglabels/paper.h:
2496 * libglabels/xml-paper.c:
2497 * libglabels/xml-template.c:
2498 More documentation updates for libglabels.
2500 2005-03-23 Jim Evins <evins@snaught.com>
2503 Automatically updated.
2508 * docs/libglabels/Makefile.am:
2509 * docs/libglabels/libglabels-docs.sgml:
2510 * docs/libglabels/libglabels-sections.txt:
2511 * docs/libglabels/libglabels-undocumented.txt:
2512 * docs/libglabels/tmpl/enums.sgml:
2513 * docs/libglabels/tmpl/libglabels-unused.sgml:
2514 * docs/libglabels/tmpl/libglabels.sgml:
2515 * docs/libglabels/tmpl/paper.sgml:
2516 * docs/libglabels/tmpl/template.sgml:
2517 * docs/libglabels/tmpl/xml-paper.sgml:
2518 * docs/libglabels/tmpl/xml-template.sgml:
2519 * docs/libglabels/tmpl/xml.sgml:
2520 Added basic gtk-doc stuff to support documenting libglabels
2523 Updated function comments with gtk-doc markup.
2527 2005-03-22 Jim Evins <evins@snaught.com>
2529 Since the development version now requires gtk-2.6/gnome-2.10, I
2530 have made a first pass at removing deprecations.
2533 * libglabels/Makefile.am:
2535 Added configure option to turn on X_DISABLE_DEPRECATED flags.
2536 Also removed all remnants of HAVE_FILECHOOSER.
2537 * src/file.c: (gl_file_open_real):
2538 Removed code for old GtkFileSelection.
2539 * libglabels/libglabels-private.h:
2540 * libglabels/paper.c:
2541 * libglabels/template.c:
2542 * libglabels/xml-paper.c:
2543 * libglabels/xml-template.c:
2547 * src/glabels-batch.c:
2551 * src/merge-properties-dialog.c:
2553 * src/object-editor.c:
2554 * src/prefs-dialog.c:
2556 * src/print-dialog.c:
2559 * src/template-designer.c:
2560 * src/ui-property-bar.c:
2562 * src/view-barcode.c:
2564 * src/view-ellipse.c:
2569 * src/wdgt-image-select.c:
2570 * src/wdgt-media-select.c:
2571 * src/wdgt-print-copies.c:
2572 * src/wdgt-print-merge.c:
2573 * src/wdgt-rotate-label.c:
2575 * src/xml-label-04.c:
2576 * src/xml-label-191.c:
2578 Added '#include <glib/gi18n.h>" where needed.
2579 Removed any unused '#include <gnome.h>"s.
2581 2005-03-22 Jim Evins <evins@snaught.com>
2583 * src/commands.c: (activate_url), (gl_cmd_help_about):
2584 Replaced GnomeAbout with GtkAboutDialog. Therefore the
2585 development version of glabels now depends on GTK 2.6 and
2588 Updated library dependencies.
2590 2005-02-28 Jim Evins <evins@snaught.com>
2593 * data/templates/misc-iso-templates.xml:
2594 Added 'Ednet 45021' template provided by Ali Akcaagac
2597 2005-02-14 Jim Evins <evins@snaught.com>
2599 * data/templates/avery-us-templates.xml:
2600 Updated templates to use inches instead of points.
2601 * src/print-dialog.c: (printer_page_new):
2602 Changed packing style when adding printer selector widget. This fixes
2605 2005-02-13 Jim Evins <evins@snaught.com>
2609 Updated spanish translations. (sergio rivadero)
2611 2005-02-05 Jim Evins <evins@snaught.com>
2613 Some cleanup to libglabels.
2616 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
2617 * libglabels/libglabels.pc.in
2619 * libglabels/enums.h
2620 Created. Currently only contains glUnitsType which provides enumerations
2621 for all possible units of distance.
2622 * libglabels/Makefile.am:
2623 Incorporated new files enums.h and libglabels.pc[.in].
2624 * libglabels/libglabels.h:
2626 * libglabels/template.h:
2627 * libglabels/template.c: (gl_template_layout_new):
2628 Changed parameters nx and ny to gint from gdouble.
2630 * libglabels/xml.c: (gl_xml_get_prop_length),
2631 (gl_xml_set_prop_length), (gl_xml_set_default_units):
2632 Added support for different output units.
2633 * src/prefs-dialog.c: (update_locale_page_from_prefs),
2634 (update_prefs_from_locale_page):
2635 * src/prefs-model.c: (string_to_units), (units_to_string):
2636 * src/prefs-model.h:
2637 * src/prefs.c: (gl_prefs_get_units_per_point),
2638 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
2639 (gl_prefs_get_units_string):
2641 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
2642 Reconciled all length enumerations with the new enumerations provided
2643 in libglabels/enums.h.
2645 2005-02-03 Jim Evins <evins@snaught.com>
2648 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
2650 Updated Italian translations. (Daniele Medri)
2652 Updated credits to reflect above translations.
2655 2005-01-22 Jim Evins <evins@snaught.com>
2660 Added MESSAGE-OF-DOOM to EXTRA_DIST.
2662 Final prep for 2.1.0.
2664 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
2666 Added '--remove-original' flag to desktop-file-install, so that there is
2667 only one menu entry.
2669 2005-01-20 Jim Evins <evins@snaught.com>
2671 * data/glade/object-editor.glade:
2672 - Font family entry should not be editable.
2673 - img_key_entry should have sensitivity=YES, so that it follows the
2674 sensitivity of img_key_combo.
2676 2005-01-19 Jim Evins <evins@snaught.com>
2679 Give credit to Frederic Ruaudel for the color merge patches.
2681 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
2683 Add support to merge color for all other color attribute (Feature
2684 Requests item #1008635. If the data is invalid, the color used is transparent
2685 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2686 by gdk_color_parse() these include name for a color from rgb.txt, such as
2687 DarkSlateGray, or a hex specification such as #305050. File format has been
2688 changed but backward compatibility is preserved for all format. For
2689 box/ellipse/line, keep attribute "line_color" for static color or replace by
2690 "line_color_field" for merge data. For text/barcode objects, keep attribute
2691 "color" for static color or replace by "color_field" for merge data. In the
2692 edit canvas window, merged color are represented by half-transparent black
2695 * data/dtd/glabels-2.0.dtd:
2696 Added line_color_field to line_attrs. Added color_field to
2697 Object-barcode and Span.
2698 * data/glade/object-editor.glade:
2699 Modify the layout of the editor to add merge possibility to color options
2701 Fix a copy/paste error in a comment
2703 Add default color for merge color representation in the editor canvas.
2704 * src/label-barcode.c:
2705 * src/object-editor-bc-page.c:
2706 * src/view-barcode.c:
2707 Add merge color support for barcode color.
2710 Add merge color support for box border color.
2711 * src/label-ellipse.c:
2712 * src/view-ellipse.c:
2713 Add merge color support for ellipse border color.
2716 Add merge color support for line color.
2717 * src/label-object.c:
2718 * src/label-object.h:
2719 * src/object-editor.c:
2720 * src/object-editor.h:
2721 * src/ui-property-bar.c:
2724 * src/xml-label-04.c:
2725 * src/xml-label-191.c:
2726 Add support for merging to other color attribute.
2728 * src/object-editor-text-page.c:
2730 Add merge color support for text color.
2731 * src/object-editor-fill-page.c:
2732 Change a blocked handler that didn't match the good widget. Fix the type
2733 of some debug message.
2734 * src/object-editor-line-page.c:
2735 Add merging support to line color option.
2736 * src/object-editor-private.h:
2737 Add variables for new widget.
2739 Modify the draw functions to get merge data if needed.
2741 Change the default size of the window in order to see all widget in the
2742 "text style tab" of the editor.
2744 Modify the parser to record/retreive the field value for objects that need
2745 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
2746 static color or replace by "line_color_field" for merge data. For
2747 text/barcode objects, keep attribute "color" for static color or replace
2748 by "color_field" for merge data.
2750 2005-01-17 Jim Evins <evins@snaught.com>
2752 * src/view.c: (screen_changed_cb):
2753 Don't do anything if we don't have a screen.
2755 2005-01-06 Jim Evins <evins@snaught.com>
2757 * src/view.c: (get_home_scale):
2758 Fixed bad call to gtk_widget_has_screen() -- huh?.
2760 2005-01-06 Jim Evins <evins@snaught.com>
2762 * data/dtd/glabels-2.0.dtd:
2763 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
2766 2005-01-06 Jim Evins <evins@snaught.com>
2768 * data/glade/object-editor.glade:
2769 Set entries for fill and data field key dropdowns to NOT editable.
2770 * src/view-box.c: (construct_properties_editor):
2771 * src/view-ellipse.c: (construct_properties_editor):
2772 Update object editor when label's merge property has changed.
2773 * src/xml-label.c: (xml_parse_object_ellipse):
2774 Completed the merge color support for the ellipse item.
2776 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
2778 Add support to merge color for object that have a "Fill color" attribute (Feature
2779 Requests item #1008635. If the data is invalid, the color used is transparent
2780 (GL_COLOR_NONE). The format for color in merge data file are those accepted
2781 by gdk_color_parse() these include name for a color from rgb.txt, such as
2782 DarkSlateGray, or a hex specification such as #305050. File format has been
2783 changed but backward compatibility is preserved for all format. For box/ellipse,
2784 keep attribute "fill_color" for static color or replace by "fill_color_field"
2787 * data/glade/object-editor.glade:
2788 Modify "Fill" tab to add the merge key combo and convert the labels into
2792 Add "glColorNode" structure and associated functions to manage it. This
2793 structure is equivalent for color than the "glTextNode". It holds the color
2795 * src/label-object.h:
2796 * src/label-object.c:
2798 * src/label-ellipse.c:
2799 * src/ui-property-bar.c:
2803 * src/view-ellipse.c:
2804 * src/xml-label-04.c:
2805 * src/xml-label-191.c:
2806 Change functions of objects that have a "fill color" attribute to use the
2807 new "glColorNode" structure. Use barcode code as example.
2809 Add the color.[ch] file to glabels_batch binary that now need support for
2811 * src/object-editor.h:
2812 * src/object-editor.c:
2813 * src/object-editor-fill-page.c:
2814 Manage the new widget of the editor's "Fill" tab : key combo and radio button
2815 to choose between static color or merge key. Use barcode code as example.
2816 * src/object-editor-private.h:
2817 Add new widget in the "_glObjectEditorPrivate" structure.
2819 Modify the draw functions to get merge data if needed.
2821 Modify the parser to record/retreive the field value for objects that need
2822 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
2823 color or "fill_color_field" for merge data.
2825 2005-01-04 Jim Evins <evins@snaught.com>
2828 * data/templates/avery-iso-templates.xml:
2829 * data/templates/misc-iso-templates.xml:
2830 * data/templates/misc-us-templates.xml:
2831 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
2834 2004-11-26 Jim Evins <evins@snaught.com>
2838 Updated french translations provided by Florent Morel <florent@taket.org>.
2839 * src/view-barcode.c:
2841 * src/view-ellipse.c:
2845 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
2846 thus _() strings were not being translated.
2848 2004-11-14 Jim Evins <evins@snaught.com>
2851 * src/debug.c: (gl_debug_init), (gl_debug):
2852 Borrowed from gedit: use environmental variables to select debug
2855 Removed unused include of debug.h.
2856 * src/glabels.c: (main):
2857 Added call to gl_debug_init(), and removed debug clutter from command line
2859 * src/glabels-batch.c: (main):
2860 Added call to gl_debug_init().
2862 2004-11-13 Jim Evins <evins@snaught.com>
2864 Drawing and property toolbars were being initialized with the "icons and text"
2865 look in Fedora Core 3. Even though none of the buttons had any text attached to
2866 them, the buttons were being sized as if they were. This led to less real estate
2867 for the property editor, leading to Bug #1064630. The
2869 * data/ui/glabels-ui.xml:
2870 Added explicit "look" property to both drawing and property toolbars.
2871 * src/prefs-model.c: (gl_prefs_model_save_settings),
2872 (gl_prefs_model_load_settings):
2873 * src/prefs-model.h:
2874 Removed drawing_toolbar_button_style configuration parameter.
2875 * src/ui.c: (view_menu_item_toggled_cb),
2876 (set_app_drawing_toolbar_style):
2877 Do not attempt to adjust look property of the drawing toolbar.
2879 2004-10-28 Jim Evins <evins@snaught.com>
2881 * data/pixmaps/glabels-about-logo.png:
2884 2004-10-28 Jim Evins <evins@snaught.com>
2886 * data/man/glabels.1:
2887 * src/glabels-batch.c: (main):
2889 * src/print.c: (gl_print_batch):
2891 Added option to glabels-batch to select the first label to begin
2894 2004-09-26 Jim Evins <evins@snaught.com>
2896 * data/desktop/glabels.desktop.in:
2897 Point to app icon, "glabels.png"
2898 * data/mime/glabels.keys.in:
2899 Point at mime icon, "glabels-application-x-glabels.png"
2900 * data/pixmaps/Makefile.am:
2901 Added glabels_app_icondir. Renamed icons.
2902 * data/pixmaps/glabels.png:
2903 New cleaned up app icon. Deleted glabels-icon.png.
2904 * data/pixmaps/glabels-application-x-glabels.png:
2906 * data/pixmaps/glabels-splash.png:
2907 Renamed glabels-logo to glabels-splash to be more correct about role.
2909 * src/template-designer.c:
2910 Point at app icon, "glabels.png"
2912 Point at renamed splash image, "glabels-splash.png"
2914 2004-08-22 Jim Evins <evins@snaught.com>
2917 * src/glabels-batch.c: (main):
2918 Applied patch with minor mods to allow selecting merge source and
2919 crop-marks on glabels-batch's command line. Original patch provided by
2920 José Dapena Paz <jdapena@igalia.com>.
2922 2004-08-15 Jim Evins <evins@snaught.com>
2924 * data/desktop/glabels.desktop.in:
2925 - Added encoding line
2926 - Removed period from comment
2927 - Fixed Terminal line, changed "0" to "false"
2928 - Added semicolen to Categories line
2930 - Made sure desktop.in comment string above still translated properly
2932 2004-08-14 Jim Evins <evins@snaught.com>
2934 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
2935 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
2936 * src/xml-label-191.c: (xml191_parse_sheet):
2937 Fixed improper freeing of gettext strings. Merged from 2.0.1.
2939 Reconciled libglabels versioning with 2.0.1.
2942 2004-08-14 Jim Evins <evins@snaught.com>
2945 Updated version to 2.1cvs.
2947 2004-08-14 Jim Evins <evins@snaught.com>
2950 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
2952 2004-08-14 Jim Evins <evins@snaught.com>
2954 Fixes for Bug #1008181.
2956 * src/bc.c: (gl_barcode_default_digits):
2957 Make a format of zero digits, harmless.
2958 * src/xml-label.c: (xml_parse_object_barcode):
2959 Set default value of the format property of barcode objects to 10, not
2960 zero. This will prevent crashes when reading pre 2.0.x files.
2962 2004-08-09 Jim Evins <evins@snaught.com>
2966 * help/C/glabels-C.omf:
2967 * help/C/glabels.xml:
2968 Brought documentation up-to-date for 2.0.0 release.
2970 2004-08-09 Jim Evins <evins@snaught.com>
2972 These are hopefully the final preparations for 2.0.0.
2974 * data/mime/Makefile.am:
2975 Include glabels.xml in EXTRA_DIST.
2977 - Updated comment style.
2978 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
2979 - Added package and version info to configuration printout
2980 - Update version to 2.0.0
2981 * libglabels/Makefile.am:
2982 Use the new LIBGLABELS_VERSION_INFO macro.
2984 2004-08-09 Jim Evins <evins@snaught.com>
2988 Cleanup of required library macros.
2990 2004-08-08 Jim Evins <evins@snaught.com>
2994 - More specific of what to install in /usr/bin and /usr/lib
2995 - Remove built mime registration files from staging directory
2997 2004-08-08 Jim Evins <evins@snaught.com>
2999 * data/mime/Makefile.am:
3000 Fixed typo: key_files should have been keys_files.
3002 2004-08-08 Jim Evins <evins@snaught.com>
3004 Reorganization of runtime data files. Also added registration of mimetype with
3005 new freedesktop.org mime database if available.
3008 Moved files to appropriate subdirectories, creating local Makefile.am
3009 in each subdirectory.
3010 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
3011 These are now installed at $datadir/glabels/templates.
3012 - Moved glabels.1 to man subdirectory.
3013 - Moved glabels-2.0.dtd to dtd subdirectory.
3014 - Moved glabels.desktop.in to desktop subdirectory.
3015 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
3017 Moved "./pixmaps" to "./data/pixmaps"
3019 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
3021 Moved libglade files from src to data/glade. Created Makefile.am.
3023 Removed pixmaps from SUBDIRS.
3025 - Removed pixmaps from makefiles.
3026 - Added makefiles for new subdirs of data.
3027 - Added tests for freedesktop.org mime database.
3029 - Added tests for freedesktop.org mime database for post install and
3030 post un-install actions.
3031 * libglabels/Makefile.am:
3032 Moved system template files to $(datadir)/glabels/templates.
3033 * libglabels/libglabels-private.h:
3034 Moved system template files to $(datadir)/glabels/templates.
3036 - Accounted for movement of ui and libglade files.
3037 - Added missing .in files.
3038 - Reorganized by directory.
3040 Accounted for movement of ui and libglade files.
3041 * data/mime/glabels.xml.in:
3042 New file for registering with freedesktop.org mime database.
3044 2004-08-07 Jim Evins <evins@snaught.com>
3046 * src/recent-files/*:
3047 Re-synced to latest libegg/recent-files.
3049 2004-08-07 Jim Evins <evins@snaught.com>
3054 Renamed "./doc" directory to "./help" which contains user documentation,
3055 to be more consistent with other GNOME applications.
3058 2004-07-26 Jim Evins <evins@snaught.com>
3060 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
3061 Corrected button order of merge properties dialog.
3063 2004-07-18 Jim Evins <evins@snaught.com>
3065 * data/glabels-2.0.dtd:
3066 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
3067 (gl_barcode_get_prefered_n):
3069 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3070 (gl_label_barcode_get_props), (get_size):
3071 * src/label-barcode.h:
3072 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
3073 (style_changed_cb), (gl_object_editor_set_bc_style),
3074 (gl_object_editor_get_bc_style):
3075 * src/object-editor-data-page.c: (data_radio_toggled_cb),
3076 (gl_object_editor_set_data), (gl_object_editor_get_data):
3077 * src/object-editor-private.h:
3078 * src/object-editor.c: (gl_object_editor_set_key_names):
3079 * src/object-editor.glade:
3080 * src/object-editor.h:
3081 * src/print.c: (draw_barcode_object):
3082 * src/view-barcode.c: (update_object_from_editor_cb),
3083 (update_editor_from_object_cb),
3084 (gl_view_barcode_create_event_handler), (draw_barcode):
3085 * src/xml-label-04.c: (xml04_parse_barcode_props):
3086 * src/xml-label-191.c: (xml191_parse_barcode_props):
3087 * src/xml-label.c: (xml_parse_object_barcode),
3088 (xml_create_object_barcode):
3089 Added "format" attribute to barcode objects. This attribute is used
3090 to properly format freeform barcodes barcodes prior to merge data is
3091 applied, so that barcodes can be accurately layed out. This addresses
3092 remaining issues of feature request #824787. Also added an example of
3093 the format in the object editor.
3095 2004-07-12 Jim Evins <evins@snaught.com>
3097 Various code cleanups.
3099 * src/label-barcode.c:
3100 Removed unneeded include of gnome-glyphlist.h.
3102 * src/label-text.c: (get_size):
3103 Fixed memory leak: unref glyphlists when done with them.
3105 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
3106 * src/object-editor-data-page.c:
3107 (gl_object_editor_prepare_data_page):
3108 * src/object-editor-image-page.c:
3109 (gl_object_editor_prepare_image_page):
3110 * src/object-editor-line-page.c:
3111 (gl_object_editor_prepare_line_page):
3112 * src/object-editor-lsize-page.c:
3113 (gl_object_editor_prepare_lsize_page):
3114 * src/object-editor-position-page.c:
3115 (gl_object_editor_prepare_position_page):
3116 * src/object-editor-size-page.c:
3117 (gl_object_editor_prepare_size_page):
3118 * src/object-editor-text-page.c:
3119 (gl_object_editor_prepare_text_page):
3120 Removed unneeded size groups, originally intended to keep widgets aligned.
3121 Now use tables to lay these out in object-editor.glade.
3123 * src/print.c: (draw_text_object):
3124 Fixed memory leak: unref glyphlists when done with them.
3126 * src/view-barcode.c: (draw_barcode):
3127 Fixed memory leak: unref glyphlists when done with them.
3129 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
3130 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
3132 - Fixed memory leak: unref glyphlists when done with them.
3134 2004-07-11 Jim Evins <evins@snaught.com>
3136 * data/glabels-2.0.dtd:
3137 * src/label-text.c: (gl_label_text_instance_init), (copy),
3138 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
3140 * src/object-editor-private.h:
3141 * src/object-editor-text-page.c:
3142 (gl_object_editor_prepare_text_page),
3143 (gl_object_editor_set_text_auto_shrink),
3144 (gl_object_editor_get_text_auto_shrink):
3145 * src/object-editor.c: (gl_object_editor_set_key_names):
3146 * src/object-editor.glade:
3147 * src/object-editor.h:
3148 * src/print.c: (draw_text_object):
3149 * src/view-text.c: (update_object_from_editor_cb),
3150 (update_editor_from_object_cb):
3151 * src/xml-label.c: (xml_parse_object_text),
3152 (xml_create_object_text):
3153 Added option to allow document merge to auto shrink text size to fit
3154 within the text box. The code in print.c that actually shrinks the
3155 text is loosely based on a patch submitted by Mark Harrison
3156 <mark.harrison@velocitynet.com.au>. This addresses feature request
3159 2004-07-11 Jim Evins <evins@snaught.com>
3161 * data/glabels-2.0.dtd:
3162 * libglabels/template.c: (gl_template_rect_label_type_new),
3163 (gl_template_round_label_type_new),
3164 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
3165 (template_full_page):
3166 * libglabels/template.h:
3167 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
3168 (xml_create_label_node):
3169 * pixmaps/ex-rect-size.png:
3170 * src/print.c: (clip_to_outline), (clip_punchouts):
3171 * src/template-designer.c: (construct_rect_size_page),
3172 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
3174 * src/template-designer.glade:
3175 * src/xml-label-191.c: (xml191_parse_label):
3176 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
3177 properties for rectangular labels. Templates remain backwards compatible,
3178 but this breaks the libglabels API (I don't know of anyone outside of
3179 glabels using libglabels at this time -- what can I say, the program is
3180 is still "unstable"). This addresses the suggestion in Feature Request
3183 2004-07-05 Jim Evins <evins@snaught.com>
3184 * src/print.c: (print_crop_marks), (draw_outline):
3185 Changed crop marks and label outlines to black, instead of 25% gray.
3186 This addresses debian Bug #257460.
3188 2004-07-05 Jim Evins <evins@snaught.com>
3190 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
3191 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
3192 Preserve "is_default" of fill and line color_combos when creating from
3195 2004-07-02 Jim Evins <evins@snaught.com>
3198 Created man page. Based on page submitted by Matthew J. Lockner, however
3199 it has been severely edited.
3201 * data/avery-other-templates.xml
3202 * data/misc-other-templates.xml:
3203 Started new files for predefined templates with non-standard sheet sizes.
3204 These have been initially populated with the Avery 06141 and
3205 OfficeMax #86112, both provided by Matthew J. Lockner.
3208 Install above manpage and template files.
3211 Make sure we install man pages.
3213 * src/glabels-batch.c:
3214 Changed short form of help option to '-?' to be consistent with glabels.
3217 Added acknowledgement for above labels.
3219 2004-07-02 Jim Evins <evins@snaught.com>
3221 * src/glabels.c: (main), (save_session_cb):
3222 - Now include libbonoboui.h, recent.h, and file.h to provide missing
3224 - save_session_cb() now returns gboolean.
3225 - Minor formatting changes.
3229 - Now include file.h to provide missing prototype.
3230 - gl_window_get_type() now returns GType, not guint. I believe this may
3231 ultimately be cause of the segfault reported in Bug #982287, since
3232 GType is actually a gulong, which may not be compatible on other
3233 architectures (64bit) -- I cannot personally test this at this time.
3234 I was sloppy in several other xxx_get_type() functions which also
3235 returned guint -- see next group of files:
3237 * src/window.c: (gl_window_get_type):
3238 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
3239 * src/canvas-hacktext.h:
3240 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
3241 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
3242 (gl_hig_hbox_get_type):
3244 * src/label-barcode.c: (gl_label_barcode_get_type):
3245 * src/label-barcode.h:
3246 * src/label-box.c: (gl_label_box_get_type):
3248 * src/label-ellipse.c: (gl_label_ellipse_get_type):
3249 * src/label-ellipse.h:
3250 * src/label-image.c: (gl_label_image_get_type):
3251 * src/label-image.h:
3252 * src/label-line.c: (gl_label_line_get_type):
3254 * src/label-object.c: (gl_label_object_get_type):
3255 * src/label-object.h:
3256 * src/label-text.c: (gl_label_text_get_type):
3258 * src/label.c: (gl_label_get_type):
3260 * src/merge-properties-dialog.c:
3261 (gl_merge_properties_dialog_get_type):
3262 * src/merge-properties-dialog.h:
3263 * src/merge-text.c: (gl_merge_text_get_type):
3265 * src/merge.c: (gl_merge_get_type):
3267 * src/object-editor.c: (gl_object_editor_get_type):
3268 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
3269 * src/prefs-dialog.h:
3270 * src/prefs-model.c: (gl_prefs_model_get_type):
3271 * src/prefs-model.h:
3272 * src/print-dialog.c: (gl_print_dialog_get_type):
3273 * src/print-dialog.h:
3274 * src/template-designer.c: (gl_template_designer_get_type):
3275 * src/template-designer.h:
3276 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
3277 * src/ui-property-bar.h:
3278 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
3280 * src/view-barcode.c: (gl_view_barcode_get_type):
3281 * src/view-barcode.h:
3282 * src/view-box.c: (gl_view_box_get_type):
3284 * src/view-ellipse.c: (gl_view_ellipse_get_type):
3285 * src/view-ellipse.h:
3286 * src/view-highlight.c: (gl_view_highlight_get_type):
3287 * src/view-highlight.h:
3288 * src/view-image.c: (gl_view_image_get_type):
3290 * src/view-line.c: (gl_view_line_get_type):
3292 * src/view-object.c: (gl_view_object_get_type):
3293 * src/view-object.h:
3294 * src/view-text.c: (gl_view_text_get_type):
3296 * src/view.c: (gl_view_get_type):
3298 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
3299 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
3300 * src/wdgt-image-select.h:
3301 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
3302 * src/wdgt-media-select.h:
3303 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
3304 * src/wdgt-mini-preview.h:
3305 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
3306 * src/wdgt-print-copies.h:
3307 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
3308 * src/wdgt-print-merge.h:
3309 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
3310 * src/wdgt-rotate-label.h:
3311 - Made sure all xxx_get_type functions returned GType, not guint. This
3312 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
3313 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
3314 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
3315 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
3316 window.[ch] details above for more info.
3317 - Reconciled various coding style differences in all xxx_get_type()
3319 * All prototypes include G_GNUC_CONST.
3320 * All prototypes specify the return value as GType, not GtkType
3322 * Info structures are all declared as "static const."
3323 * Generalized the names of type and info variables.
3324 * Miscelaneous formatting.
3326 2004-06-08 Jim Evins <evins@snaught.com>
3332 Don't touch compression of original file -- still defaults to 9 for
3333 new files. Original patch provided by Javier Donaire Segarra
3334 (#912252 in patch tracker).
3336 2004-05-05 Jim Evins <evins@snaught.com>
3338 * data/glabels-2.0.dtd:
3339 Broke DTD previously when adding new barcode types that contain a
3340 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
3341 to avoid the problem.
3342 * data/avery-iso-templates.xml:
3343 * data/zweckform-iso-templates.xml:
3345 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
3346 provided by Frank Altpeter.
3347 * libglabels/xml-template.c: (xml_create_label_node):
3348 Reordered markup and layout sub-nodes so that resulting templates will
3349 validate against DTD.
3351 2004-03-13 Jim Evins <evins@snaught.com>
3353 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
3354 Changed spin callback signals from "value-changed" back to "changed."
3355 This was accidentally introduced in a previous revision, and can cause
3356 size changes just by selecting the size tab.
3358 2004-03-06 Jim Evins <evins@snaught.com>
3360 * src/view.c: (draw_grid_layer):
3361 For round labels (round and cd) adjust grid so that it lines up with
3362 center of label. Also, no longer draw box around label in the grid layer,
3363 it is hidden by he fg layer anyway. Feature suggested by
3364 nemolivier@free.fr. Although the grid is aligned with the center of the
3365 label, the coordinate system is still relative to the upper left corner
3366 of the rectangle containing the label.
3368 2004-02-25 Jim Evins <evins@snaught.com>
3371 Changed version to 2.0pre1cvs
3373 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
3374 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
3375 instead of doc->name fields when errors encountered.
3377 2004-02-21 Jim Evins <evins@snaught.com>
3379 * data/avery-iso-templates.xml:
3380 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
3383 Added libglabels library and include file to installed files.
3386 Final prep for 1.93.3.
3388 2004-02-20 Jim Evins <evins@snaught.com>
3390 * src/glabels-batch.c: (main):
3391 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
3392 as suggested by Javier Donaire Segarra. This addresses bug #901063.
3394 2004-02-16 Jim Evins <evins@snaught.com>
3397 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
3400 Added HAVE_FILE_CHOOSER to INCLUDES.
3402 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
3403 (gl_file_save_as), (save_as_response):
3404 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
3406 2004-02-16 Jim Evins <evins@snaught.com>
3408 * src/xml-label-04.c: (xml04_parse_image_props):
3409 * src/xml-label-191.c: (xml191_parse_image_props):
3410 * src/xml-label.c: (xml_parse_object_image):
3411 Delay setting image size until after image has been applied to new
3414 2004-02-15 Jim Evins <evins@snaught.com>
3416 * src/label-barcode.c: (gl_label_barcode_set_data),
3417 (gl_label_barcode_set_props):
3418 Don't emit "changed" signal, if no change actually made for these
3419 methods. Reduces number of unnecessary redraws of barcodes.
3421 * src/label-object.h:
3422 * src/label-object.c: (gl_label_object_set_position),
3423 (gl_label_object_set_position_relative), (set_size),
3424 (gl_label_object_set_size),
3425 (gl_label_object_set_size_honor_aspect):
3426 Don't emit "changed" signal, if no change actually made for these
3429 2004-02-15 Jim Evins <evins@snaught.com>
3431 * data/glabels-2.0.dtd:
3432 Added specific subtypes for various barcode types.
3435 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
3436 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
3437 (gl_barcode_can_text), (gl_barcode_text_optional),
3438 (gl_barcode_can_csum), (gl_barcode_csum_optional),
3439 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
3440 Changed API to use a string id, rather than a fixed enumeration. Id and
3441 name are separate strings. Added entries to backend table for specific
3442 subtypes for various barcode types.
3445 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
3447 Modified to conform to above API. Now more stringent with data length
3448 for various subtypes.
3450 * src/bc-gnubarcode.h:
3451 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
3452 (is_length_valid), (is_length1_valid), (is_length2_valid):
3453 Modified to conform to above API. Now more stringent with data length
3454 for various subtypes.
3456 * src/label-barcode.h:
3457 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
3458 (gl_label_barcode_get_props), (get_size):
3459 Modified to use above API for storing barcode type.
3461 * src/object-editor.h:
3462 * src/object-editor-bc-page.c: (style_changed_cb),
3463 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
3464 Modified to use above API for storing barcode type.
3466 * src/object-editor-size-page.c:
3467 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
3468 (w_spin_cb), (h_spin_cb), (size_reset_cb):
3469 Added debug markers.
3471 * src/object-editor.glade:
3472 Made barcode style combo's text entry non-editable.
3474 * src/print.c: (draw_barcode_object):
3475 Modified to use above API for barcode type.
3477 * src/view-barcode.c: (update_object_from_editor_cb),
3478 (update_editor_from_object_cb),
3479 (gl_view_barcode_create_event_handler), (draw_barcode):
3480 Modified to use above API for barcode type.
3482 * src/xml-label-04.c: (xml04_parse_barcode_props):
3483 * src/xml-label-191.c: (xml191_parse_barcode_props):
3484 * src/xml-label.c: (xml_parse_object_barcode),
3485 (xml_create_object_barcode):
3486 Modified to use above API for barcode type.
3488 2004-02-07 Jim Evins <evins@snaught.com>
3490 * src/stock-pixmaps/Makefile.am:
3491 * src/stock-pixmaps/stock_hchain_24.png:
3492 * src/stock-pixmaps/stock_hchain_broken_24.png:
3493 * src/stock-pixmaps/stock_vchain_24.png:
3494 * src/stock-pixmaps/stock_vchain_broken_24.png:
3495 Added chain pixmaps borrowed from the gimp's default theme.
3498 * src/stock.c: (gl_stock_init), (add_button_icon):
3499 Added above pixmaps to stock icon sets. Created add_button_icon() to
3500 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
3502 * src/wdgt-chain-button.h
3503 * src/wdgt-chain-button.c
3506 Added this Modified version of gimpchainbutton widget, borrowed from
3510 Added acknowledgements of the above borrowing from the gimp.
3512 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
3514 * src/object-editor.c: (gl_object_editor_construct_chain_button):
3515 * src/object-editor.glade:
3516 Replaced the keep aspect ratio check box with the above chain-button
3519 * src/text-node.c: (gl_text_node_equal):
3521 Added function gl_text_node_equal() to compare text_nodes.
3523 * src/label-image.c: (gl_label_image_set_filename):
3524 Replaced incomplete text_node comparison code with invocation of
3525 gl_text_node_equal. This fixed the problem of not being able to
3526 resize an image using the object_editor if the aspect ratio is not
3529 2004-02-04 Jim Evins <evins@snaught.com>
3531 * src/object-editor-image-page.c:
3532 (gl_object_editor_prepare_image_page):
3533 Track "changed" signal of pixmap entry's GtkEntry rather than its
3534 "activate" signal -- this catches all changes to the entry rather than
3535 just changes resulting from a browse, so one can easily pull previous
3536 entries from the history. (This change is marked below on 2004-02-03,
3537 but somehow never got checked in.)
3539 * src/view-highlight.c: (sl_resize_event_handler),
3540 (sr_resize_event_handler), (st_resize_event_handler),
3541 (sb_resize_event_handler):
3542 Side resize handles will now confirm the actual resize that the object
3543 accepted before adjusting position parameters. Previously some interesting
3544 things happened when resizing a barcode to its minimum size.
3546 2004-02-03 Jim Evins <evins@snaught.com>
3548 * src/object-editor-image-page.c:
3549 (gl_object_editor_prepare_image_page):
3550 Track "changed" signal of pixmap entry's GtkEntry rather than its
3551 "activate" signal -- this catches all changes to the entry rather than
3552 just changes resulting from a browse, so one can easily pull previous
3553 entries from the history.
3555 * src/view-highlight.c: (tl_resize_event_handler),
3556 (tr_resize_event_handler), (bl_resize_event_handler),
3557 (br_resize_event_handler):
3558 Allow control key to be dropped while dragging a corner resize handle
3559 without losing the aspect ratio lock.
3561 2004-02-02 Jim Evins <evins@snaught.com>
3563 * src/label-image.c: (gl_label_image_set_filename):
3564 When setting a new filename adjust size such that the aspect ratio of
3565 the image is preserved using the current size as a bounding box.
3567 * src/view-image.c: (update_object_from_editor_cb):
3568 When updating object from editor, feed back possible size changes to
3569 editor as a result of a possible change in image.
3571 * src/object-editor-size-page.c: (size_reset_cb):
3572 Fixed typo when blocking spin handlers. If the base size is larger than
3573 the max size, treat max size as a bounding box while keeping aspect
3577 2004-02-02 Jim Evins <evins@snaught.com>
3579 * src/label-object.h:
3580 * src/label-object.c: (gl_label_object_set_size),
3581 (gl_label_object_set_size_honor_aspect):
3582 Added gl_label_object_set_size_honor_aspect() which will maintain the
3583 current aspect ratio by modifying the supplied w or h apropriately.
3585 * src/view-highlight.c: (tl_resize_event_handler),
3586 (tr_resize_event_handler), (bl_resize_event_handler),
3587 (br_resize_event_handler):
3588 Corner handles will now maintain the current aspect ratio if the
3589 control key is pressed while resizing. This addresses feature
3593 2004-01-31 Jim Evins <evins@snaught.com>
3596 * data/avery-us-templates.xml:
3597 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
3599 * libglabels/template.c: (read_template_files_from_dir):
3600 Corrected problem with testing for extensions.
3602 * src/object-editor.glade:
3603 Corrected grouping of radio buttons in barcode data page.
3605 * src/print.c: (draw_barcode_object):
3606 * src/view-barcode.c: (draw_barcode):
3607 Corrected problem with calculation of y_offset for locating characters.
3609 2004-01-24 Jim Evins <evins@snaught.com>
3612 * data/avery-us-templates.xml:
3613 Added Avery 5824, submitted by Fred Bacon.
3615 2004-01-20 Jim Evins <evins@snaught.com>
3617 Catching up on a couple of backlogged user template submissions.
3619 * data/avery-iso-templates.xml:
3620 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
3621 Suggested by Linas Jakucionis.
3623 * data/zweckform-iso-templates.xml:
3624 Added Zweckform 4760, submitted by Thomas Vill.
3627 Updated to reflect above submissions.
3629 2004-01-06 Jim Evins <evins@snaught.com>
3631 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
3632 xml.[ch] into a separate library called libglabels, to facilitate third
3633 party use of glabels template files. This was suggested by Wayne Schuller.
3634 Once split-out, some modifications to the structures and functions to
3635 make a cleaner more useful API, hopefully. Rather extensive changes have
3636 propogated to other modules.
3644 * src/xml-template.h:
3645 * src/xml-template.c:
3648 These files have been moved to libglabels/. API cleanup performed.
3650 * libglabels/libglabels.h:
3651 * libglabels/libglabels-private.h:
3652 * libglabels/Makefile.am:
3653 These files have been added to finish out libglabels.
3660 Modified to reflect new sets of files in src/ and libglabels/.
3662 * COPYING.LIBGLABELS:
3664 Added copy of the LGPL for libglabels, and a copy the GFDL for
3667 * src/glabels-batch.c:
3669 * src/label.c: (gl_label_finalize), (gl_label_set_template),
3670 (gl_label_get_size):
3672 * src/prefs-model.c: (gl_prefs_model_load_settings):
3673 * src/print-dialog.c:
3674 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
3675 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
3676 (print_crop_marks), (print_label), (draw_outline),
3677 (clip_to_outline), (clip_punchouts):
3678 * src/template-designer.c: (construct_pg_size_page),
3679 (pg_size_page_changed_cb), (layout_page_changed_cb),
3680 (print_test_cb), (build_template):
3681 * src/util.c: (gl_util_fraction):
3683 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
3684 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
3685 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
3686 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
3687 (draw_markup_margin_round), (draw_markup_margin_cd),
3688 (draw_markup_margin_cd_bc), (draw_markup_line),
3689 (draw_markup_circle), (gl_view_copy):
3690 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
3691 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
3692 (get_label_size_desc):
3693 * src/wdgt-mini-preview.c:
3694 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
3696 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
3697 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
3698 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
3699 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
3700 * src/wdgt-rotate-label.h:
3701 * src/xml-label-04.c: (xml04_parse_media_description):
3702 * src/xml-label-191.c: (gl_xml_label_191_parse),
3703 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
3704 (xml191_parse_markup), (xml191_parse_alias):
3705 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
3707 Various changes to accomodate new libglabels API.
3709 2004-01-03 Jim Evins <evins@snaught.com>
3714 2004-01-03 Jim Evins <evins@snaught.com>
3717 Added acknowledgement of contributions by Wayne Schuller.
3719 * src/commands.c: (gl_cmd_file_print):
3720 Create extra reference to print dialog, so that it can be properly re-used.
3722 * src/mygal/mygal-combo-box.h:
3723 * src/mygal/mygal-combo-box.c:
3724 (mygal_combo_box_popup_hide_unconditional),
3725 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
3726 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
3727 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
3728 (mygal_combo_box_set_tearable):
3729 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
3730 complete the rename of this widget to prevent namespace collisions
3733 * src/prefs-dialog.glade:
3734 Fixed alignment of Fill/Color widgets.
3736 2004-01-03 Jim Evins <evins@snaught.com>
3738 * data/avery-iso-templates.xml:
3739 Added user submitted templates.
3740 Avery 8435A & 8435B, submitted by Ludger Solbach.
3742 * doc/C/glabels.xml:
3743 Added minimal documentation, noting the new template designer.
3745 2004-01-03 Jim Evins <evins@snaught.com>
3747 * pixmaps/ex-rect-size.png:
3748 * pixmaps/ex-round-size.png:
3749 * pixmaps/ex-cd-size.png:
3750 * pixmaps/Makefile.am:
3751 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
3752 files to be used as illustrations/examples in the template-designer.
3754 * src/template-designer.c: (construct_rect_size_page),
3755 (construct_round_size_page), (construct_cd_size_page),
3756 (construct_nlayouts_page), (rect_size_page_prepare_cb),
3757 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
3758 (layout_page_prepare_cb), (build_template):
3759 * src/template-designer.glade:
3760 Added illustrations for rectangle, round, and cd label size pages.
3761 Added margin spinboxes to these pages, and now add a margin markup
3762 to the constructed template. Added realistic default values for
3763 some of the size spinboxes. Cleaned up the code for setting spinbox
3764 ranges on the layouts page.
3766 2004-01-02 Jim Evins <evins@snaught.com>
3768 * src/object-editor-size-page.c: (h_spin_cb):
3769 Fixed cut-n-paste error in h_spin_cb that loaded h from
3770 the wrong spinbutton.
3772 * src/object-editor.h:
3773 * src/object-editor.c: (gl_object_editor_class_init),
3774 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
3775 * src/object-editor-private.h:
3776 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
3778 Added "size_changed" signal.
3780 * src/view-text.c: (construct_properties_editor),
3781 (update_object_from_editor_cb),
3782 (update_object_from_editor_size_cb):
3783 Track size changes from object editor separately from other
3784 properties. This is so the default size (0,0) of a text
3785 object is not modified unintentionally.
3787 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
3789 Added feature: line spacing - allows you to comfortably space a text box to
3790 fit a label perfectly.
3792 * data/glabels-2.0.dtd:
3793 * src/label-object.c: (gl_label_object_set_text_line_spacing),
3794 (gl_label_object_get_text_alignment),
3795 (gl_label_object_get_text_line_spacing):
3796 * src/label-object.h:
3797 * src/label-text.c: (gl_label_text_class_init),
3798 (gl_label_text_instance_init), (copy), (get_size),
3799 (set_text_line_spacing), (get_text_alignment),
3800 (get_text_line_spacing):
3801 * src/object-editor-private.h:
3802 * src/object-editor-text-page.c:
3803 (gl_object_editor_prepare_text_page),
3804 (gl_object_editor_set_text_line_spacing),
3805 (gl_object_editor_get_text_line_spacing):
3806 * src/object-editor.glade:
3807 * src/object-editor.h:
3808 * src/prefs-dialog.c: (construct_object_page),
3809 (update_object_page_from_prefs), (update_prefs_from_object_page):
3810 * src/prefs-dialog.glade:
3811 * src/prefs-model.c: (gl_prefs_model_save_settings),
3812 (gl_prefs_model_load_settings), (get_float):
3813 * src/prefs-model.h:
3814 * src/print.c: (draw_text_object):
3816 * src/view-text.c: (update_object_from_editor_cb),
3817 (update_editor_from_object_cb),
3818 (gl_view_text_create_event_handler), (draw_hacktext):
3819 * src/view.c: (gl_view_construct),
3820 (gl_view_set_selection_text_line_spacing),
3821 (gl_view_set_default_text_line_spacing),
3822 (gl_view_get_default_text_line_spacing):
3824 * src/xml-label.c: (xml_parse_toplevel_span),
3825 (xml_create_toplevel_span):
3827 2003-12-30 Jim Evins <evins@snaught.com>
3829 * src/template-designer.c:
3830 * src/template-designer.h:
3831 * src/template-designer.glade:
3832 New template designer assistant.
3836 Added entries for src/template-designer.* files.
3838 * pixmaps/ex-1layout.png
3839 * pixmaps/ex-2layouts.png
3840 * pixmaps/Makefile.am:
3841 Added the new image files ex-*.png used as illustrations in the
3842 template designer assistant.
3844 * src/print-dialog.h:
3845 * src/print-dialog.c: (gl_print_dialog_finalize),
3846 (gl_print_dialog_new), (gl_print_dialog_construct),
3847 (gl_print_dialog_force_outline_flag):
3848 Changed first argument of gl_print_dialog_new() from glView to glLabel,
3849 to support printing from the template designer assistant which does not
3850 have a full-fledged view. Nothing else from the view object was being
3851 used by the dialog anyway.
3853 Added the gl_print_dialog_force_outline_flag() method, for better
3854 integration with the template designer assistant.
3858 * src/commands.c: (gl_cmd_file_template_designer),
3859 (gl_cmd_file_print):
3860 Modified print command to provide label instead of view to dialog.
3861 Added the gl_cmd_file_template_designer() command to invoke the
3862 template designer assistant.
3865 * src/glabels-ui.xml:
3866 Added support for template designer assistant.
3868 * src/wdgt-mini-preview.h:
3869 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
3870 (gl_wdgt_mini_preview_set_bg_color):
3871 Preview is now centered in canvas. Added
3872 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
3873 assistant to match the background color with its own.
3875 * src/print.c: (clip_to_outline):
3876 Fixed really stupid bug when adding waste to clip region of rectangular
3877 labels/cards. Each side of the clip region needs to be extended by
3878 twice the waste margin, as well as negatively offset by the waste
3881 2003-12-28 Jim Evins <evins@snaught.com>
3883 * src/prefs-dialog.c: (update_object_page_from_prefs):
3884 Block intermediary function align_toggle_cb() instead of
3885 update_prefs_from_object_page() for the three alignment
3888 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
3890 * src/file.c: (gl_file_new), (gl_file_properties):
3891 Swap button order and set default for higificatory pleasure.
3893 2003-12-27 Jim Evins <evins@snaught.com>
3895 * barcode-0.98/Makefile.am:
3896 One last time: removed doc/Makefile and po/Makefile.in.in from
3899 2003-12-27 Jim Evins <evins@snaught.com>
3901 * barcode-0.98/Makefile.am:
3902 Removed config.stat entry from EXTRA_DIST files.
3904 * barcode-0.98/Makefile.in:
3907 2003-12-27 Jim Evins <evins@snaught.com>
3910 Updated to work with latest gnome-common package from CVS.
3911 Removed recursive configuration of barcode-0.98.
3918 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
3920 * barcode-0.98/Makefile.in:
3921 * barcode-0.98/configure.in:
3922 * barcode-0.98/Makefile.am:
3923 * barcode-0.98/README.glabels:
3924 Modified to ignore the barcode package's build system, and build
3925 as a part of glabels.
3926 Renamed Makefile.in to Makefile.in.dist.
3927 Renamed configure.in to configure.in.dist.
3928 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
3931 * src/mygal/Makefile.am:
3932 * src/recent-files/Makefile.am:
3933 In order to build against the GNOME 2.5 platform,
3934 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
3936 * src/mygal/Makefile.am:
3937 * src/mygal/mygal-combo-box.c:
3938 * src/mygal/mygal-combo-box.h:
3939 * src/mygal/widget-color-combo.c:
3940 * src/mygal/widget-color-combo.h:
3942 In order to build against the GNOME 2.5 platform,
3943 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
3944 collisions with the real gtk_combo_box widget, now a part of gtk.
3946 2003-12-26 Jim Evins <evins@snaught.com>
3952 Moved local versions of get_home_data_dir() in paper.c and
3953 template.c to util package. Cleaned up formatting in
3957 In gl_template_register() save a copy of the template in
3958 ~/.glabels if the template is not known. Still need to
3959 handle duplicate filename case and duplicate name but
3960 different template case.
3964 Moved local definition of NAME_SPACE macro from xml-label.c
3967 * src/xml-template.c:
3968 * src/xml-template.h:
3969 Added function gl_xml_template_write_template_to_file(), used
3970 in gl_template_register().