]> git.sur5r.net Git - glabels/blob - glabels2/ChangeLog
2005-04-15 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / ChangeLog
1 2005-04-15  Jim Evins  <evins@snaught.com>
2
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.
7         * AUTHORS:
8                 Added acknowledgements for above.
9         
10 2005-04-10  Jim Evins <evins@snaught.com>
11
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),
26         (xml191_parse_alias):
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
32                 space.
33
34 2005-04-08  Jim Evins <evins@snaught.com>
35
36         * src/util.h:
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
40                 widgets in GTK-2.6.
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.
46         
47         
48 2005-04-03  Jim Evins <evins@snaught.com>
49
50         * src/Makefile.am:
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
56                 updates.
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
64                 GtkFileChooserButton.
65
66 2005-04-02  Jim Evins <evins@snaught.com>
67
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.
77
78 2005-04-02  Jim Evins <evins@snaught.com>
79
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.
84
85 2005-04-02  Jim Evins <evins@snaught.com>
86
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:
93         * libglabels/enums.h:
94         * libglabels/paper.c: (gl_paper_dup):
95         * libglabels/paper.h:
96         * libglabels/xml-paper.c:
97         * libglabels/xml-template.c:
98                 More documentation updates for libglabels.
99         
100 2005-03-23  Jim Evins  <evins@snaught.com>
101
102         * INSTALL:
103                 Automatically updated.
104         * Makefile.am:
105         * autogen.sh:
106         * configure.in:
107         * docs/Makefile.am:
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
121                 API.
122         * libglabels/xml.c:
123                 Updated function comments with gtk-doc markup.
124         * missing:
125                 Removed.
126
127 2005-03-22  Jim Evins  <evins@snaught.com>
128
129         Since the development version now requires gtk-2.6/gnome-2.10, I
130         have made a first pass at removing deprecations.
131
132         * configure.in:
133         * libglabels/Makefile.am:
134         * src/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:
144         * libglabels/xml.c:
145         * src/bc.c:
146         * src/file.c:
147         * src/glabels-batch.c:
148         * src/glabels.c:
149         * src/label.c:
150         * src/merge-init.c:
151         * src/merge-properties-dialog.c:
152         * src/merge.c:
153         * src/object-editor.c:
154         * src/prefs-dialog.c:
155         * src/prefs.c:
156         * src/print-dialog.c:
157         * src/print.c:
158         * src/stock.c:
159         * src/template-designer.c:
160         * src/ui-property-bar.c:
161         * src/ui-sidebar.c:
162         * src/view-barcode.c:
163         * src/view-box.c:
164         * src/view-ellipse.c:
165         * src/view-image.c:
166         * src/view-line.c:
167         * src/view-text.c:
168         * src/view.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:
174         * src/window.c:
175         * src/xml-label-04.c:
176         * src/xml-label-191.c:
177         * src/xml-label.c:
178                 Added '#include <glib/gi18n.h>" where needed.
179                 Removed any unused '#include <gnome.h>"s.
180
181 2005-03-22  Jim Evins  <evins@snaught.com>
182
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
186                 GNOME 2.10.
187         * configure.in:
188                 Updated library dependencies.
189
190 2005-02-28  Jim Evins  <evins@snaught.com>
191
192         * AUTHORS:
193         * data/templates/misc-iso-templates.xml:
194                 Added 'Ednet 45021' template provided by Ali Akcaagac
195                 <aliakc@web.de>.
196
197 2005-02-14  Jim Evins  <evins@snaught.com>
198
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
203                 debian Bug#295274.
204
205 2005-02-13  Jim Evins  <evins@snaught.com>
206
207         * AUTHORS:
208         * po/es.po:
209                 Updated spanish translations. (sergio rivadero)
210
211 2005-02-05  Jim Evins  <evins@snaught.com>
212
213         Some cleanup to libglabels.
214         
215         * configure.in:
216                 Updated version to 2.1.1cvs.  Added generation of libglabels.pc.
217         * libglabels/libglabels.pc.in
218                 Created.
219         * libglabels/enums.h
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:
225                 Include enums.h.
226         * libglabels/template.h:
227         * libglabels/template.c: (gl_template_layout_new):
228                 Changed parameters nx and ny to gint from gdouble.
229         * libglabels/xml.h:
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):
236         * src/prefs-model.h:
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):
240         * src/prefs.h:
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.
244
245 2005-02-03  Jim Evins  <evins@snaught.com>
246
247         * po/cs.po:
248                 Updated Czech translations. (David Makovský and Zbynek Mrkvick)
249         * po/it.po:
250                 Updated Italian translations. (Daniele Medri)
251         * AUTHORS:
252                 Updated credits to reflect above translations.
253
254
255 2005-01-22  Jim Evins  <evins@snaught.com>
256
257         * MESSAGE-OF-DOOM:
258                 Added.
259         * Makefile.am:
260                 Added MESSAGE-OF-DOOM to EXTRA_DIST.
261         * NEWS:
262                 Final prep for 2.1.0.
263         * configure.in:
264                 Set version to 2.1.0.  Output MESSAGE-OF-DOOM.
265         * glabels.spec.in:
266                 Added '--remove-original' flag to desktop-file-install, so that there is
267                 only one menu entry.
268         
269 2005-01-20  Jim Evins  <evins@snaught.com>
270
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.
275         
276 2005-01-19  Jim Evins  <evins@snaught.com>
277
278         * AUTHORS:
279                 Give credit to Frederic Ruaudel for the color merge patches.
280
281 2005-01-18  Frederic Ruaudel  <grumz@users.sf.net>
282  
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
293         line/area.
294  
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
300         * src/color.c:
301                 Fix a copy/paste error in a comment
302         * src/color.h:
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.
308         * src/label-box.c:
309         * src/view-box.c:
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.
314         * src/label-line.c:
315         * src/view-line.c:
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:
322         * src/view.c:
323         * src/view.h:
324         * src/xml-label-04.c:
325         * src/xml-label-191.c:
326                 Add support for merging to other color attribute.
327         * src/label-text.c:
328         * src/object-editor-text-page.c:
329         * src/view-text.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.
338         * src/print.c:
339                 Modify the draw functions to get merge data if needed.
340         * src/window.c:
341                 Change the default size of the window in order to see all widget in the
342                 "text style tab" of the editor.
343         * src/xml-label.c:
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.
349         
350 2005-01-17  Jim Evins  <evins@snaught.com>
351
352         * src/view.c: (screen_changed_cb):
353                 Don't do anything if we don't have a screen.
354
355 2005-01-06  Jim Evins  <evins@snaught.com>
356
357         * src/view.c: (get_home_scale):
358                 Fixed bad call to gtk_widget_has_screen() -- huh?.
359
360 2005-01-06  Jim Evins  <evins@snaught.com>
361
362         * data/dtd/glabels-2.0.dtd:
363                 Added fill_color_field to fill_attrs.  Also added xmlns attribute to all
364                 top-level elements.
365
366 2005-01-06  Jim Evins  <evins@snaught.com>
367
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.
375
376 2005-01-06  Frederic Ruaudel  <grumz@users.sf.net>
377
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" 
385         for merge data.
386
387         * data/glade/object-editor.glade:
388                 Modify "Fill" tab to add the merge key combo and convert the labels into 
389                 radio button.
390         * src/color.h:
391         * src/color.c:
392                 Add "glColorNode" structure and associated functions to manage it. This 
393                 structure is equivalent for color than the "glTextNode". It holds the color
394                 and the key field.
395         * src/label-object.h:
396         * src/label-object.c:
397         * src/label-box.c:
398         * src/label-ellipse.c:
399         * src/ui-property-bar.c:
400         * src/view.h:
401         * src/view.c:
402         * src/view-box.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.
408         * src/Makefile.am:
409                 Add the color.[ch] file to glabels_batch binary that now need support for 
410                 "glColorNode".
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.
418         * src/print.c:
419                 Modify the draw functions to get merge data if needed.
420         * src/xml-label.c:
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.             
424         
425 2005-01-04  Jim Evins  <evins@snaught.com>
426
427         * AUTHORS:
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
432                 Nick Hill.
433
434 2004-11-26  Jim Evins  <evins@snaught.com>
435
436         * AUTHORS:
437         * po/fr.po:
438                 Updated french translations provided by Florent Morel <florent@taket.org>.
439         * src/view-barcode.c:
440         * src/view-box.c:
441         * src/view-ellipse.c:
442         * src/view-image.c:
443         * src/view-line.c:
444         * src/view-text.c:
445                 Added '#include <config.h>' -- HAVE_*GETTEXT macros were not defined and
446                 thus _() strings were not being translated.
447
448 2004-11-14  Jim Evins  <evins@snaught.com>
449
450         * src/debug.h:
451         * src/debug.c: (gl_debug_init), (gl_debug):
452                 Borrowed from gedit:  use environmental variables to select debug
453                 sections.
454         * src/splash.c:
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
458                 options.
459         * src/glabels-batch.c: (main):
460                 Added call to gl_debug_init().
461
462 2004-11-13  Jim Evins  <evins@snaught.com>
463
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
468         
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):
473         * src/prefs-model.h:
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.
478
479 2004-10-28  Jim Evins  <evins@snaught.com>
480
481         * data/pixmaps/glabels-about-logo.png:
482                 Updated about logo.
483         
484 2004-10-28  Jim Evins  <evins@snaught.com>
485
486         * data/man/glabels.1:
487         * src/glabels-batch.c: (main):
488         * src/print.h:
489         * src/print.c: (gl_print_batch):
490
491                 Added option to glabels-batch to select the first label to begin
492                 printing on.
493
494 2004-09-26  Jim Evins  <evins@snaught.com>
495
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:
505                 New mime icon.
506         * data/pixmaps/glabels-splash.png:
507                 Renamed glabels-logo to glabels-splash to be more correct about role.
508         * src/glabels.c:
509         * src/template-designer.c:
510                 Point at app icon, "glabels.png"
511         * src/splash.c:
512                 Point at renamed splash image, "glabels-splash.png"
513
514 2004-08-22  Jim Evins  <evins@snaught.com>
515
516         * AUTHORS:
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>.
521         
522 2004-08-15  Jim Evins  <evins@snaught.com>
523
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
529         * po/ja.po:
530                 - Made sure desktop.in comment string above still translated properly
531
532 2004-08-14  Jim Evins  <evins@snaught.com>
533
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.
538         * configure.in:
539                 Reconciled libglabels versioning with 2.0.1.
540         
541
542 2004-08-14  Jim Evins  <evins@snaught.com>
543
544         * configure.in:
545                 Updated version to 2.1cvs.
546         
547 2004-08-14  Jim Evins  <evins@snaught.com>
548
549         * po/ja.po:
550                 Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
551
552 2004-08-14  Jim Evins  <evins@snaught.com>
553
554         Fixes for Bug #1008181.
555
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.
561
562 2004-08-09  Jim Evins  <evins@snaught.com>
563
564         * NEWS:
565         * TODO:
566         * help/C/glabels-C.omf:
567         * help/C/glabels.xml:
568                 Brought documentation up-to-date for 2.0.0 release.
569         
570 2004-08-09  Jim Evins  <evins@snaught.com>
571
572         These are hopefully the final preparations for 2.0.0.
573
574         * data/mime/Makefile.am:
575                 Include glabels.xml in EXTRA_DIST.
576         * configure.in:
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.
583
584 2004-08-09  Jim Evins  <evins@snaught.com>
585
586         * configure.in:
587         * glabels.spec.in:
588                 Cleanup of required library macros.
589
590 2004-08-08  Jim Evins  <evins@snaught.com>
591
592         * glabels.spec.in:
593                 - Updated URL
594                 - More specific of what to install in /usr/bin and /usr/lib
595                 - Remove built mime registration files from staging directory
596
597 2004-08-08  Jim Evins  <evins@snaught.com>
598
599         * data/mime/Makefile.am:
600                 Fixed typo:  key_files should have been keys_files.
601
602 2004-08-08  Jim Evins  <evins@snaught.com>
603
604         Reorganization of runtime data files.  Also added registration of mimetype with
605         new freedesktop.org mime database if available.
606         
607         * data/*
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.
616         * data/pixmaps/*
617                 Moved "./pixmaps" to "./data/pixmaps"
618         * data/ui/*
619                 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
620         * data/glade/*
621                 Moved libglade files from src to data/glade. Created Makefile.am.
622         * Makefile.am:
623                 Removed pixmaps from SUBDIRS.
624         * configure.in:
625                 - Removed pixmaps from makefiles.
626                 - Added makefiles for new subdirs of data.
627                 - Added tests for freedesktop.org mime database.
628         * glabels.spec.in:
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.
635         * po/POTFILES.in:
636                 - Accounted for movement of ui and libglade files.
637                 - Added missing .in files.
638                 - Reorganized by directory.
639         * src/Makefile.am:
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.
643
644 2004-08-07  Jim Evins  <evins@snaught.com>
645
646         * src/recent-files/*:
647                 Re-synced to latest libegg/recent-files.
648         
649 2004-08-07  Jim Evins  <evins@snaught.com>
650
651         * Makefile.am:
652         * configure.in:
653         * help/*
654                 Renamed "./doc" directory to "./help" which contains user documentation,
655                 to be more consistent with other GNOME applications.
656         
657
658 2004-07-26  Jim Evins  <evins@snaught.com>
659
660         * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
661                 Corrected button order of merge properties dialog.
662
663 2004-07-18  Jim Evins  <evins@snaught.com>
664
665         * data/glabels-2.0.dtd:
666         * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
667         (gl_barcode_get_prefered_n):
668         * src/bc.h:
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.
694
695 2004-07-12  Jim Evins  <evins@snaught.com>
696
697         Various code cleanups.
698
699         * src/label-barcode.c:
700                 Removed unneeded include of gnome-glyphlist.h.
701         
702         * src/label-text.c: (get_size):
703                 Fixed memory leak: unref glyphlists when done with them.
704         
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.
722         
723         * src/print.c: (draw_text_object):
724                 Fixed memory leak: unref glyphlists when done with them.
725
726         * src/view-barcode.c: (draw_barcode):
727                 Fixed memory leak: unref glyphlists when done with them.
728
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
731                   return value.
732                 - Fixed memory leak: unref glyphlists when done with them.
733
734 2004-07-11  Jim Evins  <evins@snaught.com>
735
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):
739         * src/label-text.h:
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
757                 #661421.
758         
759 2004-07-11  Jim Evins  <evins@snaught.com>
760
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),
773         (build_template):
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
781                 #976313.
782
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.
787
788 2004-07-05  Jim Evins  <evins@snaught.com>
789
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
793                 existing objects.
794
795 2004-07-02  Jim Evins  <evins@snaught.com>
796
797         * data/glabels.1:
798                 Created man page.  Based on page submitted by Matthew J. Lockner, however
799                 it has been severely edited.
800         
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.
806         
807         * data/Makefile.am:
808                 Install above manpage and template files.
809         
810         * glabels.spec.in:
811                 Make sure we install man pages.
812         
813         * src/glabels-batch.c:
814                 Changed short form of help option to '-?' to be consistent with glabels.
815         
816         * AUTHORS:
817                 Added acknowledgement for above labels.
818
819 2004-07-02  Jim Evins  <evins@snaught.com>
820
821         * src/glabels.c: (main), (save_session_cb):
822                 - Now include libbonoboui.h, recent.h, and file.h to provide missing
823                   prototypes.
824                 - save_session_cb() now returns gboolean.
825                 - Minor formatting changes.
826
827         * src/window.h:
828         * src/window.c:
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:
836         
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):
843         * src/hig.h:
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):
847         * src/label-box.h:
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):
851         * src/label-image.h:
852         * src/label-line.c: (gl_label_line_get_type):
853         * src/label-line.h:
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):
857         * src/label-text.h:
858         * src/label.c: (gl_label_get_type):
859         * src/label.h:
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):
864         * src/merge-text.h:
865         * src/merge.c: (gl_merge_get_type):
866         * src/merge.h:
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):
871         * src/prefs-model.h:
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):
879         * src/ui-sidebar.h:
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):
883         * src/view-box.h:
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):
889         * src/view-image.h:
890         * src/view-line.c: (gl_view_line_get_type):
891         * src/view-line.h:
892         * src/view-object.c: (gl_view_object_get_type):
893         * src/view-object.h:
894         * src/view-text.c: (gl_view_text_get_type):
895         * src/view-text.h:
896         * src/view.c: (gl_view_get_type):
897         * src/view.h:
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()
918                   functions:
919                         * All prototypes include G_GNUC_CONST.
920                         * All prototypes specify the return value as GType, not GtkType
921                           or guint.
922                         * Info structures are all declared as "static const."
923                         * Generalized the names of type and info variables.
924                         * Miscelaneous formatting.
925
926 2004-06-08  Jim Evins  <evins@snaught.com>
927
928         * src/label.c:
929         * src/label.h:
930         * src/xml-label.c:
931         * AUTHORS:
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).
935
936 2004-05-05  Jim Evins  <evins@snaught.com>
937
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:
944         * AUTHORS:
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.
950
951 2004-03-13  Jim Evins  <evins@snaught.com>
952
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.
957
958 2004-03-06  Jim Evins  <evins@snaught.com>
959
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.
967
968 2004-02-25  Jim Evins  <evins@snaught.com>
969
970         * configure.in:
971                 Changed version to 2.0pre1cvs
972         
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.
976
977 2004-02-21  Jim Evins  <evins@snaught.com>
978
979         * data/avery-iso-templates.xml:
980                 Added aliases for Avery 8651.  Patch provided by Wayne Schuller.
981         
982         * glabels.spec.in:
983                 Added libglabels library and include file to installed files.
984                 
985         * configure.in:
986                 Final prep for 1.93.3.
987
988 2004-02-20  Jim Evins  <evins@snaught.com>
989
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.
993
994 2004-02-16  Jim Evins  <evins@snaught.com>
995
996         * configure.in:
997                 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
998         
999         * src/Makefile.am:
1000                 Added HAVE_FILE_CHOOSER to INCLUDES.
1001         
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.
1005
1006 2004-02-16  Jim Evins  <evins@snaught.com>
1007
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
1012                 object.
1013         
1014 2004-02-15  Jim Evins  <evins@snaught.com>
1015
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.
1020         
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
1027                 methods.
1028
1029 2004-02-15  Jim Evins  <evins@snaught.com>
1030
1031         * data/glabels-2.0.dtd:
1032                 Added specific subtypes for various barcode types.
1033         
1034         * src/bc.h:
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.
1043         
1044         * src/bc-postnet.h:
1045         * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
1046         (is_length_valid):
1047                 Modified to conform to above API.  Now more stringent with data length
1048                 for various subtypes.
1049         
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.
1055
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.
1060         
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.
1065         
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.
1070         
1071         * src/object-editor.glade:
1072                 Made barcode style combo's text entry  non-editable.
1073         
1074         * src/print.c: (draw_barcode_object):
1075                 Modified to use above API for barcode type.
1076
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.
1081         
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.
1087
1088 2004-02-07  Jim Evins  <evins@snaught.com>
1089
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.
1096
1097         * src/stock.h:
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.
1101         
1102         * src/wdgt-chain-button.h
1103         * src/wdgt-chain-button.c
1104         * src/Makefile.am:
1105         * po/POTFILES.in:
1106                 Added this Modified version of gimpchainbutton widget, borrowed from
1107                 the gimp.
1108         
1109         * AUTHORS:
1110                 Added acknowledgements of the above borrowing from the gimp.
1111         
1112         * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
1113         (h_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
1117                 widget.
1118         
1119         * src/text-node.c: (gl_text_node_equal):
1120         * src/text-node.h:
1121                 Added function gl_text_node_equal() to compare text_nodes.
1122         
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
1127                 locked.
1128
1129 2004-02-04  Jim Evins  <evins@snaught.com>
1130
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.)
1138
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.
1145
1146 2004-02-03  Jim Evins  <evins@snaught.com>
1147
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.
1154         
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.
1160
1161 2004-02-02  Jim Evins  <evins@snaught.com>
1162
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.
1166                 
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.
1170         
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
1174                 ratio.
1175                 
1176
1177 2004-02-02  Jim Evins  <evins@snaught.com>
1178
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.
1184         
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
1190                 request #816603.
1191        
1192
1193 2004-01-31  Jim Evins  <evins@snaught.com>
1194
1195         * AUTHORS:
1196         * data/avery-us-templates.xml:
1197                 Added entries for "LSK-3," "LSK-5," and "LSK-8."  Submitted by JBadger.
1198         
1199         * libglabels/template.c: (read_template_files_from_dir):
1200                 Corrected problem with testing for extensions.
1201         
1202         * src/object-editor.glade:
1203                 Corrected grouping of radio buttons in barcode data page.
1204
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.
1208
1209 2004-01-24  Jim Evins  <evins@snaught.com>
1210
1211         * AUTHORS:
1212         * data/avery-us-templates.xml:
1213                 Added Avery 5824, submitted by Fred Bacon.
1214         
1215 2004-01-20  Jim Evins  <evins@snaught.com>
1216
1217         Catching up on a couple of backlogged user template submissions.
1218
1219         * data/avery-iso-templates.xml:
1220                 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
1221                 Suggested by Linas Jakucionis.
1222         
1223         * data/zweckform-iso-templates.xml:
1224                 Added Zweckform 4760, submitted by Thomas Vill.
1225
1226         * AUTHORS:
1227                 Updated to reflect above submissions.
1228
1229 2004-01-06  Jim Evins  <evins@snaught.com>
1230
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.
1237
1238         * src/paper.h:
1239         * src/paper.c:
1240         * src/template.h:
1241         * src/template.c:
1242         * src/xml-paper.h:
1243         * src/xml-paper.c:
1244         * src/xml-template.h:
1245         * src/xml-template.c:
1246         * src/xml.h:
1247         * src/xml.c:
1248                 These files have been moved to libglabels/.  API cleanup performed.
1249
1250         * libglabels/libglabels.h:
1251         * libglabels/libglabels-private.h:
1252         * libglabels/Makefile.am:
1253                 These files have been added to finish out libglabels.
1254         
1255         * Makefile.am:
1256         * configure.in:
1257         * glabels.spec.in:
1258         * po/POTFILES.in:
1259         * src/Makefile.am:
1260                 Modified to reflect new sets of files in src/ and libglabels/.
1261
1262         * COPYING.LIBGLABELS:
1263         * COPYING-DOCS:
1264                 Added copy of the LGPL for libglabels, and a copy the GFDL for
1265                 documentation.
1266         
1267         * src/glabels-batch.c:
1268         * src/glabels.c:
1269         * src/label.c: (gl_label_finalize), (gl_label_set_template),
1270         (gl_label_get_size):
1271         * src/label.h:
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):
1282         * src/util.h:
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),
1295         (cdbc_item):
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),
1306         (xml_label_to_doc):
1307                 Various changes to accomodate new libglabels API.
1308         
1309 2004-01-03  Jim Evins  <evins@snaught.com>
1310
1311         * configure.in:
1312                 Release 1.93.2.
1313
1314 2004-01-03  Jim Evins  <evins@snaught.com>
1315
1316         * AUTHORS:
1317                 Added acknowledgement of contributions by Wayne Schuller.
1318         
1319         * src/commands.c: (gl_cmd_file_print):
1320                 Create extra reference to print dialog, so that it can be properly re-used.
1321         
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
1331                 with Gtk+-2.3.
1332         
1333         * src/prefs-dialog.glade:
1334                 Fixed alignment of Fill/Color widgets.
1335
1336 2004-01-03  Jim Evins  <evins@snaught.com>
1337
1338         * data/avery-iso-templates.xml:
1339                 Added user submitted templates.
1340                 Avery 8435A & 8435B, submitted by Ludger Solbach.
1341
1342         * doc/C/glabels.xml:
1343                 Added minimal documentation, noting the new template designer.
1344
1345 2004-01-03  Jim Evins  <evins@snaught.com>
1346
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.
1353
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.
1365
1366 2004-01-02  Jim Evins  <evins@snaught.com>
1367
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.
1371
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),
1377         (size_reset_cb):
1378                 Added "size_changed" signal.
1379                 
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.
1386
1387 2003-12-30  Wayne Schuller  <k_wayne@linuxpower.org>
1388
1389         Added feature: line spacing - allows you to comfortably space a text box to
1390         fit a label perfectly.
1391
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):
1415         * src/ui-sidebar.c:
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):
1423         * src/view.h:
1424         * src/xml-label.c: (xml_parse_toplevel_span),
1425         (xml_create_toplevel_span):
1426
1427 2003-12-30  Jim Evins  <evins@snaught.com>
1428
1429         * src/template-designer.c:
1430         * src/template-designer.h:
1431         * src/template-designer.glade:
1432                 New template designer assistant.
1433         
1434         * po/POTFILES.in:
1435         * src/Makefile.am:
1436                 Added entries for src/template-designer.* files.
1437         
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.
1443         
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.
1452
1453                 Added the gl_print_dialog_force_outline_flag() method, for better
1454                 integration with the template designer assistant.
1455                 
1456
1457         * src/commands.h:
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.
1463         
1464         * src/ui.c:
1465         * src/glabels-ui.xml:
1466                 Added support for template designer assistant.
1467         
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.
1474         
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
1479                 margin.
1480
1481 2003-12-28  Jim Evins  <evins@snaught.com>
1482
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
1486                 widgets.
1487
1488 2003-12-28  Wayne Schuller  <k_wayne@linuxpower.org>
1489
1490         * src/file.c: (gl_file_new), (gl_file_properties):
1491                 Swap button order and set default for higificatory pleasure.
1492
1493 2003-12-27  Jim Evins  <evins@snaught.com>
1494
1495         * barcode-0.98/Makefile.am:
1496                 One last time:  removed doc/Makefile and po/Makefile.in.in from
1497                 EXTRA_DIST files.
1498         
1499 2003-12-27  Jim Evins  <evins@snaught.com>
1500
1501         * barcode-0.98/Makefile.am:
1502                 Removed config.stat entry from EXTRA_DIST files.
1503         
1504         * barcode-0.98/Makefile.in:
1505                 Removed.
1506
1507 2003-12-27  Jim Evins  <evins@snaught.com>
1508
1509         * configure.in:
1510                 Updated to work with latest gnome-common package from CVS.
1511                 Removed recursive configuration of barcode-0.98.
1512
1513         * acconfig.h:
1514         * macros/*:
1515                 Removed.
1516         
1517         * Makefile.am:
1518                 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
1519         
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.
1529         
1530         * src/Makefile.am:
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.
1535         
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:
1541         * po/POTFILES.in:
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.
1545         
1546 2003-12-26  Jim Evins  <evins@snaught.com>
1547
1548         * src/paper.c:
1549         * src/template.c:
1550         * src/util.c:
1551         * src/util.h:
1552                 Moved local versions of get_home_data_dir() in paper.c and
1553                 template.c to util package.  Cleaned up formatting in
1554                 util.[ch].
1555
1556         * src/template.c:
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.
1561         
1562         * src/xml-label.c:
1563         * src/xml.h:
1564                 Moved local definition of NAME_SPACE macro from xml-label.c
1565                 to xml.h.
1566         
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().