]> git.sur5r.net Git - glabels/blob - glabels2/ChangeLog
2004-07-05 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / ChangeLog
1 2004-07-05  Jim Evins  <evins@snaught.com>
2         * src/print.c: (print_crop_marks), (draw_outline):
3                 Changed crop marks and label outlines to black, instead of 25% gray.
4                 This addresses debian Bug #257460.
5
6 2004-07-05  Jim Evins  <evins@snaught.com>
7
8         * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
9         * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
10                 Preserve "is_default" of fill and line color_combos when creating from
11                 existing objects.
12
13 2004-07-02  Jim Evins  <evins@snaught.com>
14
15         * data/glabels.1:
16                 Created man page.  Based on page submitted by Matthew J. Lockner, however
17                 it has been severely edited.
18         
19         * data/avery-other-templates.xml
20         * data/misc-other-templates.xml:
21                 Started new files for predefined templates with non-standard sheet sizes.
22                 These have been initially populated with the Avery 06141 and
23                 OfficeMax #86112, both provided by Matthew J. Lockner.
24         
25         * data/Makefile.am:
26                 Install above manpage and template files.
27         
28         * glabels.spec.in:
29                 Make sure we install man pages.
30         
31         * src/glabels-batch.c:
32                 Changed short form of help option to '-?' to be consistent with glabels.
33         
34         * AUTHORS:
35                 Added acknowledgement for above labels.
36
37 2004-07-02  Jim Evins  <evins@snaught.com>
38
39         * src/glabels.c: (main), (save_session_cb):
40                 - Now include libbonoboui.h, recent.h, and file.h to provide missing
41                   prototypes.
42                 - save_session_cb() now returns gboolean.
43                 - Minor formatting changes.
44
45         * src/window.h:
46         * src/window.c:
47                 - Now include file.h to provide missing prototype.
48                 - gl_window_get_type() now returns GType, not guint.  I believe this may
49                   ultimately be cause of the segfault reported in Bug #982287, since
50                   GType is actually a gulong, which may not be compatible on other
51                   architectures (64bit) -- I cannot personally test this at this time.
52                   I was sloppy in several other xxx_get_type() functions which also
53                   returned guint -- see next group of files:
54         
55         * src/window.c: (gl_window_get_type):
56         * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
57         * src/canvas-hacktext.h:
58         * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
59         (gl_hig_category_get_type), (gl_hig_vbox_get_type),
60         (gl_hig_hbox_get_type):
61         * src/hig.h:
62         * src/label-barcode.c: (gl_label_barcode_get_type):
63         * src/label-barcode.h:
64         * src/label-box.c: (gl_label_box_get_type):
65         * src/label-box.h:
66         * src/label-ellipse.c: (gl_label_ellipse_get_type):
67         * src/label-ellipse.h:
68         * src/label-image.c: (gl_label_image_get_type):
69         * src/label-image.h:
70         * src/label-line.c: (gl_label_line_get_type):
71         * src/label-line.h:
72         * src/label-object.c: (gl_label_object_get_type):
73         * src/label-object.h:
74         * src/label-text.c: (gl_label_text_get_type):
75         * src/label-text.h:
76         * src/label.c: (gl_label_get_type):
77         * src/label.h:
78         * src/merge-properties-dialog.c:
79         (gl_merge_properties_dialog_get_type):
80         * src/merge-properties-dialog.h:
81         * src/merge-text.c: (gl_merge_text_get_type):
82         * src/merge-text.h:
83         * src/merge.c: (gl_merge_get_type):
84         * src/merge.h:
85         * src/object-editor.c: (gl_object_editor_get_type):
86         * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
87         * src/prefs-dialog.h:
88         * src/prefs-model.c: (gl_prefs_model_get_type):
89         * src/prefs-model.h:
90         * src/print-dialog.c: (gl_print_dialog_get_type):
91         * src/print-dialog.h:
92         * src/template-designer.c: (gl_template_designer_get_type):
93         * src/template-designer.h:
94         * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
95         * src/ui-property-bar.h:
96         * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
97         * src/ui-sidebar.h:
98         * src/view-barcode.c: (gl_view_barcode_get_type):
99         * src/view-barcode.h:
100         * src/view-box.c: (gl_view_box_get_type):
101         * src/view-box.h:
102         * src/view-ellipse.c: (gl_view_ellipse_get_type):
103         * src/view-ellipse.h:
104         * src/view-highlight.c: (gl_view_highlight_get_type):
105         * src/view-highlight.h:
106         * src/view-image.c: (gl_view_image_get_type):
107         * src/view-image.h:
108         * src/view-line.c: (gl_view_line_get_type):
109         * src/view-line.h:
110         * src/view-object.c: (gl_view_object_get_type):
111         * src/view-object.h:
112         * src/view-text.c: (gl_view_text_get_type):
113         * src/view-text.h:
114         * src/view.c: (gl_view_get_type):
115         * src/view.h:
116         * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
117         * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
118         * src/wdgt-image-select.h:
119         * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
120         * src/wdgt-media-select.h:
121         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
122         * src/wdgt-mini-preview.h:
123         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
124         * src/wdgt-print-copies.h:
125         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
126         * src/wdgt-print-merge.h:
127         * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
128         * src/wdgt-rotate-label.h:
129                 - Made sure all xxx_get_type functions returned GType, not guint.  This
130                   was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
131                   ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
132                   wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
133                   wdt-print-merge.[ch], and wdgt-rotate-label.[ch].  See separate
134                   window.[ch] details above for more info.
135                 - Reconciled various coding style differences in all xxx_get_type()
136                   functions:
137                         * All prototypes include G_GNUC_CONST.
138                         * All prototypes specify the return value as GType, not GtkType
139                           or guint.
140                         * Info structures are all declared as "static const."
141                         * Generalized the names of type and info variables.
142                         * Miscelaneous formatting.
143
144 2004-06-08  Jim Evins  <evins@snaught.com>
145
146         * src/label.c:
147         * src/label.h:
148         * src/xml-label.c:
149         * AUTHORS:
150                 Don't touch compression of original file -- still defaults to 9 for
151                 new files.  Original patch provided by Javier Donaire Segarra
152                 (#912252 in patch tracker).
153
154 2004-05-05  Jim Evins  <evins@snaught.com>
155
156         * data/glabels-2.0.dtd:
157                 Broke DTD previously when adding new barcode types that contain a
158                 plus sign (+).  Simply changed the BC_STYLE_TYPE entity to "CDATA"
159                 to avoid the problem.
160         * data/avery-iso-templates.xml:
161         * data/zweckform-iso-templates.xml:
162         * AUTHORS:
163                 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021.  Templates
164                 provided by Frank Altpeter.
165         * libglabels/xml-template.c: (xml_create_label_node):
166                 Reordered markup and layout sub-nodes so that resulting templates will
167                 validate against DTD.
168
169 2004-03-13  Jim Evins  <evins@snaught.com>
170
171         * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
172                 Changed spin callback signals from "value-changed" back to "changed."
173                 This was accidentally introduced in a previous revision, and can cause
174                 size changes just by selecting the size tab.
175
176 2004-03-06  Jim Evins  <evins@snaught.com>
177
178         * src/view.c: (draw_grid_layer):
179                 For round labels (round and cd) adjust grid so that it lines up with
180                 center of label.  Also, no longer draw box around label in the grid layer,
181                 it is hidden by he fg layer anyway.  Feature suggested by
182                 nemolivier@free.fr.  Although the grid is aligned with the center of the
183                 label, the coordinate system is still relative to the upper left corner
184                 of the rectangle containing the label.
185
186 2004-02-25  Jim Evins  <evins@snaught.com>
187
188         * configure.in:
189                 Changed version to 2.0pre1cvs
190         
191         * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
192                 Removed extra xmlFreeDoc() calls upon error.  Also print the doc->URL
193                 instead of doc->name fields when errors encountered.
194
195 2004-02-21  Jim Evins  <evins@snaught.com>
196
197         * data/avery-iso-templates.xml:
198                 Added aliases for Avery 8651.  Patch provided by Wayne Schuller.
199         
200         * glabels.spec.in:
201                 Added libglabels library and include file to installed files.
202                 
203         * configure.in:
204                 Final prep for 1.93.3.
205
206 2004-02-20  Jim Evins  <evins@snaught.com>
207
208         * src/glabels-batch.c: (main):
209                 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
210                 as suggested by Javier Donaire Segarra.  This addresses bug #901063.
211
212 2004-02-16  Jim Evins  <evins@snaught.com>
213
214         * configure.in:
215                 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
216         
217         * src/Makefile.am:
218                 Added HAVE_FILE_CHOOSER to INCLUDES.
219         
220         * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
221         (gl_file_save_as), (save_as_response):
222                 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
223
224 2004-02-16  Jim Evins  <evins@snaught.com>
225
226         * src/xml-label-04.c: (xml04_parse_image_props):
227         * src/xml-label-191.c: (xml191_parse_image_props):
228         * src/xml-label.c: (xml_parse_object_image):
229                 Delay setting image size until after image has been applied to new
230                 object.
231         
232 2004-02-15  Jim Evins  <evins@snaught.com>
233
234         * src/label-barcode.c: (gl_label_barcode_set_data),
235         (gl_label_barcode_set_props):
236                 Don't emit "changed" signal, if no change actually made for these
237                 methods.  Reduces number of unnecessary redraws of barcodes.
238         
239         * src/label-object.h:
240         * src/label-object.c: (gl_label_object_set_position),
241         (gl_label_object_set_position_relative), (set_size),
242         (gl_label_object_set_size),
243         (gl_label_object_set_size_honor_aspect):
244                 Don't emit "changed" signal, if no change actually made for these
245                 methods.
246
247 2004-02-15  Jim Evins  <evins@snaught.com>
248
249         * data/glabels-2.0.dtd:
250                 Added specific subtypes for various barcode types.
251         
252         * src/bc.h:
253         * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
254         (gl_barcode_get_styles_list), (gl_barcode_default_digits),
255         (gl_barcode_can_text), (gl_barcode_text_optional),
256         (gl_barcode_can_csum), (gl_barcode_csum_optional),
257         (gl_barcode_id_to_name), (gl_barcode_name_to_id):
258                 Changed API to use a string id, rather than a fixed enumeration.  Id and
259                 name are separate strings.  Added entries to backend table for specific
260                 subtypes for various barcode types.
261         
262         * src/bc-postnet.h:
263         * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
264         (is_length_valid):
265                 Modified to conform to above API.  Now more stringent with data length
266                 for various subtypes.
267         
268         * src/bc-gnubarcode.h:
269         * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
270         (is_length_valid), (is_length1_valid), (is_length2_valid):
271                 Modified to conform to above API.  Now more stringent with data length
272                 for various subtypes.
273
274         * src/label-barcode.h:
275         * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
276         (gl_label_barcode_get_props), (get_size):
277                 Modified to use above API for storing barcode type.
278         
279         * src/object-editor.h:
280         * src/object-editor-bc-page.c: (style_changed_cb),
281         (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
282                 Modified to use above API for storing barcode type.
283         
284         * src/object-editor-size-page.c:
285         (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
286         (w_spin_cb), (h_spin_cb), (size_reset_cb):
287                 Added debug markers.
288         
289         * src/object-editor.glade:
290                 Made barcode style combo's text entry  non-editable.
291         
292         * src/print.c: (draw_barcode_object):
293                 Modified to use above API for barcode type.
294
295         * src/view-barcode.c: (update_object_from_editor_cb),
296         (update_editor_from_object_cb),
297         (gl_view_barcode_create_event_handler), (draw_barcode):
298                 Modified to use above API for barcode type.
299         
300         * src/xml-label-04.c: (xml04_parse_barcode_props):
301         * src/xml-label-191.c: (xml191_parse_barcode_props):
302         * src/xml-label.c: (xml_parse_object_barcode),
303         (xml_create_object_barcode):
304                 Modified to use above API for barcode type.
305
306 2004-02-07  Jim Evins  <evins@snaught.com>
307
308         * src/stock-pixmaps/Makefile.am:
309         * src/stock-pixmaps/stock_hchain_24.png:
310         * src/stock-pixmaps/stock_hchain_broken_24.png:
311         * src/stock-pixmaps/stock_vchain_24.png:
312         * src/stock-pixmaps/stock_vchain_broken_24.png:
313                 Added chain pixmaps borrowed from the gimp's default theme.
314
315         * src/stock.h:
316         * src/stock.c: (gl_stock_init), (add_button_icon):
317                 Added above pixmaps to stock icon sets.  Created add_button_icon() to
318                 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
319         
320         * src/wdgt-chain-button.h
321         * src/wdgt-chain-button.c
322         * src/Makefile.am:
323         * po/POTFILES.in:
324                 Added this Modified version of gimpchainbutton widget, borrowed from
325                 the gimp.
326         
327         * AUTHORS:
328                 Added acknowledgements of the above borrowing from the gimp.
329         
330         * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
331         (h_spin_cb):
332         * src/object-editor.c: (gl_object_editor_construct_chain_button):
333         * src/object-editor.glade:
334                 Replaced the keep aspect ratio check box with the above chain-button
335                 widget.
336         
337         * src/text-node.c: (gl_text_node_equal):
338         * src/text-node.h:
339                 Added function gl_text_node_equal() to compare text_nodes.
340         
341         * src/label-image.c: (gl_label_image_set_filename):
342                 Replaced incomplete text_node comparison code with invocation of
343                 gl_text_node_equal.  This fixed the problem of not being able to
344                 resize an image using the object_editor if the aspect ratio is not
345                 locked.
346
347 2004-02-04  Jim Evins  <evins@snaught.com>
348
349         * src/object-editor-image-page.c:
350         (gl_object_editor_prepare_image_page):
351                 Track "changed" signal of pixmap entry's GtkEntry rather than its
352                 "activate" signal -- this catches all changes to the entry rather than
353                 just changes resulting from a browse, so one can easily pull previous
354                 entries from the history. (This change is marked below on 2004-02-03,
355                 but somehow never got checked in.)
356
357         * src/view-highlight.c: (sl_resize_event_handler),
358         (sr_resize_event_handler), (st_resize_event_handler),
359         (sb_resize_event_handler):
360                 Side resize handles will now confirm the actual resize that the object
361                 accepted before adjusting position parameters.  Previously some interesting
362                 things happened when resizing a barcode to its minimum size.
363
364 2004-02-03  Jim Evins  <evins@snaught.com>
365
366         * src/object-editor-image-page.c:
367         (gl_object_editor_prepare_image_page):
368                 Track "changed" signal of pixmap entry's GtkEntry rather than its
369                 "activate" signal -- this catches all changes to the entry rather than
370                 just changes resulting from a browse, so one can easily pull previous
371                 entries from the history.
372         
373         * src/view-highlight.c: (tl_resize_event_handler),
374         (tr_resize_event_handler), (bl_resize_event_handler),
375         (br_resize_event_handler):
376                 Allow control key to be dropped while dragging a corner resize handle
377                 without losing the aspect ratio lock.
378
379 2004-02-02  Jim Evins  <evins@snaught.com>
380
381         * src/label-image.c: (gl_label_image_set_filename):
382                 When setting a new filename adjust size such that the aspect ratio of
383                 the image is preserved using the current size as a bounding box.
384                 
385         * src/view-image.c: (update_object_from_editor_cb):
386                 When updating object from editor, feed back possible size changes to
387                 editor as a result of a possible change in image.
388         
389         * src/object-editor-size-page.c: (size_reset_cb):
390                 Fixed typo when blocking spin handlers.  If the base size is larger than
391                 the max size, treat max size as a bounding box while keeping aspect
392                 ratio.
393                 
394
395 2004-02-02  Jim Evins  <evins@snaught.com>
396
397         * src/label-object.h:
398         * src/label-object.c: (gl_label_object_set_size),
399         (gl_label_object_set_size_honor_aspect):
400                 Added gl_label_object_set_size_honor_aspect() which will maintain the
401                 current aspect ratio by modifying the supplied w or h apropriately.
402         
403         * src/view-highlight.c: (tl_resize_event_handler),
404         (tr_resize_event_handler), (bl_resize_event_handler),
405         (br_resize_event_handler):
406                 Corner handles will now maintain the current aspect ratio if the
407                 control key is pressed while resizing.  This addresses feature
408                 request #816603.
409        
410
411 2004-01-31  Jim Evins  <evins@snaught.com>
412
413         * AUTHORS:
414         * data/avery-us-templates.xml:
415                 Added entries for "LSK-3," "LSK-5," and "LSK-8."  Submitted by JBadger.
416         
417         * libglabels/template.c: (read_template_files_from_dir):
418                 Corrected problem with testing for extensions.
419         
420         * src/object-editor.glade:
421                 Corrected grouping of radio buttons in barcode data page.
422
423         * src/print.c: (draw_barcode_object):
424         * src/view-barcode.c: (draw_barcode):
425                 Corrected problem with calculation of y_offset for locating characters.
426
427 2004-01-24  Jim Evins  <evins@snaught.com>
428
429         * AUTHORS:
430         * data/avery-us-templates.xml:
431                 Added Avery 5824, submitted by Fred Bacon.
432         
433 2004-01-20  Jim Evins  <evins@snaught.com>
434
435         Catching up on a couple of backlogged user template submissions.
436
437         * data/avery-iso-templates.xml:
438                 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
439                 Suggested by Linas Jakucionis.
440         
441         * data/zweckform-iso-templates.xml:
442                 Added Zweckform 4760, submitted by Thomas Vill.
443
444         * AUTHORS:
445                 Updated to reflect above submissions.
446
447 2004-01-06  Jim Evins  <evins@snaught.com>
448
449         Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
450         xml.[ch] into a separate library called libglabels, to facilitate third
451         party use of glabels template files.  This was suggested by Wayne Schuller.
452         Once split-out, some modifications to the structures and functions to
453         make a cleaner more useful API, hopefully.  Rather extensive changes have
454         propogated to other modules.
455
456         * src/paper.h:
457         * src/paper.c:
458         * src/template.h:
459         * src/template.c:
460         * src/xml-paper.h:
461         * src/xml-paper.c:
462         * src/xml-template.h:
463         * src/xml-template.c:
464         * src/xml.h:
465         * src/xml.c:
466                 These files have been moved to libglabels/.  API cleanup performed.
467
468         * libglabels/libglabels.h:
469         * libglabels/libglabels-private.h:
470         * libglabels/Makefile.am:
471                 These files have been added to finish out libglabels.
472         
473         * Makefile.am:
474         * configure.in:
475         * glabels.spec.in:
476         * po/POTFILES.in:
477         * src/Makefile.am:
478                 Modified to reflect new sets of files in src/ and libglabels/.
479
480         * COPYING.LIBGLABELS:
481         * COPYING-DOCS:
482                 Added copy of the LGPL for libglabels, and a copy the GFDL for
483                 documentation.
484         
485         * src/glabels-batch.c:
486         * src/glabels.c:
487         * src/label.c: (gl_label_finalize), (gl_label_set_template),
488         (gl_label_get_size):
489         * src/label.h:
490         * src/prefs-model.c: (gl_prefs_model_load_settings):
491         * src/print-dialog.c:
492         * src/print.c: (gl_print_simple), (gl_print_merge_collated),
493         (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
494         (print_crop_marks), (print_label), (draw_outline),
495         (clip_to_outline), (clip_punchouts):
496         * src/template-designer.c: (construct_pg_size_page),
497         (pg_size_page_changed_cb), (layout_page_changed_cb),
498         (print_test_cb), (build_template):
499         * src/util.c: (gl_util_fraction):
500         * src/util.h:
501         * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
502         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
503         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
504         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
505         (draw_markup_margin_round), (draw_markup_margin_cd),
506         (draw_markup_margin_cd_bc), (draw_markup_line),
507         (draw_markup_circle), (gl_view_copy):
508         * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
509         (page_size_entry_changed_cb), (details_update), (get_layout_desc),
510         (get_label_size_desc):
511         * src/wdgt-mini-preview.c:
512         (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
513         (cdbc_item):
514         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
515         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
516         * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
517         (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
518         * src/wdgt-rotate-label.h:
519         * src/xml-label-04.c: (xml04_parse_media_description):
520         * src/xml-label-191.c: (gl_xml_label_191_parse),
521         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
522         (xml191_parse_markup), (xml191_parse_alias):
523         * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
524         (xml_label_to_doc):
525                 Various changes to accomodate new libglabels API.
526         
527 2004-01-03  Jim Evins  <evins@snaught.com>
528
529         * configure.in:
530                 Release 1.93.2.
531
532 2004-01-03  Jim Evins  <evins@snaught.com>
533
534         * AUTHORS:
535                 Added acknowledgement of contributions by Wayne Schuller.
536         
537         * src/commands.c: (gl_cmd_file_print):
538                 Create extra reference to print dialog, so that it can be properly re-used.
539         
540         * src/mygal/mygal-combo-box.h:
541         * src/mygal/mygal-combo-box.c:
542         (mygal_combo_box_popup_hide_unconditional),
543         (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
544         (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
545         (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
546         (mygal_combo_box_set_tearable):
547                 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
548                 complete the rename of this widget to prevent namespace collisions
549                 with Gtk+-2.3.
550         
551         * src/prefs-dialog.glade:
552                 Fixed alignment of Fill/Color widgets.
553
554 2004-01-03  Jim Evins  <evins@snaught.com>
555
556         * data/avery-iso-templates.xml:
557                 Added user submitted templates.
558                 Avery 8435A & 8435B, submitted by Ludger Solbach.
559
560         * doc/C/glabels.xml:
561                 Added minimal documentation, noting the new template designer.
562
563 2004-01-03  Jim Evins  <evins@snaught.com>
564
565         * pixmaps/ex-rect-size.png:
566         * pixmaps/ex-round-size.png:
567         * pixmaps/ex-cd-size.png:
568         * pixmaps/Makefile.am:
569                 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
570                 files to be used as illustrations/examples in the template-designer.
571
572         * src/template-designer.c: (construct_rect_size_page),
573         (construct_round_size_page), (construct_cd_size_page),
574         (construct_nlayouts_page), (rect_size_page_prepare_cb),
575         (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
576         (layout_page_prepare_cb), (build_template):
577         * src/template-designer.glade:
578                 Added illustrations for rectangle, round, and cd label size pages.
579                 Added margin spinboxes to these pages, and now add a margin markup
580                 to the constructed template.  Added realistic default values for
581                 some of the size spinboxes.  Cleaned up the code for setting spinbox
582                 ranges on the layouts page.
583
584 2004-01-02  Jim Evins  <evins@snaught.com>
585
586         * src/object-editor-size-page.c: (h_spin_cb):
587                 Fixed cut-n-paste error in h_spin_cb that loaded h from
588                 the wrong spinbutton.
589
590         * src/object-editor.h:
591         * src/object-editor.c: (gl_object_editor_class_init),
592         (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
593         * src/object-editor-private.h:
594         * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
595         (size_reset_cb):
596                 Added "size_changed" signal.
597                 
598         * src/view-text.c: (construct_properties_editor),
599         (update_object_from_editor_cb),
600         (update_object_from_editor_size_cb):
601                 Track size changes from object editor separately from other
602                 properties.  This is so the default size (0,0) of a text
603                 object is not modified unintentionally.
604
605 2003-12-30  Wayne Schuller  <k_wayne@linuxpower.org>
606
607         Added feature: line spacing - allows you to comfortably space a text box to
608         fit a label perfectly.
609
610         * data/glabels-2.0.dtd:
611         * src/label-object.c: (gl_label_object_set_text_line_spacing),
612         (gl_label_object_get_text_alignment),
613         (gl_label_object_get_text_line_spacing):
614         * src/label-object.h:
615         * src/label-text.c: (gl_label_text_class_init),
616         (gl_label_text_instance_init), (copy), (get_size),
617         (set_text_line_spacing), (get_text_alignment),
618         (get_text_line_spacing):
619         * src/object-editor-private.h:
620         * src/object-editor-text-page.c:
621         (gl_object_editor_prepare_text_page),
622         (gl_object_editor_set_text_line_spacing),
623         (gl_object_editor_get_text_line_spacing):
624         * src/object-editor.glade:
625         * src/object-editor.h:
626         * src/prefs-dialog.c: (construct_object_page),
627         (update_object_page_from_prefs), (update_prefs_from_object_page):
628         * src/prefs-dialog.glade:
629         * src/prefs-model.c: (gl_prefs_model_save_settings),
630         (gl_prefs_model_load_settings), (get_float):
631         * src/prefs-model.h:
632         * src/print.c: (draw_text_object):
633         * src/ui-sidebar.c:
634         * src/view-text.c: (update_object_from_editor_cb),
635         (update_editor_from_object_cb),
636         (gl_view_text_create_event_handler), (draw_hacktext):
637         * src/view.c: (gl_view_construct),
638         (gl_view_set_selection_text_line_spacing),
639         (gl_view_set_default_text_line_spacing),
640         (gl_view_get_default_text_line_spacing):
641         * src/view.h:
642         * src/xml-label.c: (xml_parse_toplevel_span),
643         (xml_create_toplevel_span):
644
645 2003-12-30  Jim Evins  <evins@snaught.com>
646
647         * src/template-designer.c:
648         * src/template-designer.h:
649         * src/template-designer.glade:
650                 New template designer assistant.
651         
652         * po/POTFILES.in:
653         * src/Makefile.am:
654                 Added entries for src/template-designer.* files.
655         
656         * pixmaps/ex-1layout.png
657         * pixmaps/ex-2layouts.png
658         * pixmaps/Makefile.am:
659                 Added the new image files ex-*.png used as illustrations in the
660                 template designer assistant.
661         
662         * src/print-dialog.h:
663         * src/print-dialog.c: (gl_print_dialog_finalize),
664         (gl_print_dialog_new), (gl_print_dialog_construct),
665         (gl_print_dialog_force_outline_flag):
666                 Changed first argument of gl_print_dialog_new() from glView to glLabel,
667                 to support printing from the template designer assistant which does not
668                 have a full-fledged view.  Nothing else from the view object was being
669                 used by the dialog anyway.
670
671                 Added the gl_print_dialog_force_outline_flag() method, for better
672                 integration with the template designer assistant.
673                 
674
675         * src/commands.h:
676         * src/commands.c: (gl_cmd_file_template_designer),
677         (gl_cmd_file_print):
678                 Modified print command to provide label instead of view to dialog.
679                 Added the gl_cmd_file_template_designer() command to invoke the
680                 template designer assistant.
681         
682         * src/ui.c:
683         * src/glabels-ui.xml:
684                 Added support for template designer assistant.
685         
686         * src/wdgt-mini-preview.h:
687         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
688         (gl_wdgt_mini_preview_set_bg_color):
689                 Preview is now centered in canvas.  Added
690                 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
691                 assistant to match the background color with its own.
692         
693         * src/print.c: (clip_to_outline):
694                 Fixed really stupid bug when adding waste to clip region of rectangular
695                 labels/cards.  Each side of the clip region needs to be extended by
696                 twice the waste margin, as well as negatively offset by the waste
697                 margin.
698
699 2003-12-28  Jim Evins  <evins@snaught.com>
700
701         * src/prefs-dialog.c: (update_object_page_from_prefs):
702                 Block intermediary function align_toggle_cb() instead of
703                 update_prefs_from_object_page() for the three alignment
704                 widgets.
705
706 2003-12-28  Wayne Schuller  <k_wayne@linuxpower.org>
707
708         * src/file.c: (gl_file_new), (gl_file_properties):
709                 Swap button order and set default for higificatory pleasure.
710
711 2003-12-27  Jim Evins  <evins@snaught.com>
712
713         * barcode-0.98/Makefile.am:
714                 One last time:  removed doc/Makefile and po/Makefile.in.in from
715                 EXTRA_DIST files.
716         
717 2003-12-27  Jim Evins  <evins@snaught.com>
718
719         * barcode-0.98/Makefile.am:
720                 Removed config.stat entry from EXTRA_DIST files.
721         
722         * barcode-0.98/Makefile.in:
723                 Removed.
724
725 2003-12-27  Jim Evins  <evins@snaught.com>
726
727         * configure.in:
728                 Updated to work with latest gnome-common package from CVS.
729                 Removed recursive configuration of barcode-0.98.
730
731         * acconfig.h:
732         * macros/*:
733                 Removed.
734         
735         * Makefile.am:
736                 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
737         
738         * barcode-0.98/Makefile.in:
739         * barcode-0.98/configure.in:
740         * barcode-0.98/Makefile.am:
741         * barcode-0.98/README.glabels:
742                 Modified to ignore the barcode package's build system, and build
743                 as a part of glabels.
744                 Renamed Makefile.in to Makefile.in.dist.
745                 Renamed configure.in to configure.in.dist.
746                 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
747         
748         * src/Makefile.am:
749         * src/mygal/Makefile.am:
750         * src/recent-files/Makefile.am:
751                 In order to build against the GNOME 2.5 platform, 
752                 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
753         
754         * src/mygal/Makefile.am:
755         * src/mygal/mygal-combo-box.c:
756         * src/mygal/mygal-combo-box.h:
757         * src/mygal/widget-color-combo.c:
758         * src/mygal/widget-color-combo.h:
759         * po/POTFILES.in:
760                 In order to build against the GNOME 2.5 platform, 
761                 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
762                 collisions with the real gtk_combo_box widget, now a part of gtk.
763         
764 2003-12-26  Jim Evins  <evins@snaught.com>
765
766         * src/paper.c:
767         * src/template.c:
768         * src/util.c:
769         * src/util.h:
770                 Moved local versions of get_home_data_dir() in paper.c and
771                 template.c to util package.  Cleaned up formatting in
772                 util.[ch].
773
774         * src/template.c:
775                 In gl_template_register() save a copy of the template in
776                 ~/.glabels if the template is not known.  Still need to
777                 handle duplicate filename case and duplicate name but
778                 different template case.
779         
780         * src/xml-label.c:
781         * src/xml.h:
782                 Moved local definition of NAME_SPACE macro from xml-label.c
783                 to xml.h.
784         
785         * src/xml-template.c:
786         * src/xml-template.h:
787                 Added function gl_xml_template_write_template_to_file(), used
788                 in gl_template_register().
789
790