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