1 2005-04-10 Jim Evins <evins@snaught.com>
3 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
4 * libglabels/xml-template.c: (gl_xml_template_parse_template_node),
5 (xml_parse_label_rectangle_node), (xml_parse_label_round_node),
6 (xml_parse_label_cd_node), (xml_parse_alias_node):
7 * libglabels/xml.c: (gl_xml_get_prop_double),
8 (gl_xml_get_prop_boolean), (gl_xml_get_prop_int),
9 (gl_xml_get_prop_uint), (gl_xml_get_prop_length):
10 * src/xml-label-04.c: (xml04_parse_media_description),
11 (xml04_parse_text_props), (xml04_parse_barcode_props),
12 (xml04_parse_merge_properties):
13 * src/xml-label-191.c: (xml191_parse_object),
14 (xml191_parse_text_props), (xml191_parse_barcode_props),
15 (xml191_parse_merge_fields), (xml191_parse_pixdata),
16 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_markup),
18 * src/xml-label.c: (xml_parse_object_text),
19 (xml_parse_object_barcode), (xml_parse_merge_fields),
20 (xml_parse_pixdata), (xml_parse_toplevel_span):
21 Make sure to use xmlFree for anything obtained from libxml
22 in case libxml and glib use different memory management
25 2005-04-08 Jim Evins <evins@snaught.com>
28 * src/util.c: (gl_util_combo_box_set_strings), (search_text_func),
29 (gl_util_combo_box_set_active_text):
30 Added utility functions to simplify working with GtkComboBox
32 * src/ui-property-bar.h:
33 * src/ui-property-bar.c: (gl_ui_property_bar_construct),
34 (reset_to_default_properties), (update_text_properties),
35 (font_family_changed_cb):
36 Replaced deprecated GtkCombo with GtkComboBox.
39 2005-04-03 Jim Evins <evins@snaught.com>
42 * src/wdgt-image-select.h:
43 * src/wdgt-image-select.c:
44 Removed obsolete wdgt-image-select.[ch] files.
45 * libglabels/paper.c: (gl_paper_dup):
46 Fixed rename of parameter introduced during documentation
48 * data/glade/object-editor.glade:
49 * src/object-editor-image-page.c:
50 (gl_object_editor_prepare_image_page), (img_radio_toggled_cb),
51 (gl_object_editor_set_image), (gl_object_editor_get_image),
52 (update_preview_cb), (add_image_filters_to_chooser):
53 * src/object-editor-private.h:
54 Replaced deprecated GnomePixmapEntry with
57 2005-04-02 Jim Evins <evins@snaught.com>
59 * src/mygal/mygal-combo-box.c: (deactivate_arrow),
60 (mygal_combo_box_popup_hide_unconditional),
61 (mygal_combo_box_popup_hide), (mygal_combo_box_popup_display),
62 (mygal_combo_toggle_pressed), (mygal_combo_box_init),
63 (mygal_combo_popup_tear_off), (mygal_combo_set_tearoff_state),
64 (mygal_combo_tearoff_bg_copy), (mygal_combo_popup_reparent),
65 (cb_tearable_button_release), (mygal_combo_box_set_tearable):
66 Renamed all internal gtk_combo functions to mygal_combo
67 to prevent namespace confusion.
69 2005-04-02 Jim Evins <evins@snaught.com>
71 * src/mygal/color-palette.c: (color_palette_change_custom_color),
72 (cust_color_set), (color_palette_setup):
73 * src/mygal/color-palette.h:
74 Replaced deprecated GnomeColorPicker with GtkColorButton.
76 2005-04-02 Jim Evins <evins@snaught.com>
78 * docs/libglabels/libglabels-sections.txt:
79 * docs/libglabels/libglabels-undocumented.txt:
80 * docs/libglabels/tmpl/enums.sgml:
81 * docs/libglabels/tmpl/paper.sgml:
82 * docs/libglabels/tmpl/xml-paper.sgml:
83 * docs/libglabels/tmpl/xml-template.sgml:
85 * libglabels/paper.c: (gl_paper_dup):
87 * libglabels/xml-paper.c:
88 * libglabels/xml-template.c:
89 More documentation updates for libglabels.
91 2005-03-23 Jim Evins <evins@snaught.com>
94 Automatically updated.
99 * docs/libglabels/Makefile.am:
100 * docs/libglabels/libglabels-docs.sgml:
101 * docs/libglabels/libglabels-sections.txt:
102 * docs/libglabels/libglabels-undocumented.txt:
103 * docs/libglabels/tmpl/enums.sgml:
104 * docs/libglabels/tmpl/libglabels-unused.sgml:
105 * docs/libglabels/tmpl/libglabels.sgml:
106 * docs/libglabels/tmpl/paper.sgml:
107 * docs/libglabels/tmpl/template.sgml:
108 * docs/libglabels/tmpl/xml-paper.sgml:
109 * docs/libglabels/tmpl/xml-template.sgml:
110 * docs/libglabels/tmpl/xml.sgml:
111 Added basic gtk-doc stuff to support documenting libglabels
114 Updated function comments with gtk-doc markup.
118 2005-03-22 Jim Evins <evins@snaught.com>
120 Since the development version now requires gtk-2.6/gnome-2.10, I
121 have made a first pass at removing deprecations.
124 * libglabels/Makefile.am:
126 Added configure option to turn on X_DISABLE_DEPRECATED flags.
127 Also removed all remnants of HAVE_FILECHOOSER.
128 * src/file.c: (gl_file_open_real):
129 Removed code for old GtkFileSelection.
130 * libglabels/libglabels-private.h:
131 * libglabels/paper.c:
132 * libglabels/template.c:
133 * libglabels/xml-paper.c:
134 * libglabels/xml-template.c:
138 * src/glabels-batch.c:
142 * src/merge-properties-dialog.c:
144 * src/object-editor.c:
145 * src/prefs-dialog.c:
147 * src/print-dialog.c:
150 * src/template-designer.c:
151 * src/ui-property-bar.c:
153 * src/view-barcode.c:
155 * src/view-ellipse.c:
160 * src/wdgt-image-select.c:
161 * src/wdgt-media-select.c:
162 * src/wdgt-print-copies.c:
163 * src/wdgt-print-merge.c:
164 * src/wdgt-rotate-label.c:
166 * src/xml-label-04.c:
167 * src/xml-label-191.c:
169 Added '#include <glib/gi18n.h>" where needed.
170 Removed any unused '#include <gnome.h>"s.
172 2005-03-22 Jim Evins <evins@snaught.com>
174 * src/commands.c: (activate_url), (gl_cmd_help_about):
175 Replaced GnomeAbout with GtkAboutDialog. Therefore the
176 development version of glabels now depends on GTK 2.6 and
179 Updated library dependencies.
181 2005-02-28 Jim Evins <evins@snaught.com>
184 * data/templates/misc-iso-templates.xml:
185 Added 'Ednet 45021' template provided by Ali Akcaagac
188 2005-02-14 Jim Evins <evins@snaught.com>
190 * data/templates/avery-us-templates.xml:
191 Updated templates to use inches instead of points.
192 * src/print-dialog.c: (printer_page_new):
193 Changed packing style when adding printer selector widget. This fixes
196 2005-02-13 Jim Evins <evins@snaught.com>
200 Updated spanish translations. (sergio rivadero)
202 2005-02-05 Jim Evins <evins@snaught.com>
204 Some cleanup to libglabels.
207 Updated version to 2.1.1cvs. Added generation of libglabels.pc.
208 * libglabels/libglabels.pc.in
211 Created. Currently only contains glUnitsType which provides enumerations
212 for all possible units of distance.
213 * libglabels/Makefile.am:
214 Incorporated new files enums.h and libglabels.pc[.in].
215 * libglabels/libglabels.h:
217 * libglabels/template.h:
218 * libglabels/template.c: (gl_template_layout_new):
219 Changed parameters nx and ny to gint from gdouble.
221 * libglabels/xml.c: (gl_xml_get_prop_length),
222 (gl_xml_set_prop_length), (gl_xml_set_default_units):
223 Added support for different output units.
224 * src/prefs-dialog.c: (update_locale_page_from_prefs),
225 (update_prefs_from_locale_page):
226 * src/prefs-model.c: (string_to_units), (units_to_string):
228 * src/prefs.c: (gl_prefs_get_units_per_point),
229 (gl_prefs_get_units_precision), (gl_prefs_get_units_step_size),
230 (gl_prefs_get_units_string):
232 * src/wdgt-media-select.c: (details_update), (get_label_size_desc):
233 Reconciled all length enumerations with the new enumerations provided
234 in libglabels/enums.h.
236 2005-02-03 Jim Evins <evins@snaught.com>
239 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
241 Updated Italian translations. (Daniele Medri)
243 Updated credits to reflect above translations.
246 2005-01-22 Jim Evins <evins@snaught.com>
251 Added MESSAGE-OF-DOOM to EXTRA_DIST.
253 Final prep for 2.1.0.
255 Set version to 2.1.0. Output MESSAGE-OF-DOOM.
257 Added '--remove-original' flag to desktop-file-install, so that there is
260 2005-01-20 Jim Evins <evins@snaught.com>
262 * data/glade/object-editor.glade:
263 - Font family entry should not be editable.
264 - img_key_entry should have sensitivity=YES, so that it follows the
265 sensitivity of img_key_combo.
267 2005-01-19 Jim Evins <evins@snaught.com>
270 Give credit to Frederic Ruaudel for the color merge patches.
272 2005-01-18 Frederic Ruaudel <grumz@users.sf.net>
274 Add support to merge color for all other color attribute (Feature
275 Requests item #1008635. If the data is invalid, the color used is transparent
276 (GL_COLOR_NONE). The format for color in merge data file are those accepted
277 by gdk_color_parse() these include name for a color from rgb.txt, such as
278 DarkSlateGray, or a hex specification such as #305050. File format has been
279 changed but backward compatibility is preserved for all format. For
280 box/ellipse/line, keep attribute "line_color" for static color or replace by
281 "line_color_field" for merge data. For text/barcode objects, keep attribute
282 "color" for static color or replace by "color_field" for merge data. In the
283 edit canvas window, merged color are represented by half-transparent black
286 * data/dtd/glabels-2.0.dtd:
287 Added line_color_field to line_attrs. Added color_field to
288 Object-barcode and Span.
289 * data/glade/object-editor.glade:
290 Modify the layout of the editor to add merge possibility to color options
292 Fix a copy/paste error in a comment
294 Add default color for merge color representation in the editor canvas.
295 * src/label-barcode.c:
296 * src/object-editor-bc-page.c:
297 * src/view-barcode.c:
298 Add merge color support for barcode color.
301 Add merge color support for box border color.
302 * src/label-ellipse.c:
303 * src/view-ellipse.c:
304 Add merge color support for ellipse border color.
307 Add merge color support for line color.
308 * src/label-object.c:
309 * src/label-object.h:
310 * src/object-editor.c:
311 * src/object-editor.h:
312 * src/ui-property-bar.c:
315 * src/xml-label-04.c:
316 * src/xml-label-191.c:
317 Add support for merging to other color attribute.
319 * src/object-editor-text-page.c:
321 Add merge color support for text color.
322 * src/object-editor-fill-page.c:
323 Change a blocked handler that didn't match the good widget. Fix the type
324 of some debug message.
325 * src/object-editor-line-page.c:
326 Add merging support to line color option.
327 * src/object-editor-private.h:
328 Add variables for new widget.
330 Modify the draw functions to get merge data if needed.
332 Change the default size of the window in order to see all widget in the
333 "text style tab" of the editor.
335 Modify the parser to record/retreive the field value for objects that need
336 "color" attribute. For box/ellipse/line, keep attribute "line_color" for
337 static color or replace by "line_color_field" for merge data. For
338 text/barcode objects, keep attribute "color" for static color or replace
339 by "color_field" for merge data.
341 2005-01-17 Jim Evins <evins@snaught.com>
343 * src/view.c: (screen_changed_cb):
344 Don't do anything if we don't have a screen.
346 2005-01-06 Jim Evins <evins@snaught.com>
348 * src/view.c: (get_home_scale):
349 Fixed bad call to gtk_widget_has_screen() -- huh?.
351 2005-01-06 Jim Evins <evins@snaught.com>
353 * data/dtd/glabels-2.0.dtd:
354 Added fill_color_field to fill_attrs. Also added xmlns attribute to all
357 2005-01-06 Jim Evins <evins@snaught.com>
359 * data/glade/object-editor.glade:
360 Set entries for fill and data field key dropdowns to NOT editable.
361 * src/view-box.c: (construct_properties_editor):
362 * src/view-ellipse.c: (construct_properties_editor):
363 Update object editor when label's merge property has changed.
364 * src/xml-label.c: (xml_parse_object_ellipse):
365 Completed the merge color support for the ellipse item.
367 2005-01-06 Frederic Ruaudel <grumz@users.sf.net>
369 Add support to merge color for object that have a "Fill color" attribute (Feature
370 Requests item #1008635. If the data is invalid, the color used is transparent
371 (GL_COLOR_NONE). The format for color in merge data file are those accepted
372 by gdk_color_parse() these include name for a color from rgb.txt, such as
373 DarkSlateGray, or a hex specification such as #305050. File format has been
374 changed but backward compatibility is preserved for all format. For box/ellipse,
375 keep attribute "fill_color" for static color or replace by "fill_color_field"
378 * data/glade/object-editor.glade:
379 Modify "Fill" tab to add the merge key combo and convert the labels into
383 Add "glColorNode" structure and associated functions to manage it. This
384 structure is equivalent for color than the "glTextNode". It holds the color
386 * src/label-object.h:
387 * src/label-object.c:
389 * src/label-ellipse.c:
390 * src/ui-property-bar.c:
394 * src/view-ellipse.c:
395 * src/xml-label-04.c:
396 * src/xml-label-191.c:
397 Change functions of objects that have a "fill color" attribute to use the
398 new "glColorNode" structure. Use barcode code as example.
400 Add the color.[ch] file to glabels_batch binary that now need support for
402 * src/object-editor.h:
403 * src/object-editor.c:
404 * src/object-editor-fill-page.c:
405 Manage the new widget of the editor's "Fill" tab : key combo and radio button
406 to choose between static color or merge key. Use barcode code as example.
407 * src/object-editor-private.h:
408 Add new widget in the "_glObjectEditorPrivate" structure.
410 Modify the draw functions to get merge data if needed.
412 Modify the parser to record/retreive the field value for objects that need
413 "Fill color" attribute. For box/ellipse, put attribute "fill_color" for static
414 color or "fill_color_field" for merge data.
416 2005-01-04 Jim Evins <evins@snaught.com>
419 * data/templates/avery-iso-templates.xml:
420 * data/templates/misc-iso-templates.xml:
421 * data/templates/misc-us-templates.xml:
422 Added templates, submitted by Larry Harriman, Juan Carlos Valero, and
425 2004-11-26 Jim Evins <evins@snaught.com>
429 Updated french translations provided by Florent Morel <florent@taket.org>.
430 * src/view-barcode.c:
432 * src/view-ellipse.c:
436 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
437 thus _() strings were not being translated.
439 2004-11-14 Jim Evins <evins@snaught.com>
442 * src/debug.c: (gl_debug_init), (gl_debug):
443 Borrowed from gedit: use environmental variables to select debug
446 Removed unused include of debug.h.
447 * src/glabels.c: (main):
448 Added call to gl_debug_init(), and removed debug clutter from command line
450 * src/glabels-batch.c: (main):
451 Added call to gl_debug_init().
453 2004-11-13 Jim Evins <evins@snaught.com>
455 Drawing and property toolbars were being initialized with the "icons and text"
456 look in Fedora Core 3. Even though none of the buttons had any text attached to
457 them, the buttons were being sized as if they were. This led to less real estate
458 for the property editor, leading to Bug #1064630. The
460 * data/ui/glabels-ui.xml:
461 Added explicit "look" property to both drawing and property toolbars.
462 * src/prefs-model.c: (gl_prefs_model_save_settings),
463 (gl_prefs_model_load_settings):
465 Removed drawing_toolbar_button_style configuration parameter.
466 * src/ui.c: (view_menu_item_toggled_cb),
467 (set_app_drawing_toolbar_style):
468 Do not attempt to adjust look property of the drawing toolbar.
470 2004-10-28 Jim Evins <evins@snaught.com>
472 * data/pixmaps/glabels-about-logo.png:
475 2004-10-28 Jim Evins <evins@snaught.com>
477 * data/man/glabels.1:
478 * src/glabels-batch.c: (main):
480 * src/print.c: (gl_print_batch):
482 Added option to glabels-batch to select the first label to begin
485 2004-09-26 Jim Evins <evins@snaught.com>
487 * data/desktop/glabels.desktop.in:
488 Point to app icon, "glabels.png"
489 * data/mime/glabels.keys.in:
490 Point at mime icon, "glabels-application-x-glabels.png"
491 * data/pixmaps/Makefile.am:
492 Added glabels_app_icondir. Renamed icons.
493 * data/pixmaps/glabels.png:
494 New cleaned up app icon. Deleted glabels-icon.png.
495 * data/pixmaps/glabels-application-x-glabels.png:
497 * data/pixmaps/glabels-splash.png:
498 Renamed glabels-logo to glabels-splash to be more correct about role.
500 * src/template-designer.c:
501 Point at app icon, "glabels.png"
503 Point at renamed splash image, "glabels-splash.png"
505 2004-08-22 Jim Evins <evins@snaught.com>
508 * src/glabels-batch.c: (main):
509 Applied patch with minor mods to allow selecting merge source and
510 crop-marks on glabels-batch's command line. Original patch provided by
511 José Dapena Paz <jdapena@igalia.com>.
513 2004-08-15 Jim Evins <evins@snaught.com>
515 * data/desktop/glabels.desktop.in:
516 - Added encoding line
517 - Removed period from comment
518 - Fixed Terminal line, changed "0" to "false"
519 - Added semicolen to Categories line
521 - Made sure desktop.in comment string above still translated properly
523 2004-08-14 Jim Evins <evins@snaught.com>
525 * libglabels/xml-paper.c: (gl_xml_paper_parse_paper_node):
526 * libglabels/xml-template.c: (gl_xml_template_parse_template_node):
527 * src/xml-label-191.c: (xml191_parse_sheet):
528 Fixed improper freeing of gettext strings. Merged from 2.0.1.
530 Reconciled libglabels versioning with 2.0.1.
533 2004-08-14 Jim Evins <evins@snaught.com>
536 Updated version to 2.1cvs.
538 2004-08-14 Jim Evins <evins@snaught.com>
541 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
543 2004-08-14 Jim Evins <evins@snaught.com>
545 Fixes for Bug #1008181.
547 * src/bc.c: (gl_barcode_default_digits):
548 Make a format of zero digits, harmless.
549 * src/xml-label.c: (xml_parse_object_barcode):
550 Set default value of the format property of barcode objects to 10, not
551 zero. This will prevent crashes when reading pre 2.0.x files.
553 2004-08-09 Jim Evins <evins@snaught.com>
557 * help/C/glabels-C.omf:
558 * help/C/glabels.xml:
559 Brought documentation up-to-date for 2.0.0 release.
561 2004-08-09 Jim Evins <evins@snaught.com>
563 These are hopefully the final preparations for 2.0.0.
565 * data/mime/Makefile.am:
566 Include glabels.xml in EXTRA_DIST.
568 - Updated comment style.
569 - Added LIBGLABELS_VERSION_INFO macro, updated Current.
570 - Added package and version info to configuration printout
571 - Update version to 2.0.0
572 * libglabels/Makefile.am:
573 Use the new LIBGLABELS_VERSION_INFO macro.
575 2004-08-09 Jim Evins <evins@snaught.com>
579 Cleanup of required library macros.
581 2004-08-08 Jim Evins <evins@snaught.com>
585 - More specific of what to install in /usr/bin and /usr/lib
586 - Remove built mime registration files from staging directory
588 2004-08-08 Jim Evins <evins@snaught.com>
590 * data/mime/Makefile.am:
591 Fixed typo: key_files should have been keys_files.
593 2004-08-08 Jim Evins <evins@snaught.com>
595 Reorganization of runtime data files. Also added registration of mimetype with
596 new freedesktop.org mime database if available.
599 Moved files to appropriate subdirectories, creating local Makefile.am
600 in each subdirectory.
601 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
602 These are now installed at $datadir/glabels/templates.
603 - Moved glabels.1 to man subdirectory.
604 - Moved glabels-2.0.dtd to dtd subdirectory.
605 - Moved glabels.desktop.in to desktop subdirectory.
606 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
608 Moved "./pixmaps" to "./data/pixmaps"
610 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
612 Moved libglade files from src to data/glade. Created Makefile.am.
614 Removed pixmaps from SUBDIRS.
616 - Removed pixmaps from makefiles.
617 - Added makefiles for new subdirs of data.
618 - Added tests for freedesktop.org mime database.
620 - Added tests for freedesktop.org mime database for post install and
621 post un-install actions.
622 * libglabels/Makefile.am:
623 Moved system template files to $(datadir)/glabels/templates.
624 * libglabels/libglabels-private.h:
625 Moved system template files to $(datadir)/glabels/templates.
627 - Accounted for movement of ui and libglade files.
628 - Added missing .in files.
629 - Reorganized by directory.
631 Accounted for movement of ui and libglade files.
632 * data/mime/glabels.xml.in:
633 New file for registering with freedesktop.org mime database.
635 2004-08-07 Jim Evins <evins@snaught.com>
637 * src/recent-files/*:
638 Re-synced to latest libegg/recent-files.
640 2004-08-07 Jim Evins <evins@snaught.com>
645 Renamed "./doc" directory to "./help" which contains user documentation,
646 to be more consistent with other GNOME applications.
649 2004-07-26 Jim Evins <evins@snaught.com>
651 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
652 Corrected button order of merge properties dialog.
654 2004-07-18 Jim Evins <evins@snaught.com>
656 * data/glabels-2.0.dtd:
657 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
658 (gl_barcode_get_prefered_n):
660 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
661 (gl_label_barcode_get_props), (get_size):
662 * src/label-barcode.h:
663 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
664 (style_changed_cb), (gl_object_editor_set_bc_style),
665 (gl_object_editor_get_bc_style):
666 * src/object-editor-data-page.c: (data_radio_toggled_cb),
667 (gl_object_editor_set_data), (gl_object_editor_get_data):
668 * src/object-editor-private.h:
669 * src/object-editor.c: (gl_object_editor_set_key_names):
670 * src/object-editor.glade:
671 * src/object-editor.h:
672 * src/print.c: (draw_barcode_object):
673 * src/view-barcode.c: (update_object_from_editor_cb),
674 (update_editor_from_object_cb),
675 (gl_view_barcode_create_event_handler), (draw_barcode):
676 * src/xml-label-04.c: (xml04_parse_barcode_props):
677 * src/xml-label-191.c: (xml191_parse_barcode_props):
678 * src/xml-label.c: (xml_parse_object_barcode),
679 (xml_create_object_barcode):
680 Added "format" attribute to barcode objects. This attribute is used
681 to properly format freeform barcodes barcodes prior to merge data is
682 applied, so that barcodes can be accurately layed out. This addresses
683 remaining issues of feature request #824787. Also added an example of
684 the format in the object editor.
686 2004-07-12 Jim Evins <evins@snaught.com>
688 Various code cleanups.
690 * src/label-barcode.c:
691 Removed unneeded include of gnome-glyphlist.h.
693 * src/label-text.c: (get_size):
694 Fixed memory leak: unref glyphlists when done with them.
696 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
697 * src/object-editor-data-page.c:
698 (gl_object_editor_prepare_data_page):
699 * src/object-editor-image-page.c:
700 (gl_object_editor_prepare_image_page):
701 * src/object-editor-line-page.c:
702 (gl_object_editor_prepare_line_page):
703 * src/object-editor-lsize-page.c:
704 (gl_object_editor_prepare_lsize_page):
705 * src/object-editor-position-page.c:
706 (gl_object_editor_prepare_position_page):
707 * src/object-editor-size-page.c:
708 (gl_object_editor_prepare_size_page):
709 * src/object-editor-text-page.c:
710 (gl_object_editor_prepare_text_page):
711 Removed unneeded size groups, originally intended to keep widgets aligned.
712 Now use tables to lay these out in object-editor.glade.
714 * src/print.c: (draw_text_object):
715 Fixed memory leak: unref glyphlists when done with them.
717 * src/view-barcode.c: (draw_barcode):
718 Fixed memory leak: unref glyphlists when done with them.
720 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
721 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
723 - Fixed memory leak: unref glyphlists when done with them.
725 2004-07-11 Jim Evins <evins@snaught.com>
727 * data/glabels-2.0.dtd:
728 * src/label-text.c: (gl_label_text_instance_init), (copy),
729 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
731 * src/object-editor-private.h:
732 * src/object-editor-text-page.c:
733 (gl_object_editor_prepare_text_page),
734 (gl_object_editor_set_text_auto_shrink),
735 (gl_object_editor_get_text_auto_shrink):
736 * src/object-editor.c: (gl_object_editor_set_key_names):
737 * src/object-editor.glade:
738 * src/object-editor.h:
739 * src/print.c: (draw_text_object):
740 * src/view-text.c: (update_object_from_editor_cb),
741 (update_editor_from_object_cb):
742 * src/xml-label.c: (xml_parse_object_text),
743 (xml_create_object_text):
744 Added option to allow document merge to auto shrink text size to fit
745 within the text box. The code in print.c that actually shrinks the
746 text is loosely based on a patch submitted by Mark Harrison
747 <mark.harrison@velocitynet.com.au>. This addresses feature request
750 2004-07-11 Jim Evins <evins@snaught.com>
752 * data/glabels-2.0.dtd:
753 * libglabels/template.c: (gl_template_rect_label_type_new),
754 (gl_template_round_label_type_new),
755 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
756 (template_full_page):
757 * libglabels/template.h:
758 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
759 (xml_create_label_node):
760 * pixmaps/ex-rect-size.png:
761 * src/print.c: (clip_to_outline), (clip_punchouts):
762 * src/template-designer.c: (construct_rect_size_page),
763 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
765 * src/template-designer.glade:
766 * src/xml-label-191.c: (xml191_parse_label):
767 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
768 properties for rectangular labels. Templates remain backwards compatible,
769 but this breaks the libglabels API (I don't know of anyone outside of
770 glabels using libglabels at this time -- what can I say, the program is
771 is still "unstable"). This addresses the suggestion in Feature Request
774 2004-07-05 Jim Evins <evins@snaught.com>
775 * src/print.c: (print_crop_marks), (draw_outline):
776 Changed crop marks and label outlines to black, instead of 25% gray.
777 This addresses debian Bug #257460.
779 2004-07-05 Jim Evins <evins@snaught.com>
781 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
782 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
783 Preserve "is_default" of fill and line color_combos when creating from
786 2004-07-02 Jim Evins <evins@snaught.com>
789 Created man page. Based on page submitted by Matthew J. Lockner, however
790 it has been severely edited.
792 * data/avery-other-templates.xml
793 * data/misc-other-templates.xml:
794 Started new files for predefined templates with non-standard sheet sizes.
795 These have been initially populated with the Avery 06141 and
796 OfficeMax #86112, both provided by Matthew J. Lockner.
799 Install above manpage and template files.
802 Make sure we install man pages.
804 * src/glabels-batch.c:
805 Changed short form of help option to '-?' to be consistent with glabels.
808 Added acknowledgement for above labels.
810 2004-07-02 Jim Evins <evins@snaught.com>
812 * src/glabels.c: (main), (save_session_cb):
813 - Now include libbonoboui.h, recent.h, and file.h to provide missing
815 - save_session_cb() now returns gboolean.
816 - Minor formatting changes.
820 - Now include file.h to provide missing prototype.
821 - gl_window_get_type() now returns GType, not guint. I believe this may
822 ultimately be cause of the segfault reported in Bug #982287, since
823 GType is actually a gulong, which may not be compatible on other
824 architectures (64bit) -- I cannot personally test this at this time.
825 I was sloppy in several other xxx_get_type() functions which also
826 returned guint -- see next group of files:
828 * src/window.c: (gl_window_get_type):
829 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
830 * src/canvas-hacktext.h:
831 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
832 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
833 (gl_hig_hbox_get_type):
835 * src/label-barcode.c: (gl_label_barcode_get_type):
836 * src/label-barcode.h:
837 * src/label-box.c: (gl_label_box_get_type):
839 * src/label-ellipse.c: (gl_label_ellipse_get_type):
840 * src/label-ellipse.h:
841 * src/label-image.c: (gl_label_image_get_type):
843 * src/label-line.c: (gl_label_line_get_type):
845 * src/label-object.c: (gl_label_object_get_type):
846 * src/label-object.h:
847 * src/label-text.c: (gl_label_text_get_type):
849 * src/label.c: (gl_label_get_type):
851 * src/merge-properties-dialog.c:
852 (gl_merge_properties_dialog_get_type):
853 * src/merge-properties-dialog.h:
854 * src/merge-text.c: (gl_merge_text_get_type):
856 * src/merge.c: (gl_merge_get_type):
858 * src/object-editor.c: (gl_object_editor_get_type):
859 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
860 * src/prefs-dialog.h:
861 * src/prefs-model.c: (gl_prefs_model_get_type):
863 * src/print-dialog.c: (gl_print_dialog_get_type):
864 * src/print-dialog.h:
865 * src/template-designer.c: (gl_template_designer_get_type):
866 * src/template-designer.h:
867 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
868 * src/ui-property-bar.h:
869 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
871 * src/view-barcode.c: (gl_view_barcode_get_type):
872 * src/view-barcode.h:
873 * src/view-box.c: (gl_view_box_get_type):
875 * src/view-ellipse.c: (gl_view_ellipse_get_type):
876 * src/view-ellipse.h:
877 * src/view-highlight.c: (gl_view_highlight_get_type):
878 * src/view-highlight.h:
879 * src/view-image.c: (gl_view_image_get_type):
881 * src/view-line.c: (gl_view_line_get_type):
883 * src/view-object.c: (gl_view_object_get_type):
885 * src/view-text.c: (gl_view_text_get_type):
887 * src/view.c: (gl_view_get_type):
889 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
890 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
891 * src/wdgt-image-select.h:
892 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
893 * src/wdgt-media-select.h:
894 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
895 * src/wdgt-mini-preview.h:
896 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
897 * src/wdgt-print-copies.h:
898 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
899 * src/wdgt-print-merge.h:
900 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
901 * src/wdgt-rotate-label.h:
902 - Made sure all xxx_get_type functions returned GType, not guint. This
903 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
904 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
905 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
906 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
907 window.[ch] details above for more info.
908 - Reconciled various coding style differences in all xxx_get_type()
910 * All prototypes include G_GNUC_CONST.
911 * All prototypes specify the return value as GType, not GtkType
913 * Info structures are all declared as "static const."
914 * Generalized the names of type and info variables.
915 * Miscelaneous formatting.
917 2004-06-08 Jim Evins <evins@snaught.com>
923 Don't touch compression of original file -- still defaults to 9 for
924 new files. Original patch provided by Javier Donaire Segarra
925 (#912252 in patch tracker).
927 2004-05-05 Jim Evins <evins@snaught.com>
929 * data/glabels-2.0.dtd:
930 Broke DTD previously when adding new barcode types that contain a
931 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
932 to avoid the problem.
933 * data/avery-iso-templates.xml:
934 * data/zweckform-iso-templates.xml:
936 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
937 provided by Frank Altpeter.
938 * libglabels/xml-template.c: (xml_create_label_node):
939 Reordered markup and layout sub-nodes so that resulting templates will
940 validate against DTD.
942 2004-03-13 Jim Evins <evins@snaught.com>
944 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
945 Changed spin callback signals from "value-changed" back to "changed."
946 This was accidentally introduced in a previous revision, and can cause
947 size changes just by selecting the size tab.
949 2004-03-06 Jim Evins <evins@snaught.com>
951 * src/view.c: (draw_grid_layer):
952 For round labels (round and cd) adjust grid so that it lines up with
953 center of label. Also, no longer draw box around label in the grid layer,
954 it is hidden by he fg layer anyway. Feature suggested by
955 nemolivier@free.fr. Although the grid is aligned with the center of the
956 label, the coordinate system is still relative to the upper left corner
957 of the rectangle containing the label.
959 2004-02-25 Jim Evins <evins@snaught.com>
962 Changed version to 2.0pre1cvs
964 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
965 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
966 instead of doc->name fields when errors encountered.
968 2004-02-21 Jim Evins <evins@snaught.com>
970 * data/avery-iso-templates.xml:
971 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
974 Added libglabels library and include file to installed files.
977 Final prep for 1.93.3.
979 2004-02-20 Jim Evins <evins@snaught.com>
981 * src/glabels-batch.c: (main):
982 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
983 as suggested by Javier Donaire Segarra. This addresses bug #901063.
985 2004-02-16 Jim Evins <evins@snaught.com>
988 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
991 Added HAVE_FILE_CHOOSER to INCLUDES.
993 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
994 (gl_file_save_as), (save_as_response):
995 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
997 2004-02-16 Jim Evins <evins@snaught.com>
999 * src/xml-label-04.c: (xml04_parse_image_props):
1000 * src/xml-label-191.c: (xml191_parse_image_props):
1001 * src/xml-label.c: (xml_parse_object_image):
1002 Delay setting image size until after image has been applied to new
1005 2004-02-15 Jim Evins <evins@snaught.com>
1007 * src/label-barcode.c: (gl_label_barcode_set_data),
1008 (gl_label_barcode_set_props):
1009 Don't emit "changed" signal, if no change actually made for these
1010 methods. Reduces number of unnecessary redraws of barcodes.
1012 * src/label-object.h:
1013 * src/label-object.c: (gl_label_object_set_position),
1014 (gl_label_object_set_position_relative), (set_size),
1015 (gl_label_object_set_size),
1016 (gl_label_object_set_size_honor_aspect):
1017 Don't emit "changed" signal, if no change actually made for these
1020 2004-02-15 Jim Evins <evins@snaught.com>
1022 * data/glabels-2.0.dtd:
1023 Added specific subtypes for various barcode types.
1026 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
1027 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
1028 (gl_barcode_can_text), (gl_barcode_text_optional),
1029 (gl_barcode_can_csum), (gl_barcode_csum_optional),
1030 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
1031 Changed API to use a string id, rather than a fixed enumeration. Id and
1032 name are separate strings. Added entries to backend table for specific
1033 subtypes for various barcode types.
1036 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
1038 Modified to conform to above API. Now more stringent with data length
1039 for various subtypes.
1041 * src/bc-gnubarcode.h:
1042 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
1043 (is_length_valid), (is_length1_valid), (is_length2_valid):
1044 Modified to conform to above API. Now more stringent with data length
1045 for various subtypes.
1047 * src/label-barcode.h:
1048 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
1049 (gl_label_barcode_get_props), (get_size):
1050 Modified to use above API for storing barcode type.
1052 * src/object-editor.h:
1053 * src/object-editor-bc-page.c: (style_changed_cb),
1054 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
1055 Modified to use above API for storing barcode type.
1057 * src/object-editor-size-page.c:
1058 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
1059 (w_spin_cb), (h_spin_cb), (size_reset_cb):
1060 Added debug markers.
1062 * src/object-editor.glade:
1063 Made barcode style combo's text entry non-editable.
1065 * src/print.c: (draw_barcode_object):
1066 Modified to use above API for barcode type.
1068 * src/view-barcode.c: (update_object_from_editor_cb),
1069 (update_editor_from_object_cb),
1070 (gl_view_barcode_create_event_handler), (draw_barcode):
1071 Modified to use above API for barcode type.
1073 * src/xml-label-04.c: (xml04_parse_barcode_props):
1074 * src/xml-label-191.c: (xml191_parse_barcode_props):
1075 * src/xml-label.c: (xml_parse_object_barcode),
1076 (xml_create_object_barcode):
1077 Modified to use above API for barcode type.
1079 2004-02-07 Jim Evins <evins@snaught.com>
1081 * src/stock-pixmaps/Makefile.am:
1082 * src/stock-pixmaps/stock_hchain_24.png:
1083 * src/stock-pixmaps/stock_hchain_broken_24.png:
1084 * src/stock-pixmaps/stock_vchain_24.png:
1085 * src/stock-pixmaps/stock_vchain_broken_24.png:
1086 Added chain pixmaps borrowed from the gimp's default theme.
1089 * src/stock.c: (gl_stock_init), (add_button_icon):
1090 Added above pixmaps to stock icon sets. Created add_button_icon() to
1091 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
1093 * src/wdgt-chain-button.h
1094 * src/wdgt-chain-button.c
1097 Added this Modified version of gimpchainbutton widget, borrowed from
1101 Added acknowledgements of the above borrowing from the gimp.
1103 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
1105 * src/object-editor.c: (gl_object_editor_construct_chain_button):
1106 * src/object-editor.glade:
1107 Replaced the keep aspect ratio check box with the above chain-button
1110 * src/text-node.c: (gl_text_node_equal):
1112 Added function gl_text_node_equal() to compare text_nodes.
1114 * src/label-image.c: (gl_label_image_set_filename):
1115 Replaced incomplete text_node comparison code with invocation of
1116 gl_text_node_equal. This fixed the problem of not being able to
1117 resize an image using the object_editor if the aspect ratio is not
1120 2004-02-04 Jim Evins <evins@snaught.com>
1122 * src/object-editor-image-page.c:
1123 (gl_object_editor_prepare_image_page):
1124 Track "changed" signal of pixmap entry's GtkEntry rather than its
1125 "activate" signal -- this catches all changes to the entry rather than
1126 just changes resulting from a browse, so one can easily pull previous
1127 entries from the history. (This change is marked below on 2004-02-03,
1128 but somehow never got checked in.)
1130 * src/view-highlight.c: (sl_resize_event_handler),
1131 (sr_resize_event_handler), (st_resize_event_handler),
1132 (sb_resize_event_handler):
1133 Side resize handles will now confirm the actual resize that the object
1134 accepted before adjusting position parameters. Previously some interesting
1135 things happened when resizing a barcode to its minimum size.
1137 2004-02-03 Jim Evins <evins@snaught.com>
1139 * src/object-editor-image-page.c:
1140 (gl_object_editor_prepare_image_page):
1141 Track "changed" signal of pixmap entry's GtkEntry rather than its
1142 "activate" signal -- this catches all changes to the entry rather than
1143 just changes resulting from a browse, so one can easily pull previous
1144 entries from the history.
1146 * src/view-highlight.c: (tl_resize_event_handler),
1147 (tr_resize_event_handler), (bl_resize_event_handler),
1148 (br_resize_event_handler):
1149 Allow control key to be dropped while dragging a corner resize handle
1150 without losing the aspect ratio lock.
1152 2004-02-02 Jim Evins <evins@snaught.com>
1154 * src/label-image.c: (gl_label_image_set_filename):
1155 When setting a new filename adjust size such that the aspect ratio of
1156 the image is preserved using the current size as a bounding box.
1158 * src/view-image.c: (update_object_from_editor_cb):
1159 When updating object from editor, feed back possible size changes to
1160 editor as a result of a possible change in image.
1162 * src/object-editor-size-page.c: (size_reset_cb):
1163 Fixed typo when blocking spin handlers. If the base size is larger than
1164 the max size, treat max size as a bounding box while keeping aspect
1168 2004-02-02 Jim Evins <evins@snaught.com>
1170 * src/label-object.h:
1171 * src/label-object.c: (gl_label_object_set_size),
1172 (gl_label_object_set_size_honor_aspect):
1173 Added gl_label_object_set_size_honor_aspect() which will maintain the
1174 current aspect ratio by modifying the supplied w or h apropriately.
1176 * src/view-highlight.c: (tl_resize_event_handler),
1177 (tr_resize_event_handler), (bl_resize_event_handler),
1178 (br_resize_event_handler):
1179 Corner handles will now maintain the current aspect ratio if the
1180 control key is pressed while resizing. This addresses feature
1184 2004-01-31 Jim Evins <evins@snaught.com>
1187 * data/avery-us-templates.xml:
1188 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
1190 * libglabels/template.c: (read_template_files_from_dir):
1191 Corrected problem with testing for extensions.
1193 * src/object-editor.glade:
1194 Corrected grouping of radio buttons in barcode data page.
1196 * src/print.c: (draw_barcode_object):
1197 * src/view-barcode.c: (draw_barcode):
1198 Corrected problem with calculation of y_offset for locating characters.
1200 2004-01-24 Jim Evins <evins@snaught.com>
1203 * data/avery-us-templates.xml:
1204 Added Avery 5824, submitted by Fred Bacon.
1206 2004-01-20 Jim Evins <evins@snaught.com>
1208 Catching up on a couple of backlogged user template submissions.
1210 * data/avery-iso-templates.xml:
1211 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
1212 Suggested by Linas Jakucionis.
1214 * data/zweckform-iso-templates.xml:
1215 Added Zweckform 4760, submitted by Thomas Vill.
1218 Updated to reflect above submissions.
1220 2004-01-06 Jim Evins <evins@snaught.com>
1222 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
1223 xml.[ch] into a separate library called libglabels, to facilitate third
1224 party use of glabels template files. This was suggested by Wayne Schuller.
1225 Once split-out, some modifications to the structures and functions to
1226 make a cleaner more useful API, hopefully. Rather extensive changes have
1227 propogated to other modules.
1235 * src/xml-template.h:
1236 * src/xml-template.c:
1239 These files have been moved to libglabels/. API cleanup performed.
1241 * libglabels/libglabels.h:
1242 * libglabels/libglabels-private.h:
1243 * libglabels/Makefile.am:
1244 These files have been added to finish out libglabels.
1251 Modified to reflect new sets of files in src/ and libglabels/.
1253 * COPYING.LIBGLABELS:
1255 Added copy of the LGPL for libglabels, and a copy the GFDL for
1258 * src/glabels-batch.c:
1260 * src/label.c: (gl_label_finalize), (gl_label_set_template),
1261 (gl_label_get_size):
1263 * src/prefs-model.c: (gl_prefs_model_load_settings):
1264 * src/print-dialog.c:
1265 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
1266 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
1267 (print_crop_marks), (print_label), (draw_outline),
1268 (clip_to_outline), (clip_punchouts):
1269 * src/template-designer.c: (construct_pg_size_page),
1270 (pg_size_page_changed_cb), (layout_page_changed_cb),
1271 (print_test_cb), (build_template):
1272 * src/util.c: (gl_util_fraction):
1274 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
1275 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
1276 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
1277 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
1278 (draw_markup_margin_round), (draw_markup_margin_cd),
1279 (draw_markup_margin_cd_bc), (draw_markup_line),
1280 (draw_markup_circle), (gl_view_copy):
1281 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
1282 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
1283 (get_label_size_desc):
1284 * src/wdgt-mini-preview.c:
1285 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
1287 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
1288 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
1289 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
1290 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
1291 * src/wdgt-rotate-label.h:
1292 * src/xml-label-04.c: (xml04_parse_media_description):
1293 * src/xml-label-191.c: (gl_xml_label_191_parse),
1294 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
1295 (xml191_parse_markup), (xml191_parse_alias):
1296 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
1298 Various changes to accomodate new libglabels API.
1300 2004-01-03 Jim Evins <evins@snaught.com>
1305 2004-01-03 Jim Evins <evins@snaught.com>
1308 Added acknowledgement of contributions by Wayne Schuller.
1310 * src/commands.c: (gl_cmd_file_print):
1311 Create extra reference to print dialog, so that it can be properly re-used.
1313 * src/mygal/mygal-combo-box.h:
1314 * src/mygal/mygal-combo-box.c:
1315 (mygal_combo_box_popup_hide_unconditional),
1316 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
1317 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
1318 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
1319 (mygal_combo_box_set_tearable):
1320 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
1321 complete the rename of this widget to prevent namespace collisions
1324 * src/prefs-dialog.glade:
1325 Fixed alignment of Fill/Color widgets.
1327 2004-01-03 Jim Evins <evins@snaught.com>
1329 * data/avery-iso-templates.xml:
1330 Added user submitted templates.
1331 Avery 8435A & 8435B, submitted by Ludger Solbach.
1333 * doc/C/glabels.xml:
1334 Added minimal documentation, noting the new template designer.
1336 2004-01-03 Jim Evins <evins@snaught.com>
1338 * pixmaps/ex-rect-size.png:
1339 * pixmaps/ex-round-size.png:
1340 * pixmaps/ex-cd-size.png:
1341 * pixmaps/Makefile.am:
1342 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
1343 files to be used as illustrations/examples in the template-designer.
1345 * src/template-designer.c: (construct_rect_size_page),
1346 (construct_round_size_page), (construct_cd_size_page),
1347 (construct_nlayouts_page), (rect_size_page_prepare_cb),
1348 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
1349 (layout_page_prepare_cb), (build_template):
1350 * src/template-designer.glade:
1351 Added illustrations for rectangle, round, and cd label size pages.
1352 Added margin spinboxes to these pages, and now add a margin markup
1353 to the constructed template. Added realistic default values for
1354 some of the size spinboxes. Cleaned up the code for setting spinbox
1355 ranges on the layouts page.
1357 2004-01-02 Jim Evins <evins@snaught.com>
1359 * src/object-editor-size-page.c: (h_spin_cb):
1360 Fixed cut-n-paste error in h_spin_cb that loaded h from
1361 the wrong spinbutton.
1363 * src/object-editor.h:
1364 * src/object-editor.c: (gl_object_editor_class_init),
1365 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
1366 * src/object-editor-private.h:
1367 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
1369 Added "size_changed" signal.
1371 * src/view-text.c: (construct_properties_editor),
1372 (update_object_from_editor_cb),
1373 (update_object_from_editor_size_cb):
1374 Track size changes from object editor separately from other
1375 properties. This is so the default size (0,0) of a text
1376 object is not modified unintentionally.
1378 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
1380 Added feature: line spacing - allows you to comfortably space a text box to
1381 fit a label perfectly.
1383 * data/glabels-2.0.dtd:
1384 * src/label-object.c: (gl_label_object_set_text_line_spacing),
1385 (gl_label_object_get_text_alignment),
1386 (gl_label_object_get_text_line_spacing):
1387 * src/label-object.h:
1388 * src/label-text.c: (gl_label_text_class_init),
1389 (gl_label_text_instance_init), (copy), (get_size),
1390 (set_text_line_spacing), (get_text_alignment),
1391 (get_text_line_spacing):
1392 * src/object-editor-private.h:
1393 * src/object-editor-text-page.c:
1394 (gl_object_editor_prepare_text_page),
1395 (gl_object_editor_set_text_line_spacing),
1396 (gl_object_editor_get_text_line_spacing):
1397 * src/object-editor.glade:
1398 * src/object-editor.h:
1399 * src/prefs-dialog.c: (construct_object_page),
1400 (update_object_page_from_prefs), (update_prefs_from_object_page):
1401 * src/prefs-dialog.glade:
1402 * src/prefs-model.c: (gl_prefs_model_save_settings),
1403 (gl_prefs_model_load_settings), (get_float):
1404 * src/prefs-model.h:
1405 * src/print.c: (draw_text_object):
1407 * src/view-text.c: (update_object_from_editor_cb),
1408 (update_editor_from_object_cb),
1409 (gl_view_text_create_event_handler), (draw_hacktext):
1410 * src/view.c: (gl_view_construct),
1411 (gl_view_set_selection_text_line_spacing),
1412 (gl_view_set_default_text_line_spacing),
1413 (gl_view_get_default_text_line_spacing):
1415 * src/xml-label.c: (xml_parse_toplevel_span),
1416 (xml_create_toplevel_span):
1418 2003-12-30 Jim Evins <evins@snaught.com>
1420 * src/template-designer.c:
1421 * src/template-designer.h:
1422 * src/template-designer.glade:
1423 New template designer assistant.
1427 Added entries for src/template-designer.* files.
1429 * pixmaps/ex-1layout.png
1430 * pixmaps/ex-2layouts.png
1431 * pixmaps/Makefile.am:
1432 Added the new image files ex-*.png used as illustrations in the
1433 template designer assistant.
1435 * src/print-dialog.h:
1436 * src/print-dialog.c: (gl_print_dialog_finalize),
1437 (gl_print_dialog_new), (gl_print_dialog_construct),
1438 (gl_print_dialog_force_outline_flag):
1439 Changed first argument of gl_print_dialog_new() from glView to glLabel,
1440 to support printing from the template designer assistant which does not
1441 have a full-fledged view. Nothing else from the view object was being
1442 used by the dialog anyway.
1444 Added the gl_print_dialog_force_outline_flag() method, for better
1445 integration with the template designer assistant.
1449 * src/commands.c: (gl_cmd_file_template_designer),
1450 (gl_cmd_file_print):
1451 Modified print command to provide label instead of view to dialog.
1452 Added the gl_cmd_file_template_designer() command to invoke the
1453 template designer assistant.
1456 * src/glabels-ui.xml:
1457 Added support for template designer assistant.
1459 * src/wdgt-mini-preview.h:
1460 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
1461 (gl_wdgt_mini_preview_set_bg_color):
1462 Preview is now centered in canvas. Added
1463 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
1464 assistant to match the background color with its own.
1466 * src/print.c: (clip_to_outline):
1467 Fixed really stupid bug when adding waste to clip region of rectangular
1468 labels/cards. Each side of the clip region needs to be extended by
1469 twice the waste margin, as well as negatively offset by the waste
1472 2003-12-28 Jim Evins <evins@snaught.com>
1474 * src/prefs-dialog.c: (update_object_page_from_prefs):
1475 Block intermediary function align_toggle_cb() instead of
1476 update_prefs_from_object_page() for the three alignment
1479 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
1481 * src/file.c: (gl_file_new), (gl_file_properties):
1482 Swap button order and set default for higificatory pleasure.
1484 2003-12-27 Jim Evins <evins@snaught.com>
1486 * barcode-0.98/Makefile.am:
1487 One last time: removed doc/Makefile and po/Makefile.in.in from
1490 2003-12-27 Jim Evins <evins@snaught.com>
1492 * barcode-0.98/Makefile.am:
1493 Removed config.stat entry from EXTRA_DIST files.
1495 * barcode-0.98/Makefile.in:
1498 2003-12-27 Jim Evins <evins@snaught.com>
1501 Updated to work with latest gnome-common package from CVS.
1502 Removed recursive configuration of barcode-0.98.
1509 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
1511 * barcode-0.98/Makefile.in:
1512 * barcode-0.98/configure.in:
1513 * barcode-0.98/Makefile.am:
1514 * barcode-0.98/README.glabels:
1515 Modified to ignore the barcode package's build system, and build
1516 as a part of glabels.
1517 Renamed Makefile.in to Makefile.in.dist.
1518 Renamed configure.in to configure.in.dist.
1519 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
1522 * src/mygal/Makefile.am:
1523 * src/recent-files/Makefile.am:
1524 In order to build against the GNOME 2.5 platform,
1525 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
1527 * src/mygal/Makefile.am:
1528 * src/mygal/mygal-combo-box.c:
1529 * src/mygal/mygal-combo-box.h:
1530 * src/mygal/widget-color-combo.c:
1531 * src/mygal/widget-color-combo.h:
1533 In order to build against the GNOME 2.5 platform,
1534 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
1535 collisions with the real gtk_combo_box widget, now a part of gtk.
1537 2003-12-26 Jim Evins <evins@snaught.com>
1543 Moved local versions of get_home_data_dir() in paper.c and
1544 template.c to util package. Cleaned up formatting in
1548 In gl_template_register() save a copy of the template in
1549 ~/.glabels if the template is not known. Still need to
1550 handle duplicate filename case and duplicate name but
1551 different template case.
1555 Moved local definition of NAME_SPACE macro from xml-label.c
1558 * src/xml-template.c:
1559 * src/xml-template.h:
1560 Added function gl_xml_template_write_template_to_file(), used
1561 in gl_template_register().