1 2005-04-15 Jim Evins <evins@snaught.com>
3 * data/templates/avery-us-templates.xml:
4 Added Avery 5388 and 5389 templates provided by Peter L. Berghold.
5 * data/templates/misc-iso-templates.xml:
6 Added Ryman standard CD/DVD template, provided by Dan Clark.
8 Added acknowledgements for above.
10 2005-04-10 Jim Evins <evins@snaught.com>
12 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
13 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
14 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
15 (xml_parse_label_cd_node), (xml_parse_alias_node):
16 * libglabels/xml.c: (gl_xml_get_prop_double),
17 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
18 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
19 * src/xml-label-04.c: (xml04_parse_media_description),
20 (xml04_parse_text_props), (xml04_parse_barcode_props),
21 (xml04_parse_merge_properties):
22 * src/xml-label-191.c: (xml191_parse_object),
23 (xml191_parse_text_props), (xml191_parse_barcode_props),
24 (xml191_parse_merge_fields), (xml191_parse_pixdata),
25 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
27 * src/xml-label.c: (xml_parse_object_text),
28 (xml_parse_object_barcode), (xml_parse_merge_fields),
29 (xml_parse_pixdata), (xml_parse_toplevel_span):
30 Make sure to use xmlFree for anything obtained from libxml
31 in case libxml and glib use different memory management
34 2005-04-08 Jim Evins <evins@snaught.com>
37 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
38 (gl_util_combo_box_set_active_text):
39 Added utility functions to simplify working with GtkComboBox
41 * src/ui-property-bar.h:
42 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
43 (reset_to_default_properties), (update_text_properties),
44 (font_family_changed_cb):
45 Replaced deprecated GtkCombo with GtkComboBox.
48 2005-04-03 Jim Evins <evins@snaught.com>
51 * src/wdgt-image-select.h:
52 * src/wdgt-image-select.c:
53 Removed obsolete wdgt-image-select.[ch] files.
54 * libglabels/paper.c: (gl_paper_dup):
55 Fixed rename of parameter introduced during documentation
57 * data/glade/object-editor.glade:
58 * src/object-editor-image-page.c:
59 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
60 (gl_object_editor_set_image), (gl_object_editor_get_image),
61 (update_preview_cb), (add_image_filters_to_chooser):
62 * src/object-editor-private.h:
63 Replaced deprecated GnomePixmapEntry with
66 2005-04-02 Jim Evins <evins@snaught.com>
68 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
69 (mygal_combo_box_popup_hide_unconditional),
70 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
71 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
72 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
73 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
74 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
75 Renamed all internal gtk_combo functions to mygal_combo
76 to prevent namespace confusion.
78 2005-04-02 Jim Evins <evins@snaught.com>
80 * src/mygal/color-palette.c: (color_palette_change_custom_color),
81 (cust_color_set), (color_palette_setup):
82 * src/mygal/color-palette.h:
83 Replaced deprecated GnomeColorPicker with GtkColorButton.
85 2005-04-02 Jim Evins <evins@snaught.com>
87 * docs/libglabels/libglabels-sections.txt:
88 * docs/libglabels/libglabels-undocumented.txt:
89 * docs/libglabels/tmpl/enums.sgml:
90 * docs/libglabels/tmpl/paper.sgml:
91 * docs/libglabels/tmpl/xml-paper.sgml:
92 * docs/libglabels/tmpl/xml-template.sgml:
94 * libglabels/paper.c: (gl_paper_dup):
96 * libglabels/xml-paper.c:
97 * libglabels/xml-template.c:
98 More documentation updates for libglabels.
100 2005-03-23 Jim Evins <evins@snaught.com>
103 Automatically updated.
108 * docs/libglabels/Makefile.am:
109 * docs/libglabels/libglabels-docs.sgml:
110 * docs/libglabels/libglabels-sections.txt:
111 * docs/libglabels/libglabels-undocumented.txt:
112 * docs/libglabels/tmpl/enums.sgml:
113 * docs/libglabels/tmpl/libglabels-unused.sgml:
114 * docs/libglabels/tmpl/libglabels.sgml:
115 * docs/libglabels/tmpl/paper.sgml:
116 * docs/libglabels/tmpl/template.sgml:
117 * docs/libglabels/tmpl/xml-paper.sgml:
118 * docs/libglabels/tmpl/xml-template.sgml:
119 * docs/libglabels/tmpl/xml.sgml:
120 Added basic gtk-doc stuff to support documenting libglabels
123 Updated function comments with gtk-doc markup.
127 2005-03-22 Jim Evins <evins@snaught.com>
129 Since the development version now requires gtk-2.6/gnome-2.10, I
130 have made a first pass at removing deprecations.
133 * libglabels/Makefile.am:
135 Added configure option to turn on X_DISABLE_DEPRECATED flags.
136 Also removed all remnants of HAVE_FILECHOOSER.
137 * src/file.c: (gl_file_open_real):
138 Removed code for old GtkFileSelection.
139 * libglabels/libglabels-private.h:
140 * libglabels/paper.c:
141 * libglabels/template.c:
142 * libglabels/xml-paper.c:
143 * libglabels/xml-template.c:
147 * src/glabels-batch.c:
151 * src/merge-properties-dialog.c:
153 * src/object-editor.c:
154 * src/prefs-dialog.c:
156 * src/print-dialog.c:
159 * src/template-designer.c:
160 * src/ui-property-bar.c:
162 * src/view-barcode.c:
164 * src/view-ellipse.c:
169 * src/wdgt-image-select.c:
170 * src/wdgt-media-select.c:
171 * src/wdgt-print-copies.c:
172 * src/wdgt-print-merge.c:
173 * src/wdgt-rotate-label.c:
175 * src/xml-label-04.c:
176 * src/xml-label-191.c:
178 Added '#include <glib/gi18n.h>" where needed.
179 Removed any unused '#include <gnome.h>"s.
181 2005-03-22 Jim Evins <evins@snaught.com>
183 * src/commands.c: (activate_url), (gl_cmd_help_about):
184 Replaced GnomeAbout with GtkAboutDialog. Therefore the
185 development version of glabels now depends on GTK 2.6 and
188 Updated library dependencies.
190 2005-02-28 Jim Evins <evins@snaught.com>
193 * data/templates/misc-iso-templates.xml:
194 Added 'Ednet 45021' template provided by Ali Akcaagac
197 2005-02-14 Jim Evins <evins@snaught.com>
199 * data/templates/avery-us-templates.xml:
200 Updated templates to use inches instead of points.
201 * src/print-dialog.c: (printer_page_new):
202 Changed packing style when adding printer selector widget. This fixes
205 2005-02-13 Jim Evins <evins@snaught.com>
209 Updated spanish translations. (sergio rivadero)
211 2005-02-05 Jim Evins <evins@snaught.com>
213 Some cleanup to libglabels.
216 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
217 * libglabels/libglabels.pc.in
220 Created. Currently only contains glUnitsType which provides enumerations
221 for all possible units of distance.
222 * libglabels/Makefile.am:
223 Incorporated new files enums.h and libglabels.pc[.in].
224 * libglabels/libglabels.h:
226 * libglabels/template.h:
227 * libglabels/template.c: (gl_template_layout_new):
228 Changed parameters nx and ny to gint from gdouble.
230 * libglabels/xml.c: (gl_xml_get_prop_length),
231 (gl_xml_set_prop_length), (gl_xml_set_default_units):
232 Added support for different output units.
233 * src/prefs-dialog.c: (update_locale_page_from_prefs),
234 (update_prefs_from_locale_page):
235 * src/prefs-model.c: (string_to_units), (units_to_string):
237 * src/prefs.c: (gl_prefs_get_units_per_point),
238 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
239 (gl_prefs_get_units_string):
241 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
242 Reconciled all length enumerations with the new enumerations provided
243 in libglabels/enums.h.
245 2005-02-03 Jim Evins <evins@snaught.com>
248 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
250 Updated Italian translations. (Daniele Medri)
252 Updated credits to reflect above translations.
255 2005-01-22 Jim Evins <evins@snaught.com>
260 Added MESSAGE-OF-DOOM to EXTRA_DIST.
262 Final prep for 2.1.0.
264 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
266 Added '--remove-original' flag to desktop-file-install, so that there is
269 2005-01-20 Jim Evins <evins@snaught.com>
271 * data/glade/object-editor.glade:
272 - Font family entry should not be editable.
273 - img_key_entry should have sensitivity=YES, so that it follows the
274 sensitivity of img_key_combo.
276 2005-01-19 Jim Evins <evins@snaught.com>
279 Give credit to Frederic Ruaudel for the color merge patches.
281 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
283 Add support to merge color for all other color attribute (Feature
284 Requests item #1008635. If the data is invalid, the color used is transparent
285 (GL_COLOR_NONE). The format for color in merge data file are those accepted
286 by gdk_color_parse() these include name for a color from rgb.txt, such as
287 DarkSlateGray, or a hex specification such as #305050. File format has been
288 changed but backward compatibility is preserved for all format. For
289 box/ellipse/line, keep attribute "line_color" for static color or replace by
290 "line_color_field" for merge data. For text/barcode objects, keep attribute
291 "color" for static color or replace by "color_field" for merge data. In the
292 edit canvas window, merged color are represented by half-transparent black
295 * data/dtd/glabels-2.0.dtd:
296 Added line_color_field to line_attrs. Added color_field to
297 Object-barcode and Span.
298 * data/glade/object-editor.glade:
299 Modify the layout of the editor to add merge possibility to color options
301 Fix a copy/paste error in a comment
303 Add default color for merge color representation in the editor canvas.
304 * src/label-barcode.c:
305 * src/object-editor-bc-page.c:
306 * src/view-barcode.c:
307 Add merge color support for barcode color.
310 Add merge color support for box border color.
311 * src/label-ellipse.c:
312 * src/view-ellipse.c:
313 Add merge color support for ellipse border color.
316 Add merge color support for line color.
317 * src/label-object.c:
318 * src/label-object.h:
319 * src/object-editor.c:
320 * src/object-editor.h:
321 * src/ui-property-bar.c:
324 * src/xml-label-04.c:
325 * src/xml-label-191.c:
326 Add support for merging to other color attribute.
328 * src/object-editor-text-page.c:
330 Add merge color support for text color.
331 * src/object-editor-fill-page.c:
332 Change a blocked handler that didn't match the good widget. Fix the type
333 of some debug message.
334 * src/object-editor-line-page.c:
335 Add merging support to line color option.
336 * src/object-editor-private.h:
337 Add variables for new widget.
339 Modify the draw functions to get merge data if needed.
341 Change the default size of the window in order to see all widget in the
342 "text style tab" of the editor.
344 Modify the parser to record/retreive the field value for objects that need
345 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
346 static color or replace by "line_color_field" for merge data. For
347 text/barcode objects, keep attribute "color" for static color or replace
348 by "color_field" for merge data.
350 2005-01-17 Jim Evins <evins@snaught.com>
352 * src/view.c: (screen_changed_cb):
353 Don't do anything if we don't have a screen.
355 2005-01-06 Jim Evins <evins@snaught.com>
357 * src/view.c: (get_home_scale):
358 Fixed bad call to gtk_widget_has_screen() -- huh?.
360 2005-01-06 Jim Evins <evins@snaught.com>
362 * data/dtd/glabels-2.0.dtd:
363 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
366 2005-01-06 Jim Evins <evins@snaught.com>
368 * data/glade/object-editor.glade:
369 Set entries for fill and data field key dropdowns to NOT editable.
370 * src/view-box.c: (construct_properties_editor):
371 * src/view-ellipse.c: (construct_properties_editor):
372 Update object editor when label's merge property has changed.
373 * src/xml-label.c: (xml_parse_object_ellipse):
374 Completed the merge color support for the ellipse item.
376 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
378 Add support to merge color for object that have a "Fill color" attribute (Feature
379 Requests item #1008635. If the data is invalid, the color used is transparent
380 (GL_COLOR_NONE). The format for color in merge data file are those accepted
381 by gdk_color_parse() these include name for a color from rgb.txt, such as
382 DarkSlateGray, or a hex specification such as #305050. File format has been
383 changed but backward compatibility is preserved for all format. For box/ellipse,
384 keep attribute "fill_color" for static color or replace by "fill_color_field"
387 * data/glade/object-editor.glade:
388 Modify "Fill" tab to add the merge key combo and convert the labels into
392 Add "glColorNode" structure and associated functions to manage it. This
393 structure is equivalent for color than the "glTextNode". It holds the color
395 * src/label-object.h:
396 * src/label-object.c:
398 * src/label-ellipse.c:
399 * src/ui-property-bar.c:
403 * src/view-ellipse.c:
404 * src/xml-label-04.c:
405 * src/xml-label-191.c:
406 Change functions of objects that have a "fill color" attribute to use the
407 new "glColorNode" structure. Use barcode code as example.
409 Add the color.[ch] file to glabels_batch binary that now need support for
411 * src/object-editor.h:
412 * src/object-editor.c:
413 * src/object-editor-fill-page.c:
414 Manage the new widget of the editor's "Fill" tab : key combo and radio button
415 to choose between static color or merge key. Use barcode code as example.
416 * src/object-editor-private.h:
417 Add new widget in the "_glObjectEditorPrivate" structure.
419 Modify the draw functions to get merge data if needed.
421 Modify the parser to record/retreive the field value for objects that need
422 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
423 color or "fill_color_field" for merge data.
425 2005-01-04 Jim Evins <evins@snaught.com>
428 * data/templates/avery-iso-templates.xml:
429 * data/templates/misc-iso-templates.xml:
430 * data/templates/misc-us-templates.xml:
431 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
434 2004-11-26 Jim Evins <evins@snaught.com>
438 Updated french translations provided by Florent Morel <florent@taket.org>.
439 * src/view-barcode.c:
441 * src/view-ellipse.c:
445 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
446 thus _() strings were not being translated.
448 2004-11-14 Jim Evins <evins@snaught.com>
451 * src/debug.c: (gl_debug_init), (gl_debug):
452 Borrowed from gedit: use environmental variables to select debug
455 Removed unused include of debug.h.
456 * src/glabels.c: (main):
457 Added call to gl_debug_init(), and removed debug clutter from command line
459 * src/glabels-batch.c: (main):
460 Added call to gl_debug_init().
462 2004-11-13 Jim Evins <evins@snaught.com>
464 Drawing and property toolbars were being initialized with the "icons and text"
465 look in Fedora Core 3. Even though none of the buttons had any text attached to
466 them, the buttons were being sized as if they were. This led to less real estate
467 for the property editor, leading to Bug #1064630. The
469 * data/ui/glabels-ui.xml:
470 Added explicit "look" property to both drawing and property toolbars.
471 * src/prefs-model.c: (gl_prefs_model_save_settings),
472 (gl_prefs_model_load_settings):
474 Removed drawing_toolbar_button_style configuration parameter.
475 * src/ui.c: (view_menu_item_toggled_cb),
476 (set_app_drawing_toolbar_style):
477 Do not attempt to adjust look property of the drawing toolbar.
479 2004-10-28 Jim Evins <evins@snaught.com>
481 * data/pixmaps/glabels-about-logo.png:
484 2004-10-28 Jim Evins <evins@snaught.com>
486 * data/man/glabels.1:
487 * src/glabels-batch.c: (main):
489 * src/print.c: (gl_print_batch):
491 Added option to glabels-batch to select the first label to begin
494 2004-09-26 Jim Evins <evins@snaught.com>
496 * data/desktop/glabels.desktop.in:
497 Point to app icon, "glabels.png"
498 * data/mime/glabels.keys.in:
499 Point at mime icon, "glabels-application-x-glabels.png"
500 * data/pixmaps/Makefile.am:
501 Added glabels_app_icondir. Renamed icons.
502 * data/pixmaps/glabels.png:
503 New cleaned up app icon. Deleted glabels-icon.png.
504 * data/pixmaps/glabels-application-x-glabels.png:
506 * data/pixmaps/glabels-splash.png:
507 Renamed glabels-logo to glabels-splash to be more correct about role.
509 * src/template-designer.c:
510 Point at app icon, "glabels.png"
512 Point at renamed splash image, "glabels-splash.png"
514 2004-08-22 Jim Evins <evins@snaught.com>
517 * src/glabels-batch.c: (main):
518 Applied patch with minor mods to allow selecting merge source and
519 crop-marks on glabels-batch's command line. Original patch provided by
520 José Dapena Paz <jdapena@igalia.com>.
522 2004-08-15 Jim Evins <evins@snaught.com>
524 * data/desktop/glabels.desktop.in:
525 - Added encoding line
526 - Removed period from comment
527 - Fixed Terminal line, changed "0" to "false"
528 - Added semicolen to Categories line
530 - Made sure desktop.in comment string above still translated properly
532 2004-08-14 Jim Evins <evins@snaught.com>
534 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
535 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
536 * src/xml-label-191.c: (xml191_parse_sheet):
537 Fixed improper freeing of gettext strings. Merged from 2.0.1.
539 Reconciled libglabels versioning with 2.0.1.
542 2004-08-14 Jim Evins <evins@snaught.com>
545 Updated version to 2.1cvs.
547 2004-08-14 Jim Evins <evins@snaught.com>
550 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
552 2004-08-14 Jim Evins <evins@snaught.com>
554 Fixes for Bug #1008181.
556 * src/bc.c: (gl_barcode_default_digits):
557 Make a format of zero digits, harmless.
558 * src/xml-label.c: (xml_parse_object_barcode):
559 Set default value of the format property of barcode objects to 10, not
560 zero. This will prevent crashes when reading pre 2.0.x files.
562 2004-08-09 Jim Evins <evins@snaught.com>
566 * help/C/glabels-C.omf:
567 * help/C/glabels.xml:
568 Brought documentation up-to-date for 2.0.0 release.
570 2004-08-09 Jim Evins <evins@snaught.com>
572 These are hopefully the final preparations for 2.0.0.
574 * data/mime/Makefile.am:
575 Include glabels.xml in EXTRA_DIST.
577 - Updated comment style.
578 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
579 - Added package and version info to configuration printout
580 - Update version to 2.0.0
581 * libglabels/Makefile.am:
582 Use the new LIBGLABELS_VERSION_INFO macro.
584 2004-08-09 Jim Evins <evins@snaught.com>
588 Cleanup of required library macros.
590 2004-08-08 Jim Evins <evins@snaught.com>
594 - More specific of what to install in /usr/bin and /usr/lib
595 - Remove built mime registration files from staging directory
597 2004-08-08 Jim Evins <evins@snaught.com>
599 * data/mime/Makefile.am:
600 Fixed typo: key_files should have been keys_files.
602 2004-08-08 Jim Evins <evins@snaught.com>
604 Reorganization of runtime data files. Also added registration of mimetype with
605 new freedesktop.org mime database if available.
608 Moved files to appropriate subdirectories, creating local Makefile.am
609 in each subdirectory.
610 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
611 These are now installed at $datadir/glabels/templates.
612 - Moved glabels.1 to man subdirectory.
613 - Moved glabels-2.0.dtd to dtd subdirectory.
614 - Moved glabels.desktop.in to desktop subdirectory.
615 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
617 Moved "./pixmaps" to "./data/pixmaps"
619 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
621 Moved libglade files from src to data/glade. Created Makefile.am.
623 Removed pixmaps from SUBDIRS.
625 - Removed pixmaps from makefiles.
626 - Added makefiles for new subdirs of data.
627 - Added tests for freedesktop.org mime database.
629 - Added tests for freedesktop.org mime database for post install and
630 post un-install actions.
631 * libglabels/Makefile.am:
632 Moved system template files to $(datadir)/glabels/templates.
633 * libglabels/libglabels-private.h:
634 Moved system template files to $(datadir)/glabels/templates.
636 - Accounted for movement of ui and libglade files.
637 - Added missing .in files.
638 - Reorganized by directory.
640 Accounted for movement of ui and libglade files.
641 * data/mime/glabels.xml.in:
642 New file for registering with freedesktop.org mime database.
644 2004-08-07 Jim Evins <evins@snaught.com>
646 * src/recent-files/*:
647 Re-synced to latest libegg/recent-files.
649 2004-08-07 Jim Evins <evins@snaught.com>
654 Renamed "./doc" directory to "./help" which contains user documentation,
655 to be more consistent with other GNOME applications.
658 2004-07-26 Jim Evins <evins@snaught.com>
660 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
661 Corrected button order of merge properties dialog.
663 2004-07-18 Jim Evins <evins@snaught.com>
665 * data/glabels-2.0.dtd:
666 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
667 (gl_barcode_get_prefered_n):
669 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
670 (gl_label_barcode_get_props), (get_size):
671 * src/label-barcode.h:
672 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
673 (style_changed_cb), (gl_object_editor_set_bc_style),
674 (gl_object_editor_get_bc_style):
675 * src/object-editor-data-page.c: (data_radio_toggled_cb),
676 (gl_object_editor_set_data), (gl_object_editor_get_data):
677 * src/object-editor-private.h:
678 * src/object-editor.c: (gl_object_editor_set_key_names):
679 * src/object-editor.glade:
680 * src/object-editor.h:
681 * src/print.c: (draw_barcode_object):
682 * src/view-barcode.c: (update_object_from_editor_cb),
683 (update_editor_from_object_cb),
684 (gl_view_barcode_create_event_handler), (draw_barcode):
685 * src/xml-label-04.c: (xml04_parse_barcode_props):
686 * src/xml-label-191.c: (xml191_parse_barcode_props):
687 * src/xml-label.c: (xml_parse_object_barcode),
688 (xml_create_object_barcode):
689 Added "format" attribute to barcode objects. This attribute is used
690 to properly format freeform barcodes barcodes prior to merge data is
691 applied, so that barcodes can be accurately layed out. This addresses
692 remaining issues of feature request #824787. Also added an example of
693 the format in the object editor.
695 2004-07-12 Jim Evins <evins@snaught.com>
697 Various code cleanups.
699 * src/label-barcode.c:
700 Removed unneeded include of gnome-glyphlist.h.
702 * src/label-text.c: (get_size):
703 Fixed memory leak: unref glyphlists when done with them.
705 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
706 * src/object-editor-data-page.c:
707 (gl_object_editor_prepare_data_page):
708 * src/object-editor-image-page.c:
709 (gl_object_editor_prepare_image_page):
710 * src/object-editor-line-page.c:
711 (gl_object_editor_prepare_line_page):
712 * src/object-editor-lsize-page.c:
713 (gl_object_editor_prepare_lsize_page):
714 * src/object-editor-position-page.c:
715 (gl_object_editor_prepare_position_page):
716 * src/object-editor-size-page.c:
717 (gl_object_editor_prepare_size_page):
718 * src/object-editor-text-page.c:
719 (gl_object_editor_prepare_text_page):
720 Removed unneeded size groups, originally intended to keep widgets aligned.
721 Now use tables to lay these out in object-editor.glade.
723 * src/print.c: (draw_text_object):
724 Fixed memory leak: unref glyphlists when done with them.
726 * src/view-barcode.c: (draw_barcode):
727 Fixed memory leak: unref glyphlists when done with them.
729 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
730 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
732 - Fixed memory leak: unref glyphlists when done with them.
734 2004-07-11 Jim Evins <evins@snaught.com>
736 * data/glabels-2.0.dtd:
737 * src/label-text.c: (gl_label_text_instance_init), (copy),
738 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
740 * src/object-editor-private.h:
741 * src/object-editor-text-page.c:
742 (gl_object_editor_prepare_text_page),
743 (gl_object_editor_set_text_auto_shrink),
744 (gl_object_editor_get_text_auto_shrink):
745 * src/object-editor.c: (gl_object_editor_set_key_names):
746 * src/object-editor.glade:
747 * src/object-editor.h:
748 * src/print.c: (draw_text_object):
749 * src/view-text.c: (update_object_from_editor_cb),
750 (update_editor_from_object_cb):
751 * src/xml-label.c: (xml_parse_object_text),
752 (xml_create_object_text):
753 Added option to allow document merge to auto shrink text size to fit
754 within the text box. The code in print.c that actually shrinks the
755 text is loosely based on a patch submitted by Mark Harrison
756 <mark.harrison@velocitynet.com.au>. This addresses feature request
759 2004-07-11 Jim Evins <evins@snaught.com>
761 * data/glabels-2.0.dtd:
762 * libglabels/template.c: (gl_template_rect_label_type_new),
763 (gl_template_round_label_type_new),
764 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
765 (template_full_page):
766 * libglabels/template.h:
767 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
768 (xml_create_label_node):
769 * pixmaps/ex-rect-size.png:
770 * src/print.c: (clip_to_outline), (clip_punchouts):
771 * src/template-designer.c: (construct_rect_size_page),
772 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
774 * src/template-designer.glade:
775 * src/xml-label-191.c: (xml191_parse_label):
776 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
777 properties for rectangular labels. Templates remain backwards compatible,
778 but this breaks the libglabels API (I don't know of anyone outside of
779 glabels using libglabels at this time -- what can I say, the program is
780 is still "unstable"). This addresses the suggestion in Feature Request
783 2004-07-05 Jim Evins <evins@snaught.com>
784 * src/print.c: (print_crop_marks), (draw_outline):
785 Changed crop marks and label outlines to black, instead of 25% gray.
786 This addresses debian Bug #257460.
788 2004-07-05 Jim Evins <evins@snaught.com>
790 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
791 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
792 Preserve "is_default" of fill and line color_combos when creating from
795 2004-07-02 Jim Evins <evins@snaught.com>
798 Created man page. Based on page submitted by Matthew J. Lockner, however
799 it has been severely edited.
801 * data/avery-other-templates.xml
802 * data/misc-other-templates.xml:
803 Started new files for predefined templates with non-standard sheet sizes.
804 These have been initially populated with the Avery 06141 and
805 OfficeMax #86112, both provided by Matthew J. Lockner.
808 Install above manpage and template files.
811 Make sure we install man pages.
813 * src/glabels-batch.c:
814 Changed short form of help option to '-?' to be consistent with glabels.
817 Added acknowledgement for above labels.
819 2004-07-02 Jim Evins <evins@snaught.com>
821 * src/glabels.c: (main), (save_session_cb):
822 - Now include libbonoboui.h, recent.h, and file.h to provide missing
824 - save_session_cb() now returns gboolean.
825 - Minor formatting changes.
829 - Now include file.h to provide missing prototype.
830 - gl_window_get_type() now returns GType, not guint. I believe this may
831 ultimately be cause of the segfault reported in Bug #982287, since
832 GType is actually a gulong, which may not be compatible on other
833 architectures (64bit) -- I cannot personally test this at this time.
834 I was sloppy in several other xxx_get_type() functions which also
835 returned guint -- see next group of files:
837 * src/window.c: (gl_window_get_type):
838 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
839 * src/canvas-hacktext.h:
840 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
841 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
842 (gl_hig_hbox_get_type):
844 * src/label-barcode.c: (gl_label_barcode_get_type):
845 * src/label-barcode.h:
846 * src/label-box.c: (gl_label_box_get_type):
848 * src/label-ellipse.c: (gl_label_ellipse_get_type):
849 * src/label-ellipse.h:
850 * src/label-image.c: (gl_label_image_get_type):
852 * src/label-line.c: (gl_label_line_get_type):
854 * src/label-object.c: (gl_label_object_get_type):
855 * src/label-object.h:
856 * src/label-text.c: (gl_label_text_get_type):
858 * src/label.c: (gl_label_get_type):
860 * src/merge-properties-dialog.c:
861 (gl_merge_properties_dialog_get_type):
862 * src/merge-properties-dialog.h:
863 * src/merge-text.c: (gl_merge_text_get_type):
865 * src/merge.c: (gl_merge_get_type):
867 * src/object-editor.c: (gl_object_editor_get_type):
868 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
869 * src/prefs-dialog.h:
870 * src/prefs-model.c: (gl_prefs_model_get_type):
872 * src/print-dialog.c: (gl_print_dialog_get_type):
873 * src/print-dialog.h:
874 * src/template-designer.c: (gl_template_designer_get_type):
875 * src/template-designer.h:
876 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
877 * src/ui-property-bar.h:
878 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
880 * src/view-barcode.c: (gl_view_barcode_get_type):
881 * src/view-barcode.h:
882 * src/view-box.c: (gl_view_box_get_type):
884 * src/view-ellipse.c: (gl_view_ellipse_get_type):
885 * src/view-ellipse.h:
886 * src/view-highlight.c: (gl_view_highlight_get_type):
887 * src/view-highlight.h:
888 * src/view-image.c: (gl_view_image_get_type):
890 * src/view-line.c: (gl_view_line_get_type):
892 * src/view-object.c: (gl_view_object_get_type):
894 * src/view-text.c: (gl_view_text_get_type):
896 * src/view.c: (gl_view_get_type):
898 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
899 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
900 * src/wdgt-image-select.h:
901 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
902 * src/wdgt-media-select.h:
903 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
904 * src/wdgt-mini-preview.h:
905 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
906 * src/wdgt-print-copies.h:
907 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
908 * src/wdgt-print-merge.h:
909 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
910 * src/wdgt-rotate-label.h:
911 - Made sure all xxx_get_type functions returned GType, not guint. This
912 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
913 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
914 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
915 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
916 window.[ch] details above for more info.
917 - Reconciled various coding style differences in all xxx_get_type()
919 * All prototypes include G_GNUC_CONST.
920 * All prototypes specify the return value as GType, not GtkType
922 * Info structures are all declared as "static const."
923 * Generalized the names of type and info variables.
924 * Miscelaneous formatting.
926 2004-06-08 Jim Evins <evins@snaught.com>
932 Don't touch compression of original file -- still defaults to 9 for
933 new files. Original patch provided by Javier Donaire Segarra
934 (#912252 in patch tracker).
936 2004-05-05 Jim Evins <evins@snaught.com>
938 * data/glabels-2.0.dtd:
939 Broke DTD previously when adding new barcode types that contain a
940 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
941 to avoid the problem.
942 * data/avery-iso-templates.xml:
943 * data/zweckform-iso-templates.xml:
945 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
946 provided by Frank Altpeter.
947 * libglabels/xml-template.c: (xml_create_label_node):
948 Reordered markup and layout sub-nodes so that resulting templates will
949 validate against DTD.
951 2004-03-13 Jim Evins <evins@snaught.com>
953 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
954 Changed spin callback signals from "value-changed" back to "changed."
955 This was accidentally introduced in a previous revision, and can cause
956 size changes just by selecting the size tab.
958 2004-03-06 Jim Evins <evins@snaught.com>
960 * src/view.c: (draw_grid_layer):
961 For round labels (round and cd) adjust grid so that it lines up with
962 center of label. Also, no longer draw box around label in the grid layer,
963 it is hidden by he fg layer anyway. Feature suggested by
964 nemolivier@free.fr. Although the grid is aligned with the center of the
965 label, the coordinate system is still relative to the upper left corner
966 of the rectangle containing the label.
968 2004-02-25 Jim Evins <evins@snaught.com>
971 Changed version to 2.0pre1cvs
973 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
974 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
975 instead of doc->name fields when errors encountered.
977 2004-02-21 Jim Evins <evins@snaught.com>
979 * data/avery-iso-templates.xml:
980 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
983 Added libglabels library and include file to installed files.
986 Final prep for 1.93.3.
988 2004-02-20 Jim Evins <evins@snaught.com>
990 * src/glabels-batch.c: (main):
991 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
992 as suggested by Javier Donaire Segarra. This addresses bug #901063.
994 2004-02-16 Jim Evins <evins@snaught.com>
997 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
1000 Added HAVE_FILE_CHOOSER to INCLUDES.
1002 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
1003 (gl_file_save_as), (save_as_response):
1004 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
1006 2004-02-16 Jim Evins <evins@snaught.com>
1008 * src/xml-label-04.c: (xml04_parse_image_props):
1009 * src/xml-label-191.c: (xml191_parse_image_props):
1010 * src/xml-label.c: (xml_parse_object_image):
1011 Delay setting image size until after image has been applied to new
1014 2004-02-15 Jim Evins <evins@snaught.com>
1016 * src/label-barcode.c: (gl_label_barcode_set_data),
1017 (gl_label_barcode_set_props):
1018 Don't emit "changed" signal, if no change actually made for these
1019 methods. Reduces number of unnecessary redraws of barcodes.
1021 * src/label-object.h:
1022 * src/label-object.c: (gl_label_object_set_position),
1023 (gl_label_object_set_position_relative), (set_size),
1024 (gl_label_object_set_size),
1025 (gl_label_object_set_size_honor_aspect):
1026 Don't emit "changed" signal, if no change actually made for these
1029 2004-02-15 Jim Evins <evins@snaught.com>
1031 * data/glabels-2.0.dtd:
1032 Added specific subtypes for various barcode types.
1035 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
1036 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
1037 (gl_barcode_can_text), (gl_barcode_text_optional),
1038 (gl_barcode_can_csum), (gl_barcode_csum_optional),
1039 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
1040 Changed API to use a string id, rather than a fixed enumeration. Id and
1041 name are separate strings. Added entries to backend table for specific
1042 subtypes for various barcode types.
1045 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
1047 Modified to conform to above API. Now more stringent with data length
1048 for various subtypes.
1050 * src/bc-gnubarcode.h:
1051 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
1052 (is_length_valid), (is_length1_valid), (is_length2_valid):
1053 Modified to conform to above API. Now more stringent with data length
1054 for various subtypes.
1056 * src/label-barcode.h:
1057 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1058 (gl_label_barcode_get_props), (get_size):
1059 Modified to use above API for storing barcode type.
1061 * src/object-editor.h:
1062 * src/object-editor-bc-page.c: (style_changed_cb),
1063 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
1064 Modified to use above API for storing barcode type.
1066 * src/object-editor-size-page.c:
1067 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
1068 (w_spin_cb), (h_spin_cb), (size_reset_cb):
1069 Added debug markers.
1071 * src/object-editor.glade:
1072 Made barcode style combo's text entry non-editable.
1074 * src/print.c: (draw_barcode_object):
1075 Modified to use above API for barcode type.
1077 * src/view-barcode.c: (update_object_from_editor_cb),
1078 (update_editor_from_object_cb),
1079 (gl_view_barcode_create_event_handler), (draw_barcode):
1080 Modified to use above API for barcode type.
1082 * src/xml-label-04.c: (xml04_parse_barcode_props):
1083 * src/xml-label-191.c: (xml191_parse_barcode_props):
1084 * src/xml-label.c: (xml_parse_object_barcode),
1085 (xml_create_object_barcode):
1086 Modified to use above API for barcode type.
1088 2004-02-07 Jim Evins <evins@snaught.com>
1090 * src/stock-pixmaps/Makefile.am:
1091 * src/stock-pixmaps/stock_hchain_24.png:
1092 * src/stock-pixmaps/stock_hchain_broken_24.png:
1093 * src/stock-pixmaps/stock_vchain_24.png:
1094 * src/stock-pixmaps/stock_vchain_broken_24.png:
1095 Added chain pixmaps borrowed from the gimp's default theme.
1098 * src/stock.c: (gl_stock_init), (add_button_icon):
1099 Added above pixmaps to stock icon sets. Created add_button_icon() to
1100 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
1102 * src/wdgt-chain-button.h
1103 * src/wdgt-chain-button.c
1106 Added this Modified version of gimpchainbutton widget, borrowed from
1110 Added acknowledgements of the above borrowing from the gimp.
1112 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
1114 * src/object-editor.c: (gl_object_editor_construct_chain_button):
1115 * src/object-editor.glade:
1116 Replaced the keep aspect ratio check box with the above chain-button
1119 * src/text-node.c: (gl_text_node_equal):
1121 Added function gl_text_node_equal() to compare text_nodes.
1123 * src/label-image.c: (gl_label_image_set_filename):
1124 Replaced incomplete text_node comparison code with invocation of
1125 gl_text_node_equal. This fixed the problem of not being able to
1126 resize an image using the object_editor if the aspect ratio is not
1129 2004-02-04 Jim Evins <evins@snaught.com>
1131 * src/object-editor-image-page.c:
1132 (gl_object_editor_prepare_image_page):
1133 Track "changed" signal of pixmap entry's GtkEntry rather than its
1134 "activate" signal -- this catches all changes to the entry rather than
1135 just changes resulting from a browse, so one can easily pull previous
1136 entries from the history. (This change is marked below on 2004-02-03,
1137 but somehow never got checked in.)
1139 * src/view-highlight.c: (sl_resize_event_handler),
1140 (sr_resize_event_handler), (st_resize_event_handler),
1141 (sb_resize_event_handler):
1142 Side resize handles will now confirm the actual resize that the object
1143 accepted before adjusting position parameters. Previously some interesting
1144 things happened when resizing a barcode to its minimum size.
1146 2004-02-03 Jim Evins <evins@snaught.com>
1148 * src/object-editor-image-page.c:
1149 (gl_object_editor_prepare_image_page):
1150 Track "changed" signal of pixmap entry's GtkEntry rather than its
1151 "activate" signal -- this catches all changes to the entry rather than
1152 just changes resulting from a browse, so one can easily pull previous
1153 entries from the history.
1155 * src/view-highlight.c: (tl_resize_event_handler),
1156 (tr_resize_event_handler), (bl_resize_event_handler),
1157 (br_resize_event_handler):
1158 Allow control key to be dropped while dragging a corner resize handle
1159 without losing the aspect ratio lock.
1161 2004-02-02 Jim Evins <evins@snaught.com>
1163 * src/label-image.c: (gl_label_image_set_filename):
1164 When setting a new filename adjust size such that the aspect ratio of
1165 the image is preserved using the current size as a bounding box.
1167 * src/view-image.c: (update_object_from_editor_cb):
1168 When updating object from editor, feed back possible size changes to
1169 editor as a result of a possible change in image.
1171 * src/object-editor-size-page.c: (size_reset_cb):
1172 Fixed typo when blocking spin handlers. If the base size is larger than
1173 the max size, treat max size as a bounding box while keeping aspect
1177 2004-02-02 Jim Evins <evins@snaught.com>
1179 * src/label-object.h:
1180 * src/label-object.c: (gl_label_object_set_size),
1181 (gl_label_object_set_size_honor_aspect):
1182 Added gl_label_object_set_size_honor_aspect() which will maintain the
1183 current aspect ratio by modifying the supplied w or h apropriately.
1185 * src/view-highlight.c: (tl_resize_event_handler),
1186 (tr_resize_event_handler), (bl_resize_event_handler),
1187 (br_resize_event_handler):
1188 Corner handles will now maintain the current aspect ratio if the
1189 control key is pressed while resizing. This addresses feature
1193 2004-01-31 Jim Evins <evins@snaught.com>
1196 * data/avery-us-templates.xml:
1197 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
1199 * libglabels/template.c: (read_template_files_from_dir):
1200 Corrected problem with testing for extensions.
1202 * src/object-editor.glade:
1203 Corrected grouping of radio buttons in barcode data page.
1205 * src/print.c: (draw_barcode_object):
1206 * src/view-barcode.c: (draw_barcode):
1207 Corrected problem with calculation of y_offset for locating characters.
1209 2004-01-24 Jim Evins <evins@snaught.com>
1212 * data/avery-us-templates.xml:
1213 Added Avery 5824, submitted by Fred Bacon.
1215 2004-01-20 Jim Evins <evins@snaught.com>
1217 Catching up on a couple of backlogged user template submissions.
1219 * data/avery-iso-templates.xml:
1220 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
1221 Suggested by Linas Jakucionis.
1223 * data/zweckform-iso-templates.xml:
1224 Added Zweckform 4760, submitted by Thomas Vill.
1227 Updated to reflect above submissions.
1229 2004-01-06 Jim Evins <evins@snaught.com>
1231 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
1232 xml.[ch] into a separate library called libglabels, to facilitate third
1233 party use of glabels template files. This was suggested by Wayne Schuller.
1234 Once split-out, some modifications to the structures and functions to
1235 make a cleaner more useful API, hopefully. Rather extensive changes have
1236 propogated to other modules.
1244 * src/xml-template.h:
1245 * src/xml-template.c:
1248 These files have been moved to libglabels/. API cleanup performed.
1250 * libglabels/libglabels.h:
1251 * libglabels/libglabels-private.h:
1252 * libglabels/Makefile.am:
1253 These files have been added to finish out libglabels.
1260 Modified to reflect new sets of files in src/ and libglabels/.
1262 * COPYING.LIBGLABELS:
1264 Added copy of the LGPL for libglabels, and a copy the GFDL for
1267 * src/glabels-batch.c:
1269 * src/label.c: (gl_label_finalize), (gl_label_set_template),
1270 (gl_label_get_size):
1272 * src/prefs-model.c: (gl_prefs_model_load_settings):
1273 * src/print-dialog.c:
1274 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
1275 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
1276 (print_crop_marks), (print_label), (draw_outline),
1277 (clip_to_outline), (clip_punchouts):
1278 * src/template-designer.c: (construct_pg_size_page),
1279 (pg_size_page_changed_cb), (layout_page_changed_cb),
1280 (print_test_cb), (build_template):
1281 * src/util.c: (gl_util_fraction):
1283 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
1284 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1285 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1286 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1287 (draw_markup_margin_round), (draw_markup_margin_cd),
1288 (draw_markup_margin_cd_bc), (draw_markup_line),
1289 (draw_markup_circle), (gl_view_copy):
1290 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1291 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
1292 (get_label_size_desc):
1293 * src/wdgt-mini-preview.c:
1294 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
1296 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
1297 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
1298 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
1299 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
1300 * src/wdgt-rotate-label.h:
1301 * src/xml-label-04.c: (xml04_parse_media_description):
1302 * src/xml-label-191.c: (gl_xml_label_191_parse),
1303 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1304 (xml191_parse_markup), (xml191_parse_alias):
1305 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
1307 Various changes to accomodate new libglabels API.
1309 2004-01-03 Jim Evins <evins@snaught.com>
1314 2004-01-03 Jim Evins <evins@snaught.com>
1317 Added acknowledgement of contributions by Wayne Schuller.
1319 * src/commands.c: (gl_cmd_file_print):
1320 Create extra reference to print dialog, so that it can be properly re-used.
1322 * src/mygal/mygal-combo-box.h:
1323 * src/mygal/mygal-combo-box.c:
1324 (mygal_combo_box_popup_hide_unconditional),
1325 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
1326 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
1327 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
1328 (mygal_combo_box_set_tearable):
1329 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
1330 complete the rename of this widget to prevent namespace collisions
1333 * src/prefs-dialog.glade:
1334 Fixed alignment of Fill/Color widgets.
1336 2004-01-03 Jim Evins <evins@snaught.com>
1338 * data/avery-iso-templates.xml:
1339 Added user submitted templates.
1340 Avery 8435A & 8435B, submitted by Ludger Solbach.
1342 * doc/C/glabels.xml:
1343 Added minimal documentation, noting the new template designer.
1345 2004-01-03 Jim Evins <evins@snaught.com>
1347 * pixmaps/ex-rect-size.png:
1348 * pixmaps/ex-round-size.png:
1349 * pixmaps/ex-cd-size.png:
1350 * pixmaps/Makefile.am:
1351 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
1352 files to be used as illustrations/examples in the template-designer.
1354 * src/template-designer.c: (construct_rect_size_page),
1355 (construct_round_size_page), (construct_cd_size_page),
1356 (construct_nlayouts_page), (rect_size_page_prepare_cb),
1357 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
1358 (layout_page_prepare_cb), (build_template):
1359 * src/template-designer.glade:
1360 Added illustrations for rectangle, round, and cd label size pages.
1361 Added margin spinboxes to these pages, and now add a margin markup
1362 to the constructed template. Added realistic default values for
1363 some of the size spinboxes. Cleaned up the code for setting spinbox
1364 ranges on the layouts page.
1366 2004-01-02 Jim Evins <evins@snaught.com>
1368 * src/object-editor-size-page.c: (h_spin_cb):
1369 Fixed cut-n-paste error in h_spin_cb that loaded h from
1370 the wrong spinbutton.
1372 * src/object-editor.h:
1373 * src/object-editor.c: (gl_object_editor_class_init),
1374 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
1375 * src/object-editor-private.h:
1376 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
1378 Added "size_changed" signal.
1380 * src/view-text.c: (construct_properties_editor),
1381 (update_object_from_editor_cb),
1382 (update_object_from_editor_size_cb):
1383 Track size changes from object editor separately from other
1384 properties. This is so the default size (0,0) of a text
1385 object is not modified unintentionally.
1387 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
1389 Added feature: line spacing - allows you to comfortably space a text box to
1390 fit a label perfectly.
1392 * data/glabels-2.0.dtd:
1393 * src/label-object.c: (gl_label_object_set_text_line_spacing),
1394 (gl_label_object_get_text_alignment),
1395 (gl_label_object_get_text_line_spacing):
1396 * src/label-object.h:
1397 * src/label-text.c: (gl_label_text_class_init),
1398 (gl_label_text_instance_init), (copy), (get_size),
1399 (set_text_line_spacing), (get_text_alignment),
1400 (get_text_line_spacing):
1401 * src/object-editor-private.h:
1402 * src/object-editor-text-page.c:
1403 (gl_object_editor_prepare_text_page),
1404 (gl_object_editor_set_text_line_spacing),
1405 (gl_object_editor_get_text_line_spacing):
1406 * src/object-editor.glade:
1407 * src/object-editor.h:
1408 * src/prefs-dialog.c: (construct_object_page),
1409 (update_object_page_from_prefs), (update_prefs_from_object_page):
1410 * src/prefs-dialog.glade:
1411 * src/prefs-model.c: (gl_prefs_model_save_settings),
1412 (gl_prefs_model_load_settings), (get_float):
1413 * src/prefs-model.h:
1414 * src/print.c: (draw_text_object):
1416 * src/view-text.c: (update_object_from_editor_cb),
1417 (update_editor_from_object_cb),
1418 (gl_view_text_create_event_handler), (draw_hacktext):
1419 * src/view.c: (gl_view_construct),
1420 (gl_view_set_selection_text_line_spacing),
1421 (gl_view_set_default_text_line_spacing),
1422 (gl_view_get_default_text_line_spacing):
1424 * src/xml-label.c: (xml_parse_toplevel_span),
1425 (xml_create_toplevel_span):
1427 2003-12-30 Jim Evins <evins@snaught.com>
1429 * src/template-designer.c:
1430 * src/template-designer.h:
1431 * src/template-designer.glade:
1432 New template designer assistant.
1436 Added entries for src/template-designer.* files.
1438 * pixmaps/ex-1layout.png
1439 * pixmaps/ex-2layouts.png
1440 * pixmaps/Makefile.am:
1441 Added the new image files ex-*.png used as illustrations in the
1442 template designer assistant.
1444 * src/print-dialog.h:
1445 * src/print-dialog.c: (gl_print_dialog_finalize),
1446 (gl_print_dialog_new), (gl_print_dialog_construct),
1447 (gl_print_dialog_force_outline_flag):
1448 Changed first argument of gl_print_dialog_new() from glView to glLabel,
1449 to support printing from the template designer assistant which does not
1450 have a full-fledged view. Nothing else from the view object was being
1451 used by the dialog anyway.
1453 Added the gl_print_dialog_force_outline_flag() method, for better
1454 integration with the template designer assistant.
1458 * src/commands.c: (gl_cmd_file_template_designer),
1459 (gl_cmd_file_print):
1460 Modified print command to provide label instead of view to dialog.
1461 Added the gl_cmd_file_template_designer() command to invoke the
1462 template designer assistant.
1465 * src/glabels-ui.xml:
1466 Added support for template designer assistant.
1468 * src/wdgt-mini-preview.h:
1469 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
1470 (gl_wdgt_mini_preview_set_bg_color):
1471 Preview is now centered in canvas. Added
1472 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
1473 assistant to match the background color with its own.
1475 * src/print.c: (clip_to_outline):
1476 Fixed really stupid bug when adding waste to clip region of rectangular
1477 labels/cards. Each side of the clip region needs to be extended by
1478 twice the waste margin, as well as negatively offset by the waste
1481 2003-12-28 Jim Evins <evins@snaught.com>
1483 * src/prefs-dialog.c: (update_object_page_from_prefs):
1484 Block intermediary function align_toggle_cb() instead of
1485 update_prefs_from_object_page() for the three alignment
1488 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
1490 * src/file.c: (gl_file_new), (gl_file_properties):
1491 Swap button order and set default for higificatory pleasure.
1493 2003-12-27 Jim Evins <evins@snaught.com>
1495 * barcode-0.98/Makefile.am:
1496 One last time: removed doc/Makefile and po/Makefile.in.in from
1499 2003-12-27 Jim Evins <evins@snaught.com>
1501 * barcode-0.98/Makefile.am:
1502 Removed config.stat entry from EXTRA_DIST files.
1504 * barcode-0.98/Makefile.in:
1507 2003-12-27 Jim Evins <evins@snaught.com>
1510 Updated to work with latest gnome-common package from CVS.
1511 Removed recursive configuration of barcode-0.98.
1518 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
1520 * barcode-0.98/Makefile.in:
1521 * barcode-0.98/configure.in:
1522 * barcode-0.98/Makefile.am:
1523 * barcode-0.98/README.glabels:
1524 Modified to ignore the barcode package's build system, and build
1525 as a part of glabels.
1526 Renamed Makefile.in to Makefile.in.dist.
1527 Renamed configure.in to configure.in.dist.
1528 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
1531 * src/mygal/Makefile.am:
1532 * src/recent-files/Makefile.am:
1533 In order to build against the GNOME 2.5 platform,
1534 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
1536 * src/mygal/Makefile.am:
1537 * src/mygal/mygal-combo-box.c:
1538 * src/mygal/mygal-combo-box.h:
1539 * src/mygal/widget-color-combo.c:
1540 * src/mygal/widget-color-combo.h:
1542 In order to build against the GNOME 2.5 platform,
1543 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
1544 collisions with the real gtk_combo_box widget, now a part of gtk.
1546 2003-12-26 Jim Evins <evins@snaught.com>
1552 Moved local versions of get_home_data_dir() in paper.c and
1553 template.c to util package. Cleaned up formatting in
1557 In gl_template_register() save a copy of the template in
1558 ~/.glabels if the template is not known. Still need to
1559 handle duplicate filename case and duplicate name but
1560 different template case.
1564 Moved local definition of NAME_SPACE macro from xml-label.c
1567 * src/xml-template.c:
1568 * src/xml-template.h:
1569 Added function gl_xml_template_write_template_to_file(), used
1570 in gl_template_register().