]> git.sur5r.net Git - glabels/blob - glabels2/ChangeLog
2004-01-03 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / ChangeLog
1 2004-01-03  Jim Evins  <evins@snaught.com>
2
3         * data/avery-iso-templates.xml:
4                 Added user submitted templates.
5                 Avery 8435A & 8435B, submitted by Ludger Solbach.
6
7         * doc/C/glabels.xml:
8                 Added minimal documentation, noting the new template designer.
9
10 2004-01-03  Jim Evins  <evins@snaught.com>
11
12         * pixmaps/ex-rect-size.png:
13         * pixmaps/ex-round-size.png:
14         * pixmaps/ex-cd-size.png:
15         * pixmaps/Makefile.am:
16                 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
17                 files to be used as illustrations/examples in the template-designer.
18
19         * src/template-designer.c: (construct_rect_size_page),
20         (construct_round_size_page), (construct_cd_size_page),
21         (construct_nlayouts_page), (rect_size_page_prepare_cb),
22         (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
23         (layout_page_prepare_cb), (build_template):
24         * src/template-designer.glade:
25                 Added illustrations for rectangle, round, and cd label size pages.
26                 Added margin spinboxes to these pages, and now add a margin markup
27                 to the constructed template.  Added realistic default values for
28                 some of the size spinboxes.  Cleaned up the code for setting spinbox
29                 ranges on the layouts page.
30
31 2004-01-02  Jim Evins  <evins@snaught.com>
32
33         * src/object-editor-size-page.c: (h_spin_cb):
34                 Fixed cut-n-paste error in h_spin_cb that loaded h from
35                 the wrong spinbutton.
36
37         * src/object-editor.h:
38         * src/object-editor.c: (gl_object_editor_class_init),
39         (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
40         * src/object-editor-private.h:
41         * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
42         (size_reset_cb):
43                 Added "size_changed" signal.
44                 
45         * src/view-text.c: (construct_properties_editor),
46         (update_object_from_editor_cb),
47         (update_object_from_editor_size_cb):
48                 Track size changes from object editor separately from other
49                 properties.  This is so the default size (0,0) of a text
50                 object is not modified unintentionally.
51
52 2003-12-30  Wayne Schuller  <k_wayne@linuxpower.org>
53
54         Added feature: line spacing - allows you to comfortably space a text box to
55         fit a label perfectly.
56
57         * data/glabels-2.0.dtd:
58         * src/label-object.c: (gl_label_object_set_text_line_spacing),
59         (gl_label_object_get_text_alignment),
60         (gl_label_object_get_text_line_spacing):
61         * src/label-object.h:
62         * src/label-text.c: (gl_label_text_class_init),
63         (gl_label_text_instance_init), (copy), (get_size),
64         (set_text_line_spacing), (get_text_alignment),
65         (get_text_line_spacing):
66         * src/object-editor-private.h:
67         * src/object-editor-text-page.c:
68         (gl_object_editor_prepare_text_page),
69         (gl_object_editor_set_text_line_spacing),
70         (gl_object_editor_get_text_line_spacing):
71         * src/object-editor.glade:
72         * src/object-editor.h:
73         * src/prefs-dialog.c: (construct_object_page),
74         (update_object_page_from_prefs), (update_prefs_from_object_page):
75         * src/prefs-dialog.glade:
76         * src/prefs-model.c: (gl_prefs_model_save_settings),
77         (gl_prefs_model_load_settings), (get_float):
78         * src/prefs-model.h:
79         * src/print.c: (draw_text_object):
80         * src/ui-sidebar.c:
81         * src/view-text.c: (update_object_from_editor_cb),
82         (update_editor_from_object_cb),
83         (gl_view_text_create_event_handler), (draw_hacktext):
84         * src/view.c: (gl_view_construct),
85         (gl_view_set_selection_text_line_spacing),
86         (gl_view_set_default_text_line_spacing),
87         (gl_view_get_default_text_line_spacing):
88         * src/view.h:
89         * src/xml-label.c: (xml_parse_toplevel_span),
90         (xml_create_toplevel_span):
91
92 2003-12-30  Jim Evins  <evins@snaught.com>
93
94         * src/template-designer.c:
95         * src/template-designer.h:
96         * src/template-designer.glade:
97                 New template designer assistant.
98         
99         * po/POTFILES.in:
100         * src/Makefile.am:
101                 Added entries for src/template-designer.* files.
102         
103         * pixmaps/ex-1layout.png
104         * pixmaps/ex-2layouts.png
105         * pixmaps/Makefile.am:
106                 Added the new image files ex-*.png used as illustrations in the
107                 template designer assistant.
108         
109         * src/print-dialog.h:
110         * src/print-dialog.c: (gl_print_dialog_finalize),
111         (gl_print_dialog_new), (gl_print_dialog_construct),
112         (gl_print_dialog_force_outline_flag):
113                 Changed first argument of gl_print_dialog_new() from glView to glLabel,
114                 to support printing from the template designer assistant which does not
115                 have a full-fledged view.  Nothing else from the view object was being
116                 used by the dialog anyway.
117
118                 Added the gl_print_dialog_force_outline_flag() method, for better
119                 integration with the template designer assistant.
120                 
121
122         * src/commands.h:
123         * src/commands.c: (gl_cmd_file_template_designer),
124         (gl_cmd_file_print):
125                 Modified print command to provide label instead of view to dialog.
126                 Added the gl_cmd_file_template_designer() command to invoke the
127                 template designer assistant.
128         
129         * src/ui.c:
130         * src/glabels-ui.xml:
131                 Added support for template designer assistant.
132         
133         * src/wdgt-mini-preview.h:
134         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
135         (gl_wdgt_mini_preview_set_bg_color):
136                 Preview is now centered in canvas.  Added
137                 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
138                 assistant to match the background color with its own.
139         
140         * src/print.c: (clip_to_outline):
141                 Fixed really stupid bug when adding waste to clip region of rectangular
142                 labels/cards.  Each side of the clip region needs to be extended by
143                 twice the waste margin, as well as negatively offset by the waste
144                 margin.
145
146 2003-12-28  Jim Evins  <evins@snaught.com>
147
148         * src/prefs-dialog.c: (update_object_page_from_prefs):
149                 Block intermediary function align_toggle_cb() instead of
150                 update_prefs_from_object_page() for the three alignment
151                 widgets.
152
153 2003-12-28  Wayne Schuller  <k_wayne@linuxpower.org>
154
155         * src/file.c: (gl_file_new), (gl_file_properties):
156                 Swap button order and set default for higificatory pleasure.
157
158 2003-12-27  Jim Evins  <evins@snaught.com>
159
160         * barcode-0.98/Makefile.am:
161                 One last time:  removed doc/Makefile and po/Makefile.in.in from
162                 EXTRA_DIST files.
163         
164 2003-12-27  Jim Evins  <evins@snaught.com>
165
166         * barcode-0.98/Makefile.am:
167                 Removed config.stat entry from EXTRA_DIST files.
168         
169         * barcode-0.98/Makefile.in:
170                 Removed.
171
172 2003-12-27  Jim Evins  <evins@snaught.com>
173
174         * configure.in:
175                 Updated to work with latest gnome-common package from CVS.
176                 Removed recursive configuration of barcode-0.98.
177
178         * acconfig.h:
179         * macros/*:
180                 Removed.
181         
182         * Makefile.am:
183                 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
184         
185         * barcode-0.98/Makefile.in:
186         * barcode-0.98/configure.in:
187         * barcode-0.98/Makefile.am:
188         * barcode-0.98/README.glabels:
189                 Modified to ignore the barcode package's build system, and build
190                 as a part of glabels.
191                 Renamed Makefile.in to Makefile.in.dist.
192                 Renamed configure.in to configure.in.dist.
193                 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
194         
195         * src/Makefile.am:
196         * src/mygal/Makefile.am:
197         * src/recent-files/Makefile.am:
198                 In order to build against the GNOME 2.5 platform, 
199                 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
200         
201         * src/mygal/Makefile.am:
202         * src/mygal/mygal-combo-box.c:
203         * src/mygal/mygal-combo-box.h:
204         * src/mygal/widget-color-combo.c:
205         * src/mygal/widget-color-combo.h:
206         * po/POTFILES.in:
207                 In order to build against the GNOME 2.5 platform, 
208                 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
209                 collisions with the real gtk_combo_box widget, now a part of gtk.
210         
211 2003-12-26  Jim Evins  <evins@snaught.com>
212
213         * src/paper.c:
214         * src/template.c:
215         * src/util.c:
216         * src/util.h:
217                 Moved local versions of get_home_data_dir() in paper.c and
218                 template.c to util package.  Cleaned up formatting in
219                 util.[ch].
220
221         * src/template.c:
222                 In gl_template_register() save a copy of the template in
223                 ~/.glabels if the template is not known.  Still need to
224                 handle duplicate filename case and duplicate name but
225                 different template case.
226         
227         * src/xml-label.c:
228         * src/xml.h:
229                 Moved local definition of NAME_SPACE macro from xml-label.c
230                 to xml.h.
231         
232         * src/xml-template.c:
233         * src/xml-template.h:
234                 Added function gl_xml_template_write_template_to_file(), used
235                 in gl_template_register().
236
237