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