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